62,041
社区成员
发帖
与我相关
我的任务
分享
function CustomerInfoShow() {
try {
var Key = $("#<%=HidCustomerInfo.ClientID %>").val();
var url = "CustomerInfoInsertPage.aspx?click=Add&key=" + Key;
if ($.trim($("#<%=HidCustomerInfo.ClientID %>").val()).length > 0) {
var result = window.showModalDialog(url, window, "dialogWidth=1100px;dialogHeight=550px;center=yes;status=no");
if (result != null) {
var customer = document.getElementById("<%=ButCustomerInfo.ClientID %>").click();
}
}
else {
alert("请先保存客户信息,在添加客户联系人信息");
}
}
catch (e) { }
}
function ShowClose() {
window.returnValue = "Y";
window.opener = null;
window.close();
}
if (!string.IsNullOrEmpty(Request["key"].ToString()))
{
//调用前台
ClientScript.RegisterStartupScript(ClientScript.GetType(), "myscript", "<script>ShowClose();</script>");
}