From cab0577e0309faf88bcd1e12ea3f1c5b5f057b73 Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Wed, 22 Jan 2025 01:43:23 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3105=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E7=89=B9=E4=BA=A7/?= =?UTF-8?q?=E6=96=87=E7=8E=A9=E4=BE=9B=E5=BA=94=E5=95=86=E3=80=81=E7=89=B9?= =?UTF-8?q?=E8=89=B2=E5=BA=97=E9=93=BA=E3=80=81=E9=87=87=E8=B4=AD=E6=89=B9?= =?UTF-8?q?=E5=8F=91=E5=95=86=E5=85=A5=E9=A9=BB=EF=BC=8C=E5=A1=AB=E5=86=99?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E9=AA=8C=E8=AF=81=E7=A0=81=EF=BC=8C=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E6=8F=90=E4=BA=A4=E7=94=B3=E8=AF=B7=E7=A1=AE=E8=AE=A4?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E9=A1=BB=E7=9F=A5=E5=90=8E=E6=89=8D=E4=BC=9A?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_join/views/supplier.vue | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/pkg_join/views/supplier.vue b/pkg_join/views/supplier.vue index 97f660f..5cfb772 100644 --- a/pkg_join/views/supplier.vue +++ b/pkg_join/views/supplier.vue @@ -508,7 +508,7 @@ type="error" text="确定" :disabled="!isAgree" - @click="save" + @click="handlAgree" /> @@ -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)