Fix:3105 【商城小程序】特产/文玩供应商、特色店铺、采购批发商入驻,填写错误验证码,点击提交申请确认申请须知后才会提示
This commit is contained in:
@@ -508,7 +508,7 @@
|
||||
type="error"
|
||||
text="确定"
|
||||
:disabled="!isAgree"
|
||||
@click="save"
|
||||
@click="handlAgree"
|
||||
/>
|
||||
</view>
|
||||
</u-popup>
|
||||
@@ -700,7 +700,13 @@ export default {
|
||||
required: true,
|
||||
message: '请填写介绍内容',
|
||||
trigger: ['blur', 'change']
|
||||
}
|
||||
},
|
||||
'serviceTime': {
|
||||
type:'string',
|
||||
required: true,
|
||||
message: '请选择营业时间',
|
||||
trigger: ['blur', 'change']
|
||||
},
|
||||
},
|
||||
columnsType: [],
|
||||
indexType: 0,
|
||||
@@ -708,7 +714,7 @@ export default {
|
||||
indexSupplierType: 0,
|
||||
district: [],
|
||||
isAgree: false,
|
||||
show: false,
|
||||
show: true,
|
||||
notice: '',
|
||||
showRemove: false,
|
||||
isDraft: null,
|
||||
@@ -776,6 +782,9 @@ export default {
|
||||
this.$refs.supplierForm.setRules(this.rulesSupplier)
|
||||
},
|
||||
methods: {
|
||||
handlAgree() {
|
||||
this.show = false
|
||||
},
|
||||
timeRange(e) {
|
||||
this.form.serviceTime = e[0]
|
||||
this.form.serviceEndTime = e[1]
|
||||
@@ -1039,7 +1048,8 @@ export default {
|
||||
_this.$refs.shopForm.validate().then(res => {
|
||||
// 校验通过
|
||||
_this.$refs.supplierForm.validate().then(() => {
|
||||
_this.show = true
|
||||
// _this.show = true
|
||||
_this.save()
|
||||
}).catch(errors => {
|
||||
// 校验失败
|
||||
console.log(errors)
|
||||
|
||||
Reference in New Issue
Block a user