geshui.htm

来自「好易搜是目前为此最简洁的网址站了」· HTM 代码 · 共 310 行

HTM
310
字号
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>个人所得税计算</title>
<link href="../inc/hoyiso_in.css" rel="stylesheet" type="text/css">
</head>

<body>


<table border="0" cellpadding="4" cellspacing="0" width="700" align="center">
<tr><td height="7" colspan="2"></td></tr>
<tr bgcolor="#F0F4FF"><td><b>当前位置:<a href="../index.htm" class="title">首页</a>><a href="index.htm" class="title">实用查询工具大全</a>>个人所得税计算</b></td>
    <td><a href="#" onclick="javascript:history.back()"> ←返回上页</a></td>
</tr>
<tr><td height="14" colspan="2"></td></tr>
</table>
<p align="center" style="color:#FF0000; font-size:14px"><b>个人所得税计算</b></p>
<br>

<SCRIPT language=JavaScript>
function fontZoom(size)
{
 document.getElementById('fontzoom').style.fontSize=size+'px'
}
function checkName() {
        if (document.discuss.author.value=="") {
                alert("请输入用户名,谢谢!");
                return false;
        }
        return true;
}
function changeName() {
        if ( document.discuss.none.checked ) {
                document.discuss.author.value = "匿名";
        }
}
function Validate(aForm)
   {
    var flag = document.send.msgType.value;
 if ( flag == 1 ) {
  if (aForm.Msg.value.length>45)
      {
      alert("短信超长,最多45个字!");
         aForm.Msg.focus();
         return (false);
      }
  if (aForm.ToNum.value.length<11)
  {
         alert("请输入目的手机号码!");
         aForm.ToNum.focus();
         return false;
  }
  if (aForm.UsrNum.value.length<11)
  {
         alert("请输入您的手机号码!");
         aForm.UsrNum.focus();
         return false;
  }
  if (aForm.UsrName.value.length>8)
  {
         alert("名字最多8个字!");
         aForm.UsrName.focus();
         return false;
  }
         return (true);
 } else {
  return chkemail(document.send.mailAddr.value);
 }
   }
   function setfocus()
   {
     send.Msg.focus();
   }
</SCRIPT>

  <TABLE width=400 border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
  <TR>
    <TD class=content id=fontzoom vAlign=top>
      <DIV align=center>
      <TABLE cellSpacing=0 cellPadding=0 width=220 align=center bgColor=#fbfbf9 
      border=0>
        <TBODY>
        <TR>
          <TD bgColor=#ffd89d height=20>
            <DIV 
      align=center><STRONG>个税计算器</STRONG></DIV></TD></TR></TBODY></TABLE><BR>&nbsp;</DIV>
      <DIV align=center>
      <TABLE cellSpacing=0 cellPadding=0 width=220 align=center border=0>
        <TBODY>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD class=txt width=220>
                  <TABLE cellSpacing=0 cellPadding=0 width="98%" align=center 
                  border=0>
                    <TBODY>
                    <TR>
                      <TD class=txt 
                      style="BORDER-RIGHT: #b2b2b2 1px solid; BORDER-TOP: #b2b2b2 1px solid; BORDER-LEFT: #b2b2b2 1px solid; BORDER-BOTTOM: #b2b2b2 1px solid" 
                      align=middle bgColor=#fbfbf9>
                        <TABLE cellSpacing=0 cellPadding=0 width="100%" 
border=0>
                          <TBODY>
                          <TR>
                            <TD>
                          

                              <SCRIPT language=JavaScript>
						function caltex2(){
	var p1 = document.all.gongzi.value;
	var p2 = document.all.sijin.value;
	var p3 = document.all.laowu.value;
	var p4 = document.all.texuquan.value;
	var p5 = document.all.lixi.value;
	var p6 = document.all.gaochou.value;
	var p7 = document.all.place.value;
	
	var flag1,flag2,flag3,flag4,flag5,flag6,flag7;
	flag1=false;
	flag2=false;
	flag3=false;
	flag4=false;
	flag5=false;
	flag6=false;
	flag7=false;
	
	if(p1.length==0 || p1==0){
		flag1=true;	
		document.all.gongzi.value=0;
	}
	if(p2.length==0 || p2==0){
		flag2=true;	
		document.all.sijin.value=0;
	}
	if(p3.length==0 || p3==0){
		flag3=true;	
		document.all.laowu.value=0;
	}
	if(p4.length==0 || p4==0){
		flag4=true;	
		document.all.texuquan.value=0;
	}
	if(p5.length==0 || p5==0){
		flag5=true;	
		document.all.lixi.value=0;
	}
	if(p6.length==0 || p6==0){
		flag6=true;	
		document.all.gaochou.value=0;
	}
	if(p7==0){
		flag7=true;	
	}
	
	if(flag1 && flag3 && flag4 && flag5 && flag6){
		alert("请至少输入一个值!");
		return ;
	}
	if(flag7){
		alert("请输入起征金额!");
		document.all.place.focus();
		return ;
	}
	
	document.all.suodeshui.value=calSuoDeShui(p1,p2,p3,p4,p5,p6,p7);
}
function calSuoDeShui( income1,income2,income3,income4,income5,income6,city ){
	
	var gzrate = new Array(	
				new Array(0,5,0),
				new Array(500,10,25),
				new Array(2000,15,125),
				new Array(5000,20,375),
				new Array(20000,25,1375),
				new Array(40000,30,3375),
				new Array(60000,35,6375),
				new Array(80000,40,10375),
				new Array(100000,45,15375)
			);

	var base = new Array(0,1000,1000,1600,800);
	
	var tex,tex1,tex2,tex3,tex4,tex5;
	tex=0;
	tex1=0;
	tex2=0;
	tex3=0;
	tex4=0;
	tex5=0;
	
	var tmp;
	var i;

	// tex1:
	tmp = income1-income2-city;
	if(tmp>0){
		for(i=0; i<gzrate.length; i++){
			if(tmp<=gzrate[i][0]) break;
		}
		i--;
		tex1 = tmp * gzrate[i][1] / 100 - gzrate[i][2];
	}
	// tex2:
	if(income3<=0){
		tex2 = 0;
	}else if(income3<=4000){
		tex2 = (income3-800)*20/100;
	}else if(income3<=25000){
		tex2 = income3*80/100*20/100;
	}else if(income3<=62500){
		tex2 = income3*80/100*30/100 - 2000;
	}else{
		tex2 = income3*80/100*40/100-7000;
	}
	
	
	//tex3:
	if(income4<=0){
		tex3 = 0;
	}else if(income4<=4000){
		tex3 = (income4-800)*20/100;
	}else{
		tex3 = income4*80/100*20/100;
	}
	
	
	//tex4:
	tex4 = income5 * 20 /100;
	
	
	//tex5:
	if(income6<=0){
		tex5 = 0;
	}else if(income6<=4000){
		tex5 = (income6-800) * 20 /100 * 70 /100;
	}else{
		tex5 = income6 * 80 /100 * 20 / 100 * 70 / 100 ;
	}
	
	
	//alert(income1 + " " + income2 + " " + income3 + " " + income4 + " " + income5 + " " + income6 + " " + city );
	if(tex1>0){ tex = tex + tex1; }
	if(tex2>0){ tex = tex + tex2; }
	if(tex3>0){ tex = tex + tex3; }
	if(tex4>0){ tex = tex + tex4; }
	if(tex5>0){ tex = tex + tex5; }
	
	return tex ;
}
</SCRIPT>

                              <FORM action="" method=post>
                              <TABLE cellSpacing=0 cellPadding=0 width="100%" 
                              align=center bgColor=#ffffff 
                              borderColorLight=#ffffff border=0>
                                <TBODY>
                                <TR bgColor=#fbfbf9>
                                <TD width=123 bgColor=#fbfbf9 height=21>
                                <DIV align=right>工资、薪金所得:</DIV></TD>
                                <TD width=80 bgColor=#fbfbf9 height=21><INPUT 
                                size=10 name=gongzi></TD></TR>
                                <TR bgColor=#fbfbf9>
                                <TD width=123 height=21>
                                <DIV align=right>所缴“四金”额:</DIV></TD>
                                <TD width=80 bgColor=#fbfbf9><INPUT size=10 
                                name=sijin></TD></TR>
                                <TR bgColor=#fbfbf9>
                                <TD width=123 height=21>
                                <DIV align=right>劳务报酬所得:</DIV></TD>
                                <TD width=80 bgColor=#fbfbf9><INPUT size=10 
                                name=laowu></TD></TR>
                                <TR bgColor=#fbfbf9>
                                <TD width=123 height=21>
                                <DIV align=right>特许权使用所得、 财产租赁所得:</DIV></TD>
                                <TD width=80 bgColor=#fbfbf9><INPUT size=10 
                                name=texuquan></TD></TR>
                                <TR bgColor=#fbfbf9>
                                <TD width=123 height=21>
                                <DIV align=right>利息 股息 红利所得</DIV></TD>
                                <TD width=80 bgColor=#fbfbf9><INPUT size=10 
                                name=lixi> </TD></TR>
                                <TR bgColor=#fbfbf9>
                                <TD width=123 height=21>
                                <DIV align=right>稿酬所得:</DIV></TD>
                                <TD width=80><INPUT size=10 name=gaochou> 
                                </TD></TR>
                                <TR bgColor=#fbfbf9>
                                <TD width=123 height=21>
                                <DIV align=right>您预想的起征额:</DIV></TD>
                                <TD width=80><INPUT size=10 name=place> 
                                </TD></TR>
                                <TR bgColor=#fbfbf9>
                                <TD width=123 bgColor=#fbfbf9>
                                <DIV class=style1 align=right>计算所得结果:</DIV></TD>
                                <TD width=80 bgColor=#fbfbf9><INPUT size=10 
                                name=suodeshui> <A href="javascript:caltex2();"><INPUT onclick=caltex2() type=button value=计算 name=button> 
                                </A><INPUT type=reset value=重置 name=Submit> 
                                </TD></TR></TBODY></TABLE></FORM></TD></TR></TBODY></TABLE><SPAN 
                        class=cur>&nbsp;备注:可能会与实际情况有所出入 
</SPAN></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>


	  
</body>
</html>

⌨️ 快捷键说明

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