แก้ไขหน้า ปรับเลื่อนเงินเดือน และปรับโควต้า

This commit is contained in:
Nakorn Rientrakrunchai
2020-02-28 13:09:50 +07:00
parent d9ca4b0aed
commit 1ca6d4955d
43 changed files with 2854 additions and 372 deletions

View File

@@ -0,0 +1,83 @@
@{
Layout = "~/Views/Shared/_Layout.cshtml";
ViewData["Title"] = "eva_adjust_postponement_detail_normal_02";
}
<section class="wrapper">
<div class="row">
<div class="col-sm-12">
<section class="card">
<header class="card-header">
จัดการ eva_adjust_postponement_detail_normal_02
<span class="tools pull-right">
<a href="javascript:;" class="fa fa-chevron-down"></a>
</span>
</header>
<div class="card-body">
<div style="padding-bottom:20px">
<button type="button" class="btn btn-primary" onclick="javascript:eva_adjust_postponement_detail_normal_02_Add()">
<i class="fa fa-plus" style="color:white;"></i> เพิ่มรายการ
</button>
</div>
<table id="eva_adjust_postponement_detail_normal_02Table" class="display table table-bordered table-striped">
<thead>
<tr>
<th>ลำดับ</th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_id'>รหัสอ้างอิง</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_adjust_postponement_id'>รหัสอ้างอิงตาราง eva_adjust_postponement</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_employee_id'>ผู้รับการประเมิน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_sarary'>เงินเดือน ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_cost_living'>ค่าครองชีพ ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_middle'>ค่ากลางฐานในการคำนวณ</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_promoted_percentage'>ร้อยละที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_total_promote'>จำนวนเงินที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_new_sarary'>เงินเดือนใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_new_cost_living'>ค่าครองชีพใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_remark'>หมายเหตุ</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_emp_code'>รหัสพนักงาน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_emp_fullname'>ชื่อ-นามสกุล</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_emp_position'>ตำแหน่ง</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_emp_level'>ระดับ</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_total_score'>คะแนนรวม</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_eva_result'>ผลการประเมิน</label></th>
<th>กิจกรรม</th>
</tr>
</thead>
<tbody class="thin-border-bottom" id="eva_adjust_postponement_detail_normal_02Body"></tbody>
</table>
<div style="text-align:right; padding-bottom:20px">
<label id="score_label">Total Score: 0</label>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">ยกเลิก</button>
<button type="button" class="btn btn-primary" onclick="javascript:eva_adjust_postponement_detail_normal_02_Save(getUrlParameter('id'))">บันทึก</button>
</div>
</div>
</section>
</div>
</div>
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_adjust_postponement_detail_normal_02/eva_adjust_postponement_detail_normal_02_inline.js"></script>
<script>
$(document).ready(function () {
//var id = getUrlParameter("id");
//if (id) {
// eva_adjust_postponement_detail_normal_02_InitialForm(id);
//}
eva_adjust_postponement_detail_normal_02_InitialForm('');
});
$(document).on("change", ".input_score", function () {
eva_adjust_postponement_detail_normal_02_Summary();
});
</script>
}

View File

@@ -0,0 +1,85 @@
@{
Layout = "~/Views/Shared/_Layout.cshtml";
ViewData["Title"] = "eva_adjust_postponement_detail_quota_02";
}
<section class="wrapper">
<div class="row">
<div class="col-sm-12">
<section class="card">
<header class="card-header">
จัดการ eva_adjust_postponement_detail_quota_02
<span class="tools pull-right">
<a href="javascript:;" class="fa fa-chevron-down"></a>
</span>
</header>
<div class="card-body">
<div style="padding-bottom:20px">
<button type="button" class="btn btn-primary" onclick="javascript:eva_adjust_postponement_detail_quota_02_Add()">
<i class="fa fa-plus" style="color:white;"></i> เพิ่มรายการ
</button>
</div>
<table id="eva_adjust_postponement_detail_quota_02Table" class="display table table-bordered table-striped">
<thead>
<tr>
<th>ลำดับ</th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_id'>รหัสอ้างอิง</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_adjust_postponement_quota_id'>รหัสอ้างอิงตาราง eva_adjust_postponement</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_employee_id'>ผู้รับการประเมิน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_sarary'>เงินเดือน ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_cost_living'>ค่าครองชีพ ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_middle'>ค่ากลางฐานในการคำนวณ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_promoted_percentage'>ร้อยละที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_total_promote'>จำนวนเงินที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_new_sarary'>เงินเดือนใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_new_cost_living'>ค่าครองชีพใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_remark'>หมายเหตุ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_receive_quota'>ได้รับเงินโควต้าพิเศษ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_new_sarary_with_quota'>เงินเดือนใหม่ (รวมโควต้า)</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_emp_code'>รหัสพนักงาน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_emp_fullname'>ชื่อ-นามสกุล</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_emp_position'>ตำแหน่ง</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_emp_level'>ระดับ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_total_score'>คะแนนรวม</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_eva_result'>ผลการประเมิน</label></th>
<th>กิจกรรม</th>
</tr>
</thead>
<tbody class="thin-border-bottom" id="eva_adjust_postponement_detail_quota_02Body"></tbody>
</table>
<div style="text-align:right; padding-bottom:20px">
<label id="score_label">Total Score: 0</label>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">ยกเลิก</button>
<button type="button" class="btn btn-primary" onclick="javascript:eva_adjust_postponement_detail_quota_02_Save(getUrlParameter('id'))">บันทึก</button>
</div>
</div>
</section>
</div>
</div>
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_adjust_postponement_detail_quota_02/eva_adjust_postponement_detail_quota_02_inline.js"></script>
<script>
$(document).ready(function () {
//var id = getUrlParameter("id");
//if (id) {
// eva_adjust_postponement_detail_quota_02_InitialForm(id);
//}
eva_adjust_postponement_detail_quota_02_InitialForm('');
});
$(document).on("change", ".input_score", function () {
eva_adjust_postponement_detail_quota_02_Summary();
});
</script>
}

View File

@@ -46,29 +46,12 @@
<select class="form-control" id="eva_adjust_postponement_normal_create_evaluation_id" iLabel="กลุ่มการประเมิน" iRequire="true" iGroup="eva_adjust_postponement_normal"></select>
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_limit" for="eva_adjust_postponement_normal_limit">บริหารวงเงิน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_limit" iLabel="บริหารวงเงิน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_limit_frame" for="eva_adjust_postponement_normal_limit_frame">กรอบวงเงินร้อยละ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_limit_frame" iLabel="กรอบวงเงินร้อยละ" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
<input style="display:none;" class="form-control" type="number" id="eva_adjust_postponement_normal_limit" iLabel="บริหารวงเงิน" iRequire="false" iGroup="eva_adjust_postponement_normal" />
<input style="display:none;" class="form-control" type="number" id="eva_adjust_postponement_normal_limit_frame" iLabel="กรอบวงเงินร้อยละ" iRequire="false" iGroup="eva_adjust_postponement_normal" />
<input style="display:none;" class="form-control" type="number" id="eva_adjust_postponement_normal_limit_quota" iLabel="จำนวนเงินที่สามารถบริหารวงเงิน" iRequire="false" iGroup="eva_adjust_postponement_normal" />
<input style="display:none;" class="form-control" type="number" id="eva_adjust_postponement_normal_percentage" iLabel="ร้อยละที่ได้เลื่อน" iRequire="false" iGroup="eva_adjust_postponement_normal" />
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_limit_quota" for="eva_adjust_postponement_normal_limit_quota">จำนวนเงินที่สามารถบริหารวงเงิน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_limit_quota" iLabel="จำนวนเงินที่สามารถบริหารวงเงิน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_percentage" for="eva_adjust_postponement_normal_percentage">ร้อยละที่ได้เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_percentage" iLabel="ร้อยละที่ได้เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
</div>
</div>
</div>

View File

@@ -5,81 +5,6 @@
Layout = "_LayoutDirect";
}
<div class="modal fade" id="eva_adjust_postponement_detail_normalModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="eva_adjust_postponement_detail_normalModelLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="eva_adjust_postponement_detail_normalModelLabel">บันทึกข้อมูล การปรับเลื่อนค่าตอบแทน</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<input class="form-control" type="hidden" id="eva_adjust_postponement_detail_normal_id" />
<input class="form-control" type="hidden" id="eva_adjust_postponement_detail_normal_adjust_postponement_id" />
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_employee_id" for="eva_adjust_postponement_detail_normal_employee_id">ผู้รับการประเมิน</label>
<select class="form-control" id="eva_adjust_postponement_detail_normal_employee_id" iLabel="ผู้รับการประเมิน" iRequire="true" iGroup="eva_adjust_postponement_detail_normal"></select>
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_sarary" for="eva_adjust_postponement_detail_normal_sarary">เงินเดือน ก่อนปรับเลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_sarary" iLabel="เงินเดือน ก่อนปรับเลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_cost_living" for="eva_adjust_postponement_detail_normal_cost_living">ค่าครองชีพ ก่อนปรับเลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_cost_living" iLabel="ค่าครองชีพ ก่อนปรับเลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_middle" for="eva_adjust_postponement_detail_normal_middle">ค่ากลางฐานในการคำนวณ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_middle" iLabel="ค่ากลางฐานในการคำนวณ" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_promoted_percentage" for="eva_adjust_postponement_detail_normal_promoted_percentage">ร้อยละที่ได้เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_promoted_percentage" iLabel="ร้อยละที่ได้เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_total_promote" for="eva_adjust_postponement_detail_normal_total_promote">จำนวนเงินที่ได้เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_total_promote" iLabel="จำนวนเงินที่ได้เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_new_sarary" for="eva_adjust_postponement_detail_normal_new_sarary">เงินเดือนใหม่</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_new_sarary" iLabel="เงินเดือนใหม่" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_normal_new_cost_living" for="eva_adjust_postponement_detail_normal_new_cost_living">ค่าครองชีพใหม่</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_normal_new_cost_living" iLabel="ค่าครองชีพใหม่" iRequire="true" iGroup="eva_adjust_postponement_detail_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-12">
<label id="lab_eva_adjust_postponement_detail_normal_remark" for="eva_adjust_postponement_detail_normal_remark">หมายเหตุ</label>
<textarea class="form-control" rows="4" cols="50" id="eva_adjust_postponement_detail_normal_remark" iLabel="หมายเหตุ" iRequire="true" iGroup="eva_adjust_postponement_detail_normal"></textarea>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">ยกเลิก</button>
<button type="button" class="btn btn-primary" onclick="javascript:eva_adjust_postponement_detail_normal_PutUpdate()">บันทึก</button>
</div>
</div>
</div>
</div>
<div class="row page-title">
<div class="col-md-5">
@@ -125,35 +50,39 @@
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_managed_by" for="eva_adjust_postponement_normal_managed_by">ผู้จัดทำข้อมูล</label>
<select class="form-control" id="eva_adjust_postponement_normal_managed_by" iLabel="ผู้จัดทำข้อมูล" iRequire="true" iGroup="eva_adjust_postponement_normal"></select>
<select disabled class="form-control" id="eva_adjust_postponement_normal_managed_by" iLabel="ผู้จัดทำข้อมูล" iRequire="true" iGroup="eva_adjust_postponement_normal"></select>
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_create_evaluation_id" for="eva_adjust_postponement_normal_create_evaluation_id">กลุ่มการประเมิน</label>
<select class="form-control" id="eva_adjust_postponement_normal_create_evaluation_id" iLabel="กลุ่มการประเมิน" iRequire="true" iGroup="eva_adjust_postponement_normal"></select>
<select disabled class="form-control" id="eva_adjust_postponement_normal_create_evaluation_id" iLabel="กลุ่มการประเมิน" iRequire="true" iGroup="eva_adjust_postponement_normal"></select>
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_limit" for="eva_adjust_postponement_normal_limit">บริหารวงเงิน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_limit" iLabel="บริหารวงเงิน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
<input disabled class="form-control" type="number" id="eva_adjust_postponement_normal_limit" iLabel="บริหารวงเงิน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_limit_frame" for="eva_adjust_postponement_normal_limit_frame">กรอบวงเงินร้อยละ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_limit_frame" iLabel="กรอบวงเงินร้อยละ" iRequire="true" iGroup="eva_adjust_postponement_normal" />
<input class="form-control" type="number" onchange="Oneva_adjust_postponement_normal_limit_frameChange();" id="eva_adjust_postponement_normal_limit_frame" iLabel="กรอบวงเงินร้อยละ" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_limit_quota" for="eva_adjust_postponement_normal_limit_quota">จำนวนเงินที่สามารถบริหารวงเงิน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_limit_quota" iLabel="จำนวนเงินที่สามารถบริหารวงเงิน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
<input disabled class="form-control" type="number" id="eva_adjust_postponement_normal_limit_quota" iLabel="จำนวนเงินที่สามารถบริหารวงเงิน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_normal_percentage" for="eva_adjust_postponement_normal_percentage">ร้อยละที่ได้เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_normal_percentage" iLabel="ร้อยละที่ได้เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
<input class="form-control" type="number" onchange="Oneva_adjust_postponement_normal_percentageChange();" id="eva_adjust_postponement_normal_percentage" iLabel="ร้อยละที่ได้เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_normal" />
</div>
<div class="form-group col-md-6">
<label for="eva_adjust_postponement_normal_percentage">จำนวนเงินที่ใช้เลื่อนคงเหลือ</label>
<input disabled class="form-control" type="number" id="remain_cost" iLabel="จำนวนเงินที่ใช้เลื่อนคงเหลือ" iRequire="true" iGroup="" />
</div>
</div>
@@ -163,6 +92,49 @@
</div>
</section>
</section>
<br/>
<section class="wrapper">
<div class="title"><div class="line"></div>รายชื่อบุคคลากร</div>
<table id="eva_adjust_postponement_detail_normal_02Table" class="display table table-bordered table-striped">
<thead>
<tr>
<th>ลำดับ</th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_emp_code'>รหัสพนักงาน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_emp_fullname'>ชื่อ-นามสกุล</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_emp_position'>ตำแหน่ง</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_emp_level'>ระดับ</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_total_score'>คะแนนรวม</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_eva_result'>ผลการประเมิน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_sarary'>เงินเดือน ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_cost_living'>ค่าครองชีพ ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_middle'>ค่ากลางฐานในการคำนวณ</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_promoted_percentage'>ร้อยละที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_total_promote'>จำนวนเงินที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_new_sarary'>เงินเดือนใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_new_cost_living'>ค่าครองชีพใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_02_remark'>หมายเหตุ</label></th>
</tr>
</thead>
<tbody class="thin-border-bottom" id="eva_adjust_postponement_detail_normal_02Body"></tbody>
</table>
</section>
<br/>
<section class="wrapper">
<div class="row">
<div class="form-group col-md-12">
<button type="button" class="btn btn-outline" onclick="javascript:window_close()" style="background-color: #fff;">ยกเลิก</button>
@@ -172,59 +144,19 @@
</section>
<br/>
<section class="wrapper">
<div class="title"><div class="line"></div>รายชื่อบุคคลากร</div>
<div class="tools">
<div class="row">
<div class="col-md-3">
<button class="btn btn-info" onclick="javascript:eva_adjust_postponement_detail_normal_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> ประมวลผลรายชื่อบุคคลากร</button>
</div>
</div>
</div>
<table id="eva_adjust_postponement_detail_normalTable" class="display table table-bordered table-striped">
<thead>
<tr>
<th>เครื่องมือ</th>
<th><label id='h_eva_adjust_postponement_detail_normal_emp_code'>รหัสพนักงาน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_emp_fullname'>ชื่อ-นามสกุล</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_emp_position'>ตำแหน่ง</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_emp_level'>ระดับ</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_total_score'>คะแนนรวม</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_eva_result'>ผลการประเมิน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_sarary'>เงินเดือน ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_cost_living'>ค่าครองชีพ ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_middle'>ค่ากลางฐานในการคำนวณ</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_promoted_percentage'>ร้อยละที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_total_promote'>จำนวนเงินที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_new_sarary'>เงินเดือนใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_new_cost_living'>ค่าครองชีพใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_normal_remark'>หมายเหตุ</label></th>
</tr>
</thead>
<tbody></tbody>
</table>
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_adjust_postponement_normal/eva_adjust_postponement_normal_d.js"></script>
<script src="~/js/eva_adjust_postponement_detail_normal/eva_adjust_postponement_detail_normal.js"></script>
<script src="~/js/eva_adjust_postponement_detail_normal_02/eva_adjust_postponement_detail_normal_02_inline.js"></script>
<script>
$(document).ready(function () {
var id = getUrlParameter("id");
if (id) {
eva_adjust_postponement_normal_SetEditForm(id);
eva_adjust_postponement_detail_normal_InitiateDataTable(id);
eva_adjust_postponement_detail_normal_InitialForm();
eva_adjust_postponement_normal_SetEditForm(id);
eva_adjust_postponement_detail_normal_02_InitialForm(id);
} else {
eva_adjust_postponement_normal_SetCreateForm();
}
SetupValidationRemark("eva_adjust_postponement_normal");
SetupValidationRemark("eva_adjust_postponement_detail_normal");
});
</script>
}

View File

@@ -18,6 +18,8 @@
<div class="col-md-12">
<input class="form-control" type="hidden" id="eva_adjust_postponement_quota_id" />
<input style="display:none;" class="form-control" type="number" id="eva_adjust_postponement_quota_limit_quota" iLabel="จำนวนเงินที่สามารถบริหารวงเงินโควต้าพิเศษ" iRequire="false" iGroup="eva_adjust_postponement_quota" />
<input style="display:none;" class="form-control" type="number" id="eva_adjust_postponement_quota_limit_frame_quota" iLabel="กรอบโควต้าพิเศษร้อยละ" iRequire="false" iGroup="eva_adjust_postponement_quota" />
<div class='row'>
<div class="form-group col-md-6">
@@ -41,17 +43,6 @@
<select class="form-control" id="eva_adjust_postponement_quota_managed_by" iLabel="ผู้จัดทำข้อมูล" iRequire="true" iGroup="eva_adjust_postponement_quota"></select>
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_limit_frame_quota" for="eva_adjust_postponement_quota_limit_frame_quota">กรอบโควต้าพิเศษร้อยละ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_quota_limit_frame_quota" iLabel="กรอบโควต้าพิเศษร้อยละ" iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_limit_quota" for="eva_adjust_postponement_quota_limit_quota">จำนวนเงินที่สามารถบริหารวงเงินโควต้าพิเศษ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_quota_limit_quota" iLabel="จำนวนเงินที่สามารถบริหารวงเงินโควต้าพิเศษ" iRequire="true" iGroup="eva_adjust_postponement_quota" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-6">
<label id="lab_eva_adjust_postponement_quota_command_no" for="eva_adjust_postponement_quota_command_no">เลขที่คำสั่ง</label>

View File

@@ -6,93 +6,6 @@
}
<div class="modal fade" id="eva_adjust_postponement_detail_quotaModel" style="z-index:1500" tabindex="-1" role="dialog" aria-labelledby="eva_adjust_postponement_detail_quotaModelLabel" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="eva_adjust_postponement_detail_quotaModelLabel">บันทึกข้อมูล eva_adjust_postponement_detail_quota</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<input class="form-control" type="hidden" id="eva_adjust_postponement_detail_quota_id" />
<input class="form-control" type="hidden" id="eva_adjust_postponement_detail_quota_adjust_postponement_quota_id" />
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_employee_id" for="eva_adjust_postponement_detail_quota_employee_id">ผู้รับการประเมิน</label>
<select class="form-control" id="eva_adjust_postponement_detail_quota_employee_id" iLabel="ผู้รับการประเมิน" iRequire="true" iGroup="eva_adjust_postponement_detail_quota"></select>
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_sarary" for="eva_adjust_postponement_detail_quota_sarary">เงินเดือน ก่อนปรับเลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_sarary" iLabel="เงินเดือน ก่อนปรับเลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_cost_living" for="eva_adjust_postponement_detail_quota_cost_living">ค่าครองชีพ ก่อนปรับเลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_cost_living" iLabel="ค่าครองชีพ ก่อนปรับเลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_middle" for="eva_adjust_postponement_detail_quota_middle">ค่ากลางฐานในการคำนวณ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_middle" iLabel="ค่ากลางฐานในการคำนวณ" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_promoted_percentage" for="eva_adjust_postponement_detail_quota_promoted_percentage">ร้อยละที่ได้เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_promoted_percentage" iLabel="ร้อยละที่ได้เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_total_promote" for="eva_adjust_postponement_detail_quota_total_promote">จำนวนเงินที่ได้เลื่อน</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_total_promote" iLabel="จำนวนเงินที่ได้เลื่อน" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_new_sarary" for="eva_adjust_postponement_detail_quota_new_sarary">เงินเดือนใหม่</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_new_sarary" iLabel="เงินเดือนใหม่" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_new_cost_living" for="eva_adjust_postponement_detail_quota_new_cost_living">ค่าครองชีพใหม่</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_new_cost_living" iLabel="ค่าครองชีพใหม่" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_receive_quota" for="eva_adjust_postponement_detail_quota_receive_quota">ได้รับเงินโควต้าพิเศษ</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_receive_quota" iLabel="ได้รับเงินโควต้าพิเศษ" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
<div class="form-group col-md-4">
<label id="lab_eva_adjust_postponement_detail_quota_new_sarary_with_quota" for="eva_adjust_postponement_detail_quota_new_sarary_with_quota">เงินเดือนใหม่ (รวมโควต้า)</label>
<input class="form-control" type="number" id="eva_adjust_postponement_detail_quota_new_sarary_with_quota" iLabel="เงินเดือนใหม่ (รวมโควต้า)" iRequire="true" iGroup="eva_adjust_postponement_detail_quota" />
</div>
</div>
<div class='row'>
<div class="form-group col-md-12">
<label id="lab_eva_adjust_postponement_detail_quota_remark" for="eva_adjust_postponement_detail_quota_remark">หมายเหตุ</label>
<textarea class="form-control" rows="4" cols="50" id="eva_adjust_postponement_detail_quota_remark" iLabel="หมายเหตุ" iRequire="true" iGroup="eva_adjust_postponement_detail_quota"></textarea>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">ยกเลิก</button>
<button type="button" class="btn btn-primary" onclick="javascript:eva_adjust_postponement_detail_quota_PutUpdate()">บันทึก</button>
</div>
</div>
</div>
</div>
<div class="row page-title">
<div class="col-md-5">
<div class="page-title">
@@ -177,50 +90,48 @@
<section class="wrapper">
<div class="title"><div class="line"></div>รายชื่อบุคลลากร</div>
<div class="tools">
<div class="row">
<div class="col-md-3">
<button class="btn btn-info" onclick="javascript:eva_adjust_postponement_detail_quota_GoCreate();"><i class="fa fa-plus" style="font-size: 14px;"></i> เพิ่มบุคคลากร ผู้มีสิทธิได้รับเงินโควต้าพิเศษ</button>
</div>
</div>
</div>
<table id="eva_adjust_postponement_detail_quotaTable" class="display table table-bordered table-striped">
<table id="eva_adjust_postponement_detail_quota_02Table" class="display table table-bordered table-striped">
<thead>
<tr>
<th>เครื่องมือ</th>
<th><label id='h_eva_adjust_postponement_detail_quota_emp_code'>รหัสพนักงาน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_emp_fullname'>ชื่อ-นามสกุล</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_emp_position'>ตำแหน่ง</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_emp_level'>ระดับ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_total_score'>คะแนนรวม</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_eva_result'>ผลการประเมิน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_sarary'>เงินเดือน ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_cost_living'>ค่าครองชีพ ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_middle'>ค่ากลางฐานในการคำนวณ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_promoted_percentage'>ร้อยละที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_total_promote'>จำนวนเงินที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_new_sarary'>เงินเดือนใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_new_cost_living'>ค่าครองชีพใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_remark'>หมายเหตุ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_receive_quota'>ได้รับเงินโควต้าพิเศษ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_new_sarary_with_quota'>เงินเดือนใหม่ (รวมโควต้า)</label></th>
<th>ลำดับ</th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_emp_code'>รหัสพนักงาน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_emp_fullname'>ชื่อ-นามสกุล</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_emp_position'>ตำแหน่ง</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_emp_level'>ระดับ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_total_score'>คะแนนรวม</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_eva_result'>ผลการประเมิน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_sarary'>เงินเดือน ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_cost_living'>ค่าครองชีพ ก่อนปรับเลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_middle'>ค่ากลางฐานในการคำนวณ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_promoted_percentage'>ร้อยละที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_total_promote'>จำนวนเงินที่ได้เลื่อน</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_new_sarary'>เงินเดือนใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_new_cost_living'>ค่าครองชีพใหม่</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_receive_quota'>ได้รับเงินโควต้าพิเศษ</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_new_sarary_with_quota'>เงินเดือนใหม่ (รวมโควต้า)</label></th>
<th><label id='h_eva_adjust_postponement_detail_quota_02_remark'>หมายเหตุ</label></th>
</tr>
</thead>
<tbody></tbody>
<tbody class="thin-border-bottom" id="eva_adjust_postponement_detail_quota_02Body"></tbody>
</table>
</section>
@section FooterPlaceHolder{
<script src="~/js/eva_adjust_postponement_quota/eva_adjust_postponement_quota_d.js"></script>
<script src="~/js/eva_adjust_postponement_detail_quota/eva_adjust_postponement_detail_quota.js"></script>
<script src="~/js/eva_adjust_postponement_detail_quota_02/eva_adjust_postponement_detail_quota_02_inline.js"></script>
<script>
$(document).ready(function () {
var id = getUrlParameter("id");
if (id) {
eva_adjust_postponement_quota_SetEditForm(id);
eva_adjust_postponement_detail_quota_InitiateDataTable(id);
eva_adjust_postponement_detail_quota_InitialForm();
eva_adjust_postponement_detail_quota_02_InitialForm(id);
} else {
eva_adjust_postponement_quota_SetCreateForm();
}