|
|
|
|
<%@ 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();
|
|
|
|
|
|
|
|
|
|
var usercode;
|
|
|
|
|
function getSessgion2() {
|
|
|
|
|
usercode = '<%= Session["CODENAME"] %>';
|
|
|
|
|
}
|
|
|
|
|
getSessgion2();
|
|
|
|
|
|
|
|
|
|
var SHOWNAME;
|
|
|
|
|
function getSessgion3() {
|
|
|
|
|
SHOWNAME = '<%= Session["SHOWNAME"] %>';
|
|
|
|
|
}
|
|
|
|
|
getSessgion3();
|
|
|
|
|
|
|
|
|
|
var COMPANYID;
|
|
|
|
|
function getSessgion4() {
|
|
|
|
|
COMPANYID = '<%=Session["COMPANYID"] %>';
|
|
|
|
|
}
|
|
|
|
|
getSessgion4();
|
|
|
|
|
|
|
|
|
|
var DEPTNAME;
|
|
|
|
|
function getSessgion5() {
|
|
|
|
|
DEPTNAME = '<%= Session["DEPTNAME"] %>';
|
|
|
|
|
}
|
|
|
|
|
getSessgion5();
|
|
|
|
|
|
|
|
|
|
var strLANGUAGES;
|
|
|
|
|
function getSessgion6() {
|
|
|
|
|
strLANGUAGES = '<%= Session["LANGUAGES"] %>'; //zh-cn-中文,en-us-英文
|
|
|
|
|
if (strLANGUAGES == "en-us") {
|
|
|
|
|
document.write('<script type=\"text/javascript\" src=\"../../../../Areas/MvcShipping/Viewsjs/MsOpSeae/Zi_en-us.js\"></sc' + 'ript>');
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
document.write('<script type=\"text/javascript\" src=\"../../../../Areas/MvcShipping/Viewsjs/MsOpSeae/Zi_zh-cn.js\"></sc' + 'ript>');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
getSessgion6();
|
|
|
|
|
</script>
|
|
|
|
|
<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/extjs/ux/grid/FiltersFeature.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../../../Areas/CommMng/Viewsjs/Comm/BoxSelect.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsCompanys/MsCompanysModel.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/MsOpSeaeComm.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsOpSeae/MsOpSeaeModel.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsOpSeae/MsOpSeaeBasicModel.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsCodeOpService/MsCodeOpServiceModel.js"></script>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsOpSeae/MsOpSeaeAmendIndex.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.MsOpSeaeAmendIndex({ 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>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
var FEELR = '0';
|
|
|
|
|
Ext.Ajax.request({
|
|
|
|
|
waitMsg: '',
|
|
|
|
|
url: '/MvcShipping/MsSysParamSet/GetData',
|
|
|
|
|
params: {
|
|
|
|
|
condition: "PARAMNAME='FEELR'"
|
|
|
|
|
},
|
|
|
|
|
callback: function (options, success, response) {
|
|
|
|
|
if (success) {
|
|
|
|
|
var result = Ext.JSON.decode(response.responseText);
|
|
|
|
|
if (result.Success != true) {
|
|
|
|
|
FEELR = '0';
|
|
|
|
|
} else {
|
|
|
|
|
var data = result.data;
|
|
|
|
|
if (data.PARAMVALUE == '1') {
|
|
|
|
|
FEELR = '1';
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
scope: this
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
</asp:Content>
|
|
|
|
|
|
|
|
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
|
|
|
|
|
<div id="viewport" ></div>
|
|
|
|
|
</asp:Content>
|