From 109953835761f91d075f161ca7660053ee4ddef9 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期六, 17 八月 2024 23:01:59 +0800
Subject: [PATCH] 1
---
pages/order/order-detail.vue | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/pages/order/order-detail.vue b/pages/order/order-detail.vue
index 8167276..9cac196 100644
--- a/pages/order/order-detail.vue
+++ b/pages/order/order-detail.vue
@@ -316,6 +316,14 @@
this.$message.showToast('未选择需要售后的商品')
return
}
+ if (!this.submitForm.reason) {
+ this.$message.showToast('未填写理由')
+ return
+ }
+ if (!this.submitForm.imageList || this.submitForm.imageList.length < 1) {
+ this.$message.showToast('未上传图片')
+ return
+ }
await this.$message.confirm('确定申请售后吗')
this.$message.showLoading()
const {
@@ -331,7 +339,9 @@
this.$message.showToast('提交成功')
this.showSales = false
this.$forceUpdate()
- uni.navigateBack()
+ setTimeout(() => {
+ uni.navigateBack()
+ }, 1200)
}
},
},
--
Gitblit v1.9.3