quanwei
18 hours ago c441dea81bd86bdfb12dff35821fed51f4cc91c2
mobile/pages/user/modify-real/modify-real.vue
@@ -477,32 +477,35 @@
         self._get('user.auth/detail', {}, function(res) {
            if(res.code == 1){
              var data = res.data.data;
              self.formData = data;
              self.legal_person_id_card_front_photo = data.idCardFrontPhoto.file_path;
              self.legal_person_id_card_back_photo =  data.idCardBackPhoto.file_path;
              if(data.licensePhoto){
               self.license_photo = data.licensePhoto.file_path;
              if(data){
                 self.formData = data;
                 self.legal_person_id_card_front_photo = data.idCardFrontPhoto?data.idCardFrontPhoto.file_path:'';
                 self.legal_person_id_card_back_photo =  data.idCardBackPhoto.file_path;
                 if(data.licensePhoto){
                                self.license_photo = data.licensePhoto.file_path;
                 }
                 if(data.settlementIdCardFrontPhoto){
                                 self.settlement_person_id_card_front_photo = data.settlementIdCardFrontPhoto.file_path;
                 }
                 if(data.settlementIdCardBackPhoto){
                    self.settlement_person_id_card_back_photo = data.settlementIdCardBackPhoto.file_path;
                 }
                 if(data.bankCardPhoto){
                     self.bank_card_photo = data.bankCardPhoto.file_path;
                 }
                 if(data.storeFrontPhoto){
                    self.store_front_img_url = data.storeFrontPhoto.file_path;
                 }
                 if(data.storeCashPhoto){
                    self.store_cash_photo = data.storeCashPhoto.file_path;
                 }
                 if(data.storeEnvPhoto){
                    self.store_env_photo = data.storeEnvPhoto.file_path;
                 }
                 var business_type_list = self.business_type_list;
                 self.business_type_active = business_type_list[data.business_type];
              }
              if(data.settlementIdCardFrontPhoto){
                self.settlement_person_id_card_front_photo = data.settlementIdCardFrontPhoto.file_path;
              }
              if(data.settlementIdCardBackPhoto){
                 self.settlement_person_id_card_back_photo = data.settlementIdCardBackPhoto.file_path;
              }
              if(data.bankCardPhoto){
                  self.bank_card_photo = data.bankCardPhoto.file_path;
              }
              if(data.storeFrontPhoto){
                 self.store_front_img_url = data.storeFrontPhoto.file_path;
              }
              if(data.storeCashPhoto){
                 self.store_cash_photo = data.storeCashPhoto.file_path;
              }
              if(data.storeEnvPhoto){
                 self.store_env_photo = data.storeEnvPhoto.file_path;
              }
              var business_type_list = self.business_type_list;
              self.business_type_active = business_type_list[data.business_type];
            }
            uni.hideLoading();
         });
@@ -587,6 +590,7 @@
        }, 
      /* 下拉框 */
      changeSelect(e) {
         console.log(this.formData);
         this.formData.business_type= e.detail.value;
         this.business_type_active= this.business_type_list[e.detail.value];
         //如选择个人,则结算账户类型改为对私