优化
This commit is contained in:
@@ -13,7 +13,7 @@ test('only operations backed by a dedicated overseas PDA contract are enabled',
|
||||
{ module: 'outbound', name: '出库作业' },
|
||||
{ module: 'inventory', name: '商品移库' },
|
||||
{ module: 'inventory', name: '托盘管理' },
|
||||
{ module: 'relabel', name: '换标收货' },
|
||||
{ module: 'relabel', name: '换标列表' },
|
||||
{ module: 'relabel', name: '换标执行' },
|
||||
{ module: 'relabel', name: '换标复核' },
|
||||
{ module: 'query', name: '库存查询' },
|
||||
@@ -28,7 +28,7 @@ test('only operations backed by a dedicated overseas PDA contract are enabled',
|
||||
|
||||
assert.equal(operations.some((item) => item.name === '库存盘点'), false)
|
||||
|
||||
for (const name of ['商品移库', '换标收货', '换标执行', '换标复核', '库存查询', '库位查询', '托盘查询']) {
|
||||
for (const name of ['商品移库', '换标列表', '换标执行', '换标复核', '库存查询', '库位查询', '托盘查询']) {
|
||||
const operation = operations.find((item) => item.name === name)
|
||||
assert.equal(operation?.available, true)
|
||||
assert.match(operation?.route || '', /^\/pages\//)
|
||||
|
||||
Reference in New Issue
Block a user