ปรับปรุงหน้า โควต้า

This commit is contained in:
LAPTOP-KB8JC2K2\acer
2021-04-22 15:46:02 +07:00
parent 38913028d7
commit 0e741b6612
2 changed files with 9 additions and 6 deletions

View File

@@ -186,7 +186,7 @@ function eva_adjust_postponement_detail_normal_02_Get(a, blankItem) {
eva_adjust_postponement_detail_normal_02_FeedDataToForm(data, (i + 1), blankItem); eva_adjust_postponement_detail_normal_02_FeedDataToForm(data, (i + 1), blankItem);
}); });
//eva_adjust_postponement_detail_normal_02_Summary(); //eva_adjust_postponement_detail_normal_02_Summary();
//Oneva_adjust_postponement_detail_normal_02_promoted_percentageChanged(false); Oneva_adjust_postponement_detail_normal_02_promoted_percentageChanged(false);
endLoad(); endLoad();
}; };
startLoad(); startLoad();

View File

@@ -160,11 +160,14 @@ function CalculateRemainQuota() {
var new_sarary_with_quota = new_sarary + receive_quota; 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)); $("#eva_adjust_postponement_detail_quota_02_new_sarary_with_quota_" + i).text(formatNumber(new_sarary_with_quota));
if (new_sarary_with_quota < 13285) { //if (m) {
$("#eva_adjust_postponement_detail_quota_02_new_cost_living_" + i).text(formatNumber(13285-new_sarary_with_quota)); // if (new_sarary_with_quota < 13285) {
} else { // $("#eva_adjust_postponement_detail_quota_02_new_cost_living_" + i).val(formatNumber(13285 - new_sarary_with_quota));
$("#eva_adjust_postponement_detail_quota_02_new_cost_living_" + i).text(0); // } else {
} // $("#eva_adjust_postponement_detail_quota_02_new_cost_living_" + i).val(0);
// }
//}
sum_receive_quota += receive_quota; sum_receive_quota += receive_quota;
} }