DS7/DSWeb/Areas/TruckMng/Views/MsWl_HaierMain/Index.aspx

67 lines
2.3 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" src="../../../../Areas/Import/Viewsjs/Comm/SaveGridPanel.js"></script>
<script type="text/javascript" src="../../../TruckMng/Views/../../../Areas/TruckMng/Viewsjs/MsWlBs/MsWlBsCardModel.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/MonthField.js"></script>
<script type="text/javascript" src="../../../../Areas/TruckMng/Viewsjs/MsWl_Haier/MsWl_HaierModel.js"></script>
<script type="text/javascript" src="../../../../Areas/TruckMng/Viewsjs/MsWl_Haier/FileImport.js"></script>
<script type="text/javascript" src="../../../../Areas/TruckMng/Viewsjs/MsWl_Haier/MsWl_HaierMainIndex.js"></script>
<script type="text/javascript">
var USERID;
var GID;
function getSessgion1() {
USERID = '<%= Session["USERID"] %>';
GID = 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();
Ext.onReady(function () {
Ext.QuickTips.init();
Ext.form.Field.prototype.msgTarget = 'side';
pnl = new DsTruck.MsWl_HaierMainIndex({ 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>