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

91 lines
3.1 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 SHOWNAME;
function getSessgion() {
SHOWNAME = '<%=Session["SHOWNAME"] %>';
}
getSessgion();
var usercode;
function getSessgion2() {
usercode = '<%=Session["CODENAME"] %>';
}
getSessgion2();
var USERID;
function getSessgion3() {
USERID = '<%=Session["USERID"] %>';
}
getSessgion3();
var COMPANYID;
function getSessgion4() {
COMPANYID = '<%= Session["COMPANYID"] %>';
}
getSessgion4();
var formtype = "Operate";
</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/CommMng/Viewsjs/Comm/BoxSelect.js"></script>
<script type="text/javascript" src="../../../../Areas/Import/Viewsjs/Comm/SaveGridPanel.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/MonthField.js"></script>
<script type="text/javascript" src="../../../../Areas/Import/Viewsjs/Comm/MsChFeeComm.js"></script>
<script type="text/javascript" src="../../../../Areas/Import/Viewsjs/Comm/UnitDEF.js"></script>
<script type="text/javascript" src="../../../../Areas/TruckMng/Viewsjs/MsWlBs/MsWlBsCardModel.js"></script>
<script type="text/javascript" src="../../../../Areas/TruckMng/Viewsjs/MsWlBs/MsPcEdit_LTJYIndex.js"></script>
<script type="text/javascript">
Ext.onReady(function () {
Ext.QuickTips.init();
Ext.form.Field.prototype.msgTarget = 'side';
panelTest = new DsTruck.MsPcEditIndex({ layout: 'border', region: 'center' });
var view = new Ext.Viewport({
layout: 'border',
renderTo: 'viewport',
id:'mainview',
border: false,
items: [{
region: 'center',
layout: 'fit',
items: [panelTest]
}]
,
enableKeyEvents: true,
listeners: {
specialkey: function (field, e) {
if (e.getKey() == e.ENTER) {
alert("enter");
}
}
}
});
});
function OprationSwap() {
return panelTest.OprationSwap();
}
</script>
<div id="viewport" ></div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>