|
|
|
@ -140,6 +140,27 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" style="margin-left: 7px;margin-top: -5px;"> |
|
|
|
<el-form-item label="默认值:" prop="defaultValue" > |
|
|
|
<el-input v-model="modalData.defaultValue" style="width: 85px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="标准值:" prop="standardValue" > |
|
|
|
<el-input v-model="modalData.standardValue" style="width: 85px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="上限值:" prop="maxValue" > |
|
|
|
<el-input v-model="modalData.maxValue" style="width: 85px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="下限值:" prop="minValue" > |
|
|
|
<el-input v-model="modalData.minValue" style="width: 85px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="首次巡检时长(h):" prop="firstIPQCPatrolTime" > |
|
|
|
<el-input type="number" v-model="modalData.firstIPQCPatrolTime" style="width: 117px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="下次巡检时长(h):" prop="lastIPQCPatrolTime" > |
|
|
|
<el-input type="number" v-model="modalData.lastIPQCPatrolTime" style="width: 117px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="累计巡检时长(h):" prop="cycleIPQCPatrolTime" > |
|
|
|
<el-input type="number" v-model="modalData.cycleIPQCPatrolTime" style="width: 117px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="备注:"> |
|
|
|
<el-input v-model="modalData.attributeRemark" style="width: 385px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
@ -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 |
|
|
|
|