优化
This commit is contained in:
@@ -341,7 +341,7 @@ test('仓储转运可在新建页直接提交,也可保存草稿后编辑提
|
||||
test('编辑仓储转运时加载库存转运来源候选', () => {
|
||||
assert.match(view, /async function loadTransferInventoryCandidates\(warehouseId: string\)/)
|
||||
assert.match(view, /if \(props\.service === 'transfer' && form\.warehouse\) \{[\s\S]*await loadTransferInventoryCandidates\(form\.warehouse\)/)
|
||||
assert.match(view, /transferInventoryCandidates\.value = await listRelabelInventoryCandidates\(warehouseId\)/)
|
||||
assert.match(view, /transferInventoryCandidates\.value = \(await listRelabelInventoryCandidates\(warehouseId\)\)\.filter/)
|
||||
assert.match(view, /transferInventoryOptions\.value\.some\(\(option\) => option\.value === sourceInboundCode\)/)
|
||||
assert.match(view, /selectedTransferInventory\.value = sourceInboundCode/)
|
||||
assert.match(view, /detail\.sourceOrders \|\| \[\]/)
|
||||
|
||||
Reference in New Issue
Block a user