自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-03-28 63d53fc90ba0b00be2a2bce2ca4f87731f546542
src/main/webapp/views/pakStore/matQuery.html
@@ -27,7 +27,7 @@
    <div id="search-box" class="layui-form layui-card-header">
        <div class="layui-inline">
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="mat_no" placeholder="物料编码" autocomplete="off">
                <input class="layui-input" type="text" name="mat_no" placeholder="商品编号" autocomplete="off">
            </div>
        </div>
        <!-- 日期范围 -->
@@ -67,7 +67,17 @@
</body>
<script>
    function getCol() {
        var cols = [
            {type: 'checkbox', fixed: 'left'}
        ];
        cols.push.apply(cols, matCols);
        cols.push(
            {field: 'modiUser$', align: 'center',title: '修改人员', hide: true},
            {field: 'modiTime$', align: 'center',title: '修改时间'}
        )
        return cols;
    }
    var pageCurr;
    layui.use(['table','laydate', 'form'], function() {
        var table = layui.table;
@@ -86,16 +96,7 @@
            even: true,
            cellMinWidth: 50,
            toolbar: '#toolbar',
            cols: [[
                {type: 'checkbox', fixed: 'left'},
                {field: 'matNo', align: 'center', title: '物料编码'},
                {field: 'barcode', align: 'center', title: '条码'},
                {field: 'matName', align: 'center', title: '物料名称'},
                {field: 'str1', align: 'center', title: '物料单位'},
                {field: 'str2', align: 'center', title: '物料规格'},
                {field: 'modiUser$', align: 'center',title: '修改人员', hide: true},
                {field: 'modiTime$', align: 'center',title: '修改时间'}
            ]],
            cols: [getCol()],
            request: {
                pageName: 'curr',
                pageSize: 'limit'