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 @@