diff --git a/bundle_b/pages/local_settled/index.vue b/bundle_b/pages/local_settled/index.vue index 7838598..d14300e 100644 --- a/bundle_b/pages/local_settled/index.vue +++ b/bundle_b/pages/local_settled/index.vue @@ -30,8 +30,8 @@ - - 审核失败,请重新提交 + + 审核失败,点击查看原因 商户信息 @@ -73,11 +73,11 @@ - + - + @@ -281,6 +281,11 @@ + + + + + @@ -294,7 +299,7 @@ - + @@ -313,7 +318,13 @@ @confirm="confirmCrftType2"> - + + + 失败原因 + {{form.failReason}} + + + @@ -339,7 +350,7 @@ export default { data() { return { - showLargeNumber: true, + showPopup: false, form: { shopName: '', shopLogo: '', @@ -373,7 +384,8 @@ selfPhoto: '', idFront: '', idBack: '', - bank_user_name: '' + bank_user_name: '', + notes: '' }, // 商户证件类型 @@ -457,6 +469,8 @@ const {code, data, msg} = await getLocalStore() if (code == 1 && data.local) { this.localShop = data.local + this.form = data.local + this.storeState = data.local.store_state if (this.storeState == -1 || this.storeState == 2) { this.bgColor = '#FA844C' @@ -609,18 +623,17 @@ // 选择账户类型 choseType(e) { - this.showLargeNumber = false + this.form.largeNumber = ''; if (e == 1) { this.form.accountName = ''; - this.showLargeNumber = true } }, // 提交表单 async onSubmit() { const {form, isAgree, fileList} = this - const {shopName, shopLogo, bankType, largeNumber, bank_user_name, bankName, bankCard, businessLicense, crftNo1, selfPhoto, idFront, idBack, name, empowerPhone, address} = this.form + const {shopName, shopLogo, bankType, largeNumber, bank_user_name, bankName, bankCard, businessLicense, crftNo1, selfPhoto, idFront, idBack, name, empowerPhone, address, notes} = this.form const latitude = this.cityInfo.gcj02_lat const longitude = this.cityInfo.gcj02_lng @@ -703,12 +716,11 @@ // #ifdef MP-WEIXIN // await this.getAuthMsg(); //#endif - const { data, code, msg - } = await addLocalStore({shopName, shopLogo, bankType, largeNumber, bank_user_name, bankName, bankCard, businessLicense, crftNo1, selfPhoto, idFront, idBack, name, empowerPhone, address, lstore_id, latitude, longitude}) + } = await addLocalStore({shopName, shopLogo, bankType, largeNumber, bank_user_name, bankName, bankCard, businessLicense, crftNo1, selfPhoto, idFront, idBack, name, empowerPhone, address, lstore_id, latitude, longitude, notes}) if(code == 1) { this.$toast({ title: msg