|
|
@@ -335,7 +335,7 @@ function initSelect() {
|
|
|
window.location.href = '/thmz/login/view'
|
|
|
return;
|
|
|
}
|
|
|
- var html = '';
|
|
|
+ var html = '<option value="-1"></option>';
|
|
|
$.each(res.data, function (commentIndex, comment) {
|
|
|
html += '<option value="' + comment.code + '">' + comment.name + '</option>';
|
|
|
});
|
|
|
@@ -557,6 +557,7 @@ $(function () {
|
|
|
"<i class='glyphicon glyphicon glyphicon-plus icon-plus'></i></button>");
|
|
|
//为新增按钮增加事件
|
|
|
$("button[name='plus']").on("click", function (t) {
|
|
|
+ $("#originalCode").val(null);
|
|
|
clearModel();
|
|
|
if ($('#parentCodePlus').find("option").length == 1) {
|
|
|
initParentCodePlus();
|