From 2fa57459a728ad3b0d4f07c339d4305d7c0336eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Sat, 15 Apr 2023 16:24:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=BA=93=E4=BF=AE=E6=94=B9=E5=AF=84?= =?UTF-8?q?=E5=94=AE=E5=8A=9F=E8=83=BD=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/dept/invWarehouse.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/system/dept/invWarehouse.vue b/src/views/system/dept/invWarehouse.vue index 001e113..17563f5 100644 --- a/src/views/system/dept/invWarehouse.vue +++ b/src/views/system/dept/invWarehouse.vue @@ -169,7 +169,7 @@ - + 非寄售 寄售 @@ -387,6 +387,7 @@ export default { // page: 1, // limit: 10, }, + isAdvanceTypeShow:false, isShow:false, loading: true, list: [], @@ -485,17 +486,21 @@ export default { if (formName === "edit") { this.subData = JSON.parse(JSON.stringify(data)); if(this.subData.parentCode!=null && this.subData.parentCode!=""){ + this.isAdvanceTypeShow=true; this.isShow=false; }else{ + this.isAdvanceTypeShow=false; this.isShow=true this.subData.parentCode=null; } } else if (formName === "add") { this.isShow=true if(data==null){ + this.isAdvanceTypeShow=false; this.subData = {advanceType: false, spUse: false,parentCode:null}; }else{ - this.subData = {advanceType: false, spUse: false,parentCode:data.code}; + this.isAdvanceTypeShow=true; + this.subData = {advanceType: data.advanceType, spUse: false,parentCode:data.code}; } } this.subFormVisible = true;