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;