diff --git a/pkg_join/views/experienceStore.vue b/pkg_join/views/experienceStore.vue index 00df38e..38ca70d 100644 --- a/pkg_join/views/experienceStore.vue +++ b/pkg_join/views/experienceStore.vue @@ -417,7 +417,7 @@ :show="show" mode="center" round="10" - @close="show=false" + @close="handlePopupClose" > @@ -440,7 +440,6 @@ @@ -583,6 +582,23 @@ export default { this.isAgree = e.detail.value.includes('yes') }, savePopup() { + if (!this.isAgree) { + uni.showToast({ + title: '请先阅读并同意入驻申请须知', + icon: 'none' + }) + return + } + this.show = false + }, + handlePopupClose() { + if (!this.isAgree) { + uni.showToast({ + title: '请先阅读并同意入驻申请须知', + icon: 'none' + }) + return + } this.show = false }, stringToMapArr(str, split = ',') { diff --git a/pkg_join/views/shop.vue b/pkg_join/views/shop.vue index 5410fcf..7ce3540 100644 --- a/pkg_join/views/shop.vue +++ b/pkg_join/views/shop.vue @@ -440,7 +440,7 @@ :show="show" mode="center" round="10" - @close="show=false" + @close="handlePopupClose" > 入驻申请须知 @@ -458,7 +458,6 @@ @@ -671,6 +670,23 @@ export default { }, methods: { handleAgree(){ + if (!this.isAgree) { + uni.showToast({ + title: '请先阅读并同意入驻申请须知', + icon: 'none' + }) + return + } + this.show = false + }, + handlePopupClose() { + if (!this.isAgree) { + uni.showToast({ + title: '请先阅读并同意入驻申请须知', + icon: 'none' + }) + return + } this.show = false }, timeRange(e) { diff --git a/pkg_join/views/supplier.vue b/pkg_join/views/supplier.vue index cd859cd..eebe0b8 100644 --- a/pkg_join/views/supplier.vue +++ b/pkg_join/views/supplier.vue @@ -546,7 +546,7 @@ @cancel="changeRemove(false)" @confirm="onRemove" /> - + 入驻申请须知 @@ -563,7 +563,6 @@ @@ -866,6 +865,23 @@ export default { }, methods: { handlAgree() { + if (!this.isAgree) { + uni.showToast({ + title: '请先阅读并同意入驻申请须知', + icon: 'none' + }) + return + } + this.show = false + }, + handlePopupClose() { + if (!this.isAgree) { + uni.showToast({ + title: '请先阅读并同意入驻申请须知', + icon: 'none' + }) + return + } this.show = false }, timeRange(e) { diff --git a/pkg_join/views/travelResidence.vue b/pkg_join/views/travelResidence.vue index 372fbfd..115a25f 100644 --- a/pkg_join/views/travelResidence.vue +++ b/pkg_join/views/travelResidence.vue @@ -344,7 +344,7 @@ {{ '提交审核' }} - 入驻申请须知 @@ -362,7 +362,6 @@ @@ -493,6 +492,23 @@ export default { this.isAgree = e.detail.value.includes('yes') }, save() { + if (!this.isAgree) { + uni.showToast({ + title: '请先阅读并同意入驻申请须知', + icon: 'none' + }) + return + } + this.show = false + }, + handlePopupClose() { + if (!this.isAgree) { + uni.showToast({ + title: '请先阅读并同意入驻申请须知', + icon: 'none' + }) + return + } this.show = false }, /** diff --git a/pkg_join/views/wholesaler.vue b/pkg_join/views/wholesaler.vue index 4e6f1f2..83b0e7e 100644 --- a/pkg_join/views/wholesaler.vue +++ b/pkg_join/views/wholesaler.vue @@ -241,7 +241,7 @@ @cancel="changeRemove(false)" @confirm="onRemove" /> - + 入驻申请须知 @@ -258,7 +258,6 @@ @@ -541,6 +540,23 @@ export default { this.isAgree = event.detail.value.length > 0 }, save() { + if (!this.isAgree) { + uni.showToast({ + title: '请先阅读并同意入驻申请须知', + icon: 'none' + }) + return + } + this.show = false + }, + handlePopupClose() { + if (!this.isAgree) { + uni.showToast({ + title: '请先阅读并同意入驻申请须知', + icon: 'none' + }) + return + } this.show = false } }