Commit 77de451f authored by 邓春圆's avatar 邓春圆

银行卡不给默认信息

parent fc53e049
...@@ -693,11 +693,7 @@ export default { ...@@ -693,11 +693,7 @@ export default {
methods: { methods: {
deleteBankData(index){ deleteBankData(index){
if(this.form.customerBanks.length === 1){
this.$message.warning('至少添加一条银行卡号信息');
}else {
this.form.customerBanks.splice(index, 1); this.form.customerBanks.splice(index, 1);
}
}, },
//添加银行卡 //添加银行卡
addBankData(){ addBankData(){
...@@ -903,7 +899,6 @@ export default { ...@@ -903,7 +899,6 @@ export default {
}; };
this.form.createTime = (new Date()).getTime() this.form.createTime = (new Date()).getTime()
this.resetForm("form"); this.resetForm("form");
this.addBankData()
}, },
getCustomer(id) { getCustomer(id) {
return getCustomer(id).then(response => { return getCustomer(id).then(response => {
......
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