自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-11 b930175d06df0f9898e6992ef86230cbe7659802
#
4个文件已修改
32 ■■■■ 已修改文件
src/main/java/com/zy/asrs/entity/RowLastno.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/service/DoubleDeepService.java 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/rowLastno/rowLastno.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/RowLastno.java
@@ -154,19 +154,19 @@
        this.currentRow = currentRow;
    }
    public Integer getSRow() {
    public Integer getsRow() {
        return sRow;
    }
    public void setSRow(Integer sRow) {
    public void setsRow(Integer sRow) {
        this.sRow = sRow;
    }
    public Integer getERow() {
    public Integer geteRow() {
        return eRow;
    }
    public void setERow(Integer eRow) {
    public void seteRow(Integer eRow) {
        this.eRow = eRow;
    }
src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java
@@ -36,6 +36,15 @@
        basDevpService.checkSiteStatus(param.getDevpNo());
        // 生成工作号
        int workNo = doubleDeepService.getWorkNo(0);
        if (workNo == 0) {
            throw new CoolException("生成工作号失败,请联系管理员");
        } else {
            if (wrkMastService.selectById(workNo)!=null) {
                throw new CoolException("生成工作号" + workNo + "在工作档中已存在");
            }
        }
        // 库位检索
        String locNo = doubleDeepService.getLocNo();
//        if (staNo == null || staNo.get)
src/main/java/com/zy/common/service/DoubleDeepService.java
@@ -23,7 +23,7 @@
    /**
     * 生成工作号
     * @param wrkMk 0:入出库 ; 1:其他
     * @return
     * @return workNo(工作号)
     */
    public int getWorkNo(Integer wrkMk) {
        WrkLastno wrkLastno = wrkLastnoService.selectById(wrkMk);
@@ -57,5 +57,13 @@
        return workNo;
    }
    /**
     * 检索库位号
     * @param
     * @return
     */
    public String getLocNo() {
        return null;
    }
}
src/main/webapp/static/js/rowLastno/rowLastno.js
@@ -26,8 +26,8 @@
            ,{field: 'eRow', align: 'center',title: '终止排号'}
            ,{field: 'crnQty', align: 'center',title: '堆垛机数量'}
            ,{field: 'memo', align: 'center',title: '备注'}
            ,{field: 'modiUser$', align: 'center',title: '修改人员'}
            ,{field: 'modiTime$', align: 'center',title: '修改时间', width:200}
            // ,{field: 'modiUser$', align: 'center',title: '修改人员'}
            // ,{field: 'modiTime$', align: 'center',title: '修改时间', width:200}
            ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150}
        ]],
@@ -47,6 +47,7 @@
            statusCode: 200
        },
        done: function(res, curr, count) {
            console.log(res);
            if (res.code === 403) {
                top.location.href = baseUrl+"/";
            }