DS7/DSWeb/Areas/TruckMng/Views/MsOpTruckBulkPc/ReceiptEdit.aspx

56 lines
2.1 KiB
Plaintext

<%@ 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();
</script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsOpReceipt/ReceiptMode.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsOpReceipt/ReceiptComm.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsOpReceipt/ReceiptDrCrGrid.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsOpOther/MsOpOtherModel.js"></script>
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/MsOpOther/OtherReceipt.js"></script>
<script type="text/javascript"">
Ext.onReady(function () {
Ext.QuickTips.init();
Ext.form.Field.prototype.msgTarget = 'side';
var panelIndex = null;
panelIndex = new Shipping.OtherReceipt({
region: 'center',
layout: 'border'
});
//
var view = new Ext.Viewport({
layout: 'border',
renderTo: 'Receiptviewport',
border: false,
autoScroll:true,
items: [{
region: 'center',
layout: 'fit',
items: [panelIndex]
}]
});
});
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
<div id="Receiptviewport" ></div>
</asp:Content>