| | |
| | | @Data |
| | | @TableName("inventory_variance") |
| | | public class InventoryVariance { |
| | | //存货编码 |
| | | //商品编码 |
| | | private String matnr; |
| | | //销售订单号 |
| | | private String csocode; |
| | | //销售订单行号 |
| | | private String isoseq; |
| | | //ERP存货数量 |
| | | //ERP商品数量 |
| | | private Double iquantity; |
| | | //立库存货数量 |
| | | //立库商品数量 |
| | | private Double anfme; |
| | | |
| | | public InventoryVariance(String matnr, String csocode, String isoseq, Double iquantity, Double anfme){ |
| | |
| | | * 颜色 |
| | | */ |
| | | @ApiModelProperty(value= "颜色") |
| | | @ExcelProperty(value = "存货分类名称") |
| | | @ExcelProperty(value = "商品分类名称") |
| | | private String color; |
| | | |
| | | /** |
| | | * 品牌 |
| | | */ |
| | | @ApiModelProperty(value= "品牌") |
| | | @ExcelProperty(value = "存货分类编码") |
| | | @ExcelProperty(value = "商品分类编码") |
| | | private String brand; |
| | | |
| | | /** |
| | |
| | | |
| | | |
| | | /** |
| | | * 存货档案同步 u8 |
| | | * 商品档案同步 u8 |
| | | */ |
| | | @Data |
| | | public class MatInfoParam { |
| | | |
| | | /* |
| | | 存货编码 |
| | | 商品编码 |
| | | */ |
| | | private String cinvcode; |
| | | |
| | | /* |
| | | 存货名称 |
| | | 商品名称 |
| | | */ |
| | | private String cinvname; |
| | | |
| | |
| | | private String cInvStd; |
| | | |
| | | /* |
| | | 存货分类编码 |
| | | 商品分类编码 |
| | | */ |
| | | private String cinvccode; |
| | | |
| | | /* |
| | | 存货分类名称 |
| | | 商品分类名称 |
| | | */ |
| | | private String cInvCName; |
| | | |
| | |
| | | function getCol() { |
| | | var cols = [ |
| | | {field: 'locNo', align: 'center',title: '库位号'}, |
| | | {field: 'matnr', align: 'center',title: '存货编码', sort:true} |
| | | ,{field: 'maktx', 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: false} |
| | | ,{field: 'batch', align: 'center',title: '序列码', width: 300} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | |
| | | ,{field: 'specs', align: 'center',title: '规格型号', hide: false} |
| | | ,{field: 'model', align: 'center',title: '通用型号', hide: false} |
| | | |
| | | ,{field: 'brand', align: 'center',title: '存货分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '存货分类名称', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '商品分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '商品分类名称', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '计量单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '进项税', hide: true} |
| | | ,{field: 'units', align: 'center',title: '销项税', hide: true} |
| | |
| | | var cols = [ |
| | | {field: 'locNo', align: 'center',title: '库位号'} |
| | | ,{field: 'suppCode', align: 'center',title: '料箱码', sort:true} |
| | | ,{field: 'matnr', align: 'center',title: '存货编码', sort:true} |
| | | ,{field: 'maktx', 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: false} |
| | | ,{field: 'batch', align: 'center',title: '序列码', sort:true} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码'} |
| | | ,{field: 'specs', align: 'center',title: '规格型号', hide: true} |
| | | ,{field: 'model', align: 'center',title: '通用型号', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '存货分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '存货分类名称', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '商品分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '商品分类名称', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '计量单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '进项税', hide: true} |
| | | ,{field: 'units', align: 'center',title: '销项税', hide: true} |
| | |
| | | } |
| | | |
| | | var matCols = [ |
| | | {field: 'matnr', align: 'center',title: '存货编码', width: 180} |
| | | {field: 'matnr', align: 'center',title: '商品编码', width: 180} |
| | | //,{field: 'name', align: 'center',title: '移动类型', hide: true} |
| | | ,{field: 'maktx', align: 'center',title: '存货名称', width: 150} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', width: 150} |
| | | ,{field: 'specs', align: 'center',title: '规格型号', hide: false} |
| | | ,{field: 'beBatch$', align: 'center',title: '物料频率', hide: false} |
| | | ,{field: 'model', align: 'center',title: '通用型号', hide: true} |
| | |
| | | // ,{field: 'weight', align: 'center',title: '重量', hide: false} |
| | | // ,{field: 'units', align: 'center',title: '支数', hide: false} |
| | | // ,{field: 'origin', align: 'center',title: '物料状态', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '存货分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '存货分类名称', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '商品分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '商品分类名称', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '计量单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '进项税', hide: true} |
| | | ,{field: 'units', align: 'center',title: '销项税', hide: true} |
| | |
| | | var detlCols = [ |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码', hide: true} |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码', hide: false} |
| | | ,{field: 'matnr', align: 'center',title: '存货编码',hide: true} |
| | | ,{field: 'matnr', align: 'center',title: '商品编码',hide: true} |
| | | ,{field: 'suppCode', align: 'center',title: '料箱码', hide: false} |
| | | ,{field: 'matnr', align: 'center',title: '存货编码'} |
| | | ,{field: 'matnr', align: 'center',title: '商品编码'} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'batch', align: 'center',title: '序列码', width: 300, sort:true, hide: true} |
| | | ,{field: 'maktx', align: 'center',title: '存货名称'} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称'} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false} |
| | | ,{field: 'threeCode', align: 'center',title: '销售订单号'} |
| | | ,{field: 'deadTime', align: 'center',title: '销售订单行号'} |
| | | ,{field: 'specs', align: 'center',title: '规格型号', hide: false} |
| | | ,{field: 'model', align: 'center',title: '通用型号', hide: false} |
| | | |
| | | ,{field: 'brand', align: 'center',title: '存货分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '存货分类名称', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '商品分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '商品分类名称', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '计量单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '进项税', hide: true} |
| | | ,{field: 'units', align: 'center',title: '销项税', hide: true} |
| | |
| | | var tableData; |
| | | function getCol() { |
| | | var cols = [ |
| | | {field: 'matnr', align: 'center',title: '存货编码'} |
| | | {field: 'matnr', align: 'center',title: '商品编码'} |
| | | ,{field: 'csocode', align: 'center',title: '销售订单号', sort:true} |
| | | ,{field: 'isoseq', align: 'center',title: '销售订单行号', sort:true} |
| | | ,{field: 'iquantity', align: 'center',title: 'ERP存货数量', sort:true} |
| | |
| | | var cols = [ |
| | | {field: 'locNo$', align: 'center',title: '库位号'} |
| | | ,{field: 'suppCode', align: 'center',title: '料箱码', sort:true} |
| | | ,{field: 'matnr', align: 'center',title: '存货编码', sort:true} |
| | | ,{field: 'maktx', 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: false} |
| | | ,{field: 'batch', align: 'center',title: '序列码', sort:true} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码'} |
| | | ,{field: 'specs', align: 'center',title: '规格型号', hide: true} |
| | | ,{field: 'model', align: 'center',title: '通用型号', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '存货分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '存货分类名称', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '商品分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '商品分类名称', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '计量单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '进项税', hide: true} |
| | | ,{field: 'units', align: 'center',title: '销项税', hide: true} |
| | |
| | | var cols = [ |
| | | {field: 'locNo', align: 'center',title: '库位号'} |
| | | ,{field: 'containerCode', align: 'center',title: '料想码', sort:true} |
| | | ,{field: 'matnr', align: 'center',title: '存货编码', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '存货名称', sort:true} |
| | | ,{field: 'matnr', align: 'center',title: '商品编码', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', sort:true} |
| | | ,{field: 'docNum', align: 'center',title: '单据编号', hide: true} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'csocode', align: 'center',title: '销售订单号'} |
| | |
| | | ,{field: 'zpallet', align: 'center',title: '托盘码', hide: false} |
| | | ,{field: 'specs', align: 'center',title: '规格型号', hide: false} |
| | | ,{field: 'model', align: 'center',title: '通用型号', hide: false} |
| | | ,{field: 'brand', align: 'center',title: '存货分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '存货分类名称', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '商品分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '商品分类名称', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '计量单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '进项税', hide: true} |
| | | ,{field: 'units', align: 'center',title: '销项税', hide: true} |
| | |
| | | var cols = [ |
| | | {field: 'locNo', align: 'center',title: '库位号'} |
| | | //,{field: 'containerCode', align: 'center',title: '料箱码', sort:true} |
| | | ,{field: 'matnr', align: 'center',title: '存货编码', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '存货名称', sort:true} |
| | | ,{field: 'matnr', align: 'center',title: '商品编码', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', sort:true} |
| | | //,{field: 'docNum', align: 'center',title: '单据编号', hide: true} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | // ,{field: 'csocode', align: 'center',title: '销售订单号'} |
| | |
| | | ,{field: 'batch', align: 'center',title: '车次', hide: false} |
| | | ,{field: 'specs', align: 'center',title: '规格型号', hide: false} |
| | | ,{field: 'model', align: 'center',title: '通用型号', hide: false} |
| | | ,{field: 'brand', align: 'center',title: '存货分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '存货分类名称', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '商品分类编码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '商品分类名称', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '计量单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '进项税', hide: true} |
| | | ,{field: 'units', align: 'center',title: '销项税', hide: true} |
| | |
| | | cellMinWidth: 100, |
| | | cols: [[ |
| | | {type: 'numbers'}, |
| | | {field: 'matnr', title: '存货编码', width: 160}, |
| | | {field: 'maktx', title: '存货名称', width: 160}, |
| | | {field: 'matnr', title: '商品编码', width: 160}, |
| | | {field: 'maktx', title: '商品名称', width: 160}, |
| | | {field: 'batch', title: '批号'}, |
| | | {field: 'anfme', title: '数量'}, |
| | | {field: 'qty', title: '作业数量', style: 'font-weight: bold'}, |
| | |
| | | cellMinWidth: 100, |
| | | cols: [[ |
| | | {type: 'numbers', title: '#'}, |
| | | {field: 'matnr', title: '存货编码', width: 160}, |
| | | {field: 'maktx', title: '存货名称', width: 200}, |
| | | {field: 'matnr', title: '商品编码', width: 160}, |
| | | {field: 'maktx', title: '商品名称', width: 200}, |
| | | {field: 'batch', title: '序列码', edit: true}, |
| | | {field: 'specs', title: '规格'}, |
| | | {field: 'anfme', title: '数量(修改)', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110}, |
| | |
| | | cellMinWidth: 100, |
| | | cols: [[ |
| | | {type: 'numbers'}, |
| | | {field: 'matnr', title: '存货编码', width: 160}, |
| | | {field: 'maktx', title: '存货名称', width: 160}, |
| | | {field: 'matnr', title: '商品编码', width: 160}, |
| | | {field: 'maktx', title: '商品名称', width: 160}, |
| | | {field: 'batch', title: '批号'}, |
| | | {field: 'anfme', title: '数量'}, |
| | | {field: 'qty', title: '作业数量', style: 'font-weight: bold'}, |
| | |
| | | cellMinWidth: 100, |
| | | cols: [[ |
| | | {type: 'numbers', title: '#'}, |
| | | {field: 'matnr', title: '存货编码', width: 160}, |
| | | {field: 'maktx', title: '存货名称', width: 200}, |
| | | {field: 'matnr', title: '商品编码', width: 160}, |
| | | {field: 'maktx', title: '商品名称', width: 200}, |
| | | {field: 'batch', title: '序列码', edit: true}, |
| | | {field: 'specs', title: '规格'}, |
| | | {field: 'anfme', title: '数量(修改)', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110}, |
| | |
| | | ,{field: 'docNum', align: 'center',title: '拣货单号'} |
| | | //,{field: 'uuid', align: 'center',title: 'uuid'} |
| | | ,{field: 'locNo', align: 'center',title: '库位'} |
| | | ,{field: 'matnr', align: 'center',title: '存货编码'} |
| | | ,{field: 'maktx', align: 'center',title: '存货名称'} |
| | | ,{field: 'matnr', align: 'center',title: '商品编码'} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称'} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'containerCode', align: 'center',title: '料箱码'} |
| | | ,{field: 'csocode', align: 'center',title: '销售订单号'} |
| | |
| | | <!-- 表格工具栏2 --> |
| | | <div id="search-box" class="layui-form toolbar" style="padding-top: 5px"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">存货编码:</label> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品编码:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="matnr" style="width: 120px" class="layui-input" placeholder="输入存货编码"/> |
| | | <input name="matnr" style="width: 120px" class="layui-input" placeholder="输入商品编码"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">存货名称:</label> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品名称:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="maktx" style="width: 120px" class="layui-input" placeholder="输入存货名称"/> |
| | | <input name="maktx" style="width: 120px" class="layui-input" placeholder="输入商品名称"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | </div> |
| | | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label layui-form-required">存货名称</label> |
| | | <label class="layui-form-label layui-form-required">商品名称</label> |
| | | <div class="layui-input-block"> |
| | | <input name="maktx" placeholder="请输入存货名称" class="layui-input" lay-vertype="tips" lay-verify="required" required=""> |
| | | <input name="maktx" placeholder="请输入商品名称" class="layui-input" lay-vertype="tips" lay-verify="required" required=""> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | |
| | | <input name="storeMaxDate" placeholder="库龄上限(天)" type="number" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">存货分类编码</label> |
| | | <!--<div class="layui-form-item"> |
| | | <label class="layui-form-label">商品分类编码</label> |
| | | <div class="layui-input-block"> |
| | | <input name="brand" placeholder="请输入存货分类编码" class="layui-input"> |
| | | <input name="brand" placeholder="请输入商品分类编码" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div>--> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">计量单位</label> |
| | | <div class="layui-input-block"> |
| | | <input name="unit" placeholder="请输入计量单位" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <!--<div class="layui-form-item"> |
| | | <label class="layui-form-label">进项税</label> |
| | | <div class="layui-input-block"> |
| | | <input name="price" placeholder="请输入进项税" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div>--> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">状态:</label> |
| | | <div class="layui-input-block"> |
| | |
| | | |
| | | <div class="layui-col-md6"> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label layui-form-required">存货编码</label> |
| | | <label class="layui-form-label layui-form-required">商品编码</label> |
| | | <div class="layui-input-block"> |
| | | <input id="matnr" name="matnr" placeholder="请输入存货编码" class="layui-input" lay-vertype="tips" lay-verify="required" required=""> |
| | | <input id="matnr" name="matnr" placeholder="请输入商品编码" class="layui-input" lay-vertype="tips" lay-verify="required" required=""> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">通用型号</label> |
| | | <label class="layui-form-label">商品类型</label> |
| | | <div class="layui-input-block"> |
| | | <input name="model" placeholder="请输入备注" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">存货分类名称</label> |
| | | <!--<div class="layui-form-item"> |
| | | <label class="layui-form-label">商品分类名称</label> |
| | | <div class="layui-input-block"> |
| | | <input name="color" placeholder="请输入备注" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-form-item"> |
| | | </div>--> |
| | | <!--<div class="layui-form-item"> |
| | | <label class="layui-form-label">销项税</label> |
| | | <div class="layui-input-block"> |
| | | <input name="units" placeholder="请输入销项税" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | </div>--> |
| | | <!--<div class="layui-form-item"> |
| | | <label class="layui-form-label">建档人</label> |
| | | <div class="layui-input-block"> |
| | | <input name="supp" placeholder="请输入建档人" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div>--> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">备注</label> |
| | | <div class="layui-input-block"> |
| | | <input name="memo" placeholder="请输入备注" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <!-- <div class="layui-form-item"> |
| | | <label class="layui-form-label">物料频率</label> |
| | | <div class="layui-input-block"> |
| | | <input name="beBatch" type="number" placeholder="1为高频,其他均为低频" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div>--> |
| | | |
| | | </div> |
| | | </div> |