Revert "feat(pda): add locked container receiving flow"

This reverts commit c9bc6bf616.
This commit is contained in:
2026-08-24 17:06:57 +08:00
parent c9bc6bf616
commit 115e9b2dd2
8 changed files with 5 additions and 125 deletions
-19
View File
@@ -38,22 +38,3 @@ test('login has no committed demo credentials and inbound operation consumes rea
assert.match(overseas, /replaceTokens|refreshOverseasToken/)
assert.match(overseas, /requestId/)
})
test('container receiving uses sign then locked-container receiving without internal IDs', async () => {
const [pages, workbench, api, sign, receiving] = await Promise.all([
read('../src/pages.json'), read('../src/data/overseas-workbench.js'), read('../src/api/receiving.js'),
read('../src/pages/inbound-sign/inbound-sign.vue'), read('../src/pages/inbound-receiving/inbound-receiving.vue')
])
assert.match(pages, /pages\/inbound-sign\/inbound-sign/)
assert.match(pages, /pages\/inbound-receiving\/inbound-receiving/)
assert.match(workbench, /入库签收/)
assert.match(workbench, /name: '收货'/)
for (const path of ['/active', '/sign-photos/files', '/sign', '/cartons/resolve', '/pallets/resolve', '/receive-batches', '/complete']) assert.match(api, new RegExp(path.replaceAll('/', '\\/')))
assert.match(sign, /当前柜完成前不能处理其他柜号/)
assert.doesNotMatch(sign, /切换柜号|customerId|planNo|allocationId|warehouseId|locationId/)
assert.match(receiving, /receiptMode: 'BULK_COUNT'/)
assert.match(receiving, /receiptMode: 'CARTON_SCAN'/)
assert.match(receiving, /cargo\.destinationType === 'FBA'/)
assert.match(receiving, /cargo\?\.destinationType === 'OVERSEAS'/)
assert.doesNotMatch(receiving, /切换柜号|customerId|planNo|allocationId|warehouseId|locationId/)
})