front/src/constants/fulfillProgress.ts
zzh 70d59a0ea9 feat: 接入 IDE 官网与地区地图,并同步运营/财务/订单前端改动
新增 IDE 官网静态资源与 D3 分区域地图布局,构建时复制至 dist/site;同步应收应付、代发打包、订单详情等页面优化。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 19:24:05 +08:00

28 lines
1.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/** 代发订单列表 Tab:按代发进度分轨,而非订单状态。 */
export const FULFILL_PROGRESS_ALL = 'all';
export type FulfillProgressTabCode =
| typeof FULFILL_PROGRESS_ALL
| 'pendingBind'
| 'domesticInTransit'
| 'arrivedPendingPick'
| 'outboundDone';
export interface FulfillProgressTabMeta {
value: FulfillProgressTabCode;
labelKey: string;
showTabCount?: boolean;
}
export const FULFILL_PROGRESS_TABS: FulfillProgressTabMeta[] = [
{ value: FULFILL_PROGRESS_ALL, labelKey: 'order.fulfillOrders.filter.progressAll', showTabCount: true },
{ value: 'pendingBind', labelKey: 'order.fulfillOrders.progress.pendingBind', showTabCount: true },
{ value: 'domesticInTransit', labelKey: 'order.fulfillOrders.progress.domesticInTransit', showTabCount: true },
{ value: 'arrivedPendingPick', labelKey: 'order.fulfillOrders.progress.arrivedPendingPick', showTabCount: true },
{ value: 'outboundDone', labelKey: 'order.fulfillOrders.progress.outboundDone', showTabCount: true },
];
export const FULFILL_PROGRESS_TAB_SET = new Set<string>(
FULFILL_PROGRESS_TABS.map((t) => t.value),
);