소스 검색

fix:修改经销商客户类型字典

liuyaqi 2 년 전
부모
커밋
9f8060e90f
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/base/distributor/components/DistrEdit.vue
  2. 1 1
      src/views/base/distributor/detail.vue

+ 1 - 1
src/views/base/distributor/components/DistrEdit.vue

@@ -161,7 +161,7 @@
     },
     methods: {
       getOptions() {
-        Promise.all([this.getDicts('dis_customer_type')])
+        Promise.all([this.getDicts('cust_idy')])
           .then(([data]) => {
             this.customerOptions = data.data.values || []
           })

+ 1 - 1
src/views/base/distributor/detail.vue

@@ -146,7 +146,7 @@
     },
     methods: {
       getOptions() {
-        Promise.all([this.getDicts('dis_customer_type')])
+        Promise.all([this.getDicts('cust_idy')])
           .then(([data]) => {
             data.data.values.filter((i) => {
               this.customerOptions[i.key] = i.value