From a974cff29f2495edc6f2788240aec2e51bd6f1d4 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期四, 24 九月 2026 19:06:46 +0800
Subject: [PATCH] feat(生产核算): 前端适配「中提琴」大类与折算率配置

---
 src/views/productionManagement/productionCosting/components/CostConfigDialog.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/productionManagement/productionCosting/components/CostConfigDialog.vue b/src/views/productionManagement/productionCosting/components/CostConfigDialog.vue
index 03b142e..0e63754 100644
--- a/src/views/productionManagement/productionCosting/components/CostConfigDialog.vue
+++ b/src/views/productionManagement/productionCosting/components/CostConfigDialog.vue
@@ -66,6 +66,7 @@
           <el-table-column label="宸ュ簭" prop="processName" min-width="110" />
           <el-table-column label="鍛樺伐" prop="staffName" min-width="110" />
           <el-table-column label="灏忔彁鐞存姌绠楃巼" prop="violinFactor" min-width="110" />
+          <el-table-column label="涓彁鐞存姌绠楃巼" prop="midViolinFactor" min-width="110" />
           <el-table-column label="澶ф彁鐞存姌绠楃巼" prop="violaFactor" min-width="110" />
           <el-table-column label="璐濇柉鎶樼畻鐜�" prop="bassFactor" min-width="100" />
           <el-table-column label="鎿嶄綔" width="140" fixed="right">
@@ -174,6 +175,9 @@
         </el-form-item>
         <el-form-item label="灏忔彁鐞存姌绠楃巼">
           <el-input-number v-model="factorForm.violinFactor" :min="0" :precision="4" style="width: 100%" />
+        </el-form-item>
+        <el-form-item label="涓彁鐞存姌绠楃巼">
+          <el-input-number v-model="factorForm.midViolinFactor" :min="0" :precision="4" style="width: 100%" />
         </el-form-item>
         <el-form-item label="澶ф彁鐞存姌绠楃巼">
           <el-input-number v-model="factorForm.violaFactor" :min="0" :precision="4" style="width: 100%" />
@@ -340,12 +344,12 @@
   /* ---------- 鎶樼畻鐜� ---------- */
   const factorFormVisible = ref(false);
   const factorForm = reactive({
-    id: null, processId: null, staffId: null, staffName: "", violinFactor: 1, violaFactor: 1, bassFactor: 1, remark: "",
+    id: null, processId: null, staffId: null, staffName: "", violinFactor: 1, midViolinFactor: 1, violaFactor: 1, bassFactor: 1, remark: "",
   });
   const openFactorForm = row => {
     Object.assign(factorForm, {
       id: null, processId: factorQuery.processId || null, staffId: null, staffName: "",
-      violinFactor: 1, violaFactor: 1, bassFactor: 1, remark: "",
+      violinFactor: 1, midViolinFactor: 1, violaFactor: 1, bassFactor: 1, remark: "",
     }, row || {});
     factorFormVisible.value = true;
   };

--
Gitblit v1.9.3