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/productionProcess/New.vue |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/views/productionManagement/productionProcess/New.vue b/src/views/productionManagement/productionProcess/New.vue
index 0b3fd47..0762d3c 100644
--- a/src/views/productionManagement/productionProcess/New.vue
+++ b/src/views/productionManagement/productionProcess/New.vue
@@ -31,14 +31,16 @@
             :rules="[
                 {
                 required: true,
-                message: '璇烽�夋嫨宸ュ簭绫诲瀷',
+                message: '宸ュ簭浠呮敮鎸佽浠�',
               }
             ]"
         >
-          <el-select v-model="formState.type" placeholder="璇烽�夋嫨宸ュ簭绫诲瀷">
-            <el-option label="璁℃椂" :value="0" />
+          <el-select v-model="formState.type" placeholder="宸ュ簭浠呮敮鎸佽浠�" disabled>
             <el-option label="璁′欢" :value="1" />
           </el-select>
+          <div style="margin-top: 6px; color: #909399; font-size: 12px;">
+            宸ュ簭浠呮敮鎸佽浠�
+          </div>
         </el-form-item>
         <el-form-item label="宸ヨ祫瀹氶" prop="salaryQuota">
           <el-input v-model="formState.salaryQuota" type="number" :step="0.001">
@@ -84,7 +86,7 @@
 // 鍝嶅簲寮忔暟鎹紙鏇夸唬閫夐」寮忕殑 data锛�
 const formState = ref({
   name: '',
-  type: undefined,
+  type: 1,
   remark: '',
   salaryQuota:  '',
   isQuality: false,
@@ -110,7 +112,8 @@
 const handleSubmit = () => {
   proxy.$refs["formRef"].validate(valid => {
     if (valid) {
-      add(formState.value).then(res => {
+    formState.value.type = 1;
+    add(formState.value).then(res => {
         // 鍏抽棴妯℃�佹
         isShow.value = false;
         // 鍛婄煡鐖剁粍浠跺凡瀹屾垚

--
Gitblit v1.9.3