1. bug fix
This commit is contained in:
parent
8c7bc8e5f8
commit
423d23e433
@ -675,6 +675,7 @@
|
||||
//#region 新增維修單
|
||||
function AddRecord() {
|
||||
selected_id = 0;
|
||||
selected_work_type = 2;
|
||||
record = undefined;
|
||||
$("#record-form-modal .modal-title .main-title").html("維修單");
|
||||
$("#record-form-modal .modal-title .sub-title").html("");
|
||||
@ -996,6 +997,8 @@
|
||||
}
|
||||
$("input[name=status_modal][value='" + status + "']").prop('checked', true); //狀態
|
||||
$('#work_person_select_modal').val(record.workPersonIds).trigger("change");
|
||||
|
||||
selected_work_type = work_type;
|
||||
if (work_type != 2) {
|
||||
$(".fix-div").hide();
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user