From 288b2ae95ba8cc547a136f0476fa0f4e982acd35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E6=9C=A8?= <594326199@qq.com> Date: Tue, 1 Dec 2026 09:16:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BE=9B=E5=BA=94=E5=95=86=E8=B4=9F?= =?UTF-8?q?=E6=95=B0=E9=A2=84=E8=AD=A6)=EF=BC=9A=E7=B2=BE=E7=AE=80?= =?UTF-8?q?=E4=BB=98=E6=AC=BE=E5=88=97=E5=B9=B6=E5=8E=8B=E7=BC=A9=E5=A4=87?= =?UTF-8?q?=E6=B3=A8=E5=AE=BD=E5=BA=A6=20(#1592)=20Co-authored-by:=20?= =?UTF-8?q?=E8=8B=8F=E6=9C=A8=20<594326199@qq.com>=20Co-committed-by:=20?= =?UTF-8?q?=E8=8B=8F=E6=9C=A8=20<594326199@qq.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplier-negative-alert.blade.php | 19 +++++++++++- .../Business/NegativeAlertPagesTest.php | 31 +++++++++++++++++-- 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/resources/views/business/pages/negative-alerts/supplier-negative-alert.blade.php b/resources/views/business/pages/negative-alerts/supplier-negative-alert.blade.php index 1b9ec627..3f0f1a93 100644 --- a/resources/views/business/pages/negative-alerts/supplier-negative-alert.blade.php +++ b/resources/views/business/pages/negative-alerts/supplier-negative-alert.blade.php @@ -3,7 +3,11 @@ $fields = $negativeAlertFields ?? []; $visibleFields = array_values(array_filter( $fields, - static fn (array $field): bool => ($field['name'] ?? '') !== 'company', + static fn (array $field): bool => ! in_array( + $field['name'] ?? '', + ['company', 'to_corporate', 'to_private', 'cashier_paid', 'private_reason'], + true, + ), )); $months = $negativeAlertMonths ?? []; $month = $negativeAlertMonth ?? ''; @@ -506,6 +510,17 @@ color: var(--sna-danger); } + .supplier-negative-alert-data-page .sna-remarks-cell { + display: -webkit-box; + width: 14rem; + max-width: 14rem; + overflow: hidden; + white-space: normal; + overflow-wrap: anywhere; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; + } + .supplier-negative-alert-data-page .sna-workflow-feedback { margin: 0; padding: 10px 12px; @@ -863,6 +878,8 @@ 修改后失焦自动保存 + @elseif ($field['name'] === 'remarks' && $value !== null && $value !== '') + {{ $value }} @elseif ($field['name'] === 'handling_result')