Przeglądaj źródła

feature_20260128_公装双包客户&三大渠道标签

zhujindu 6 dni temu
rodzic
commit
51ced7724b
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      src/views/storeManagement/GZattributeEditor.vue

+ 5 - 0
src/views/storeManagement/GZattributeEditor.vue

@@ -136,6 +136,11 @@ export default {
       params.customerType = params.customerType.join(',');
       params.storeCode = this.$route.query.storeCode;
       params.chainCode = this.$route.query.chainCode;
+      if (params.terminalCustomer == '是') {
+        params.doubleCustomer = null;
+        params.customerType = '';
+        params.channelType = '';
+      }
       if (params.doubleCustomer == '否') params.customerType = '';
       updateVisitLabel(params).then((res) => {
         this.toastLoading().clear();