自动化立体仓库 - WMS系统
#
18516761980
2021-08-24 9b842c272617f18d3435820e6e03297e2cd423c3
src/main/webapp/static/js/matOut/matOut.js
@@ -2,11 +2,13 @@
var locDetlData = [];
function getCol() {
    var cols = [
        // {field: 'count', align: 'center',title: '出库数量', edit:'text', width: 130,  style:'color: blue;font-weight: bold'}
        {field: 'anfme', align: 'center',title: '数量'}
        ,{field: 'locNo$', align: 'center',title: '库位号'}
         {fixed: 'left', field: 'count', title: '数量(必填)', align: 'center', edit:'text', width: 120,  style:'color: blue;font-weight: bold'}
        ,{field: 'billNo', title:'单据编号', align: 'center'}
        ,{field: 'seqNo', title:'序号', align: 'center', width:80}
        ,{field: 'qty', title:'通知入库量', align: 'center'}
        ,{field: 'outQty', title:'已出库量', align: 'center'}
    ];
    arrRemove(detlCols,  'field', 'anfme');
    arrRemove(detlCols,  'field', 'qty');
    cols.push.apply(cols, detlCols);
    // cols.push({fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:80})
    return cols;
@@ -43,7 +45,7 @@
        switch (obj.event) {
            case 'outbound':
                if (data.length === 0){
                    layer.msg('请先添加库位产品');
                    layer.msg('请先添加产品');
                } else {
                    var staNo = $("#staNoSelect").val();
                    if (staNo === "" || staNo === null){
@@ -59,7 +61,7 @@
                        locDetls: locDetls
                    }
                    $.ajax({
                        url: baseUrl+"/plate/out/start",
                        url: baseUrl+"/mat/out/start",
                        headers: {'token': localStorage.getItem('token')},
                        data: JSON.stringify(param),
                        contentType:'application/json;charset=UTF-8',