Quellcode durchsuchen

Merge branch 'feature_20241031_新建仓库与经销商类型对应,店铺编辑时限制店铺类型'

zhujindu vor 1 Jahr
Ursprung
Commit
2dd4f073ac

+ 1 - 0
src/views/storeManagement/storeAdd.vue

@@ -1661,6 +1661,7 @@ export default {
         this.$toast('部门未选择');
         return;
       } else {
+        this.chainsData = [];
         this.moreTypeShow = true;
       }
     },

+ 2 - 0
src/views/storeManagement/storeEdit.vue

@@ -934,6 +934,7 @@ export default {
       localStorage.setItem('locationRemark', this.fromValue.addressLine);
     },
     getChainsByDeptCodesearch(chainName) {
+      this.ChainsLists = [];
       getChainsByDeptCode({
         chainName: this.chainName,
         cityName: this.fromValue.cityNameOld,
@@ -1453,6 +1454,7 @@ export default {
         this.$toast('部门未选择');
         return;
       } else {
+        this.ChainsLists = [];
         this.moreTypeShow = true;
       }
     },