feat: simplify same-carton SKU editing

This commit is contained in:
2026-09-11 16:50:23 +08:00
parent ec7f76fede
commit 23cef8e106
4 changed files with 106 additions and 18 deletions
@@ -357,6 +357,13 @@ test('distills order creation into the confirmed prototype sections with server
assert.doesNotMatch(source, /未填写行标识/)
assert.match(source, /batchImportError[\s\S]*requestId[\s\S]*traceId/)
assert.match(source, /添加行[\s\S]*删除所选行/)
assert.match(source, /添加 SKU/)
assert.match(source, /addSkuToPackingGroup/)
assert.match(source, /shared-carton-value">同箱/)
assert.match(source, /syncSkuQuantity/)
assert.match(source, /每个箱组默认装一个 SKU/)
assert.doesNotMatch(source, /v-model="item\.packingGroupNo"/)
assert.doesNotMatch(cargoTableSource, /<th[^>]*>混箱组合/)
assert.doesNotMatch(source, /货物明细导入模板\.xls/)
for (const heading of ['SKU NO.', '中文品名', '箱规长 cm', '总毛重', '报关 HS CODE', '货件编号', '跟踪编号', 'UPC NO.']) {
assert.ok(cargoTableSource.includes(heading))