เพิ่มช่อง วันที่เริ่มลา / สิ้นสุด ลา
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user