20261007 :: 경영문화본부 요청사항 반영
This commit is contained in:
@@ -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.p_subject +'\')">'+ 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.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 : "[" + 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-center">'+ obj.client +'</td>';
|
||||
tmpHTML += ' <td class="text-center">'+ obj.hangmok +'-'+ obj.sebu +'</td>';
|
||||
tmpHTML += ' <td class="text-center">'+ commify(obj.cost) +'</td>';
|
||||
@@ -342,7 +342,8 @@
|
||||
$("#sumTable > tbody > tr > td:eq("+ idxArr[obj.cost_type] +")").html(commify(obj.cost));
|
||||
});
|
||||
}
|
||||
function openit(z, x, y, subject){
|
||||
|
||||
function openit(z, x, y){
|
||||
var tmp_height = 960;
|
||||
var tmp_width = 850;
|
||||
if (z == 'i'){
|
||||
@@ -354,12 +355,6 @@
|
||||
}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')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user