From 2109bbb085fd664a33f4468605fc8b82865eca3a Mon Sep 17 00:00:00 2001
From: shilei <965026003@qq.com>
Date: Sat, 31 Aug 2024 15:06:31 +0800
Subject: [PATCH] =?UTF-8?q?8.31=20=20=E7=AB=99=E5=A4=96=E5=85=85=E7=94=B5?=
=?UTF-8?q?=E8=AE=A2=E5=8D=95=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/biz/outchargeorder/index.ts | 10 +
src/utils/dict.ts | 3 +-
.../chargingOrder/OutChargeOrderForm.vue | 346 +-----------------
.../chargingOrder/components/drawer.vue | 54 ++-
.../chargingOrder/index.vue | 183 ++++-----
.../chargingOrders/ChargeOrderForm.vue | 338 +----------------
.../orderManagement/chargingOrders/index.vue | 178 +++------
7 files changed, 195 insertions(+), 917 deletions(-)
diff --git a/src/api/biz/outchargeorder/index.ts b/src/api/biz/outchargeorder/index.ts
index d664a68..6c51416 100644
--- a/src/api/biz/outchargeorder/index.ts
+++ b/src/api/biz/outchargeorder/index.ts
@@ -143,4 +143,14 @@ export const OutChargeOrderApi = {
exportOutChargeOrder: async (params) => {
return await request.download({ url: `/cloud/out-charge-order/export-excel`, params })
},
+
+ // 线下结算
+ postpayOffline: async (data: OutChargeOrderVO) => {
+ return await request.post({ url: `/cloud/out-charge-order/payOffline`, data })
+ },
+
+ // 挂起关闭
+ changeoutstatusOrder: async (data: OutChargeOrderVO) => {
+ return await request.post({ url: `/cloud/out-charge-order/changeStatus`, data })
+ },
}
diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index 1096c5f..963031c 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -280,5 +280,6 @@ GUNSTATUS = 'gunstatus',
OUTORDERSTATUS = 'out_orderStatus',
OUTREPORTINGMODE = 'out_reportingMode',
OUTCHARGSTATUS = 'outcharg_status',
- PAYBIZTYPE = 'pay_bizType'
+ PAYBIZTYPE = 'pay_bizType',
+ ORDERSTATUS = 'order_status',
}
diff --git a/src/views/system/offStationCharging/chargingOrder/OutChargeOrderForm.vue b/src/views/system/offStationCharging/chargingOrder/OutChargeOrderForm.vue
index da60dfb..82af075 100644
--- a/src/views/system/offStationCharging/chargingOrder/OutChargeOrderForm.vue
+++ b/src/views/system/offStationCharging/chargingOrder/OutChargeOrderForm.vue
@@ -20,367 +20,35 @@
/>
-