From 790df169b59ae79d8d14cdbb9d3a46bbd0b6b4e8 Mon Sep 17 00:00:00 2001 From: chenxi Date: Sun, 4 Oct 2026 14:02:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E4=BB=B7=E7=8A=B6=E6=80=81=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=EF=BC=9A=E5=8E=9F=E6=9C=AC=E8=BE=93=E5=87=BA=E7=9A=84?= =?UTF-8?q?=E2=80=9C=E9=A2=84=E4=BC=B0=E4=BB=B7=E2=80=9D=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E2=80=9C=E6=9C=AA=E5=AE=9A=E4=BB=B7=E2=80=9D=EF=BC=88=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E4=BB=8D=E6=8C=89=E9=A2=84=E4=BC=B0=E4=BB=B7=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E5=88=86=E6=94=AF=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Commands/ComputeProductMonthlyWeightedAverage.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;