<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/MvcShipping/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>


<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">
        var USERID;
        function getSessgion1() {
            USERID = '<%= Session["USERID"] %>';
        }
        getSessgion1();

    </script>
   <%-- <script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/ExtjsEx/exportexcel/export-all.js"></script>--%>
    <script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/ExtjsEx/gridToExcel.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/TimePickerField.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/DateTimePicker.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/DateTimeField.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/DateTimeMenu.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsChFee/FeeMode.js"></script>

<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/MonthField.js"></script>
    <script type="text/javascript" src="../../../../Areas/Account/Viewsjs/Chfee_invoice/MsChInvDetailView.js"></script>
    
    <script type="text/javascript">
        Ext.onReady(function () {
            Ext.QuickTips.init();
            Ext.form.Field.prototype.msgTarget = 'side';
            pnl = new Shipping.MsChInvDetailView({ layout: 'border', region: 'center' });

            var view = new Ext.Viewport({
                layout: 'border',
                renderTo: 'viewport',
                border: false,
                items: [{
                    region: 'center',
                    layout: 'fit',
                    items: [pnl]
                }]
            });
        });

        function OprationSwap() {
            return pnl.OprationSwap();
        }
    </script>
    
    <div id="viewport" ></div>


</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>