| | |
| | | @ApiModelProperty(value= "接头") |
| | | private String specs; |
| | | |
| | | @ApiModelProperty(value= "箱号") |
| | | // @ExcelProperty("箱号") |
| | | @ApiModelProperty(value= "批次") |
| | | // @ExcelProperty("批次") |
| | | private String batch; |
| | | |
| | | @ApiModelProperty(value= "单据编号") |
| | |
| | | @TableField("order_no") |
| | | private String orderNo; |
| | | |
| | | @ApiModelProperty(value= "卷号") |
| | | @ApiModelProperty(value= "MES工作号") |
| | | private String model; |
| | | |
| | | @ApiModelProperty(value= "颜色") |
| | |
| | | private Long uuid; |
| | | |
| | | /** |
| | | * 卷号 |
| | | * MES工作号 //煜星 |
| | | */ |
| | | @ApiModelProperty(value= "卷号") |
| | | @ApiModelProperty(value= "MES工作号") |
| | | @TableField("roll_no") |
| | | private String rollNo; |
| | | |
| | |
| | | private String position;// 是 字符串 木箱位置(拆垛时需要) origin //上传 |
| | | private Double weight;// 是 小数型 重量 //上传 |
| | | private Integer anfme;// 数字型 木箱中铜箔数量 //上传 |
| | | private String batch;// 字符串 箱号 //PDA |
| | | private String batch;// 字符串 批次 //PDA |
| | | private String specs;// 字符串 规格 |
| | | private String model;// 字符串 规格 |
| | | // private String standby4;// 卷信息Id //上传 |
| | |
| | | @Data |
| | | public class OutLocBoxVo { |
| | | |
| | | @ExcelProperty(value = "箱号") |
| | | @ExcelProperty(value = "批次") |
| | | private String batch; |
| | | @ExcelProperty(value = "订单号") |
| | | private String orderNo; |
| | |
| | | List<String> matListBoxNoList = new ArrayList<>(); |
| | | for (TrussCombParam.MatList matList: param.getMatList()){ |
| | | if (!orderBoxNoList.contains(matList.getBatch())){ |
| | | throw new CoolException("单号:"+param.getOrderNo()+" 箱号:"+matList.getBatch()+"不属于此订单或者已经入库"); |
| | | throw new CoolException("单号:"+param.getOrderNo()+" 批次:"+matList.getBatch()+"不属于此订单或者已经入库"); |
| | | }else { |
| | | matListBoxNoList.add(matList.getBatch()); |
| | | } |
| | |
| | | waitPakin.setWeight(orderDetl.getWeight()); //净重 |
| | | waitPakin.setVolume(orderDetl.getVolume()); //毛重 |
| | | waitPakin.setPrice(orderDetl.getPrice()); //长度 |
| | | waitPakin.setSpecs(String.valueOf(orderDetl.getSpecs())); //接头 |
| | | waitPakin.setSpecs(String.valueOf(orderDetl.getSpecs())); //接头 MES订单号 |
| | | waitPakin.setOrigin("1"); //木箱在托盘上的位置 |
| | | waitPakin.setIoStatus("Y"); // 入出状态 |
| | | waitPakin.setAnfme(orderDetl.getAnfme()); // 木箱中铜箔数量 |
| | |
| | | matnr = matList.getMatnr(); |
| | | WaitPakin waitPakin = new WaitPakin(); |
| | | waitPakin.sync(mat); |
| | | waitPakin.setBatch(matList.getBatch()); //木箱编码 //批次 唯一值 箱号 |
| | | waitPakin.setBatch(matList.getBatch()); //木箱编码 //批次 唯一值 批次 |
| | | waitPakin.setModel(matList.getModel()); //卷号 唯一值 |
| | | waitPakin.setBrand(param.getBoxType()); //木箱类型 |
| | | waitPakin.setZpallet(param.getBarcode()); //托盘码 |
| | |
| | | waitPakin.setWeight(matList.getWeight()); //净重 |
| | | waitPakin.setVolume(matList.getRoughWeight()); //毛重 |
| | | waitPakin.setPrice(matList.getRollExtent()); //长度 |
| | | waitPakin.setSpecs(String.valueOf(matList.getJoint())); //接头 |
| | | waitPakin.setSpecs(String.valueOf(matList.getJoint())); //接头 MES订单号 |
| | | waitPakin.setIoStatus("Y"); // 入出状态 |
| | | waitPakin.setAnfme(matList.getAnfme()); // 数量 |
| | | waitPakin.setStatus("Y"); // 状态 |
| | |
| | | } |
| | | WaitPakin waitPakin = new WaitPakin(); |
| | | waitPakin.sync(mat); |
| | | waitPakin.setBatch(matList.getBatch()); //木箱编码 //批次 唯一值 箱号 |
| | | waitPakin.setBatch(matList.getBatch()); //木箱编码 //批次 唯一值 批次 |
| | | waitPakin.setModel(matList.getModel()); //卷号 唯一值 |
| | | waitPakin.setBrand(param.getBoxType()); //木箱类型 |
| | | waitPakin.setZpallet(param.getBarcode()); //托盘码 |
| | |
| | | waitPakin.setWeight(matList.getWeight()); //净重 |
| | | waitPakin.setVolume(matList.getRoughWeight()); //毛重 |
| | | waitPakin.setPrice(matList.getRollExtent()); //长度 |
| | | waitPakin.setSpecs(String.valueOf(matList.getJoint())); //接头 |
| | | waitPakin.setSpecs(String.valueOf(matList.getJoint())); //接头 MES订单号 |
| | | waitPakin.setIoStatus("N"); // 入出状态 |
| | | waitPakin.setAnfme(matList.getAnfme()); // 数量 |
| | | waitPakin.setStatus("Y"); // 状态 |
| | |
| | | WaitPakin waitPakin = new WaitPakin(); |
| | | waitPakin.sync(mat); |
| | | waitPakin.setBatch(param.getBatch()); //木箱编码 //批次 唯一值 箱号 |
| | | waitPakin.setModel(param.getTaskNo()); //卷号 唯一值 |
| | | waitPakin.setModel(param.getTaskNo()); //卷号 唯一值 工作号 |
| | | // waitPakin.setBrand(param.getBoxType()); //木箱类型 |
| | | waitPakin.setZpallet(basDevp.getBarcode()); //托盘码 |
| | | // waitPakin.setOrigin(matList.getPosition()); //木箱在托盘上的位置 |
| | | waitPakin.setWeight(param.getWeight()); //净重 |
| | | // waitPakin.setVolume(matList.getRoughWeight()); //毛重 |
| | | // waitPakin.setPrice(matList.getRollExtent()); //长度 |
| | | waitPakin.setSpecs(param.getOrderNo()); //单号 借用 |
| | | waitPakin.setSpecs(param.getOrderNo()); //MES订单号 借用规格 |
| | | // waitPakin.setIoStatus("N"); // 入出状态 |
| | | // waitPakin.setAnfme(matList.getAnfme()); // 数量 |
| | | waitPakin.setColor(param.getColor()); // 颜色 |
| | |
| | | WaitPakin waitPakin = new WaitPakin(); |
| | | waitPakin.sync(locDetl); |
| | | waitPakin.setBatch(locDetl.getBatch()); //木箱编码 //批次 唯一值 箱号 |
| | | waitPakin.setModel(locDetl.getModel()); //卷号 唯一值 |
| | | waitPakin.setModel(locDetl.getModel()); //MES工作号 唯一值 |
| | | waitPakin.setIoStatus("Y"); // 入出状态 |
| | | waitPakin.setAnfme(locDetl.getAnfme()); // 数量 |
| | | waitPakin.setStatus("Y"); // 状态 |
| | |
| | | if (!outLocBoxCNew.contains(outLocBoxC[0])){ |
| | | LocDetl locDetlSou = locDetlService.selectOne(new EntityWrapper<LocDetl>().eq("batch", outLocBoxC[0])); |
| | | if (Cools.isEmpty(locDetlSou)){ |
| | | throw new CoolException("箱号:"+outLocBoxC[0]+" 未查询到数据!!!"); |
| | | throw new CoolException("批次:"+outLocBoxC[0]+" 未查询到数据!!!"); |
| | | } |
| | | List<LocDetl> locDetls = locDetlService.selectList(new EntityWrapper<LocDetl>() |
| | | .eq("loc_no", locDetlSou.getLocNo()).eq("origin", locDetlSou.getOrigin())); |
| | |
| | | if (Cools.isEmpty(matnr)) { //物料号 |
| | | matnr = ""; |
| | | } |
| | | if (Cools.isEmpty(batch)) { //箱号 |
| | | if (Cools.isEmpty(batch)) { //批次 |
| | | batch = ""; |
| | | } |
| | | if (Cools.isEmpty(grade)) { //备用 |
| | |
| | | {field: 'locNo', align: 'center',title: '库位号'} |
| | | ,{field: 'matnrOld', align: 'center',title: '原规格'} |
| | | ,{field: 'matnr', align: 'center',title: '当前规格'} |
| | | ,{field: 'batch', align: 'center',title: '箱号'} |
| | | ,{field: 'batch', align: 'center',title: '批次'} |
| | | // ,{field: 'oriCtns', align: 'center',title: '原箱数'} |
| | | ,{field: 'oriQty', align: 'center',title: '原数量'} |
| | | // ,{field: 'oriWt', align: 'center',title: '原重量'} |
| | | // ,{field: 'adjCtns', align: 'center',title: '变更箱数'} |
| | | ,{field: 'adjQty', align: 'center',title: '变更数量'} |
| | | ,{field: 'origin', align: 'center',title: '木箱位置', hide: false} |
| | | ,{field: 'origin', align: 'center',title: '木箱位置',hide:true} |
| | | // ,{field: 'adjWt', align: 'center',title: '变更重量'} |
| | | ,{field: 'memo', align: 'center',title: '备注',hide:true} |
| | | ,{field: 'modiUser$', align: 'center',title: '修改人员'} |
| | |
| | | // ,{field: 'tagId$', align: 'center',title: '所属归类'} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称(品名)', width: 200} |
| | | // ,{field: 'name', align: 'center',title: '别名'} |
| | | ,{field: 'specs', align: 'center',title: '接头'} |
| | | ,{field: 'model', align: 'center',title: '卷号', hide: false} |
| | | ,{field: 'specs', align: 'center',title: 'MES订单号', hide: false} |
| | | ,{field: 'model', align: 'center',title: 'MES工作号', hide: false} |
| | | ,{field: 'color', align: 'center',title: '颜色', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '木箱类型', hide: true} |
| | | ,{field: 'brand$', align: 'center',title: '木箱类型', hide: false} |
| | | ,{field: 'unit', align: 'center',title: '单位', hide: false} |
| | | ,{field: 'price', align: 'center',title: '长度', hide: false} |
| | | ,{field: 'sku', align: 'center',title: '木箱编码', hide: false} |
| | | ,{field: 'brand$', align: 'center',title: '木箱类型', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '长度', hide: true} |
| | | ,{field: 'sku', align: 'center',title: '木箱编码', hide: true} |
| | | ,{field: 'units', align: 'center',title: '单位量', hide: true} |
| | | ,{field: 'barcode', align: 'center',title: '条码', hide: true} |
| | | ,{field: 'origin', align: 'center',title: '木箱位置', hide: false} |
| | | ,{field: 'origin', align: 'center',title: '木箱位置', hide: true} |
| | | ,{field: 'manu', align: 'center',title: '厂家', hide: true} |
| | | ,{field: 'manuDate', align: 'center',title: '生产日期', hide: true} |
| | | ,{field: 'itemNum', align: 'center',title: '品项数', hide: true} |
| | | ,{field: 'safeQty', align: 'center',title: '安全库存量', hide: true} |
| | | ,{field: 'weight', align: 'center',title: '单箱净重', hide: true} |
| | | ,{field: 'weight$', align: 'center',title: '净重', hide: false} |
| | | // ,{field: 'length', align: 'center',title: '单箱毛重', hide: true} |
| | | ,{field: 'volume', align: 'center',title: '单箱毛重', hide: false} |
| | | ,{field: 'volume', align: 'center',title: '单箱毛重', hide: true} |
| | | ,{field: 'threeCode', align: 'center',title: '箱子尺寸', hide: true} |
| | | ,{field: 'supp', align: 'center',title: '供应商', hide: true} |
| | | ,{field: 'suppCode', align: 'center',title: '供应商编码', hide: true} |
| | |
| | | {field: 'matnr', align: 'center',title: '规格', sort:false, hide: false} |
| | | ,{field: 'maktx', align: 'center',title: '品名', sort:true, hide: true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: true} |
| | | ,{field: 'batch', align: 'center',title: '箱号', hide: false, sort:true} |
| | | ,{field: 'model', align: 'center',title: '卷号', hide: false} |
| | | ,{field: 'batch', align: 'center',title: '批次', hide: false, sort:true} |
| | | ,{field: 'model', align: 'center',title: 'MES工作号', hide: false} |
| | | ,{field: 'brand', align: 'center',title: '木箱类型', hide: true, sort:true} |
| | | ,{field: 'brand$', align: 'center',title: '木箱类型', hide: false, sort:true} |
| | | ,{field: 'anfme', align: 'center',title: '数量', hide: false, sort:true} |
| | | ,{field: 'brand$', align: 'center',title: '木箱类型', hide: true, sort:true} |
| | | ,{field: 'anfme', align: 'center',title: '数量', hide: true, sort:true} |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码', hide: false} |
| | | |
| | | ,{field: 'specs', align: 'center',title: '接头', hide: false} |
| | | ,{field: 'specs', align: 'center',title: 'MES订单号', hide: false} |
| | | ,{field: 'color', align: 'center',title: '颜色', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '长度', hide: false} |
| | | ,{field: 'price', align: 'center',title: '长度', hide: true} |
| | | ,{field: 'sku', align: 'center',title: 'sku', hide: true} |
| | | ,{field: 'units', align: 'center',title: '单位量', hide: true} |
| | | ,{field: 'barcode', align: 'center',title: '条码', hide: true} |
| | | ,{field: 'origin', align: 'center',title: '木箱位置', hide: false} |
| | | ,{field: 'origin', align: 'center',title: '木箱位置', hide: true} |
| | | ,{field: 'manu', align: 'center',title: '厂家', hide: true} |
| | | ,{field: 'manuDate', align: 'center',title: '生产日期', hide: true} |
| | | ,{field: 'itemNum', align: 'center',title: '品项数', hide: true} |
| | | ,{field: 'safeQty', align: 'center',title: '安全库存量', hide: true} |
| | | ,{field: 'weight', align: 'center',title: '单箱净重', hide: false, sort:true} |
| | | ,{field: 'weight', align: 'center',title: '净重', hide: false, sort:true} |
| | | // ,{field: 'length', align: 'center',title: '单箱毛重', hide: true} |
| | | ,{field: 'volume', align: 'center',title: '单箱毛重', hide: false} |
| | | ,{field: 'volume', align: 'center',title: '单箱毛重', hide: true} |
| | | ,{field: 'threeCode', align: 'center',title: '箱子尺寸', hide: true} |
| | | ,{field: 'supp', align: 'center',title: '供应商', hide: true} |
| | | ,{field: 'suppCode', align: 'center',title: '供应商编码', hide: true} |
| | |
| | | ,{field: 'matnr', align: 'center',title: '规格', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', sort:true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: true} |
| | | ,{field: 'batch', align: 'center',title: '箱号', width: 300, sort:true} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'batch', align: 'center',title: '批次', width: 300, sort:true} |
| | | ,{field: 'anfme', align: 'center',title: '数量', hide: true} |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码'} |
| | | ,{field: 'specs', align: 'center',title: '接头'} |
| | | ,{field: 'model', align: 'center',title: '卷号', hide: false} |
| | | ,{field: 'specs', align: 'center',title: 'MES订单号', hide: false} |
| | | ,{field: 'model', align: 'center',title: 'MES工作号', hide: false} |
| | | ,{field: 'color', align: 'center',title: '颜色', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '木箱类型', hide: true} |
| | | ,{field: 'brand$', align: 'center',title: '木箱类型', hide: false} |
| | | ,{field: 'brand$', align: 'center',title: '木箱类型', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '长度', hide: false} |
| | | ,{field: 'price', align: 'center',title: '长度', hide: true} |
| | | ,{field: 'sku', align: 'center',title: 'sku', hide: true} |
| | | ,{field: 'units', align: 'center',title: '单位量', hide: true} |
| | | ,{field: 'barcode', align: 'center',title: '条码', hide: true} |
| | | ,{field: 'origin', align: 'center',title: '木箱位置', hide: false} |
| | | ,{field: 'origin', align: 'center',title: '木箱位置', hide: true} |
| | | ,{field: 'manu', align: 'center',title: '厂家', hide: true} |
| | | ,{field: 'manuDate', align: 'center',title: '生产日期', hide: true} |
| | | ,{field: 'itemNum', align: 'center',title: '品项数', hide: true} |
| | | ,{field: 'safeQty', align: 'center',title: '安全库存量', hide: true} |
| | | ,{field: 'weight', align: 'center',title: '单箱净重', hide: true} |
| | | ,{field: 'weight', align: 'center',title: '净重', hide: false} |
| | | // ,{field: 'length', align: 'center',title: '单箱毛重', hide: true} |
| | | ,{field: 'volume', align: 'center',title: '单箱毛重', hide: false} |
| | | ,{field: 'volume', align: 'center',title: '单箱毛重', hide: true} |
| | | ,{field: 'threeCode', align: 'center',title: '箱子尺寸', hide: true} |
| | | ,{field: 'supp', align: 'center',title: '供应商', hide: true} |
| | | ,{field: 'suppCode', align: 'center',title: '供应商编码', hide: true} |
| | |
| | | // {type: 'checkbox'}, |
| | | {field: 'id', align: 'center',title: 'ID',hide : true} |
| | | ,{field: 'uuid', align: 'center',title: '编号',hide : true} |
| | | ,{field: 'rollNo', align: 'center',title: '卷号',hide : false} |
| | | ,{field: 'rollNo', align: 'center',title: 'MES工作号',hide : false} |
| | | ,{field: 'rollWeight', align: 'center',title: '重量',hide : false} |
| | | ,{field: 'rollLength', align: 'center',title: '长度',hide : false} |
| | | ,{field: 'rollWidth', align: 'center',title: '宽度',hide : false} |
| | |
| | | {field: 'matnr', align: 'center',title: '规格', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', sort:true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: true} |
| | | ,{field: 'batch', align: 'center',title: '箱号', width: 300, sort:true} |
| | | ,{field: 'batch', align: 'center',title: '批次', width: 300, sort:true} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | //,{field: 'zpallet', align: 'center',title: '托盘条码'} |
| | | ,{field: 'specs', align: 'center',title: '接头'} |
| | | ,{field: 'model', align: 'center',title: '卷号', hide: false} |
| | | ,{field: 'specs', align: 'center',title: 'MES订单号', hide: false} |
| | | ,{field: 'model', align: 'center',title: 'MES工作号', hide: false} |
| | | ,{field: 'color', align: 'center',title: '颜色', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '木箱类型', hide: true} |
| | | ,{field: 'brand$', align: 'center',title: '木箱类型', hide: false} |
| | | ,{field: 'brand$', align: 'center',title: '木箱类型', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '长度', hide: false} |
| | | ,{field: 'sku', align: 'center',title: '木箱编码', hide: false} |
| | | ,{field: 'price', align: 'center',title: '长度', hide: true} |
| | | ,{field: 'sku', align: 'center',title: '木箱编码',hide: true} |
| | | ,{field: 'units', align: 'center',title: '单位量', hide: true} |
| | | ,{field: 'barcode', align: 'center',title: '条码', hide: true} |
| | | ,{field: 'origin', align: 'center',title: '木箱位置', hide: false} |
| | |
| | | ,{field: 'manuDate', align: 'center',title: '生产日期', hide: true} |
| | | ,{field: 'itemNum', align: 'center',title: '品项数', hide: true} |
| | | ,{field: 'safeQty', align: 'center',title: '安全库存量', hide: true} |
| | | ,{field: 'weight', align: 'center',title: '单箱净重', hide: true} |
| | | ,{field: 'weight', align: 'center',title: '净重', hide: false} |
| | | // ,{field: 'length', align: 'center',title: '单箱毛重', hide: true} |
| | | ,{field: 'volume', align: 'center',title: '单箱毛重', hide: false} |
| | | ,{field: 'volume', align: 'center',title: '单箱毛重', hide: true} |
| | | ,{field: 'threeCode', align: 'center',title: '箱子尺寸', hide: true} |
| | | ,{field: 'supp', align: 'center',title: '供应商', hide: true} |
| | | ,{field: 'suppCode', align: 'center',title: '供应商编码', hide: true} |
| | |
| | | style: 'color: blue;font-weight: bold' |
| | | } |
| | | , {field: 'maktx', align: 'center', title: '品名'} |
| | | , {field: 'specs', align: 'center', title: '接头'} |
| | | , {field: 'specs', align: 'center', title: 'MES订单号', hide: false} |
| | | ]; |
| | | } |
| | | |
| | |
| | | {type: 'numbers'}, |
| | | {field: 'matnr', title: '规格', width: 160}, |
| | | {field: 'maktx', title: '商品名称', width: 160}, |
| | | {field: 'batch', title: '箱号'}, |
| | | {field: 'batch', title: '批次'}, |
| | | {field: 'anfme', title: '数量'}, |
| | | // {field: 'workQty', title: '作业数量'}, |
| | | |
| | |
| | | // }, |
| | | // {field: 'inQty', title: '已入库量'}, |
| | | // {field: 'color', title: '颜色'}, |
| | | {field: 'specs', title: '接头'}, |
| | | {field: 'specs', title: 'MES订单号'}, |
| | | {field: 'qty$', title: '状态', style: 'font-weight: bold'}, |
| | | {field: 'source$', title: '是否确认', style: 'font-weight: bold'} |
| | | ]], |
| | |
| | | {type: 'numbers', title: '#'}, |
| | | {field: 'matnr', title: '规格', width: 160}, |
| | | {field: 'maktx', title: '商品名称', width: 200}, |
| | | {field: 'batch', title: '箱号', edit: true}, |
| | | {field: 'specs', title: '接头'}, |
| | | {field: 'batch', title: '批次', edit: true}, |
| | | {field: 'specs', title: 'MES订单号'}, |
| | | {field: 'anfme', title: '数量(修改)', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110}, |
| | | {field: 'workQty', title: '作业数量', minWidth: 100, width: 100}, |
| | | // {field: 'unit', title: '单位', width: 80}, |
| | |
| | | // {field: 'orderNo', title: '单据编号', merge: true, align: 'center'}, |
| | | {field: 'title', title: '商品', align: 'center', width: 350}, |
| | | // {field: 'title', title: '商品', merge: true, align: 'center', width: 350}, |
| | | {field: 'batch', title: '箱号', align: 'center'}, |
| | | {field: 'model', title: '卷号', align: 'center', hide: false}, |
| | | {field: 'specs', title: '接头', align: 'center'}, |
| | | {field: 'batch', title: '批次', align: 'center'}, |
| | | {field: 'model', title: 'MES工作号', align: 'center', hide: false}, |
| | | {field: 'specs', title: 'MES订单号', align: 'center'}, |
| | | // {field: 'brand', title: '木箱类型', align: 'center'}, |
| | | {field: 'brand$', title: '木箱类型', align: 'center'}, |
| | | {field: 'zpallet', title: '托盘码', align: 'center'}, |
| | |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', templet: '#orderNoTpl', width: 160} |
| | | ,{field: 'matnr', align: 'center',title: '规格', width: 160} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', width: 200} |
| | | ,{field: 'batch', align: 'center',title: '箱号'} |
| | | ,{field: 'specs', align: 'center',title: '接头'} |
| | | ,{field: 'batch', align: 'center',title: '批次'} |
| | | ,{field: 'specs', align: 'center',title: 'MES订单号'} |
| | | // ,{field: 'anfme', align: 'center',title: '数量'} |
| | | // ,{field: 'qty', align: 'center',title: '作业数量', style: 'font-weight: bold'} |
| | | ,{field: 'enableQty', align: 'center',title: '待出数量', style: 'font-weight: bold'} |
| | | // ,{field: 'name', align: 'center',title: '名称'} |
| | | ,{field: 'model', align: 'center',title: '卷号', hide: false} |
| | | ,{field: 'model', align: 'center',title: 'MES工作号', hide: false} |
| | | ,{field: 'unit', align: 'center',title: '单位', hide: true} |
| | | ,{field: 'barcode', align: 'center',title: '商品条码', hide: true} |
| | | // ,{field: 'supplier', align: 'center',title: '供应商'} |
| | |
| | | // {type: 'checkbox', merge: ['orderNo']}, |
| | | {field: 'orderNo', title: '单据编号', merge: true, align: 'center'}, |
| | | {field: 'title', title: '商品', merge: true, align: 'center', width: 350}, |
| | | {field: 'batch', title: '箱号', align: 'center'}, |
| | | {field: 'model', title: '卷号', align: 'center', hide: false}, |
| | | {field: 'specs', title: '接头', align: 'center'}, |
| | | {field: 'batch', title: '批次', align: 'center'}, |
| | | {field: 'model', title: 'MES工作号', align: 'center', hide: false}, |
| | | {field: 'specs', title: 'MES订单号', align: 'center'}, |
| | | {field: 'brand', align: 'center',title: '木箱类型', hide: true}, |
| | | {field: 'brand$', align: 'center',title: '木箱类型', hide: false}, |
| | | {field: 'zpallet', title: '托盘码', align: 'center'}, |
| | |
| | | ,{field: 'matnr', align: 'center',title: '规格'} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称'} |
| | | ,{field: 'name', align: 'center',title: '名称'} |
| | | ,{field: 'specs', align: 'center',title: '接头'} |
| | | ,{field: 'model', align: 'center',title: '卷号', hide: false} |
| | | ,{field: 'batch', align: 'center',title: '箱号'} |
| | | ,{field: 'specs', align: 'center',title: 'MES订单号'} |
| | | ,{field: 'model', align: 'center',title: 'MES工作号', hide: false} |
| | | ,{field: 'batch', align: 'center',title: '批次'} |
| | | ,{field: 'unit', align: 'center',title: '单位'} |
| | | ,{field: 'barcode', align: 'center',title: '商品条码'} |
| | | ,{field: 'supplier', align: 'center',title: '供应商'} |
| | |
| | | // ,{field: 'id', align: 'center',title: 'ID'} |
| | | ,{field: 'barcode',title: '条码'} |
| | | ,{field: 'matnr', align: 'center',title: '规格', minWidth: 250, width: 250} |
| | | ,{field: 'batch', align: 'center',title: '箱号', hide: true} |
| | | ,{field: 'batch', align: 'center',title: '批次', hide: true} |
| | | ,{field: 'settle$', align: 'center',title: '状态', templet: '#settleTpl', minWidth: 160, width: 160} |
| | | // ,{field: 'status$', align: 'center',title: '状态'} |
| | | // ,{field: 'createTime$', align: 'center',title: '添加时间'} |
| | |
| | | function getCol() { |
| | | var cols = [ |
| | | {fixed: 'left', field: 'anfme', title: '数量(必填)', align: 'center', edit:'text', width: 120, style:'color: blue;font-weight: bold'}, |
| | | {field: 'batch', title: '箱号(选填)', align: 'center', edit:'text', width: 200, style:'color: block;font-weight: bold'} |
| | | {field: 'batch', title: '批次(选填)', align: 'center', edit:'text', width: 200, style:'color: block;font-weight: bold'} |
| | | ]; |
| | | cols.push.apply(cols, matCols); |
| | | cols.push({fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width: 80}) |
| | |
| | | var cols = [ |
| | | {fixed: 'left', field: 'count', title: '实际数量', align: 'center', edit:'text', width: 120, style:'color: blue;font-weight: bold'}, |
| | | {field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'batch', align: 'center',title: '箱号(编辑)', edit: true, style: 'font-weight:bold'} |
| | | ,{field: 'batch', align: 'center',title: '批次(编辑)', edit: true, style: 'font-weight:bold'} |
| | | ]; |
| | | arrRemove(detlCols, "field", "anfme"); |
| | | arrRemove(detlCols, "field", "batch"); |
| | |
| | | {field: 'locNo', align: 'center',title: '库位号'}, |
| | | {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, sort:true , hide: true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: true} |
| | | ,{field: 'batch', align: 'center',title: '批次', width: 300, sort:true , hide: true} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码', hide: true} |
| | | ,{field: 'specs', align: 'center',title: '接头' , hide: false} |
| | | ,{field: 'model', align: 'center',title: '卷号', hide: false} |
| | | ,{field: 'specs', align: 'center',title: 'MES订单号' , hide: false} |
| | | ,{field: 'model', align: 'center',title: 'MES工作号', hide: false} |
| | | ,{field: 'color', align: 'center',title: '颜色', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '木箱类型', hide: true} |
| | | ,{field: 'brand$', align: 'center',title: '木箱类型', hide: false} |
| | | ,{field: 'brand$', align: 'center',title: '木箱类型', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '长度', hide: false} |
| | | ,{field: 'sku', align: 'center',title: '木箱编码', hide: false} |
| | | ,{field: 'price', align: 'center',title: '长度', hide: true} |
| | | ,{field: 'sku', align: 'center',title: '木箱编码', hide: true} |
| | | ,{field: 'units', align: 'center',title: '单位量', hide: true} |
| | | ,{field: 'barcode', align: 'center',title: '条码', hide: true} |
| | | ,{field: 'origin', align: 'center',title: '木箱位置', hide: false} |
| | | ,{field: 'origin', align: 'center',title: '木箱位置', hide: true} |
| | | ,{field: 'manu', align: 'center',title: '厂家', hide: true} |
| | | ,{field: 'manuDate', align: 'center',title: '生产日期', hide: true} |
| | | ,{field: 'itemNum', align: 'center',title: '品项数', hide: true} |
| | | ,{field: 'safeQty', align: 'center',title: '安全库存量', hide: true} |
| | | ,{field: 'weight', align: 'center',title: '单箱净重', hide: true} |
| | | ,{field: 'weight', align: 'center',title: '净重', hide: false} |
| | | ,{field: 'roughWeight', align: 'center',title: '单箱毛重', hide: true} |
| | | // ,{field: 'length', align: 'center',title: '单箱毛重', hide: true} |
| | | ,{field: 'volume', align: 'center',title: '单箱毛重', hide: false} |
| | | ,{field: 'volume', align: 'center',title: '单箱毛重', hide: true} |
| | | ,{field: 'threeCode', align: 'center',title: '箱子尺寸', hide: true} |
| | | ,{field: 'supp', align: 'center',title: '供应商', hide: true} |
| | | ,{field: 'suppCode', align: 'center',title: '供应商编码', hide: true} |
| | |
| | | var cols = [ |
| | | // {fixed: 'left', field: 'count', title: '实际数量', align: 'center', edit:'text', width: 120, style:'color: blue;font-weight: bold'}, |
| | | {field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'batch', align: 'center',title: '箱号(编辑)', edit: true, style: 'font-weight:bold'} |
| | | ,{field: 'batch', align: 'center',title: '批次(编辑)', edit: true, style: 'font-weight:bold'} |
| | | ]; |
| | | arrRemove(detlCols, "field", "anfme"); |
| | | arrRemove(detlCols, "field", "batch"); |
| | |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码'} |
| | | ,{field: 'matnr', align: 'center',title: '规格'} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称'} |
| | | ,{field: 'batch', align: 'center',title: '箱号'} |
| | | ,{field: 'batch', align: 'center',title: '批次'} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号',hide: true} |
| | | ,{field: 'specs', align: 'center',title: '接头'} |
| | | ,{field: 'model', align: 'center',title: '卷号', hide: false} |
| | | ,{field: 'color', align: 'center',title: '颜色'} |
| | | ,{field: 'specs', align: 'center',title: 'MES订单号'} |
| | | ,{field: 'model', align: 'center',title: 'MES工作号', hide: false} |
| | | ,{field: 'color', align: 'center',title: '颜色',hide: true} |
| | | ,{field: 'brand', align: 'center',title: '木箱类型', hide: true} |
| | | ,{field: 'brand$', align: 'center',title: '木箱类型', hide: false} |
| | | ,{field: 'unit', align: 'center',title: '单位'} |
| | | ,{field: 'unit', align: 'center',title: '单位',hide: true} |
| | | ,{field: 'price', align: 'center',title: '长度', hide: false} |
| | | ,{field: 'sku', align: 'center',title: 'sku'} |
| | | ,{field: 'units', align: 'center',title: '单位量'} |
| | | ,{field: 'sku', align: 'center',title: 'sku',hide: true} |
| | | ,{field: 'units', align: 'center',title: '单位量',hide: true} |
| | | ,{field: 'barcode', align: 'center',title: '条码'} |
| | | ,{field: 'origin', align: 'center',title: '木箱位置'} |
| | | ,{field: 'manu', align: 'center',title: '厂家'} |
| | | ,{field: 'manuDate', align: 'center',title: '生产日期'} |
| | | ,{field: 'itemNum', align: 'center',title: '品项数'} |
| | | ,{field: 'safeQty', align: 'center',title: '安全库存量'} |
| | | ,{field: 'origin', align: 'center',title: '木箱位置',hide: true} |
| | | ,{field: 'manu', align: 'center',title: '厂家',hide: true} |
| | | ,{field: 'manuDate', align: 'center',title: '生产日期',hide: true} |
| | | ,{field: 'itemNum', align: 'center',title: '品项数',hide: true} |
| | | ,{field: 'safeQty', align: 'center',title: '安全库存量',hide: true} |
| | | ,{field: 'weight', align: 'center',title: '重量'} |
| | | // ,{field: 'length', align: 'center',title: '长度'} |
| | | ,{field: 'volume', align: 'center',title: '单箱毛重', hide: false} |
| | | ,{field: 'threeCode', align: 'center',title: '三方编码'} |
| | | ,{field: 'supp', align: 'center',title: '供应商'} |
| | | ,{field: 'suppCode', align: 'center',title: '供应商编码'} |
| | | ,{field: 'beBatch$', align: 'center',title: '是否批次'} |
| | | ,{field: 'deadTime', align: 'center',title: '保质期'} |
| | | ,{field: 'deadWarn', align: 'center',title: '预警天数'} |
| | | ,{field: 'source$', align: 'center',title: '制购'} |
| | | ,{field: 'inspect$', align: 'center',title: '要求检验'} |
| | | ,{field: 'danger$', align: 'center',title: '危险品'} |
| | | ,{field: 'modiUser$', align: 'center',title: '修改人员'} |
| | | ,{field: 'modiTime$', align: 'center',title: '修改时间'} |
| | | ,{field: 'appeUser$', align: 'center',title: '添加人员'} |
| | | ,{field: 'appeTime$', align: 'center',title: '添加时间'} |
| | | ,{field: 'volume', align: 'center',title: '单箱毛重', hide: true} |
| | | ,{field: 'threeCode', align: 'center',title: '三方编码',hide: true} |
| | | ,{field: 'supp', align: 'center',title: '供应商',hide: true} |
| | | ,{field: 'suppCode', align: 'center',title: '供应商编码',hide: true} |
| | | ,{field: 'beBatch$', align: 'center',title: '是否批次', hide: true} |
| | | ,{field: 'deadTime', align: 'center',title: '保质期', hide: true} |
| | | ,{field: 'deadWarn', align: 'center',title: '预警天数', hide: true} |
| | | ,{field: 'source$', align: 'center',title: '制购', hide: true} |
| | | ,{field: 'inspect$', align: 'center',title: '要求检验', hide: true} |
| | | ,{field: 'danger$', align: 'center',title: '危险品', hide: true} |
| | | ,{field: 'modiUser$', align: 'center',title: '修改人员', hide: true} |
| | | ,{field: 'modiTime$', align: 'center',title: '修改时间', hide: true} |
| | | ,{field: 'appeUser$', align: 'center',title: '添加人员', hide: true} |
| | | ,{field: 'appeTime$', align: 'center',title: '添加时间', hide: true} |
| | | ,{field: 'memo', align: 'center',title: '备注'} |
| | | ,{field: 'rollUp', align: 'center',title: ''} |
| | | ,{field: 'rollUp', align: 'center',title: '', hide: true} |
| | | |
| | | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:120} |
| | | ]], |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="batch" placeholder="箱号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="batch" placeholder="批次" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="model" placeholder="卷号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="model" placeholder="MES工作号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="specs" placeholder="接头" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="specs" placeholder="MES订单号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="layui-inline">--> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">卷号: </label> |
| | | <label class="layui-form-label">MES工作号: </label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="rollNo" placeholder="请输入卷号"> |
| | | <input class="layui-input" name="rollNo" placeholder="请输入MES工作号"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | |
| | | </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">MES订单号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="specs" class="layui-input" placeholder="输入接头"/> |
| | | <input name="specs" class="layui-input" placeholder="输入MES订单号"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline">  |
| | |
| | | </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="weight" placeholder="请输入单箱净重格" class="layui-input"> |
| | | <input name="weight" placeholder="请输入净重量" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | {type: 'checkbox'}, |
| | | {field: 'matnr', align: 'center', title: '规格'} |
| | | , {field: 'maktx', align: 'center', title: '品名'} |
| | | , {field: 'specs', align: 'center', title: '接头'} |
| | | , {field: 'specs', align: 'center', title: 'MES订单号'} |
| | | ]; |
| | | } |
| | | |
| | |
| | | <td>No.</td> |
| | | <td>规格</td> |
| | | <!-- <td>规格</td>--> |
| | | <td>箱号</td> |
| | | <td>批次</td> |
| | | <!-- <td>箱子类型</td>--> |
| | | <td>是否确认</td> |
| | | </tr> |
| | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">规格: </label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="specs" placeholder="请输入接头"> |
| | | <input class="layui-input" name="specs" placeholder="请输入MES订单号"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="specs" placeholder="接头" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="specs" placeholder="MES订单号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | <!-- 功能区 --> |
| | | <div class="function-area"> |
| | | <button id="mat-query" class="function-btn">提取库存</button> |
| | | <button class="function-btn" style="width: auto;float:right;" onclick="excelMouldDownload()">导入箱号出库模板下载</button> |
| | | <button class="function-btn" style="width: auto;float:right;" onclick="excelMouldDownload()">导入批次出库模板下载</button> |
| | | </div> |
| | | |
| | | <hr> |
| | |
| | | </div> |
| | | </div> |
| | | <button class="layui-btn layui-btn-lg" id="btn-outbound" lay-event="outbound">启动出库</button> |
| | | <!-- 3.导入箱号出库 --> |
| | | <button class="layui-btn layui-btn-lg" onclick="importExcel()" style="font-size: 12px;width: auto;">导入箱号出库</button> |
| | | <!-- 3.导入批次出库 --> |
| | | <button class="layui-btn layui-btn-lg" onclick="importExcel()" style="font-size: 12px;width: auto;">导入批次出库</button> |
| | | <span style="display: none"><input id="importExcel" type="file" onchange="upload(this)">启动出库</span> |
| | | </div> |
| | | <!-- <div class="layui-btn-container">--> |
| | |
| | | <input id="matName" type="text" disabled="disabled"> |
| | | </div> |
| | | <div class="form-item"> |
| | | <span>接头</span> |
| | | <span>MES订单号</span> |
| | | <input id="str2" type="text" disabled="disabled"> |
| | | </div> |
| | | <div class="form-item"> |
| | |
| | | rollUp = data.rollUp |
| | | layer.open({ |
| | | type: 2, |
| | | title: '卷号信息', |
| | | title: 'MES工作号信息', |
| | | maxmin: true, |
| | | area: [top.detailWidth, top.detailHeight], |
| | | shadeClose: true, |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="specs" placeholder="接头" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="specs" placeholder="MES订单号" 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="batch" placeholder="箱号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="batch" placeholder="批次" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="model" placeholder="卷号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="model" placeholder="MES工作号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- 日期范围 --> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="batch" placeholder="箱号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="batch" placeholder="批次" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="model" placeholder="卷号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="model" placeholder="MES工作号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- 日期范围 --> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="batch" placeholder="箱号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="batch" placeholder="批次" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="model" placeholder="卷号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="model" placeholder="MES工作号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- 日期范围 --> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="batch" placeholder="箱号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="batch" placeholder="批次" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="model" placeholder="卷号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="model" placeholder="MES工作号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="specs" placeholder="接头" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="specs" placeholder="MES订单号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">规格: </label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="specs" placeholder="请输入接头"> |
| | | <input class="layui-input" name="specs" placeholder="请输入MES订单号"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |