| | |
| | | top.Dialog.open({ URL: "/Pages/business/WaixiefukuanweikaipiaoEdit.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 == "订单开票") { |
| | |
| | | } |
| | | |
| | | |
| | | //回款 |
| | | //开票说明查看 |
| | | function ViewFukuan(personId) { |
| | | top.Dialog.open({ URL: "/Pages/business/InvoicingHuikuan.aspx?id=" + personId, Title: "付款登记", Width: 400, Height: 600 }); |
| | | top.Dialog.open({ URL: "/Pages/business/Waixiefukuanweikaipiaoshuoming.aspx?keyid=" + personId + "&&chakan=chakan", Title: "开票说明查看", Width: 600, Height: 400 }); |
| | | } |
| | | |
| | | //开票说明 |
| | | function ViewCuishou(personId) { |
| | | top.Dialog.open({ URL: "/Pages/business/Waixiefukuanweikaipiaoshuoming.aspx?keyid=" + personId, Title: "开票说明", Width: 600, Height: 400 }); |
| | | } |
| | | |
| | | //查看客户资料 |
| | | function Viewkaipiao(Keyid, SellerOrderId) { |
| | | // window.open("/Pages/business/InvoicingOrderPrint.aspx?Keyid=&SellerOrderId=" + SellerOrderId, '', ''); |
| | | top.Dialog.open({ URL: "/Pages/business/InvoicingOrderPrint.aspx?Keyid=&SellerOrderId=" + SellerOrderId, Title: "查看订单", Width: 1080, Height: 650 }); |
| | | function Viewkaipiao(Keyid, SellerOrderId, yongtu, supplierId) { |
| | | |
| | | if (yongtu == "外协加工费") { |
| | | if (supplierId.length > 10) { |
| | | top.Dialog.open({ URL: "/Pages/business/WaixieOrderPrint.aspx?Keyid=&SellerOrderId=" + SellerOrderId, Title: "查看外协订单", Width: 1080, Height: 650 }); |
| | | } else { |
| | | top.Dialog.open({ URL: "/Pages/business/InvoicingOrderPrint.aspx?Keyid=&SellerOrderId=" + SellerOrderId, Title: "查看订单", Width: 1080, Height: 650 }); |
| | | } |
| | | |
| | | } else if (yongtu == "采购付款") { |
| | | top.Dialog.open({ URL: "/Pages/procurement/ProcurementListHTML.aspx?Keyid=" + SellerOrderId, Title: "查看采购订单", Width: 1080, Height: 650 }); |
| | | } |
| | | |
| | | } |
| | | //查看 |
| | | function onView(keyid) { |
| | | top.Dialog.open({ URL: "/Pages/procurement/SuppliersDetail.aspx?Keyid=" + keyid, Title: "查看供应商", Width: 950, Height: 650 }); |
| | | function onView(keyid, yongtu) { |
| | | if (yongtu != "其他付款" && yongtu != "外协加工费") { |
| | | top.Dialog.open({ URL: "/Pages/procurement/SuppliersDetail.aspx?Keyid=" + keyid, Title: "查看供应商", Width: 950, Height: 650 }); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | <input id='txtCreatorName' runat="server" maxlength='50' /> |
| | | </td> |
| | | |
| | | |
| | | <td class="ali03"> |
| | | 付款用途: |
| | | </td> |
| | | <td> |
| | | <select keepdefaultstyle='true' id='selFukuanyongtu' runat="server" > |
| | | <option value="">全部</option> |
| | | <option value="外协加工费">外协加工费</option> |
| | | <option value="其他付款">其他付款</option> |
| | | </select> |
| | | </td> |
| | | |
| | | |
| | | |
| | |
| | | 订单 |
| | | </th> |
| | | |
| | | |
| | | <th width="100"> |
| | | 操作 |
| | | </th> |
| | | |
| | | |
| | | </tr> |
| | |
| | | |
| | | |
| | | |
| | | <a href='javascript:void(0)' title='点击查看 <%#Eval("SupplierName").ToString()%> 资料' class='a_under' onclick='onView("<%#Eval("SupplierId")%>")'><%#Eval("SupplierName") %></a> |
| | | <a href='javascript:void(0)' title='点击查看 <%#Eval("SupplierName").ToString()%> 资料' class='a_under' onclick='onView("<%#Eval("SupplierId")%>","<%#Eval("Fukuanyongtu")%>")'><%#Eval("SupplierName") %></a> |
| | | |
| | | </td> |
| | | <td style="text-align: center;"> |
| | |
| | | |
| | | <td> |
| | | |
| | | <%#Eval("Fukuanyongtu").ToString().Equals("其他付款")?"":"<a href='javascript:void(0)' title='查看订单' class='a_under' onclick='Viewkaipiao(\""+Eval("Keyid") +"\",\""+Eval("DindanId")+"\")'> 查看订单 </a>" %> |
| | | <%#Eval("Fukuanyongtu").ToString().Equals("其他付款")?"":"<a href='javascript:void(0)' title='查看订单' class='a_under' onclick='Viewkaipiao(\""+Eval("Keyid") +"\",\""+Eval("DindanId")+"\",\""+Eval("Fukuanyongtu")+"\",\""+Eval("SupplierId")+"\")'> 查看订单 </a>" %> |
| | | |
| | | |
| | | </td> |
| | | |
| | | |
| | | |
| | | <td> |
| | | |
| | | <a href='javascript:void(0)' menu_member_case_id="case_shuomingchakan" menu_member_case_name="查看说明" title='查看说明' class='a_under' onclick='ViewFukuan("<%#Eval("Keyid")%>")'> 查看说明 </a> |
| | | <a href='javascript:void(0)' menu_member_case_id="case_kaipiaoshuoming" menu_member_case_name="开票说明" title='开票说明' class='a_under' onclick='ViewCuishou("<%#Eval("Keyid")%>")'> <%#Eval("Kaipiaoshuoming") %> </a> |
| | | |
| | | </td> |
| | | |
| | | |
| | | |