合并海外仓入库预约与真实接口改动

This commit is contained in:
2026-08-20 18:27:30 +08:00
61 changed files with 1296 additions and 922 deletions
+4 -8
View File
@@ -52,8 +52,6 @@ describe('adminNavigation', () => {
'入库单',
'换标单',
'托盘管理',
'箱号管理',
'产品库',
'库存管理',
])
expect(adminNavigation.find((item) => item.key === 'general')?.children?.map((item) => item.title)).toEqual([
@@ -139,12 +137,10 @@ describe('adminNavigation', () => {
it('shows only the confirmed phase-four pages with their list permissions', () => {
const filtered = filterAdminNavigation(adminNavigation, new Set([
'platform:overseas-warehouse:last-mile-order:list',
'platform:lastleg:order:list',
'platform:lastleg:inbound-plan:list',
'platform:overseas-warehouse:relabel-order:list',
'platform:lastleg:relabel:list',
'platform:pallet:list',
'platform:overseas-warehouse:carton:list',
'platform:overseas-warehouse:product:list',
'platform:lastleg:inventory:list',
'platform:overseas-business:purchase:list',
'platform:overseas-business:truck:list',
@@ -160,8 +156,6 @@ describe('adminNavigation', () => {
'/overseas-warehouse/inbound-orders',
'/overseas-warehouse/relabel-orders',
'/overseas-warehouse/pallets',
'/overseas-warehouse/cartons',
'/overseas-warehouse/products',
'/overseas-warehouse/inventory',
'/overseas-business/purchases',
'/overseas-business/trucks',
@@ -170,6 +164,8 @@ describe('adminNavigation', () => {
'/overseas-master-data/quotes',
'/overseas-master-data/vehicles',
]))
expect(paths).not.toContain('/overseas-warehouse/cartons')
expect(paths).not.toContain('/overseas-warehouse/products')
expect(paths.some((path) => path.includes('outbound') || path.includes('delivery'))).toBe(false)
})