自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-10 ad1bcdce9f8a4f2aed8ce6bee37ac2221d5136cf
src/main/webapp/views/pakStore/matQuery.html
@@ -66,6 +66,7 @@
    layui.use(['table','laydate', 'form'], function() {
        var table = layui.table;
        var $ = layui.jquery;
        var layer = layui.layer;
        var form = layui.form;
        // 物料查询数据表
        matQueryTable = table.render({
@@ -80,7 +81,7 @@
            toolbar: '#toolbar',
            cols: [[
                {type: 'checkbox', fixed: 'left'},
                {field: 'matNo', align: 'center', title: '物料编码'},
                {field: 'matNo', align: 'center', title: '物料编码', sort: 'true'},
                {field: 'barcode', align: 'center', title: '条码'},
                {field: 'matName', align: 'center', title: '物料名称'},
                {field: 'str1', align: 'center', title: '物料单位'},
@@ -111,8 +112,6 @@
            }
        });
        // 页面修改
        table.on('edit(matCode)', function (obj) {
            updateMatCodeData(obj.data.matNo, Number(obj.value));
@@ -126,7 +125,7 @@
            });
            searchData['orderByField'] = obj.field;
            searchData['orderByType'] = obj.type;
            tableIns.reload({
            matQueryTable.reload({
                where: searchData,
                page: {
                    curr: 1
@@ -146,6 +145,7 @@
            var checkStatus = table.checkStatus(obj.config.id);
            switch(obj.event) {
                case 'confirm':
                    parent.layer.close(parent.matCodeLayerIdx);
                    console.log(checkStatus);
                    break;
            }