完善差旅补助规定与费用类型(07-28-travel-reimbursement-guide)
ci-e2e / e2e (push) Canceled after 0s
ci-minimal / check-minimal (push) Canceled after 0s

这个提交包含在:
2026-07-29 20:04:35 +08:00
父节点 5df5f12ad6
当前提交 13a3f4b57d
共修改 10 个文件,包含 201 行新增和 15 行删除
@@ -21,7 +21,7 @@ function buildTemplate(overrides = {}) {
return {
id: TEMPLATE_ID,
name: "国内差旅报销",
description: "机票、火车票与市内交通占位模板",
description: "机票、火车票与大巴车票占位模板",
items: [
{
expenseTypeId: EXPENSE_TYPE_ID,
@@ -60,7 +60,7 @@ function buildTemplate(overrides = {}) {
},
{
expenseTypeId: BUS_TYPE_ID,
description: "市内交通占位",
description: "大巴车票占位",
},
],
...overrides,
@@ -127,7 +127,7 @@ async function buildApp(options = {}) {
expenseTypes: options.expenseTypes ?? [
{ id: AIRFARE_TYPE_ID, code: "travel_airfare", name: "机票", category: "travel", enabled: true },
{ id: TRAIN_TYPE_ID, code: "travel_train", name: "火车票", category: "travel", enabled: true },
{ id: BUS_TYPE_ID, code: "travel_bus", name: "市内交通", category: "travel", enabled: true },
{ id: BUS_TYPE_ID, code: "travel_bus", name: "大巴车票", category: "travel", enabled: true },
{ id: TAXI_TYPE_ID, code: "travel_taxi", name: "打车费", category: "travel", enabled: true },
{ id: TRANSPORT_TYPE_ID, code: "transport", name: "legacy-交通费", category: "travel", enabled: true },
],