|
|
<%@ 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 GID;
|
|
|
function getSessgion1() {
|
|
|
GID = '<%= 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/MsOpSeai/Zi_en-us.js\"></sc' + 'ript>');
|
|
|
document.write('<script type=\"text/javascript\" src=\"../../../../Areas/MvcShipping/Viewsjs/MsChFee/Zi_en-us.js\"></sc' + 'ript>');
|
|
|
}
|
|
|
else {
|
|
|
document.write('<script type=\"text/javascript\" src=\"../../../../Areas/MvcShipping/Viewsjs/MsOpSeai/Zi_zh-cn.js\"></sc' + 'ript>');
|
|
|
document.write('<script type=\"text/javascript\" src=\"../../../../Areas/MvcShipping/Viewsjs/MsChFee/Zi_zh-cn.js\"></sc' + 'ript>');
|
|
|
}
|
|
|
}
|
|
|
getSessgion6();
|
|
|
</script>
|
|
|
|
|
|
<%--<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/ExtjsEx/datetime/DateTimePicker.js"></script>
|
|
|
<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/ExtjsEx/datetime/DateTime.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/MsOpSeai/MsOpSeaiModel.js"></script>
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsCodeOpService/MsCodeOpServiceModel.js"></script>
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsOpSeai/MsOpSeaiEditView.js"></script>
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsOpSeai/SeaiFee.js"></script>
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsChFee/FeeMode.js"></script>
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsChFee/FeeComm.js"></script>
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsChFee/FeeAudit.js"></script>
|
|
|
<%--<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsChFee/FeeDrCrGrid.js"></script> --%>
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsChFee/FeeDrCrGridView.js"></script>
|
|
|
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsChFee/FeeAmendDrCrGrid.js"></script>
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsOpSeai/SeaiAmendFee.js"></script>
|
|
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsOpSeai/MsOpSeaiFenIndex.js"></script>
|
|
|
<script type="text/javascript"">
|
|
|
|
|
|
var panelEdit = null;
|
|
|
Ext.onReady(function () {
|
|
|
|
|
|
|
|
|
Ext.QuickTips.init();
|
|
|
Ext.form.Field.prototype.msgTarget = 'side';
|
|
|
|
|
|
|
|
|
|
|
|
panelEdit = new Shipping.MsOpSeaiView({
|
|
|
region: 'center',
|
|
|
layout: 'border'
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
var view = new Ext.Viewport({
|
|
|
layout: 'border',
|
|
|
renderTo: 'viewport',
|
|
|
border: false,
|
|
|
autoScroll: true,
|
|
|
items: [{
|
|
|
region: 'center',
|
|
|
layout: 'fit',
|
|
|
items: [panelEdit]
|
|
|
}]
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
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) {
|
|
|
var head = document.getElementsByTagName('head')[0];
|
|
|
var script = document.createElement('script');
|
|
|
script.src = '../../../../Areas/MvcShipping/Viewsjs/MsChFee/FeeDrCrGrid.js';
|
|
|
script.type = 'text/javascript';
|
|
|
head.appendChild(script);
|
|
|
} else {
|
|
|
var data = result.data;
|
|
|
if (data.PARAMVALUE == '1') {
|
|
|
var head = document.getElementsByTagName('head')[0];
|
|
|
var script = document.createElement('script');
|
|
|
script.src = '../../../../Areas/MvcShipping/Viewsjs/MsChFee/FeeDrCrGridLR.js';
|
|
|
script.type = 'text/javascript';
|
|
|
head.appendChild(script);
|
|
|
} else {
|
|
|
var head = document.getElementsByTagName('head')[0];
|
|
|
var script = document.createElement('script');
|
|
|
script.src = '../../../../Areas/MvcShipping/Viewsjs/MsChFee/FeeDrCrGrid.js';
|
|
|
script.type = 'text/javascript';
|
|
|
head.appendChild(script);
|
|
|
}
|
|
|
|
|
|
}
|
|
|
} else {
|
|
|
var head = document.getElementsByTagName('head')[0];
|
|
|
var script = document.createElement('script');
|
|
|
script.src = '../../../../Areas/MvcShipping/Viewsjs/MsChFee/FeeDrCrGrid.js';
|
|
|
script.type = 'text/javascript';
|
|
|
head.appendChild(script);
|
|
|
}
|
|
|
},
|
|
|
scope: this
|
|
|
});
|
|
|
</script>
|
|
|
|
|
|
</asp:Content>
|
|
|
|
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
|
|
|
<div id="viewport" ></div>
|
|
|
</asp:Content>
|