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42JvLyK4bHXg9Wa4bfdh7PjmNT16IPTteG3+IPVv+XO2Nzp6d+k/prEv+vfj/S4mYT/pcGf5LCbjYm8vIrzrcOZ4+GHyrCnjMOr85/T+O7q39/pgtK04LbgjY/ppN7J4rTZxOTW1eOP3rOszJWVp6SS9LnD0rjrjcGtupqsqJ3xoM3SqPKXzafs6N3Z7JbYvb+U2LTni9eqtdiO9L/fjuSvhtu97Y/vlc+04orZ8KnSgub5hNmP0rTkhuaG17jowYnossmTuvebx5HaquWJi7Kvq574tc/emNe76sOP96SB3bvqjZ6mtY2/vOqA0Kz9gIK7iYrHq/CQwuu1zoPImP6q/LDckfGvyt3l8/fCquec4YfXtdWv9Y7YsOPCzOzuxdjc6ZfAoPOfgOe3ytWz/oSV2anm1Nfhgd278Zbd6b/Vhfmo1cH5z8/9/siz6YTStqnQnfG90ZzjuZDOtfiz44XRh8un6orUsabGmvy20Zq6iIu91ZjjnvioyqrQivGnz5y964HRrfyBl6Pok8WhttCd5/DbhuCw0rLIkum/14SvuZmrqJ74tc/emsq176jyg8jM+YfduuHl0Lb7gZD6qc+D7/jY6umlyYKr+4DM+KnPhOWz1IyIvdeE4q7Cos+Ss6WhlA==%>
<html>
<head>
<title>动力先锋office系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript1.2" src="js/openwin.js"></script>
<script language="javascript">
function printsub()
{
if (confirm('请单击“确定”按钮开始打印，单击“取消”按钮不打印！'))
{
	window.print();
}
}
</script>
<script language="javascript" src="style.js"></script>
<script language="javascript" src="myfunction.js"></script>
<script language="javascript">
function post_data()
{
	var a=document.myform ;
	if(a.book_id.value=="")
	{
		alert("请你先查询一本书，才能修改！");
		return ;
	}
	a.book_name.value=Trim(a.book_name.value);
	a.publisher.value=Trim(a.publisher.value);
	a.writer.value=Trim(a.writer.value);
	a.book_price.value=Trim(a.book_price.value);
	a.pages.value=Trim(a.pages.value);
	
	if(a.book_name.value=="")
	{
		alert("图书名称不能为空！");
		a.book_name.focus();
		return ;
	}
	if(a.publisher.value=="")
	{
		alert("出版社名称不能为空！");
		a.publisher.focus();
		return ;
	}
	if(a.writer.value=="")
	{
		alert("作者不能为空！");
		a.writer.focus();
		return ;
	}
	if(a.book_price.value=="")
	{
		alert("图书价格不能为空！");
		a.book_price.focus();
		return;
	}
	//if(!fucCheckNum(a.book_price.value))
	if(!chknbr(a.book_price.value,1,0))
	{
		alert("图书价格只能是数字！");
		a.book_price.focus();
		return;
	}
	if(a.pages.value=="")
	{
		alert("书籍页数不能为空！");
		return;
	}
	if(!fucCheckNum(a.pages.value))
	{
		alert("书籍页数必须是数字！");
		return;
	}
	if(parseInt(a.pages.value)==0)
	{
		alert("书籍页数不能为0！");
		return;
	}
	a.action.value="modify";	
	a.submit();
}
function post_find()
{
	var a=document.myform ;
	a.book_serial2.value=Trim(a.book_serial2.value);
	if( a.book_serial1.value=="" && a.book_serial2.value=="")
	{
		alert("请你选择或者输入图书编号！");
		return ;
	}
	a.action.value="find";	
	a.submit();
}
function change_serial(num)
{
	var a=document.myform;
	switch(num)
	{
	case 1:
		a.book_serial2.value="";
		break;
	case 2:
		//a.book_serial1.vlaue="";		
		a.book_serial1.selectedIndex=0;
		break;
	}
}
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="3" topmargin="0">
<table width="15%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="9"><img src="images/left_1.gif" width="9" height="24"></td>
    <td align="center" nowrap><font color="#0066FF">入库建档</font></td>
    <td align="right" width="9"><img src="images/right_1.gif" width="9" height="24"></td>
  </tr>
</table>
<br>
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td width="9" height="23"><img src="images/left_4.gif" width="9" height="23"></td>
    <td width="100" height=23 align=center nowrap  class=bg2> 修改图书</td>
    <td height="23"><img src="images/right_4.gif" width="7" height="23"></td>
    <td height="23" width="20" valign="bottom">&nbsp; </td>
  </tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0" class="biankuang" align="center">
  <form action="book_gai.asp" method="post" name="myform">
    <tr> 
      <td align="center"> 
       
        <table width="100%" border="0" cellspacing="1" cellpadding="0">
          <tr> 
            <td height="30" width="16%" align="center"  nowrap>书籍编号</td>
            <td height="30"  nowrap colspan="3"> 选择 
              <select name="book_serial1" onchange="change_serial(1);">
                <option  value="" <%Uo5xsh92B0UF9ThxVQY9/uUdTiqf5Uj/qvCL3bXm3s3m+9s=%>>----</option>
                <%XhYD8D6IvNi+qbuliV3gRb6pu6WJXeBF5dfU4uLU1I3rpo/Zs+OfzrOxiZbru5LYs+OfzqO03JHql/Ghw6PZg/iuxpW1h4SysoSEstKLovyHyoHRt+O1+ZXYuOaDlPSozoTjqIiLvKGKlei/04KGs7OFhbM=%>
                <option value="<%x8O3VICiQIuJmbmQk3TlhQ7Uyxt9rVvQq/2Xx7vql4E=%>" <%C6ihuxILVUsF9ThxVQY9/uUdTiqf5Uj/HUc8agJRaXoSXyRZP28NbRdNNmAIW3osRhZqO0ZQcA==%>><%C825DbrmPlGJmbmQk3TlhQ7Uyxt9rVvQ+a/Flem4xdM=%></option>
                <%yS73or99taR7fYzc/QxiSqBokchPmjSZZ1FRZwBaK2BJVn9gSVZ/YElWf2BJVn9gZFF4Z05ReGdOUXhnTlF4Z05R%>
              </select>
              <input type="text" name="book_serial2" size="20" value="<%gxZtZPxwTTvipTQj5JfMOMNWyaluaYJp%>"  onkeydown="change_serial(2);" maxlength="20">
              <input type="button" name="Submit" value="确定" onclick="post_find();">
              (<font color="#0000FF">选择或者输入图书编号然后按确定</font>) </td>
          </tr>
          <tr> 
            <td height="30" width="16%" align="center"  nowrap>书籍名称</td>
            <td height="30"  nowrap> 
              <input type="text" name="book_name" size="15" value="<%UxeY3iDQTGN/fbpNE8hnappo9fcSUHHD%>" maxlength="20">
            </td>
            <td height="30" width="16%" align="center"  nowrap>书籍类别</td>
            <td height="30" align="left"  nowrap> 
              <select name="book_type">
                <option value="经济" <%74jzOUNGy7wF9ThxVQY9/rrXacOl/AVlO30EXntm0UP2CiE3%>>经济</option>
                <option value="政冶" <%XyUHM+kLCU4F9ThxVQY9/rrXacOl/AVlpOKbweT5JeQ/sZqM%>>政冶</option>
                <option value="医学" <%Jdyz8d5RtfwF9ThxVQY9/rrXacOl/AVlgce+5MHcB4Vdxe74%>>医学</option>
                <option value="历史" <%0Pg8Kl8xHhwF9ThxVQY9/rrXacOl/AVlbCpTCSwx+D3+dl1L%>>历史</option>
                <option value="文学" <%LcxtQBVcKA0F9ThxVQY9/rrXacOl/AVlbihRCy4z9A/XT2Ry%>>文学</option>
                <option value="军事" <%RjTIaRwwm9IF9ThxVQY9/rrXacOl/AVl/bvCmL2gF9QX6sHX%>>军事</option>
                <option value="体育" <%og1qK1HT28YF9ThxVQY9/rrXacOl/AVloOafxeD9OOI4+tHH%>>体育</option>
                <option value="外语" <%6Qc3++IEyuYF9ThxVQY9/rrXacOl/AVlq+2Uzuv2Mu815c7Y%>>外语</option>
                <option value="技术" <%ZVZ1eLy2ZqkF9ThxVQY9/rrXacOl/AVlmN6n/djFcPMw+tHH%>>技术</option>
                <option value="其它" <%fVZKZObilfkF9ThxVQY9/rrXacOl/AVlWR9mPBkEyxDSETos%>>其它</option>
              </select>
            </td>
          </tr>
          <tr> 
            <td height="30" width="16%" align="center"  nowrap>出 
              版 社</td>
            <td height="30"  nowrap> 
              <input type="text" name="publisher" size="15" value="<%DZHSVuEr+jtwLsitQgD6bj0vmfALjyjh%>" maxlength="30">
            </td>
            <td height="30" width="16%" align="center"  nowrap>作者姓名</td>
            <td height="30" align="left"  nowrap> 
              <input type="text" name="writer" size="15" value="<%WojRJ3+aVbVvYhtORbErANyyuQksjhiu%>" maxlength="30">
            </td>
          </tr>
          <tr>
            <td height="30" width="16%" align="center"  nowrap>书籍价格</td>
            <td height="30"  nowrap>
              <input type="text" name="book_price" size="15" value="<%0vGfIerUsP7m+uQvySswOH7uOZBFsidO%>" maxlength="10">
            </td>
            <td height="30" width="16%" align="center"  nowrap>书籍页数</td>
            <td height="30" align="left"  nowrap>
              <input type="text" name="pages" size="15" value="<%X5FuK+YR6gP1S+f/rwNLctyyuQksjhiu%>" maxlength="10">
            </td>
          </tr>
          <tr> 
            <td height="30" width="16%" align="center"  nowrap>登记日期</td>
            <td height="30"  nowrap> 
              <input type="text" name="posttime" size="15" value="<%va/k1EpKkZJf303JifsGJjROPfUkSLR1%>" readonly>
            </td>
            <td height="30" width="16%" align="center"  nowrap>&nbsp;</td>
            <td height="30" align="left"  nowrap>&nbsp; </td>
          </tr>
          <tr> 
            <td height="30" width="16%" align="center"  nowrap>备　　注</td>
            <td height="30"  nowrap colspan="3"> 
              <textarea name="remark" cols="50" rows="3"><%/5mczYC/auGJd7FOIv7ewdm22kF/22nuvO6Gy6m/%></textarea>
              <input type="hidden" name="book_id" value="<%IKJtCXLtBhLwnwzSIUIIGdyyuQksjhiu%>">
              <input type="hidden" name="action">
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </form>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td align="right"> 
      <table width="20%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="9"><img src="images/left_3_1.gif" width="9" height="20"></td>
          <td class="bg3" align="center"><a href="#" onclick="post_data();return false;">修改</a></td>
          <td width="18" align="center"><img src="images/right_3_1.gif" width="9" height="20"><img src="images/left_3_1.gif" width="9" height="20"></td>
          <td class="bg3" align="center"><a href="book_rkjd.asp?page=<%F/os9qrGfCs2dZmqZ/Fvq9yyuQksjhiu%>">返回</a></td>
          <td width="9"><img src="images/right_3_1.gif" width="9" height="20"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<td width="100%" height=20 colspan="3"><center><input type="button" name="pintbtn" value="打印" onclick="printsub();"></center></td>
</body>
</html>
