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(){