From d44af11e8a3fdba35bbc8740e6dbb566c43862ca Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Mon, 11 Jul 2022 16:52:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0-=E5=BA=94=E7=94=A8=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E4=B8=8A=E6=9E=B6bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/ability/bsabilityservice.vue | 22 +++++++++++++++++-- .../components/inputSelectCheckbox.vue | 4 ++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/back/src/views/modules/ability/bsabilityservice.vue b/back/src/views/modules/ability/bsabilityservice.vue index d4fd055d..29cf2c4e 100644 --- a/back/src/views/modules/ability/bsabilityservice.vue +++ b/back/src/views/modules/ability/bsabilityservice.vue @@ -19,14 +19,14 @@ $t("export") }} - + value.attrType === child.name).length === 0) { + this.submitFrom.infoList.push({ + attrType: child.name, + attrValue: child.note1, + delFlag: 0 + }) + } } child.children.map(val => { arr.push(val.name) @@ -574,6 +583,15 @@ export default { attrValue: val.note1, delFlag: 0 }) + } else { + if (this.submitFrom.infoList.filter(value => value.attrType === val.name).length === 0) { + this.submitFrom.infoList.push({ + attrType: val.name, + attrValue: val.note1, + delFlag: 0, + note2: val.note2 || null + }) + } } break } diff --git a/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue b/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue index 784284be..e87ccf59 100644 --- a/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue +++ b/back/src/views/modules/putOnTheShelf/components/inputSelectCheckbox.vue @@ -135,6 +135,10 @@ export default { if (this.data.note1) { this.valueCheckBox = this.data.note1.split(';') } + } else if (this.data.name === '发布端') { + if (this.data.note1) { + this.valueCheckBox = this.data.note1.split(';') + } } }, mounted () {