| | |
| | | path = orgAddress; |
| | | break; |
| | | case "PUR_RECEIVEBIll": //已审核收料单查询 |
| | | jsonObject.put("start_biztime", latestUpdateTime);//业务起始日期 |
| | | jsonObject.put("start_biztime", "2026-03-28");//业务起始日期 |
| | | jsonObject.put("end_biztime", sdf1.format(now));//业务结束日期 |
| | | jsonObject.put("billno", null); |
| | | jsonObject.put("billstatus", Arrays.asList("C"));//数据状态 [A:暂存, B:已提交, C:已审核] |
| | |
| | | <if test="anfme != null and anfme != ''"> |
| | | and anfme = #{anfme} |
| | | </if> |
| | | <if test="standby1!=null and standby1!='' "> |
| | | and standby1 like '%' + #{standby1} + '%' |
| | | </if> |
| | | <if test="standby2!=null and standby2!='' "> |
| | | and standby2 like '%' + #{standby2} + '%' |
| | | </if> |
| | | <if test="standby3!=null and standby3!='' "> |
| | | and standby3 like '%' + #{standby3} + '%' |
| | | </if> |
| | | <if test="boxType1!=null and boxType1!='' "> |
| | | and box_type1 like '%' + #{boxType1} + '%' |
| | | </if> |
| | | <if test="boxType2!=null and boxType2!='' "> |
| | | and box_type2 like '%' + #{boxType2} + '%' |
| | | </if> |
| | | <if test="boxType3!=null and boxType3!='' "> |
| | | and box_type3 like '%' + #{boxType3} + '%' |
| | | </if> |
| | | <!-- <if test="maktx!=null and maktx!='' ">--> |
| | | <!-- and (maktx like '%' + #{maktx} + '%'--> |
| | | <!-- or matnr like '%' + #{maktx} + '%'--> |
| | |
| | | <if test="matnr!=null and matnr!='' "> |
| | | and matnr like '%' + #{matnr} + '%' |
| | | </if> |
| | | <if test="maktx!=null and maktx!='' "> |
| | | and (maktx like '%' + #{maktx} + '%' |
| | | or matnr like '%' + #{maktx} + '%' |
| | | or lgnum like '%' + #{maktx} + '%' |
| | | or tbnum like '%' + #{maktx} + '%' |
| | | or tbpos like '%' + #{maktx} + '%' |
| | | or zmatid like '%' + #{maktx} + '%' |
| | | or maktx like '%' + #{maktx} + '%' |
| | | or werks like '%' + #{maktx} + '%' |
| | | or anfme like '%' + #{maktx} + '%' |
| | | or altme like '%' + #{maktx} + '%' |
| | | or zpallet like '%' + #{maktx} + '%' |
| | | or bname like '%' + #{maktx} + '%' |
| | | ) |
| | | <if test="standby1!=null and standby1!='' "> |
| | | and standby1 like '%' + #{standby1} + '%' |
| | | </if> |
| | | <if test="standby2!=null and standby2!='' "> |
| | | and standby2 like '%' + #{standby2} + '%' |
| | | </if> |
| | | <if test="standby3!=null and standby3!='' "> |
| | | and standby3 like '%' + #{standby3} + '%' |
| | | </if> |
| | | <if test="boxType1!=null and boxType1!='' "> |
| | | and box_type1 like '%' + #{boxType1} + '%' |
| | | </if> |
| | | <if test="boxType2!=null and boxType2!='' "> |
| | | and box_type2 like '%' + #{boxType2} + '%' |
| | | </if> |
| | | <if test="boxType3!=null and boxType3!='' "> |
| | | and box_type3 like '%' + #{boxType3} + '%' |
| | | </if> |
| | | <if test="begin_date!=null and begin_date!='' "> |
| | | <![CDATA[ |
| | |
| | | select * |
| | | from asr_wrkout_view |
| | | where 1=1 |
| | | <include refid="viewWorkInConditionSql"></include> |
| | | <include refid="viewWorkOutConditionSql"></include> |
| | | ) t |
| | | ) a where 1=1 and a.row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize}) |
| | | |
| | |
| | | select count(1) |
| | | from asr_wrkout_view a |
| | | where 1=1 |
| | | <include refid="viewWorkInConditionSql"></include> |
| | | <include refid="viewWorkOutConditionSql"></include> |
| | | </select> |
| | | |
| | | <!-- 不分页查询所有信息,用于excel导出 --> |
| | |
| | | select * |
| | | from asr_wrkout_view a |
| | | where 1=1 |
| | | <include refid="viewWorkInConditionSql"></include> |
| | | <include refid="viewWorkOutConditionSql"></include> |
| | | Order by a.io_time desc |
| | | </select> |
| | | |
| | |
| | | ,{field: 'tagId$', align: 'center',title: '归类', templet: '#tagTpl'} |
| | | ,{field: 'store_max', align: 'center',title: '库存上限',hide : true} |
| | | ,{field: 'store_min', align: 'center',title: '库存下限',hide : true} |
| | | ,{field: 'store_max_date', align: 'center',title: '库龄上限(天)',hide : true} |
| | | ,{field: 'store_max_date', align: 'center',title: '库龄上限(天)',hide : true}, |
| | | {field: 'matnr', align: 'center',title: 'SKU', sort:true, width: 180} |
| | | |
| | | ]; |
| | | arrRemove(matCols, "field", "matnr"); |
| | | cols.push.apply(cols, matCols); |
| | | cols.push( |
| | | {fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150} |
| | |
| | | function getCol() { |
| | | var cols = [ |
| | | {field: 'ioTime$', align: 'center', title: '入库日期', width: 200} |
| | | ,{field: 'loc_no', align: 'center',title: '库位号'} |
| | | ,{field: 'loc_no', align: 'center',title: '库位号'}, |
| | | {field: 'standby1', align: 'center',title: '客户po', hide: false}, |
| | | {field: 'standby3', align: 'center',title: '客户sku', hide: false}, |
| | | ]; |
| | | arrRemove(detlCols, "field", "orderNo") |
| | | arrRemove(detlCols, "field", "standby1") |
| | | arrRemove(detlCols, "field", "standby3") |
| | | cols.push.apply(cols, detlCols); |
| | | return cols; |
| | | } |
| | |
| | | {field: 'ioTime$', align: 'center', title: '出库日期', width: 200} |
| | | ,{field: 'loc_no', align: 'center',title: '库位号'} |
| | | ,{field: 'crn_str_time', align: 'center',title: '堆垛机启动时间'} |
| | | ,{field: 'crn_end_time', align: 'center',title: '堆垛机停止时间'} |
| | | ,{field: 'crn_end_time', align: 'center',title: '堆垛机停止时间'}, |
| | | {field: 'standby1', align: 'center',title: '客户po', hide: false}, |
| | | {field: 'standby3', align: 'center',title: '客户sku', hide: false}, |
| | | ]; |
| | | arrRemove(detlCols, "field", "orderNo") |
| | | arrRemove(detlCols, "field", "standby1") |
| | | arrRemove(detlCols, "field", "standby3") |
| | | cols.push.apply(cols, detlCols); |
| | | return cols; |
| | | } |
| | |
| | | <!-- 表格工具栏2 --> |
| | | <div id="search-box" class="layui-form toolbar" style="padding-top: 5px"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品编号:</label> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">SKU:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="matnr" class="layui-input" placeholder="输入商品编号"/> |
| | | <input name="matnr" class="layui-input" placeholder="SKU"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | <input name="maktx" class="layui-input" placeholder="输入商品名称"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品规格:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="specs" class="layui-input" placeholder="输入商品规格"/> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="layui-inline">--> |
| | | <!-- <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品规格:</label>--> |
| | | <!-- <div class="layui-input-inline">--> |
| | | <!-- <input name="specs" class="layui-input" placeholder="输入商品规格"/>--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | <div class="layui-inline">  |
| | | <button class="layui-btn icon-btn" lay-filter="search" lay-submit> |
| | | <i class="layui-icon"></i>搜索 |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="SKU" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="standby3" placeholder="SKU" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="品号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="standby3" placeholder="SKU" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="specs" placeholder="规格" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="standby1" placeholder="PO" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | <input class="layui-input" type="text" name="zpallet" placeholder="托盘码" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="batch" placeholder="货品特征" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="layui-inline">--> |
| | | <!-- <div class="layui-input-inline">--> |
| | | <!-- <input class="layui-input" type="text" name="batch" placeholder="货品特征" autocomplete="off">--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="anfme" placeholder="数量" autocomplete="off"> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="SKU" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="standby3" placeholder="SKU" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |