修改提示语
This commit is contained in:
parent
494f30e370
commit
3196c9b2d4
@ -30,8 +30,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else-if="storeState == -1 || storeState == 2" class="apply-form bg-white">
|
<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>
|
||||||
<view class="bold lg apply-form-info">
|
<view class="bold lg apply-form-info">
|
||||||
商户信息
|
商户信息
|
||||||
@ -73,11 +73,11 @@
|
|||||||
</u-field>
|
</u-field>
|
||||||
</view>
|
</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 />
|
<u-field label="大额行号" v-model="form.largeNumber" label-width="160" placeholder="请输入大额行号" required />
|
||||||
</view>
|
</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 />
|
<u-field label="户名" v-model="form.bank_user_name" label-width="160" placeholder="请输入户名" required />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@ -281,6 +281,11 @@
|
|||||||
</view>
|
</view>
|
||||||
</u-field>
|
</u-field>
|
||||||
</view>
|
</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">
|
<view class="apply-form-item flex m-t-10">
|
||||||
@ -294,7 +299,7 @@
|
|||||||
|
|
||||||
<!-- 提交申请 -->
|
<!-- 提交申请 -->
|
||||||
<view style="padding: 30rpx 20rpx 30rpx 0;">
|
<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>
|
</view>
|
||||||
|
|
||||||
<!-- 查阅记录 -->
|
<!-- 查阅记录 -->
|
||||||
@ -313,7 +318,13 @@
|
|||||||
@confirm="confirmCrftType2"></u-select>
|
@confirm="confirmCrftType2"></u-select>
|
||||||
<u-select v-model="showAccntType1" mode="single-column" value-name="id" label-name="name" :list="accntType1List"
|
<u-select v-model="showAccntType1" mode="single-column" value-name="id" label-name="name" :list="accntType1List"
|
||||||
@confirm="confirmAccntType1"></u-select>
|
@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>
|
<tabbar></tabbar>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -339,7 +350,7 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
showLargeNumber: true,
|
showPopup: false,
|
||||||
form: {
|
form: {
|
||||||
shopName: '',
|
shopName: '',
|
||||||
shopLogo: '',
|
shopLogo: '',
|
||||||
@ -373,7 +384,8 @@
|
|||||||
selfPhoto: '',
|
selfPhoto: '',
|
||||||
idFront: '',
|
idFront: '',
|
||||||
idBack: '',
|
idBack: '',
|
||||||
bank_user_name: ''
|
bank_user_name: '',
|
||||||
|
notes: ''
|
||||||
},
|
},
|
||||||
|
|
||||||
// 商户证件类型
|
// 商户证件类型
|
||||||
@ -457,6 +469,8 @@
|
|||||||
const {code, data, msg} = await getLocalStore()
|
const {code, data, msg} = await getLocalStore()
|
||||||
if (code == 1 && data.local) {
|
if (code == 1 && data.local) {
|
||||||
this.localShop = data.local
|
this.localShop = data.local
|
||||||
|
this.form = data.local
|
||||||
|
|
||||||
this.storeState = data.local.store_state
|
this.storeState = data.local.store_state
|
||||||
if (this.storeState == -1 || this.storeState == 2) {
|
if (this.storeState == -1 || this.storeState == 2) {
|
||||||
this.bgColor = '#FA844C'
|
this.bgColor = '#FA844C'
|
||||||
@ -609,18 +623,17 @@
|
|||||||
|
|
||||||
// 选择账户类型
|
// 选择账户类型
|
||||||
choseType(e) {
|
choseType(e) {
|
||||||
this.showLargeNumber = false
|
|
||||||
this.form.largeNumber = '';
|
this.form.largeNumber = '';
|
||||||
if (e == 1) {
|
if (e == 1) {
|
||||||
this.form.accountName = '';
|
this.form.accountName = '';
|
||||||
this.showLargeNumber = true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// 提交表单
|
// 提交表单
|
||||||
async onSubmit() {
|
async onSubmit() {
|
||||||
const {form, isAgree, fileList} = this
|
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 latitude = this.cityInfo.gcj02_lat
|
||||||
const longitude = this.cityInfo.gcj02_lng
|
const longitude = this.cityInfo.gcj02_lng
|
||||||
|
|
||||||
@ -703,12 +716,11 @@
|
|||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
// await this.getAuthMsg();
|
// await this.getAuthMsg();
|
||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
const {
|
const {
|
||||||
data,
|
data,
|
||||||
code,
|
code,
|
||||||
msg
|
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) {
|
if(code == 1) {
|
||||||
this.$toast({
|
this.$toast({
|
||||||
title: msg
|
title: msg
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user