From e4b10d06dcad7214e5852415eede1083a0ec9bda Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 14 八月 2024 10:02:23 +0800 Subject: [PATCH] 售后理由、图片必填 --- manifest.json | 2 +- pages/order/order-detail.vue | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/manifest.json b/manifest.json index 2848179..f2448bf 100644 --- a/manifest.json +++ b/manifest.json @@ -49,7 +49,7 @@ "quickapp" : {}, /* 快应用特有相关 */ "mp-weixin" : { - "appid" : "wx1441324401626290", + "appid" : "wx3203fd935a6ffe09", "setting" : { "urlCheck" : false, "es6" : true, diff --git a/pages/order/order-detail.vue b/pages/order/order-detail.vue index 8167276..cd9ad89 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 { -- Gitblit v1.9.3