diff --git a/src/pages/productPutaway/record/productPutawayRecord.vue b/src/pages/productPutaway/record/productPutawayRecord.vue index adba4f24..29a67667 100644 --- a/src/pages/productPutaway/record/productPutawayRecord.vue +++ b/src/pages/productPutaway/record/productPutawayRecord.vue @@ -73,6 +73,9 @@ import winScanLocation from "@/mycomponents/scan/winScanLocation.vue" import winScanPackAndLocation from "@/mycomponents/scan/winScanPackAndLocation.vue" import recordComDetailCard from '@/mycomponents/record/recordComDetailCard.vue' + import { + updateTitle + } from '@/common/basic.js'; export default { @@ -104,6 +107,13 @@ }; }, onLoad(option) { + this.type = option.type + if(this.type=='predict'){ + updateTitle('制品上架记录') + }else{ + updateTitle('装配上架记录') + } + var typeCode = "ProductPutaway" getBusinessType(typeCode, res => { if (res.success) { @@ -336,6 +346,7 @@ }) }) this.dataContent.subList = subList; + this.dataContent.type = this.type; this.dataContent.creator = creator; return this.dataContent; },