Commit 1ae4de2e authored by 我在何方's avatar 我在何方

创建请款单优化

parent b5735ec9
......@@ -738,7 +738,7 @@ export default {
getSupplier(val).then((res)=>{
this.bankData = res.data.bankList
let bank = this.bankData.find(item=>item.bankAccount==this.form.supplierBankAccount)
console.log(bank)
if(!bank) this.form.supplierBankAccount=''
if(!bank&&this.bankData.length>0) this.form.supplierBankAccount= this.bankData[0]['bankAccount']
})
}
......
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