From dc19c57da7a3faec7a7357484eb261996c173912 Mon Sep 17 00:00:00 2001 From: yuejiayang <146344614+YangLei105@users.noreply.github.com> Date: Sat, 21 Sep 2024 14:41:30 +0800 Subject: [PATCH] =?UTF-8?q?2024.9.21=20=E4=B8=80=E3=80=81=E7=89=A9?= =?UTF-8?q?=E6=96=99=E6=88=90=E6=9C=AC=E4=BF=A1=E6=81=AF=E7=BB=B4=E6=8A=A4?= =?UTF-8?q?=EF=BC=88=E7=AC=AC=E4=BA=8C=E7=89=88=EF=BC=89=20=E4=BA=8C?= =?UTF-8?q?=E3=80=81=E5=8A=A0=E5=B7=A5=E4=B8=AD=E5=BF=83=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E6=94=B9=E9=80=A0=20=E4=B8=89=E3=80=81=E6=A0=87=E5=87=86?= =?UTF-8?q?=E5=B7=A5=E5=BA=8F=EF=BC=88=E7=AC=AC=E4=B8=89=E7=89=88=EF=BC=89?= =?UTF-8?q?=20=E5=9B=9B=E3=80=81=E5=95=86=E5=93=81=E7=BB=84=20-=20?= =?UTF-8?q?=E6=A0=87=E5=87=86=E5=B7=A5=E5=BA=8F=EF=BC=88=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E7=89=88=EF=BC=89=20=E4=BA=94=E3=80=81=E5=95=86=E5=93=81?= =?UTF-8?q?=E7=BB=84=20-=20Process=20Time=20Matrix=EF=BC=88=E7=AC=AC?= =?UTF-8?q?=E4=BA=8C=E7=89=88=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../part/partProductGroupInformation.vue | 300 ++++++++++++++++-- 1 file changed, 269 insertions(+), 31 deletions(-) diff --git a/src/views/modules/part/partProductGroupInformation.vue b/src/views/modules/part/partProductGroupInformation.vue index c6b23b7..f239826 100644 --- a/src/views/modules/part/partProductGroupInformation.vue +++ b/src/views/modules/part/partProductGroupInformation.vue @@ -287,12 +287,22 @@ :min-width="item.columnWidth" :label="item.columnLabel"> @@ -301,7 +311,7 @@ 编辑 @@ -329,7 +339,7 @@ - + @@ -349,9 +359,9 @@ - + @@ -367,22 +377,32 @@ :label="item.columnLabel" > @@ -394,15 +414,15 @@ - +
- - - - + + + +
@@ -753,7 +773,7 @@ export default { tableName: "标准工序表", columnProp: 'operationNo', headerAlign: "center", - align: "left", + align: "center", columnLabel: '工序号', columnHidden: false, columnImage: false, @@ -772,7 +792,7 @@ export default { tableName: "标准工序表", columnProp: 'operationName', headerAlign: "center", - align: "center", + align: "left", columnLabel: '工序名称', columnHidden: false, columnImage: false, @@ -1010,6 +1030,215 @@ export default { isVisible: true // 控制显示的属性 }, ], + stdProcessColumnList1: [ + { + userId: this.$store.state.user.name, + functionId: 601006, + serialNumber: '601006Table2BuDesc', + tableId: "601006Table2", + tableName: "标准工序表", + columnProp: 'buDesc', + headerAlign: "center", + align: "center", + columnLabel: 'BU', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 60, + isVisible: true // 控制显示的属性 + }, + { + userId: this.$store.state.user.name, + functionId: 601006, + serialNumber: '601006Table2OperationNo', + tableId: "601006Table2", + tableName: "标准工序表", + columnProp: 'operationNo', + headerAlign: "center", + align: "center", + columnLabel: '工序号', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 50, + isVisible: true // 控制显示的属性 + }, + { + userId: this.$store.state.user.name, + functionId: 601006, + serialNumber: '601006Table2OperationName', + tableId: "601006Table2", + tableName: "标准工序表", + columnProp: 'operationName', + headerAlign: "center", + align: "left", + columnLabel: '工序名称', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 170, + isVisible: true // 控制显示的属性 + }, + { + functionId: 601006, + serialNumber: '601006Table2WorkCenterNo', + tableId: '601006Table2', + tableName: '标准工序表', + columnProp: 'workCenterNo', + headerAlign: 'center', + align: 'left', + columnLabel: '加工中心编码', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100, + isVisible: true // 控制显示的属性 + }, + { + functionId: 601006, + serialNumber: '601006Table2WorkCenterDesc', + tableId: '601006Table2', + tableName: '标准工序表', + columnProp: 'workCenterDesc', + headerAlign: 'center', + align: 'left', + columnLabel: '加工中心名称', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 170, + isVisible: true // 控制显示的属性 + }, + { + userId: this.$store.state.user.name, + functionId: 601006, + serialNumber: '601006Table2LaborClassDesc', + tableId: "601006Table2", + tableName: "标准工序表", + columnProp: 'laborClassDesc', + headerAlign: "center", + align: "left", + columnLabel: '人员等级', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 80, + isVisible: true // 控制显示的属性 + }, + { + userId: this.$store.state.user.name, + functionId: 601006, + serialNumber: '601006Table2SetupLaborClassDesc', + tableId: "601006Table2", + tableName: "标准工序表", + columnProp: 'setupLaborClassDesc', + headerAlign: "center", + align: "left", + columnLabel: '调机时人员等级', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100, + isVisible: true // 控制显示的属性 + }, + { + userId: this.$store.state.user.name, + functionId: 601006, + serialNumber: '601006Table2MachCycleTime', + tableId: "601006Table2", + tableName: "标准工序表", + columnProp: 'machCycleTime', + headerAlign: "center", + align: "right", + columnLabel: '机器处理时间', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100, + isVisible: false // 控制显示的属性 + }, + { + userId: this.$store.state.user.name, + functionId: 601006, + serialNumber: '601006Table2LaborCycleTime', + tableId: "601006Table2", + tableName: "标准工序表", + columnProp: 'laborCycleTime', + headerAlign: "center", + align: "right", + columnLabel: '人工处理时间', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100, + isVisible: false // 控制显示的属性 + }, + { + userId: this.$store.state.user.name, + functionId: 601006, + serialNumber: '601006Table2MachRunFactor', + tableId: "601006Table2", + tableName: "标准工序表", + columnProp: 'machRunFactor', + headerAlign: "center", + align: "right", + columnLabel: '机器单位产出', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100, + isVisible: false // 控制显示的属性 + }, + { + userId: this.$store.state.user.name, + functionId: 601006, + serialNumber: '601006Table2LaborRunFactor', + tableId: "601006Table2", + tableName: "标准工序表", + columnProp: 'laborRunFactor', + headerAlign: "center", + align: "right", + columnLabel: '人工单位产出', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100, + isVisible: false // 控制显示的属性 + }, + ], columnItemList: [ { userId: this.$store.state.user.name, @@ -1700,7 +1929,15 @@ export default { }) }, - closeProductGroupPtmDialog () { + closeProductGroupPtmDialog (){ + this.productGroupPtmConditionList = [] + this.productGroupPtmConditionItemList = [] + this.productGroupPtmConditionProcessList = [] + this.productGroupPtmFlag = false + this.activeName = 'first' + }, + + closeProductGroupPtmSaveDialog () { this.ptmModalData = { conditionDesc: '', itemNo: '', @@ -1755,6 +1992,7 @@ export default { updatePtmConditionProcessValue () { let tempData = { + updateBy: this.$store.state.user.name, ptmProcessAddList: JSON.parse(JSON.stringify(this.copyProcessAttributeList)) } updatePtmConditionProcessValue(tempData).then(({data}) => {