|
|
|
|
<%@ 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();
|
|
|
|
|
function getSessgion6() {
|
|
|
|
|
strLANGUAGES = '<%= Session["LANGUAGES"] %>'; //zh-cn-中文,en-us-英文
|
|
|
|
|
if (strLANGUAGES == "en-us") {
|
|
|
|
|
document.write('<script type=\"text/javascript\" src=\"../../../../Areas/MvcShipping/Viewsjs/MsRptOpProfitMonth/Zi_en-us.js\"></sc' + 'ript>');
|
|
|
|
|
} else {
|
|
|
|
|
document.write('<script type=\"text/javascript\" src=\"../../../../Areas/MvcShipping/Viewsjs/MsRptOpProfitMonth/Zi_zh-cn.js\"></sc' + 'ript>');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
getSessgion6();
|
|
|
|
|
|
|
|
|
|
</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/DsComm.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/Comm/MonthField.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsRptOpProfitMonth/MsRptOpProfitMonthIndex.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/DsQuery.js"></script>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
Ext.onReady(function () {
|
|
|
|
|
Ext.QuickTips.init();
|
|
|
|
|
Ext.form.Field.prototype.msgTarget = 'side';
|
|
|
|
|
pnl = new Shipping.MsRptOpProfitMonthIndex({ 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>
|