diff --git a/src/pages/Middle/Mold/MoldProductionOrder/ComponentDetail.vue b/src/pages/Middle/Mold/MoldProductionOrder/ComponentDetail.vue index c3c8ecf..0cb2a17 100644 --- a/src/pages/Middle/Mold/MoldProductionOrder/ComponentDetail.vue +++ b/src/pages/Middle/Mold/MoldProductionOrder/ComponentDetail.vue @@ -370,9 +370,21 @@ export default { 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.detailsData2 = JSON.parse(JSON.stringify(this.itemData.mold_production_order_component_processes || [])); + + + + this.loadDepartment(); this.detailsDataInit();