|
@@ -1639,14 +1639,12 @@ function checkbox()
|
|
|
if (state == 2) {
|
|
|
|
|
|
} else if (!$('#' + id).length) {
|
|
|
- self.parent().append('<input type="hidden" value="0" id="'+id+'" name="'+hidden+'" />');
|
|
|
+ self.parent().append('<input type="hidden" value="0" id="'+id+'" name="'+id+'" />');
|
|
|
}
|
|
|
} else {
|
|
|
- /*
|
|
|
if ($('#' + id).length) {
|
|
|
$('#' + id).remove();
|
|
|
}
|
|
|
- */
|
|
|
}
|
|
|
|
|
|
form.render('checkbox');
|
|
@@ -3210,6 +3208,9 @@ var dever_update =
|
|
|
loadShow();
|
|
|
autocomplete();
|
|
|
change();
|
|
|
+ form.render();
|
|
|
+ initPic();
|
|
|
+ initDate();
|
|
|
|
|
|
layui.use(['formSelects'], function(){
|
|
|
$('#' + id + " select").each(function()
|
|
@@ -3218,7 +3219,7 @@ var dever_update =
|
|
|
layui.formSelects.render($(this).attr('xm-select'));
|
|
|
}
|
|
|
})
|
|
|
- });
|
|
|
+ });
|
|
|
},
|
|
|
|
|
|
add : function(e)
|