| | |
| | | @ApiModelProperty(value= "规格") |
| | | private String lgnum; |
| | | |
| | | @ApiModelProperty(value= "商品类别") |
| | | @ApiModelProperty(value= "物料类别") |
| | | private String type; |
| | | |
| | | @ApiModelProperty(value= "助记码") |
| | |
| | | /** |
| | | * 物料编码 |
| | | */ |
| | | @ApiModelProperty(value= "商品编码") |
| | | @ApiModelProperty(value= "物料编码") |
| | | @TableId(value = "mat_no", type = IdType.INPUT) |
| | | @TableField("mat_no") |
| | | private String matNo; |
| | |
| | | /** |
| | | * 物料名称 |
| | | */ |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ApiModelProperty(value= "物料名称") |
| | | @TableField("mat_name") |
| | | private String matName; |
| | | |
| | |
| | | @ApiModelProperty(value= "基本单位") |
| | | private String str1; |
| | | |
| | | @ApiModelProperty(value= "商品类别") |
| | | @ApiModelProperty(value= "物料类别") |
| | | private String str2; |
| | | |
| | | @ApiModelProperty(value= "规格型号") |
| | |
| | | private String bname; //用户ID |
| | | |
| | | private String lgnum; //规格 |
| | | private String type; // 商品类别 |
| | | private String type; // 物料类别 |
| | | private String mnemonic; // 助记码 |
| | | private String supplier; // 供应商 |
| | | private String warehouse; // 仓库 |
| | |
| | | private String bname; //用户ID |
| | | |
| | | private String lgnum; //规格 |
| | | private String type; // 商品类别 |
| | | private String type; // 物料类别 |
| | | private String mnemonic; // 助记码 |
| | | private String supplier; // 供应商 |
| | | private String warehouse; // 仓库 |
| | |
| | | /** |
| | | * 仓库号 |
| | | */ |
| | | @ApiModelProperty(value= "商品类别") |
| | | @ApiModelProperty(value= "物料类别") |
| | | private String type; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 仓库号 |
| | | */ |
| | | @ApiModelProperty(value= "商品类别") |
| | | @ApiModelProperty(value= "物料类别") |
| | | private String type; |
| | | |
| | | /** |
| | |
| | | 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()); // 默认仓库 |
| | |
| | | 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()); // 默认仓库 |
| | |
| | | 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()); // 默认仓库 |
| | |
| | | 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()); // 默认仓库 |
| | |
| | | */ |
| | | 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) |
| | |
| | | } |
| | | |
| | | 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: '助记码'} |
| | |
| | | ] |
| | | |
| | | 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: '仓库'} |
| | |
| | | ,"spread": true |
| | | ,"list": [{ |
| | | "name": "list" |
| | | ,"title": "商品列表" |
| | | ,"title": "物料列表" |
| | | },{ |
| | | "name": "category" |
| | | ,"title": "分类管理" |
| | |
| | | .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;} |
| | |
| | | </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"> |
| | |
| | | </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"> |
| | |
| | | </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"> |