From 557c2b3c50027c2eb6fb9f7e562fc2c7b2b38203 Mon Sep 17 00:00:00 2001
From: quxin <592870522@qq.com>
Date: 星期五, 04 九月 2026 11:37:17 +0800
Subject: [PATCH] 修复: 生产领料后的退料应该是选择领料的记录,不是选择库存的记录(同时库存数据需要根据领料退料变动,比如库存100,领用80,然后领用80中退料30,库存应由原来的20变成50)

---
 src/views/hrm/salary/calculation/data.ts |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/views/hrm/salary/calculation/data.ts b/src/views/hrm/salary/calculation/data.ts
index 17860e1..bd96225 100644
--- a/src/views/hrm/salary/calculation/data.ts
+++ b/src/views/hrm/salary/calculation/data.ts
@@ -89,6 +89,7 @@
     { field: 'actualSalary', title: '瀹炲彂宸ヨ祫', width: 100, formatter: 'formatAmount2' },
     { field: 'workDays', title: '鍑哄嫟澶╂暟', width: 80 },
     { field: 'overtimeHours', title: '鍔犵彮鏃堕暱(h)', width: 100 },
+    { field: 'totalWorkHours', title: '鎺掔彮宸ユ椂(h)', width: 100 },
     {
       field: 'status',
       title: '鐘舵��',
@@ -127,6 +128,7 @@
     { title: '璇峰亣鎵f', dataIndex: 'leaveDeduction', width: 110 },
     { title: '鍑哄嫟澶╂暟', dataIndex: 'workDays', width: 90 },
     { title: '鍔犵彮鏃堕暱', dataIndex: 'overtimeHours', width: 100 },
+    { title: '鎺掔彮宸ユ椂(h)', dataIndex: 'totalWorkHours', width: 100 },
     { title: '瀹炲彂宸ヨ祫', dataIndex: 'actualSalary', width: 100, fixed: 'right' },
   ];
 }

--
Gitblit v1.9.3