自动化立体仓库 - WMS系统
#
tqs
2023-05-26 bf33cef785bfd09fc123637ef5dff02737c801e4
#
5个文件已修改
30 ■■■■ 已修改文件
src/main/java/com/zy/asrs/entity/Mat.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/application.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/common.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/mat/mat.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/mat/mat.html 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/Mat.java
@@ -338,7 +338,7 @@
    private Boolean inoutEveryday;
    /**
     * 物料类型{1:单品,2:高频,3:混放}
     * 物料类型{1:单品区,2:高频混放区,3:低频混放区}
     */
    @ApiModelProperty(value= "物料类型")
    @TableField("mat_type")
@@ -571,11 +571,11 @@
        }
        switch (this.matType) {
            case 1:
                return "单品";
                return "单品区";
            case 2:
                return "高频混放";
                return "高频混放区";
            case 3:
                return "低频混放";
                return "低频混放区";
            default:
                return "";
        }
src/main/resources/application.yml
@@ -11,7 +11,7 @@
  datasource:
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
#    url: jdbc:sqlserver://10.10.10.100:1433;databasename=bfasrs
    url: jdbc:sqlserver://localhost:1433;databasename=bfasrs
    url: jdbc:sqlserver://192.168.4.15:1433;databasename=bfasrs
    username: sa
#    password: Zoneyung@zy56$
    password: sa@123
src/main/webapp/static/js/common.js
@@ -181,12 +181,12 @@
}
var matCols = [
    {field: 'matnr', align: 'center',title: '商品编号', width: 180}
    {field: 'matnr', align: 'center',title: '商品编号', width: 290}
    // {field: 'id', align: 'center',title: 'ID'}
    // ,{field: 'uuid', align: 'center',title: '编号'}
    // ,{field: 'tagId$', align: 'center',title: '所属归类'}
    ,{field: 'specs', align: 'center',title: '规格', width: 200}
    ,{field: 'maktx', align: 'center',title: '商品名称'}
    ,{field: 'maktx', align: 'center',title: '商品名称', width: 150}
    // ,{field: 'name', align: 'center',title: '别名'}
    ,{field: 'model', align: 'center',title: '代码', hide: true}
    ,{field: 'color', align: 'center',title: '颜色', hide: true}
@@ -223,7 +223,7 @@
    ,{field: 'storeMin$', align: 'center',title: '库存下限'}
    ,{field: 'storeMaxDate$', align: 'center',title: '库龄上限(天)'}
    ,{field: 'inoutEveryday$', align: 'center',title: '高频', width: 60}
    ,{field: 'matType$', align: 'center',title: '物料类型', width: 100}
    ,{field: 'matType$', align: 'center',title: '上架区域', width: 90}
]
src/main/webapp/static/js/mat/mat.js
@@ -5,11 +5,11 @@
    var cols = [
        {type: 'checkbox'}
        ,{field: 'tagId$', align: 'center',title: '归类', templet: '#tagTpl'}
        ,{field: 'matnrNew', align: 'center',title: '新商品编号', width: 180}
        // ,{field: 'matnrNew', align: 'center',title: '新商品编号', width: 180}
    ];
    cols.push.apply(cols, matCols);
    cols.push(
        {fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150}
        {fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:120}
    )
    return cols;
}
src/main/webapp/views/mat/mat.html
@@ -60,7 +60,7 @@
<div class="layui-fluid">
    <!-- 左 -->
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md3">
        <div class="layui-col-md2">
            <div class="layui-card">
                <div class="layui-card-body" style="padding: 10px;">
                    <!-- 树工具栏 -->
@@ -80,7 +80,7 @@
            </div>
        </div>
        <!-- 右 -->
        <div class="layui-col-md9">
        <div class="layui-col-md10">
            <div class="layui-card">
                <div class="layui-card-body" style="padding: 10px;">
                    <!-- 表格工具栏2 -->
@@ -261,9 +261,9 @@
                    <label class="layui-form-label layui-form-required">物料类型</label>
                    <div class="layui-input-block">
                        <select name="matType" lay-vertype="tips" lay-verify="required" required="">
                            <option value="1">单品</option>
                            <option value="2">高频混放</option>
                            <option value="3">低频混放</option>
                            <option value="1">单品区</option>
                            <option value="2">高频混放区</option>
                            <option value="3">低频混放区</option>
                        </select>
                    </div>
                </div>