新增 IDE 官网静态资源与 D3 分区域地图布局,构建时复制至 dist/site;同步应收应付、代发打包、订单详情等页面优化。 Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
1.1 KiB
TypeScript
28 lines
1.1 KiB
TypeScript
/** 代发订单列表 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),
|
||
);
|