diff --git a/src/views/order/index/components/detail.vue b/src/views/order/index/components/detail.vue
index 7e1289e..e5eb91e 100644
--- a/src/views/order/index/components/detail.vue
+++ b/src/views/order/index/components/detail.vue
@@ -93,13 +93,8 @@
实收金额:
¥{{ detail.payAmount }}
-
+
退款
@@ -130,35 +125,22 @@
商品信息
第{{ index }}次下单
-
+
-
+
-
+
-
+
{{ scope.row.productName }}
@@ -191,32 +173,17 @@
¥{{ scope.row.payAmount }}
-
+
-
+
{{ scope.row.num - scope.row.returnNum }}
-
+
{{ scope.row.num - scope.row.refundNum - scope.row.returnNum }}
@@ -231,23 +198,13 @@
-
+
退款
已退款
-
+
退菜
已退菜
@@ -257,41 +214,25 @@
-
-
+
@@ -466,6 +407,12 @@ export default {
},
tuikuan(item) {
if (!item) {
+ let arrs = []
+ for (let i in this.detail.detailMap) {
+ this.detail.detailMap[i].map((v) => {
+ arrs.push(v);
+ });
+ }
this.$refs.refReturnMoney.open([], this.detail);
return;
}
@@ -484,6 +431,10 @@ export default {
if (arr.length == 0) {
return ElMessage.error("请选择要退款的商品和数量");
}
+
+ console.log('tuikuan===', arr);
+ return
+
this.$refs.refReturnMoney.open(arr, this.detail);
},
tuicai(item) {
@@ -502,7 +453,7 @@ export default {
if (arr.length == 0) {
return ElMessage.error("请选择要退菜的商品和数量");
}
- console.log(arr);
+ console.log('tuicai===', arr);
this.$refs.refReturnCart.open(arr, this.detail);
},