|
@@ -365,6 +365,7 @@ function initMaritalStatusSelect() {
|
|
|
$('#maritalStatus').append(html);
|
|
|
//$('#editUserPatientsNature').append(html);
|
|
|
});
|
|
|
+ $('#maritalStatus').val(null)
|
|
|
$('#maritalStatus').selectpicker('refresh');
|
|
|
// $('#editUserPatientsNature').selectpicker('refresh');
|
|
|
} else {
|
|
@@ -953,9 +954,9 @@ function initOccupationSelect() {
|
|
|
$.each(res.data, function (commentIndex, comment) {
|
|
|
html += '<option value="' + comment.code + '">' + comment.name + '</option>';
|
|
|
});
|
|
|
- $('#profession').empty();
|
|
|
$('#profession').html(html);
|
|
|
- $('#profession').selectpicker('destroy').selectpicker('refresh');
|
|
|
+ $('#profession').val(null);
|
|
|
+ $('#profession').selectpicker('refresh');
|
|
|
}
|
|
|
});
|
|
|
}
|