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