From 9c98f5d15e35587b7bcd9d7c8a506c467e758632 Mon Sep 17 00:00:00 2001 From: yzh <snbbt@21cn.com> Date: 星期三, 08 六月 2022 00:54:15 +0800 Subject: [PATCH] 客户信息导出 --- web/web/GwClient.aspx | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/web/web/GwClient.aspx b/web/web/GwClient.aspx index 735e510..b424b71 100644 --- a/web/web/GwClient.aspx +++ b/web/web/GwClient.aspx @@ -18,7 +18,8 @@ var Company = $("#Company").val(); var ClientName = $("#ClientName").val(); var Telephone = $("#Telephone").val(); - var Agent = $("#Agent").val(); + //var Agent = $("#Agent").val(); + var Agent = ""; var Salesman = $("#Salesman").val(); var SupportStaff = $("#SupportStaff").val(); var ProductId = $("#ProductId").val(); @@ -402,6 +403,23 @@ }); } }); + }); + + //瀵煎嚭鏁版嵁 + $(document).on("click", ".action-export", function () { + var ClientID = $("#ClientID").val(); + var Company = $("#Company").val(); + var ClientName = $("#ClientName").val(); + var Telephone = $("#Telephone").val(); + //var Agent = $("#Agent").val(); + var Agent = ""; + var Salesman = $("#Salesman").val(); + var SupportStaff = $("#SupportStaff").val(); + var ProductId = $("#ProductId").val(); + var IsEnable = <%=IsEnable%>; + var url = "ExportDocument.aspx?action=exportGwClient&ClientID=" + ClientID + "&Company=" + Company + "&ClientName=" + ClientName + "&Telephone=" + Telephone + "&Agent=" + Agent + "&Salesman=" + Salesman + "&SupportStaff=" + SupportStaff + "&ProductId=" + ProductId + "&IsEnable=" + IsEnable + ""; + + window.location.href = url; }); @@ -941,6 +959,7 @@ <% if(IsEnable==1) { %> <input class="btn btn-danger action-modal-setProduct" value="鎵归噺鍒嗛厤涓�т骇鍝�" type="button" /> <%} %> + <input class="btn btn-info action-export" value="瀵煎嚭鏁版嵁" type="button" /> <table class="table table-striped table-bordered table-hover" id="gwclientTable"> <thead> <tr class="header"> -- Gitblit v1.9.1