From 3fe00231f8a72f1398e828c7f3470c0b5d87e92a Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Sat, 12 Oct 2024 14:41:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8B=BC=E7=AE=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/collect/relCode/operateRelCodeSpell.vue | 7 +++++++ src/views/collect/relCode/sonRelCodeSpell.vue | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/views/collect/relCode/operateRelCodeSpell.vue b/src/views/collect/relCode/operateRelCodeSpell.vue index e3eb0885..61bd0a22 100644 --- a/src/views/collect/relCode/operateRelCodeSpell.vue +++ b/src/views/collect/relCode/operateRelCodeSpell.vue @@ -560,7 +560,9 @@ }, spellBox() { const temp = JSON.parse(JSON.stringify(this.relFormData)); + temp.detailList = [] this.detailListSpell.forEach( item =>{ + item.flag = 2 temp.detailList.push(item) }); this.relFormDatas.push(temp) @@ -601,7 +603,9 @@ this.loading = true; const temp = JSON.parse(JSON.stringify(this.relFormData)); + temp.detailList = [] this.detailListSpell.forEach( item =>{ + item.flag = 2 temp.detailList.push(item) }); this.relFormDatas.push(temp) @@ -626,7 +630,9 @@ this.loading = true; const temp = JSON.parse(JSON.stringify(this.relFormData)); + temp.detailList = [] this.detailListSpell.forEach( item =>{ + item.flag = 2 temp.detailList.push(item) }); this.relFormDatas.push(temp) @@ -774,6 +780,7 @@ this.bhxjsl = 0; this.syxjsl = 0; this.parentCode = null; + this.inputDisabled = false this.refreshCodesPanel() }, init(){ diff --git a/src/views/collect/relCode/sonRelCodeSpell.vue b/src/views/collect/relCode/sonRelCodeSpell.vue index 8e62ad70..5a971be5 100644 --- a/src/views/collect/relCode/sonRelCodeSpell.vue +++ b/src/views/collect/relCode/sonRelCodeSpell.vue @@ -487,7 +487,9 @@ spellBox() { this.inputDisabled = false const temp = JSON.parse(JSON.stringify(this.relFormData)); + temp.detailList = [] this.detailListSpell.forEach( item =>{ + item.flag = 2 temp.detailList.push(item) }); this.relFormDatas.push(temp) @@ -511,7 +513,9 @@ .then(() => { const temp = JSON.parse(JSON.stringify(this.relFormData)); + temp.detailList = [] this.detailListSpell.forEach( item =>{ + item.flag = 2 temp.detailList.push(item) }); this.relFormDatas.push(temp) @@ -535,7 +539,9 @@ }); }else { const temp = JSON.parse(JSON.stringify(this.relFormData)); + temp.detailList = [] this.detailListSpell.forEach( item =>{ + item.flag = 2 temp.detailList.push(item) }); this.relFormDatas.push(temp) @@ -683,6 +689,7 @@ this.bhxjsl = 0; this.syxjsl = 0; this.parentCode = null; + this.inputDisabled = false this.refreshCodesPanel() }, init(){