From 572e5a88a78a6f00bb18a82367c3288f8322a53b Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Tue, 7 Nov 2023 18:44:46 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=80=E6=AC=BE=E5=AE=A1?=
=?UTF-8?q?=E6=A0=B8bug,=20=E4=BC=98=E5=8C=96=E5=AE=A1=E6=A0=B8=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/admin/orderRefund/index.vue | 40 +++++++++++++++++++++++++++++--
1 file changed, 38 insertions(+), 2 deletions(-)
diff --git a/pages/admin/orderRefund/index.vue b/pages/admin/orderRefund/index.vue
index 4374450..4a7f18a 100644
--- a/pages/admin/orderRefund/index.vue
+++ b/pages/admin/orderRefund/index.vue
@@ -40,6 +40,25 @@
{{orderInfo.refund_num}}
+
+ 退款原因
+
+ {{orderInfo.refund_message}}
+
+
+
+ 退款备注
+
+ {{orderInfo.mark}}
+
+
+
+ 退款凭证
+
+
+
+
+
@@ -116,7 +135,8 @@
let that = this;
getRefundOrderInfo(that.mer_id, that.order_id).then(
res => {
- that.orderInfo = res.data
+ res.data.pics4 = res.data.pics.slice(0,4);
+ that.orderInfo = res.data;
that.refundInfo = res.data.refund_info
},
err => {
@@ -138,7 +158,7 @@
status: that.status,
fail_message: that.fail_message
}
- if(that.orderInfo.refund_type == 2){
+ if(that.orderInfo.refund_type == 2 && that.status != -1){
if (!that.refundInfo.mer_delivery_user) {
return that.$util.Tips({
title: '请填写收货人姓名'
@@ -176,6 +196,13 @@
}
);
},
+ // 查看图片
+ previewImg(){
+ uni.previewImage({
+ urls: this.orderInfo.pics,
+
+ })
+ }
}
}
@@ -191,6 +218,15 @@
justify-content: space-between;
border-bottom: 1px solid #f0f0f0;
font-size: 30rpx;
+ .label{
+ flex-shrink: 0;
+ margin-right: 24rpx;
+ }
+ .imgs{
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ }
}
.item-txt{
align-items: center;