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 | 63 ++++++++++++++++++++++++++++---
1 files changed, 56 insertions(+), 7 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx
index a9afb75..e401369 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx
@@ -42,11 +42,49 @@
//鍒犻櫎
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) {
- top.Dialog.open({ URL: "/Pages/business/DeliverWorkBookPrintDetail.aspx?orderid=" + orderid, Title: "鎵归噺鎵撳嵃閫佽揣鍗�", Width: 1000, Height: 900 });
+ 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/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 });
+
+
}
//鎵归噺鍒犻櫎
@@ -98,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" />
+ </td>
+ </tr>
+ <tr>
- <td colspan="8">
- <asp:Button ID="btn_Submit" Text="鏌ヨ" runat="server" OnClick="btn_Search_Click" /> <input type="button" value='鎵归噺鎵撳嵃閫佽揣鍗�' onclick="onDeles('<%=orderid %>')" />
+ <td colspan="5">
+ <input type="button" value='鎵归噺绌虹櫧閫佽揣鍗�' onclick="onDeles('<%=orderid %>')" /> <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>
@@ -115,6 +160,7 @@
<HeaderTemplate>
<table class="tableStyle">
<tr>
+ <th width="25"></th>
<th width="30" style="text-align: center">
缂栧彿
</th>
@@ -131,7 +177,9 @@
</HeaderTemplate>
<ItemTemplate>
<tr>
-
+ <td>
+ <input type="checkbox" class="SelectCheck" value_kid="<%#Eval("id")%>" />
+ </td>
<td style="text-align: center">
<%#Container.ItemIndex + 1%>
</td>
@@ -142,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