Commit 5664e00b authored by 李晓兵's avatar 李晓兵

'修改银行卡添加'

parent 2ec56535
......@@ -106,6 +106,7 @@ export default {
},
clearAccount: function () {
this.username = ''
this.password = ''
},
clearPassword: function () {
this.password = ''
......
......@@ -304,7 +304,7 @@
<input
slot="content"
v-model="bank.bank_account_num"
readonly
placeholder="识别银行卡自动填充"
>
</item>
......@@ -314,7 +314,7 @@
</item>
<item>
<div slot="name">银行名称</div>
<input slot="content" v-model="bank.bank_full_name" readonly placeholder="识别银行卡自动填充" >
<input slot="content" v-model="bank.bank_full_name" placeholder="识别银行卡自动填充" >
</item>
<item>
<div slot="name">支行名称</div>
......@@ -948,7 +948,7 @@ export default {
content: '您确认添加吗?',
onConfirm: data => {
console.log(data)
if (data) {
if (data === 1) {
let bpName = this.from ? this.$route.params.user_bp_name : window.localStorage.getItem('bp_name')
if (
this.bank.bank_account_num === '' ||
......@@ -968,7 +968,7 @@ export default {
let url = process.env.basePath + 'bp_bank_save'
let param = {
master: {
bp_id: window.localStorage.getItem('user_id'),
bp_id: this.from ? this.$route.params.bp_id : window.localStorage.getItem('user_id'),
bank_lists: this.bankList,
},
}
......
......@@ -683,7 +683,7 @@ export default {
content: '您确认添加吗?',
onConfirm: data => {
console.log(data)
if (data) {
if (data === 1) {
for (var key in this.bank_lists) {
if (!this.bank_lists[key]) {
this.bank_card_flag = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment