Browse Source

add tid1577

dev
刘嘉炜 2 months ago
parent
commit
2b9522d7a2
  1. 26
      src/subpackage/wallet/pages/douyin_withdraw/apply.vue

26
src/subpackage/wallet/pages/douyin_withdraw/apply.vue

@ -34,6 +34,11 @@
<view class="dol-name">联系电话</view> <view class="dol-name">联系电话</view>
<input maxlength="11" type="number" class="dol-ipt" placeholder="请输入联系电话" v-model="info.mobile"> <input maxlength="11" type="number" class="dol-ipt" placeholder="请输入联系电话" v-model="info.mobile">
</view> </view>
<!-- // 20241113 ID1001577- -->
<view class="dwa-opt-line" :key="i">
<view class="dol-name">*证件号码</view>
<input type="idcard" class="dol-ipt" placeholder="请输入身份证/营业执照统一信用代码" v-model="info.credentials_number">
</view>
</view> </view>
@ -82,7 +87,9 @@ export default {
account: '', account: '',
bank_name: '', bank_name: '',
bank_address: '', bank_address: '',
mobile: ''
mobile: '',
// 20241113 ID1001577-
credentials_number: '' //
}, },
// md241024 241113 // md241024 241113
source: '', // 01 source: '', // 01
@ -165,7 +172,7 @@ export default {
return _infoValues.every(item=>item === ''); return _infoValues.every(item=>item === '');
}, },
infoCheck(){ infoCheck(){
let { amount, account_name_of_bank, account, bank_name, bank_address, mobile } = this.info;
let { amount, account_name_of_bank, account, bank_name, bank_address, mobile, credentials_number } = this.info;
let _amount = +(amount ?? 0); let _amount = +(amount ?? 0);
if(_amount <= 0){ if(_amount <= 0){
showNone('提现金额不正确'); showNone('提现金额不正确');
@ -191,6 +198,12 @@ export default {
showNone('支行名称不能为空'); showNone('支行名称不能为空');
return false return false
} }
if(credentials_number === ''){
showNone('证件号码不能为空');
return false
}
return true return true
}, },
/** /**
@ -228,6 +241,9 @@ export default {
* @param {Number} status // 01 * @param {Number} status // 01
* md241024 241113新增 * md241024 241113新增
* @param {Number} source // 01 * @param {Number} source // 01
* // 20241113 ID1001577-
* @param {String} credentials_number //
*
* */ * */
douyinWalletExtract({ douyinWalletExtract({
brand_id, brand_id,
@ -238,7 +254,8 @@ export default {
bank_address, bank_address,
mobile, mobile,
status = 0, status = 0,
source
credentials_number,
source,
}){ }){
showLoad(); showLoad();
servers.post({ servers.post({
@ -252,7 +269,8 @@ export default {
bank_address, bank_address,
mobile, mobile,
status, status,
source
credentials_number,
source,
}, },
failMsg: '申请提现失败' failMsg: '申请提现失败'
}) })

Loading…
Cancel
Save