fix : 1:1문의 게시글관리(관리자)
This commit is contained in:
@@ -1914,3 +1914,29 @@ function history_add(serializeData){
|
||||
window.history.replaceState({}, '', currentUrl.toString());
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 주문번호를 받아 새창에 주문상세화면 호출
|
||||
*/
|
||||
const fn_comm_go_ordr_dtl = function(ordrInnb) {
|
||||
// form 생성
|
||||
var form = document.createElement('form');
|
||||
form.method = 'POST';
|
||||
form.action = '/mngr/ordr/ordrmngr/selectOrdrDtlInqire';
|
||||
form.target = '_blank'; // 새 창
|
||||
|
||||
// 파라미터 input 생성
|
||||
var input = document.createElement('input');
|
||||
input.type = 'hidden';
|
||||
input.name = 'ordrInnb';
|
||||
input.value = ordrInnb;
|
||||
|
||||
form.appendChild(input);
|
||||
|
||||
// body에 form 추가 후 submit
|
||||
document.body.appendChild(form);
|
||||
form.submit();
|
||||
|
||||
// submit 후 form 제거 (메모리 관리)
|
||||
document.body.removeChild(form);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user