From 4974de75e4df84c148bbb9abd030e93f661f0e6e Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Sat, 8 Jun 2024 12:00:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B6=E5=93=81=E7=9B=B4=E6=8E=A5=E4=B8=8A?= =?UTF-8?q?=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/productPutaway/record/productPutawayRecord.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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; },