|
|
|
@ -1120,7 +1120,7 @@ export default {
|
|
|
|
|
handleConfirmIe(arr, index, nIndex) {
|
|
|
|
|
console.log(arr, 'nIndex', nIndex)
|
|
|
|
|
// let nameArr = ((this.ieList.filter(item => arr.includes(item.id)) || []).map(item => item.invoiceCode)).join('、')
|
|
|
|
|
this.$set(
|
|
|
|
|
/* this.$set(
|
|
|
|
|
this.form.expenseClaimTrips[index].expenseClaimDetails[nIndex],
|
|
|
|
|
'invoiceIds',
|
|
|
|
|
arr
|
|
|
|
@ -1139,13 +1139,33 @@ export default {
|
|
|
|
|
this.form.expenseClaimTrips[index].expenseClaimDetails[nIndex],
|
|
|
|
|
'invoiceName',
|
|
|
|
|
'已关联发票'
|
|
|
|
|
) */
|
|
|
|
|
this.$set(
|
|
|
|
|
this.form.expenseClaimTrips[index].expenseClaimDetails[nIndex],
|
|
|
|
|
'invoiceIds',
|
|
|
|
|
arr
|
|
|
|
|
)
|
|
|
|
|
this.$set(
|
|
|
|
|
this.form.expenseClaimTrips[index].expenseClaimDetails[nIndex],
|
|
|
|
|
'show',
|
|
|
|
|
false
|
|
|
|
|
)
|
|
|
|
|
this.$set(
|
|
|
|
|
this.form.expenseClaimTrips[index].expenseClaimDetails[nIndex],
|
|
|
|
|
'invoiceCount',
|
|
|
|
|
this.totalCount(arr) == 0 ? '' : this.totalCount(arr)
|
|
|
|
|
)
|
|
|
|
|
this.$set(
|
|
|
|
|
this.form.expenseClaimTrips[index].expenseClaimDetails[nIndex],
|
|
|
|
|
'invoiceName',
|
|
|
|
|
this.totalCount(arr) == 0 ? '请关联' : '已关联发票'
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
|
handleConfirmIe1(arr, nIndex) {
|
|
|
|
|
// let nameArr = ((this.ieList.filter(item => arr.includes(item.id)) || []).map(item => item.invoiceCode)).join('、')
|
|
|
|
|
this.$set(this.form.expenseClaimDetails[nIndex], 'invoiceIds', arr)
|
|
|
|
|
this.$set(this.form.expenseClaimDetails[nIndex], 'show', false)
|
|
|
|
|
this.$set(
|
|
|
|
|
/* this.$set(
|
|
|
|
|
this.form.expenseClaimDetails[nIndex],
|
|
|
|
|
'invoiceCount',
|
|
|
|
|
this.totalCount(arr)
|
|
|
|
@ -1154,6 +1174,16 @@ export default {
|
|
|
|
|
this.form.expenseClaimDetails[nIndex],
|
|
|
|
|
'invoiceName',
|
|
|
|
|
'已关联发票'
|
|
|
|
|
) */
|
|
|
|
|
this.$set(
|
|
|
|
|
this.form.expenseClaimDetails[nIndex],
|
|
|
|
|
'invoiceCount',
|
|
|
|
|
this.totalCount(arr) == 0 ? '' : this.totalCount(arr)
|
|
|
|
|
)
|
|
|
|
|
this.$set(
|
|
|
|
|
this.form.expenseClaimDetails[nIndex],
|
|
|
|
|
'invoiceName',
|
|
|
|
|
this.totalCount(arr) == 0 ? '请关联' : '已关联发票'
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|