| | |
| | | sidePagination: "server", //表示服务端请求 |
| | | columns: //myColumns, |
| | | [{ |
| | | checkbox: true |
| | | checkbox: true, |
| | | formatter:function (value, row, index) { |
| | | if(row.ems_status === 1){//如果已经操作禁止选择 |
| | | return { disabled : true,} |
| | | }else{ |
| | | return { disabled : false,} |
| | | } |
| | | } |
| | | }, { |
| | | field: "lgnum", |
| | | title: "仓库号", |
| | |
| | | // 获取当前行 |
| | | var row = $("#test-table").bootstrapTable('getSelections'); |
| | | var paramList = []; |
| | | |
| | | if (row.length > 0) { |
| | | row.map(function (item) { |
| | | paramList.push({ |
| | | lgnum: item.lgnum, |
| | | tanum: item.tanum, |
| | | tapos: item.tapos, |
| | | vlpla: item.vlpla, |
| | | }) |
| | | }); |
| | | } |
| | |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | |
| | | //导出 |
| | | function ExportExcel(){ |
| | | if(confirm("确认导出excel?")){ |
| | | var url = "work/exportWaitPakOut.action?"; |
| | | url += "matnr=" + $("#search_sheet_no").val(); |
| | | url += "&maktx=" + $("#search_mat_no").val(); |
| | | url += "&loc_no=" + $("#loc_no").val(); |
| | | location.href=url; |
| | | }else{ |
| | | return false; |
| | | } |
| | | } |