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}) => {