Commit 52f2850a authored by 786817560's avatar 786817560

'银行卡删除'

parent d831fb83
......@@ -2,7 +2,7 @@
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-09-24 21:29:35
* @LastEditTime: 2019-09-25 19:34:03
* @LastEditTime: 2019-09-25 20:08:44
* @LastEditors: Please set LastEditors
-->
<template>
......@@ -103,22 +103,26 @@ export default {
return num.substring(num.length - 4)
},
deleteFun (e) {
console.log(this.bp_id)
let url = $config.basePath + 'bp_bank_delete'
let param = {
'master': {
'bp_id': this.bp_id,
'company_id': '2145',
'bank_account_num': e,
},
}
let vm = this
this.hlsHttp.post(url, param).then(function (res) {
console.log('银行卡删除', res)
if (res.result === 'S') {
let index = vm.bankList.findIndex(item => {
if (item.bank_account_num === e) {
return true
}
})
vm.bankList.splice(index, 1)
}
})
// let index = this.bankList.findIndex(item => {
// if (item.bank_account_num === e) {
// return true
// }
// })
// this.bankList.splice(index, 1)
},
},
}
......
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