From e00905e53ee5d91d9e488ecf5ece3e25b9889436 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 20 一月 2026 16:14:44 +0800
Subject: [PATCH] 湟水峡 1.采购模块不要项目名称 2.加一个有待回款登记的提示 3.回款登记、付款登记改成和销售订单价格关联,并且可以多个一起回款或付款 4.合同管理不要下载合同了,跟合同相关的字段可以去掉了 5.重构生产模块 6.测试流程并修改bug

---
 src/views/personnelManagement/onboarding/components/formDiaXJHT.vue |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/src/views/personnelManagement/onboarding/components/formDiaXJHT.vue b/src/views/personnelManagement/onboarding/components/formDiaXJHT.vue
index 71022bf..6b70aef 100644
--- a/src/views/personnelManagement/onboarding/components/formDiaXJHT.vue
+++ b/src/views/personnelManagement/onboarding/components/formDiaXJHT.vue
@@ -313,6 +313,38 @@
       // 缂栬緫鏃朵篃璁$畻涓�娆″悎鍚屽勾闄�
       calculateContractTerm();
     })
+  } else if (operationType.value === 'add') {
+    // 鏂板鏃堕噸缃〃鍗曪紝娓呴櫎 id
+    proxy.resetForm("formRef");
+    form.value = {
+      staffNo: "",
+      staffName: "",
+      sex: "",
+      identityCard: "",
+      nativePlace: "",
+      postJob: "",
+      adress: "",
+      firstStudy: "",
+      profession: "",
+      age: 0,
+      phone: "",
+      emergencyContact: "",
+      emergencyContactPhone: "",
+      dateSelect: "",
+      trialStartDate: "",
+      trialEndDate: "",
+      proSalary: null,
+      signDate: "",
+      salarySelect: "",
+      contractTerm: 0,
+      contractStartTime: "",
+      contractEndTime: "",
+      staffState: "",
+    };
+    // 纭繚娓呴櫎 id
+    if (form.value.id !== undefined) {
+      delete form.value.id;
+    }
   }
 }
 // 鎻愪氦浜у搧琛ㄥ崟

--
Gitblit v1.9.3