代码生成选择主子表关联元素必填

This commit is contained in:
RuoYi
2021-01-11 11:36:29 +08:00
parent 033017c0ab
commit bf6ec64f15
4 changed files with 6 additions and 20 deletions

View File

@@ -494,6 +494,8 @@
$("#treeCode").select2("val", [""]);
$("#treeParentCode").select2("val", [""]);
$("#treeName").select2("val", [""]);
$("#subTableName").attr("required", "true");
$("#subTableFkName").attr("required", "true");
$("#otherInfo").addClass("hidden");
}
}