From c204c099a226710bb6b6c4fe5cb9296fb93920cb Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 17 十一月 2025 12:16:42 +0800
Subject: [PATCH] 作业本送货

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx |   46 ++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 40 insertions(+), 6 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx
index 49a46d0..e401369 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx
@@ -42,8 +42,14 @@
 
         //鍒犻櫎
         function onDele(keyid) {
-            top.Dialog.open({ URL: "/Pages/business/DeliverWorkBookPrintDetail.aspx?PlanOrderid=" + keyid, Title: "鎵撳嵃閫佽揣鍗�", Width: 1000, Height: 900 });
+            top.Dialog.open({ URL: "/Pages/business/DeliverWorkBookPrintDetail.aspx?PlanOrderid=" + keyid + "&selSonghuoren=" + $("#selSonghuoren").val() + "&txtBeginDate=" + $("#txtBeginDate").val(), Title: "鎵撳嵃閫佽揣鍗�", Width: 1000, Height: 900 });
         }
+
+        //鍒犻櫎
+        function onDeledayin(keyid) {
+            top.Dialog.open({ URL: "/Pages/business/DeliverWorkBookPrintDetailshuju.aspx?PlanOrderid=" + keyid + "&selSonghuoren=" + $("#selSonghuoren").val() + "&txtBeginDate=" + $("#txtBeginDate").val(), Title: "鎵撳嵃閫佽揣鍗�", Width: 1000, Height: 900 });
+        }
+        
         //鍒犻櫎
         function onDeles(orderid) {
             var keyid = "";
@@ -56,9 +62,29 @@
                 alertMsg("鏈�変腑浠讳綍瀛︽牎");
                 return;
             }
-            top.Dialog.open({ URL: "/Pages/business/DeliverWorkBookPrintDetail.aspx?orderid=" + keyid, Title: "鎵归噺鎵撳嵃閫佽揣鍗�", Width: 1000, Height: 900 });
+            top.Dialog.open({ URL: "/Pages/business/DeliverWorkBookPrintDetail.aspx?orderid=" + keyid + "&selSonghuoren=" + $("#selSonghuoren").val() + "&txtBeginDate=" + $("#txtBeginDate").val(), Title: "鎵归噺鎵撳嵃閫佽揣鍗�", Width: 1000, Height: 900 });
                 
               
+        }
+
+
+
+
+        //鍒犻櫎
+        function onDelesdayin(orderid) {
+            var keyid = "";
+            var num = 0;
+            $(".SelectCheck:checked").each(function (ii, vv) {
+                keyid = keyid + "," + $(vv).attr("value_kid");
+                num++;
+            });
+            if (num == 0) {
+                alertMsg("鏈�変腑浠讳綍瀛︽牎");
+                return;
+            }
+            top.Dialog.open({ URL: "/Pages/business/DeliverWorkBookPrintDetailshuju.aspx?orderid=" + keyid + "&selSonghuoren=" + $("#selSonghuoren").val() + "&txtBeginDate=" + $("#txtBeginDate").val(), Title: "鎵归噺鎵撳嵃閫佽揣鍗�", Width: 1000, Height: 900 });
+
+
         }
 
         //鎵归噺鍒犻櫎
@@ -110,13 +136,20 @@
                     <td>
                         <input id='txtxuexiao' runat="server" maxlength='50' />
                     </td>
-                      
+                    <td class="ali03">
+                          <asp:Button ID="btn_Submit" Text="鏌ヨ" runat="server" OnClick="btn_Search_Click" />&nbsp;
+                    </td>
+                     </tr>
+                       <tr>
                      
                     
                       
-                    <td colspan="8">
-                        <asp:Button ID="btn_Submit" Text="鏌ヨ" runat="server" OnClick="btn_Search_Click" />&nbsp;<input type="button" value='鎵归噺鎵撳嵃閫佽揣鍗�' onclick="onDeles('<%=orderid %>')" />
+                    <td colspan="5">
+                       <input type="button" value='鎵归噺绌虹櫧閫佽揣鍗�' onclick="onDeles('<%=orderid %>')" /> &nbsp;<input type="button" value='鎵归噺鎵撳嵃閫佽揣鍗�' onclick="onDelesdayin('<%=orderid %>')" /> 
                          <input type="hidden" runat="server" id="hideOrderId" />
+                        閫佽揣浜猴細 <select keepdefaultstyle='true' id='selSonghuoren' runat="server" >
+                        </select>
+                         閫佽揣鏃堕棿锛�<input id="txtBeginDate" type="text" runat="server" class='date w80px' maxlength='10' />
                     </td>
                 </tr>
             </table>
@@ -157,7 +190,8 @@
                            <%#Eval("shipAddress")%>
                         </td>
                         <td class="Operate " style="text-align: center">
-                            <span   onclick="onDele('<%#Eval("id")%>')">鎵撳嵃</span>
+                            <span   onclick="onDele('<%#Eval("id")%>')">绌虹櫧閫佽揣鍗�</span>
+                             <span   onclick="onDeledayin('<%#Eval("id")%>')">鎵撳嵃閫佽揣鍗�</span>
                         </td>
                          
                     </tr>

--
Gitblit v1.9.1