From efa9bfe98ba906e4c9b8f49c89f5da162a46bb0f Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期一, 13 一月 2025 10:21:24 +0800
Subject: [PATCH] 1.微信一键登录:新增“同意用户协议”之后才可登录

---
 sub_pages/customer/shopping/confirm.vue |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/sub_pages/customer/shopping/confirm.vue b/sub_pages/customer/shopping/confirm.vue
index 0cb6a66..7b205f1 100644
--- a/sub_pages/customer/shopping/confirm.vue
+++ b/sub_pages/customer/shopping/confirm.vue
@@ -319,6 +319,21 @@
 			},
 			async submitOrder() {
 				console.log('submitOrder', this.dto)
+
+				// if(!this.transportExistsFlag){
+				// 	this.$message.showToast('当前平台没有运输方式,无法下单')
+				// 		return
+				// }
+
+
+				if(!(this.partnerInfo&&this.partnerInfo.id)&&(!this.currentInfo.customerDTO||!this.currentInfo.customerDTO.partnerId)){
+					if(!this.transportExistsFlag){
+						this.$message.showToast('当前平台没有运输方式,无法下单')
+							return
+					}
+				}
+
+
 				if (this.currentInfo.customerDTO && this.currentInfo.customerDTO.partnerId) {
 
 				} else {

--
Gitblit v1.9.3