| | |
| | | @TableField("ctn_no") |
| | | private String ctnNo; |
| | | |
| | | /** |
| | | * 是否冻结 |
| | | */ |
| | | @ApiModelProperty(value= "是否冻结") |
| | | private Integer frozen; |
| | | |
| | | public String getWhsType$(){ |
| | | BasWhsService service = SpringUtils.getBean(BasWhsService.class); |
| | |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | @ApiModelProperty(value= "是否冻结") |
| | | private Integer frozen; |
| | | |
| | | public String getBeBatch$(){ |
| | | if (null == this.beBatch){ return null; } |
| | | switch (this.beBatch){ |
| | |
| | | */ |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | /** |
| | | * 是否冻结 |
| | | */ |
| | | @ApiModelProperty(value= "是否冻结") |
| | | private Integer frozen; |
| | | |
| | | public String getIoTime$(){ |
| | | if (Cools.isEmpty(this.ioTime)){ |
| | |
| | | @TableField("take_none") |
| | | private String takeNone; |
| | | |
| | | /** |
| | | * 是否冻结 |
| | | */ |
| | | @ApiModelProperty(value= "是否冻结") |
| | | private Integer frozen; |
| | | public WrkMast() {} |
| | | |
| | | public String getYmd$(){ |
| | |
| | | // 托盘条码 |
| | | private String barcode; |
| | | |
| | | // 是否冻结 |
| | | private Integer frozen; |
| | | |
| | | private List<CombMat> combMats; |
| | | |
| | | @Data |
| | |
| | | // 物料数量 |
| | | private Double anfme; |
| | | |
| | | // 备注 |
| | | private String memo; |
| | | |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | if(station.getWrkNo()!=null && station.getWrkNo()>0 && station.getWrkNo() < 9990) { |
| | | WrkMast wrkMast = wrkMastService.selectById(station.getWrkNo()); |
| | | if (wrkMast.getIoType() != 103 && wrkMast.getIoType() != 104 && wrkMast.getIoType() != 107) { |
| | | if (wrkMast!=null && wrkMast.getIoType() != 103 && wrkMast.getIoType() != 104 && wrkMast.getIoType() != 107) { |
| | | throw new CoolException(devpNo+"站点已有工作号"); |
| | | } |
| | | |
| | |
| | | if (locMast.getLocSts().equals("S")) { |
| | | locMast.setLocSts("F"); |
| | | locMast.setBarcode(wrkMast.getBarcode()); |
| | | locMast.setFrozen(wrkMast.getFrozen()); |
| | | locMast.setIoTime(now); |
| | | locMast.setModiTime(now); |
| | | if (!locMastService.updateById(locMast)) { |
| | |
| | | if (locMast.getLocSts().equals("R")) { |
| | | locMast.setLocSts("O"); |
| | | locMast.setBarcode(""); |
| | | locMast.setFrozen(0); |
| | | locMast.setModiTime(now); |
| | | locMast.setIoTime(now); |
| | | if (!locMastService.updateById(locMast)) { |
| | |
| | | |
| | | private Double anfme; |
| | | |
| | | private String memo; |
| | | |
| | | |
| | | public DetlDto() { |
| | | } |
| | | |
| | |
| | | this.anfme = anfme; |
| | | } |
| | | |
| | | |
| | | public DetlDto(String orderNo, String matnr, String batch, Double anfme) { |
| | | this.orderNo = orderNo; |
| | | this.matnr = matnr; |
| | |
| | | this.anfme = anfme; |
| | | } |
| | | |
| | | public DetlDto(String matnr, String batch, Double anfme, String memo) { |
| | | this.matnr = matnr; |
| | | this.batch = batch; |
| | | this.anfme = anfme; |
| | | this.memo = memo; |
| | | } |
| | | |
| | | |
| | | public static boolean hasList(Set<DetlDto> detlDtos, OrderDetl orderDetl) { |
| | | for (DetlDto dto : detlDtos) { |
| | | if (Cools.isEmpty(dto.getBatch()) && Cools.isEmpty(orderDetl.getBatch())) { |
| | |
| | | // 操作人员数据 |
| | | wrkMast.setAppeTime(now); |
| | | wrkMast.setModiTime(now); |
| | | |
| | | if(waitPakins.size()>0) { |
| | | WaitPakin one = waitPakins.get(0); |
| | | wrkMast.setFrozen(one.getFrozen()); |
| | | } |
| | | boolean res = wrkMastService.insert(wrkMast); |
| | | if (!res) { |
| | | throw new CoolException("保存工作档失败"); |
| | |
| | | // ,{field: 'ctnType', align: 'center',title: ''} |
| | | // ,{field: 'locSts', align: 'center',title: ''} |
| | | // ,{field: 'sheetNo', align: 'center',title: ''} |
| | | ,{field: 'frozen', align: 'center',title: '冻结状态'} |
| | | ,{field: 'crnNo', align: 'center',title: '堆垛机号'} |
| | | ,{field: 'row1', align: 'center',title: '排', sort:true} |
| | | ,{field: 'bay1', align: 'center',title: '列', sort:true} |
| | |
| | | pageSize: 'limit' |
| | | }, |
| | | parseData: function (res) { |
| | | console.log(res) |
| | | return { |
| | | 'code': res.code, |
| | | 'msg': res.msg, |