From f7a69f5e2a11e32fbce2907c4e67507b1e4441b9 Mon Sep 17 00:00:00 2001
From: shiyj1101 <1098226878@qq.com>
Date: Fri, 18 Jun 2021 19:25:07 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=98=E6=AC=BE=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../common/accountPay/accountPay.html | 63 ++++++++++---------
.../common/accountPay/accountPay.js | 16 ++++-
.../accountWithdrawalApplyFkManage.js | 9 +--
3 files changed, 51 insertions(+), 37 deletions(-)
diff --git a/public/components/common/accountPay/accountPay.html b/public/components/common/accountPay/accountPay.html
index 37242ac47..b978c81b0 100644
--- a/public/components/common/accountPay/accountPay.html
+++ b/public/components/common/accountPay/accountPay.html
@@ -3,6 +3,37 @@
diff --git a/public/components/common/accountPay/accountPay.js b/public/components/common/accountPay/accountPay.js
index 4faf75e29..3fd9bb02e 100644
--- a/public/components/common/accountPay/accountPay.js
+++ b/public/components/common/accountPay/accountPay.js
@@ -6,7 +6,11 @@
},
data: {
accountPayInfo: {
- accountBanks: [],
+ accountBank: {
+ personName: '',
+ bankName: '',
+ bankCode: '',
+ },
state: '',
remark: ''
}
@@ -27,7 +31,10 @@
},
_initEvent: function () {
vc.on('accountPay', 'accountPayModel', function (param) {
- vc.accountPayInfo.accountBanks = param;
+ console.log(param);
+ vc.component.accountPayInfo.accountBank.personName = param._accountBank[0].personName;
+ vc.component.accountPayInfo.accountBank.bankName = param._accountBank[0].bankName;
+ vc.component.accountPayInfo.accountBank.bankCode = param._accountBank[0].bankCode;
$('#accountPayModel').modal('show');
});
},
@@ -84,6 +91,11 @@
},
clearAddBasePrivilegeInfo: function () {
vc.component.accountPayInfo = {
+ accountBanks: {
+ personName: '',
+ bankName: '',
+ bankCode: '',
+ },
state: '',
remark: ''
}
diff --git a/public/pages/admin/accountWithdrawalApplyFkManage/accountWithdrawalApplyFkManage.js b/public/pages/admin/accountWithdrawalApplyFkManage/accountWithdrawalApplyFkManage.js
index 91ac7a440..ea08c7ee9 100644
--- a/public/pages/admin/accountWithdrawalApplyFkManage/accountWithdrawalApplyFkManage.js
+++ b/public/pages/admin/accountWithdrawalApplyFkManage/accountWithdrawalApplyFkManage.js
@@ -81,7 +81,10 @@
vc.component.accountWithdrawalApplyFkManageInfo.total = _accountBankManageInfo.total;
vc.component.accountWithdrawalApplyFkManageInfo.records = _accountBankManageInfo.records;
vc.component.accountWithdrawalApplyFkManageInfo.accountBanks = _accountBankManageInfo.data;
-
+
+ var _accountBank = vc.component.accountWithdrawalApplyFkManageInfo.accountBanks;
+ vc.emit('accountPay', 'accountPayModel',{_accountBank});
+
}, function (errInfo, error) {
console.log('请求失败处理');
}
@@ -105,9 +108,7 @@
vc.component.accountWithdrawalApplyFkManageInfo.acctId = _accountWithdrawalApplyFks.acctId;
$that._listAccountBanks(_accountWithdrawalApplyFks.bankId);
- var _accountBank = $that.accountWithdrawalApplyFkManageInfo.accountBanks;
-
- vc.emit('accountPay', 'accountPayModel',{_accountBank});
+
},
_auditAccountWithdrawalApplyFkState:function(_accountWithdrawalApplyFk){