src/main/webapp/static/js/common.js
@@ -7,6 +7,17 @@
// 详情窗口-宽度
var detailWidth = '90%';
function getQueryVariable(variable)
{
    var query = window.location.search.substring(1);
    var vars = query.split("&");
    for (var i=0;i<vars.length;i++) {
        var pair = vars[i].split("=");
        if(pair[0] == variable){return pair[1];}
    }
    return(false);
}
// 非空判断
function isEmpty(obj){
    return typeof obj == "undefined" || obj == null || obj === "";
@@ -209,7 +220,7 @@
    ,{field: 'type', align: 'center',title: '物料类别'}
    ,{field: 'mnemonic', align: 'center',title: '单据编号', hide: true}
    ,{field: 'supplier', align: 'center',title: '通知单号', hide: true}
    ,{field: 'warehouse', align: 'center',title: '生成单号'}
    ,{field: 'warehouse', align: 'center',title: '生产单号'}
    // ,{field: 'brand', align: 'center',title: '品牌'}
    ,{field: 'anfme', align: 'center',title: '数量'}
    // ,{field: 'altme', align: 'center',title: '单位'}