📄 4.htm
字号:
<html>
<head>
<title>超级工具</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../style.css">
<SCRIPT language=javascript>
function isEmpty(str)
{
if(str==null)
return true;
else
if(str.length ==0)
return true;
else
return false;
}
function Calculate_Fee()
{
var fee_form = document.fee_form;
var house_price = fee_form.house_price.value;
if(isEmpty(house_price))
{
alert("请输入总房价");
return;
}
if(isNaN(house_price))
{
alert("总房价必须为数字");
return;
}
if(house_price <= 0)
{
alert("总房价必须大于0");
return;
}
var house_mj = fee_form.house_mj.value;
if(isEmpty(house_mj))
{
alert("请输入建筑面积");
return;
}
if(isNaN(house_mj))
{
alert("建筑面积必须为数字");
return;
}
if(house_mj <= 0)
{
alert("建筑面积必须大于0");
return;
}
var govenment_fee_rate,hand_fee_rate,bond_fee_rate,hand_fee1_rate;
var govenment_fee,hand_fee,bond_fee,hand_fee1;
govenment_fee_rate = 0.02;
hand_fee_rate = 3;
bond_fee_rate = 0.0005;
hand_fee1_rate=3
// house_price = fee_form.house_price.value;
govenment_fee = parseInt(house_price * govenment_fee_rate * 100)/100;
hand_fee = parseInt(house_mj * hand_fee_rate );
bond_fee = parseInt(house_price * bond_fee_rate * 100)/100;
hand_fee1 = parseInt(house_mj * hand_fee_rate );
fee_form.govenment_fee.value = govenment_fee;
fee_form.hand_fee.value = hand_fee;
fee_form.bond_fee.value = bond_fee;
fee_form.sum_fee.value = govenment_fee + hand_fee + bond_fee + 100 + 5;
fee_form.hand_fee1.value = hand_fee1;
fee_form.sum_fee1.value = hand_fee1;
}
function Reset_Fee_Form()
{
document.fee_form.house_price.value = "";
document.fee_form.house_mj.value = "";
document.fee_form.govenment_fee.value = "";
document.fee_form.hand_fee.value = "";
document.fee_form.bond_fee.value = "";
document.fee_form.sum_fee.value = "";
document.fee_form.hand_fee1.value = "";
document.fee_form.sum_fee1.value = "";
}
</SCRIPT>
<link rel="stylesheet" href="../../style.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center">
<table border=0 cellpadding=3 width=418 align="center">
<tr>
<td background="../images/bg_sx1.gif" height="1"></td>
</tr>
<tr>
<td class=font bgcolor="#FFCC00"> 税费计算器</td>
</tr>
<tr>
<td background="../images/bg_sx1.gif" height="1"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<FORM name=fee_form>
<td>
<TABLE border=0 cellSpacing=1 width="100%" cellpadding="5" bgcolor="#FFCC00">
<TR bgcolor="#FFFFFF">
<TD width="30%" class="smallfont" >请输入房屋总价:</TD>
<TD width="43%" class="smallfont" >
<input name=house_price size="10">
元 </TD>
<TD rowspan="2" width="27%" class="smallfont" >
<input id=button1 name=button1 onClick=Calculate_Fee() type=button value=计算开始>
<input id=button1 name=button12 onClick=Reset_Fee_Form() type=button value=重新计算>
</TD>
</TR>
<TR bgcolor="#FFFFFF">
<TD width="30%" class="smallfont" >请输入建筑面积:</TD>
<TD width="43%" class="smallfont" >
<input name=house_mj id="house_mj" size="10">
M<sup>2</sup></TD>
</TR>
<TR bgcolor="#FFFFFF">
<TD colspan="3" class="smallfont" >
<div align=center> 计 算 结 果 </div>
</TD>
</TR>
<TBODY>
<TR bgcolor="#FF6600">
<TD width="30%" class="smallfont" >
<DIV align=center><font color="#FFFFFF">税 费 名 称</font></DIV>
</TD>
<TD width="43%" class="smallfont" >
<DIV align=center><font color="#FFFFFF">税 费</font></DIV>
</TD>
<TD width="27%" class="smallfont" >
<DIV align=center><font color="#FFFFFF">收 费 单 位</font></DIV>
</TD>
</TR>
<TR bgcolor="#FFF5D0" >
<TD colspan="3" class="smallfont" >★ 购买方</TD>
</TR>
<TR bgcolor="#FFFFFF" >
<TD width="30%" class="smallfont" >契 税</TD>
<TD width="43%" class="smallfont" >
<INPUT name=govenment_fee readOnly size="10">
元(房价2%)</TD>
<TD width="27%" class="smallfont" >财政部门</TD>
</TR>
<TR bgcolor="#FFFFFF" >
<TD width="30%" class="smallfont" >交易手续费</TD>
<TD width="43%" class="smallfont" >
<INPUT name=hand_fee readOnly size="10">
元(3元/M<sup>2</sup>)</TD>
<TD width="27%" class="smallfont" >房屋交易管理机构 </TD>
</TR>
<TR bgcolor="#FFFFFF" >
<TD width="30%" class="smallfont" >合同印花税</TD>
<TD width="43%" class="smallfont" >
<INPUT name=bond_fee readOnly size="10">
元(0.05%)</TD>
<TD width="27%" class="smallfont" >税务局</TD>
</TR>
<TR bgcolor="#FFFFFF" >
<TD width="30%" class="smallfont" >办证费(含配图费)</TD>
<TD width="43%" class="smallfont" >
<INPUT name=100 readOnly value=100 size="10">
元/件</TD>
<TD width="27%" class="smallfont" >房屋交易管理机构</TD>
</TR>
<TR bgcolor="#FFFFFF" >
<TD width="30%" class="smallfont" >权证印花税</TD>
<TD width="43%" class="smallfont" >
<INPUT name=5 readOnly value=5 size="10">
元/件</TD>
<TD width="27%" class="smallfont" >房屋交易管理机构 </TD>
</TR>
<TR bgcolor="#FFFFFF" >
<TD width="30%" class="smallfont" >总共费用</TD>
<TD width="43%" class="smallfont" >
<INPUT name=sum_fee readOnly size="10">
元</TD>
<TD width="27%" class="smallfont" > </TD>
</TR>
<TR bgcolor="#FFF5D0" >
<TD colSpan=3 vAlign=center class="smallfont">★ 出售方</TD>
</TR>
<TR bgcolor="#FFFFFF" >
<TD width="30%" class="smallfont" >交易手续费</TD>
<TD width="43%" class="smallfont" >
<INPUT name=hand_fee1 id="hand_fee1" size="10" readOnly>
元(3元/M<sup>2</sup>)</TD>
<TD width="27%" class="smallfont" >房屋交易管理机构 </TD>
</TR>
<TR bgcolor="#FFFFFF" >
<TD width="30%" class="smallfont" >总共费用</TD>
<TD width="43%" class="smallfont" >
<INPUT name=sum_fee1 id="sum_fee1" size="10" readOnly>
元</TD>
<TD width="27%" class="smallfont" > </TD>
</TR>
</TBODY>
</TABLE>
</td>
</FORM>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -