⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 project_managercard1.jsp

📁 java jsp教程
💻 JSP
📖 第 1 页 / 共 2 页
字号:
	<tr class="lc2" bgcolor="#eef4ff">
     	<td valign="bottom"><p align="right">损失浪费金额[直接责任]:</p></td>
	 	<td>
			<input value="<%=DataFormat.formatDouble(card.getSWaste2Sum(),"0.00")%>" onchange="fireChange(2)" name="sWaste2Sum"></td>
	    <td><div align="right">个人经济问题金额[贪污]:</div></td>
	    <td>
			<input value="<%=DataFormat.formatDouble(card.getSPerson1Sum(),"0.00")%>" onchange="fireChange(2)" name="sPerson1Sum"></td>
	</tr>
	 <tr class="lc2" bgcolor="#eef4ff">
     
      <td valign="bottom"><p align="right">个人经济问题金额[受贿]:</p></td>
	 <td>
		<input value="<%=DataFormat.formatDouble(card.getSPerson2Sum(),"0.00")%>" onchange="fireChange(2)" name="sPerson2Sum"></td>
	 <td><div align="right">个人经济问题金额[挪用]:</div></td>
	 <td>
		<input value="<%=DataFormat.formatDouble(card.getSPerson3Sum(),"0.00")%>" onchange="fireChange(2)" name="sPerson3Sum"></td>
	 </tr>
	 <tr class="lc2" bgcolor="#eef4ff">
	 <td valign="bottom"><p align="right">个人经济问题金额[其他]:</p></td>
	 <td>
		<input value="<%=DataFormat.formatDouble(card.getSPerson4Sum(),"0.00")%>" onchange="fireChange(2)" name="sPerson4Sum"></td>
	<td valign="bottom"><p align="right">企业负责人数:</p></td>
	 <td><input value='<c:out value="${cardInfo.principals}"/>' onchange="fireChange(2)" name="principals"></td>	
	 </tr>
  </table>
  <br>
<div align="center"><img src="<%=request.getContextPath()%>/images/save.gif" onclick="_save2()"></div>  
<%
	}
%>	
</form>
<%
	}
	else
	{
%><br>
<table width="90%" border="0" cellspacing="1" cellpadding="2" align="center" bordercolordark="#DFDFFF" bordercolorlight="#003366" bgcolor="#b3c4db" <% if(!xmlb_code.startsWith(Config.PROJ_JYCG)) out.print("style='display:none'"); %> >
  <tr class="lc2" bgcolor="#a6d0f2">
    <td height="29" colspan="4" align="center" valign="bottom"><p align="center"><span class="style2">经营成果考核资料</span></p></td>
  </tr>
  <tr class="lc2" bgcolor="#eef4ff">
    <td width="23%" height="27" valign="bottom"><p align="right">考核审计单位数(个):</p></td>
    <td width="25%"><p align="left"><c:out value="${cardInfo.auditingdeptnum}"/></p></td>
    <td width="23%" height="27" valign="bottom"><p align="right"> 下达考核指标(万元):</p></td>
    <td width="25%"><p align="left"><%=DataFormat.formatDouble(card.getSGuideline(),"0")%></p></td> 
  </tr>
  <tr class="lc2" bgcolor="#eef4ff">
  <td height="27" valign="bottom"> <div align="right">上报完成指标单位数(个):</div></td>
    <%
    	Integer sic = card.getSIfcomplete();
    	if(sic == null)
    		sic = new Integer(0);
    %>		
    <td><%=sic%></td>  
	<td width="230"><div align="right">上报指标金额(元):</div></td>
	<td><%=DataFormat.formatDouble(card.getRep_guideline(),"0")%></td>
  </tr>
  <tr class="lc2" bgcolor="#eef4ff">
  	<td height="27" valign="bottom"><div align="right">审计认定完成指标数(个):</div></td>
  	<%
    		sic = card.getSIfcognizance();
    		if(sic == null)
    			sic = new Integer(0);
    %>
    <td><div align="left"><%=sic%></div></td>
	<td width="199" height="26" valign="bottom"><p align="right">审计认定数(万元):</p></td>
    <td width="208"><%=DataFormat.formatDouble(card.getSAffirmNumber(),"0")%></td> 
  </tr>
  <tr class="lc2" bgcolor="#eef4ff">
  	<td width="230"><div align="right">差额(万元):</div></td>
    <td width="217"><%=DataFormat.formatDouble(card.getSDifference(),"0")%></td>
    <td><div align="right">完成率:</div></td>
    <td><%=DataFormat.formatDouble(card.getSCompScale(),"0")%> %</td>
  </tr>
</table>

<br>
<table width="90%" border="0" cellspacing="1" cellpadding="2" align="center" bordercolordark="#DFDFFF" 
	   bordercolorlight="#003366" bgcolor="#b3c4db" 
   <% if(!xmlb_code.startsWith(Config.PROJ_JJZR)) out.print("style='display:none'"); %>>
    <tr class="lc2" bgcolor="#a6d0f2">
      <td height="29" colspan="4" valign="bottom"><p align="center"><span class="style2">经济责任审计资料</span></p></td>      
    </tr>
    <tr class="lc2" bgcolor="#eef4ff">
      
      <td width="23%" height="19" valign="bottom"><p align="right">应审计人姓名:</p></td>
      <td width="25%"><p align="left"><%=StringUtil.escapeNull(card.getSAuditedpersonname())%></p></td>
      <td width="27%"><div align="right">应审计人职别: </div></td>
      <td width="25%"><%=StringUtil.escapeNull(card.getSHeadship())%></td>
    </tr>
	
    <tr class="lc2" bgcolor="#eef4ff">
     
      <td valign="bottom"><p align="right">违规行为金额[主管责任]:</p></td>
	 <td><%=DataFormat.formatDouble(card.getSBreach1Sum(),".00")%></td>
	 <td><div align="right">损失浪费金额[主管责任]:</div></td>
	 <td><%=DataFormat.formatDouble(card.getSWaste1Sum(),".00")%></td>
    </tr>

	<tr class="lc2" bgcolor="#eef4ff">
     	<td valign="bottom"><p align="right">损失浪费金额[直接责任]:</p></td>
	 	<td><%=DataFormat.formatDouble(card.getSWaste2Sum(),".00")%></td>
	    <td><div align="right">个人经济问题金额[贪污]:</div></td>
	    <td><%=DataFormat.formatDouble(card.getSPerson1Sum(),".00")%></td>
	</tr>
	 <tr class="lc2" bgcolor="#eef4ff">
     
      <td valign="bottom"><p align="right">个人经济问题金额[受贿]:</p></td>
	 <td><%=DataFormat.formatDouble(card.getSPerson2Sum(),".00")%></td>
	 <td><div align="right">个人经济问题金额[挪用]:</div></td>
	 <td><%=DataFormat.formatDouble(card.getSPerson3Sum(),".00")%></td>
	 </tr>
	 <tr class="lc2" bgcolor="#eef4ff">
	 <td valign="bottom"><p align="right">个人经济问题金额[其他]:</p></td>
	 <td><%=DataFormat.formatDouble(card.getSPerson4Sum(),".00")%></td>
	 <td colspan="2" align="left">&nbsp;
	</td>
	 </tr>
</table>
<%
	}
%>
</body>
</html>

<script>
function calc1(obj)
{
	if(obj.value == "")
		return;
	var sForm = document.form1;
	var obj2 = sForm.sAffirmNumber.value;
	if( obj2== "")
		return;
	evaluate(obj2,obj.value);		
}

function calc2(obj)
{
	var sForm = document.form1;
	var obj1 = sForm.sGuideLine.value;
	if(obj.value == "" || obj1 == "")
		return;
	evaluate(obj.value,obj1);
}

function evaluate(obj1,obj2)
{
	 if ( !Number.prototype.toFixed ) Number.prototype.toFixed = function(fractionDigits)
	 {
			var m = Math.pow(10,fractionDigits);
			return Math.round(this*m,0)/m;
	 }
	 var sForm = document.form1;
	 sForm.sDifference.value = (parseFloat(obj1)-parseFloat(obj2)).toFixed(2);
	 if(obj2 > 0)
	 	sForm.sCompScale.value = (100*( parseFloat(obj1) / parseFloat(obj2))).toFixed(2);
	 else
	 	sForm.sCompScale.value = 0;
}
function _save1()
{
	var sForm = document.form1;
	if(sForm.sGuideLine.value == "")
	{
		alert("请输入下达考核指标");
		sForm.sGuideLine.focus();
		return;
	}

	if(!IsFloat(sForm.sGuideLine.value))
	{
		alert("下达考核指标应为数字");
		sForm.sGuideLine.focus();
		return;
	}
	
	if(sForm.sFactMoney.value == "")
	{
		alert("请输入实际完成数");
		sForm.sFactMoney.focus();
		return;
	}

	if(!IsFloat(sForm.sFactMoney.value))
	{
		alert("实际完成数应为数字");
		sForm.sFactMoney.focus();
		return;
	}
	
	if(sForm.sAffirmNumber.value == "")
	{
		alert("请输入审计认定数");
		sForm.sAffirmNumber.focus();
		return;
	}
	if(!IsFloat(sForm.sAffirmNumber.value))
	{
		alert("审计认定数应为数字");
		sForm.sAffirmNumber.focus();
		return;
	}
	


	if(sForm.sIfComplete.value == -1)
	{
		alert("请选择是否上报完成指标");
		return;
	}
	
	if(sForm.sIfcognizance.value == "-1")
	{
		alert("请选择审计认定完成指标");
		return;
	}
	
	
	sForm.type.value = "extra1";
	sForm.submit();
}

function _save2()
{
	
	var sForm = document.form1;
	if(sForm.sAuditedpersonName.value == "")
	{
		alert("请输入被审人姓名");
		sForm.sAuditedpersonName.focus();
		return;
	}

	if(sForm.sHeadShip.value == "")
	{
		alert("请输入应审计人职别");
		sForm.sHeadShip.focus();
		return;
	}

	if(sForm.sBreach1Sum.value == "")
	{
		alert("请输入违规行为金额[主管责任]");
		sForm.sBreach1Sum.focus();
		return;
	}
	if(!IsFloat(sForm.sBreach1Sum.value))
	{
		alert("违规行为金额[主管责任]应为数字");
		sForm.sBreach1Sum.focus();
		return;
	}

	if(sForm.sWaste1Sum.value == "")
	{
		alert("请输入损失浪费金额[主管责任]");
		sForm.sWaste1Sum.focus();
		return;
	}
	if(!IsFloat(sForm.sWaste1Sum.value))
	{
		alert("损失浪费金额[主管责任]应为数字");
		sForm.sWaste1Sum.focus();
		return;
	}

	if(sForm.sWaste2Sum.value == "")
	{
		alert("请输入损失浪费金额[直接责任]");
		sForm.sWaste2Sum.focus();
		return;
	}
	if(!IsFloat(sForm.sWaste2Sum.value))
	{
		alert("损失浪费金额[直接责任]应为数字");
		sForm.sWaste2Sum.focus();
		return;
	}

	if(sForm.sPerson1Sum.value == "")
	{
		alert("请输入个人经济问题金额[贪污]");
		sForm.sPerson1Sum.focus();
		return;
	}
	if(!IsFloat(sForm.sPerson1Sum.value))
	{
		alert("个人经济问题金额[贪污]应为数字");
		sForm.sPerson1Sum.focus();
		return;
	}
	if(sForm.sPerson2Sum.value == "")
	{
		alert("请输入个人经济问题金额[受贿]");
		sForm.sPerson2Sum.focus();
		return;
	}

	if(!IsFloat(sForm.sPerson2Sum.value))
	{
		alert("个人经济问题金额[受贿]应为数字");
		sForm.sPerson2Sum.focus();
		return;
	}
	
	if(sForm.sPerson3Sum.value == "")
	{
		alert("请输入个人经济问题金额[挪用]");
		sForm.sPerson3Sum.focus();
		return;
	}

	if(!IsFloat(sForm.sPerson3Sum.value))
	{
		alert("个人经济问题金额[挪用]应为数字");
		sForm.sPerson3Sum.focus();
		return;
	}
	if(sForm.sPerson4Sum.value == "")
	{
		alert("请输入个人经济问题金额[其他]");
		sForm.sPerson4Sum.focus();
		return;
	}
	
	if(!IsFloat(sForm.sPerson4Sum.value))
	{
		alert("个人经济问题金额[其他]应为数字");
		sForm.sPerson4Sum.focus();
		return;
	}
	if(!IsFloat(sForm.principals.value))
	{
		alert("企业负责人数应为数字");
		sForm.principals.focus();
		return;
	}
	sForm.type.value = "extra2";
	sForm.submit();
}

function saveCardBaseInfo()
{
	var receivedate = document.all.receivedate.value;
	if(receivedate == "")
	{
		alert("请选择填报日期");
		document.all.receivedate.focus();
		return;
	}
	window.location = "<%=request.getContextPath()%>/ChangeScriptCardServlet?projNo=<%=card.getProjectno()%>&type=basic&receivedate=" + receivedate;	
}

function ShowAllAudited(planno)
{
	if(planno == "")
		return;
	wx=600;
	wy=400;
	urlstr="/cnpc/servlet/GetAllAuditedListOfPlanServlet?planno="+planno;
	x=(window.screen.width-wx)/2;
	y=(window.screen.height-wy)/2;
	wposition=",left="+x+",top="+y;
	window.open(urlstr,"计划的所有被审单位","width="+wx+",height="+wy+",scrollbars=yes,status=no"+wposition);
}
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -