|
|
@ -151,7 +151,7 @@ |
|
|
|
<el-table-column label="厂家销售通路" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-select v-model="scope.row.actualPay" placeholder="请选择" filterable @change="changeActualPay($event, scope.row)"> |
|
|
|
<el-option v-for="item in actualPay_list" :key="item.bankAccount" :label="item.accountName" :value="item.accountName"/> |
|
|
|
<el-option v-for="item in actualPay_list" :key="item.bankAccount" :label="item.actualPay" :value="item.actualPay"/> |
|
|
|
</el-select> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
@ -255,7 +255,7 @@ export default { |
|
|
|
this.formobj.useOrgName = res.data.name |
|
|
|
} |
|
|
|
}) |
|
|
|
req.actualList(resp.data).then((respsone) => { |
|
|
|
req.actualList().then((respsone) => { |
|
|
|
if (respsone.success) { |
|
|
|
this.actualPay_list = respsone.data |
|
|
|
} |
|
|
@ -366,15 +366,15 @@ export default { |
|
|
|
changeActualPay(value, row) { |
|
|
|
let bb = null |
|
|
|
this.actualPay_list.forEach((e) => { |
|
|
|
if (e.accountName === value) { |
|
|
|
if (e.actualPay === value) { |
|
|
|
bb = { |
|
|
|
accountName: e.accountName, |
|
|
|
actualPay: e.actualPay, |
|
|
|
bankAccount: e.bankAccount, |
|
|
|
depositBank: e.depositBank |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
row.actualPay = bb.accountName |
|
|
|
row.actualPay = bb.actualPay |
|
|
|
row.bank = bb.depositBank |
|
|
|
row.receivingAccount = bb.bankAccount |
|
|
|
}, |
|
|
|