From 654ffda440332bad64efda4b379e9935703f60fc Mon Sep 17 00:00:00 2001 From: rui_li <877258667@qq.com> Date: Fri, 24 Jun 2022 14:57:28 +0800 Subject: [PATCH] =?UTF-8?q?2022-06-24=20=E6=B4=BE=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E5=88=80=E6=A8=A1=E5=B7=B2=E5=8F=91=C2=A0=20=E5=B7=B2=E6=8E=92?= =?UTF-8?q?=E6=96=99=20=E7=BD=91=E6=9D=BF=E5=B7=B2=E5=8F=91=C2=A0=20?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E7=9B=B8=E5=85=B3=E7=9A=84=E5=8F=96=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/yieldReport/produce_order.vue | 67 ++++++++++--------- 1 file changed, 37 insertions(+), 30 deletions(-) diff --git a/src/views/modules/yieldReport/produce_order.vue b/src/views/modules/yieldReport/produce_order.vue index 47683bc..0d657dc 100644 --- a/src/views/modules/yieldReport/produce_order.vue +++ b/src/views/modules/yieldReport/produce_order.vue @@ -288,10 +288,10 @@ export default { { userId: this.$store.state.user.name, functionId: 5302, - serialNumber: '5302ProduceCostRollUpFlag', + serialNumber: '5302ProduceMatIssueFlag', tableId: "5302Produce", tableName: "待生产工单", - columnProp: "costRollUpFlag", + columnProp: "matIssueFlag", headerAlign: "center", align: "center", columnLabel: "已排料", @@ -306,10 +306,10 @@ export default { { userId: this.$store.state.user.name, functionId: 5302, - serialNumber: '5302ProduceManualFlag', + serialNumber: '5302ProduceToolIssueFlag', tableId: "5302Produce", tableName: "待生产工单", - columnProp: "manualFlag", + columnProp: "toolIssueFlag", headerAlign: "center", align: "center", columnLabel: "刀模已发", @@ -324,10 +324,10 @@ export default { { userId: this.$store.state.user.name, functionId: 5302, - serialNumber: '5302ProduceRepairSOFlag', + serialNumber: '5302ProducePlateIssueFlag', tableId: "5302Produce", tableName: "待生产工单", - columnProp: "repairSOFlag", + columnProp: "plateIssueFlag", headerAlign: "center", align: "center", columnLabel: "印版已发", @@ -1229,7 +1229,7 @@ export default { this.menuButton.openReverseButton = true } // 生产排料 - if (currentRow.costRollUpFlag == 'N') { + if (currentRow.matIssueFlag == 'N') { // 获取特殊权限 let data = { userSpecialSecurityNo: 238, @@ -1246,7 +1246,7 @@ export default { this.menuButton.costRollUpFlagButton = true } // 取消生产排料 - if (currentRow.costRollUpFlag == 'Y') { + if (currentRow.matIssueFlag == 'Y') { // 获取特殊权限 let data = { userSpecialSecurityNo: 238, @@ -1263,7 +1263,7 @@ export default { this.menuButton.canceledCostRollUpFlagButton = true } // 刀模已发 确认 - if (currentRow.manualFlag == 'N') { + if (currentRow.toolIssueFlag == 'N') { // 获取特殊权限 let data = { userSpecialSecurityNo: 258, @@ -1280,7 +1280,7 @@ export default { this.menuButton.manualFlagButton = true } // 刀模已发 取消 - if (currentRow.manualFlag == 'Y') { + if (currentRow.toolIssueFlag == 'Y') { // 获取特殊权限 let canceledAllPrdData = { userSpecialSecurityNo: 259, @@ -1297,7 +1297,7 @@ export default { this.menuButton.canceledManualFlagButton = true } // 印版已发 确认 - if (currentRow.repairSOFlag == 'N') { + if (currentRow.plateIssueFlag == 'N') { // 获取特殊权限 let data = { userSpecialSecurityNo: 259, @@ -1314,7 +1314,7 @@ export default { this.menuButton.repairSOFlagButton = true } // 印版已发 取消 - if (currentRow.repairSOFlag == 'Y') { + if (currentRow.plateIssueFlag == 'Y') { // 获取特殊权限 let data = { userSpecialSecurityNo: 259, @@ -1509,10 +1509,12 @@ export default { type: 'warning' }).then(() => { let data = { - username: this.$store.state.user.name, - orderNo: this.currentRow.orderNo, - costRollUpFlag: 'Y', site: this.currentRow.site, + orderNo: this.currentRow.orderNo, + itemNo: this.currentRow.itemNo, + seqNo: this.currentRow.seqNo, + username: this.$store.state.user.name, + matIssueFlag: 'Y', orderChangeStatus: "订单已排料", } costRollUpProduceOrder(data).then(({data}) => { @@ -1534,10 +1536,11 @@ export default { type: 'warning' }).then(() => { let data = { - username: this.$store.state.user.name, - orderNo: this.currentRow.orderNo, - costRollUpFlag: 'N', site: this.currentRow.site, + orderNo: this.currentRow.orderNo, + itemNo: this.currentRow.itemNo, + seqNo: this.currentRow.seqNo, + matIssueFlag: 'N', orderChangeStatus: "撤销订单排料", } costRollUpProduceOrder(data).then(({data}) => { @@ -1558,10 +1561,11 @@ export default { type: 'warning' }).then(() => { let data = { - username: this.$store.state.user.name, - orderNo: this.currentRow.orderNo, - manualFlag: 'Y', site: this.currentRow.site, + orderNo: this.currentRow.orderNo, + itemNo: this.currentRow.itemNo, + seqNo: this.currentRow.seqNo, + toolIssueFlag: 'Y', orderChangeStatus: "订单刀模已发", } manualProduceOrder(data).then(({data}) => { @@ -1582,10 +1586,11 @@ export default { type: 'warning' }).then(() => { let data = { - username: this.$store.state.user.name, - orderNo: this.currentRow.orderNo, - manualFlag: 'N', site: this.currentRow.site, + orderNo: this.currentRow.orderNo, + itemNo: this.currentRow.itemNo, + seqNo: this.currentRow.seqNo, + toolIssueFlag: 'N', orderChangeStatus: "撤销订单刀模已发", } manualProduceOrder(data).then(({data}) => { @@ -1606,10 +1611,11 @@ export default { type: 'warning' }).then(() => { let data = { - username: this.$store.state.user.name, - orderNo: this.currentRow.orderNo, - repairSOFlag: 'Y', site: this.currentRow.site, + orderNo: this.currentRow.orderNo, + itemNo: this.currentRow.itemNo, + seqNo: this.currentRow.seqNo, + plateIssueFlag: 'Y', orderChangeStatus: "订单印版已发", } repairSOFlagProduceOrder(data).then(({data}) => { @@ -1630,10 +1636,11 @@ export default { type: 'warning' }).then(() => { let data = { - username: this.$store.state.user.name, - orderNo: this.currentRow.orderNo, - repairSOFlag: 'N', site: this.currentRow.site, + orderNo: this.currentRow.orderNo, + itemNo: this.currentRow.itemNo, + seqNo: this.currentRow.seqNo, + plateIssueFlag: 'N', orderChangeStatus: "订单印版已发", } repairSOFlagProduceOrder(data).then(({data}) => {