Browse Source

分切 创建分卷

master
Rui_Li 4 years ago
parent
commit
53509ed75a
  1. 60
      src/views/modules/yieldReport/com_separate_roll_with_split.vue
  2. 70
      src/views/modules/yieldReport/com_split_order_report.vue

60
src/views/modules/yieldReport/com_separate_roll_with_split.vue

@ -289,6 +289,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,
@ -325,6 +343,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,
@ -439,6 +493,8 @@ export default {
/*关闭modal*/ /*关闭modal*/
closeDialog () { closeDialog () {
this.$emit('update:visible', false) this.$emit('update:visible', false)
//
this.$emit('refreshPageData')
}, },
/*刷新分期工单的*/ /*刷新分期工单的*/
@ -561,8 +617,8 @@ export default {
this.$message.error(data.msg) this.$message.error(data.msg)
} else { } else {
this.$message.success(data.msg) this.$message.success(data.msg)
//
this.$emit('refreshPageData')
//table
this.getCurrentPageTable();
// //
this.pageData.customerId = '无'; this.pageData.customerId = '无';
this.pageData.customerName = ''; this.pageData.customerName = '';

70
src/views/modules/yieldReport/com_split_order_report.vue

@ -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;
}); });

Loading…
Cancel
Save