diff --git a/src/views/modules/qc/qcPartAttribute.vue b/src/views/modules/qc/qcPartAttribute.vue index d01d1a2..cb7e281 100644 --- a/src/views/modules/qc/qcPartAttribute.vue +++ b/src/views/modules/qc/qcPartAttribute.vue @@ -140,6 +140,27 @@ + + + + + + + + + + + + + + + + + + + + + @@ -847,67 +868,121 @@ { userId: this.$store.state.user.name, functionId: 301003, - serialNumber: '301003Table1CinvSourceCode', + serialNumber: '301003Table1DefaultValue', tableId: "301003Table1", tableName: "物料属性设置表", - columnProp: 'cinvSourceCode', + columnProp: 'defaultValue', headerAlign: "center", - align: "center", - columnLabel: 'PN', + align: "left", + columnLabel: '默认值', columnHidden: false, columnImage: false, columnSortable: false, sortLv: 0, status: true, fixed: '', - columnWidth: 120, + columnWidth: 100, }, { userId: this.$store.state.user.name, functionId: 301003, - serialNumber: '301003Table1FamilyName', + serialNumber: '301003Table1StandardValue', tableId: "301003Table1", tableName: "物料属性设置表", - columnProp: 'familyName', + columnProp: 'standardValue', headerAlign: "center", align: "left", - columnLabel: '物料类别', + columnLabel: '标准值', columnHidden: false, columnImage: false, columnSortable: false, sortLv: 0, status: true, fixed: '', - columnWidth: 150, + columnWidth: 100, }, { userId: this.$store.state.user.name, functionId: 301003, - serialNumber: '301003Table1Spec', + serialNumber: '301003Table1MaxValue', tableId: "301003Table1", tableName: "物料属性设置表", - columnProp: 'spec', + columnProp: 'maxValue', headerAlign: "center", align: "left", - columnLabel: '规格型号', + columnLabel: '上限值', columnHidden: false, columnImage: false, columnSortable: false, sortLv: 0, status: true, fixed: '', - columnWidth: 300, + columnWidth: 100, + }, + { + userId: this.$store.state.user.name, + functionId: 301003, + serialNumber: '301003Table1MinValue', + tableId: "301003Table1", + tableName: "物料属性设置表", + columnProp: 'minValue', + headerAlign: "center", + align: "left", + columnLabel: '下限值', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100, + }, + { + userId: this.$store.state.user.name, + functionId: 301003, + serialNumber: '301003Table1FirstIPQCPatrolTime', + tableId: "301003Table1", + tableName: "物料属性设置表", + columnProp: 'firstIPQCPatrolTime', + headerAlign: "center", + align: "left", + columnLabel: '首次巡检时间(h)', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100, + }, + { + userId: this.$store.state.user.name, + functionId: 301003, + serialNumber: '301003Table1LastIPQCPatrolTime', + tableId: "301003Table1", + tableName: "物料属性设置表", + columnProp: 'lastIPQCPatrolTime', + headerAlign: "center", + align: "left", + columnLabel: '下次巡检时间(h)', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100, }, { userId: this.$store.state.user.name, functionId: 301003, - serialNumber: '301003Table1Umid', + serialNumber: '301003Table1CycleIPQCPatrolTime', tableId: "301003Table1", tableName: "物料属性设置表", - columnProp: 'umid', + columnProp: 'cycleIPQCPatrolTime', headerAlign: "center", align: "left", - columnLabel: '单位', + columnLabel: '累计巡检时间(h)', columnHidden: false, columnImage: false, columnSortable: false, @@ -916,6 +991,78 @@ fixed: '', columnWidth: 100, }, + // { + // userId: this.$store.state.user.name, + // functionId: 301003, + // serialNumber: '301003Table1CinvSourceCode', + // tableId: "301003Table1", + // tableName: "物料属性设置表", + // columnProp: 'cinvSourceCode', + // headerAlign: "center", + // align: "center", + // columnLabel: 'PN', + // columnHidden: false, + // columnImage: false, + // columnSortable: false, + // sortLv: 0, + // status: true, + // fixed: '', + // columnWidth: 120, + // }, + // { + // userId: this.$store.state.user.name, + // functionId: 301003, + // serialNumber: '301003Table1FamilyName', + // tableId: "301003Table1", + // tableName: "物料属性设置表", + // columnProp: 'familyName', + // headerAlign: "center", + // align: "left", + // columnLabel: '物料类别', + // columnHidden: false, + // columnImage: false, + // columnSortable: false, + // sortLv: 0, + // status: true, + // fixed: '', + // columnWidth: 150, + // }, + // { + // userId: this.$store.state.user.name, + // functionId: 301003, + // serialNumber: '301003Table1Spec', + // tableId: "301003Table1", + // tableName: "物料属性设置表", + // columnProp: 'spec', + // headerAlign: "center", + // align: "left", + // columnLabel: '规格型号', + // columnHidden: false, + // columnImage: false, + // columnSortable: false, + // sortLv: 0, + // status: true, + // fixed: '', + // columnWidth: 300, + // }, + // { + // userId: this.$store.state.user.name, + // functionId: 301003, + // serialNumber: '301003Table1Umid', + // tableId: "301003Table1", + // tableName: "物料属性设置表", + // columnProp: 'umid', + // headerAlign: "center", + // align: "left", + // columnLabel: '单位', + // columnHidden: false, + // columnImage: false, + // columnSortable: false, + // sortLv: 0, + // status: true, + // fixed: '', + // columnWidth: 100, + // }, { userId: this.$store.state.user.name, functionId: 301003, @@ -1518,6 +1665,13 @@ updateBy: this.$store.state.user.name, createBy: this.$store.state.user.name, attributeType: 'A', + defaultValue: '', + standardValue: '', + maxValue: '', + minValue: '', + firstIPQCPatrolTime: '', + lastIPQCPatrolTime: '', + cycleIPQCPatrolTime: '', exemptInspection: '' } this.modalDisableFlag = false @@ -1540,6 +1694,13 @@ updateBy: this.$store.state.user.name, createBy: this.$store.state.user.name, attributeType: 'A', + defaultValue: row.defaultValue, + standardValue: row.standardValue, + maxValue: row.maxValue, + minValue: row.minValue, + firstIPQCPatrolTime: row.firstIPQCPatrolTime, + lastIPQCPatrolTime: row.lastIPQCPatrolTime, + cycleIPQCPatrolTime: row.cycleIPQCPatrolTime, exemptInspection: row.exemptInspection } this.modalDisableFlag = true