Explorar o código

fix: 优化经销商加载

Howie hai 1 ano
pai
achega
9277b2b93f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/commercialEngineering/components/base.vue

+ 1 - 1
src/views/commercialEngineering/components/base.vue

@@ -704,7 +704,7 @@ export default {
         if (!temp && !temp?.parentLbsId && !Object.keys(this.specialCity).includes(temp?.parentLbsId)) {
           await this.getCallbackPosition(this.formData.areaId, this.formData.streetId, 'street', 'lbsId')
         }
-        if (this.formData.customerId && this.formData.customerName) {
+        if (this.module !== 'add' && this.isTradeExaminer && this.formData.customerId && this.formData.customerName) {
           this.getDealerListV2(this.formData.customerName)
         }
       }