From b2d7ed436ec8e4c7baf4ab048de15126bf4424f7 Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Sat, 8 Jun 2024 11:04:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A3=85=E9=85=8D=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 --- .../productPutaway/record/productPutawayRecord.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) 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; },