|
@@ -968,15 +968,16 @@ export default {
|
|
|
},
|
|
|
customerChange(e) {
|
|
|
let customers = e.split('(')
|
|
|
+ this.deptBudgetList.bankCard = customers[1].split(')')[0]
|
|
|
this.deptBudgetList.customerName = customers[0]
|
|
|
+
|
|
|
for (let i = 0; i < this.customerList1.length; i++) {
|
|
|
- // console.log(this.customerList1[i].customerName, this.customerList1[i])
|
|
|
- if (this.customerList1[i].customerName == this.deptBudgetList.customerName) {
|
|
|
+ if (this.customerList1[i].customerName == this.deptBudgetList.customerName && this.customerList1[i].bankCard == this.deptBudgetList.bankCard) {
|
|
|
// console.log(this.customerList1[i])
|
|
|
this.deptBudgetList.customerNumberCard = this.customerList1[i].customerNumberCard
|
|
|
+ this.deptBudgetList.customerPhone = this.customerList1[i].customerPhone
|
|
|
}
|
|
|
}
|
|
|
- this.deptBudgetList.customerPhone = customers[1].split(')')[0]
|
|
|
},
|
|
|
waterContentChange(type) {
|
|
|
//客户
|