From 69d38e678f26b4b118b1b637d6a5e8a330d12313 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期五, 09 八月 2024 19:08:40 +0800
Subject: [PATCH] 1
---
pages/order/order-detail.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/pages/order/order-detail.vue b/pages/order/order-detail.vue
index 5ced962..cec0d14 100644
--- a/pages/order/order-detail.vue
+++ b/pages/order/order-detail.vue
@@ -27,7 +27,7 @@
orderId: this.id,
imageList: [],
videoList: [],
- reason: [],
+ reason: '',
orderItems: []
}
this.showSales = options.showsales && true || false
@@ -180,7 +180,7 @@
orderId: this.id,
imageList: [],
videoList: [],
- reason: [],
+ reason: '',
orderItems: [],
}
this.showSales = true
@@ -285,6 +285,8 @@
if (code == 0) {
this.$message.showToast('提交成功')
this.showSales = false
+ this.$forceUpdate()
+ uni.navigateBack()
}
},
},
@@ -529,8 +531,9 @@
</view>
<view class="button button-1" @click="buttonClick('evaluate')" v-if=" dto.status === 'EVALUATE'"> 评价
</view>
- <view class="button button-1" @click="buttonClick('sales')"
- v-if=" dto.status === 'EVALUATE'||dto.status=='COMPLETED'"> 申请售后
+ <!-- ||dto.status=='COMPLETED' -->
+ <view class="button button-1" @click="buttonClick('sales')"
+ v-if=" dto.status === 'RECEIVE'"> 申请售后
</view>
</view>
<view v-if="showSales">
--
Gitblit v1.9.3