From e1570f458b2ab42bb1a212be8de63134a50b2af1 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 30 七月 2026 16:09:03 +0800
Subject: [PATCH] 生产核算增加折算工时,隐藏工资

---
 src/views/productionManagement/productionReporting/components/formDia.vue |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/src/views/productionManagement/productionReporting/components/formDia.vue b/src/views/productionManagement/productionReporting/components/formDia.vue
index 2eb1c0b..c565aa7 100644
--- a/src/views/productionManagement/productionReporting/components/formDia.vue
+++ b/src/views/productionManagement/productionReporting/components/formDia.vue
@@ -46,6 +46,16 @@
               <el-input v-model="form.totalPrice" placeholder="璇疯緭鍏�" clearable disabled/>
             </el-form-item>
           </el-col>
+          <el-col :span="12">
+            <el-form-item label="鎶ュ伐绫诲瀷锛�" prop="reportType">
+              <el-select v-model="form.reportType" style="width: 100%;" placeholder="璇烽�夋嫨">
+                <el-option label="鍚堟牸" :value="0" />
+                <el-option label="杞诲井杩斿伐" :value="1" />
+                <el-option label="涓ラ噸杩斿伐" :value="2" />
+                <el-option label="鎶ュ簾" :value="3" />
+              </el-select>
+            </el-form-item>
+          </el-col>
         </el-row>
         <el-row :gutter="30">
 					<el-col :span="12">
@@ -93,8 +103,8 @@
 </template>
 
 <script setup>
-import {ref} from "vue";
-import {getStaffJoinInfo, staffJoinAdd, staffJoinUpdate} from "@/api/personnelManagement/onboarding.js";
+import { getCurrentInstance, reactive, ref, toRefs } from "vue";
+// import {getStaffJoinInfo, staffJoinAdd, staffJoinUpdate} from "@/api/personnelManagement/onboarding.js";
 import {userListNoPageByTenantId} from "@/api/system/user.js";
 import {productionReport, productionReportUpdate} from "@/api/productionManagement/productionReporting.js";
 const { proxy } = getCurrentInstance()
@@ -110,8 +120,9 @@
 		finishedNum: "",
 		schedulingUserId: "",
 		schedulingDate: "",
-		unitPrice: "",
-		totalPrice: "",
+    unitPrice: "",
+    totalPrice: "",
+    reportType: 0,
   },
   rules: {
 		schedulingNum: [{ required: true, message: "璇疯緭鍏�", trigger: "blur" },],
@@ -182,4 +193,4 @@
 
 <style scoped>
 
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3