From d0d9b5023847ad504a415c131afffd9b0c3614a7 Mon Sep 17 00:00:00 2001 From: "LAPTOP-KB8JC2K2\\acer" Date: Fri, 27 Aug 2021 16:18:19 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B8=9B?= =?UTF-8?q?=E0=B8=A3=E0=B8=B8=E0=B8=87=20=E0=B8=A7=E0=B8=B1=E0=B8=99?= =?UTF-8?q?=E0=B8=A5=E0=B8=B2=E0=B9=83=E0=B8=99=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eva_create_evaluation_detail_process_d.js | 4 ++-- .../eva_create_evaluation_detail_process_d2.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d.js b/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d.js index 754e633..bfff7fe 100644 --- a/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d.js +++ b/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d.js @@ -32,8 +32,8 @@ function eva_create_evaluation_detail_process_FeedDataToForm(data) { //console.log(data); - $("#date_from").val(formatDate(data.start_date)); - $("#date_to").val(formatDate(data.end_date)); + $("#date_from").val(formatDate(data.leave_start_date)); + $("#date_to").val(formatDate(data.leave_end_date)); $("#eva_create_evaluation_detail_process_id").val(data.id); diff --git a/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d2.js b/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d2.js index 18d44bd..836b591 100644 --- a/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d2.js +++ b/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d2.js @@ -30,8 +30,8 @@ function eva_create_evaluation_detail_process_FeedDataToForm(data) { //console.log(data); - $("#date_from").val(formatDate(data.start_date)); - $("#date_to").val(formatDate(data.end_date)); + $("#date_from").val(formatDate(data.leave_start_date)); + $("#date_to").val(formatDate(data.leave_end_date)); $("#eva_create_evaluation_detail_process_id").val(data.id); $("#eva_create_evaluation_detail_process_employee_id").val(data.employee_id);