| | |
| | | }
|
| | |
|
| | |
|
| | | ///批量受理
|
| | | function ToAllAccept3() {
|
| | |
|
| | | var ids = '';
|
| | | var cks = $("input[name='ckId']:checked");
|
| | | if (cks.length == 0) { alertMsg('没有选中任何项!'); return; } else { }
|
| | | var isCan = true;
|
| | | var DeliverTime = '';
|
| | | var BuyerId = '';
|
| | |
|
| | | //var carid = $("#selCarIddo").val();
|
| | | //var driverid = $("#selDriverIddo").val();
|
| | |
|
| | | //if (carid == "") { alertMsg('请选择车辆!'); return; } else { }
|
| | | //if (driverid == "") { alertMsg('请选择驾驶员!'); return; } else { }
|
| | |
|
| | | cks.each(
|
| | | function () {
|
| | | var ckVal = $(this).val();
|
| | |
|
| | | var ckValJson = eval('(' + ckVal + ')');
|
| | |
|
| | | ids = ids + ',' + ckValJson.id;
|
| | | //orderShowIds = orderShowIds + ',' + ckValJson.ordershowId;
|
| | |
|
| | | DeliverTime = DeliverTime + ',' + ckValJson.DeliverTime;
|
| | | BuyerId = BuyerId + ',' + ckValJson.BuyerId;
|
| | | }
|
| | | );
|
| | |
|
| | |
|
| | | if (!isCan) {
|
| | | // alertMsg('请选择未受理的订单!');
|
| | | }
|
| | | else {
|
| | | if (ids != '') {
|
| | | ids = ids.substring(1);
|
| | | //DeliverTime = DeliverTime.substring(1);
|
| | | //BuyerId = BuyerId.substring(1);
|
| | | }
|
| | |
|
| | | top.Dialog.open({ URL: "/Pages/business/DeliverPlanPaiche.aspx?ids=" + ids, Title: "安排车辆", Width: 600, Height: 300 });
|
| | | }
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | | ///批量受理
|
| | | function ToAllAccept4() {
|
| | |
|
| | | var ids = '';
|
| | | var cks = $("input[name='ckId']:checked");
|
| | | if (cks.length == 0) { alertMsg('没有选中任何项!'); return; } else { }
|
| | | var isCan = true;
|
| | | var DeliverTime = '';
|
| | | var BuyerId = '';
|
| | |
|
| | | //var carid = $("#selCarIddo").val();
|
| | | //var driverid = $("#selDriverIddo").val();
|
| | |
|
| | | //if (carid == "") { alertMsg('请选择车辆!'); return; } else { }
|
| | | //if (driverid == "") { alertMsg('请选择驾驶员!'); return; } else { }
|
| | |
|
| | | cks.each(
|
| | | function () {
|
| | | var ckVal = $(this).val();
|
| | |
|
| | | var ckValJson = eval('(' + ckVal + ')');
|
| | |
|
| | | ids = ids + ',' + ckValJson.id;
|
| | | //orderShowIds = orderShowIds + ',' + ckValJson.ordershowId;
|
| | |
|
| | | DeliverTime = DeliverTime + ',' + ckValJson.DeliverTime;
|
| | | BuyerId = BuyerId + ',' + ckValJson.BuyerId;
|
| | | }
|
| | | );
|
| | |
|
| | |
|
| | | if (!isCan) {
|
| | | // alertMsg('请选择未受理的订单!');
|
| | | }
|
| | | else {
|
| | | if (ids != '') {
|
| | | ids = ids.substring(1);
|
| | | //DeliverTime = DeliverTime.substring(1);
|
| | | //BuyerId = BuyerId.substring(1);
|
| | | }
|
| | |
|
| | | top.Dialog.open({ URL: "/Pages/business/DeliverPlanYijiao.aspx?ids=" + ids, Title: "单据移交", Width: 600, Height: 300 });
|
| | | }
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | |
|
| | | ///批量受理
|
| | |
| | | }
|
| | |
|
| | |
|
| | |
|
| | |
|
| | | //维护
|
| | | function onViewuplod(keyid) {
|
| | | var l = (screen.availWidth - 500) / 2;
|
| | | var t = (screen.availHeight - 300) / 2;
|
| | | // window.open({ URL: "/Pages/business/CorporateClientsUpLoadContract.aspx?Keyid=" + keyid, Title: "查看合同", Width: 900, Height: 750 });
|
| | | window.open('/Pages/business/DeliverPlanFujianShow.aspx?Keyid=' + keyid, '_blank', 'height=750,width=900,top=' + t + ',left=' + l + ',toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');
|
| | | }
|
| | |
|
| | | /*
|
| | | 打印送货单
|
| | | */
|
| | | function ToPrintdelev() {
|
| | | var DeliveryTime = $("#txtDeliveryTime").val();
|
| | | var CarId = $("#selCarId").val();
|
| | | var DriverId = $("#selDriverId").val();
|
| | | var DriverId = "";
|
| | | var CustormerName = $("#txtCustormerName").val();
|
| | | var BusinessManager = $("#selBusinessManager").val();
|
| | | var Paiche = $("#selPaiche").val();
|
| | | |
| | | // OpenWindowByUrl();
|
| | | OpenWindowByUrl('/Pages/business/DeliverPlanPrint.aspx?DeliverTime=' + DeliveryTime + '&CarId=' + CarId + '&DriverId=' + DriverId, '', '');
|
| | | OpenWindowByUrl('/Pages/business/DeliverPlanPrint.aspx?DeliverTime=' + DeliveryTime + '&CarId=' + CarId + '&DriverId=' + DriverId + '&CustormerName=' + CustormerName + '&BusinessManager=' + BusinessManager + '&Paiche=' + Paiche, '', '');
|
| | | }
|
| | |
|
| | |
|
| | | //查看客户资料
|
| | | function ViewTime(Keyid, DelayTime) {
|
| | | top.Dialog.open({ URL: "/Pages/business/DeliverPlanTimeEdit.aspx?Keyid=" + Keyid + "&DelayTime=" + DelayTime, Title: "延迟送货时间", Width: 300, Height: 300 });
|
| | | }
|
| | |
|
| | | </script>
|
| | | <style type="text/css">
|
| | | .tableStyleXS th { padding: 1px 0 1px 3px; background-image:none; border-bottom:1px solid #CCC; }
|
| | |
| | | </td> <td style="width:5%" >
|
| | |
|
| | | </td>
|
| | | <td style="width:15%">
|
| | | <td style="width:10%">
|
| | |
|
| | | </td> <td style="width:5%" >
|
| | |
|
| | | </td>
|
| | | <td style="width:15%">
|
| | | <td style="width:10%">
|
| | |
|
| | | </td>
|
| | | <td style="width:5%" >
|
| | | |
| | | </td>
|
| | | <td style="width:10%">
|
| | | |
| | | </td>
|
| | | |
| | |
|
| | | </tr>
|
| | | <tr>
|
| | | <td class="ali03">
|
| | |
| | | <select keepdefaultstyle='true' id='selCarId' runat="server" datatextfield='CarNumber' datavaluefield='Keyid'>
|
| | | </select>
|
| | | </td>
|
| | | <td class="ali03" >
|
| | | 驾驶员:
|
| | | |
| | |
|
| | | <td class="ali03">
|
| | | 客户单位:
|
| | | </td>
|
| | | <td >
|
| | | <select keepdefaultstyle='true' id='selDriverId' runat="server" datatextfield='Name' datavaluefield='Keyid'>
|
| | | <td>
|
| | | <input id='txtCustormerName' runat="server" maxlength='50' />
|
| | | </td>
|
| | | <td class="ali03">
|
| | | 业务经理:
|
| | | </td>
|
| | | <td>
|
| | | <select keepdefaultstyle='true' id='selBusinessManager' runat="server" datatextfield='Name' datavaluefield='Keyid'>
|
| | | </select>
|
| | | </td>
|
| | | </tr>
|
| | |
|
| | | <tr>
|
| | |
|
| | | <td class="ali03">
|
| | | <%-- <td class="ali03">
|
| | | 新增送货车辆:
|
| | | </td>
|
| | | <td >
|
| | |
| | | <td >
|
| | | <select keepdefaultstyle='true' id='selDriverIddo' runat="server" datatextfield='Name' datavaluefield='Keyid'>
|
| | | </select>
|
| | | </td>--%>
|
| | | <td class="ali03" >
|
| | | 是否派车:
|
| | | </td>
|
| | | |
| | | <td colspan="5">
|
| | | <input type="button" value='派车' onclick='ToAllAccept2();' />
|
| | | <input type="button" value='新增送货' onclick='ToAddorder();' />
|
| | | <input type="button" value='单据移交' onclick='ToAllAccept1();' /> |
| | | <asp:button id="btn_Search" text="查询" runat="server" padding="0px" OnClick="btn_Search_Click" /> <input type="button" value='重置' onclick='document.body.innerHTML="";window.location=window.location;' />
|
| | | <td >
|
| | | <select keepdefaultstyle='true' id='selPaiche' runat="server" datatextfield='Name' datavaluefield='Keyid'>
|
| | | <option value="">全部</option>
|
| | | <option value="1">是</option>
|
| | | <option value="2">否</option>
|
| | | </select>
|
| | | </td>
|
| | | <td colspan="9">
|
| | | |
| | | <asp:button id="btn_Search" text="查询" runat="server" padding="0px" OnClick="btn_Search_Click" /> <input type="button" value='重置' onclick='document.body.innerHTML="";window.location=window.location;' />
|
| | |
|
| | | <input type="button" value='新增送货' onclick='ToAddorder();' />
|
| | | <input type="button" value='派车' onclick='ToAllAccept3();' />
|
| | | <%-- <input type="button" value='单据移交' onclick='ToAllAccept4();' /> --%>
|
| | | <input type="button" value='打印全部' onclick='ToPrintdelev();' />
|
| | | |
| | | </td>
|
| | | </tr>
|
| | |
|
| | |
| | | <th style="text-align: center;" width="70">
|
| | | 要求到达时间
|
| | | </th>
|
| | | <th style="text-align: center;"width="100">
|
| | | <%-- <th style="text-align: center;"width="100">
|
| | | 实际到达时间
|
| | | </th>
|
| | | </th>--%>
|
| | | <th width="70">
|
| | | 业务经理
|
| | | </th>
|
| | |
| | |
|
| | |
|
| | | <th width="60">
|
| | | 货单数量
|
| | | 订单数量
|
| | | </th>
|
| | | <th width="60">
|
| | | <%-- <th width="60">
|
| | | 车辆
|
| | | </th>
|
| | | <th width="60">
|
| | | 驾驶员
|
| | | </th>
|
| | | </th>--%>
|
| | | <%-- <th width="200">
|
| | | 问题反馈 </th> |
| | | --%>
|
| | | |
| | | |
| | | <th width="200">
|
| | | 注意事项
|
| | | </th>
|
| | | <th width="200">
|
| | | <%-- <th width="200">
|
| | | 工作考评
|
| | | </th>
|
| | | <th width="60">
|
| | | 移交状态
|
| | | </th>
|
| | | </th>--%>
|
| | | <th width="60">
|
| | | 打印送货单
|
| | | </th>
|
| | | <%-- <th width="60">
|
| | | 送货单图片
|
| | | </th>--%>
|
| | | </tr>
|
| | | </thead>
|
| | | <tbody>
|
| | |
| | | </td>
|
| | |
|
| | | <td>
|
| | | <a href='javascript:void(0)' title='点击修改排序' class='a_under' onclick='View("<%#Eval("Keyid")%>","<%#Eval("BuyerId")%>","<%#Eval("DeliverTime", "{0:yyyy-MM-dd}")%>","<%#Eval("Sort")%>")'> <%#Eval("Sort")==null?"修改排序":Eval("Sort")%> </a> |
| | | <%-- <a href='javascript:void(0)' title='点击修改排序' class='a_under' onclick='View("<%#Eval("Keyid")%>","<%#Eval("BuyerId")%>","<%#Eval("DeliverTime", "{0:yyyy-MM-dd}")%>","<%#Eval("Sort")%>")'> <%#Eval("Sort")==null?"修改排序":Eval("Sort")%> </a> --%>
|
| | | <%#Container.ItemIndex + (UCPager1.PageSize *( UCPager1.PageIndex-1)+1)%>
|
| | | </td>
|
| | | <td>
|
| | | <%#Eval("SellerOrderId")%>
|
| | | </td>
|
| | | <td>
|
| | | <%#Eval("DeliverTime", "{0:yyyy-MM-dd}")%>
|
| | | <a href='javascript:void(0)' title='点击修改送货日期' class='a_under' onclick='ViewTime("<%#Eval("Keyid")%>","<%#Eval("DeliverTime", "{0:yyyy-MM-dd}")%>")'> <%#Eval("DeliverTime", "{0:yyyy-MM-dd}")%> </a> |
| | | </td>
|
| | | <td>
|
| | | <%--<td>
|
| | | <%#Eval("DeliveredTime", "{0:yyyy-MM-dd}")%>
|
| | | </td>
|
| | | </td>--%>
|
| | | <td>
|
| | | <%#Eval("BusinessManager")%>
|
| | | </td>
|
| | | <td>
|
| | | <%#Eval("BuyerName")%>
|
| | | <%#Eval("CompanyName")%>
|
| | | </td>
|
| | |
|
| | | <td>
|
| | |
| | | <td>
|
| | | <%#Eval("shuliang")%>
|
| | | </td>
|
| | | <td>
|
| | | <%--<td>
|
| | | <%#Eval("CarName")%>
|
| | | </td>
|
| | | <td>
|
| | | <%#Eval("DriverName")%>
|
| | | </td>
|
| | | </td>--%>
|
| | | <%-- <td>
|
| | | <%#Eval("wentifankui")%>
|
| | | </td>--%>
|
| | | <td>
|
| | | <a href='javascript:void(0)' title='点击修改注意事项' class='a_under' onclick='ViewZhuyishixiang("<%#Eval("Keyid")%>","<%#Eval("BuyerId")%>","<%#Eval("DeliverTime", "{0:yyyy-MM-dd}")%>")'> <%#Eval("Zhuyishixiang").ToString()==""?"修改注意事项":Eval("Zhuyishixiang")%> </a>
|
| | | </td>
|
| | | <td>
|
| | | <%--<td>
|
| | | <a href='javascript:void(0)' title='点击修改工作考评' class='a_under' onclick='ViewGongzuokaoping("<%#Eval("Keyid")%>","<%#Eval("BuyerId")%>","<%#Eval("DeliverTime", "{0:yyyy-MM-dd}")%>")' ><%#Eval("Gongzuokaoping").ToString()==""?"修改工作考评":Eval("Gongzuokaoping")%> </a>
|
| | | </td>
|
| | | <td style="text-align: center;">
|
| | | <%#(Eval("TransferstatusName").ToString()==""||Eval("TransferstatusName").ToString()=="未移交")?"未移交":"√"%>
|
| | | </td>
|
| | | <%#Eval("TransferName")==null || Eval("TransferName").ToString()==""?"未移交":Eval("TransferName")%>
|
| | | </td>--%>
|
| | | <td>
|
| | | <a href='javascript:void(0)' title='打印送货单' class='a_under' onclick='ToPrintDriverorder("<%#Eval("Keyid")%>")'> 打印 </a>
|
| | | </td>
|
| | | <%--<td>
|
| | | <a href='javascript:void(0)' title='送货单图片' class='a_under' onclick='onViewuplod("<%#Eval("Keyid")%>")'> 送货单图片 </a> |
| | | </td>--%>
|
| | | </tr>
|
| | | </itemtemplate>
|
| | | </asp:repeater>
|