Merge remote-tracking branch 'origin/bfasrs6' into bfasrs6
| | |
| | | private Boolean inoutEveryday; |
| | | |
| | | /** |
| | | * 物料类型{1:单品,2:高频,3:混放} |
| | | * 物料类型{1:单品区,2:高频混放区,3:低频混放区} |
| | | */ |
| | | @ApiModelProperty(value= "物料类型") |
| | | @TableField("mat_type") |
| | |
| | | } |
| | | switch (this.matType) { |
| | | case 1: |
| | | return "单品"; |
| | | return "单品区"; |
| | | case 2: |
| | | return "高频混放"; |
| | | return "高频混放区"; |
| | | case 3: |
| | | return "低频混放"; |
| | | return "低频混放区"; |
| | | default: |
| | | return ""; |
| | | } |
| | |
| | | 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 |
| | |
| | | } |
| | | |
| | | 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} |
| | |
| | | ,{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} |
| | | |
| | | ] |
| | | |
| | |
| | | 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; |
| | | } |
| | |
| | | <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;"> |
| | | <!-- 树工具栏 --> |
| | |
| | | </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 --> |
| | |
| | | <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> |