V3.2.0 结转不依赖考核记录 + 补发查对应月盈亏
1. 结转不依赖考核记录: - 1月有结转但2月/3月无考核记录 → 创建虚拟group(目标=满月,实际=0) - 虚拟记录正常发放结转奖金 - 无客户关联 → 不查盈亏,正常发放 2. 补发查对应月盈亏: - 补发1月 → 查1月亏损表 - 补发2月 → 查2月亏损表 - 当月/结转/累计补发 → 查当月亏损表 - 奖金发放记录新增"盈亏查询月"列 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
4
main.py
4
main.py
@@ -85,8 +85,8 @@ for settle_month in [1, 2, 3]:
|
||||
# Sheet 5: 车辆考核追踪
|
||||
write_vehicle_tracking_sheet(wb, settle_month, G, master_vehicles, vehicle_payments, vehicle_info, loss_data[settle_month], plate_client)
|
||||
|
||||
# Sheet 6: 奖金发放记录(叠加亏损筛选的逐条明细)
|
||||
payment_records = build_payment_records(settle_month, month_data, loss_data[settle_month], plate_client)
|
||||
# Sheet 6: 奖金发放记录(叠加亏损筛选,补发查对应月盈亏)
|
||||
payment_records = build_payment_records(settle_month, month_data, loss_data, plate_client)
|
||||
write_payment_record_sheet(wb, settle_month, payment_records)
|
||||
|
||||
# Sheet 7: 月汇总(从发放记录生成)
|
||||
|
||||
Reference in New Issue
Block a user