This commit is contained in:
2026-09-14 12:01:13 +08:00
parent 7286d08975
commit ad02451065
6 changed files with 97 additions and 44 deletions
@@ -57,6 +57,16 @@ test('上门提货不提交物流号,需要换标时随转运单登记申请',
assert.match(view, /trackingNo:\s*form\.deliveryMethod === 'CUSTOMER_DELIVERY'\s*\?[^:]+:\s*undefined/)
assert.match(view, /本次提交将同时登记换标申请/)
assert.match(view, /form\.deliveryMethod === 'CUSTOMER_DELIVERY'.*物流跟踪号/s)
assert.match(view, /提货联系人/)
assert.match(view, /联系人电话/)
assert.match(view, /提货联系人/)
})
test('仓储转运列表操作仓使用海外仓接口数据', () => {
assert.match(view, /loadAllWarehouseRecords\('OVERSEAS', \(query\) => getMerchantWarehouses\(\{ page: query\.page, size: query\.size \}\)\)/)
assert.match(view, /\['OVERSEAS', 'OVERSEAS_PARTNER'\]/)
assert.match(view, /v-for="warehouse in \(props\.service === 'relabel' \? fbaWarehouses : operationWarehouses\)"/)
assert.doesNotMatch(view, /美西洛杉矶仓/)
})
test('仓储转运填写预计发货时间并只读展示实际发货时间', () => {