refactor(cost-center): 收敛人工 SKU 自动创建流程
This commit is contained in:
@@ -484,7 +484,17 @@ function PendingPanel() {
|
||||
保存渠道
|
||||
</Button>
|
||||
{canRunScopedActions && hasConfigIssue ? (
|
||||
<Button size="small" onClick={() => void navigate('/admin/cost-center')}>
|
||||
<Button
|
||||
size="small"
|
||||
disabled={!row.internal_sku}
|
||||
onClick={() => {
|
||||
const sku = String(row.internal_sku || '').trim()
|
||||
if (!sku) return
|
||||
void navigate(
|
||||
`/admin/cost-center?scope=manual&tab=cost&manualSku=${encodeURIComponent(sku)}&returnTo=${encodeURIComponent('/admin/fulfillment-channel')}`,
|
||||
)
|
||||
}}
|
||||
>
|
||||
去补配置({row.config_issue_item_count})
|
||||
</Button>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user