lilei hace 1 año
padre
commit
dc97ce7f63
Se han modificado 2 ficheros con 6 adiciones y 2 borrados
  1. 1 1
      public/version.json
  2. 5 1
      src/views/customerManagement/customerInfo/edit.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1709712839677
+  "version": 1709713193723
 }

+ 5 - 1
src/views/customerManagement/customerInfo/edit.vue

@@ -179,10 +179,14 @@ export default {
       str = str.replace(/[\r\n]/g, '')
       this.form.customerName = str
     },
-    areaChange (val) {
+    areaChange (val,opts) {
+      console.log(opts)
       this.form.provinceSn = val[0] ? val[0] : undefined
+      this.form.provinceName = opts[0] ? opts[0].name : ''
       this.form.citySn = val[1] ? val[1] : undefined
+      this.form.cityName = opts[1] ? opts[1].name : ''
       this.form.countySn = val[2] ? val[2] : undefined
+      this.form.countyName = opts[2] ? opts[2].name : ''
     },
     //  获取客户信息
     getDetail () {