|
|
@@ -184,6 +184,7 @@
|
|
|
async getInfo(row) {
|
|
|
let data = await accountstatementInfoAPI(row.id);
|
|
|
// this.recorpayList = data.recorpayList || [];
|
|
|
+ data.orderTotalAmount = data.orderList.reduce((pre, cur) => pre + +cur.orderAmount, 0),
|
|
|
data.amountTotalPrice = data.orderList.reduce((pre, cur) => pre + +cur.amountTotalPrice, 0),
|
|
|
data.amountCompletePrice = data.orderList.reduce((pre, cur) => pre + +cur.statementAmount, 0),
|
|
|
data.amountUnCompletePrice = data.orderList.reduce((pre, cur) => pre + +cur.unStatementAmount, 0)
|