เพิ่มช่อง วันที่เริ่มลา / สิ้นสุด ลา

This commit is contained in:
LAPTOP-KB8JC2K2\acer
2021-08-27 10:20:02 +07:00
parent 910ef472ec
commit 8735c12bd7
13 changed files with 1186 additions and 13 deletions

View File

@@ -24,6 +24,8 @@ function eva_performance_plan_FeedDataToForm(data) {
$("#eva_performance_plan_fiscal_year").val(data.fiscal_year);
$("#eva_performance_plan_theTime").val(data.theTime);
$("#eva_performance_plan_percent").val(data.percent);
$("#eva_performance_plan_start_leave").val(formatDate(data.start_leave));
$("#eva_performance_plan_end_leave").val(formatDate(data.end_leave));
}
function eva_performance_plan_GetFromForm() {
@@ -32,6 +34,8 @@ function eva_performance_plan_GetFromForm() {
eva_performance_planObject.fiscal_year = $("#eva_performance_plan_fiscal_year").val();
eva_performance_planObject.theTime = $("#eva_performance_plan_theTime").val();
eva_performance_planObject.percent = $("#eva_performance_plan_percent").val();
eva_performance_planObject.start_leave = getDate($("#eva_performance_plan_start_leave").val());
eva_performance_planObject.end_leave = getDate($("#eva_performance_plan_end_leave").val());
return eva_performance_planObject;
}

View File

@@ -8,6 +8,8 @@ function eva_performance_plan_FeedDataToForm(data) {
$("#eva_performance_plan_fiscal_year").val(data.fiscal_year);
$("#eva_performance_plan_theTime").val(data.theTime);
$("#eva_performance_plan_percent").val(data.percent);
$("#eva_performance_plan_start_leave").val(formatDate(data.start_leave));
$("#eva_performance_plan_end_leave").val(formatDate(data.end_leave));
}
function eva_performance_plan_GetFromForm() {
@@ -16,6 +18,8 @@ function eva_performance_plan_GetFromForm() {
eva_performance_planObject.fiscal_year = $("#eva_performance_plan_fiscal_year").val();
eva_performance_planObject.theTime = $("#eva_performance_plan_theTime").val();
eva_performance_planObject.percent = $("#eva_performance_plan_percent").val();
eva_performance_planObject.start_leave = getDate($("#eva_performance_plan_start_leave").val());
eva_performance_planObject.end_leave = getDate($("#eva_performance_plan_end_leave").val());
return eva_performance_planObject;
}