|
|
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SysAnnounceInfo.aspx.cs" Inherits="DSWeb.Message.SysAnnounceInfo" %>
|
|
|
|
|
|
|
|
|
|
<%@ Register assembly="DSWebComponent" namespace="DSWebComponent" tagprefix="cc1" %>
|
|
|
|
|
|
|
|
|
|
<!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 id="Head1" runat="server">
|
|
|
|
|
<title>公告基本信息</title>
|
|
|
|
|
<link href="../theme/tab.css" type="text/css" rel="stylesheet" />
|
|
|
|
|
<script language="javascript" type="text/javascript" src="../js/date/jsDateFormat.js"></script>
|
|
|
|
|
<script src="../js/m97date/wdatepicker.js" type="text/javascript"></script>
|
|
|
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
|
|
|
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
function $(id)
|
|
|
|
|
{
|
|
|
|
|
return document.getElementById(id);
|
|
|
|
|
}
|
|
|
|
|
function nTabs(thisObj,Num){
|
|
|
|
|
if(thisObj.className == "active")return;
|
|
|
|
|
var tabObj = thisObj.parentNode.id;
|
|
|
|
|
var tabList = document.getElementById(tabObj).getElementsByTagName("li");
|
|
|
|
|
for(i=0; i <tabList.length; i++)
|
|
|
|
|
{
|
|
|
|
|
if (i == Num)
|
|
|
|
|
{
|
|
|
|
|
thisObj.className = "active";
|
|
|
|
|
document.getElementById(tabObj+"_Content"+i).style.display = "block";
|
|
|
|
|
}else{
|
|
|
|
|
tabList[i].className = "normal";
|
|
|
|
|
document.getElementById(tabObj+"_Content"+i).style.display = "none";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//document.oncontextmenu=new Function("event.returnValue=false;"); //禁止右键功能,单击右键将无任何反应
|
|
|
|
|
//document.onselectstart=new Function("event.returnValue=false;"); //禁止先择,也就是无法复制
|
|
|
|
|
</script>
|
|
|
|
|
<!--Grid-->
|
|
|
|
|
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
|
|
|
|
|
<script src="../js/dhtmlxcommon.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../js/dhtmlxgrid.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../js/dhtmlxgridcell.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../js/dhtmlxcombo.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../js/dhtmlxgrid_keymap_excel.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../js/dhtmlxgrid_drag.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../js/dhtmlxgrid_group.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../js/dhtmlxgrid_mcol.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../js/dhtmlxgrid_keymap_excel.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../js/json2.js" type="text/javascript"></script>
|
|
|
|
|
<!--背景条-->
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
.btn-content0{
|
|
|
|
|
width:100%;
|
|
|
|
|
height:30px;
|
|
|
|
|
background:url("../images/content-header.gif");
|
|
|
|
|
cursor:default;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!--蒙板-->
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
function dialog() {
|
|
|
|
|
this.width = 450;
|
|
|
|
|
this.height = 360;
|
|
|
|
|
this.title_height = 20;
|
|
|
|
|
this.html = '';
|
|
|
|
|
this.title = '';
|
|
|
|
|
var self = this;
|
|
|
|
|
var bgObj, msgObj, titleObj;
|
|
|
|
|
this.close = function () {
|
|
|
|
|
document.body.removeChild(document.getElementById("bgDiv"));
|
|
|
|
|
document.getElementById("msgDiv").removeChild(document.getElementById("msgTitle"));
|
|
|
|
|
document.body.removeChild(document.getElementById("msgDiv"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.show = function () {
|
|
|
|
|
var msgw, msgh, bordercolor;
|
|
|
|
|
msgw = self.width;
|
|
|
|
|
msgh = self.height;
|
|
|
|
|
bordercolor = "#336699";
|
|
|
|
|
titlecolor = "#99CCFF";
|
|
|
|
|
|
|
|
|
|
var sWidth, sHeight;
|
|
|
|
|
sWidth = document.body.offsetWidth;
|
|
|
|
|
sHeight = screen.height;
|
|
|
|
|
bgObj = document.createElement("div");
|
|
|
|
|
bgObj.setAttribute('id', 'bgDiv');
|
|
|
|
|
bgObj.style.position = "absolute";
|
|
|
|
|
bgObj.style.top = "0";
|
|
|
|
|
bgObj.style.background = "#777";
|
|
|
|
|
bgObj.style.filter = "progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";
|
|
|
|
|
bgObj.style.opacity = "0.6";
|
|
|
|
|
bgObj.style.left = "0";
|
|
|
|
|
bgObj.style.width = sWidth + "px";
|
|
|
|
|
bgObj.style.height = sHeight + "px";
|
|
|
|
|
bgObj.style.zIndex = "10000";
|
|
|
|
|
document.body.appendChild(bgObj);
|
|
|
|
|
|
|
|
|
|
msgObj = document.createElement("div")
|
|
|
|
|
msgObj.setAttribute("id", "msgDiv");
|
|
|
|
|
msgObj.setAttribute("align", "center");
|
|
|
|
|
msgObj.style.background = "white";
|
|
|
|
|
msgObj.style.border = "1px solid " + bordercolor;
|
|
|
|
|
msgObj.style.position = "absolute";
|
|
|
|
|
msgObj.style.left = "50%";
|
|
|
|
|
msgObj.style.top = "30%";
|
|
|
|
|
msgObj.style.font = "12px/1.6em Verdana, Geneva, Arial, Helvetica, sans-serif";
|
|
|
|
|
msgObj.style.marginLeft = "-225px";
|
|
|
|
|
msgObj.style.marginTop = -75 + document.documentElement.scrollTop + "px";
|
|
|
|
|
msgObj.style.width = msgw + "px";
|
|
|
|
|
msgObj.style.height = msgh + "px";
|
|
|
|
|
msgObj.style.textAlign = "center";
|
|
|
|
|
msgObj.style.lineHeight = "25px";
|
|
|
|
|
msgObj.style.zIndex = "10001";
|
|
|
|
|
|
|
|
|
|
titleObj = document.createElement("h4");
|
|
|
|
|
titleObj.setAttribute("id", "msgTitle");
|
|
|
|
|
titleObj.setAttribute("align", "center");
|
|
|
|
|
titleObj.style.margin = "0";
|
|
|
|
|
titleObj.style.padding = "3px";
|
|
|
|
|
titleObj.style.background = bordercolor;
|
|
|
|
|
titleObj.style.filter = "progid:DXImageTransform.Microsoft.Alpha(startX=20, startY=20, finishX=100, finishY=100,style=1,opacity=75,finishOpacity=100);";
|
|
|
|
|
titleObj.style.opacity = "0.75";
|
|
|
|
|
titleObj.style.border = "1px solid " + bordercolor;
|
|
|
|
|
titleObj.style.height = self.title_height + "px";
|
|
|
|
|
titleObj.style.font = "12px Verdana, Geneva, Arial, Helvetica, sans-serif";
|
|
|
|
|
titleObj.style.color = "white";
|
|
|
|
|
titleObj.style.cursor = "pointer";
|
|
|
|
|
titleObj.innerHTML = self.title;
|
|
|
|
|
//titleObj.onclick=function(){self.close();}
|
|
|
|
|
document.body.appendChild(msgObj);
|
|
|
|
|
document.getElementById("msgDiv").appendChild(titleObj);
|
|
|
|
|
var txt = document.createElement("div");
|
|
|
|
|
txt.style.margin = "1em 0"
|
|
|
|
|
txt.setAttribute("id", "msgTxt");
|
|
|
|
|
txt.innerHTML = self.html;
|
|
|
|
|
document.getElementById("msgDiv").appendChild(txt);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
function msgBox() {
|
|
|
|
|
var dg = new dialog();
|
|
|
|
|
dg.html = "程序正在提交,请稍等!";
|
|
|
|
|
//dg.html+="<input type=button onclick='new dialog().close();' value='确定'>";
|
|
|
|
|
dg.width = 200;
|
|
|
|
|
dg.height = 100;
|
|
|
|
|
dg.title = "标题";
|
|
|
|
|
dg.show();
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<!--按钮条-->
|
|
|
|
|
<script type="text/javascript" language="javascript">
|
|
|
|
|
function divdadd()
|
|
|
|
|
{
|
|
|
|
|
if($("hdISISSUE").value=="1")
|
|
|
|
|
{
|
|
|
|
|
document.getElementById('divadd').style.display = "none";
|
|
|
|
|
//document.getElementById('divsave').style.display = "none";
|
|
|
|
|
document.getElementById('divrefresh').style.display = "none";
|
|
|
|
|
document.getElementById('divdel').style.display = "none";
|
|
|
|
|
document.getElementById('divrollback').style.display = "none";
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
document.getElementById('divadd').style.display = "";
|
|
|
|
|
//document.getElementById('divsave').style.display = "";
|
|
|
|
|
document.getElementById('divrefresh').style.display = "";
|
|
|
|
|
document.getElementById('divdel').style.display = "none";
|
|
|
|
|
document.getElementById('divrollback').style.display = "none";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
function divdisplay()
|
|
|
|
|
{
|
|
|
|
|
var dsdf =$("hdISISSUE").value;
|
|
|
|
|
if($("hdISISSUE").value=="1")
|
|
|
|
|
{
|
|
|
|
|
document.getElementById('divadd').style.display = "none";
|
|
|
|
|
//document.getElementById('divsave').style.display = "none";
|
|
|
|
|
document.getElementById('divrefresh').style.display = "none";
|
|
|
|
|
document.getElementById('divdel').style.display = "none";
|
|
|
|
|
document.getElementById('divrollback').style.display = "none";
|
|
|
|
|
}
|
|
|
|
|
else if($("hdISISSUE").value=="3")
|
|
|
|
|
{
|
|
|
|
|
document.getElementById('divadd').style.display = "none";
|
|
|
|
|
//document.getElementById('divsave').style.display = "none";
|
|
|
|
|
document.getElementById('divrefresh').style.display = "none";
|
|
|
|
|
document.getElementById('divdel').style.display = "none";
|
|
|
|
|
document.getElementById('divrollback').style.display = "none";
|
|
|
|
|
}
|
|
|
|
|
else if($("hdISISSUE").value=="1")
|
|
|
|
|
{
|
|
|
|
|
document.getElementById('divadd').style.display = "none";
|
|
|
|
|
//document.getElementById('divsave').style.display = "none";
|
|
|
|
|
document.getElementById('divrefresh').style.display = "none";
|
|
|
|
|
document.getElementById('divdel').style.display = "none";
|
|
|
|
|
document.getElementById('divrollback').style.display = "none";
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
document.getElementById('divadd').style.display = "";
|
|
|
|
|
//document.getElementById('divsave').style.display = "";
|
|
|
|
|
document.getElementById('divrefresh').style.display = "";
|
|
|
|
|
document.getElementById('divdel').style.display = "";
|
|
|
|
|
document.getElementById('divrollback').style.display = "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
function ShowDetailRejected()
|
|
|
|
|
{
|
|
|
|
|
var URLs = "SeaeOrderInfoRejected.aspx?ORDNO="+$("hdGid").value;
|
|
|
|
|
ret = window.open(URLs,"_blank", "height=220, width=350, toolbar=no, menubar=no,scrollbars=yes, resizable=1,location=no, status=no,Top= " +(screen.height/2-100) + ",Left= "+(screen.width/2-200));
|
|
|
|
|
}
|
|
|
|
|
function setEnter()
|
|
|
|
|
{
|
|
|
|
|
if($("tbBEGINTIME").value=="" || $("tbENDTIME").value=="" || $("tbDESCRIPTION").value=="" || $("tbANNOUNCECONTENT").value=="")
|
|
|
|
|
{
|
|
|
|
|
alert("标题、日期、内容不允许为空!");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
var bl = getdateformat();
|
|
|
|
|
if(bl)
|
|
|
|
|
{
|
|
|
|
|
$("hdEnter").value="0";
|
|
|
|
|
msgBox();
|
|
|
|
|
postEnter();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//post数据
|
|
|
|
|
function postEnter(){
|
|
|
|
|
var myForm = document.getElementById("form1");
|
|
|
|
|
myForm.submit();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function getdateformat()
|
|
|
|
|
{
|
|
|
|
|
var bl = false;
|
|
|
|
|
var alt ="";
|
|
|
|
|
if($("tbBEGINTIME").value!="")
|
|
|
|
|
{
|
|
|
|
|
bl=CheckDate($("tbBEGINTIME").value);
|
|
|
|
|
if(!bl)
|
|
|
|
|
{
|
|
|
|
|
alt+="起始时间(yyyy-MM-dd)、";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
if($("tbENDTIME").value!="")
|
|
|
|
|
{
|
|
|
|
|
bl=CheckDate($("tbENDTIME").value);
|
|
|
|
|
if(!bl)
|
|
|
|
|
{
|
|
|
|
|
alt+="结束时间(yyyy-MM-dd)、";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
if(alt=="")
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
alt = alt.substring(0,alt.length-1);
|
|
|
|
|
alert(alt+"的格式出错!");
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function lbCUSTOMERNAMEonMouseOver()
|
|
|
|
|
{
|
|
|
|
|
document.getElementById('lbCUSTOMERNAME').style.color = "#0000FF";
|
|
|
|
|
document.getElementById('lbCUSTOMERNAME').style.cursor = "hand";
|
|
|
|
|
document.getElementById('lbCUSTOMERNAME').style["textDecoration"] = "underline";
|
|
|
|
|
}
|
|
|
|
|
function lbCUSTOMERNAMEonMouseOut()
|
|
|
|
|
{
|
|
|
|
|
document.getElementById('lbCUSTOMERNAME').style.color = "#75787C";
|
|
|
|
|
document.getElementById('lbCUSTOMERNAME').style.cursor = "auto";
|
|
|
|
|
document.getElementById('lbCUSTOMERNAME').style["textDecoration"] = "";
|
|
|
|
|
}
|
|
|
|
|
//回车键控制
|
|
|
|
|
document.onkeypress=function()
|
|
|
|
|
{
|
|
|
|
|
if(event.keyCode==13)
|
|
|
|
|
{
|
|
|
|
|
if(event.srcElement.tagName== 'TEXTAREA')
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
//window.event.keyCode=9;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//Tab键控制
|
|
|
|
|
document.onkeypress=function()
|
|
|
|
|
{
|
|
|
|
|
if(event.keyCode==9)
|
|
|
|
|
{
|
|
|
|
|
if(event.srcElement.id == 'tbCBM')
|
|
|
|
|
{
|
|
|
|
|
document.getElementById('tbMARKS').focus();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if(event.srcElement.id == 'tbDESCRIPTION')
|
|
|
|
|
{
|
|
|
|
|
document.getElementById('tbMARKS').focus();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//window.event.keyCode=9;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
function newGuid(){
|
|
|
|
|
var guid = "";
|
|
|
|
|
for (var i = 1; i <= 32; i++){
|
|
|
|
|
var n = Math.floor(Math.random()*16.0).toString(16);
|
|
|
|
|
guid += n;
|
|
|
|
|
if((i==8)||(i==12)||(i==16)||(i==20))
|
|
|
|
|
guid += "-";
|
|
|
|
|
}
|
|
|
|
|
return guid.toUpperCase();
|
|
|
|
|
}
|
|
|
|
|
//是否为数字
|
|
|
|
|
function IsNum(val){
|
|
|
|
|
var re = /^[-\+]?\d+(\.\d+)?$/;
|
|
|
|
|
if (!re.test(val)){
|
|
|
|
|
return false;
|
|
|
|
|
}else{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//是否为数字2
|
|
|
|
|
function IsNum2(val){
|
|
|
|
|
var re = /^[0-9]*[1-9][0-9]*$/;
|
|
|
|
|
if (!re.test(val)){
|
|
|
|
|
return false;
|
|
|
|
|
}else{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
function set20GP1()
|
|
|
|
|
{
|
|
|
|
|
$("tb20GP1").value=parseInt($("tb20GP0").value)+parseInt($("tbPROFIT20GP").value);
|
|
|
|
|
}
|
|
|
|
|
function set40GP1()
|
|
|
|
|
{
|
|
|
|
|
$("tb40GP1").value=parseInt($("tb40GP0").value)+parseInt($("tbPROFIT40GP").value);
|
|
|
|
|
}
|
|
|
|
|
function set40HQ1()
|
|
|
|
|
{
|
|
|
|
|
$("tb40HQ1").value=parseInt($("tb40HQ0").value)+parseInt($("tbPROFIT40HQ").value);
|
|
|
|
|
}
|
|
|
|
|
function set45HQ1()
|
|
|
|
|
{
|
|
|
|
|
$("tb45HQ1").value=parseInt($("tb45HQ0").value)+parseInt($("tbPROFIT45HQ").value);
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
function set20GP0()
|
|
|
|
|
{
|
|
|
|
|
$("tb20GP0").value=parseInt($("tbOF20GP").value)+parseInt($("tbBAF20GP").value)+parseInt($("tbCAF20GP").value)+parseInt($("tbPSS20GP").value)+parseInt($("tbGRI20GP").value)+parseInt($("tbINLAND20GP").value)+parseInt($("tbISPS20GP").value)+parseInt($("tbSZ20GP").value)+parseInt($("tbAG20GP").value);
|
|
|
|
|
set20GP1();
|
|
|
|
|
}
|
|
|
|
|
function set40GP0()
|
|
|
|
|
{
|
|
|
|
|
$("tb40GP0").value=parseInt($("tbOF40GP").value)+parseInt($("tbBAF40GP").value)+parseInt($("tbCAF40GP").value)+parseInt($("tbPSS40GP").value)+parseInt($("tbGRI40GP").value)+parseInt($("tbINLAND40GP").value)+parseInt($("tbISPS40GP").value)+parseInt($("tbSZ40GP").value)+parseInt($("tbAG40GP").value);
|
|
|
|
|
set40GP1();
|
|
|
|
|
}
|
|
|
|
|
function set40HQ0()
|
|
|
|
|
{
|
|
|
|
|
$("tb40HQ0").value=parseInt($("tbOF40HQ").value)+parseInt($("tbBAF40HQ").value)+parseInt($("tbCAF40HQ").value)+parseInt($("tbPSS40HQ").value)+parseInt($("tbGRI40HQ").value)+parseInt($("tbINLAND40HQ").value)+parseInt($("tbISPS40HQ").value)+parseInt($("tbSZ40HQ").value)+parseInt($("tbAG40HQ").value);
|
|
|
|
|
set40HQ1();
|
|
|
|
|
}
|
|
|
|
|
function set45HQ0()
|
|
|
|
|
{
|
|
|
|
|
$("tb45HQ0").value=parseInt($("tbOF45HQ").value)+parseInt($("tbBAF45HQ").value)+parseInt($("tbCAF45HQ").value)+parseInt($("tbPSS45HQ").value)+parseInt($("tbGRI45HQ").value)+parseInt($("tbINLAND45HQ").value)+parseInt($("tbISPS45HQ").value)+parseInt($("tbSZ45HQ").value)+parseInt($("tbAG45HQ").value);
|
|
|
|
|
set45HQ1();
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
function setImgShow()
|
|
|
|
|
{
|
|
|
|
|
var pic1=document.getElementById("imgShow");
|
|
|
|
|
var start=pic1.src.lastIndexOf("/");
|
|
|
|
|
var str=pic1.src.substring(start+1);
|
|
|
|
|
if(str=="closed.gif")
|
|
|
|
|
{
|
|
|
|
|
pic1.src="../images/opened.gif";
|
|
|
|
|
//document.getElementById('divShow').setAttribute('disabled','disabled');
|
|
|
|
|
document.getElementById('divShow').style.display = "none";
|
|
|
|
|
}
|
|
|
|
|
else if(str=="opened.gif")
|
|
|
|
|
{
|
|
|
|
|
pic1.src="../images/closed.gif";
|
|
|
|
|
//document.getElementById('divShow').removeAttribute('disabled');
|
|
|
|
|
document.getElementById('divShow').style.display = "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
function imgShowPic()
|
|
|
|
|
{
|
|
|
|
|
var pic1=document.getElementById("imgShow");
|
|
|
|
|
var start=pic1.src.lastIndexOf("/");
|
|
|
|
|
var str=pic1.src.substring(start+1);
|
|
|
|
|
if(str=="closed.gif")
|
|
|
|
|
{
|
|
|
|
|
pic1.src="../images/opened.gif";
|
|
|
|
|
//pic1.alt="我是B图片";
|
|
|
|
|
}
|
|
|
|
|
else if(str=="opened.gif")
|
|
|
|
|
{
|
|
|
|
|
pic1.src="../images/closed.gif";
|
|
|
|
|
//pic1.alt="我是A图片";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
function imgFreshChangePic()
|
|
|
|
|
{
|
|
|
|
|
var pic1=document.getElementById("imgFresh");
|
|
|
|
|
var start=pic1.src.lastIndexOf("/");
|
|
|
|
|
var str=pic1.src.substring(start+1);
|
|
|
|
|
if(str=="btnFresh.gif")
|
|
|
|
|
{
|
|
|
|
|
pic1.src="../images/icons/progress.gif";
|
|
|
|
|
//pic1.alt="我是B图片";
|
|
|
|
|
}
|
|
|
|
|
else if(str=="progress.gif")
|
|
|
|
|
{
|
|
|
|
|
pic1.src="../images/icons/btnFresh.gif";
|
|
|
|
|
//pic1.alt="我是A图片";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<!--页面重新加载-->
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
function reloadParent(strBSNO, strHandle) {
|
|
|
|
|
//alert("strBSNO="+strBSNO);
|
|
|
|
|
var parentObj = window.parent.location;
|
|
|
|
|
var oldUrl = parentObj.href;
|
|
|
|
|
var idIndex = oldUrl.indexOf("&id"); //alert(oldUrl);
|
|
|
|
|
//
|
|
|
|
|
var newUrl = "";
|
|
|
|
|
if (strHandle == "addfull") {
|
|
|
|
|
var handleIndex = oldUrl.indexOf("handle="); //alert(handleIndex);
|
|
|
|
|
newUrl = oldUrl.substring(0, handleIndex);
|
|
|
|
|
window.parent.opener.location.href = window.parent.opener.location.href;
|
|
|
|
|
parentObj.href = newUrl + "handle=edit&id=" + strBSNO;
|
|
|
|
|
}
|
|
|
|
|
else if (strHandle == "edit") {
|
|
|
|
|
//newUrl = oldUrl.substring(0,idIndex+4);//alert(oldUrl.substring(0,idIndex));
|
|
|
|
|
window.parent.opener.location.href = window.parent.opener.location.href;
|
|
|
|
|
//parentObj.href = newUrl+strBSNO;
|
|
|
|
|
}
|
|
|
|
|
else if (strHandle == "add") {
|
|
|
|
|
var handleIndex = oldUrl.indexOf("handle="); //alert(handleIndex);
|
|
|
|
|
newUrl = oldUrl.substring(0, handleIndex);
|
|
|
|
|
window.parent.opener.location.href = window.parent.opener.location.href;
|
|
|
|
|
parentObj.href = newUrl + "handle=edit&id=" + strBSNO;
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
//alert("操作成功!");
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
*{ margin:0; padding:0;}
|
|
|
|
|
html,body{ width:100%; height:100%; overflow:hidden;}
|
|
|
|
|
.container{ position:relative; width:100%; height:100%; overflow-y:scroll; overflow-x:auto;}
|
|
|
|
|
.topcss{ width:100%; position:absolute; top:0; left:0;}
|
|
|
|
|
.boxcss{ height:500px;}
|
|
|
|
|
.btncss
|
|
|
|
|
{
|
|
|
|
|
width:100px;
|
|
|
|
|
BORDER-RIGHT: #2C59AA 1px solid;
|
|
|
|
|
PADDING-RIGHT: 2px; BORDER-TOP: #2C59AA 1px solid;
|
|
|
|
|
PADDING-LEFT: 2px; FONT-SIZE: 12px; FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5);
|
|
|
|
|
BORDER-LEFT: #2C59AA 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px;
|
|
|
|
|
BORDER-BOTTOM: #2C59AA 1px solid;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
<body style="background-color: #ECF2FF">
|
|
|
|
|
<form id="form1" runat="server" style="background-color: #ECF2FF">
|
|
|
|
|
<div>
|
|
|
|
|
<p class="topcss">
|
|
|
|
|
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
|
|
|
|
|
<div class="btn-blank"></div>
|
|
|
|
|
<div id="divibAdd" class="xbtn-img" runat=server>
|
|
|
|
|
<div class="btnimg"><asp:ImageButton ID="ibAdd" runat="server" onclick="ibAdd_Click" ToolTip="添加" ImageUrl="~/images/icons/btnAdd.gif" CssClass="cssfont"/></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="divibFullAdd" class="xbtn-img" runat=server>
|
|
|
|
|
<div class="btnimg"><asp:ImageButton ID="ibFullAdd" runat="server" onclick="ibFullAdd_Click" ToolTip="复制添加" ImageUrl="~/images/cmd-copy.gif" CssClass="cssfont"/></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="divibEnter" class="xbtn-img" runat=server onclick="setEnter();">
|
|
|
|
|
<div class="btnimg"><img src="../images/icons/save.gif" width="16px" title="保存修改" class="cssfont"/></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="divibDel" class="xbtn-img" runat=server>
|
|
|
|
|
<div class="btnimg"><asp:ImageButton ID="ibDel" runat="server" onclick="ibDel_Click" ToolTip="删除" ImageUrl="~/images/icons/remove.gif" OnClientClick="return confirm('确定删除吗?')" CssClass="cssfont"/></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xbtn-img">
|
|
|
|
|
<img id="imgFresh" runat=server src="../images/icons/btnFresh.gif" onclick="ShowDetailFresh();" class="btnimg" alt="刷新" onmouseover="imgFreshChangePic();" onMouseOut="imgFreshChangePic();"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xbtn">
|
|
|
|
|
<asp:Button ID="btISISSUE" runat="server" Text="发布" Width=60px Height=20px onclick="btISISSUE_Click" CssClass="btncss"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="container" style="float:left; width:100%;height:500px; margin-top:10px;">
|
|
|
|
|
<div id="myTab0_Content0">
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="50px">
|
|
|
|
|
<asp:Label ID="Label6" runat="server" Text="公告类型" Width=50px CssClass="cssfont"></asp:Label>
|
|
|
|
|
</td>
|
|
|
|
|
<td width="160px">
|
|
|
|
|
<asp:RadioButtonList ID="rblTYPE" runat="server" RepeatDirection="Horizontal" Width="160px">
|
|
|
|
|
<asp:ListItem Value="1" Selected=True>内部公告</asp:ListItem>
|
|
|
|
|
<asp:ListItem Value="2">外部公告</asp:ListItem>
|
|
|
|
|
</asp:RadioButtonList>
|
|
|
|
|
</td>
|
|
|
|
|
<td width="10px"></td>
|
|
|
|
|
<td width="50px">
|
|
|
|
|
<asp:Label ID="Label7" runat="server" Text="起始时间" Width=50px CssClass="cssfont"></asp:Label>
|
|
|
|
|
</td>
|
|
|
|
|
<td width="100px">
|
|
|
|
|
<asp:TextBox ID="tbBEGINTIME" runat="server" CssClass="txtTab2" onclick="WdatePicker();" MaxLength="19" Height=20px></asp:TextBox>
|
|
|
|
|
</td>
|
|
|
|
|
<td width="10px"></td>
|
|
|
|
|
<td width="50px">
|
|
|
|
|
<asp:Label ID="Label8" runat="server" Text="结束时间" Width=50px CssClass="cssfont"></asp:Label>
|
|
|
|
|
</td>
|
|
|
|
|
<td width="100px">
|
|
|
|
|
<asp:TextBox ID="tbENDTIME" runat="server" CssClass="txtTab2" onclick="WdatePicker();" MaxLength="19" Height=20px></asp:TextBox>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<asp:Label ID="Label10" runat="server" Text="标题" Width=50px CssClass="cssfont"></asp:Label>
|
|
|
|
|
</td>
|
|
|
|
|
<td colspan=7>
|
|
|
|
|
<asp:TextBox ID="tbDESCRIPTION" runat="server" CssClass="txtTab2" MaxLength="100" Height=20px Width=600px></asp:TextBox>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<asp:Label ID="Label34" runat="server" Text="内容" Width=50px CssClass="cssfont"></asp:Label>
|
|
|
|
|
</td>
|
|
|
|
|
<td colspan=7 align=left height="10">
|
|
|
|
|
<asp:TextBox ID="tbANNOUNCECONTENT" runat="server" CssClass="txtTab2" MaxLength="1024" style="overflow-y:auto;height:400px;" Height=400px Width=600px TextMode="MultiLine"></asp:TextBox>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<input type="hidden" id="hdGid" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hdUserID" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hdHandle" runat="server"/>
|
|
|
|
|
|
|
|
|
|
<input type="hidden" id="hdEnter" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hdISISSUE" runat="server"/>
|
|
|
|
|
|
|
|
|
|
<input type="hidden" id="hd_comboCARRIE" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hd_comboFORWARDER" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hd_comboPODLOAD" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hd_comboPORTDISCHARGE" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hd_comboSVC" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hd_comboLANE" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hd_comboETD" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hd_comboSICUT" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hd_comboCUSCLSG" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hd_comboCYCLSG" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hd_comboVIA" runat="server"/>
|
|
|
|
|
|
|
|
|
|
<input type="hidden" id="hdCOMPANYID" runat="server"/>
|
|
|
|
|
<input type="hidden" id="hdLANE" runat="server"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="height:100px"></div>
|
|
|
|
|
</form>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|