fix : 주문 > 주문 관리 > 전체주문조회 > 프린트 - 발주서 다운로드 화면으로 대체
This commit is contained in:
@@ -446,22 +446,23 @@
|
||||
* 열 헤더, 푸터 > 프린트 버튼 클릭 이벤트
|
||||
*/
|
||||
$(document).on('click', '[class*="btn-order-print"]', function() {
|
||||
const tr = ($(this).attr('class').split(' ')[0]).replace('btn-order-print-', 'order-sttus-cd-');
|
||||
const rowCheckboxs = $('.' + tr).closest('#orderList').find('.' + tr + ' input[name="ordrInnb"]:checked');
|
||||
fn_select_dwld_purch_ordr_list();
|
||||
/*const tr = ($(this).attr('class').split(' ')[0]).replace('btn-order-print-', 'order-sttus-cd-');
|
||||
const rowCheckboxs = $('.' + tr).closest('#orderList').find('.' + tr + ' input[name="ordrInnb"]:checked');
|
||||
|
||||
if (rowCheckboxs.length === 0) {
|
||||
alert('선택값이 없습니다.');
|
||||
if (rowCheckboxs.length === 0) {
|
||||
alert('선택값이 없습니다.');
|
||||
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
let ordrInnbs = [];
|
||||
let ordrInnbs = [];
|
||||
|
||||
$(rowCheckboxs).each(function(idx, item) {
|
||||
ordrInnbs.push($(item).val());
|
||||
});
|
||||
$(rowCheckboxs).each(function(idx, item) {
|
||||
ordrInnbs.push($(item).val());
|
||||
});
|
||||
|
||||
fn_go_ordr_dtstmn_dwld_popup(ordrInnbs)
|
||||
fn_go_ordr_dtstmn_dwld_popup(ordrInnbs)*/
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user