完善提现审核显示银行信息

This commit is contained in:
shiyj1101 2021-06-18 17:30:59 +08:00
parent 2c0205541f
commit 2bc2978711
3 changed files with 64 additions and 2 deletions

View File

@ -37,6 +37,37 @@
</div>
</div>
</div>
<div class="modal-body">
<h3 class="m-t-none m-b ">银行信息</h3>
<div class="ibox-content">
<div>
<div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">持卡人</label>
<div class="col-sm-10">
<input v-model="accountPayInfo.accountBanks[1].personName" disabled="disabled" readonly type="text"
class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">开户行</label>
<div class="col-sm-10">
<input v-model="accountPayInfo.accountBanks[1].bankName" disabled="disabled" readonly type="text"
class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">账号</label>
<div class="col-sm-10">
<input v-model="accountPayInfo.accountBanks[1].bankCode" disabled="disabled" readonly type="text"
class="form-control">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

View File

@ -6,6 +6,7 @@
},
data: {
accountPayInfo: {
accountBanks: [],
state: '',
remark: ''
}
@ -25,7 +26,8 @@
_initMethod: function () {
},
_initEvent: function () {
vc.on('accountPay', 'accountPayModel', function () {
vc.on('accountPay', 'accountPayModel', function (param) {
vc.accountPayInfo.accountBanks = param;
$('#accountPayModel').modal('show');
});
},

View File

@ -8,6 +8,7 @@
data: {
accountWithdrawalApplyFkManageInfo: {
accountWithdrawalApplyFks: [],
accountBanks: [],
total: 0,
records: 1,
moreCondition: false,
@ -62,6 +63,30 @@
}
);
},
_listAccountBanks: function (_bankId) {
let param = {
params: {
page: 1,
row: 50,
bankId: _bankId
}
};
//发送get请求
vc.http.apiGet('/accountBank/queryAccountBank',
param,
function (json, res) {
var _accountBankManageInfo = JSON.parse(json);
vc.component.accountWithdrawalApplyFkManageInfo.total = _accountBankManageInfo.total;
vc.component.accountWithdrawalApplyFkManageInfo.records = _accountBankManageInfo.records;
vc.component.accountWithdrawalApplyFkManageInfo.accountBanks = _accountBankManageInfo.data;
}, function (errInfo, error) {
console.log('请求失败处理');
}
);
},
_openAddAccountWithdrawalApplyModal: function () {
vc.emit('addAccountWithdrawalApply', 'openAddAccountWithdrawalApplyModal', {});
},
@ -78,7 +103,11 @@
_openAccountPaykModal:function(_accountWithdrawalApplyFks){
vc.component.accountWithdrawalApplyFkManageInfo.applyId = _accountWithdrawalApplyFks.applyId;
vc.component.accountWithdrawalApplyFkManageInfo.acctId = _accountWithdrawalApplyFks.acctId;
vc.emit('accountPay', 'accountPayModel',{});
$that._listAccountBanks(_accountWithdrawalApplyFks.bankId);
var _accountBank = $that.accountWithdrawalApplyFkManageInfo.accountBanks;
vc.emit('accountPay', 'accountPayModel',{_accountBank});
},
_auditAccountWithdrawalApplyFkState:function(_accountWithdrawalApplyFk){