Browse Source

修改bug

chenrui 10 months ago
parent
commit
ce3a5678cf

+ 3 - 1
src/views/promotionRulesManagement/promotionManagement/addModal.vue

@@ -164,10 +164,12 @@ export default {
     handleDealerModal () {
       this.openDealerModal = true
       const _this = this
+      let arr = []
       if (_this.chooseDealerList.length == 0) {
         _this.form.dealerSnList = []
+      } else {
+        arr = _this.chooseDealerList.map(item => { return item.dealerSn })
       }
-      const arr = _this.form.dealerSnList
       // 选择经销商回显
       _this.$nextTick(() => {
         _this.$refs.dealerChoose.pageInit(arr)