修改提示语
This commit is contained in:
parent
494f30e370
commit
3196c9b2d4
@ -30,8 +30,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view v-else-if="storeState == -1 || storeState == 2" class="apply-form bg-white">
|
||||
<view v-if="storeState == 2" class="bold text-center no-pass">
|
||||
审核失败,请重新提交
|
||||
<view v-if="storeState == 2" class="bold text-center no-pass" @click="this.showPopup = true">
|
||||
审核失败,点击查看原因
|
||||
</view>
|
||||
<view class="bold lg apply-form-info">
|
||||
商户信息
|
||||
@ -73,11 +73,11 @@
|
||||
</u-field>
|
||||
</view>
|
||||
|
||||
<view class="apply-form-item" v-if="showLargeNumber">
|
||||
<view class="apply-form-item" v-if="form.bankType == 1">
|
||||
<u-field label="大额行号" v-model="form.largeNumber" label-width="160" placeholder="请输入大额行号" required />
|
||||
</view>
|
||||
|
||||
<view class="apply-form-item" v-if="!showLargeNumber">
|
||||
<view class="apply-form-item" v-if="form.bankType == 2">
|
||||
<u-field label="户名" v-model="form.bank_user_name" label-width="160" placeholder="请输入户名" required />
|
||||
</view>
|
||||
|
||||
@ -281,6 +281,11 @@
|
||||
</view>
|
||||
</u-field>
|
||||
</view>
|
||||
|
||||
<!-- 备注 -->
|
||||
<view class="apply-form-item">
|
||||
<u-field label="备注" v-model="form.notes" label-width="160" placeholder="请输入备注信息" :border-bottom="false"/>
|
||||
</view>
|
||||
|
||||
<!-- 同意协议 -->
|
||||
<view class="apply-form-item flex m-t-10">
|
||||
@ -294,7 +299,7 @@
|
||||
|
||||
<!-- 提交申请 -->
|
||||
<view style="padding: 30rpx 20rpx 30rpx 0;">
|
||||
<button type="primary" size="lg" class="br60" @tap="onSubmit">提交申请</button>
|
||||
<button type="primary" size="lg" class="br60" @tap="$u.throttle(onSubmit, 1000)">提交申请</button>
|
||||
</view>
|
||||
|
||||
<!-- 查阅记录 -->
|
||||
@ -313,7 +318,13 @@
|
||||
@confirm="confirmCrftType2"></u-select>
|
||||
<u-select v-model="showAccntType1" mode="single-column" value-name="id" label-name="name" :list="accntType1List"
|
||||
@confirm="confirmAccntType1"></u-select>
|
||||
|
||||
<u-popup v-model="showPopup" mode="top">
|
||||
<view class="p-20">
|
||||
<view class="bold lg">失败原因</view>
|
||||
<view class="m-t-20">{{form.failReason}}</view>
|
||||
</view>
|
||||
</u-popup>
|
||||
|
||||
<tabbar></tabbar>
|
||||
</view>
|
||||
</template>
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user