|
@@ -1070,17 +1070,14 @@ export default {
|
|
|
finstlbillsGetByDetail(obj).then(res=>{
|
|
|
let arr = res.data.data.finStlBillsItemsList.map((item)=>{
|
|
|
item.lineNo = Number(index) + 1 // 行号
|
|
|
- item.accBillId = item.id
|
|
|
- item.accBillNo = item.billNo
|
|
|
- item.accDate = item.createTime
|
|
|
item.currentCurCode = item.curCode
|
|
|
item.currentExrate = item.exrate
|
|
|
if (item.currentCurCode == 'CNY') {
|
|
|
// 本次发票金额
|
|
|
- item.currentAmountCNY = (Number(item.amount) - Number(item.appliedInvoiceAmount)).toFixed(2)
|
|
|
+ this.$set(item,'currentAmountCNY',item.appliedInvoiceCurrentStlAmount)
|
|
|
}else {
|
|
|
// 本次发票金额
|
|
|
- item.currentAmountUSD = (Number(item.amount) - Number(item.appliedInvoiceAmount)).toFixed(2)
|
|
|
+ this.$set(item,'currentAmountUSD',item.appliedInvoiceCurrentStlAmount)
|
|
|
}
|
|
|
delete item.id
|
|
|
return item
|
|
@@ -1118,10 +1115,10 @@ export default {
|
|
|
item.currentExrate = item.exrate
|
|
|
if (item.currentCurCode == 'CNY') {
|
|
|
// 本次发票金额
|
|
|
- item.currentAmountCNY = (Number(item.amount) - Number(item.appliedInvoiceAmount)).toFixed(2)
|
|
|
+ this.$set(item,'currentAmountCNY',item.appliedInvoiceCurrentStlAmount)
|
|
|
}else {
|
|
|
// 本次发票金额
|
|
|
- item.currentAmountUSD = (Number(item.amount) - Number(item.appliedInvoiceAmount)).toFixed(2)
|
|
|
+ this.$set(item,'currentAmountUSD',item.appliedInvoiceCurrentStlAmount)
|
|
|
}
|
|
|
delete item.id
|
|
|
return item
|