|
|
@ -2541,6 +2541,24 @@ export default { |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: false |
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5305, |
|
|
|
|
|
serialNumber: '5305MaterialPartNo', |
|
|
|
|
|
tableId: "5305Material", |
|
|
|
|
|
tableName: "材料", |
|
|
|
|
|
columnProp: "partNo", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "center", |
|
|
|
|
|
columnLabel: "物料编码", |
|
|
|
|
|
columnWidth: 80, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 5305, |
|
|
functionId: 5305, |
|
|
@ -2577,6 +2595,42 @@ export default { |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: false |
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5305, |
|
|
|
|
|
serialNumber: '5305MaterialPartDesc', |
|
|
|
|
|
tableId: "5305Material", |
|
|
|
|
|
tableName: "材料", |
|
|
|
|
|
columnProp: "partDesc", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "center", |
|
|
|
|
|
columnLabel: "物料描述", |
|
|
|
|
|
columnWidth: 180, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5305, |
|
|
|
|
|
serialNumber: '5305MaterialOriRollNo', |
|
|
|
|
|
tableId: "5305Material", |
|
|
|
|
|
tableName: "材料", |
|
|
|
|
|
columnProp: "oriRollNo", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "center", |
|
|
|
|
|
columnLabel: "原卷号", |
|
|
|
|
|
columnWidth: 120, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 5305, |
|
|
functionId: 5305, |
|
|
@ -2893,42 +2947,56 @@ export default { |
|
|
}, |
|
|
}, |
|
|
//刷新派工单的时间的记录 |
|
|
//刷新派工单的时间的记录 |
|
|
async getSfdcTimeList() { |
|
|
async getSfdcTimeList() { |
|
|
|
|
|
//重置查询的工序 |
|
|
|
|
|
this.searchData.itemNo = this.scheduleData.itemNo; |
|
|
await getSfdcTimeByCon(this.searchData).then(({data}) => { |
|
|
await getSfdcTimeByCon(this.searchData).then(({data}) => { |
|
|
this.sfdcTimeList = data.rows; |
|
|
this.sfdcTimeList = data.rows; |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
//刷新工单的工具信息 |
|
|
//刷新工单的工具信息 |
|
|
getOrderToolList() { |
|
|
getOrderToolList() { |
|
|
|
|
|
//重置查询的工序 |
|
|
|
|
|
this.searchData.itemNo = this.scheduleData.itemNo; |
|
|
getOrderToolByCon(this.searchData).then(({data}) => { |
|
|
getOrderToolByCon(this.searchData).then(({data}) => { |
|
|
this.orderToolList = data.rows; |
|
|
this.orderToolList = data.rows; |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
//刷新派工单的刀模板的记录 |
|
|
//刷新派工单的刀模板的记录 |
|
|
getSfdcToolList() { |
|
|
getSfdcToolList() { |
|
|
|
|
|
//重置查询的工序 |
|
|
|
|
|
this.searchData.itemNo = this.scheduleData.itemNo; |
|
|
getSfdcToolByCon(this.searchData).then(({data}) => { |
|
|
getSfdcToolByCon(this.searchData).then(({data}) => { |
|
|
this.sfdcToolList = data.rows; |
|
|
this.sfdcToolList = data.rows; |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
//刷新工单的bom信息 |
|
|
//刷新工单的bom信息 |
|
|
getOrderBomList() { |
|
|
getOrderBomList() { |
|
|
|
|
|
//重置查询的工序 |
|
|
|
|
|
this.searchData.itemNo = this.scheduleData.itemNo; |
|
|
getOrderBomByCon(this.searchData).then(({data}) => { |
|
|
getOrderBomByCon(this.searchData).then(({data}) => { |
|
|
this.orderBomList = data.rows; |
|
|
this.orderBomList = data.rows; |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
//刷新派工单的材料表的记录 |
|
|
//刷新派工单的材料表的记录 |
|
|
getSfdcMaterialList() { |
|
|
getSfdcMaterialList() { |
|
|
|
|
|
//重置查询的工序 |
|
|
|
|
|
this.searchData.itemNo = this.scheduleData.itemNo; |
|
|
getSfdcMaterialByCon(this.searchData).then(({data}) => { |
|
|
getSfdcMaterialByCon(this.searchData).then(({data}) => { |
|
|
this.sfdcMaterialList = data.rows; |
|
|
this.sfdcMaterialList = data.rows; |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
//刷新派工单的下机卷的记录 |
|
|
//刷新派工单的下机卷的记录 |
|
|
getSfdcRollOpsList() { |
|
|
getSfdcRollOpsList() { |
|
|
|
|
|
//重置查询的工序 |
|
|
|
|
|
this.searchData.itemNo = this.scheduleData.itemNo; |
|
|
getSfdcRollOpsByCon(this.searchData).then(({data}) => { |
|
|
getSfdcRollOpsByCon(this.searchData).then(({data}) => { |
|
|
this.sfdcRollOpsList = data.rows; |
|
|
this.sfdcRollOpsList = data.rows; |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
//刷新派工单的不良标的记录 |
|
|
//刷新派工单的不良标的记录 |
|
|
getSfdcDefectList() { |
|
|
getSfdcDefectList() { |
|
|
|
|
|
//重置查询的工序 |
|
|
|
|
|
this.searchData.itemNo = this.scheduleData.itemNo; |
|
|
getSfdcDefectByCon(this.searchData).then(({data}) => { |
|
|
getSfdcDefectByCon(this.searchData).then(({data}) => { |
|
|
this.sfdcDefectList = data.rows; |
|
|
this.sfdcDefectList = data.rows; |
|
|
}); |
|
|
}); |
|
|
@ -2936,6 +3004,8 @@ export default { |
|
|
|
|
|
|
|
|
//刷新派工单的下机卷的记录 |
|
|
//刷新派工单的下机卷的记录 |
|
|
getSfdcRollList() { |
|
|
getSfdcRollList() { |
|
|
|
|
|
//不按工序查询 |
|
|
|
|
|
this.searchData.itemNo = -1; |
|
|
refreshSplitScheduleTable(this.searchData).then(({data}) => { |
|
|
refreshSplitScheduleTable(this.searchData).then(({data}) => { |
|
|
this.materialRollList = data.rows; |
|
|
this.materialRollList = data.rows; |
|
|
}); |
|
|
}); |
|
|
|