20260806 ::

1. 지출결의서 비고 명칭 변경(지출결의서의 비고(내용,수량,단가 등)을 사용내역(상세내역 작성필수) 으로 변경)
2. 면접원수당 및 내근직수당 검토/승인(관리부서) 단계 활성화
This commit is contained in:
2026-08-06 14:24:34 +09:00
parent dca58ac2b3
commit 96941fb4c4
8 changed files with 260 additions and 39 deletions

View File

@@ -309,9 +309,9 @@
var tmpHTML = "";
$.each(tmpJsonList, function(idx, obj){
tmpHTML += '<tr id="tr_'+ obj.d_no +'">';
tmpHTML += ' <td class="text-center"><a href="javascript:openit(\''+ obj.d_no.substr(9, 1) +'\',\''+ obj.d_no +'\', \'' + step + '\')">'+ obj.d_no +'</a></td>';
tmpHTML += ' <td class="text-center"><a href="javascript:openit(\''+ obj.d_no.substr(9, 1) +'\',\''+ obj.d_no +'\', \'' + step + '\', \''+ obj.p_subject +'\')">'+ obj.d_no +'</a></td>';
// tmpHTML += ' <td class="text-left">'+ (obj.p_child_sn == "" ? "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǽ<EFBFBD>" : "["+ obj.p_child_sn +"] "+ obj.p_subject) +'</td>';
tmpHTML += ' <td class="text-left">' + (obj.p_child_sn == "" ? (obj.p_subject == "<22>ڱ<EFBFBD><DAB1><EFBFBD><EFBFBD>༭" ? "<22>ڱ<EFBFBD><DAB1><EFBFBD><EFBFBD>༭" : "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǽ<EFBFBD>") : "[" + obj.p_child_sn + "] " + obj.p_subject) + '</td>';
tmpHTML += ' <td class="text-left">' + (obj.p_child_sn == "" ? obj.p_subject : "[" + obj.p_child_sn + "] " + obj.p_subject) + '</td>';
tmpHTML += ' <td class="text-center">'+ obj.client +'</td>';
tmpHTML += ' <td class="text-center">'+ obj.hangmok +'-'+ obj.sebu +'</td>';
tmpHTML += ' <td class="text-center">'+ commify(obj.cost) +'</td>';
@@ -342,8 +342,7 @@
$("#sumTable > tbody > tr > td:eq("+ idxArr[obj.cost_type] +")").html(commify(obj.cost));
});
}
function openit(z, x, y){
function openit(z, x, y, subject){
var tmp_height = 960;
var tmp_width = 850;
if (z == 'i'){
@@ -355,6 +354,12 @@
}else if (z == 'r'){
var title_type = "<22>ڱ<EFBFBD>";
var url = '/ess/doc_expense2_print.asp?rev_type=' + y + '&d_no=' + x + '&view_chk=1&x=1&title_type=' + title_type;
}else if (z == 't'){
if(subject == "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǽ<EFBFBD>"){
var url = '/ess/doc_myun_pay_print2.asp?rev_type=' + y + '&d_no=' + x + '&view_chk=1&x=1';
}else{
var url = '/ess/doc_myun_pay_print.asp?rev_type=' + y + '&d_no=' + x + '&view_chk=1&x=1';
}
}
window.open(url, '', 'left=0,top=0,width=' + tmp_width + ',height=' + tmp_height + ',scrollbars=yes,resizable=yes')
}