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