收敛海外PDA回归夹具选择

This commit is contained in:
2026-09-02 16:01:58 +08:00
parent 5f688d6131
commit 601ae83504
3 changed files with 27 additions and 19 deletions
@@ -529,7 +529,7 @@ async function runReceiving(context, token, secondaryToken, merchantToken, prefe
`/api/pda/v1/last-leg/receiving-containers/${encodeURIComponent(containerNo)}/prepare`,
{ idempotencyKey: key(context, 'secondary-prepare') }, conflict)
}
const other = candidates.data.find((item) => item.containerNo !== containerNo)
const other = candidates.data.find((item) => item.containerNo !== containerNo && item.operable === true)
if (other) await expected(context, token, 'GET', '当前账号跨柜切换锁返回409',
`/api/pda/v1/last-leg/receiving-containers/${encodeURIComponent(other.containerNo)}`, undefined, conflict)
else blockerGap(context, '跨柜锁409', '当前客户只有一个待收柜,无法在不伪造柜数据的前提下验证跨柜锁')