username@email.com
2025-05-21 a980cd04341d71216e0f59bd4b7327fe9fc50032
CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanfukuan.aspx
@@ -89,9 +89,20 @@
            top.Dialog.open({ URL: "/Pages/business/InvoicingCuishou.aspx?id=" + personId, Title: "催款", Width: 600, Height: 800 });
        }
        //外协付款
        function ViewShoukuan(personId) {
            top.Dialog.open({ URL: "/Pages/financial/WaixieExpenses.aspx?id=" + personId, Title: "外协付款", Width: 600, Height: 800 });
        function ViewShoukuan(personId, yongtu, supplierId) {
            if (yongtu == "外协加工费" && supplierId.length > 10) {
                top.Dialog.open({ URL: "/Pages/financial/NewWaixieExpenses.aspx?id=" + personId, Title: "外协付款", Width: 600, Height: 800 });
            }
            else if (yongtu == "采购付款") {
                top.Dialog.open({ URL: "/Pages/financial/CaigouPayEdit.aspx?id=" + personId, Title: "采购付款", Width: 600, Height: 800 });
            }
            else if (yongtu == "其他付款") {
                top.Dialog.open({ URL: "/Pages/financial/WaixieExpenses.aspx?id=" + personId, Title: "其他付款", Width: 600, Height: 800 });
            }
            else {
                top.Dialog.open({ URL: "/Pages/financial/WaixieExpenses.aspx?id=" + personId, Title: "外协付款", Width: 600, Height: 800 });
            }
           
           
        }
@@ -113,13 +124,26 @@
        
        //查看客户资料
        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 });
            }
        }
 
@@ -174,6 +198,16 @@
                    </td>
                    <td>
                        <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>
                    <td class="ali03">
                       是否付款:
@@ -288,7 +322,7 @@
                                </td>
                                 <td style="text-align: center;">
                                     
                                    <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>
                                        
                                   
@@ -328,7 +362,7 @@
                                
                                <td>
                                    
                                  <%#Eval("Fukuanyongtu").ToString().Equals("其他付款")?"":"<a href='javascript:void(0)' title='查看订单' class='a_under' onclick='Viewkaipiao(\""+Eval("Keyid") +"\",\""+Eval("DindanId")+"\")'>  查看订单   </a>" %>     <%--<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>" %>     <%--<a href='javascript:void(0)' title='查看订单' class='a_under' onclick='Viewkaipiao("<%#Eval("Keyid")%>","<%#Eval("DindanId")%>")'>  查看订单   </a>--%>
                                    
                                  
                                </td>
@@ -339,7 +373,7 @@
                                 <td>
                                      
                                         
                                     <a href='javascript:void(0)' title='付款' class='a_under' onclick='ViewShoukuan("<%#Eval("Keyid")%>")'> 付款    </a>
                                     <a href='javascript:void(0)' menu_member_case_id="case_fukuan" menu_member_case_name="付款" title='付款' class='a_under' onclick='ViewShoukuan("<%#Eval("Keyid")%>","<%#Eval("Fukuanyongtu")%>","<%#Eval("SupplierId")%>")'> 付款    </a>
                                     
                                </td>