From 475eea21b99d4cd0e52c68b46ca46555f4aa5e64 Mon Sep 17 00:00:00 2001
From: zzyuan <781948537@qq.com>
Date: Mon, 9 Jun 2025 11:06:05 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E5=B8=82=E8=AE=A2=E5=8D=95=E8=AF=A6?=
=?UTF-8?q?=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/superStore/orderShenhe.js | 2 +-
src/api/superStore/superOrder.js | 2 +-
src/views/superstore/superOrder/index.vue | 43 +++++++++++------------
3 files changed, 23 insertions(+), 24 deletions(-)
diff --git a/src/api/superStore/orderShenhe.js b/src/api/superStore/orderShenhe.js
index fa773277..38997331 100644
--- a/src/api/superStore/orderShenhe.js
+++ b/src/api/superStore/orderShenhe.js
@@ -138,7 +138,7 @@ export function refundOrderPartApi(data) {
// 订单-退单
export function refundOrderApi(data) {
return request({
- url: '/smart-canteen/api/v2/web/order/refund',
+ url: '/smart-canteen/order/refund/'+data.orderId,
method: 'post',
headers: {
"merchant-id":"378915229716713472",
diff --git a/src/api/superStore/superOrder.js b/src/api/superStore/superOrder.js
index 05bff840..c927aae7 100644
--- a/src/api/superStore/superOrder.js
+++ b/src/api/superStore/superOrder.js
@@ -135,7 +135,7 @@ export function refundOrderPartApi(data) {
// 订单-退单
export function refundOrderApi(data) {
return request({
- url: '/smart-canteen/api/v2/web/order/refund',
+ url: '/smart-canteen/order/refund/'+data.orderId,
method: 'post',
headers: {
"merchant-id":"378915229716713472",
diff --git a/src/views/superstore/superOrder/index.vue b/src/views/superstore/superOrder/index.vue
index 26e6c7d6..7c831e63 100644
--- a/src/views/superstore/superOrder/index.vue
+++ b/src/views/superstore/superOrder/index.vue
@@ -115,7 +115,7 @@
- {{ item.goodsDishesName }}*{{ item.goodsGetNum }};
+ {{ item.goodsName }}*{{ item.quantity }};
@@ -128,11 +128,11 @@
{{ (scope.row.payableAmount/100).toFixed(2) }}
-
+
{{ (scope.row.realAmount/100).toFixed(2) }}
@@ -162,16 +162,17 @@
type="text"
@click="handleView(scope.row)"
>详情
+ 退单
实付金额
{{ (orderInfoData.realAmount/100).toFixed(2) }}
-
+
-
+
+ -->
支付方式
- {{orderInfoData.payTypesStr}}
+
@@ -264,14 +265,12 @@
订单状态
-
+
-
+
备注
{{ orderInfoData.remark }}
@@ -279,7 +278,7 @@
商品信息
-
+
{{ (scope.row.prefPrice/100).toFixed(2) }}
@@ -309,7 +308,7 @@
-
+
{{ (scope.row.prefPrice/100).toFixed(2) }}