自动化立体仓库 - WMS系统
skyouc
2026-01-15 f8158a3dee678624cd9044bcdc9a8d10c3a8f4ae
src/main/webapp/static/js/common.js
@@ -186,19 +186,9 @@
    // ,{field: 'uuid', align: 'center',title: '编号'}
    , {field: 'maktx', align: 'center', title: '商品名称(品名)', width: 200}
    , {field: 'specs', align: 'center', title: '规格'}
    , {
        field: 'safeQty', align: 'center', title: '归零阀值', templet: function (d) {
            var raw = d.safeQty;
            if (raw === null || raw === undefined) return '';
            if (typeof raw === 'string' && raw.trim() === '') return '';
            var num = Number(raw);
            if (!isFinite(num)) return '';
            return num.toFixed(2);
        }
    }
    , {field: 'model', align: 'center', title: '代码', hide: true}
    , {field: 'model', align: 'center', title: '型号', hide: false}
    , {field: 'color', align: 'center', title: '颜色', hide: true}
    , {field: 'brand', align: 'center', title: '品牌', hide: true}
    , {field: 'brand', align: 'center', title: '品牌', hide: false}
    , {field: 'upQty', align: 'center', title: '组托上限', hide: true}
    , {field: 'unit', align: 'center', title: '单位', hide: false}
    , {field: 'price', align: 'center', title: '单价', hide: true}
@@ -214,6 +204,16 @@
    , {
        field: 'volume', align: 'center', title: '每公斤长度', templet: function (d) {
            var raw = d.volume;
            if (raw === null || raw === undefined) return '';
            if (typeof raw === 'string' && raw.trim() === '') return '';
            var num = Number(raw);
            if (!isFinite(num)) return '';
            return num.toFixed(2);
        }
    }
    , {
        field: 'safeQty', align: 'center', title: '归零阀值', templet: function (d) {
            var raw = d.safeQty;
            if (raw === null || raw === undefined) return '';
            if (typeof raw === 'string' && raw.trim() === '') return '';
            var num = Number(raw);
@@ -276,6 +276,16 @@
            return num.toFixed(2);
        }
    }
    , {
        field: 'realQty', align: 'center', title: '实际数量', hide: false, templet: function (d) {
            var raw = d.realQty;
            if (raw === null || raw === undefined) return '';
            if (typeof raw === 'string' && raw.trim() === '') return '';
            var num = Number(raw);
            if (!isFinite(num)) return '';
            return num.toFixed(2);
        }
    }
    , {field: 'zpallet', align: 'center', title: 'SN', hide: false}
    , {field: 'specs', align: 'center', title: '规格', hide: false}
    , {
@@ -298,9 +308,9 @@
            return num.toFixed(2);
        }
    }
    , {field: 'model', align: 'center', title: '代码', hide: true}
    , {field: 'color', align: 'center', title: '颜色', hide: true}
    , {field: 'brand', align: 'center', title: '品牌', hide: false}
    , {field: 'model', align: 'center', title: '型号', hide: false}
    , {field: 'unit', align: 'center', title: '单位', hide: false}
    , {field: 'price', align: 'center', title: '单价', hide: true}
    , {field: 'sku', align: 'center', title: 'sku', hide: true}