From 44e4bc64d8aa1af4b4fe88bf7d82dc3e4330bdcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B1=95=E9=B9=8F?= Date: Sat, 6 Dec 2025 01:37:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E6=97=B6=E9=95=BF=E8=BE=93=E5=85=A5=E6=A1=86=E6=9C=AA=E9=9A=8F?= =?UTF-8?q?=E5=A5=97=E9=A4=90=E9=80=89=E6=8B=A9=E6=9B=B4=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pending_bookings.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pending_bookings.php b/pending_bookings.php index d80635b..aa8f1cd 100644 --- a/pending_bookings.php +++ b/pending_bookings.php @@ -867,6 +867,15 @@ try { console.error('❌ Cannot find duration input for submissionId:', submissionId); } + // 同时更新自定义时长输入框 + const customDurationInput = document.getElementById('customDuration_' + submissionId); + if (customDurationInput) { + customDurationInput.value = duration; + console.log('✅ Successfully updated custom duration input to:', duration); + } else { + console.error('❌ Cannot find custom duration input for submissionId:', submissionId); + } + // 更新价格输入框 const totalPriceInput = document.getElementById('total_price_' + submissionId); if (totalPriceInput) {