From e442f7fd0e43f1bcf26356c27795cdb4fc015a62 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 01 八月 2025 13:15:56 +0800 Subject: [PATCH] 修改小数点位数 --- CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx index 5f7d22e..8947656 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" <%=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> @@ -189,7 +198,7 @@ 鍗曚环锛� </td> <td> - <%#(Eval("UnitPrice")==null)||(string.IsNullOrEmpty(Eval("UnitPrice").ToString()))?"":"锟�"%><%#Eval("UnitPrice","{0:F2}")%> + <%#(Eval("UnitPrice")==null)||(string.IsNullOrEmpty(Eval("UnitPrice").ToString()))?"":"锟�"%><%#Eval("UnitPrice","{0:F4}")%> </td> <td class='left'> 璁㈠崟鎬婚锛� @@ -214,8 +223,16 @@ <td class='left'> 鎺ヤ欢鏃堕棿锛� </td> - <td colspan="3"> - + <td colspan="3"> + + </td> + <tr> + </tr> + <td class='left'> + 瀵瑰簲鍚堝悓搴忓彿锛� + </td> + <td colspan="7"> + <%#Eval("Duiyinghetongbianhao")%> </td> </tr> </ItemTemplate> -- Gitblit v1.9.1