Merge branch 'master' of https://github.com/shanghohui-Company/SolarPower
This commit is contained in:
commit
3b2710f170
@ -692,6 +692,7 @@
|
|||||||
//#region 新增維修單
|
//#region 新增維修單
|
||||||
function AddRecord() {
|
function AddRecord() {
|
||||||
selected_id = 0;
|
selected_id = 0;
|
||||||
|
selected_work_type = 2;
|
||||||
record = undefined;
|
record = undefined;
|
||||||
$("#record-form-modal .modal-title .main-title").html("維修單");
|
$("#record-form-modal .modal-title .main-title").html("維修單");
|
||||||
$("#record-form-modal .modal-title .sub-title").html("");
|
$("#record-form-modal .modal-title .sub-title").html("");
|
||||||
@ -1014,6 +1015,8 @@
|
|||||||
}
|
}
|
||||||
$("input[name=status_modal][value='" + status + "']").prop('checked', true); //狀態
|
$("input[name=status_modal][value='" + status + "']").prop('checked', true); //狀態
|
||||||
$('#work_person_select_modal').val(record.workPersonIds).trigger("change");
|
$('#work_person_select_modal').val(record.workPersonIds).trigger("change");
|
||||||
|
|
||||||
|
selected_work_type = work_type;
|
||||||
if (work_type != 2) {
|
if (work_type != 2) {
|
||||||
$(".fix-div").hide();
|
$(".fix-div").hide();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user