Browse Source

省市区不关联详细地址

chenrui 3 years ago
parent
commit
c25f7bfaef

+ 0 - 3
src/views/customerManagement/customerInfo/edit.vue

@@ -269,7 +269,6 @@ export default {
       this.addrDistrictList = []
       this.form.citySn = undefined
       this.form.countySn = undefined
-      this.form.customerAddr = ''
       if (val) {
         this.getArea('city', val)
         this.form.provinceName = this.addrProvinceList.find(item => item.areaSn == val).name
@@ -281,7 +280,6 @@ export default {
     getAreaList (val) {
       this.addrDistrictList = []
       this.form.countySn = undefined
-      this.form.customerAddr = ''
       if (val) {
         this.getArea('district', val)
         this.form.cityName = this.addrCityList.find(item => item.areaSn == val).name
@@ -291,7 +289,6 @@ export default {
     },
     // 区县变更
     areaCharged (val) {
-      this.form.customerAddr = ''
       if (val) {
         this.form.countyName = this.addrDistrictList.find(item => item.areaSn == val).name
       } else {

+ 0 - 3
src/views/salesManagement/salesQuery/chooseCustomModal.vue

@@ -495,7 +495,6 @@ export default {
       this.form.shippingAddressCityName = ''
       this.form.shippingAddressCountySn = undefined
       this.form.shippingAddressCountyName = ''
-      this.form.shippingAddress = ''
       if (val) {
         this.getArea('city', val)
         this.form.shippingAddressProvinceName = this.addrProvinceList.find(item => item.areaSn == val).name
@@ -508,7 +507,6 @@ export default {
       this.addrDistrictList = []
       this.form.shippingAddressCountySn = undefined
       this.form.shippingAddressCountyName = ''
-      this.form.shippingAddress = ''
       if (val) {
         this.getArea('district', val)
         this.form.shippingAddressCityName = this.addrCityList.find(item => item.areaSn == val).name
@@ -518,7 +516,6 @@ export default {
     },
     // 区县变更
     areaCharged (val) {
-      this.form.shippingAddress = ''
       if (val) {
         this.form.shippingAddressCountyName = this.addrDistrictList.find(item => item.areaSn == val).name
       } else {

+ 0 - 3
src/views/salesManagement/salesReturn/chooseCustomModal.vue

@@ -365,7 +365,6 @@ export default {
       this.form.cityName = ''
       this.form.countySn = undefined
       this.form.countyName = ''
-      this.form.customerAddr = ''
       if (val) {
         this.getArea('city', val)
         this.form.provinceName = this.addrProvinceList.find(item => item.areaSn == val).name
@@ -378,7 +377,6 @@ export default {
       this.addrDistrictList = []
       this.form.countySn = undefined
       this.form.countyName = ''
-      this.form.customerAddr = ''
       if (val) {
         this.getArea('district', val)
         this.form.cityName = this.addrCityList.find(item => item.areaSn == val).name
@@ -388,7 +386,6 @@ export default {
     },
     // 区县变更
     areaCharged (val) {
-      this.form.customerAddr = ''
       if (val) {
         this.form.countyName = this.addrDistrictList.find(item => item.areaSn == val).name
       } else {

+ 0 - 3
src/views/supplierManagement/supplierInfo/editModal.vue

@@ -233,7 +233,6 @@ export default {
       this.addrDistrictList = []
       this.form.citySn = undefined
       this.form.countySn = undefined
-      this.form.supplierAddress = ''
       if (val) {
         this.getArea('city', val)
         this.form.provinceName = this.addrProvinceList.find(item => item.areaSn == val).name
@@ -245,7 +244,6 @@ export default {
     getAreaList (val) {
       this.addrDistrictList = []
       this.form.countySn = undefined
-      this.form.supplierAddress = ''
       if (val) {
         this.getArea('district', val)
         this.form.cityName = this.addrCityList.find(item => item.areaSn == val).name
@@ -255,7 +253,6 @@ export default {
     },
     // 区县变更
     areaCharged (val) {
-      this.form.supplierAddress = ''
       if (val) {
         this.form.countyName = this.addrDistrictList.find(item => item.areaSn == val).name
       } else {