ปรับปรุงสูตรและซ่อนปุ่ม
This commit is contained in:
@@ -160,9 +160,19 @@ function CalculateRemainQuota(m) {
|
||||
var new_sarary_with_quota = new_sarary + receive_quota;
|
||||
$("#eva_adjust_postponement_detail_quota_02_new_sarary_with_quota_" + i).text(formatNumber(new_sarary_with_quota));
|
||||
|
||||
//if (m) {
|
||||
// if (new_sarary_with_quota < 13285) {
|
||||
// $("#eva_adjust_postponement_detail_quota_02_new_cost_living_" + i).val(formatNumber(13285 - new_sarary_with_quota));
|
||||
// } else {
|
||||
// $("#eva_adjust_postponement_detail_quota_02_new_cost_living_" + i).val(0);
|
||||
// }
|
||||
//}
|
||||
|
||||
if (m) {
|
||||
if (new_sarary_with_quota < 13285) {
|
||||
$("#eva_adjust_postponement_detail_quota_02_new_cost_living_" + i).val(formatNumber(13285 - new_sarary_with_quota));
|
||||
if (new_salary <= 11285) {
|
||||
$("#eva_adjust_postponement_detail_quota_02_new_cost_living_" + i).val(2000);
|
||||
} else if (new_salary <= 13285) {
|
||||
$("#eva_adjust_postponement_detail_quota_02_new_cost_living_" + i).val(13285 - new_sarary_with_quota);
|
||||
} else {
|
||||
$("#eva_adjust_postponement_detail_quota_02_new_cost_living_" + i).val(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user