| | |
| | | for (LocMast mast : insideLocMast) { |
| | | if (!mast.getLocSts().equals("D") |
| | | && !mast.getLocSts().equals("F") |
| | | && !mast.getLocSts().equals("O") |
| | | && !mast.getLocSts().equals("X")) { |
| | | //D、F、X(不能选定这个外侧库位) |
| | | return true; |
| | |
| | | |
| | | //103站分配1,2堆垛机 |
| | | crnNos.add(1); |
| | | // crnNos.add(2); |
| | | crnNos.add(2); |
| | | |
| | | //分配1,7,8,14排 |
| | | rows.add(1); |
| | |
| | | end = 21; |
| | | |
| | | //203站分配2,3堆垛机 |
| | | // crnNos.add(2); |
| | | crnNos.add(2); |
| | | crnNos.add(3); |
| | | |
| | | //分配8,14,15,21排 |
| | |
| | | } |
| | | |
| | | //3号可以入库前必须打开控制 |
| | | if (!Cools.isEmpty(matNos) && crnNo != 2) { |
| | | if (!Cools.isEmpty(matNos)) { |
| | | for (String matNo : matNos) { |
| | | Mat mat = matService.selectByMatnr(matNo); |
| | | if (matType == null) { |
| | |
| | | ,{field: 'locSts$', align: 'center',title: '库位状态', width: 180, style: 'color: #8E2323'} |
| | | // ,{field: 'whsType$', align: 'center',title: '库位类型'} |
| | | ,{field: 'crnNo', align: 'center',title: '堆垛机号'} |
| | | ,{field: 'row1', align: 'center',title: '排'} |
| | | ,{field: 'bay1', align: 'center',title: '列'} |
| | | ,{field: 'lev1', align: 'center',title: '层'} |
| | | ,{field: 'fullPlt', align: 'center',title: '满板', templet:function(row){ |
| | | var html = "<input value='fullPlt' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'"; |
| | | if(row.fullPlt === 'Y'){html += " checked ";} |
| | | html += "disabled='disabled' >"; |
| | | return html; |
| | | },width:80} |
| | | // ,{field: 'row1', align: 'center',title: '排'} |
| | | // ,{field: 'bay1', align: 'center',title: '列'} |
| | | // ,{field: 'lev1', align: 'center',title: '层'} |
| | | // ,{field: 'fullPlt', align: 'center',title: '满板', templet:function(row){ |
| | | // var html = "<input value='fullPlt' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'"; |
| | | // if(row.fullPlt === 'Y'){html += " checked ";} |
| | | // html += "disabled='disabled' >"; |
| | | // return html; |
| | | // },width:80} |
| | | ,{field: 'frozen$', align: 'center',title: '冻结状态'} |
| | | ,{field: 'locType2$', align: 'center',title: '库位类型'} |
| | | ,{field: 'modiUser$', align: 'center',title: '修改人员'} |
| | | ,{field: 'modiTime$', align: 'center',title: '修改时间', width: 180} |
| | | ,{ fixed: 'right', title:'操作', align: 'center', toolbar: '#operate'} |