목록Some Memos/JQGRID (4)
Wanna be Brilliant Full-Stack Developer
function org_reg_change_status() { //완료처리(수정) var data = $("#ord_reg_grid").jqGrid("getGridParam", "selarrrow"); var gu5 = String.fromCharCode(5); var list = []; var completeList = []; for (var i = 0; i < data.length; i++) { list.push(data[i]); // 선택한 셀의 상태가 "완료"인지 확인 var status = $("#ord_reg_grid").jqGrid("getCell", data[i], "status"); if (status == "완료") { list.shift(data[i]); completeList.pus..
function stock_out_jqGrid_main() { $("#stock_out_grid").jqGrid({ datatype: "local", mtype: 'POST', colNames : ['출고번호','출고일자','품번','품명','업체코드','업체','수량','등록자','등록일시'], colModel : [ {name: 'out_no', index: 'out_no',width:100, fixed: true, sortable: false, key: true, hidden:true}, {name: 'work_date', index: 'work_date', width:100, fixed: true, sortable: false}, {name: 'part_code', index: 'part_code..
function saveStock_out() { var obj_data = {} var data_list = $(".form-control"); var list = []; var gu5 = String.fromCharCode(5); var check = 'Y'; data_list.each(function (index, item) { obj_data[item.name] = $(item).val(); }); obj_data.stock_keywrod = stock_keyword; obj_data.keyword = keyword; obj_data.work_date = obj_data.work_date.replaceAll('-',''); obj_data.list = list.join(gu5); console.lo..
function makeTable() { $("#table_modal").jqGrid({ datatype: "local", height : 350, width: 630, colNames: ['key','원인코드','사유명'], colModel: [ {name: 'key', index: 'key',key:true, align: 'right',hidden:true}, {name: 'reason_code', index: 'reason_code', align: 'right',editable :true}, {name: 'reason_name', index: 'reason_name', align: 'right',editable :true}, ], caption: "모달 작업창", multiselect : true,..