From f65b046bf14a1f4a8f316b7214782bcf7b684e90 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 19 十二月 2025 15:58:15 +0800
Subject: [PATCH] fix: bug

---
 src/views/EmploymentManage/components/AddOrEditEmploymentView.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/EmploymentManage/components/AddOrEditEmploymentView.vue b/src/views/EmploymentManage/components/AddOrEditEmploymentView.vue
index 98ba258..53e13ea 100644
--- a/src/views/EmploymentManage/components/AddOrEditEmploymentView.vue
+++ b/src/views/EmploymentManage/components/AddOrEditEmploymentView.vue
@@ -91,7 +91,7 @@
               </ProFormItemV2>
             </ProFormColItem>
           </ProFormCol>
-          <template v-if="form.billingMethod === EnumBillingMethod.Hour">
+          <template v-if="form.billingMethod === EnumBillingMethod.Day">
             <ProFormCol>
               <ProFormColItem :span="12">
                 <ProFormItemV2
@@ -550,6 +550,7 @@
 
 const { enterpriseInsuranceProductSelect } = useEnterpriseInsuranceProductSelect({
   supplierEnterpriseId: computed(() => form.supplierEnterpriseId),
+  isConfiguredInsurance: computed(() => form.isConfiguredInsurance),
 });
 
 const { isLoading } = useQuery({
@@ -731,7 +732,7 @@
       description: form.description,
       checkReceiveMethods: form.checkReceiveMethods,
       settlementAccess: form.settlementAccess,
-      insuranceProductId: form.insuranceProductId,
+      insuranceProductId: form.insuranceProductId ? form.insuranceProductId : null,
     };
     if (form.billingMethod !== EnumBillingMethod.Face) {
       params.serviceFee = form.serviceFee;

--
Gitblit v1.10.0