修复自定义时长输入框未随套餐选择更新的问题
This commit is contained in:
@@ -867,6 +867,15 @@ try {
|
|||||||
console.error('❌ Cannot find duration input for submissionId:', submissionId);
|
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);
|
const totalPriceInput = document.getElementById('total_price_' + submissionId);
|
||||||
if (totalPriceInput) {
|
if (totalPriceInput) {
|
||||||
|
|||||||
Reference in New Issue
Block a user