自动化立体仓库 - WMS系统
zyx
2024-01-05 0e46bb0cfc8b59ad5527f0b70c49f95aeac4bbbd
src/main/webapp/static/js/order/out.js
@@ -30,15 +30,23 @@
        height: 'full-120',
        where: {order_id: 9999999999},
        cols: [[
            {type: 'checkbox'}
            ,{type: 'numbers', title: '#'}
            ,{field: 'orderNo', align: 'center',title: '单据编号', templet: '#orderNoTpl', width: 160}
            ,{field: 'matnr', align: 'center',title: '商品编码', width: 160}
            ,{field: 'maktx', align: 'center',title: '商品名称', width: 200}
            {type: 'checkbox'},
            {type: 'numbers', title: '#'},
            {field: 'orderNo', align: 'center',title: '单据编号', templet: '#orderNoTpl'},
            {field: 'fingerMeltingMin', title: '最小熔指'},
            {field: 'fingerMeltingMax', title: '最大熔指'},
            {field: 'fusingPointMin', title: '最小熔点'},
            {field: 'fusingPointMax', title: '最大熔点'},
            {field: 'yellownessMin', title: '最小黄度'},
            {field: 'yellownessMax', title: '最大黄度'},
            {field: 'opacityMin', title: '最小不透明度'},
            {field: 'opacityMax', title: '最大不透明度'},
            // ,{field: 'matnr', align: 'center',title: '商品编码', width: 160}
            // ,{field: 'maktx', align: 'center',title: '商品名称', width: 200}
            ,{field: 'anfme', align: 'center',title: '总数量', style: 'font-weight: bold'}
            ,{field: 'enableQty', align: 'center',title: '待出数量', style: 'font-weight: bold'}
            ,{field: 'unit', align: 'center',title: '单位', hide: true}
            ,{field: 'barcode', align: 'center',title: '商品条码', hide: true}
            // ,{field: 'unit', align: 'center',title: '单位', hide: true}
            // ,{field: 'barcode', align: 'center',title: '商品条码', hide: true}
            ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width: 160}
        ]],
        request: {
@@ -144,13 +152,16 @@
                                cols: [[
                                    // {type: 'checkbox', merge: ['orderNo']},
                                    {field: 'orderNo', title: '单据编号', merge: true, align: 'center'},
                                    {field: 'title', title: '商品', merge: true, align: 'center', width: 350},
                                    {field: 'hostId', title: 'id', align: 'center'},
                                    {field: 'batch', title: '批号', merge: true, align: 'center'},
                                    {field: 'packageNo', title: '包号', align: 'center'},
                                    {field: 'orderDetlId', title: 'id', align: 'center',hide:true},
                                    {field: 'qtyAnfme', title: '出库数量', align: 'center'},
                                    {field: 'locNo', title: '库位号', align: 'center',templet: '#locNoTpl'},
                                    // { title: '剩余需求量', align: 'center' , width: 120, toolbar: '#checkNeedQty'},
                                    // {field: 'anfme', title: '实际数量', align: 'center', width: 90, style: 'font-weight: bold'},
                                    { title: '出库数量', align: 'center',field: 'anfme', width: 90, style: 'font-weight: bold; color: red'},
                                    {field: 'locNo', title: '货位', align: 'center', width: 100, templet: '#locNoTpl'},
                                    {field: 'staNos', align: 'center', title: '出库站', merge: ['locNo'], templet: '#tbBasicTbStaNos'},
                                    // { title: '出库数量', align: 'center',field: 'anfme', width: 90, style: 'font-weight: bold; color: red'},
                                    // {field: 'locNo', title: '货位', align: 'center', width: 100, templet: '#locNoTpl'},
                                    // {field: 'staNos', align: 'center', title: '出库站', merge: ['locNo'], templet: '#tbBasicTbStaNos'},
                                    // {type: 'checkbox', merge: ['locNo']},
                                ]],
                                done: function (res) {