|
@@ -789,7 +789,13 @@ export default {
|
|
|
Object.keys(targetData).forEach(city => {
|
|
|
if (city) {
|
|
|
const totalSum = targetData[city].reduce((acc, item) => acc + item.AuditTotalAmount, 0);
|
|
|
- targetData[city].push({ IsFilter: true, TotalAmount: ceilToDecimals(totalSum, 2), CustomerName: targetData[city][0]['CustomerName'] })
|
|
|
+ const TotalAmount = ceilToDecimals(totalSum, 2)
|
|
|
+ targetData[city].push({
|
|
|
+ IsFilter: true,
|
|
|
+ TotalAmount,
|
|
|
+ AuditTotalAmount: TotalAmount,
|
|
|
+ CustomerName: targetData[city][0]['CustomerName']
|
|
|
+ })
|
|
|
}
|
|
|
});
|
|
|
this.mergeCellsCheckData = targetData
|