This commit is contained in:
parent
d6c7878d52
commit
3d22dc0c6a
|
|
@ -370,9 +370,21 @@ export default {
|
||||||
|
|
||||||
pageInit() {
|
pageInit() {
|
||||||
|
|
||||||
|
|
||||||
|
this.itemData.mold_production_order_component.forEach(item=>{
|
||||||
|
if(!item.production_type){
|
||||||
|
item.production_type = 1;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
this.detailsData = JSON.parse(JSON.stringify(this.itemData.mold_production_order_component || []));
|
this.detailsData = JSON.parse(JSON.stringify(this.itemData.mold_production_order_component || []));
|
||||||
this.detailsData2 = JSON.parse(JSON.stringify(this.itemData.mold_production_order_component_processes || []));
|
this.detailsData2 = JSON.parse(JSON.stringify(this.itemData.mold_production_order_component_processes || []));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this.loadDepartment();
|
this.loadDepartment();
|
||||||
|
|
||||||
this.detailsDataInit();
|
this.detailsDataInit();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue