| | |
| | | System.out.println(getUser().getSeeFlag().getKey()); |
| | | //SysUser u=sysUserService.getSysUser(getUserId()); |
| | | //System.out.println(u); |
| | | if (getUser().getSeeFlag().getKey() != SeeFlag.MANAGE.getKey()) { |
| | | if (getUser().getSeeFlag().getKey() != SeeFlag.MANAGE.getKey() |
| | | && getUser().getSeeFlag().getKey() != SeeFlag.LEADING.getKey()) { |
| | | editFlag=0; |
| | | }else{ |
| | | editFlag=1; |
| | |
| | | int sum = 0; |
| | | List<ApplyListDto> applyList = new ArrayList<>(); |
| | | SysUser applyPersonInfo = sysUserService.getUser(userId); |
| | | if (applyPersonInfo == null) { |
| | | FacesUtils.warn("申领人不存在或者申领人部门被删除。"); |
| | | return; |
| | | } |
| | | printTable.put("head", instituteName); |
| | | printTable.put("title", "领用单"); |
| | | printTable.put("applyPerson", applyPersonInfo.getName()); |
| | |
| | | printTable = new Hashtable(); |
| | | List<ApplyListDto> applyList = new ArrayList<>(); |
| | | SysUser applyPersonInfo = sysUserService.getUser(userId); |
| | | if (applyPersonInfo == null) { |
| | | FacesUtils.warn("申领人不存在或者申领人部门被删除。"); |
| | | return; |
| | | } |
| | | printTable.put("head", instituteName); |
| | | printTable.put("title", "领用单"); |
| | | printTable.put("applyPerson", applyPersonInfo.getName()); |
| | |
| | | this.reagentDStore.setReagent((SysReagent)event.getObject()); |
| | | |
| | | this.reagentDStoreEditFlag = Constants.ACTION_ADD; |
| | | onWarehouseSelectChange(null); |
| | | RequestContext.getCurrentInstance().execute("PF('reagentDStoreDialog').show()"); |
| | | } |
| | | |
| | |
| | | this.changeWarehouseContainerPlaceList(null); |
| | | } |
| | | |
| | | public void onWarehouseContainerSelectChange(String warehouseContainerId) { |
| | | this.warehouseContainerPlaceList = null; |
| | | this.changeWarehouseContainerPlaceList(warehouseContainerId); |
| | | } |
| | | |
| | | private void changeWarehouseContainerList(String warehouseId) { |
| | | if (StringUtils.isBlank(warehouseId)) { |
| | | if (this.warehouseList != null && this.warehouseList.size() > 0) { |