feat: 业务员sheet命名加部门前缀(如"二部-刘念念")
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -186,7 +186,8 @@ def write_summary_month(wb, month, month_data, section_names):
|
||||
# ============================================================
|
||||
|
||||
def write_salesperson_sheet(wb, person, dept, settle_month, D, G, month_data, vehicle_payments):
|
||||
ws = wb.create_sheet(f'业务员_{person}')
|
||||
short_dept = dept.replace('业务','') if '业务' in dept else dept
|
||||
ws = wb.create_sheet(f'{short_dept}-{person}')
|
||||
ws.cell(row=1,column=1,value=f'{person} | {dept} | {settle_month}月绩效对账单').font=Font(bold=True,size=14)
|
||||
|
||||
plates = set()
|
||||
|
||||
Reference in New Issue
Block a user