报工组件修改11

master
zhaoxiaolin 8 months ago
parent b04d89ae3c
commit c0dd890daf

@ -1574,7 +1574,7 @@ export default {
}
this.$refs.itemSelectNewPrepare.showFlag = true;
this.$refs.itemSelectNewPrepare.init(rows[0].workorderCode);
this.$refs.itemSelectNewPrepare.init(rows[0].workorderCode,this.selectRow[0].workorderCode);
},
//--
onSelectNewPrepare(obj) {

@ -111,7 +111,8 @@ export default {
component : '',
componentName : '',
productGroupName:'',
workorderCode:''
workorderCode:'',
parentOrder:''
},
selectionRows:[]
};
@ -127,9 +128,10 @@ export default {
return cellValue.slice(7,18); //
}
},
init(workorderCode){
init(workorderCode,parentOrder){
this.workorderCode = workorderCode;
this.queryParams.workorderCode = this.workorderCode;
this.queryParams.parentOrder = parentOrder;
this.getList();
},
/** 查询表格列表*/

Loading…
Cancel
Save