fix(douyu): 拆分账号资格活动窗口与库存语义
This commit is contained in:
@@ -266,7 +266,7 @@ function eventDescription(event: { eventType: string; detail: Record<string, unk
|
||||
return reasons.length ? `${base};后续需要:${reasons.join('、')}` : `${base};可直接兑换`;
|
||||
}
|
||||
if (event.eventType === 'mapping_updated') {
|
||||
return `斗鱼商品 ${String(detail.commodityId || '-')},映射${detail.enabled === false ? '已停用' : '已启用'}`;
|
||||
return `斗鱼商品 ${String(detail.goodsName || detail.commodityId || '-')},映射${detail.enabled === false ? '已停用' : '已启用'}`;
|
||||
}
|
||||
if (event.eventType === 'exchange_eligibility_checked') {
|
||||
return `兑换状态:${exchangeStatusLabel(String(detail.exchangeStatus || ''))};限兑商品 ${String(detail.limitedCount ?? 0)} 个`;
|
||||
@@ -1060,7 +1060,9 @@ export default function PlatformFulfillmentPage() {
|
||||
width: 230,
|
||||
render: (_, task) => (
|
||||
<Space direction="vertical" size={2}>
|
||||
<Text>{task.commodityId || '未映射'}</Text>
|
||||
<Text ellipsis title={task.commodityId}>
|
||||
{task.goodsName || task.skuName || task.internalSkuKey || '未映射'}
|
||||
</Text>
|
||||
<Text type="secondary">{task.requiredPoints != null ? `${task.requiredPoints} 积分` : '价格未知'}</Text>
|
||||
</Space>
|
||||
),
|
||||
@@ -1518,7 +1520,7 @@ export default function PlatformFulfillmentPage() {
|
||||
{selected.internalSkuKey || '-'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="斗鱼商品" span={2}>
|
||||
{selected.commodityId || '未映射'}
|
||||
{selected.goodsName || selected.skuName || '未映射'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="销售模式">
|
||||
{SALE_MODE_LABELS[selected.saleMode] || selected.saleMode}
|
||||
|
||||
Reference in New Issue
Block a user