自动化立体仓库 - WMS系统
#
tzsk
2024-05-31 b97ab3e077df3665663eb3a5b0c23d54c83a5548
src/main/webapp/static/js/mat/mat.js
@@ -5,11 +5,15 @@
    var cols = [
        {type: 'checkbox'}
        ,{field: 'tagId$', align: 'center',title: '归类', templet: '#tagTpl'}
        ,{field: 'storeMax', align: 'center',title: '库存上限',width: 90}
        ,{field: 'storeMin', align: 'center',title: '库存下限',width: 90}
        ,{field: 'storeMaxDate', align: 'center',title: '库龄上限(天)',width: 90}
        ,{field: 'status$', align: 'center',title: '状态'}
    ];
    cols.push.apply(cols, matCols);
    cols.push(
        {fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150}
        )
    )
    return cols;
}
@@ -334,6 +338,7 @@
                        } else {
                            res.data[i]["barcodeUrl"]=baseUrl+"/mac/code/auth?type=2&param="+res.data[i].matnr;
                        }
                        res.data[i].date = dateToStr(new Date());
                    }
                    var tpl = templateDom.html();
                    var template = Handlebars.compile(tpl);