DS7/DSWeb/Areas/MvcShipping/Views/WMSPrice/Index.aspx

64 lines
2.0 KiB
Plaintext

<%@ Page Title="" validateRequest="false" Language="C#" MasterPageFile="~/Areas/Import/Views/Shared/SiteExcel.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();
</script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/MonthField.js"></script>
<script type="text/javascript" src="../../../../Areas/Import/Viewsjs/Comm/SaveGridPanel.js"></script>
<script type="text/javascript" src="../../../../Areas/TruckMng/Viewsjs/MsWl_Port/MsWl_PortModel.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/WMS/WMSPriceIndex.js"></script>
<script type="text/javascript">
Ext.onReady(function () {
Ext.QuickTips.init();
Ext.form.Field.prototype.msgTarget = 'side';
pnl = new Shipping.WMSPriceIndex({ 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>