diff --git a/app/Console/Commands/ComputeProductMonthlyWeightedAverage.php b/app/Console/Commands/ComputeProductMonthlyWeightedAverage.php index ad684f7f..33d14e89 100644 --- a/app/Console/Commands/ComputeProductMonthlyWeightedAverage.php +++ b/app/Console/Commands/ComputeProductMonthlyWeightedAverage.php @@ -215,10 +215,11 @@ class ComputeProductMonthlyWeightedAverage extends Command $status = $previousStatus !== '' ? $previousStatus : '已定价'; } elseif ($changePrice !== null) { $adjusted = $changePrice; - $status = $newPricePending ? '预估价' : '已定价'; + $status = $newPricePending ? '未定价' : '已定价'; } else { $adjusted = $openingUnitPrice; - $status = '预估价'; + // 未匹配到工作平台价格 → 用原始价格,状态统一记为「未定价」(原「预估价」)。 + $status = '未定价'; } } elseif ($changePrice !== null) { $adjusted = $changePrice;