From f2181e586c8f2955b8e137937a2e251b3ccfe953 Mon Sep 17 00:00:00 2001 From: limeng <1131177064@qq.com> Date: Wed, 18 Nov 2026 16:07:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=98=B2=E6=AD=A2=E4=B8=B4=E6=97=B6?= =?UTF-8?q?=E6=8A=A5=E4=BB=B7=E6=88=AA=E6=AD=A2=E6=97=A5=E6=9C=9F=E6=89=8B?= =?UTF-8?q?=E8=BE=93=E6=97=B6=E8=A2=AB=E6=B8=85=E7=A9=BA=20(#1236)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../partials/quote-execution-periods.blade.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/views/business/pages/courier-payables/partials/quote-execution-periods.blade.php b/resources/views/business/pages/courier-payables/partials/quote-execution-periods.blade.php index 9a70dbc5..8cd822d7 100644 --- a/resources/views/business/pages/courier-payables/partials/quote-execution-periods.blade.php +++ b/resources/views/business/pages/courier-payables/partials/quote-execution-periods.blade.php @@ -55,7 +55,8 @@ periods.forEach(period => { const first = period.querySelector('[data-row-date]'); const end = period.querySelector('[data-row-end]'); - end.min = first.value; + // Reassigning min while typing resets the native date input's pending digits. + if (end.min !== first.value) end.min = first.value; end.setCustomValidity(isTemporary && first.value && end.value && end.value < first.value ? '截止日期不能早于开始日期。' : ''); first.setCustomValidity(''); if (isTemporary && first.value && end.value) {