This commit is contained in:
liyuchun
2022-04-26 05:12:29 +00:00
parent 4f1690ca0e
commit e2501b26ea
+1 -1
View File
@@ -369,7 +369,7 @@ $(function()
$(target).removeClass('hidden');
/* Replace program name. */
if($("[id^='productLines\[" + currentLine +"\]'").prop('checked')) $('#programName').val($(this).text());
if(!$('#programName').val() && $("[id^='productLines\[" + currentLine +"\]'").prop('checked')) $('#programName').val($(this).text());
/* Replace project name. */
var productID = $(target).find('.lineGroup .productList input[name*="product"]').val();