From d7bf794d07ece87fb7d3e9114c79a1caee5feb60 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Tue, 21 Oct 2025 16:51:42 +0800 Subject: [PATCH] =?UTF-8?q?2025-10-21=20=E9=A2=86=E6=96=99=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E5=8D=95=E7=AE=A1=E7=90=86=20=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E5=8D=95=E6=98=8E=E7=BB=86=E5=A2=9E=E5=8A=A0=E5=B7=B2=E6=8E=92?= =?UTF-8?q?=E4=BA=A7=E6=9C=BA=E5=8F=B0=E6=80=BB=E6=95=B0=E3=80=81=20?= =?UTF-8?q?=E5=B7=B2=E6=8E=92=E4=BA=A7=E6=9C=AA=E5=BC=80=E5=B7=A5=E6=9C=BA?= =?UTF-8?q?=E5=8F=B0=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../soIssueNotify/searchIssureNotify.vue | 79 ++++++++++++++++--- 1 file changed, 67 insertions(+), 12 deletions(-) diff --git a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue index 47d8175..cfbd7b2 100644 --- a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue +++ b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue @@ -140,10 +140,10 @@ - + @@ -902,7 +902,7 @@ - + @@ -914,7 +914,7 @@ class="text-right"> --> - + @@ -931,6 +931,16 @@ + + + + + + + + + + @@ -1348,7 +1358,7 @@ tableName: "申请单工单信息明细表", columnProp: 'needDate', headerAlign: "center", - align: "left", + align: "center", columnLabel: '要求发料日期', columnHidden: false, columnImage: false, @@ -1356,7 +1366,7 @@ sortLv: 0, status: true, fixed: '', - columnWidth: 120, + columnWidth: 100, },{ userId: this.$store.state.user.name, functionId: 701002, @@ -1477,7 +1487,42 @@ status: true, fixed: '', columnWidth: 80, - + }, + { + userId: this.$store.state.user.name, + functionId: 701002, + serialNumber: '701002Table2ApsResourceTotal', + tableId: "701002Table2", + tableName: "申请单工单信息明细表", + columnProp: 'apsResourceTotal', + headerAlign: "center", + align: "right", + columnLabel: '已排产机台总数', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 120, + }, + { + userId: this.$store.state.user.name, + functionId: 701002, + serialNumber: '701002Table2NotYetStartedResourceTotal', + tableId: "701002Table2", + tableName: "申请单工单信息明细表", + columnProp: 'notYetStartedResourceTotal', + headerAlign: "center", + align: "right", + columnLabel: '已排产未开工机台数', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 120, }, { userId: this.$store.state.user.name, @@ -2062,7 +2107,9 @@ workCenterNo:'', itemNo:0, materialType:'BOM物料', - alreadyApplyTotal: 0 + alreadyApplyTotal: 0, + apsResourceTotal: 0, + notYetStartedResourceTotal: 0 }, chooseSOSModalFlag: false, chooseSOSData: { @@ -3013,7 +3060,9 @@ workCenterNo: '', needDate: '', materialType: 'BOM物料', - alreadyApplyTotal: 0 + alreadyApplyTotal: 0, + apsResourceTotal: 0, + notYetStartedResourceTotal: 0 } this.saveOrderDetailFlag = true @@ -3074,7 +3123,9 @@ resourceDesc: this.orderDetailData.resourceDesc, resourceId: this.orderDetailData.resourceId, workCenterNo: this.orderDetailData.workCenterNo, - qtyrequired: this.orderDetailData.qtyRequired + qtyrequired: this.orderDetailData.qtyRequired, + apsResourceTotal: this.orderDetailData.apsResourceTotal, + notYetStartedResourceTotal: this.orderDetailData.notYetStartedResourceTotal } // 调用API保存派工单数据 @@ -3110,7 +3161,9 @@ workCenterNo: '', needDate: '', materialType: 'BOM物料', - alreadyApplyTotal: 0 + alreadyApplyTotal: 0, + apsResourceTotal: 0, + notYetStartedResourceTotal: 0 } } else { this.$alert(data.msg || '保存失败', '错误', { @@ -3350,6 +3403,8 @@ this.orderDetailData.partDesc = row.partDescription || ''; this.orderDetailData.qtyRequired = row.lotSize || ''; this.orderDetailData.alreadyApplyTotal = row.alreadyApplyTotal || 0; + this.orderDetailData.apsResourceTotal = row.apsResourceTotal || 0; + this.orderDetailData.notYetStartedResourceTotal = row.notYetStartedResourceTotal || 0; // 清空相关字段 this.orderDetailData.seqNo = '';