From a4b3ee325c7354579d495bc74a777e494e5ec38c Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Fri, 06 Feb 2026 18:18:44 +0800
Subject: [PATCH] 商品可以价格面议 选择走访时显示输入走访企业名 分会添加活动时要总会审核 分类添加人数限制,添加活动选择了填写人数限制的分类时活动名额下显示该分类人数限制为15 同一个企业30天内只能走访一次,在30天内走访同一个企业时提示该企业已被走访xx天后才可以从新走访
---
mobile/pages/user/modify-real/modify-real.vue | 54 +++++++++++++++++++++++++++++-------------------------
1 files changed, 29 insertions(+), 25 deletions(-)
diff --git a/mobile/pages/user/modify-real/modify-real.vue b/mobile/pages/user/modify-real/modify-real.vue
index 7fd764f..0a2f8b5 100644
--- a/mobile/pages/user/modify-real/modify-real.vue
+++ b/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];
//如选择个人,则结算账户类型改为对私
--
Gitblit v1.9.2