fix(delivery): version status commands and manage three document categories

This commit is contained in:
2026-09-09 11:17:12 +08:00
parent 239733a33e
commit 89d237e129
12 changed files with 493 additions and 14 deletions
@@ -13,6 +13,7 @@ describe('DeliveryOrderDetailView', () => {
routeState.query = { customerId: '100' }
vi.mocked(getDeliveryOrder).mockReset().mockResolvedValue({
order: {
version: 3, allowedActions: ['COMPLETE_DELIVERY'],
id: '1', customerId: '100', deliveryNo: 'DEL/1', outboundNo: 'OUT-1', dispatchNo: 'PC-1',
status: 'DELIVERING', overseasWarehouseName: '洛杉矶仓', palletCount: 1, packageCount: 2,
createdAt: '2026-09-01T10:00:00',