优化
This commit is contained in:
@@ -22,6 +22,8 @@ test('dropship palletization adapter uses only the dedicated production PDA cont
|
||||
'/pallets/bind-pending', '/seal', '/print'
|
||||
]) assert.match(api, new RegExp(route.replaceAll('/', '\\/')))
|
||||
assert.match(api, /apiDownload/)
|
||||
assert.match(api, /downloadAllDropshipPalletLabels/)
|
||||
assert.match(api, /pallets\/print\?warehouseId=/)
|
||||
assert.match(api, /application\\\/pdf/)
|
||||
assert.match(api, /session\.apiBase \|\| '\/api\/platform\/v1'/)
|
||||
assert.match(api, /tasks\/pending\?\$\{params\.join\('&'\)\}/)
|
||||
@@ -43,7 +45,7 @@ test('palletization UI accepts carton and pre-generated pallet scans in either o
|
||||
assert.match(tasks, /\.search-card\s*\{[^}]*display:\s*flex;[^}]*box-shadow:\s*none;/)
|
||||
assert.match(tasks, /\.task-list\s*\{[^}]*overflow:\s*hidden;[^}]*border-radius:\s*7px;/)
|
||||
assert.match(tasks, /\.task-card\s*\{[^}]*margin:\s*0;[^}]*border-radius:\s*0;[^}]*box-shadow:\s*none;/)
|
||||
for (const text of ['一件代发入库', '领取并开始入库', '扫箱清点', '读取 SKU', '确认清点', '扫托盘', '可选', '差异说明', '托盘码', '打开 A4 托盘单', '封托']) assert.match(work, new RegExp(text))
|
||||
for (const text of ['一件代发入库', '领取并开始入库', '扫箱清点', '读取 SKU', '确认清点', '扫托盘', '可选', '差异说明', '托盘码', '打开全部 A4 托盘单', '封托']) assert.match(work, new RegExp(text))
|
||||
for (const text of ['sku-label', 'sku-code', 'quantity-stepper', 'adjustQuantity']) assert.match(work, new RegExp(text))
|
||||
assert.match(work, /减少 \$\{line\.skuCode\} 清点数量/)
|
||||
assert.match(work, /增加 \$\{line\.skuCode\} 清点数量/)
|
||||
@@ -67,7 +69,12 @@ test('palletization UI accepts carton and pre-generated pallet scans in either o
|
||||
assert.match(work, /继续装其他入仓单/)
|
||||
assert.match(work, /selectedPalletNo/)
|
||||
assert.match(work, /已选择仓库开放托盘/)
|
||||
assert.match(work, /直接扫描托盘码,只显示当前操作的托盘/)
|
||||
assert.match(work, /打开全部 A4 托盘单/)
|
||||
assert.match(work, /currentPalletDetails/)
|
||||
assert.doesNotMatch(work, /v-for="pallet in task\.pallets"/)
|
||||
assert.match(work, /downloadDropshipPalletLabel/)
|
||||
assert.match(work, /downloadAllDropshipPalletLabels/)
|
||||
assert.match(work, /formatApiError/)
|
||||
assert.doesNotMatch(work, /Number\(this\.warehouseId\)/)
|
||||
assert.doesNotMatch(work, /taskId\s*\}\}|warehouseId\s*\}\}|inboundId\s*\}\}/)
|
||||
|
||||
Reference in New Issue
Block a user