This commit is contained in:
2026-10-28 16:33:35 +08:00
parent 510db2bb8c
commit e5c4003e3d
9 changed files with 174 additions and 144 deletions
@@ -57,19 +57,16 @@ test('客户贴标表单不展示客户单号、托盘和内部库存来源列',
assert.doesNotMatch(view, /已选托盘组成/)
})
test('贴标申请保留关联模板下载和上传入口', () => {
test('贴标申请使用统一明细模板下载和上传入口', () => {
assert.match(view, /downloadRelabelTemplate/)
assert.match(view, /<strong>SKU 关联<\/strong>/)
assert.match(view, /<strong>箱号关联<\/strong>/)
assert.match(view, /<strong>SKU 混箱<\/strong>/)
assert.match(view, /<strong>统一贴标明细<\/strong>/)
assert.match(view, />下载模板<\/el-button>/)
assert.match(view, />上传文件<\/el-button>/)
assert.match(view, /skuTemplateInput\?\.click\(\)/)
assert.match(view, /cartonTemplateInput\?\.click\(\)/)
assert.match(view, /unifiedTemplateInput\?\.click\(\)/)
assert.match(view, /importRelabelTemplate/)
assert.match(view, /明细行标识/)
assert.match(view, /'明细行标识', '旧箱唛', '旧SKU标签', '新SKU标签'/)
assert.match(view, /const includeDestination = false/)
assert.match(view, /'明细行标识', '贴标类型'/)
assert.doesNotMatch(view.slice(view.indexOf('function downloadRelabelTemplate'), view.indexOf('function parseCsvLine')), /FBA目的仓/)
assert.doesNotMatch(view, /const includeDestination = props\.service !== 'transfer'/)
assert.match(view, /<strong>绑定明细<\/strong>/)
assert.match(view, /<th>仓库唛头 \*<\/th>/)