diff --git a/project/fengdu/app/AppIntegratingAudit/components/Detail.vue b/project/fengdu/app/AppIntegratingAudit/components/Detail.vue index d34498d6..e4561ede 100644 --- a/project/fengdu/app/AppIntegratingAudit/components/Detail.vue +++ b/project/fengdu/app/AppIntegratingAudit/components/Detail.vue @@ -36,7 +36,7 @@
- +
diff --git a/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue b/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue index 3256b284..f3cf410d 100644 --- a/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue +++ b/project/fengdu/app/AppIntegratingSupermarket/components/AddStore.vue @@ -305,7 +305,9 @@ onConfirm () { this.isShow = false - this.form.goodsList = this.chooseList.map(v => { + let list = this.chooseList.filter(v => { + return this.form.goodsList.map(e => e.goodsId).indexOf(v.id) === -1 + }).map(v => { return { goods: { ...v @@ -317,6 +319,11 @@ status: v.status } }) + + this.form.goodsList = [ + ...this.form.goodsList , + ...list + ] }, getInfo (id) {