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
@@ -39,7 +39,8 @@ test('贴标申请保留关联模板下载和上传入口', () => {
assert.match(view, /明细行标识/)
assert.match(view, /'明细行标识', '旧箱唛', '旧SKU标签', '新SKU标签'/)
assert.match(view, /'旧箱唛', '新FBA箱唛', 'FBA目的仓'/)
assert.match(view, /SKU 与箱号关联通过旧箱唛合并/)
assert.match(view, /SKU 与箱号关联通过仓库唛头合并/)
assert.match(view, /<th>仓库唛头 \*<\/th>/)
assert.doesNotMatch(view, /库存位置ID/)
})
@@ -80,7 +81,7 @@ test('贴标货物明细通过单一换标类型选择三种模式', () => {
assert.doesNotMatch(view, /el-tab-pane label="(?:箱唛换标|SKU 换标)"/)
assert.match(view, /interface SkuRelabelRow/)
assert.match(view, /旧 SKU \*/)
assert.match(view, /旧箱唛 \*/)
assert.match(view, /仓库唛头 \*/)
assert.match(view, /换标数量(件)\*/)
assert.match(view, /旧SKU标签/)
assert.match(view, /新SKU标签/)
@@ -120,8 +121,8 @@ test('海外操作仓和FBA目的仓使用独立字段', () => {
})
test('操作仓和FBA仓均从商户仓库目录按类型加载', () => {
assert.match(view, /getMerchantWarehouses\(\{ warehouseType: 'FBA' \}\)/)
assert.match(view, /getMerchantWarehouses\(\{ warehouseType: 'OVERSEAS' \}\)/)
assert.match(view, /loadAllWarehouseRecords\('FBA', getMerchantWarehouses\)/)
assert.match(view, /\['OVERSEAS', 'OVERSEAS_PARTNER'\]/)
assert.match(view, /v-for="warehouse in operationWarehouses"/)
assert.match(view, /v-for="warehouse in fbaWarehouses"/)
assert.doesNotMatch(view, /美西海外仓-ONT8/)