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.
546 lines
25 KiB
Plaintext
546 lines
25 KiB
Plaintext
11 months ago
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExchangesUnit.aspx.cs" Inherits="DSWeb.Shipping.ExchangesUnit" %>
|
||
|
|
||
|
<!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 rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
|
||
|
<!--按钮条-->
|
||
|
<style type="text/css">
|
||
|
.btn-content0{
|
||
|
width:100%;
|
||
|
height:30px;
|
||
|
background:url("../images/content-header.gif");
|
||
|
cursor:default;
|
||
|
}
|
||
|
</style>
|
||
|
<!--Grid-->
|
||
|
<link rel="STYLESHEET" type="text/css" href="../theme/dhtmlxgrid.css"/>
|
||
|
<link rel="STYLESHEET" type="text/css" href="../theme/page.css"/>
|
||
|
<script src="../js/m97date/wdatepicker.js" type="text/javascript"></script>
|
||
|
<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/jsGridExchangesUnit.js" type="text/javascript"></script>
|
||
|
<script src="../js/json2.js" type="text/javascript"></script>
|
||
|
<style type="text/css">
|
||
|
#divh { position:absolute; z-index:1001; left:40%; top:30%; width:300px; margin-left:-200px; border:solid 6px #ddd; }
|
||
|
.box { border:solid 1px #999; font-size:14px; }
|
||
|
#tit { border-bottom:solid 1px #999;background-color:#cccccc; padding:6px; font-weight:bold;}
|
||
|
#bod { background-color:#ffffff; padding:20px; }
|
||
|
#bot { border-top:solid 1px #999;background-color:#cccccc; text-align:right;}
|
||
|
.menu { position:absolute; z-index:101; width:150px; border:solid 1px #999; padding:2px; background-color:#ffffff;}
|
||
|
.menu a {padding:5px 6px; font-size:12px; color:#000000; cursor:default; text-decoration:none; padding-top:1px; width:90px;}
|
||
|
.menu a:hover { background-color:#507cd1; color:#ffffff;}
|
||
|
|
||
|
.regular{text-decoration:none;cursor:default; margin-right:20px;}
|
||
|
.imgLeftButton{
|
||
|
background-image:url(../images/icons/edit_right.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
|
||
|
}
|
||
|
.imgLeftHoverButton{
|
||
|
background-image:url(../images/icons/edit_righthover.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
|
||
|
}
|
||
|
|
||
|
.imgRightButton{
|
||
|
background-image:url(../images/icons/edit_left.gif);height:19px;width:19px; margin-left:22px;
|
||
|
}
|
||
|
.imgRightHoverButton{
|
||
|
background-image:url(../images/icons/edit_lefthover.gif);height:19px;width:19px; margin-left:22px;
|
||
|
}
|
||
|
|
||
|
.imgUpButton{
|
||
|
background-image:url(../images/icons/edit_up.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
|
||
|
}
|
||
|
.imgUpHoverButton{
|
||
|
background-image:url(../images/icons/edit_uphover.gif);height:19px;width:19px; margin-left:22px;margin-bottom:30px;
|
||
|
}
|
||
|
|
||
|
.imgDownButton{
|
||
|
background-image:url(../images/icons/edit_down.gif);height:19px;width:19px; margin-left:22px;
|
||
|
}
|
||
|
.imgDownHoverButton{
|
||
|
background-image:url(../images/icons/edit_downhover.gif);height:19px;width:19px; margin-left:22px;
|
||
|
}
|
||
|
.enterButton{
|
||
|
display:block;
|
||
|
float:left;
|
||
|
margin:0 7px 0 0;
|
||
|
background-color:#d5d5d5;
|
||
|
border:1px solid #dedede;
|
||
|
border-top:1px solid #eee;
|
||
|
border-left:1px solid #eee;
|
||
|
|
||
|
font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
|
||
|
font-size:12px;
|
||
|
line-height:130%;
|
||
|
text-decoration:none;
|
||
|
font-weight:bold;
|
||
|
color:#565656;
|
||
|
cursor:default;
|
||
|
padding:5px 10px 6px 7px; /* Links */
|
||
|
width:60px;
|
||
|
text-align:center;
|
||
|
margin-top:8px;
|
||
|
margin-left:20px;
|
||
|
|
||
|
}
|
||
|
|
||
|
.enterButton:hover{
|
||
|
background-color:#dff4ff;
|
||
|
border:1px solid #c2e1ef;
|
||
|
color:#336699;
|
||
|
}
|
||
|
.enterButton:active{
|
||
|
background-color:#6299c5;
|
||
|
border:1px solid #6299c5;
|
||
|
color:#fff;
|
||
|
}
|
||
|
.dvMenu{
|
||
|
display:block;
|
||
|
background-color:#ffffff;
|
||
|
border:1px solid #dedede;
|
||
|
border-top:1px solid #eee;
|
||
|
border-left:1px solid #eee;
|
||
|
|
||
|
font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
|
||
|
font-size:12px;
|
||
|
line-height:130%;
|
||
|
text-decoration:none;
|
||
|
font-weight:bold;
|
||
|
color:#565656;
|
||
|
cursor:default;
|
||
|
padding:8px 0px 6px 7px; /* Links */
|
||
|
width:95%;
|
||
|
text-align:center;
|
||
|
|
||
|
}
|
||
|
.dvMenu:hover{
|
||
|
background-color:#dff4ff;
|
||
|
border:1px solid #c2e1ef;
|
||
|
color:#336699;
|
||
|
}
|
||
|
.dvMenu:active{
|
||
|
background-color:#6299c5;
|
||
|
border:1px solid #6299c5;
|
||
|
color:#fff;
|
||
|
}
|
||
|
.txtTab{border:1px solid #A0A0A4; border-color:#6699CC;}
|
||
|
.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>
|
||
|
<script type="text/javascript">
|
||
|
function $(id)
|
||
|
{
|
||
|
return document.getElementById(id);
|
||
|
}
|
||
|
function initDialog(){
|
||
|
var winScreenHeight = 0;
|
||
|
var winScreenWidth = 0;
|
||
|
if(window.screen.height){
|
||
|
winScreenHeight = window.screen.height;
|
||
|
}
|
||
|
if(window.screen.width){
|
||
|
winScreenWidth = window.screen.width;
|
||
|
}
|
||
|
if(winScreenWidth >= 1440 && winScreenWidth >= 900){
|
||
|
document.getElementById("mygrid_container_log").style.height = "420px";
|
||
|
}else if(winScreenWidth >= 1366 && winScreenWidth >= 768){
|
||
|
document.getElementById("mygrid_container_log").style.height = "340px";
|
||
|
}else if(winScreenWidth >= 1024 && winScreenWidth >= 768){
|
||
|
document.getElementById("mygrid_container_log").style.height = "300px";
|
||
|
}
|
||
|
}
|
||
|
function createGrid()
|
||
|
{
|
||
|
this.mygrid_log.attachEvent("onRowDblClicked", function(rId,cInd)
|
||
|
{
|
||
|
var selectedId = mygrid_log.getSelectedRowId();
|
||
|
//var qs = new QueryString();//调用:
|
||
|
//var URLs = "ExchangesUnitInfo.aspx?handle=edit&id="+selectedId;//+qs.id;
|
||
|
var URLs = "../shipping/ExchangesUnitEdit.aspx?handle=edit&id="+selectedId;//+qs.id;
|
||
|
window.open(URLs,"_blank", "height=700, width=1024, toolbar=no, menubar=no,scrollbars=no, resizable=1,location=no, status=no,Top= " +(screen.height-700)/2 + ",Left= "+(screen.width-1024)/2);
|
||
|
});
|
||
|
}
|
||
|
</script>
|
||
|
<!--GridEnd-->
|
||
|
<script language="javascript" type="text/javascript">
|
||
|
function QueryString()
|
||
|
{
|
||
|
var name,value,i;//构造参数对象并初始化
|
||
|
var str=location.href;//获得浏览器地址栏URL串
|
||
|
var num=str.indexOf("?")
|
||
|
str=str.substr(num+1);//截取“?”后面的参数串
|
||
|
var arrtmp=str.split("&");//将各参数分离形成参数数组
|
||
|
for(i=0;i < arrtmp.length;i++)
|
||
|
{
|
||
|
num=arrtmp[i].indexOf("=");
|
||
|
if(num>0)
|
||
|
{
|
||
|
name=arrtmp[i].substring(0,num);//取得参数名称
|
||
|
value=arrtmp[i].substr(num+1);//取得参数值
|
||
|
this[name]=value;//定义对象属性并初始化
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
function ShowDetailAdd()
|
||
|
{
|
||
|
var qs = new QueryString();//调用:
|
||
|
var URLs = "../shipping/ExchangesUnitEdit.aspx?handle=add";
|
||
|
ret = window.open(URLs,"添加提单", "height=700, width=1024, toolbar=no, menubar=no,scrollbars=no, resizable=1,location=no, status=no,Top= " +(screen.height-700)/2 + ",Left= "+(screen.width-1024)/2);
|
||
|
}
|
||
|
function ShowDetailUpdate()
|
||
|
{
|
||
|
var asid = mygrid_log.getSelectedRowId();
|
||
|
if(asid==null || asid=="")
|
||
|
{
|
||
|
alert("请先选择要操作的数据!");
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
var selectedId = mygrid_log.getSelectedRowId();
|
||
|
//var qs = new QueryString();//调用:
|
||
|
var URLs = "../shipping/ExchangesUnitEdit.aspx?handle=edit&id="+selectedId;
|
||
|
ret = window.open(URLs,"_blank", "height=700, width=1024, toolbar=no, menubar=no,scrollbars=no, resizable=1,location=no, status=no,Top= " +(screen.height-700)/2 + ",Left= "+(screen.width-1024)/2);
|
||
|
}
|
||
|
}
|
||
|
function ShowDetailDel()
|
||
|
{
|
||
|
var loader;
|
||
|
var dates;
|
||
|
var strR="";
|
||
|
var asid = mygrid_log.getSelectedRowId();
|
||
|
if(asid==null || asid=="")
|
||
|
{
|
||
|
alert("请先选择要操作的数据!");
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
var ii = GetRange();
|
||
|
if(ii==0)
|
||
|
{
|
||
|
return;
|
||
|
}
|
||
|
//
|
||
|
if(confirm('确定删除吗?'))
|
||
|
{
|
||
|
$("hid_id").value = mygrid_log.getSelectedRowId();
|
||
|
var loaderX = dhtmlxAjax.getSync("../FeeCodes/WebCrmClientAdapter.aspx?val="+newGuid()+"&isbeing="+$("hid_id").value);
|
||
|
var altX = loaderX.xmlDoc.responseText;
|
||
|
if(altX=="")
|
||
|
{
|
||
|
document.getElementById("btDel").click();
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
alert(altX);
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
function ShowDetailFresh()
|
||
|
{
|
||
|
initLog();
|
||
|
initMenu();
|
||
|
//createGrid();
|
||
|
}
|
||
|
function GetRange()
|
||
|
{
|
||
|
var loader;
|
||
|
var dates;
|
||
|
var strR="";
|
||
|
var strgid = mygrid_log.getSelectedRowId();
|
||
|
if ($("hdRangeV").value != $("hdRangeO").value)
|
||
|
{
|
||
|
if($("hdRangeO").value=="1")//分公司
|
||
|
{
|
||
|
loader = dhtmlxAjax.getSync("../FeeCodes/RangeAdapter.aspx?RangeID=1&strGID="+strgid+"&RangeName=modExchangesUnit&val="+newGuid());
|
||
|
dates = loader.xmlDoc.responseText;
|
||
|
if(dates=="")
|
||
|
{
|
||
|
alert("您没有操作此数据的权限!");
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
else if ($("hdRangeO").value="3")//个人
|
||
|
{
|
||
|
loader = dhtmlxAjax.getSync("../FeeCodes/RangeAdapter.aspx?RangeID=3&strGID="+strgid+"&RangeName=modExchangesUnit&val="+newGuid());
|
||
|
dates = loader.xmlDoc.responseText;
|
||
|
if(dates=="")
|
||
|
{
|
||
|
alert("您没有操作此数据的权限!");
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
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 imgAddChangePic()
|
||
|
{
|
||
|
var pic1=document.getElementById("imgAdd");
|
||
|
var start=pic1.src.lastIndexOf("/");
|
||
|
var str=pic1.src.substring(start+1);
|
||
|
if(str=="order_modify.gif")
|
||
|
{
|
||
|
pic1.src="../images/order_cancel.gif";
|
||
|
//pic1.alt="我是B图片";
|
||
|
}
|
||
|
else if(str=="order_cancel.gif")
|
||
|
{
|
||
|
pic1.src="../images/order_modify.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图片";
|
||
|
}
|
||
|
}
|
||
|
function imgEditChangePic()
|
||
|
{
|
||
|
var pic1=document.getElementById("imgEdit");
|
||
|
var start=pic1.src.lastIndexOf("/");
|
||
|
var str=pic1.src.substring(start+1);
|
||
|
if(str=="audit.gif")
|
||
|
{
|
||
|
pic1.src="../images/order_delete.gif";
|
||
|
//pic1.alt="我是B图片";
|
||
|
}
|
||
|
else if(str=="order_delete.gif")
|
||
|
{
|
||
|
pic1.src="../images/audit.gif";
|
||
|
//pic1.alt="我是A图片";
|
||
|
}
|
||
|
}
|
||
|
function imgDelChangePic()
|
||
|
{
|
||
|
var pic1=document.getElementById("imgDel");
|
||
|
var start=pic1.src.lastIndexOf("/");
|
||
|
var str=pic1.src.substring(start+1);
|
||
|
if(str=="remove.gif")
|
||
|
{
|
||
|
pic1.src="../images/delete.gif";
|
||
|
//pic1.alt="我是B图片";
|
||
|
}
|
||
|
else if(str=="delete.gif")
|
||
|
{
|
||
|
pic1.src="../images/icons/remove.gif";
|
||
|
//pic1.alt="我是A图片";
|
||
|
}
|
||
|
}
//回车键控制
document.onkeypress=function()
|
||
|
{
|
||
|
if(event.keyCode==13)
|
||
|
{
|
||
|
ShowDetailFresh();
|
||
|
}
|
||
|
}
|
||
|
function setExcel()
|
||
|
{
|
||
|
if(confirm('确定要导出报表吗?'))
|
||
|
{
|
||
|
var loader = dhtmlxAjax.getSync("ExchangesUnitGridSource.aspx?handle=excel&val=" + newGuid() + "&codename=" + escape($("tbCODENAME").value) + "&optime=" + escape($("tbOPTIME").value) + "&optime2=" + escape($("tbOPTIME2").value) + "&attns=" + escape($("tbATTN").value) + "&attribute=" + escape($("ddlAttribute").value));
|
||
|
$("hdSQL").value = loader.xmlDoc.responseText;
|
||
|
//
|
||
|
document.getElementById("btExcel1").click();
|
||
|
}
|
||
|
}
|
||
|
function RepeatCustomersWith()
|
||
|
{
|
||
|
var asid = $("hdUserID").value;
|
||
|
var username = $("hdUserName").value;
|
||
|
if((asid == "1BEC90E1-9780-472F-90C2-0C6390C044A4") || (username=="ADMIN")|| (username=="系统管理员")|| (username=="Admin"))
|
||
|
{
|
||
|
var selectedId = mygrid_log.getSelectedRowId();
|
||
|
if(selectedId==null || selectedId.trim()=="")
|
||
|
{
|
||
|
alert("请先选中要操作的数据!");
|
||
|
return;
|
||
|
}
|
||
|
//
|
||
|
// var ii = GetRange();
|
||
|
// if(ii==0)
|
||
|
// {
|
||
|
// return;
|
||
|
// }
|
||
|
//
|
||
|
var URLs = "../shipping/ExchangesUnitRepeat.aspx?id="+selectedId;
|
||
|
ret = window.open(URLs,"重复客户合并", "height=300, width=700, toolbar=no, menubar=no,scrollbars=no, resizable=0,location=no, status=no,Top= " +(screen.height-300)/2 + ",Left= "+(screen.width-700)/2);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
alert("请联系系统管理员,其他人员无操作权限!");
|
||
|
}
|
||
|
}
|
||
|
function UpdateCustomersWith()
|
||
|
{
|
||
|
var asid = $("hdUserID").value;
|
||
|
var username = $("hdUserName").value;
|
||
|
if((asid == "1BEC90E1-9780-472F-90C2-0C6390C044A4")||(username=="ADMIN")||(username=="系统管理员")||(username=="Admin"))
|
||
|
{
|
||
|
var selectedId = mygrid_log.getSelectedRowId();
|
||
|
if(selectedId==null || selectedId.trim()=="")
|
||
|
{
|
||
|
alert("请先选中要操作的数据!");
|
||
|
return;
|
||
|
}
|
||
|
//
|
||
|
// var ii = GetRange();
|
||
|
// if(ii==0)
|
||
|
// {
|
||
|
// return;
|
||
|
// }
|
||
|
//
|
||
|
var URLs = "../shipping/ExchangesUnitUpdate.aspx?id="+selectedId;
|
||
|
ret = window.open(URLs,"客户名称更改", "height=300, width=700, toolbar=no, menubar=no,scrollbars=no, resizable=0,location=no, status=no,Top= " +(screen.height-300)/2 + ",Left= "+(screen.width-700)/2);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
alert("请联系系统管理员,其他人员无操作权限!");
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="initDialog();ShowDetailFresh();" style="border:0px; width:100%; height:100%">
|
||
|
<form id="form1" runat="server">
|
||
|
<div>
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width:80px;"><div style="width:80px;text-align:right;" class="cssfont">客户代码/名称</div></td>
|
||
|
<td style="width:80px;">
|
||
|
<asp:TextBox ID="tbCODENAME" runat="server" Width="80px" CssClass="txtTab"></asp:TextBox>
|
||
|
</td>
|
||
|
<td><div style="width:40px;text-align:right;" class="cssfont">联系人</div></td>
|
||
|
<td>
|
||
|
<asp:TextBox ID="tbATTN" runat="server" Width="80px" CssClass="txtTab"></asp:TextBox>
|
||
|
</td>
|
||
|
<td><div style="width:55px;text-align:right;" class="cssfont">录入日期</div></td>
|
||
|
<td>
|
||
|
<asp:TextBox ID="tbOPTIME" runat="server" onclick="WdatePicker()" Width="80px" ReadOnly=true CssClass="txtTab"></asp:TextBox>
|
||
|
</td>
|
||
|
<td><div style="width:10px;text-align:right;" class="cssfont">至</div></td>
|
||
|
<td>
|
||
|
<asp:TextBox ID="tbOPTIME2" runat="server" onclick="WdatePicker()" Width="80px" ReadOnly=true CssClass="txtTab"></asp:TextBox>
|
||
|
</td>
|
||
|
<td><div style="width:30px;text-align:right;" class="cssfont">属性</div></td>
|
||
|
<td>
|
||
|
<asp:DropDownList ID="ddlAttribute" runat="server" CssClass="txtTab" Width="80px">
|
||
|
<asp:ListItem Selected="True" Value="">全部</asp:ListItem>
|
||
|
<asp:ListItem Value="ISCARRIER">船公司</asp:ListItem>
|
||
|
<asp:ListItem Value="ISCONTROLLER">委托单位</asp:ListItem>
|
||
|
<asp:ListItem Value="ISYARD">场站</asp:ListItem>
|
||
|
<asp:ListItem Value="ISCUSTOM">报关行</asp:ListItem>
|
||
|
<asp:ListItem Value="ISSHIPPER">发货人</asp:ListItem>
|
||
|
<asp:ListItem Value="ISCONSIGNEE">收货人</asp:ListItem>
|
||
|
<asp:ListItem Value="ISBOOKING">订舱公司</asp:ListItem>
|
||
|
<asp:ListItem Value="ISAIRLINES">航空公司</asp:ListItem>
|
||
|
<asp:ListItem Value="ISWAREHOUSE">仓库</asp:ListItem>
|
||
|
<asp:ListItem Value="ISEXPRESS">快递公司</asp:ListItem>
|
||
|
<asp:ListItem Value="ISAGENTCN">代理(国内)</asp:ListItem>
|
||
|
<asp:ListItem Value="ISAGENT">代理(国外)</asp:ListItem>
|
||
|
<asp:ListItem Value="ISTRUCK">车队</asp:ListItem>
|
||
|
<asp:ListItem Value="ISWHARF">码头</asp:ListItem>
|
||
|
<asp:ListItem Value="ISSHIPPINGAGENT">船代</asp:ListItem>
|
||
|
<asp:ListItem Value="ISINSURE">保险公司</asp:ListItem>
|
||
|
<asp:ListItem Value="ISLEASING">租箱公司</asp:ListItem>
|
||
|
<asp:ListItem Value="ISTRADINGAGENCY">贸易代理</asp:ListItem>
|
||
|
<asp:ListItem Value="ISENTERP">经营单位</asp:ListItem>
|
||
|
<asp:ListItem Value="ISOTHER">其他</asp:ListItem>
|
||
|
</asp:DropDownList>
|
||
|
</td>
|
||
|
<td align=center valign="middle" style="width:60px;" rowspan="2">
|
||
|
<input id="Button1" runat="server" type="button" value="查询" onclick="ShowDetailFresh();" style="width:40px; height:20px;" class="btncss"/>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
|
||
|
<div class="btn-blank"></div>
|
||
|
<div class="xbtn-img">
|
||
|
<img id="imgAdd" runat=server src="../images/icons/btnAdd.gif" onclick="ShowDetailAdd();" class="btnimg" alt="添加" onmouseover="imgAddChangePic();" onMouseOut="imgAddChangePic();"/>
|
||
|
</div>
|
||
|
<div class="xbtn-img">
|
||
|
<img id="imgEdit" runat=server src="../images/audit.gif" onclick="ShowDetailUpdate();" class="btnimg" alt="修改" onmouseover="imgEditChangePic();" onMouseOut="imgEditChangePic();"/>
|
||
|
</div>
|
||
|
<div class="xbtn-img">
|
||
|
<img id="imgDel" runat=server src="../images/icons/remove.gif" onclick="ShowDetailDel();" class="btnimg" alt="删除" onmouseover="imgDelChangePic();" onMouseOut="imgDelChangePic();"/>
|
||
|
</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-img" id=divexcel runat=server onclick="setExcel()">
|
||
|
<div class="btnimg"><img src="../images/icons/excel.gif" width="16px" height="16px" title="导出" class="cssfont"/></div>
|
||
|
</div>
|
||
|
<div class="xbtn" style="width:106px; height:20px;">
|
||
|
<input id="btUpdate" runat="server" type="button" value="客户名称更改" onclick="UpdateCustomersWith();" style="width:100px; height:20px;" class="btncss"/>
|
||
|
</div>
|
||
|
<div class="xbtn" style="width:106px; height:20px;">
|
||
|
<input id="btRepeat" runat="server" type="button" value="重复客户合并" onclick="RepeatCustomersWith();" style="width:100px; height:20px;" class="btncss"/>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div style=" width:100%; height:100%;" oncontextmenu="return false">
|
||
|
<div style="width:98%; overflow-x:scroll; position:relative;"><div id="mygrid_container_log" style="width:1600px; height:450px;" runat="server" class="cssfont"></div></div>
|
||
|
<div id="pager" style="width: 100%; margin: 0px; padding: 4px; border: 0px solid #999;"></div>
|
||
|
<div id="info" style="text-align: center; width: 100%; margin: 0 2px; padding: 4px; border: 1px solid #999;display:none;"></div>
|
||
|
<div>
|
||
|
<input type="hidden" id="hid_setting" runat="server"/>
|
||
|
<input type="hidden" id="hid_header" runat="server" />
|
||
|
<input type="hidden" id="hid_id" runat="server" />
|
||
|
<asp:Button ID="btDel" runat="server" Text="Button" OnClick="btDel_Click" style="display:none"/>
|
||
|
<div id="dvSaveState" runat="server"></div>
|
||
|
<div id="divh" style="display: none;">
|
||
|
<div class="box">
|
||
|
<div id="tit"></div>
|
||
|
<div id="bod"></div>
|
||
|
<div id="bot"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<input id="hdRangeV" type="hidden" runat=server/>
|
||
|
<input id="hdRangeO" type="hidden" runat=server/>
|
||
|
<input id="hdRange" type="hidden" runat=server/>
|
||
|
|
||
|
<input id="hdSQL" type="hidden" runat=server/>
|
||
|
<input id="hdUserID" type="hidden" runat=server/>
|
||
|
<input id="hdUserName" type="hidden" runat=server/>
|
||
|
<input type="hidden" id="hdNAMES" runat="server" />
|
||
|
<asp:Button ID="btExcel1" runat="server" Text="导出excel" Width=60px Height=20px CssClass="btncss" onclick="btExcel1_Click" style="display:none;"/>
|
||
|
</div>
|
||
|
</form>
|
||
|
</body>
|
||
|
</html>
|