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 @@ /> - - - - - - + - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/src/views/system/offStationCharging/chargingOrder/components/drawer.vue b/src/views/system/offStationCharging/chargingOrder/components/drawer.vue index 6468fd8..d4c9169 100644 --- a/src/views/system/offStationCharging/chargingOrder/components/drawer.vue +++ b/src/views/system/offStationCharging/chargingOrder/components/drawer.vue @@ -7,7 +7,17 @@ direction="rtl" size="60%" > -
基本信息
+
+ 基本信息 +
+ 挂起 + 关闭 +
+

- {{ check_row.startSoc == null ? '--' : check_row.startSoc / 100 }} + {{ check_row.startSoc == null ? '--' : check_row.startSoc }} - {{ check_row.endSoc == null ? '--' : check_row.endSoc / 100 }} + {{ check_row.endSoc == null ? '--' : check_row.endSoc }}
@@ -82,28 +92,51 @@ @@ -117,6 +150,9 @@ defineExpose({ open }) // 提供 open 方法,用于打开弹窗 .title_info { font-size: 16px; font-weight: 600; + display: flex; + align-items: center; + justify-content: space-between; } :deep(.el-drawer__title) { font-size: 20px; diff --git a/src/views/system/offStationCharging/chargingOrder/index.vue b/src/views/system/offStationCharging/chargingOrder/index.vue index 9dba7bf..4780f63 100644 --- a/src/views/system/offStationCharging/chargingOrder/index.vue +++ b/src/views/system/offStationCharging/chargingOrder/index.vue @@ -27,7 +27,7 @@ /> - + - + @@ -99,135 +99,36 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + - + - + @@ -256,9 +159,23 @@ @pagination="getList" /> - + + + + + + + + + + @/api/biz/chargingorder