报工组件修改11

yangwl
zhaoxiaolin 8 months ago
parent b04d89ae3c
commit c0dd890daf

@ -1574,7 +1574,7 @@ export default {
} }
this.$refs.itemSelectNewPrepare.showFlag = true; 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) { onSelectNewPrepare(obj) {

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

Loading…
Cancel
Save