| | |
| | | checkReserve(list2); |
| | | //1.2判断提交的条码是否重复(只有补贴条码需要判断) |
| | | checkReagentCode(list2); |
| | | String receiptNum = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(new Date()); |
| | | //库中领取 |
| | | if(list.size()>0&&list!=null){ |
| | | //扣库存 对象中的reagentCode存的是id |
| | |
| | | } |
| | | } |
| | | |
| | | this.opeWarehouseReserveService.claimForPerson(list, userId,projectNum,laboratoryId,laboratoryContainerId); |
| | | this.opeWarehouseReserveService.claimForPerson(list, userId,projectNum,laboratoryId,laboratoryContainerId,receiptNum); |
| | | } |
| | | |
| | | //补贴条码 |
| | |
| | | printTable.put("applyPerson", applyPersonInfo.getName()); |
| | | printTable.put("department", applyPersonInfo.getDepartment()); |
| | | printTable.put("date", Utils.now("yyyy-MM-dd")); |
| | | String receiptNum = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(new Date()); |
| | | |
| | | printTable.put("receiptNumber", receiptNum); |
| | | if (StringUtils.isNotBlank(applyPersonInfo.getPhone())){ |
| | | printTable.put("phone", applyPersonInfo.getPhone()); |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | public void onSaveBtnClick() { |
| | | try { |
| | | if (this.selectedTmpList == null || this.selectedTmpList.size() == 0) { |
| | |
| | | if (StringUtils.isNotBlank(applyPersonInfo.getProject())){ |
| | | printTable.put("project", applyPersonInfo.getProject()); |
| | | } |
| | | SysLaboratory lab = sysLaboratoryService.getSysLaboratory(laboratoryId); |
| | | SysLaboratory lab = sysLaboratoryService.getSysLaboratorySimpleInfo(laboratoryId); |
| | | String receiptNum = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(new Date()); |
| | | printTable.put("receiptNumber", receiptNum); |
| | | printTable.put("lab", lab.getName()); |
| | |
| | | //FacesUtils.warn("未选择一个条形码。"); |
| | | //return; |
| | | //} |
| | | this.opeWarehouseReserveService.claim(list, userId,projectNum); |
| | | this.opeWarehouseReserveService.claim(list, userId,projectNum,receiptNumber); |
| | | } |
| | | |
| | | if(list2.size()>0&&list2!=null){ |