diff --git a/fuintAdmin/src/api/allOrder.js b/fuintAdmin/src/api/allOrder.js index 106ad5190..59151cb6b 100644 --- a/fuintAdmin/src/api/allOrder.js +++ b/fuintAdmin/src/api/allOrder.js @@ -292,6 +292,16 @@ export function exportExcelOrderMsgsApi(data) { }); } +// 交接班-交易对账EXCEL导出 +export function exportExcelHandoverOrderApi(data) { + return request({ + url: 'business/allOrderInfo/exportExcelHandoverOrder', + method: 'post', + responseType: 'blob', // 表明响应类型为二进制流 + data: data // 通过 data 参数传递需要的数据 + }); +} + export function getTradingNewPageApi(query) { return request({ url: 'business/allOrderInfo/tradingNewList', @@ -428,6 +438,13 @@ export function getRunningWaterByDataApi29(query) { } +export function findOrderStatistics(query) { + return request({ + url: 'business/allOrderInfo/findOrderStatistics', + method: 'get', + params: query + }) +} diff --git a/fuintAdmin/src/views/handover/info/rec/trading.vue b/fuintAdmin/src/views/handover/info/rec/trading.vue index 22264a062..f4d53d433 100644 --- a/fuintAdmin/src/views/handover/info/rec/trading.vue +++ b/fuintAdmin/src/views/handover/info/rec/trading.vue @@ -19,7 +19,7 @@ - + - - - - - + + - + - + - - + + @@ -127,7 +125,7 @@ 搜索 重置 - 导出 + 导出 @@ -135,7 +133,7 @@
-
{{ wechat}}/{{ wechats}}
+
{{ orderStatistics.wechat || 0 }} / {{ orderStatistics.wechatCount || 0 }}
@@ -144,7 +142,7 @@
-
{{ orderStatistics.alipay?orderStatistics.alipay:0 }}/0
+
{{ orderStatistics.alipay || 0 }} / {{ orderStatistics.alipayCount || 0 }}
@@ -153,7 +151,7 @@
-
{{ orderStatistics.balance?orderStatistics.balance:0 }}/0
+
{{ orderStatistics.unionPay || 0 }} / {{ orderStatistics.unionPayCount || 0 }}
@@ -164,7 +162,7 @@
-
{{orderStatistics.balanceCount?orderStatistics.balanceCount:0}}/0
+
{{ orderStatistics.pos || 0 }} / {{ orderStatistics.posCount || 0 }}
@@ -174,10 +172,9 @@
-
{{ orderStatistics.cash?orderStatistics.cash:0 }}/0
+
{{ orderStatistics.cash || 0 }} / {{ orderStatistics.cashCount || 0 }}
-
现金收款(元)/ 笔数
@@ -185,7 +182,7 @@
-
{{orderStatistics.cashcount?orderStatistics.cashcount:0}}/0
+
{{ orderStatistics.vip || 0 }} / {{ orderStatistics.vipCount || 0 }}
@@ -195,7 +192,7 @@
-
0/0
+
{{orderStatistics.afterPay || 0 }} / {{orderStatistics.afterPayCount || 0 }}
@@ -227,33 +224,53 @@ 储值卡 积分 囤油卡 - 油品加商品(收银台订单) + 收银台订单 挂账订单 - 其他 + POS订单 + 其他 + + + + + + - - - @@ -266,8 +283,8 @@ - - + +