| | |
| | | ,{field: 'qty', title: '通知出库量', fixed: 'left', width:100} |
| | | ,{field: 'outQty', title: '已出库量', fixed: 'left', width:90} |
| | | ]; |
| | | cols.push.apply(cols, matCols); |
| | | cols.push.apply(cols, detlCols); |
| | | cols.push({field: 'billNo', title:'单据编号', align: 'center'} |
| | | ,{field: 'seqNo', title:'序号', align: 'center', width:80} |
| | | ,{field: 'modiUser$', align: 'center',title: '修改人员', hide: true} |
| | |
| | | return cols; |
| | | } |
| | | |
| | | layui.use(['table','laydate', 'form'], function() { |
| | | layui.config({ |
| | | base: baseUrl + "/static/layui/lay/modules/" |
| | | }).use(['table','laydate', 'form', 'tableMerge'], function() { |
| | | var table = layui.table; |
| | | var $ = layui.jquery; |
| | | var layer = layui.layer; |
| | | var layDate = layui.laydate; |
| | | var form = layui.form; |
| | | var tableMerge = layui.tableMerge; |
| | | // 数据渲染 |
| | | locDetlTableIns = table.render({ |
| | | elem: '#stockOut', |
| | |
| | | }); |
| | | }) |
| | | |
| | | var b = true; |
| | | $(function(){ |
| | | $(document.body).on('click','td[data-field="0"]',function(){ |
| | | var locNo = $(this).next().children("div").html(); |
| | | if (b) { |
| | | b = false; |
| | | $("tr td[data-field=locNo\\$] div:contains("+ locNo +")").parent().prev().children().children("div").click(); |
| | | setTimeout(function () { |
| | | b = true; |
| | | }, 200) |
| | | } |
| | | }); |
| | | }) |
| | | |
| | | function tableReload(child) { |
| | | var searchData = {}; |
| | | $.each($('#search-box [name]').serializeArray(), function() { |
| | |
| | | top.location.href = baseUrl+"/"; |
| | | } |
| | | pageCurr=curr; |
| | | $('.layui-form-checkbox').css("pointer-events", "none"); |
| | | $('td[data-field="0').css("cursor", "pointer") |
| | | } |
| | | }); |
| | | } |