拣货单增加按照日期查找搜索,明细里面显示批号,包号,牌号
 
	
	
	
	
	
	
	
	
	
	
	
	
	
 |  |  | 
 |  |  |     var form = layui.form; | 
 |  |  |     var admin = layui.admin; | 
 |  |  |  | 
 |  |  |     layDate.render({ | 
 |  |  |         elem: '.layui-laydate-range' | 
 |  |  |         ,type: 'datetime' | 
 |  |  |         ,range: true | 
 |  |  |     }); | 
 |  |  |  | 
 |  |  |     // 数据渲染 | 
 |  |  |     tableIns = table.render({ | 
 |  |  |         elem: '#saasLog', | 
 |  |  | 
 |  |  |                 var left = offset.left; | 
 |  |  |                 layer.open({ | 
 |  |  |                     type: 1, | 
 |  |  |                     title: false, | 
 |  |  |                     title: '单据明细', | 
 |  |  |                     area: '1200px', | 
 |  |  |                     offset: [top + 'px', (left - 450 + $a.outerWidth()) + 'px'], | 
 |  |  |                     shade: .01, | 
 |  |  | 
 |  |  |                                 ,{field: 'batch', align: 'center',title: '批号'} | 
 |  |  |                                 ,{field: 'barcode', align: 'center',title: '包号'} | 
 |  |  |                                 // ,{field: 'matnr', align: 'center',title: '物料号'} | 
 |  |  |                                 // ,{field: 'maktx', align: 'center',title: '商品名称'} | 
 |  |  |                                 ,{field: 'maktx', align: 'center',title: '牌号'} | 
 |  |  |                                 ,{field: 'anfme', align: 'center',title: '数量'} | 
 |  |  |                                 ,{field: 'createTime$', align: 'center',title: '操作时间'} | 
 |  |  |                                 ,{field: 'count', align: 'center',title: '完成数'} | 
 
 |  |  | 
 |  |  |                             <input class="layui-input" type="text" name="doc_num" placeholder="拣货单号" autocomplete="off"> | 
 |  |  |                         </div> | 
 |  |  |                     </div> | 
 |  |  |                     <div class="layui-inline" style="width: 300px"> | 
 |  |  |                         <div class="layui-input-inline"> | 
 |  |  |                             <input class="layui-input layui-laydate-range" name="create_time" type="text" placeholder="起始时间 - 终止时间" autocomplete="off" style="width: 300px"> | 
 |  |  |                         </div> | 
 |  |  |                     </div> | 
 |  |  |                     <div class="layui-inline">  | 
 |  |  |                         <button class="layui-btn icon-btn" lay-filter="search" lay-submit> | 
 |  |  |                             <i class="layui-icon"></i>搜索 |