From e8e3122fdc4844202fb9e05477d47139e47a8aae Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 12 十二月 2025 08:59:47 +0800
Subject: [PATCH] 作业本送货变二级菜单
---
CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx | 66 +++++++++++++++++++++++++++++---
1 files changed, 59 insertions(+), 7 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx
index 49a46d0..ba1c868 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() + "&selChicun=" + $("#selChicun").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() + "&selChicun=" + $("#selChicun").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() + "&selChicun=" + $("#selChicun").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() + "&selChicun=" + $("#selChicun").val(), Title: "鎵归噺鎵撳嵃閫佽揣鍗�", Width: 1000, Height: 900 });
+
+
}
//鎵归噺鍒犻櫎
@@ -110,13 +136,38 @@
<td>
<input id='txtxuexiao' runat="server" maxlength='50' />
</td>
-
+ <td class="ali03 " >
+ 閫佽揣鐘舵�侊細
+ </td>
+ <td>
+ <select id="selstatus" keepdefaultstyle='true' runat="server" >
+ <option selected="selected" value="">鍏ㄩ儴</option>
+ <option value="0">鏈厤閫�</option>
+ <option value="1">閰嶉�佷腑</option>
+ <option value="2">宸查厤閫�</option>
+ </select>
+ </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="6">
+ <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' />
+
+ 鎵撳嵃灏哄锛� <select keepdefaultstyle='true' id='selChicun' runat="server" >
+ <option value="2" >32寮�</option>
+ <option value="1" >16寮�</option>
+ </select>
</td>
</tr>
</table>
@@ -148,7 +199,7 @@
<input type="checkbox" class="SelectCheck" value_kid="<%#Eval("id")%>" />
</td>
<td style="text-align: center">
- <%#Container.ItemIndex + 1%>
+ <%#Eval("Bianhao")%><%-- <%#Container.ItemIndex + 1%>--%>
</td>
<td style="text-align: center">
<%#Eval("pianqu")%>
@@ -157,7 +208,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