|
@@ -810,7 +810,8 @@ export default {
|
|
|
this.$set(item, 'stlTtlAmountNetRMB', item.stlTtlAmountNet)
|
|
|
|
|
|
this.$set(item, 'currentStlAmountNetRMB', item.currentStlAmountNet)
|
|
|
- this.$set(item, 'currentStlAmountRMB', item.currentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountRMB', Number(item.currentStlAmount?item.currentStlAmount:0))
|
|
|
+ this.$set(item, 'currentStlAmountUSD', Number(0))
|
|
|
} else {
|
|
|
this.$set(item, 'currentInvoiceAmountUSD', item.currentInvoiceAmount)
|
|
|
this.$set(item, 'amountUSD', item.amount)
|
|
@@ -818,7 +819,8 @@ export default {
|
|
|
this.$set(item, 'stlTtlAmountNetUSD', item.stlTtlAmountNet)
|
|
|
this.$set(item, 'stlTtlAmountUSD', item.stlTtlAmount)
|
|
|
this.$set(item, 'currentStlAmountNetUSD', item.currentStlAmountNet)
|
|
|
- this.$set(item, 'currentStlAmountUSD', item.currentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountUSD', Number(item.currentStlAmount?item.currentStlAmount:0))
|
|
|
+ this.$set(item, 'currentStlAmountRMB', Number(0))
|
|
|
}
|
|
|
|
|
|
if (item.srcIdInvoices) {
|
|
@@ -870,7 +872,8 @@ export default {
|
|
|
this.$set(item, 'stlTtlAmountNetRMB', item.stlTtlAmountNet)
|
|
|
|
|
|
this.$set(item, 'currentStlAmountNetRMB', item.currentStlAmountNet)
|
|
|
- this.$set(item, 'currentStlAmountRMB', item.currentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountRMB', Number(item.currentStlAmount?item.currentStlAmount:0))
|
|
|
+ this.$set(item, 'currentStlAmountUSD', Number(0))
|
|
|
} else {
|
|
|
this.$set(item, 'currentInvoiceAmountUSD', item.currentInvoiceAmount)
|
|
|
this.$set(item, 'amountUSD', item.amount)
|
|
@@ -879,7 +882,8 @@ export default {
|
|
|
this.$set(item, 'stlTtlAmountUSD', item.stlTtlAmount)
|
|
|
|
|
|
this.$set(item, 'currentStlAmountNetUSD', item.currentStlAmountNet)
|
|
|
- this.$set(item, 'currentStlAmountUSD', item.currentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountUSD', Number(item.currentStlAmount?item.currentStlAmount:0))
|
|
|
+ this.$set(item, 'currentStlAmountRMB', Number(0))
|
|
|
}
|
|
|
|
|
|
if (item.srcIdInvoices) {
|
|
@@ -919,7 +923,8 @@ export default {
|
|
|
this.$set(item, 'stlTtlAmountNetRMB', item.stlTtlAmountNet)
|
|
|
|
|
|
this.$set(item, 'currentStlAmountNetRMB', item.currentStlAmountNet)
|
|
|
- this.$set(item, 'currentStlAmountRMB', item.currentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountRMB', Number(item.currentStlAmount?item.currentStlAmount:0))
|
|
|
+ this.$set(item, 'currentStlAmountUSD', Number(0))
|
|
|
} else {
|
|
|
this.$set(item, 'currentInvoiceAmountUSD', item.currentInvoiceAmount)
|
|
|
this.$set(item, 'amountUSD', item.amount)
|
|
@@ -928,7 +933,8 @@ export default {
|
|
|
this.$set(item, 'stlTtlAmountUSD', item.stlTtlAmount)
|
|
|
|
|
|
this.$set(item, 'currentStlAmountNetUSD', item.currentStlAmountNet)
|
|
|
- this.$set(item, 'currentStlAmountUSD', item.currentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountUSD', Number(item.currentStlAmount?item.currentStlAmount:0))
|
|
|
+ this.$set(item, 'currentStlAmountRMB', Number(0))
|
|
|
}
|
|
|
if (item.srcIdInvoices) {
|
|
|
this.settlementdistar = true
|
|
@@ -1038,11 +1044,12 @@ export default {
|
|
|
this.$set(item, 'stlTtlAmountRMB', item.stlTtlAmount)
|
|
|
if (item.dc == 'D') {
|
|
|
// 本次金额
|
|
|
- this.$set(item, 'currentStlAmountRMB', item.currentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountRMB', Number(item.currentStlAmount?item.currentStlAmount:0))
|
|
|
} else {
|
|
|
// 本次金额
|
|
|
- this.$set(item, 'currentStlAmountRMB', item.appliedCurrentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountRMB', Number(item.appliedCurrentStlAmount?item.appliedCurrentStlAmount:0))
|
|
|
}
|
|
|
+ this.$set(item, 'currentStlAmountUSD', Number(0))
|
|
|
} else {
|
|
|
// 发票
|
|
|
this.$set(item, 'currentInvoiceAmountUSD', item.currentInvoiceAmount)
|
|
@@ -1053,11 +1060,12 @@ export default {
|
|
|
// 本次金额
|
|
|
if (item.dc == 'D') {
|
|
|
// 本次金额
|
|
|
- this.$set(item, 'currentStlAmountUSD', item.currentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountUSD', Number(item.currentStlAmount?item.currentStlAmount:0))
|
|
|
} else {
|
|
|
// 本次金额
|
|
|
- this.$set(item, 'currentStlAmountUSD', item.appliedCurrentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountUSD', Number(item.appliedCurrentStlAmount?item.appliedCurrentStlAmount:0))
|
|
|
}
|
|
|
+ this.$set(item, 'currentStlAmountRMB', Number(0))
|
|
|
}
|
|
|
return item
|
|
|
})
|
|
@@ -1111,11 +1119,12 @@ export default {
|
|
|
// 本次金额
|
|
|
if (item.dc == 'D') {
|
|
|
// 本次金额
|
|
|
- this.$set(item, 'currentStlAmountRMB', item.appliedInvoiceCurrentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountRMB', Number(item.appliedInvoiceCurrentStlAmount?item.appliedInvoiceCurrentStlAmount:0))
|
|
|
} else {
|
|
|
// 本次金额
|
|
|
- this.$set(item, 'currentStlAmountRMB', item.appliedCurrentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountRMB', Number(item.appliedCurrentStlAmount?item.appliedCurrentStlAmount:0))
|
|
|
}
|
|
|
+ this.$set(item, 'currentStlAmountUSD', Number(0))
|
|
|
} else {
|
|
|
// 发票
|
|
|
this.$set(item, 'currentInvoiceAmountUSD', item.currentInvoiceAmount)
|
|
@@ -1126,11 +1135,12 @@ export default {
|
|
|
// 本次金额
|
|
|
if (item.dc == 'D') {
|
|
|
// 本次金额
|
|
|
- this.$set(item, 'currentStlAmountUSD', item.appliedInvoiceCurrentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountUSD', Number(item.appliedInvoiceCurrentStlAmount?item.appliedInvoiceCurrentStlAmount:0))
|
|
|
} else {
|
|
|
// 本次金额
|
|
|
- this.$set(item, 'currentStlAmountUSD', item.appliedCurrentStlAmount)
|
|
|
+ this.$set(item, 'currentStlAmountUSD', Number(item.appliedCurrentStlAmount?item.appliedCurrentStlAmount:0))
|
|
|
}
|
|
|
+ this.$set(item, 'currentStlAmountRMB', Number(0))
|
|
|
}
|
|
|
return item
|
|
|
})
|