From 0ad6688a4241c20311a173bd9a11944721eefbf5 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期三, 07 八月 2024 14:04:07 +0800
Subject: [PATCH] update 优化
---
pages/order/order-detail.vue | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/pages/order/order-detail.vue b/pages/order/order-detail.vue
index 3ce3511..8852e4d 100644
--- a/pages/order/order-detail.vue
+++ b/pages/order/order-detail.vue
@@ -285,6 +285,8 @@
if (code == 0) {
this.$message.showToast('提交成功')
this.showSales = false
+ this.$forceUpdate()
+ uni.navigateBack()
}
},
},
@@ -377,6 +379,12 @@
<view class="label">订单编号:</view>
<view class="value">{{ dto.orderNo || '-' }}</view>
<view class="button m-l-a m-r-0" @click="copyTxt(dto.orderNo)">复制
+ </view>
+ </view>
+ <view class="form-item" v-if="dto.deliveryNo">
+ <view class="label">快递单号:</view>
+ <view class="value">{{ dto.deliveryNo || '-' }}</view>
+ <view class="button m-l-a m-r-0" @click="copyTxt(dto.deliveryNo)">复制
</view>
</view>
<view class="form-item">
@@ -523,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