From 7985764aa551ca2a74041e35f76e86ab67f0b3b3 Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期一, 22 十二月 2025 16:30:08 +0800
Subject: [PATCH] 1.新增  控制指定车间是否末道工序报工

---
 src/views/workOrder/workOrderList.vue |   25 +++++++++++++++----------
 1 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/src/views/workOrder/workOrderList.vue b/src/views/workOrder/workOrderList.vue
index e00068f..9ff67f5 100644
--- a/src/views/workOrder/workOrderList.vue
+++ b/src/views/workOrder/workOrderList.vue
@@ -514,18 +514,18 @@
           :header-cell-style="this.$headerCellStyle"
           :cell-style="this.$cellStyle"
         >
-          <!--          <el-table-column-->
-          <!--            width="50"-->
-          <!--            type="index"-->
-          <!--            prop="搴忓彿"-->
-          <!--            fixed-->
-          <!--          />   -->
           <el-table-column
             width="50"
-            prop="seq"
-            label="搴忓彿"
+            type="index"
+            prop="搴忓彿"
             fixed
           />
+          <!--          <el-table-column-->
+          <!--            width="50"-->
+          <!--            prop="seq"-->
+          <!--            label="搴忓彿"-->
+          <!--            fixed-->
+          <!--          />-->
           <el-table-column
             prop="wo_code"
             show-tooltip-when-overflow
@@ -4463,7 +4463,12 @@
         data_sources: row.data_sources
       }
       const { data: res } = await UpdateMesOrderStepSearch(data)
-      this.tableDataDetail = res.stepdata
+
+      if (row.islastreport === 'Y') {
+        this.tableDataDetail = res.stepdata.filter(i => i.isend === 'Y')
+      } else {
+        this.tableDataDetail = res.stepdata
+      }
     },
     // 宸ュ簭鍒犻櫎
     stepDel(row) {
@@ -4539,7 +4544,7 @@
     getSummaries(param) {
       const { columns, data } = param
       const sums = []
-      const i = 9
+      const i = 11
       columns.forEach((column, index) => {
         if (index === i) {
           sums[index] = '鎬绘暟'

--
Gitblit v1.9.3