feat(consignment): 服务费提示修改后对在库商品立即生效

This commit is contained in:
2026-11-10 11:03:15 +08:00
parent 632df1e03b
commit 05d3675f55
2 changed files with 13 additions and 0 deletions
@@ -1874,6 +1874,11 @@ export default function ConsignmentConfigPanel() {
</Form.Item>
) : null}
</div>
<div style={{ marginTop: 8 }}>
<Text type="secondary" style={{ fontSize: 12 }}>
服务费按匹配时的已发布配置计算:修改后对在库商品立即生效。
</Text>
</div>
</section>
<section className="order-service-section">
@@ -194,3 +194,11 @@ test('寄售仓库:寄卖分类筛选按一二级层级展示', () => {
)
assert.ok(panel.includes('继承'), '继承型二级分类必须有继承标记')
})
test('寄卖配置:服务费提示修改后对在库商品立即生效', () => {
const panel = read('../src/pages/admin/panels/ConsignmentConfigPanel.tsx')
assert.ok(
panel.includes('服务费按匹配时的已发布配置计算:修改后对在库商品立即生效'),
'服务费区块必须提示:按匹配时已发布配置计算,修改后对在库商品立即生效',
)
})