luxiaotao1123
2020-07-31 23a0da92c1d2e3d046fd6bac53915d5adcf897ac
#商品变物料
14个文件已修改
52 ■■■■ 已修改文件
src/main/java/com/zy/asrs/entity/LocDetl.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/MatCode.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/ViewStayTimeBean.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/ViewWorkInBean.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/WrkDetl.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/WrkDetlLog.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/utils/VersionUtils.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/utils/excel/matcode/MatCodeExcel.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/common.js 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/layuiadmin/json/menu1.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/layuiadmin/style/template.css 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/locDetl/locDetl.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/report/viewWorkIn.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/report/viewWorkOut.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/LocDetl.java
@@ -37,7 +37,7 @@
    @ApiModelProperty(value= "规格")
    private String lgnum;
    @ApiModelProperty(value= "商品类别")
    @ApiModelProperty(value= "物料类别")
    private String type;
    @ApiModelProperty(value= "助记码")
src/main/java/com/zy/asrs/entity/MatCode.java
@@ -22,7 +22,7 @@
    /**
     * 物料编码
     */
    @ApiModelProperty(value= "商品编码")
    @ApiModelProperty(value= "物料编码")
    @TableId(value = "mat_no", type = IdType.INPUT)
    @TableField("mat_no")
    private String matNo;
@@ -36,7 +36,7 @@
    /**
     * 物料名称
     */
    @ApiModelProperty(value= "商品名称")
    @ApiModelProperty(value= "物料名称")
    @TableField("mat_name")
    private String matName;
@@ -46,7 +46,7 @@
    @ApiModelProperty(value= "基本单位")
    private String str1;
    @ApiModelProperty(value= "商品类别")
    @ApiModelProperty(value= "物料类别")
    private String str2;
    @ApiModelProperty(value= "规格型号")
src/main/java/com/zy/asrs/entity/ViewStayTimeBean.java
@@ -22,7 +22,7 @@
    private String bname;      //用户ID
    private String lgnum;        //规格
    private String type;        // 商品类别
    private String type;        // 物料类别
    private String mnemonic;    // 助记码
    private String supplier;    // 供应商
    private String warehouse;    // 仓库
src/main/java/com/zy/asrs/entity/ViewWorkInBean.java
@@ -23,7 +23,7 @@
    private String bname;      //用户ID
    private String lgnum;        //规格
    private String type;        // 商品类别
    private String type;        // 物料类别
    private String mnemonic;    // 助记码
    private String supplier;    // 供应商
    private String warehouse;    // 仓库
src/main/java/com/zy/asrs/entity/WrkDetl.java
@@ -55,7 +55,7 @@
    /**
     * 仓库号
     */
    @ApiModelProperty(value= "商品类别")
    @ApiModelProperty(value= "物料类别")
    private String type;
    /**
src/main/java/com/zy/asrs/entity/WrkDetlLog.java
@@ -55,7 +55,7 @@
    /**
     * 仓库号
     */
    @ApiModelProperty(value= "商品类别")
    @ApiModelProperty(value= "物料类别")
    private String type;
    /**
src/main/java/com/zy/asrs/utils/VersionUtils.java
@@ -16,7 +16,7 @@
        wrkDetl.setMatnr(matCode.getMatNo()); // 物料编号
        wrkDetl.setMaktx(matCode.getMatName()); // 物料描述
        wrkDetl.setLgnum(matCode.getStr3()); // 规格
        wrkDetl.setType(matCode.getStr2()); // 商品类别
        wrkDetl.setType(matCode.getStr2()); // 物料类别
        wrkDetl.setMnemonic(matCode.getStr5()); // 助记码
        wrkDetl.setSupplier(matCode.getStr6()); // 默认供应商
        wrkDetl.setWarehouse(matCode.getStr7()); // 默认仓库
@@ -28,7 +28,7 @@
        wrkDetl.setMatnr(locDetl.getMatnr()); // 物料编号
        wrkDetl.setMaktx(locDetl.getMaktx()); // 物料描述
        wrkDetl.setLgnum(locDetl.getLgnum()); // 规格
        wrkDetl.setType(locDetl.getType()); // 商品类别
        wrkDetl.setType(locDetl.getType()); // 物料类别
        wrkDetl.setMnemonic(locDetl.getMnemonic()); // 助记码
        wrkDetl.setSupplier(locDetl.getSupplier()); // 默认供应商
        wrkDetl.setWarehouse(locDetl.getWarehouse()); // 默认仓库
@@ -41,7 +41,7 @@
        locDetl.setMatnr(matCode.getMatNo()); // 物料编号
        locDetl.setMaktx(matCode.getMatName()); // 物料描述
        locDetl.setLgnum(matCode.getStr3()); // 规格
        locDetl.setType(matCode.getStr2()); // 商品类别
        locDetl.setType(matCode.getStr2()); // 物料类别
        locDetl.setMnemonic(matCode.getStr5()); // 助记码
        locDetl.setSupplier(matCode.getStr6()); // 默认供应商
        locDetl.setWarehouse(matCode.getStr7()); // 默认仓库
@@ -53,7 +53,7 @@
        locDetl.setMatnr(wrkDetl.getMatnr()); // 物料编号
        locDetl.setMaktx(wrkDetl.getMaktx()); // 物料描述
        locDetl.setLgnum(wrkDetl.getLgnum()); // 规格
        locDetl.setType(wrkDetl.getType()); // 商品类别
        locDetl.setType(wrkDetl.getType()); // 物料类别
        locDetl.setMnemonic(wrkDetl.getMnemonic()); // 助记码
        locDetl.setSupplier(wrkDetl.getSupplier()); // 默认供应商
        locDetl.setWarehouse(wrkDetl.getWarehouse()); // 默认仓库
src/main/java/com/zy/common/utils/excel/matcode/MatCodeExcel.java
@@ -9,19 +9,19 @@
 */
public class MatCodeExcel {
    @ExcelProperty(value= "商品编码", index = 1)
    @ExcelProperty(value= "物料编码", index = 1)
    private String matNo;
    @ExcelProperty(value= "条形码", index = 4)
    private String barcode;
    @ExcelProperty(value= "商品名称", index = 2)
    @ExcelProperty(value= "物料名称", index = 2)
    private String matName;
    @ExcelProperty(value= "基本单位", index = 8)
    private String str1;
    @ExcelProperty(value= "商品类别", index = 3)
    @ExcelProperty(value= "物料类别", index = 3)
    private String str2;
    @ExcelProperty(value= "规格型号", index = 5)
src/main/webapp/static/js/common.js
@@ -171,11 +171,11 @@
}
var matCols = [
    {field: 'matNo', align: 'center',title: '商品编码'}
    {field: 'matNo', align: 'center',title: '物料编码'}
    ,{field: 'barcode', align: 'center',title: '条形码'}
    ,{field: 'matName', align: 'center',title: '商品名称'}
    ,{field: 'matName', align: 'center',title: '物料名称'}
    ,{field: 'str1', align: 'center',title: '基本单位'}
    ,{field: 'str2', align: 'center',title: '商品类别'}
    ,{field: 'str2', align: 'center',title: '物料类别'}
    ,{field: 'str3', align: 'center',title: '规格型号'}
    ,{field: 'str4', align: 'center',title: '状态', hide: true}
    ,{field: 'str5', align: 'center',title: '助记码'}
@@ -205,10 +205,10 @@
]
var detlCols = [
    {field: 'matnr', align: 'center',title: '商品编码'}
    ,{field: 'maktx', align: 'center',title: '商品名称'}
    {field: 'matnr', align: 'center',title: '物料编码'}
    ,{field: 'maktx', align: 'center',title: '物料名称'}
    ,{field: 'lgnum', align: 'center',title: '规格'}
    ,{field: 'type', align: 'center',title: '商品类别'}
    ,{field: 'type', align: 'center',title: '物料类别'}
    // ,{field: 'mnemonic', align: 'center',title: '助记码'}
    // ,{field: 'supplier', align: 'center',title: '供应商'}
    // ,{field: 'warehouse', align: 'center',title: '仓库'}
src/main/webapp/static/layuiadmin/json/menu1.js
@@ -180,7 +180,7 @@
      ,"spread": true
      ,"list": [{
        "name": "list"
        ,"title": "商品列表"
        ,"title": "物料列表"
      },{
        "name": "category"
        ,"title": "分类管理"
src/main/webapp/static/layuiadmin/style/template.css
@@ -129,7 +129,7 @@
.cmdlist-text .flow{text-align: right;float: right;}
#demo0{text-align: center;}
/* 商品列表 */
/* 物料列表 */
.layadmin-message-fluid .layui-col-md12{background: #fff;height: auto;padding-bottom: 50px;}
.layadmin-message-fluid .layui-input-block{margin-left: 0;}
.layadmin-message-fluid .layui-form{padding:45px 40px 0 40px;}
src/main/webapp/views/locDetl/locDetl.html
@@ -21,7 +21,7 @@
    </div>
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input class="layui-input" type="text" name="matnr" placeholder="商品编码" autocomplete="off">
            <input class="layui-input" type="text" name="matnr" placeholder="物料编码" autocomplete="off">
        </div>
    </div>
    <div class="layui-inline">
src/main/webapp/views/report/viewWorkIn.html
@@ -26,7 +26,7 @@
    </div>
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input class="layui-input" type="text" name="matnr" placeholder="商品编码" autocomplete="off">
            <input class="layui-input" type="text" name="matnr" placeholder="物料编码" autocomplete="off">
        </div>
    </div>
    <div class="layui-inline" style="width: 300px">
src/main/webapp/views/report/viewWorkOut.html
@@ -26,7 +26,7 @@
    </div>
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input class="layui-input" type="text" name="matnr" placeholder="商品编码" autocomplete="off">
            <input class="layui-input" type="text" name="matnr" placeholder="物料编码" autocomplete="off">
        </div>
    </div>
    <div class="layui-inline" style="width: 300px">