自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-30 624ffcb4cfdc12d7b3b45d9641a50a14d2a9699f
src/main/webapp/views/pda/stockOut.html
@@ -148,6 +148,7 @@
        }
        #tips {
            display: inline-block;
            width: 90px;
            color: #666;
            margin-left: 5px;
            margin-bottom: 5px;
@@ -253,6 +254,7 @@
        var form = layui.form;
        tableIns = table.render({
            id: 'tableIdx',
            elem: '#dataByLoc',
            data: [],
            limit: 500,
@@ -260,8 +262,8 @@
            cols: [[
                {type: 'checkbox', fixed: 'left', width:30},
                {field: 'count', align: 'center', title: '量', style:'color: blue', width:30},
                {field: 'matNo', align: 'center', title: '编码'},
                {field: 'matName', align: 'center', title: '名称'},
                {field: 'matnr', align: 'center', title: '编码'},
                {field: 'maktx', align: 'center', title: '名称'},
                {field: 'locNo', align: 'center', title: '库位'}
            ]],
            done: function (res, curr, count) {
@@ -293,8 +295,9 @@
    // 出库
    function pakOut() {
        if (locDetlData.length === 0) {
            tips("物料数据为空", true);
        var tableData = layui.table.checkStatus('tableIdx').data;
        if (tableData.length === 0) {
            tips("请选择物料", true);
            document.getElementById("locNo").focus();
            return;
        }
@@ -308,7 +311,7 @@
            headers: {'token': localStorage.getItem('token')},
            data: JSON.stringify({
                outSite: site,
                locDetls: locDetlData
                locDetls: tableData
            }),
            contentType:'application/json;charset=UTF-8',
            method: 'POST',