|
@@ -171,7 +171,13 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="left" label="现金钱包" prop="walletId" min-width="160" show-overflow-tooltip>
|
|
<el-table-column align="left" label="现金钱包" prop="walletId" min-width="160" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-select filterable v-model="scope.row.customerWalletId" placeholder="请选择">
|
|
|
|
|
|
+ <el-select filterable v-model="scope.row.customerWalletId" @change="(v)=>{
|
|
|
|
+ if(v && scope.row.walletList.find(d=>d.customerWalletId==v)){
|
|
|
|
+ scope.row.customerWalletName = scope.row.walletList.find(d=>d.customerWalletId==v).customerWalletName
|
|
|
|
+ }else{
|
|
|
|
+ scope.row.customerWalletName = ''
|
|
|
|
+ }
|
|
|
|
+ }" placeholder="请选择">
|
|
<el-option
|
|
<el-option
|
|
v-for="item in scope.row.walletList"
|
|
v-for="item in scope.row.walletList"
|
|
:key="item.customerWalletId"
|
|
:key="item.customerWalletId"
|
|
@@ -366,6 +372,7 @@ export default {
|
|
projectName: Arr[v].projectName,
|
|
projectName: Arr[v].projectName,
|
|
departmentId: Arr[v].departmentId,
|
|
departmentId: Arr[v].departmentId,
|
|
customerWalletId: Arr[v].customerWalletId,
|
|
customerWalletId: Arr[v].customerWalletId,
|
|
|
|
+ customerWalletName: Arr[v]?.customerWalletName,
|
|
// invoiceType: Arr[v].invoiceType,
|
|
// invoiceType: Arr[v].invoiceType,
|
|
invoiceType: Arr[v].invoiceType ? Arr[v].invoiceType : '',
|
|
invoiceType: Arr[v].invoiceType ? Arr[v].invoiceType : '',
|
|
incomeDept: Arr[v].incomeDept,
|
|
incomeDept: Arr[v].incomeDept,
|
|
@@ -524,6 +531,7 @@ export default {
|
|
projectName: '材料成本',
|
|
projectName: '材料成本',
|
|
departmentId: '',
|
|
departmentId: '',
|
|
customerWalletId: '',
|
|
customerWalletId: '',
|
|
|
|
+ customerWalletName: '',
|
|
invoiceType: '',
|
|
invoiceType: '',
|
|
incomeDept: '',
|
|
incomeDept: '',
|
|
// afterTaxAmount: "",
|
|
// afterTaxAmount: "",
|