From eb07d0be014b11568d4263b470d46b5cd427fe9b Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 17 七月 2025 08:49:45 +0800 Subject: [PATCH] 送货费用 --- CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx index 5e265f4..1107822 100644 --- a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx +++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx @@ -39,6 +39,14 @@ window.open('/Pages/business/CorporateClientsContractShow.aspx?Keyid=' + keyid, '_blank', 'height=750,width=900,top=' + t + ',left=' + l +',toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no'); } + + //鏂板闂鍙嶉 + function ToAddorder(orderid) { + var l = (screen.availWidth - 500) / 2; + var t = (screen.availHeight - 300) / 2; + window.open("/Pages/business/DeliverPlanWentiOrder.aspx?Orderid="+orderid, '_blank', 'height=750,width=900,top=' + t + ',left=' + l + ',toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no'); + } + $(function () { $("#btnPrint").click(function () { var orderId = $("#hideOrderId").val(); @@ -62,7 +70,8 @@ <tr> <td > <%-- <span onclick="onViewuplod('<%=BuyerId %>')" <%=ContractCount.ToString() == "0" ? "style=\"display:none;\"" : ""%> >鏌ョ湅鍚堝悓 </span>--%> - <input type="button" id="btnPrint" <%=ContractCount.ToString() == "0" ? "style=\"display:none;\"" : ""%> value="鏌ョ湅鍚堝悓" onclick="onViewuplod('<%=BuyerId %>')"> + <input type="button" <%=ContractCount.ToString() == "0" ? "style=\"display:none;\"" : ""%> value="鏌ョ湅鍚堝悓" onclick="onViewuplod('<%=BuyerId %>')"> + <input type="button" value="闂鍙嶉" onclick="ToAddorder('<%=OrderId %>')"> </td> </tr> </table> -- Gitblit v1.9.1