diff --git a/src/pages/productPutaway/record/productPutawayRecord.vue b/src/pages/productPutaway/record/productPutawayRecord.vue index 29a67667..4cb454b3 100644 --- a/src/pages/productPutaway/record/productPutawayRecord.vue +++ b/src/pages/productPutaway/record/productPutawayRecord.vue @@ -103,14 +103,15 @@ inInventoryStatus: "", //目标入库库存状态 outInventoryStatus: "", //来源出库库存状态 businessType: {}, - managementList: [] + managementList: [], + type:'' }; }, onLoad(option) { this.type = option.type if(this.type=='predict'){ updateTitle('制品上架记录') - }else{ + }else if(this.type=='assemble'){ updateTitle('装配上架记录') } @@ -346,7 +347,9 @@ }) }) this.dataContent.subList = subList; - this.dataContent.type = this.type; + if(this.type){ + this.dataContent.type = this.type; + } this.dataContent.creator = creator; return this.dataContent; },