From 1ca789807bb26d631a92ed0d01345e218ffbbfe5 Mon Sep 17 00:00:00 2001 From: chenxi Date: Sun, 4 Oct 2026 14:16:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E5=8E=9F=E5=A7=8B=E4=BB=B7=E6=A0=BC?= =?UTF-8?q?=E4=B8=94=E5=8C=B9=E9=85=8D=E5=88=B0=E6=88=90=E6=9C=AC=E4=BB=B7?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=AE=9A=E4=BB=B7=E7=8A=B6=E6=80=81=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E6=9C=AA=E5=AE=9A=E4=BB=B7=EF=BC=88=E6=8C=89=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E8=A7=84=E5=88=99=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Console/Commands/ComputeProductMonthlyWeightedAverage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = '待人工核查';