自动化立体仓库 - WMS系统
lty
2025-05-24 92d5f4d657557feb32b7f35a51dd008407da8cbe
src/main/webapp/static/js/locDetlStatis/locDetlStatis.js
@@ -1,15 +1,15 @@
var pageCurr;
function getCol() {
    var cols = [
        {field: 'anfme', align: 'center',title: '库存数量', style: 'font-weight: bold'}
    ];
    arrRemove(detlCols, "field", "anfme")
    arrRemove(detlCols, "field", "zpallet")
    cols.push.apply(cols, detlCols);
    // cols.push({field: 'anfme', align: 'center',title: '数量', style: 'font-weight: bold'}
    // )
    return cols;
}
// function getCol() {
//     var cols = [
//         {field: 'anfme', align: 'center',title: '库存数量', style: 'font-weight: bold'}
//     ];
//     arrRemove(detlCols, "field", "anfme")
//     arrRemove(detlCols, "field", "zpallet")
//     cols.push.apply(cols, detlCols);
//     // cols.push({field: 'anfme', align: 'center',title: '数量', style: 'font-weight: bold'}
//     // )
//     return cols;
// }
layui.use(['table','laydate', 'form'], function(){
    var table = layui.table;
@@ -29,7 +29,15 @@
        even: true,
        toolbar: '#toolbar',
        cellMinWidth: 50,
        cols: [getCol()],
        cols: [[
            {field: 'anfme', title:'立库数量', align: 'center', width:150},
            {field: 'matnr', title:'产品编码', align: 'center'},
            {field: 'model', title:'产品代码', align: 'center'},
            {field: 'specs', title:'产品规格', align: 'center'},
            {field: 'temp1', title:'产品总称', align: 'center'},
            {field: 'outOrderNo', title:'合同号', align: 'center'},
            {field: 'proType', title:'属性', align: 'center'},
        ]],
        request: {
            pageName: 'curr',
            pageSize: 'limit'