无原始价格且匹配到成本价时,定价状态改为未定价(按最新规则)

This commit is contained in:
chenxi 2026-10-04 14:16:25 +08:00
parent 790df169b5
commit 1ca789807b

View File

@ -226,7 +226,8 @@ class ComputeProductMonthlyWeightedAverage extends Command
$status = '已定价';
} elseif ($cost !== null) {
$adjusted = $cost;
$status = $workPrice !== null ? '已定价' : '未定价';
// 无原始价格、未匹配工作平台价格但匹配到成本价 → 定价状态「未定价」。
$status = '未定价';
} else {
$adjusted = null;
$status = '待人工核查';