Fix:3105 【商城小程序】特产/文玩供应商、特色店铺、采购批发商入驻,填写错误验证码,点击提交申请确认申请须知后才会提示

This commit is contained in:
modendeveloper
2025-01-22 01:43:23 +08:00
parent b19ba34db2
commit cab0577e03
+14 -4
View File
@@ -508,7 +508,7 @@
type="error" type="error"
text="确定" text="确定"
:disabled="!isAgree" :disabled="!isAgree"
@click="save" @click="handlAgree"
/> />
</view> </view>
</u-popup> </u-popup>
@@ -700,7 +700,13 @@ export default {
required: true, required: true,
message: '请填写介绍内容', message: '请填写介绍内容',
trigger: ['blur', 'change'] trigger: ['blur', 'change']
} },
'serviceTime': {
type:'string',
required: true,
message: '请选择营业时间',
trigger: ['blur', 'change']
},
}, },
columnsType: [], columnsType: [],
indexType: 0, indexType: 0,
@@ -708,7 +714,7 @@ export default {
indexSupplierType: 0, indexSupplierType: 0,
district: [], district: [],
isAgree: false, isAgree: false,
show: false, show: true,
notice: '', notice: '',
showRemove: false, showRemove: false,
isDraft: null, isDraft: null,
@@ -776,6 +782,9 @@ export default {
this.$refs.supplierForm.setRules(this.rulesSupplier) this.$refs.supplierForm.setRules(this.rulesSupplier)
}, },
methods: { methods: {
handlAgree() {
this.show = false
},
timeRange(e) { timeRange(e) {
this.form.serviceTime = e[0] this.form.serviceTime = e[0]
this.form.serviceEndTime = e[1] this.form.serviceEndTime = e[1]
@@ -1039,7 +1048,8 @@ export default {
_this.$refs.shopForm.validate().then(res => { _this.$refs.shopForm.validate().then(res => {
// 校验通过 // 校验通过
_this.$refs.supplierForm.validate().then(() => { _this.$refs.supplierForm.validate().then(() => {
_this.show = true // _this.show = true
_this.save()
}).catch(errors => { }).catch(errors => {
// 校验失败 // 校验失败
console.log(errors) console.log(errors)