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 |   39 +++++++++++++++++++++++++++++++++++----
 1 files changed, 35 insertions(+), 4 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderDeatil.aspx
index 0d2c641..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" 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 %>')">&nbsp;&nbsp;&nbsp;
+                             <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}")%>&nbsp;
+                            <%#(Eval("UnitPrice")==null)||(string.IsNullOrEmpty(Eval("UnitPrice").ToString()))?"":"锟�"%><%#Eval("UnitPrice","{0:F4}")%>&nbsp;
                         </td>
                         <td class='left'>
                             璁㈠崟鎬婚锛�
@@ -214,8 +223,16 @@
                         <td class='left'>
                             鎺ヤ欢鏃堕棿锛�
                         </td>
-                        <td colspan="3">
-                            &nbsp;
+                         <td colspan="3">
+                           
+                        </td>
+                         <tr>
+                         </tr>
+                         <td class='left'>
+                            瀵瑰簲鍚堝悓搴忓彿锛�
+                        </td>
+                        <td colspan="7">
+                           <%#Eval("Duiyinghetongbianhao")%>&nbsp; 
                         </td>
                     </tr>
                 </ItemTemplate>
@@ -351,6 +368,20 @@
                                 <%#Eval("FetchContacts")%>&nbsp;
                             </td>
                         </tr>
+                        <tr>
+                        <td class='left'>
+                           姣忓寘鏁伴噺锛�
+                        </td>
+                        <td>
+                            <%#Eval("NumPerBag")%>&nbsp;
+                        </td>
+                        <td class="left">
+                            鎬诲寘鏁帮細
+                        </td>
+                        <td colspan="5">
+                            <%#Eval("BagNum")%>&nbsp;
+                        </td>
+                    </tr>
                     </div>
                 </ItemTemplate>
             </asp:Repeater>

--
Gitblit v1.9.1