Преглед изворни кода

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

liuyaqi пре 2 година
родитељ
комит
9f8060e90f

+ 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