From 293bdab16ef217cf02416c0e0ffeca36a0c69e6d Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期二, 20 八月 2024 15:52:35 +0800 Subject: [PATCH] update 更新质检的操作界面和接口 --- 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