From 10f6e48b7a1e0b8ef0f1ffe6bbe1f165966f77bc Mon Sep 17 00:00:00 2001 From: DaxPay Date: Thu, 30 May 2024 20:59:43 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E5=88=86=E8=B4=A6=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../allocation/order/AllocationOrder.api.ts | 18 ++++++++++++++---- .../allocation/order/AllocationOrderInfo.vue | 13 ++++++++++--- .../allocation/order/AllocationOrderList.vue | 4 ++-- .../payment/order/refund/RefundOrder.api.ts | 2 +- 4 files changed, 27 insertions(+), 10 deletions(-) diff --git a/src/views/payment/allocation/order/AllocationOrder.api.ts b/src/views/payment/allocation/order/AllocationOrder.api.ts index a357037cc..98fe3bd9f 100644 --- a/src/views/payment/allocation/order/AllocationOrder.api.ts +++ b/src/views/payment/allocation/order/AllocationOrder.api.ts @@ -32,6 +32,16 @@ export function get(id) { }) } +/** + * 获取订单详细信息 + */ +export function getOrderByAllocNo(allocNo: string) { + return defHttp.get({ + url: '/order/allocation/findByAllocNo', + params: { allocNo }, + }) +} + /** * 扩展信息 */ @@ -65,20 +75,20 @@ export function detail(id) { /** * 分账完结 */ -export function finish(id) { +export function finish(allocationNo) { return defHttp.post>({ url: '/order/allocation/finish', - params: { id }, + params: { allocationNo }, }) } /** * 分账完结 */ -export function retry(id) { +export function retry(bizAllocationNo) { return defHttp.post>({ url: '/order/allocation/retry', - params: { id }, + params: { bizAllocationNo }, }) } diff --git a/src/views/payment/allocation/order/AllocationOrderInfo.vue b/src/views/payment/allocation/order/AllocationOrderInfo.vue index 16d7576f1..b84d79339 100644 --- a/src/views/payment/allocation/order/AllocationOrderInfo.vue +++ b/src/views/payment/allocation/order/AllocationOrderInfo.vue @@ -71,7 +71,12 @@