<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ImportReceiptList.aspx.cs" Inherits="DSWeb.SeaiInfo.ImportReceiptList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head2" runat="server">
    <title>委托的单据管理</title>
    <link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
    <!--按钮条-->
    <style type="text/css">
        .btn-content0{
	        width:100%;
	        height:30px;
            background:url("../images/content-header.gif");
            cursor:default;
            }
	</style>
    <!--Grid-->
        <link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
        <link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
        <script>_css_prefix="../styles/"; _js_prefix="../js/"; </script>
        <script src="../js/dhtmlxcommon.js" type="text/javascript"></script>
        <script src="../js/dhtmlxgrid.js" type="text/javascript"></script>
        <script src="../js/dhtmlxgridcell.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxcombo.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_keymap_excel.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_drag.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_group.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_mcol.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxcalendar.js" type="text/javascript"></script>
	    <!--calendar-->
        <link rel="STYLESHEET" type="text/css" href="../js/calendar.css"/>
	    <script src="../js/YAHOO.js" type="text/javascript"></script>
	    <script src="../js/event.js" type="text/javascript"></script>
	    <script src="../js/calendar_init.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxcalendar.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_excell_3but.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_excell_acheck.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_excell_calendar.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_excell_cntr.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_excell_context.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_excell_dhxcalendar.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_excell_grid.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_excell_link.js" type="text/javascript"></script>
	    <script src="../js/dhtmlxgrid_excell_tree.js" type="text/javascript"></script>
	    <!--End calendar-->
        <script src="../js/jsGridImportReceiptList.js" type="text/javascript"></script>
	    <script src="../js/json2.js" type="text/javascript"></script>
    	<style type="text/css">
        #divh { position:absolute; z-index:1001; left:40%; top:30%; width:300px; margin-left:-200px; border:solid 6px #ddd; }
        .box { border:solid 1px #999; font-size:14px; }
        #tit { border-bottom:solid 1px #999;background-color:#cccccc; padding:6px; font-weight:bold;}
        #bod { background-color:#ffffff; padding:20px; }
        #bot { border-top:solid 1px #999;background-color:#cccccc; text-align:right;}
        .menu { position:absolute; z-index:101; width:150px; border:solid 1px #999; padding:2px; background-color:#ffffff;}
        .menu a {padding:5px 6px; font-size:12px; color:#000000; cursor:default; text-decoration:none; padding-top:1px; width:90px;}
        .menu a:hover { background-color:#507cd1; color:#ffffff;}
        
        .regular{text-decoration:none;cursor:default; margin-right:20px;}
        .imgLeftButton{
           background-image:url(../images/icons/edit_right.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
        }
        .imgLeftHoverButton{
           background-image:url(../images/icons/edit_righthover.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
        }

        .imgRightButton{
           background-image:url(../images/icons/edit_left.gif);height:19px;width:19px; margin-left:22px;
        }
        .imgRightHoverButton{
           background-image:url(../images/icons/edit_lefthover.gif);height:19px;width:19px; margin-left:22px;
        }

        .imgUpButton{
           background-image:url(../images/icons/edit_up.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
        }
        .imgUpHoverButton{
           background-image:url(../images/icons/edit_uphover.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
        }

        .imgDownButton{
           background-image:url(../images/icons/edit_down.gif);height:19px;width:19px; margin-left:22px;
        }
        .imgDownHoverButton{
           background-image:url(../images/icons/edit_downhover.gif);height:19px;width:19px; margin-left:22px;
        }
        .enterButton{
            display:block;
            float:left;
            margin:0 7px 0 0;
            background-color:#d5d5d5;
            border:1px solid #dedede;
            border-top:1px solid #eee;
            border-left:1px solid #eee;

            font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
            font-size:12px;
            line-height:130%;
            text-decoration:none;
            font-weight:bold;
            color:#565656;
            cursor:default;
            padding:5px 10px 6px 7px; /* Links */
            width:60px;
            text-align:center;
            margin-top:8px;
            margin-left:20px;
            
        }

        .enterButton:hover{
            background-color:#dff4ff;
            border:1px solid #c2e1ef;
            color:#336699;
        }
        .enterButton:active{
            background-color:#6299c5;
            border:1px solid #6299c5;
            color:#fff;
        }
        .dvMenu{
        	display:block;
            background-color:#ffffff;
            border:1px solid #dedede;
            border-top:1px solid #eee;
            border-left:1px solid #eee;

            font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
            font-size:12px;
            line-height:130%;
            text-decoration:none;
            font-weight:bold;
            color:#565656;
            cursor:default;
            padding:8px 0px 6px 7px; /* Links */
            width:95%;
            text-align:center;
            
        }
         .dvMenu:hover{
            background-color:#dff4ff;
            border:1px solid #c2e1ef;
            color:#336699;
        }
        .dvMenu:active{
            background-color:#6299c5;
            border:1px solid #6299c5;
            color:#fff;
        }
    </style>
    <!--按钮条--> 
    <script type="text/javascript">
        function $(id)
        {
            return document.getElementById(id);
        }        
        function divdadd()
        {
            document.getElementById('divadd').style.display = ""; 
            document.getElementById('divsave').style.display = "";
            document.getElementById('divrefresh').style.display = "";   
            document.getElementById('divdel').style.display = "none";  
            document.getElementById('divrollback').style.display = "none";    
	    }
        function divdisplay()
        {
            document.getElementById('divadd').style.display = ""; 
            document.getElementById('divsave').style.display = "";
            document.getElementById('divrefresh').style.display = "";   
            document.getElementById('divdel').style.display = "";  
            document.getElementById('divrollback').style.display = "";    
	    }
    </script> 
</head>
<body onload="initWinScreen();initGrid();" style="border:0px; width:100%; height:100%">
    <form id="form1" runat="server">
    <div style="width:100%;vertical-align:text-bottom;" class="btn-content0">  
        <div class="btn-blank"></div>
        <div id="divadd" runat=server class="xbtn-img" onclick="divdisplay();addRecvRow()" style="display:block">
          <div class="btnimg"><img src="../images/icons/btn_add.gif" width="16px" height="16px" title="添加"/></div>
        </div>
        <div id="divsave" runat=server class="xbtn-img" onclick="divdisplay();saveRecvChange()">
          <div class="btnimg"><img src="../images/icons/save.gif" width="16px" title="保存修改"/></div>
        </div>
        <div id="divdel" runat=server class="xbtn-img" onclick="divdisplay();deleteRecvRow()">
          <div class="btnimg"><img src="../images/icons/remove.gif" width="16px" title="删除"/></div>
        </div>
        <div id="divrollback" runat=server class="xbtn-img" onclick="divdisplay();recoverRecvChange()">
          <div class="btnimg"><img src="../images/icons/rollback.gif" width="16px" title="放弃修改"/></div>
        </div>
        <div id="divrefresh" runat=server class="xbtn-img" onclick="divdisplay();refreshRecv()">
          <div class="btnimg"><img src="../images/icons/refresh.gif" width="16px" title="刷新"/></div>
        </div>
    </div>
    <div style=" width:100%; height:100%;" oncontextmenu="return false">
        <div id="mygrid_container_recv" style="width:99%; height:350px; overflow:hidden;" runat="server" class="cssfont"></div>
        <input type="hidden" id="dvOrderNumVal" runat="server"/>
        <input type="hidden" id="payContainer" runat="server" />
        <input type="hidden" id="recvContainer" runat="server" />
        <input type="hidden" id="gainContainer" runat="server" />
        <input type="hidden" id="addCache" />      
        <div id="allDoc"></div>
    </div>  
    <div>
        <input id="hdRangeV" type="hidden" runat=server/>
        <input id="hdRangeO" type="hidden" runat=server/>
    </div>  
    </form>
</body>
</html>