#
whycq
2023-11-24 9a3837ce2d128a9f03264f2ce99b8d3584e5520e
pages/business/cstmr/addCsmtr.vue
@@ -173,7 +173,8 @@
               value: 2
            }],
            citysData: [],
            citysDataTemp: ''
            citysDataTemp: '',
            uraddr: 'add'
            
         }
      },
@@ -186,6 +187,12 @@
         this.citysData = test.citysData
         this.autoLoad('cstmrType','')
         this.autoLoad('user','')
      },
      onLoad(option) {
         console.log(option);
         if(option.type == 1) {
            this.uraddr = 'add2'
         }
      },
      methods: {
         cstmrSearch() {
@@ -275,7 +282,7 @@
               }
               res.pcd = this.citysDataTemp
               uni.request({
                  url: that.baseUrl + '/cstmr/add/auth',
                  url: `${that.baseUrl}/cstmr/${that.uraddr}/auth`,
                  header:{
                     'token':uni.getStorageSync('token'),
                     'content-type':'application/x-www-form-urlencoded',