寄售仓库详情规格改为纯值展示

- 物品详情规格去掉字段名,0 璀璨省略
- 更新仓库详情展示测试
This commit is contained in:
2026-11-14 15:20:17 +08:00
parent b06028e3a4
commit 09bfb3ea14
2 changed files with 7 additions and 4 deletions
@@ -69,7 +69,6 @@ import {
CONSIGNMENT_SPEC_TAG_COLORS,
resolveConsignmentDisplayItemName,
resolveConsignmentSpecTagItems,
resolveConsignmentSpecText,
resolveConsignmentSpecValueText,
} from '@/utils/consignment-spec-display'
import { CONSIGNMENT_SYSTEM_OPTIONS, CONSIGNMENT_ZONE_OPTIONS } from '@/utils/consignment-spec'
@@ -1415,7 +1414,7 @@ export default function ConsignmentInventoryPanel() {
)}
</Descriptions.Item>
<Descriptions.Item label="规格">
{resolveConsignmentSpecText(viewingItem)}
{resolveConsignmentSpecValueText(viewingItem, { omitZeroBrilliance: true })}
</Descriptions.Item>
<Descriptions.Item label="收购成本">
<Text strong style={{ color: '#cf1322' }}>