自动化立体仓库 - WMS系统
#
mrzhssss
2023-02-17 50be60574f905504eb65fb247e840f51353cc947
src/main/webapp/static/js/ioWorks/stockInOrder.js
@@ -3,9 +3,16 @@
var matCodeData = [];
function getCol() {
    var cols = [
        {fixed: 'left', field: 'count', title: '数量(必填)', align: 'center', edit:'text', width: 120,  style:'color: blue;font-weight: bold'}
        {fixed: 'left', field: 'count', title: '数量(必填)', align: 'center', edit:'text', width: 120,  style:'color: blue;font-weight: bold'},
        {field: 'matnr', align: 'center', title: '商品编码'},
        {field: 'anfme', align: 'center', title: '数量'},
        {field: 'qty', align: 'center', title: '完成数量'},
        {field: 'orderNo', align: 'center', title: '单据编号'},
        {field: 'maktx', align: 'center', title: '商品名称'},
        {field: 'batch', align: 'center', title: '批号'},
        {field: 'specs', align: 'center', title: '规格'}
    ];
    cols.push.apply(cols, matCols);
    // cols.push.apply(cols, matCols);
    cols.push({fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:80})
    return cols;
}
@@ -158,6 +165,7 @@
                        data: JSON.stringify({
                            nodeId: data.field.nodeSel,
                            mats: matCodeData
                        }),
                        contentType:'application/json;charset=UTF-8',
                        method: 'POST',
@@ -246,7 +254,7 @@
        maxmin: true,
        area: [top.detailWidth, top.detailHeight],
        shadeClose: true,
        content: 'matQuery.html',
        content: 'orderQuery.html',
        success: function(layero, index){
        }
    });