| | |
| | | |
| | | //删除 |
| | | 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) { |
| | | 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() + "&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 }); |
| | | |
| | | |
| | | } |
| | | |
| | | //批量删除 |
| | |
| | | <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> |
| | |
| | | <HeaderTemplate> |
| | | <table class="tableStyle"> |
| | | <tr> |
| | | <th width="25"></th> |
| | | <th width="30" style="text-align: center"> |
| | | 编号 |
| | | </th> |
| | |
| | | </HeaderTemplate> |
| | | <ItemTemplate> |
| | | <tr> |
| | | |
| | | <td> |
| | | <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")%> |
| | |
| | | <%#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> |