<%M1q8xBQegnoZZ33PFlsTv/ltZtg2/hq/uLqD%>
<%6e8T8KkAIjzwxqLshDCdhNkcWdXttGOV46jTmfU=%>
<!-- #include virtual="/lrgw/conn_lr.asp" -->
<!-- #include virtual="/lrgw/css.asp" -->
<%xgkddSG0JoEFXqmtFh7pcaVMFizPfK6wEVs3ewYXfS1LH38lX0hjM1sGejZGF38tQVx8Tk0ddShUGGgiWAJ5KEASfnwHXSVvA08yI0kZfytLEWt8VwdvMk4CcjhCGGMyWghkeVlraDhQDXE9TQd9J1wHayRZWyB6AkgkaBUEbj5YDGw2TFtwIEgVaSVVH2U/RB9zPEFcfE5NHXUoVBhoIlgCeSpGD2MwBEklaxdNN3xbB2ExUwVpJQQZfyFKAHo8QAxgLUgSbTdST29dXghneB5AK2EbXSFtAUwrdRFLf2JJVit8EEFoWllvFE40ex1MNmxLA3guUwkoNQBMJmsLRDkmQx16Il4AbjQAHTZjC0IqZgxBIW4TDiUkDxkdKChlCUU8bAtHKzpECWkiTllyOloLZjZIWSR0DRx5KUMdYDZQASZxClA/PRMCJTUSAyV+EksjaQxHYD5ECyUhChwYLS1gDEA5aQ5CLj9BDGwnS1x3dFIedDlZFmtqQVdTZmYrRwtyIkUJZXQYSSQWFU8oc1oMY1FS%>

<head>
<title>固定资产</title>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">

<!-- #include virtual="/lrgw/inc/css.asp" -->

<%h3dvmZQpCf7PXjrw4WCmOZj1+IZMpcIweCoDUypTNmgGFVIYfCFNACVpBVY6ZhtIKGQZCnctSQYjaAhDJnxZD2s1WwEFMDAomlSVC8gT0ga9TI9Nfv0zznv+Mrdz/i7GOLZVvAs5OgxqJWo5UQk9cBxSLnQORWR5H1AfTCR8V0FFcHAmSVYwfzBjC1NnelFOM2QIWXAgWSBFG3V3XABkP3csQTBcFD8NDjh/NVEMYC0ZVDh2ClAqYUBdGlA0aQVIY3VxREQSfWIlbwtWOndDXnVqF0AsfVQlWQtgOkFDaGdMfn1LLXxV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Yw==%>;border:none;}
</style>
<script language=JavaScript>
//读取表内字符串信息
function ds(sstr)
{
 var dstr="";
 
 for (i=0;i<sstr.length;i++)
 {   if (sstr.charAt(i)!=' ') dstr+=sstr.charAt(i);
 }
 return dstr;
}
//数据参数传递

//判断用户输入信息的正确性  
function getit()
{
   CountTime();
 if (ds(document.submitinput.vtype.value)=="")
   {
     alert("对不起，资产类型不允许为空！");
     document.submitinput.vtype.focus();
     return false;
   }
 if (ds(document.submitinput.vname.value)=="")
   {
     alert("对不起，资产名称不允许为空！");
     document.submitinput.vname.focus();
     return false;
   }
 if (document.submitinput.vname.value.length>255)
   {
     alert("对不起，您输入的资产名称超过最大限制，请重新输入！");
     document.submitinput.vname.focus();
     return false;
   }
 if (ds(document.submitinput.vnumber.value)=="")
   {
     alert("对不起，资产编号不允许为空！");
     document.submitinput.vnumber.focus();
     return false;
   }
 if (document.submitinput.vnumber.value.length>50)
   {
     alert("对不起，请输入不超过50个字符的资产编号！");
     document.submitinput.vnumber.focus();
     return false;
   }
 if (ds(document.submitinput.vtype.value)=="")
   {
     alert("对不起，资产类型不允许为空！");
     document.submitinput.vtype.focus();
     return false;
   }
 if (document.submitinput.vtype.value.length>255)
   {
     alert("对不起，您输入的资产类型名称太长，请重新输入！");
     document.submitinput.vtype.focus();
     return false;
   }
 if (ds(document.submitinput.vcount.value)=="")
   {
     alert("对不起，资产数量不允许为空！");
     document.submitinput.vcount.focus();
     return false;
   }
 if (document.submitinput.vcount.value.length>6)
   {
     alert("对不起，你输入的固定资产数量不符合实际值，请重新输入！");
     document.submitinput.vcount.focus();
     return false;
   }

 if (ds(document.submitinput.vmoney.value)=="")
   {
     alert("对不起，资产价格不允许为空！");
     document.submitinput.vmoney.focus();
     return false;
   }
 if (document.submitinput.vmoney.value.length>15)
   {
     alert("对不起，您输入的固定资产价格不符合实际，请重新输入");
     document.submitinput.vmoney.focus();
     return false;
   }
 rphtml('vname','vtype','vinfo');
 if (ds(document.submitinput.vzjl.value)=="")
     
   {
     var firm=confirm("折旧率为空时，您将看不到资产的折旧、效益、目前价值等有用信息，要填写吗？");
     if (firm)
      {document.submitinput.vzjl.focus();
       return false;
      }            
    }



		MM_validateForm('vcount','','RisNum','vzjl','','NinRange0:100');
		if(document.MM_returnValue)
		{
			document.submitinput.submit();
		};
		return false;
		
    document.all.submitinput.submit();

    
}


</script>
</head>
<body onLoad="document.submitinput.vtype.focus();">
 <form  name="submitinput" action="save.asp?opFlag=<%AGTC9aYnm0r9ai6tKzQxm9yyuQksjhiu%>&Number=<%R6NLDNDdWPXj6WY+IkXEWdyyuQksjhiu%>" method="post" onSubmit="MM_validateForm('vtype','','R','vname','','R','vnumber','','R','vcount','','R','vmoney','','RisNum','vzj','','R','vxiyi','','R','vzjl','','RinRange0:100','vmqjz','','R');return document.MM_returnValue" >	
<!-- #include virtual="/lrgw/inc/title.asp" -->
<table cellspacing=1 cellpadding=2 width=95% bgcolor=<%HxKY2M1AokA1lg/s1H+Br4x8/e5qIR/XCFUzfhNJMm4IWz1wW00=%> border=0 class=vtext align="center">
	<tr bgcolor="<%6IJUMRKx/dI1lg/s1H+Br4x8/e5qIR/XcTpaEXQuRRtxJU8feipRTGw=%>"> 
	    <td width="120" align="right" height="25">类型(T):</td>
            <td bgcolor="<%REsUi2MVfzE1lg/s1H+Br4x8/e5qIR/XNH8fVDFrAF40YApaP28UCSk=%>" colspan="3" > 
                <p align=left> 
                    <input id="类型" size=31 name=vtype class=css0 style="width=60%;filter:chroma(color=#ffffff);" value="<%4JPTugJfGDEuHFEnuYUjswoB+vkfTHTy%>"  accesskey="t" onKeyDown=gonext("vname") >
                    <%CE+JXFRGT0jMEbAtBJ0fuzLeS84sc6CF+oDtu8bb8rnYguX6%>
                    <select name="selectlist" style="width:38%" onChange="setvalue(this.name,'vtype');document.submitinput.vname.focus();">
                    <option>----请选择----</option>
                    <%7D4RLkoTDgY5tRhtiS1DUGD3SreYouaT%>
                    </select>
                    <%lPpJxkVUMmzdEY8k5EhlftyyuQksjhiu%>
                </p>
            </td>
        </tr>
        <tr> 
            <td bgcolor=<%cbaU6Fc1x4A1lg/s1H+Br4x8/e5qIR/XyIPjqM2X/KLInPamw5Po9dU=%> width="120" align="right" height="25">名称(N):</td>
            <td bgcolor=<%4ShzY4/G3Jc1lg/s1H+Br2SPuc9brdQ5dCdBDCcx%> colspan="3" > 
                <input id="名称" size=20 name=vname class=css0 style="width=100%" value="<%XtqNboruzX08sPLPI12veqgaKHmyx+B2%>" accesskey="n"  onKeyDown=gonext("vnumber")>
            </td>
        </tr>
        <tr> 
            <td bgcolor=<%NaTDklJ2E481lg/s1H+Br4x8/e5qIR/X1J//tNGL4L7UgOq634/06ck=%> width="120" align="right" height="25">编号(B):</td>
            <td bgcolor=<%7THwwgksUO41lg/s1H+Br2SPuc9brdQ55bbQnbag%> colspan="3" > 
                <input id="名称" size=20 name=vnumber class=css0 style="width=100%" value="<%yi9jkdryf0rXNiZ6bTDlD4aP2I4fbpNN%>" accesskey="b" onKeyDown=gonext("vcount") >
            </td>
        </tr>
        <tr> 
            <td bgcolor=<%xiseymgbD/g1lg/s1H+Br4x8/e5qIR/Xwonposed9qjClvysyZni/98=%> width="120" align="right" height="25">数量(C):</td>
            <td bgcolor=<%dsXHIWVPWhI1lg/s1H+Br2SPuc9brdQ5lcag7cbQ%> colspan="3" > 
                <input id="数量" size=20 name=vcount class=css0 style="width=100%" value="<%i2vW35btpLePEEV5TEUYLJHI/o0MrA4S%>" accesskey="c" onKeyDown=gonext("vmoney") onKeyPress=checkkey()>
            </td>
        </tr>
        <tr> 
            <td bgcolor=<%hvBcilzGG9M1lg/s1H+Br4x8/e5qIR/Xp+yMx6L4k82n85nJrPyHmro=%> width="120" align="right" height="25">购买价格(P):</td>
            <td bgcolor=<%ZAzdvwqBhfM1lg/s1H+Br2SPuc9brdQ5o/CW2/Dm%> colspan="3" > 
                <input id="购买价格" size=20 name=vmoney class=css0 style="width=100%" value="<%QkEBdyRhiG5PzhQaBWfX8J+tAyhphDQS%>" accesskey="p" onKeyPress=checkkey() onKeyDown=gonext("fromYear")>
            </td>
        </tr>
        <tr> 
            <td bgcolor=<%3pUI2RmwmcM1lg/s1H+Br4x8/e5qIR/XzoXlrsuR+qTOmvCgxZXu89M=%> width="120" align="right" height="25">购买时间(D):</td>
            <td bgcolor=<%q92VtO0zgmI1lg/s1H+Br2SPuc9brdQ504Dmq4CW%> width="329" > 
                <p align=left> 
                    <select  size=1 name=fromYear accesskey="d" onKeyDown=gonext("vxiyi")>
                        <option value="<%LSISSUVdHipLbgLcLYeMP5MpG8vahfzm%>" selected><%y4uPJyLZ7HtLbgLcLYeMP5MpG8vahfzm%></option>
                        <script language=javascript>


		function CountTime()
			{ //计算计划起止日期脚本
			var t= document.all.submitinput.fromYear.value +'-';
			t=t + document.all.submitinput.fromMonth.value + '-';
			t=t + document.all.submitinput.fromDay.value 
			document.all.submitinput.vregtime.value=t;
			}

			for(i=1940;i<2050;i++)
			{
			document.write("<option value="+i+">"+i+"</option>");
			}
		  </script>
                    </select>
                    年 
                    <select size=1 name=fromMonth>
                        <option value="<%LO9QoQPQv16aXM/9VCqxv7Bi1YP2ne24%>" selected><%6gG6AYPtEeqaXM/9VCqxv7Bi1YP2ne24%></option>
                        <script language=javascript>
			for(i=1;i<13;i++)
			{
			t=i.toString()
			if( i<10 ) t="0" + t
			document.write("<option value="+ t+">"+ t + "</option>");
			}
		</script>
                    </select>
                    月 
                    <select class=p9 size=1 name=fromDay>
                        <option value="<%Qoj5SSEzXigOMPMngOLsOtyyuQksjhiu%>" selected><%leB7rMF2p5cOMPMngOLsOtyyuQksjhiu%></option>
                        <script language=javascript>
			for(i=1;i<32;i++)
			{
			t=i.toString()
			if( i<10 ) t="0" + t
			document.write("<option value="+ t+">"+ t + "</option>");
			}
		</script>
                    </select>
                    日 
                    <input type=hidden id="购买时间" size=20 name=vregtime class=css0 style="width=100%" value="<%6ndyEizg8KoHEuT12M+OMNQ9ILhg+YR8%>"  >
                </p>
            </td>
            <td bgcolor=<%a1BVmIxtwkU1lg/s1H+Br4x8/e5qIR/XFV4+dRBKIX8VQSt7Hk41KAg=%> width="200" align="left" >产生的效益(Y):</td>
            <td bgcolor=<%g18N8G+qQ0c1lg/s1H+Br2SPuc9brdQ5L3waV3xq%> width="272" > 
                <input id="购买价格" size=20 name=vxiyi class=css0 style="width=100%" value="<%D3bOC7jzK7iNrO8BR3hMbKhxYOuXrJbz%>" accesskey="y" onKeyPress=checkkey() onKeyDown=gonext("vzjl")>
            </td>
        </tr>
        <tr> 
            <td bgcolor=<%pot8ugGXSMs1lg/s1H+Br4x8/e5qIR/XM3gYUzZsB1kzZw1dOGgTDi4=%> width="120" align="right" height="25">年折旧率(U):</td>
            <td bgcolor=<%ObXKHeT8XWw1lg/s1H+Br2SPuc9brdQ5H0wqZ0xa%> colspan="3" > 
                <input  id="折旧率" size=4 name=vzjl class=css0 value="<%G9qphMpocw+ra+sAenVJJgIG2ueEypTQ%>" accesskey="u" onKeyPress=checkkey() onKeyDown=gonext("vinfo")>
                % </td>
        </tr>
        <tr> 
            <td bgcolor=<%r2HGl9X7FZU1lg/s1H+Br4x8/e5qIR/XC0Agaw5UP2ELXzVlAFArNhY=%> width="120" align="right" height="120">备注(M):</td>
            <td bgcolor=<%KJktabrobGg1lg/s1H+Br2SPuc9brdQ5G0guY0he%> colspan="3" > 
                <textarea  id="备注" cols="50" name="vinfo" class="css0" style="width=100%;height=100%" accesskey="m" ><%yc5zXEcDCDxZIeIRk/LO53SuLFS6CDQb%></textarea>
            </td>
        </tr>
    </table>
<table  cellspacing=0 cellpadding=0 width=90% border=0 align="center">
	<tr> 
   	 	<td align="center"> 
        	<p> <br> 
         	<button class=vinputbutton  style="height=24"  onClick="getit();"><img src="../images/save.gif" align="absmiddle">&nbsp;保存</button>&nbsp;
         	<button class=vinputbutton  style="height=24"  onClick=javascript:history.go(-1); name=chongxie><img src="../images/back.gif" align="absmiddle">&nbsp;返回</button>		
		</p>
		
		</td>
	</tr>
</table>

</form>
<%BPIELND/zkBgxoWSPfZBkcz01WAsKSprZXoBTWo2UwN5IycSOyQNQS1mTwJ4eh1NMGcHVjgKCQ==%>   
</body>
</html>

