Merge remote-tracking branch 'origin/bfasrs' into bfasrs
| | |
| | | return R.error(); |
| | | } |
| | | |
| | | if (!locMast.getLocSts().equals("F") && !Cools.isEmpty(locMast.getFrozen()) && locMast.getFrozen() == 1) { |
| | | return R.error("åºåå¨åºç¶ææè½å»ç»"); |
| | | } |
| | | |
| | | WrkMast wrkMast = wrkMastService.selectOne(new EntityWrapper<WrkMast>() |
| | | .eq("source_loc_no", locMast.getLocNo()) |
| | | .or().eq("loc_no", locMast.getLocNo())); |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime); |
| | | } |
| | | |
| | | public String getFrozen$() { |
| | | if (null == this.frozen){ return null; } |
| | | switch (this.frozen){ |
| | | case 0: |
| | | return ""; |
| | | case 1: |
| | | return "å·²å»ç»"; |
| | | default: |
| | | return null; |
| | | } |
| | | } |
| | | } |
| | |
| | | from asr_loc_detl a |
| | | left join asr_loc_mast b on a.loc_no = b.loc_no |
| | | where 1=1 |
| | | and b.loc_sts = 'F' |
| | | and b.loc_sts = 'F' and b.frozen != 1 |
| | | and a.matnr = #{matnr} |
| | | and b.row1 >= 1 |
| | | and b.row1 <= 3 |
| | |
| | | from asr_loc_detl a |
| | | left join asr_loc_mast b on a.loc_no = b.loc_no |
| | | where 1=1 |
| | | and b.loc_sts = 'F' |
| | | and b.loc_sts = 'F' and b.frozen != 1 |
| | | and a.matnr = #{matnr} |
| | | and b.row1 >= 4 |
| | | and b.row1 <= 7 |
| | |
| | | from asr_loc_detl a |
| | | left join asr_loc_mast b on a.loc_no = b.loc_no |
| | | where 1=1 |
| | | and b.loc_sts = 'F' |
| | | and b.loc_sts = 'F' and b.frozen != 1 |
| | | and a.matnr = #{matnr} |
| | | and b.row1 >= 8 |
| | | and b.row1 <= 11 |
| | |
| | | from asr_loc_detl a |
| | | left join asr_loc_mast b on a.loc_no = b.loc_no |
| | | where 1=1 |
| | | and b.loc_sts = 'F' |
| | | and b.loc_sts = 'F' and b.frozen != 1 |
| | | and a.matnr = #{matnr} |
| | | and b.row1 >= 12 |
| | | and b.row1 <= 14 |
| | |
| | | from asr_loc_detl a |
| | | left join asr_loc_mast b on a.loc_no = b.loc_no |
| | | where 1=1 |
| | | and b.loc_sts = 'F' |
| | | and b.loc_sts = 'F' and b.frozen != 1 |
| | | and a.matnr = #{matnr} |
| | | and b.row1 >= 15 |
| | | and b.row1 <= 18 |
| | |
| | | from asr_loc_detl a |
| | | left join asr_loc_mast b on a.loc_no = b.loc_no |
| | | where 1=1 |
| | | and b.loc_sts = 'F' |
| | | and b.loc_sts = 'F' and b.frozen != 1 |
| | | and a.matnr = #{matnr} |
| | | and b.row1 >= 19 |
| | | and b.row1 <= 21 |
| | |
| | | ) |
| | | and a.matnr = #{matnr} |
| | | and b.bay1 = #{bay} |
| | | and b.loc_sts = 'F' |
| | | and b.loc_sts = 'F' and b.frozen != 1 |
| | | order by b.row1 asc |
| | | </select> |
| | | |
| | |
| | | // ,{field: 'ctnType', align: 'center',title: ''} |
| | | // ,{field: 'locSts', align: 'center',title: ''} |
| | | // ,{field: 'sheetNo', align: 'center',title: ''} |
| | | ,{field: 'frozen', align: 'center',title: 'å»ç»ç¶æ'} |
| | | ,{field: 'frozen$', align: 'center',title: 'å»ç»ç¶æ'} |
| | | ,{field: 'crnNo', align: 'center',title: 'å åæºå·'} |
| | | ,{field: 'row1', align: 'center',title: 'æ', sort:true} |
| | | ,{field: 'bay1', align: 'center',title: 'å', sort:true} |
| | |
| | | ,{field: 'locType1$', align: 'center',title: 'é«ä½ç±»å'} |
| | | // ,{field: 'locType2$', align: 'center',title: '宽çªç±»å'} |
| | | // ,{field: 'locType3$', align: 'center',title: 'è½»éç±»å'} |
| | | |
| | | // ,{field: 'frozen$', align: 'center',title: 'æ¯å¦å»ç»'} |
| | | ,{fixed: 'right', title:'æä½', align: 'center', toolbar: '#operate', width:100} |
| | | ]], |
| | | request: { |
| | |
| | | barcode: $('#barcode').val(), |
| | | PdcType: $('#PdcType').val(), |
| | | ctnNo: $('#ctnNo').val(), |
| | | |
| | | frozen: $('#frozen').val() |
| | | }; |
| | | $.ajax({ |
| | | url: baseUrl+"/locMast/"+name+"/auth", |
| | |
| | | html += "disabled='disabled' >"; |
| | | return html; |
| | | },width:80} |
| | | ,{field: 'frozen$', align: 'center',title: 'å»ç»ç¶æ'} |
| | | ,{field: 'modiUser$', align: 'center',title: 'ä¿®æ¹äººå'} |
| | | ,{field: 'modiTime$', align: 'center',title: 'ä¿®æ¹æ¶é´', width: 180} |
| | | ,{ fixed: 'right', title:'æä½', align: 'center', toolbar: '#operate'} |
| | |
| | | <div id="data-search-btn" class="layui-btn-container layui-form-item" style="display: inline-block"> |
| | | <button id="search" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="search">æç´¢</button> |
| | | <button id="reset" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="reset">éç½®</button> |
| | | <button id="unreason" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="unreason">æ¥çå¼å¸¸æ°æ®</button> |
| | | <!-- <button id="unreason" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="unreason">æ¥çå¼å¸¸æ°æ®</button>--> |
| | | </div> |
| | | |
| | | </div> |
| | |
| | | <input id="sheetNo" class="layui-input" type="text"> |
| | | </div> |
| | | </div> |
| | | <!-- å»ç» --> |
| | | <div class="layui-inline" style="width:80%;"> |
| | | <label class="layui-form-label">å»ç»</label> |
| | | <div class="layui-input-inline"> |
| | | <select id="frozen" name="frozen"> |
| | | <option style="display: none"></option> |
| | | <option value="0">æªå»ç»</option> |
| | | <option value="1">å»ç»</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline" style="width:80%;"> |
| | | <label class="layui-form-label">å åæºå·ï¼</label> |
| | | <div class="layui-input-inline"> |
| | |
| | | asr_check_record |
| | | ``` |
| | | |
| | | æ°å¢å»ç»å段frozen int é»è®¤å¼0 |
| | | ç»ææ¡£ï¼å
¥åºéç¥æ¡£/å岿¡£è¡¨ |
| | | å·¥ä½ä¸»æ¡£/å岿¡£ |
| | | åºåæ¡£ |
| | | å·²æåºåæ°æ®éè¦åå§åfrozenå¼ä¸º0 |
| | | |