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

📄 calc_6.asp

📁 默认管理员:etaodu 密码:etaodu 陶都房市++介绍: 本版本是基于<住易江南>美化
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file=../inc/top1.asp -->
<HTML><HEAD><TITLE>实用工具</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="../images/css.css" type=text/css rel=stylesheet>
<SCRIPT language=javascript>
function play(){

 if (document.myform.dkze.value=='') 

 {

 alert('请填入贷款总额');

 return false;

 }

 else

 sm=parseFloat(document.myform.dkze.value)*10000;

 if(document.myform.hklx[1].checked)

 {

 if(document.myform.hklxje.value=='')

 {

 alert('请填入部分提前还款额度');

 return false;

 }

 }

 stime=parseInt(document.myform.ydkqx.options[document.myform.ydkqx.selectedIndex].value);

 if(document.myform.dklx[0].checked && stime<=60) srate=0.003;

 if(document.myform.dklx[0].checked && stime>60) srate=0.003375;

 if(document.myform.dklx[1].checked && stime<=60) srate=0.003975;

 if(document.myform.dklx[1].checked && stime>60) srate=0.0042;

 md=(parseInt(document.myform.yjtqhksjn.options[document.myform.yjtqhksjn.selectedIndex].value)-parseInt(document.myform.dychksjn.options[document.myform.dychksjn.selectedIndex].value))*12 + (parseInt(document.myform.yjtqhksjy.options[document.myform.yjtqhksjy.selectedIndex].value)-parseInt(document.myform.dychksjy.options[document.myform.dychksjy.selectedIndex].value));

 if(md<0 || md>stime)

 {

 alert('预计提前还款时间与第一次还款时间有矛盾,请查实');

 return false;

 }

 yhk=sm*(srate*Math.pow((1+srate),stime))/(Math.pow((1+srate),stime)-1);

 lrq=(parseInt(document.myform.dychksjn.options[document.myform.dychksjn.selectedIndex].value)+Math.floor((stime+parseInt(document.myform.dychksjy.options[document.myform.dychksjy.selectedIndex].value)-2)/12))+'年'+((stime+parseInt(document.myform.dychksjy.options[document.myform.dychksjy.selectedIndex].value)-2) % 12+1)+'月';

 pol=yhk*md;

 rsd=0;

 uir=0;

 for(i=1;i<=md;i++){

 rsd=rsd+(sm-uir)*srate;

 uir=uir+yhk-(sm-uir)*srate;

 }

 remark='';

 if(document.myform.hklx[1].checked){

 ert=document.myform.hklxje.value*10000;

 if(ert+yhk>=yhk*(1/srate-1/(srate*Math.pow((1+srate),(stime-md))))){

 remark='您的提前还款额已经可以一次还清所有未还款项!';

 }else{

 if(document.myform.clfs[0].checked){

 wer=0;

 qwa=0;

 for(j=sm-uir-yhk-ert;j>=0;j=j-qwa){

 qwāa=yhk/Math.pow((1+srate),wer);

 wer++;

 }

 vbr=(sm-uir-yhk-ert)*(srate*Math.pow((1+srate),wer))/(Math.pow((1+srate),wer)-1);

 bnf=yhk+ert;

 thx=yhk*stime-pol-bnf-vbr*wer;

 bncc=(parseInt(document.myform.dychksjn.options[document.myform.dychksjn.selectedIndex].value)+Math.floor((wer+md+parseInt(document.myform.dychksjy.options[document.myform.dychksjy.selectedIndex].value)-2)/12))+'年'+((wer+md+parseInt(document.myform.dychksjy.options[document.myform.dychksjy.selectedIndex].value)-2) % 12+1)+'月';

 }else{

 vbr=(sm-uir-yhk-ert)*(srate*Math.pow((1+srate),(stime-md)))/(Math.pow((1+srate),(stime-md))-1);

 bnf=yhk+ert;

 thx=yhk*stime-pol-bnf-vbr*(stime-md);
 bncc=lrq;

 }

 }

 }

 if(document.myform.hklx[0].checked || remark!=''){

 bnf=(sm-uir)*(1+srate);

 vbr=0;

 thx=yhk*stime-pol-bnf;

 bncc=document.myform.yjtqhksjn.options[document.myform.yjtqhksjn.selectedIndex].value+'年'+document.myform.yjtqhksjy.options[document.myform.yjtqhksjy.selectedIndex].value+'月';

 }

 document.myform.ykhke.value=chgnum(yhk);

 document.myform.yzhhkq.value=lrq;

 document.myform.yhkze.value=chgnum(pol);

 document.myform.yhlxe.value=chgnum(rsd);

 document.myform.gyyihke.value=chgnum(bnf);

 document.myform.xyqyhke.value=chgnum(vbr);

 document.myform.jslxzc.value=chgnum(thx);

 document.myform.xdzhhkq.value=bncc;

 document.myform.jsjgts.value=remark;

}

function chgnum(sum){

 return Math.round(sum*100)/100;

}
</SCRIPT>
<SCRIPT language=javascript>
  function openwin0(id) { window.open("old2buy_info.asp?Infoid="+id,"","height=523,width=510,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");} 
  function openwin1(id) { window.open("old2_info.asp?Infoid="+id,"","height=523,width=510,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");} 
  function openwin2(id) { window.open("lease_info.asp?Infoid="+id,"","height=523,width=510,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");}
  function openwin3(id) { window.open("lease_info2.asp?Infoid="+id,"","height=523,width=510,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");}  
  function openwin4(id) { window.open("lease_info3.asp?Infoid="+id,"","height=523,width=510,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");}
  function openwin5(id) { window.open("zone_info.asp?Infoid="+id,"","height=523,width=590,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");} 
  function opennewh(id) { window.open("newh_info.asp?infoid="+id,"","height=523,width=550,left=70,top=0,resizable=no,scrollbars,status=no,toolbar=no,menubar=no,location=no");}
  function openme1() { window.open("sq_error.asp","","height=320,width=584,left=70,top=0,resizable=no,scrollbars=no,status=no,toolbar=no,menubar=no,location=no");}
</SCRIPT>

<META content="Microsoft FrontPage 4.0" name=GENERATOR></HEAD>
<BODY class=bg1 text=#000000 bgColor=#cacbc1 leftMargin=0 topMargin=0>
<TABLE height=1 cellSpacing=0 cellPadding=0 width=750 align=center border=0>
  <TBODY>
  <TR>
    <TD bgColor=#ffffff></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=750 align=center border=0>
  <TBODY>
  <TR>
    <TD bgColor=#ffffff height=5></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=750 align=center bgColor=#ffffff 
border=0>
  <TBODY>
  <TR>
    <TD vAlign=top align=right width=212>
      <TABLE cellSpacing=0 cellPadding=0 width=207 bgColor=#e9eaf2 border=0>
          <FORM name=Area action=../search.jsp>
            <TBODY>
              <TR> 
                <TD width="157" height=31 colSpan=2 align=middle><img src="../images/com_gongju.gif" width="208" height="34"></TD>
              </TR>
          </FORM>
          <tr> 
            <td><div align="center">
                <TABLE width=156 border=0 cellPadding=0 cellSpacing=0 bgcolor="#e9eaf2">
                  <TBODY>
                    <TR> 
                      <TD align=middle bgColor=#e9eaf2 class=title2 height=26 vAlign=bottom 
          width=156><FONT color=#CC0000>贷款计算</FONT></TD>
                    </TR>
                    <TR> 
                      <TD align=middle bgColor=#e9eaf2 class=title2>&nbsp; </TD>
                    </TR>
                    <TR> 
                      <TD bgColor=#e9eaf2 height=20>&nbsp;· <a href="calc_1.asp">公积金贷款</a></TD>

⌨️ 快捷键说明

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