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" />&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' />
                           打印尺寸: <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>