chenrui 7 miesięcy temu
rodzic
commit
e70177c93d

+ 0 - 1
src/views/common/storeList.vue

@@ -61,7 +61,6 @@ export default {
       this.dealerName = []
     },
     getInfo (con) {
-      console.log('1111111111111', con)
       this.dealerName = [{ key: con.key, label: con.name }]
     },
     // 查询详细

+ 7 - 2
src/views/numsGoodsShelves/shoppingSwitch/list.vue

@@ -100,8 +100,13 @@ export default {
   },
   methods: {
     custChange (val) {
-      this.queryParam.delearSn = val.key
-      this.queryParam.dealerName = val.label.match(/[\u4e00-\u9fff]+/g).join('')
+      if (val) {
+        this.queryParam.delearSn = val.key
+        this.queryParam.dealerName = val.label.match(/[\u4e00-\u9fff]+/g).join('')
+      } else {
+        this.queryParam.delearSn = undefined
+        this.queryParam.dealerName = undefined
+      }
     },
     // 修改商城状态
     handleStatus (val, row) {