| | |
| | | if (!Cools.isEmpty(locNo) && !locNo.equals("null")) { |
| | | bean.setLoc_no(locNo); |
| | | } |
| | | String lev1 = String.valueOf(param.get("lev1")); |
| | | if (!Cools.isEmpty(locNo) && !locNo.equals("null")) { |
| | | bean.setLev1(Integer.parseInt(lev1)); |
| | | } |
| | | String floor = String.valueOf(param.get("floor")); |
| | | if (!Cools.isEmpty(locNo) && !locNo.equals("null")) { |
| | | bean.setFloor(Integer.parseInt(floor)); |
| | | } |
| | | String matnr = String.valueOf(param.get("matnr")); |
| | | if (!Cools.isEmpty(locNo) && !locNo.equals("null")) { |
| | | bean.setMatnr(matnr); |
| | | } |
| | | String maktx = String.valueOf(param.get("maktx")); |
| | | if (!Cools.isEmpty(locNo) && !locNo.equals("null")) { |
| | | bean.setMaktx(maktx); |
| | | } |
| | | String locType1 = String.valueOf(param.get("locType1")); |
| | | if (!Cools.isEmpty(locNo) && !locNo.equals("null")) { |
| | | bean.setMaktx(locType1); |
| | | } |
| | | // List<ViewStayTimeBean> list = reportQueryMapper.queryViewStayTimeList(bean); |
| | | // int count = reportQueryMapper.getViewStayTimeCount(bean); |
| | | List<ViewStayTimeBean> list = reportQueryMapper.queryAllViewStayTimeList(bean); |
| | |
| | | @ApiModelProperty(value= "物料号") |
| | | private String matnr; |
| | | |
| | | private Integer floor; |
| | | |
| | | private Integer lev1; |
| | | |
| | | private Integer locType1; |
| | | |
| | | @ApiModelProperty(value= "物料号") |
| | | private String maktx; |
| | | |
| | |
| | | @ApiModelProperty(value= "单据编号") |
| | | @TableField("order_no") |
| | | private String orderNo; |
| | | |
| | | private String order_no; |
| | | |
| | | |
| | | @ApiModelProperty(value= "规格") |
| | | private String specs; |
| | |
| | | @ApiModelProperty(value= "三方编码") |
| | | private String three_code; |
| | | |
| | | |
| | | @ApiModelProperty(value= "供应商") |
| | | private String supp; |
| | | |
| | |
| | | # url: http://39.184.149.30:8877 |
| | | # orderReportPath: /DBMS/U8/CM/add |
| | | mes: |
| | | report: true |
| | | report: false |
| | | url: https://v3-ali.blacklake.cn/api/openapi/domain/web/v1/route |
| | | orderReportPath: /inventory/open/v2/transfer_order/ordinary/_execute |
| | | pakinReportPath: /inventory/open/v2/inbound_order/execute/_inbound |
| | |
| | | </if> |
| | | </sql> |
| | | |
| | | <sql id="viewStayTimeConditionSql2"> |
| | | <if test="loc_no!=null and loc_no!='' "> |
| | | and asr_loc_mast.loc_no like '%' + #{loc_no} + '%' |
| | | </if> |
| | | <if test="floor!=null and floor!='' "> |
| | | and floor = #{floor} |
| | | </if> |
| | | <if test="locType1!=null and locType1!='' "> |
| | | and loc_type1 = #{locType1} |
| | | </if> |
| | | <if test="lev1!=null and lev1!='' "> |
| | | and lev1 = #{lev1} |
| | | </if> |
| | | <if test="matnr!=null and matnr!='' "> |
| | | and matnr like '%' + #{matnr} + '%' |
| | | </if> |
| | | <if test="stay_time!=null and stay_time!='' "> |
| | | and stay_time > #{stay_time} |
| | | </if> |
| | | <if test="maktx!=null and maktx!='' "> |
| | | and (maktx like '%' + #{maktx} + '%' |
| | | ) |
| | | </if> |
| | | <if test="begin_date!=null and begin_date!='' "> |
| | | <![CDATA[ |
| | | and appe_time >= #{begin_date} |
| | | ]]> |
| | | </if> |
| | | <if test="end_date!=null and end_date!='' "> |
| | | <![CDATA[ |
| | | and appe_time <= #{end_date} |
| | | ]]> |
| | | </if> |
| | | </sql> |
| | | |
| | | |
| | | <!-- 分页查询所有信息 --> |
| | | <select id="queryViewStayTimeList" parameterType="com.zy.asrs.entity.ViewStayTimeBean" resultType="com.zy.asrs.entity.ViewStayTimeBean"> |
| | | select |
| | |
| | | , all_loc_detl.* |
| | | FROM all_loc_detl |
| | | where 1=1 |
| | | <include refid="viewStayTimeConditionSql"></include> |
| | | <include refid="viewStayTimeConditionSql2"></include> |
| | | ) t |
| | | left join (select matnr as c ,store_max_date,store_max,store_min from man_mat) b |
| | | on t.matnr = b.c |
| | |
| | | , all_loc_detl.* |
| | | FROM all_loc_detl |
| | | where 1=1 |
| | | <include refid="viewStayTimeConditionSql"></include> |
| | | <include refid="viewStayTimeConditionSql2"></include> |
| | | ) t |
| | | ) a |
| | | </select> |
| | |
| | | |
| | | cols.push.apply(cols, detlCols); |
| | | cols.push({field: 'modiUser$', align: 'center',title: '修改人员',hide: true} |
| | | ,{field: 'appUser$', align: 'center',title: '用户'} |
| | | ,{field: 'modiTime$', align: 'center',title: '修改时间',hide: true} |
| | | ) |
| | | return cols; |
| | |
| | | // ,{field: 'crnStrTime$', align: 'center',title: '堆垛机启动时间'} |
| | | // ,{field: 'crnEndTime$', align: 'center',title: '堆垛机停止时间'} |
| | | // ,{field: 'refIotime$', align: 'center',title: '拣料时间'} |
| | | ,{field: 'appeUser$', align: 'center',title: '用户'} |
| | | ,{field: 'appeTime$', align: 'center',title: '开始时间', hide:false, width: 160} |
| | | ,{field: 'modiUser$', align: 'center',title: '修改人员', hide:true} |
| | | ,{field: 'modiTime$', align: 'center',title: '修改时间', hide:true, width: 160} |
| | |
| | | ,{field: 'ioPri', align: 'center',title: '优先级'} |
| | | ,{field: 'sourceLocNo', align: 'center',title: '源库位'} |
| | | ,{field: 'locNo', align: 'center',title: '目标库位'} |
| | | ,{field: 'modiUser$', align: 'center',title: '修改人员', hide:true} |
| | | ,{field: 'appeUser$', align: 'center',title: '用户'} |
| | | ,{field: 'appeTime$', align: 'center',title: '开始时间', hide:false} |
| | | ,{field: 'barcode', align: 'center',title: '货架码'} |
| | | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width: 80} |
| | |
| | | //{field: 'postFee', align: 'center', title: '总数量', minWidth: 130, width: 130}, |
| | | {align: 'center', title: '明细', toolbar: '#tbLook', minWidth: 160, width: 160}, |
| | | {field: 'createTime$', title: '创建时间', hide: true}, |
| | | {field: 'createBy$', title: '创建人'}, |
| | | {field: 'orderTime', align: 'center',title: '单据日期'}, |
| | | {field: 'shipCode', align: 'center',title: '制单人', hide: false}, |
| | | //{field: 'shipCode', align: 'center',title: '制单人', hide: false}, |
| | | {field: 'settle$', align: 'center', title: '状态', templet: '#settleTpl', minWidth: 160, width: 160}, |
| | | {field: 'memo', align: 'center',title: '备注', hide: true}, |
| | | {field: 'cstmrName', align: 'center',title: '供应商/客户编码', hide: true}, |
| | |
| | | {field: 'appeTime$', title: '入库时间', align: 'center', width: 200} |
| | | ,{field: 'stay_time', align: 'center',title: '滞留天数'} |
| | | ,{field: 'loc_no', align: 'center',title: '库位号'} |
| | | ,{field: 'zpallet', align: 'center',title: '货架条码', hide: false} |
| | | // ,{field: 'suppCode', align: 'center',title: '货架码', hide: false} |
| | | ,{field: 'matnr', align: 'center',title: '商品编码'} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'batch', align: 'center',title: '批次自由项'} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称'} |
| | | ,{field: 'order_no', align: 'center',title: '单据编号', hide: false} |
| | | ,{field: 'three_code', align: 'center',title: '销售订单号'} |
| | | ,{field: 'deadTime', align: 'center',title: '销售订单行号' ,hide: true} |
| | | ,{field: 'specs', align: 'center',title: '规格型号', hide: true} |
| | | ,{field: 'model', align: 'center',title: '通用型号', hide: true} |
| | | ,{field: 'processSts$', align: 'center',title: '工序', hide: true} |
| | | |
| | | ,{field: 'brand', align: 'center',title: '商品分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '商品分类名称', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '计量单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '进项税', hide: true} |
| | | ,{field: 'units', align: 'center',title: '销项税', hide: true} |
| | | ,{field: 'dsDate', align: 'center',title: '启用日期', hide: true} |
| | | ,{field: 'supp', align: 'center',title: '建档人', hide: true} |
| | | ,{field: 'dInvCreateDatetime', align: 'center',title: '建档日期', hide: true} |
| | | ]; |
| | | cols.push.apply(cols, detlCols); |
| | | //cols.push.apply(cols, detlCols); |
| | | return cols; |
| | | } |
| | | |
| | |
| | | <script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/agvWrkLog/wrkLog.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/agvWrkLog/wrkLog.js?v=1" charset="utf-8"></script> |
| | | |
| | | <iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe> |
| | | |
| | |
| | | <script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/agvWrkMast/wrkMast.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/agvWrkMast/wrkMast.js?v=2" charset="utf-8"></script> |
| | | |
| | | <iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe> |
| | | |
| | |
| | | <script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/agvWrkMastLog/wrkMastLog.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/agvWrkMastLog/wrkMastLog.js?v=1" charset="utf-8"></script> |
| | | |
| | | <iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe> |
| | | |
| | |
| | | <input class="layui-input" type="text" name="loc_no" placeholder="库位号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料编号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="maktx" placeholder="物料名称" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline cool-auto-complete"> |
| | | <input id="locType1" class="layui-input" type="text" style="display: none" name="loc_type1"> |
| | | <input id="locType1$" placeholder="库位类型" class="layui-input cool-auto-complete-div" onclick="autoShow(this.id)" type="text" onfocus=this.blur()> |
| | | <div class="cool-auto-complete-window"> |
| | | <input class="cool-auto-complete-window-input" data-key="basLocType1QueryBylocType1" onkeyup="autoLoad(this.getAttribute('data-key'))"> |
| | | <select class="cool-auto-complete-window-select" data-key="basLocType1QueryBylocType1Select" onchange="confirmed(this.getAttribute('data-key'))" multiple="multiple"> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="lev1" placeholder="层" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="floor" placeholder="楼" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <!-- 待添加 --> |
| | | <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="search" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="search">搜索 |
| | | </button> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/report/stayTime.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/report/stayTime.js?v=2" charset="utf-8"></script> |
| | | </body> |
| | | </html> |
| | | |