自动化立体仓库 - WMS系统
#
野心家
2024-10-18 9c77864f3fa80b039d5ab3684ca0e1c5058f9e1b
#
2个文件已修改
14 ■■■■ 已修改文件
src/main/java/com/zy/asrs/entity/LocDetl.java 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/locDetl/locDetl.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/LocDetl.java
@@ -249,12 +249,12 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime);
    }
    public long getStoreDate(){
        long timeNow = new Date().getTime();
        long timeCreate = this.appeTime.getTime();
        return (timeNow - timeCreate) /24/60/60/1000;
    }
//    public long getStoreDate(){
//        long timeNow = new Date().getTime();
//        long timeCreate = this.appeTime.getTime();
//
//        return (timeNow - timeCreate) /24/60/60/1000;
//    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
src/main/webapp/static/js/locDetl/locDetl.js
@@ -2,7 +2,7 @@
function getCol() {
    var cols = [
        {field: 'locNo$', align: 'center',title: '库位号'}
        ,{field: 'storeDate', align: 'center',title: '库龄(天)', sort:true}
        // ,{field: 'storeDate', align: 'center',title: '库龄(天)', sort:true}
        ,{field: 'matnr', align: 'center',title: '商品编号', sort:true}
        ,{field: 'maktx', align: 'center',title: '商品名称', sort:true}
        ,{field: 'orderNo', align: 'center',title: '单据编号', hide: true}