| | |
| | | // top.Dialog.open({ URL: '/Pages/business/InvoicingConfirmEdit.aspx?id=' + ids, Title: '批量确认发票', Height: 400, Width: 600 }); |
| | | // } |
| | | //} |
| | | |
| | | //查看客户资料 |
| | | function Viewkehuqianshou(Keyid, SellerOrderId) { |
| | | top.Dialog.open({ URL: "/Pages/business/OrderKehuqianshou.aspx?id=" + Keyid + "&SellerOrderId=" + SellerOrderId, Title: "客户签收", Width: 400, Height: 600 }); |
| | | } |
| | | |
| | | |
| | | //查看客户资料 |
| | | function Viewkehu(personId) { |
| | | top.Dialog.open({ URL: "/Pages/business/InvoicingConfirmEdit.aspx?id=" + personId, Title: "确认发票", Width: 400, Height: 600 }); |
| | | } |
| | | |
| | | //催收 |
| | | function ViewCuishou(personId) { |
| | | top.Dialog.open({ URL: "/Pages/business/InvoicingCuishou.aspx?id=" + personId, Title: "催款", Width: 600, Height: 800 }); |
| | | } |
| | | //收款 |
| | | function ViewShoukuan(personId, shenqingleixing) { |
| | | if (shenqingleixing == "订单开票") { |
| | | top.Dialog.open({ URL: "/Pages/financial/InvoicingShoukuan.aspx?id=" + personId, Title: "订单收款", Width: 600, Height: 800 }); |
| | | } else { |
| | | top.Dialog.open({ URL: "/Pages/financial/DepositsCustomerFapiao.aspx?Keyid=" + personId, Title: "客户预付款存款", Width: 900, Height: 680 }); |
| | | } |
| | | |
| | | } |
| | | //收入确认 |
| | | function ViewShouru(personId, shenqingleixing) { |
| | | if (shenqingleixing == "订单开票") { |
| | | top.Dialog.open({ URL: "/Pages/financial/InvoicingShouruqueren.aspx?id=" + personId, Title: "订单确认收入", Width: 600, Height: 800 }); |
| | | } else { |
| | | top.Dialog.open({ URL: "/Pages/financial/DepositsCustomershouruqueren.aspx?Keyid=" + personId, Title: "客户预付款确认收入", Width: 900, Height: 680 }); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | //回款 |
| | | function ViewFukuan(personId) { |
| | | top.Dialog.open({ URL: "/Pages/business/InvoicingHuikuan.aspx?id=" + personId, Title: "付款登记", Width: 400, Height: 600 }); |
| | | } |
| | | |
| | | |
| | | //查看客户资料 |
| | | function Viewkaipiao(Keyid, SellerOrderId) { |
| | | window.open("/Pages/business/InvoicingOrderPrint.aspx?Keyid=" + Keyid + "&SellerOrderId=" + SellerOrderId, '', ''); |
| | | // window.open("/Pages/business/InvoicingOrderPrint.aspx?Keyid=" + Keyid + "&SellerOrderId=" + SellerOrderId, '', ''); |
| | | top.Dialog.open({ URL: "/Pages/business/InvoicingOrderPrint.aspx?Keyid=" + Keyid + "&SellerOrderId=" + SellerOrderId, Title: "查看订单", Width: 1080, Height: 650 }); |
| | | } |
| | | //查看客户资料 |
| | | function View(personId) { |
| | | top.Dialog.open({ URL: "/Pages/business/CorporateClientsDetail.aspx?Keyid=" + personId, Title: "查看客户", Width: 900, Height: 580 }); |
| | | } |
| | | |
| | | |
| | | |
| | | /* |
| | | 确认受理 |
| | | */ |
| | | function ToAccept(orderId) { |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | top.Dialog.confirm('确认撤回申请?', function () { |
| | | DoAccept(orderId); |
| | | }); |
| | | } |
| | | |
| | | |
| | | /* |
| | | 处理受理订单 |
| | | */ |
| | | var DoAccept = function (orderId) { |
| | | |
| | | window.submitUrl = "/Pages/business/InvoicingConfirm.aspx"; //设置当前页的提交路径 |
| | | |
| | | CallServer({ Target: "AcceptOrder", id: orderId }, function (data, textStatus) { |
| | | if ('1' == data) { |
| | | alertMsg('操作成功!'); |
| | | RefreshDIVOpener(); //关闭页面 |
| | | } else { |
| | | alertMsg(data); |
| | | //dialog.close(); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | |
| | | |
| | | $(function () { |
| | | var value_NowPageAllMoney = 0; |
| | | $(".OrderAllMoney").each(function (ii, vv) { |
| | | value_NowPageAllMoney += parseFloat($(vv).text()); |
| | | }); |
| | | $("#NowPageAllMoney").html(value_NowPageAllMoney.toFixed(2)); |
| | | |
| | | |
| | | var value_NowPageZengMoney = 0; |
| | | $(".OrderZengMoney").each(function (ii, vv) { |
| | | value_NowPageZengMoney += parseFloat($(vv).text()); |
| | | }); |
| | | $("#NowPageZengMoney").html(value_NowPageZengMoney.toFixed(2)); |
| | | |
| | | |
| | | var value_NowPageHuiMoney = 0; |
| | | $(".OrderHuiMoney").each(function (ii, vv) { |
| | | value_NowPageHuiMoney += parseFloat($(vv).text()); |
| | | }); |
| | | $("#NowPageHuiMoney").html(value_NowPageHuiMoney.toFixed(2)); |
| | | }); |
| | | </script> |
| | | <style type="text/css"> |
| | | .tableStyleXS th { padding: 1px 0 1px 3px; background-image:none; border-bottom:1px solid #CCC; } |
| | |
| | | cursor: pointer; |
| | | width: 26px; |
| | | } |
| | | .StatisticsMoney td { color: #FF5500; } |
| | | .StatisticsMoney span { color: #FF5500; font-weight: bold; } |
| | | </style> |
| | | </head> |
| | | <body> |
| | |
| | | <td style="width: 215px"> |
| | | <input id="txtSQBeginDate" type="text" runat="server" class='date w80px' maxlength='10' />-<input id="txtSQEndDate" type="text" runat="server" class='date w80px' maxlength='10' /> |
| | | </td> |
| | | |
| | | <td class="ali03"> |
| | | 客户名称: |
| | | </td> |
| | | <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> |
| | | <td class="ali03"> |
| | | 开票状态: |
| | | </td> |
| | |
| | | <select keepdefaultstyle='true' class=' firstfocus' id='selKaipiaoshenqing' runat="server" datatextfield="Name" datavaluefield="MeanValue"> |
| | | </select> |
| | | </td> |
| | | <td class="ali03"> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </tr> |
| | | <tr style="padding-left: 50px"> |
| | | <td class="ali03"> |
| | | 是否销账: |
| | | </td> |
| | | <td> |
| | | <select keepdefaultstyle='true' id='selPayStates' runat="server" > |
| | | <option value="">全部</option> |
| | | <option value="2">是</option> |
| | | <option value="1">否</option> |
| | | </select> |
| | | </td> |
| | | <td class="ali03"> |
| | | 客户签收: |
| | | </td> |
| | | <td> |
| | |
| | | </select> |
| | | </td> |
| | | <td class="ali03"> |
| | | <%-- 收款状态:--%> |
| | | 是否回款: |
| | | </td> |
| | | <td> |
| | | <%-- <select keepdefaultstyle='true' id='selPayStates' runat="server" datatextfield="Name" datavaluefield="MeanValue"> |
| | | </select>--%> |
| | | </td> |
| | | |
| | | |
| | | |
| | | </tr> |
| | | <tr style="padding-left: 50px"> |
| | | <td class="ali03"> |
| | | 客户名称: |
| | | </td> |
| | | <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 keepdefaultstyle='true' id='selHuikuanStates' runat="server" > |
| | | <option value="">全部</option> |
| | | <option value="2">是</option> |
| | | <option value="1">否</option> |
| | | </select> |
| | | </td> |
| | | |
| | | |
| | | |
| | | <td colspan="4"> |
| | | <td > |
| | | |
| | | |
| | | </td> |
| | | <td > |
| | | <asp:button id="btn_Search" text="查询" runat="server" /> <input type="button" value='重置' onclick='document.body.innerHTML="";window.location=window.location;' /> |
| | | |
| | | </td> |
| | |
| | | <th style="text-align: center;" width="70"> |
| | | 申请开票时间 |
| | | </th> |
| | | <th style="text-align: center;" width="70"> |
| | | 申请类型 |
| | | </th> |
| | | <th style="text-align: center;" width="70"> |
| | | 业务经理 |
| | | </th> |
| | | <th style="text-align: center;" width="70"> |
| | | 开票申请单号 |
| | | </th> |
| | | |
| | | <th style="text-align: center;"width="150"> |
| | | 客户名称 |
| | | </th> |
| | | |
| | | <th style="text-align: center;" width="70"> |
| | | 发票号码 |
| | | </th> |
| | | <th width="36"> |
| | | 订单数量 |
| | | </th> |
| | | <th width="60"> |
| | | <th width="60" > |
| | | 金额 |
| | | </th> |
| | | |
| | | |
| | | <th width="60" > |
| | | 增减金额 |
| | | </th> |
| | | <th width="60"> |
| | | 签单回执 |
| | | </th> |
| | | <th width="60" > |
| | | 回款金额 |
| | | </th> |
| | | <th width="60"> |
| | | 最近催款 |
| | | </th> |
| | | |
| | | <th width="60"> |
| | | 开票状态 |
| | | </th> |
| | | <th width="60"> |
| | | 客户签收 |
| | | <th width="180"> |
| | | 操作 |
| | | |
| | | </th> |
| | | |
| | |
| | | |
| | | </td> |
| | | <td style="text-align: center;"> |
| | | <%#Eval("Shenqingleixing")%> |
| | | |
| | | |
| | | </td> |
| | | <td style="text-align: center;"> |
| | | <%#Eval("BusinessManager")%> |
| | | |
| | | |
| | | </td> |
| | | <td style="text-align: center;"> |
| | | <%#Eval("SellerOrderId")%> |
| | | |
| | | |
| | | </td> |
| | | |
| | | |
| | | <td style="text-align: center;"> |
| | | <div style="width: 140px; word-wrap: break-word; text-align:justify;"> |
| | | <a href='javascript:void(0)' title='点击查看 <%#Eval("BuyerName").ToString()%> 资料' class='a_under' onclick='View("<%#Eval("BuyerId")%>")'><%#Eval("BuyerName").ToString().Length > 10 ? (Eval("BuyerName").ToString().Substring(0, 10) + "..") : Eval("BuyerName").ToString()%></a> |
| | | <div style="width: 210px; word-wrap: break-word; text-align:justify;"> |
| | | <a href='javascript:void(0)' title='点击查看 <%#Eval("BuyerName").ToString()%> 资料' class='a_under' onclick='View("<%#Eval("BuyerId")%>")'><%#Eval("BuyerName").ToString().Length > 30 ? (Eval("BuyerName").ToString().Substring(0, 30) + "..") : Eval("BuyerName").ToString()%></a> |
| | | </div> |
| | | </td> |
| | | <td > |
| | | <%#Eval("Fapiaohao")%> |
| | | |
| | | |
| | | </td> |
| | | |
| | | <td> |
| | | |
| | | <a href='javascript:void(0)' title=' <%#Eval("shuliang")%> ' class='a_under' onclick='Viewkaipiao("<%#Eval("Keyid")%>","<%#Eval("SellerOrderId")%>")'> <%#Eval("shuliang")%> </a> |
| | | <a href='javascript:void(0)' title=' <%#Eval("Dingdanshu")%> ' class='a_under' onclick='Viewkaipiao("<%#Eval("Keyid")%>","<%#Eval("SellerOrderId")%>")'> <%#Eval("Dingdanshu")%> </a> |
| | | |
| | | |
| | | </td> |
| | | |
| | | <td> |
| | | <%#Eval("jine", "{0:F}")%> |
| | | <td class="OrderAllMoney"> |
| | | <%#Eval("kpmoney", "{0:F}")%> |
| | | </td> |
| | | <td class="OrderZengMoney"> |
| | | <%#Eval("Zengjianmoney", "{0:F}")%> |
| | | </td> |
| | | <td> |
| | | <%#Eval("Kehuqianshou").ToString()=="1"?"<a href='javascript:void(0)' title='上传回执' class='a_under' onclick='Viewkehuqianshou(\""+Eval("Keyid")+"\",\""+Eval("SellerOrderId")+"\") '> 上传回执 </a>":" <a title='点击查看原图' href='"+Eval("Kehuqianshoutupian")+"' target='view_window'> <img width='25' height='20' src='"+Eval("Kehuqianshoutupian")+"' /> </a> "%> |
| | | |
| | | |
| | | |
| | | |
| | | </td> |
| | | <td class="OrderHuiMoney"> |
| | | <%#Eval("Huikuanmoney", "{0:F}")%> |
| | | </td> |
| | | <td> |
| | | <%#Eval("ShoukuanTime", "{0:MM-dd HH:mm}")%> |
| | | </td> |
| | | <td> |
| | | |
| | |
| | | </td> |
| | | <td> |
| | | |
| | | <a href='javascript:void(0)' menu_member_case_id="case_fukuandengji" menu_member_case_name="付款登记" title='付款登记' class='a_under' onclick='ViewFukuan("<%#Eval("Keyid")%>")'> 付款登记 </a> |
| | | <a href='javascript:void(0)' menu_member_case_id="case_cuikuan" menu_member_case_name="催款" title='催款' class='a_under' onclick='ViewCuishou("<%#Eval("Keyid")%>")'> 催款 </a> |
| | | <a href='javascript:void(0)' menu_member_case_id="case_shoukuan" menu_member_case_name="收款" title='收款' class='a_under' onclick='ViewShoukuan("<%#Eval("Keyid")%>","<%#Eval("Shenqingleixing")%>")'> 收款 </a> |
| | | <a href='javascript:void(0)' menu_member_case_id="case_shouruqueren" menu_member_case_name="收入确认" title='收入确认' class='a_under' onclick='ViewShouru("<%#Eval("Keyid")%>","<%#Eval("Shenqingleixing")%>")'> 收入确认 </a> |
| | | |
| | | <%#Eval("KehuqianshouName")%> |
| | | |
| | | <a href='javascript:void(0)'menu_member_case_id="case_chehui" menu_member_case_name="撤回" title='撤回' class='a_under' onclick='ToAccept("<%#Eval("Keyid")%>")'> 撤回 </a> |
| | | </td> |
| | | |
| | | </tr> |
| | | </itemtemplate> |
| | | </asp:repeater> |
| | | <tr class="StatisticsMoney"> |
| | | <td colspan="7" class="ali03"> |
| | | 当前页统计: |
| | | </td> |
| | | <td class="ali01"> |
| | | <span id="NowPageAllMoney" runat="server"></span> |
| | | </td> |
| | | <td class="ali01"> |
| | | <span id="NowPageZengMoney" runat="server"></span> |
| | | </td> |
| | | <td class="ali01"> |
| | | </td> |
| | | <td class="ali01"> |
| | | <span id="NowPageHuiMoney" runat="server"></span> |
| | | </td> |
| | | <td class="ali01" colspan="3"> |
| | | </td> |
| | | </tr> |
| | | <tr class="StatisticsMoney"> |
| | | <td colspan="7" class="ali03"> |
| | | 查询项统计: |
| | | </td> |
| | | <td class="ali01"> |
| | | <span id="AllMoney" runat="server"></span> |
| | | </td> |
| | | <td class="ali01"> |
| | | <span id="ZengMoney" runat="server"></span> |
| | | </td> |
| | | <td class="ali01"> |
| | | </td> |
| | | <td class="ali01"> |
| | | <span id="HuiMoney" runat="server"></span> |
| | | </td> |
| | | <td class="ali01" colspan="3"> |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | <uc:ucpager id="UCPager1" runat="server" /> |