Browse Source

fix: 优化经销商加载

Howie 1 năm trước cách đây
mục cha
commit
9277b2b93f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)
         }
       }