From e4205ded104fe5bde360f4c4bef19de1ed317df0 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 08 九月 2025 15:58:47 +0800 Subject: [PATCH] fix: env --- src/views/EmploymentManage/components/AddOrEditEmploymentView.vue | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/views/EmploymentManage/components/AddOrEditEmploymentView.vue b/src/views/EmploymentManage/components/AddOrEditEmploymentView.vue index 7704888..b08731a 100644 --- a/src/views/EmploymentManage/components/AddOrEditEmploymentView.vue +++ b/src/views/EmploymentManage/components/AddOrEditEmploymentView.vue @@ -110,14 +110,14 @@ > <ProFormInputNumber :controls="false" - :min="1" + :min="0" v-model="form.ageMinLimit" placeholder="璇疯緭鍏�" ></ProFormInputNumber> <div class="form-input-separator">鑷�</div> <ProFormInputNumber :controls="false" - :min="1" + :min="0" v-model="form.ageMaxLimit" placeholder="璇疯緭鍏�" ></ProFormInputNumber> @@ -162,9 +162,7 @@ <ProFormItemV2 label="浠诲姟鍦扮偣:" prop="weMapInfo" - :check-rules="[ - { message: '璇烽�夋嫨浠诲姟鍦扮偣', validator: FormValidator.validatorWeMap }, - ]" + :check-rules="[{ message: '璇烽�夋嫨浠诲姟鍦扮偣', type: 'weMap' }]" > <WeMap v-if="!isDetail" v-model="form.weMapInfo" /> <div v-else> @@ -280,11 +278,11 @@ const form = reactive({ name: '', billingMethod: EnumBillingMethod.Month, - serviceFee: 0, + serviceFee: null, settlementCycle: EnumSettlementCycle.Month, benefits: [] as string[], - ageMinLimit: 0, - ageMaxLimit: 0, + ageMinLimit: null, + ageMaxLimit: null, genderLimit: 0 as any as EnumUserGender, credentialLimits: [] as string[], time: [] as unknown as ModelValueType, -- Gitblit v1.9.1