refactor(admin): split GoodsView into dialog components; fix(GoodsView): raw member names, no primary badges, member price grid; feat(tag): 光板 maps to 不打印

This commit is contained in:
yeuimu
2026-08-28 16:40:48 +08:00
parent 34d84a7a7c
commit 10197c47a8
14 changed files with 1719 additions and 1441 deletions
+3 -3
View File
@@ -89,10 +89,10 @@ describe('deriveLinkTagNames', () => {
]);
});
it('不打印 + 光板 + 不包邮 → 两工艺标签 + 不包邮', () => {
it('不打印 + 光板 + 不包邮 → 归并为单个不打印(光板即不打印)', () => {
expect(
deriveLinkTagNames('美国(不包邮光板)180GT恤成人款-JSA002-不打印·美西洛杉矶二仓'),
).toEqual(['不打印', '光板', '不包邮']);
).toEqual(['不打印', '不包邮']);
});
it('双面印花 + 不包邮,且不误命中包邮', () => {
@@ -117,7 +117,7 @@ describe('linkDims', () => {
});
expect(linkDims('美国(不包邮光板)180GT恤成人款-JSA002-不打印·美西洛杉矶二仓')).toEqual({
logistics: '不包邮光板',
crafts: ['不打印', '光板'],
crafts: ['不打印'],
printCount: null,
});
});