username@email.com
2024-12-24 a0d38325a97957b37dd755bf732b63f6f7e2a5ff
CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanfukuan.aspx
@@ -89,9 +89,13 @@
            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 {
                top.Dialog.open({ URL: "/Pages/financial/WaixieExpenses.aspx?id=" + personId, Title: "外协付款", Width: 600, Height: 800 });
            }
           
           
        }
@@ -113,13 +117,21 @@
        
        //查看客户资料
        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 });
                }
            }
        }
        //查看
        function onView(keyid, yongtu) {
            if (yongtu !="其他付款") {
            if (yongtu != "其他付款" && yongtu != "外协加工费") {
                top.Dialog.open({ URL: "/Pages/procurement/SuppliersDetail.aspx?Keyid=" + keyid, Title: "查看供应商", Width: 950, Height: 650 });
            }
          
@@ -177,6 +189,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">
                       是否付款:
@@ -331,7 +353,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>
@@ -342,7 +364,7 @@
                                 <td>
                                      
                                         
                                     <a href='javascript:void(0)' title='付款' class='a_under' onclick='ViewShoukuan("<%#Eval("Keyid")%>")'> 付款    </a>
                                     <a href='javascript:void(0)' title='付款' class='a_under' onclick='ViewShoukuan("<%#Eval("Keyid")%>","<%#Eval("Fukuanyongtu")%>","<%#Eval("SupplierId")%>")'> 付款    </a>
                                     
                                </td>