public String save() {
		if(!dao.isBidDate(getUser().getProjectId())){
			getRequest().setAttribute("error", "不在投标时间之内,操作无效!");			
			return "error";
		}
		
		if(!entpInfoDao.isAudit(getUser().getProjectId(), getUser().getEntpId())){
			getRequest().setAttribute("error", "采购中心企业信息审核通过之后才能维护数据!");			
			return "error";
		}
		
		String level2ItemsId = dao.getLevel2ItemsIdByItemsID(itemsId);
		is_computer = level2ItemsId.equals(Constants.SPLIT_ITEMS_ID)|| level2ItemsId.equals(Constants.DUAL_NETWORK_ITEMS_ID)||level2ItemsId.equals(Constants.TABLE_MODEL_ITEMS_ID);
		if(is_computer){
			vo.setHostPdName(vo.getPdName());
			vo.setHostEnergyCertificate(vo.getEnergyCertificate());
			vo.setHostEnergyExpirationDate(vo.getEnvExpirationDate());
			vo.setHostEnvCertificate(vo.getEnvCertificate());
			vo.setHostEnvExpirationDate(vo.getEnvExpirationDate());
			vo.setBidPrice(vo.getHostBidprice().add(vo.getMonitorBidprice()));
		}
		
		
		vo.setBiddingItems(new BiddingItems(itemsId));
		vo.setBidBrand(new BidBrand(s3.longValue()));
		vo.setBidMaxPrice(vo.getBidPrice());

		dao.returnSave(vo, getUser());
		
		dao.saveAttr(vo.getId(), ids, attrs);
		dao.saveRules(vo.getId(), bipcIds);
		return "toList";
	}
	public String attrSave() {
		if(!dao.isBidDate(getUser().getProjectId())){
			getRequest().setAttribute("error", "不在投标时间之内,操作无效!");			
			return "error";
		}
		if(!entpInfoDao.isAudit(getUser().getProjectId(), getUser().getEntpId())){
			getRequest().setAttribute("error", "采购中心企业信息审核通过之后才能维护数据!");			
			return "error";
		}
		dao.saveAttr(vo.getId(), ids, attrs);

		return list();
	}
	public String deleteAcc() {
		if(entpInfoDao.getProjectState(getUser().getProjectId()) > 1){
			getRequest().setAttribute("error", "本期招标已结束,如要参与投标请选择最新一期项目!");			
			return "error";
		}
		
		if(!dao.isBidDate(getUser().getProjectId())){
			getRequest().setAttribute("error", "不在投标时间之内,操作无效!");			
			return "error";
		}
		
		if(!entpInfoDao.isAudit(getUser().getProjectId(), getUser().getEntpId())){
			getRequest().setAttribute("error", "采购中心企业信息审核通过之后才能维护数据!");			
			return "error";
		}
		dao.deletePdAccById(childId);

		return edit();
	}