From 69a1b7107ca42ef46a42e98f7aadd3ea70fb35ed Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 20 十一月 2025 09:19:32 +0800
Subject: [PATCH] 不用再增加一个专门的序号,就按照这个编号,不是列表都有个编号嘛,好,那个送货单就显示就显示那个编号,比如说雷波中学,你在左送货单的左上角2是1或者。或者有三果十一都可以。
---
CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx | 53 ++++++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 46 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..e98219f 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,25 @@
<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' />
+
+ 鎵撳嵃灏哄锛� <select keepdefaultstyle='true' id='selChicun' runat="server" >
+ <option value="2" >32寮�</option>
+ <option value="1" >16寮�</option>
+ </select>
</td>
</tr>
</table>
@@ -148,7 +186,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 +195,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