From 379d1d83bc515ae1321f1cc1eeb643977391c8a4 Mon Sep 17 00:00:00 2001 From: xiao-fajia <1665375861@qq.com> Date: Wed, 25 Sep 2024 19:38:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/repair/orderinfo/index.js | 7 ++ src/views/repair/orderinfo/index.vue | 101 +++++++++++++++++++++------ 2 files changed, 86 insertions(+), 22 deletions(-) diff --git a/src/api/repair/orderinfo/index.js b/src/api/repair/orderinfo/index.js index dd1705f..31ac54e 100644 --- a/src/api/repair/orderinfo/index.js +++ b/src/api/repair/orderinfo/index.js @@ -61,3 +61,10 @@ export function toPay(params) { params }) } + +export function getOrderCensus(){ + return request({ + url: "/repair/order-info/census", + method: "get" + }) +} diff --git a/src/views/repair/orderinfo/index.vue b/src/views/repair/orderinfo/index.vue index 9fd5140..6843829 100644 --- a/src/views/repair/orderinfo/index.vue +++ b/src/views/repair/orderinfo/index.vue @@ -6,10 +6,12 @@ - + - + @@ -37,7 +39,13 @@ - +
+ 已入账 : {{ census?.credited || 0 }}元 + 待入账 : {{ census?.notCredited || 0 }}元 + 线上支付 : {{ census?.onlinePay || 0 }}元 + 线下支付 : {{ census?.cashPay || 0 }}元 + 签单/挂账 : {{ census?.signedPay || 0 }}元 +
@@ -64,7 +72,7 @@ @@ -75,12 +83,13 @@