You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
147 lines
6.4 KiB
Plaintext
147 lines
6.4 KiB
Plaintext
3 years ago
|
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="SiteChild.Master.cs" Inherits="DSWeb.Areas.Import.Views.Shared.Site" %>
|
||
|
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head runat="server">
|
||
|
<title></title>
|
||
|
<asp:ContentPlaceHolder ID="head" runat="server">
|
||
|
</asp:ContentPlaceHolder>
|
||
|
|
||
|
<!-- ExtJS -->
|
||
|
<link rel="stylesheet" type="text/css" href="../../../../Views/../TruckMng/Scripts/extjs/resources/css/ext-all.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="../../../../Views/../TruckMng/Content/Icon.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="../../../../Views/../TruckMng/Content/Comm.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="../../../../Views/../TruckMng/Content/BoxSelect.css" />
|
||
|
|
||
|
<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/extjs/ext-all.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/extjs/ext-lang-zh_CN.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/extjs/ux/CheckColumn.js"></script>
|
||
|
|
||
|
<script type="text/javascript" src="../../../../Areas/CommMng/Viewsjs/Comm/DsExtjsEx.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Areas/CommMng/Viewsjs/Comm/BoxSelect.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Areas/CommMng/Viewsjs/Comm/GridComboBox.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Areas/CommMng/Viewsjs/Comm/GridComboBoxList.js"></script>
|
||
|
|
||
|
<script type="text/javascript" src="../../../../Areas/CommMng/Viewsjs/Comm/DsComm.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Areas/CommMng/Viewsjs/Comm/PubFunction.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Areas/CommMng/Viewsjs/Comm/BasicDataRefModel.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Areas/CommMng/Viewsjs/Cookie/Cookies.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Areas/CommMng/Viewsjs/Cookie/DsCookies.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Views/../TruckMng/Scripts/ExtjsEx/gridToExcel.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/DsQuery.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/PubFunction.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Areas/Import/Viewsjs/Comm/SaveGridPanel.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/DsExtjsEx.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/DsComm.js"></script>
|
||
|
|
||
|
<script type="text/javascript" src="../../../../Areas/Import/Viewsjs/Comm/ImportModel.js"></script>
|
||
|
<script type="text/javascript" src="../../../../Areas/MvcShipping/Viewsjs/Comm/PubFunction.js"></script>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
Ext.Ajax.timeout = 120000;
|
||
|
var GID;
|
||
|
function getSessgion0() {
|
||
|
GID = '<%= Session["USERID"] %>';
|
||
|
}
|
||
|
getSessgion0();
|
||
|
|
||
|
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();
|
||
|
|
||
|
var DEPTNAME;
|
||
|
function getSessgion5() {
|
||
|
DEPTNAME = '<%= Session["DEPTNAME"] %>';
|
||
|
}
|
||
|
getSessgion5();
|
||
|
|
||
|
var LOCALCURR = GetCookie_LocalCurr();
|
||
|
|
||
|
Ext.grid.RowNumberer = Ext.extend(Ext.grid.RowNumberer, {
|
||
|
width: 40
|
||
|
});
|
||
|
|
||
|
Date.prototype.format = function (format) {
|
||
|
var o = {
|
||
|
"M+": this.getMonth() + 1, //month
|
||
|
"d+": this.getDate(), //day
|
||
|
"h+": this.getHours(), //hour
|
||
|
"m+": this.getMinutes(), //minute
|
||
|
"s+": this.getSeconds(), //second
|
||
|
"q+": Math.floor((this.getMonth() + 3) / 3), //quarter
|
||
|
"S": this.getMilliseconds() //millisecond
|
||
|
}
|
||
|
if (/(y+)/.test(format)) format = format.replace(RegExp.$1,
|
||
|
(this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
||
|
for (var k in o) if (new RegExp("(" + k + ")").test(format))
|
||
|
format = format.replace(RegExp.$1,
|
||
|
RegExp.$1.length == 1 ? o[k] :
|
||
|
("00" + o[k]).substr(("" + o[k]).length));
|
||
|
return format;
|
||
|
}
|
||
|
var xhr = new XMLHttpRequest();
|
||
|
var currdate = new Date();
|
||
|
if (!xhr) {
|
||
|
//...其他生成xmlhttprequest方法
|
||
|
}
|
||
|
xhr.open("HEAD", location.href, true);
|
||
|
xhr.onreadystatechange = function () {
|
||
|
if (xhr.readyState == 4 && xhr.status == 200) {
|
||
|
var datestr = xhr.getResponseHeader("Date");
|
||
|
currdate = new Date(datestr);
|
||
|
// alert(currdate.format('yyyy-MM-dd'));
|
||
|
}
|
||
|
}
|
||
|
xhr.send(null);
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onbeforeunload=" checkLeave()">
|
||
|
<!--
|
||
|
<script type="text/javascript">
|
||
|
var saved = true;
|
||
|
</script> -->
|
||
|
<form id="form1" runat="server">
|
||
|
<div>
|
||
|
<asp:ContentPlaceHolder ID="MainContent" runat="server">
|
||
|
|
||
|
</asp:ContentPlaceHolder>
|
||
|
|
||
|
</div>
|
||
|
</form>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
function checkLeave() {
|
||
|
var saved = this.getSaved();
|
||
|
if (saved == true) {
|
||
|
event.returnValue = "确定关闭? 将丢失未保存的更改";
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|