From c4e1999cbb6c75680a80da425c8598113dc70c46 Mon Sep 17 00:00:00 2001 From: ds Date: Fri, 8 Nov 2024 15:23:02 +0800 Subject: [PATCH] 11.8 --- fuintAdmin/src/api/allOrder.js | 8 + .../src/views/handover/info/rec/ref.vue | 299 ++++++++---------- .../src/views/handover/info/rec/trading.vue | 68 ++-- .../controller/AllOrderInfoController.java | 15 + .../business/order/entity/AllOrderInfo.java | 2 + .../order/entity/AllOrderInfoRes.java | 2 + .../order/mapper/AllOrderInfoMapper.java | 4 + .../order/mapper/xml/AllOrderInfoMapper.xml | 192 ++++++++++- .../order/service/AllOrderInfoService.java | 3 + .../service/impl/AllOrderInfoServiceImpl.java | 44 +++ .../order/vo/Excel/HandoverOrderExcel.java | 40 +++ .../order/vo/Excel/TradingBackOrderExcel.java | 4 +- 12 files changed, 496 insertions(+), 185 deletions(-) create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/order/vo/Excel/HandoverOrderExcel.java diff --git a/fuintAdmin/src/api/allOrder.js b/fuintAdmin/src/api/allOrder.js index 59151cb6b..a915087a9 100644 --- a/fuintAdmin/src/api/allOrder.js +++ b/fuintAdmin/src/api/allOrder.js @@ -9,6 +9,14 @@ export function getOrderListApi(query) { }) } + +export function getOrderInfoById(id) { + return request({ + url: '/business/allOrderInfo/'+id, + method: 'get', + }) +} + // 分页查询所有的订单信息 export function getSumPayMoneyApi(query) { return request({ diff --git a/fuintAdmin/src/views/handover/info/rec/ref.vue b/fuintAdmin/src/views/handover/info/rec/ref.vue index 095296df9..f6a423a91 100644 --- a/fuintAdmin/src/views/handover/info/rec/ref.vue +++ b/fuintAdmin/src/views/handover/info/rec/ref.vue @@ -6,6 +6,7 @@ + + - + + - - - + + + + + + + + + - - - + + + + + + + + @@ -51,55 +65,43 @@ - - - - - + + + - - - - - + - - 至 - + v-model="queryParams.dataRange" + type="daterange" + range-separator="至" + start-placeholder="开始日期" + end-placeholder="结束日期" + format="yyyy-MM-dd" + value-format="yyyy-MM-dd" + > 搜索 重置 - 导出 + 导出
- -
{{ orderStatistics.wechat?orderStatistics.wechat:0 }}/0
+ +
{{ orderStatistics.refBalance || 0 }} / {{ orderStatistics.refBalanceCount || 0 }}
@@ -107,8 +109,8 @@
- -
{{ orderStatistics.alipay?orderStatistics.alipay:0 }}/0
+ +
{{ orderStatistics.oilOrder || 0 }} / {{ orderStatistics.oilOrderCount || 0 }}
@@ -117,8 +119,8 @@
- -
{{ orderStatistics.balance?orderStatistics.balance:0 }}/0
+ +
{{ orderStatistics.convenienceStore || 0 }} / {{ orderStatistics.convenienceStoreCount || 0 }}
@@ -127,8 +129,8 @@
- -
{{orderStatistics.balanceCount?orderStatistics.balanceCount:0}}/0
+ +
{{orderStatistics.integral || 0}} / {{ orderStatistics.integral || 0 }}
@@ -144,63 +146,37 @@ style="width: 100%"> - + + + - - - - - - - - - - - + + + - - - - + + - + - + + +
- - {{ordersInfo.storeName}} - {{ordersInfo.createBy}} - {{ordersInfo.payChannel}} - {{ordersInfo.mchntCd}} - {{ordersInfo.amount}} - {{ordersInfo.type}} - {{ordersInfo.amount}} + + {{ordersInfo.orderNo}} + {{ordersInfo.userMobile}} + {{ordersInfo.createTime}} + {{ordersInfo.type}} {{ordersInfo.payType}} - {{ordersInfo.userName}} + {{ordersInfo.updateTime}} + {{ordersInfo.createBy}} {{ordersInfo.status}} - {{ordersInfo.content}} - - - - +
+
+
金额详情
+
+ +
+ {{ordersInfo.goodsMoney?ordersInfo.goodsMoney:"--"}} {{ordersInfo.payMoney?ordersInfo.payMoney:"--"}} - {{ordersInfo.refMoney?ordersInfo.refMoney:"--"}} - {{ordersInfo.payMoney?ordersInfo.payMoney:"--"}} - - - +
@@ -272,10 +245,10 @@