username@email.com
1 天以前 79d6bea61cd6f48fbb284e98f4714f722bfee5fe
CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx
@@ -115,12 +115,26 @@
        
        //查看客户资料
        function Viewkaipiao(Keyid, SellerOrderId) {
            window.open("/Pages/business/InvoicingOrderPrint.aspx?Keyid=&SellerOrderId=" + SellerOrderId, '', '');
        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 });
            }
        }
 
@@ -177,7 +191,16 @@
                        <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>
                    
                 
@@ -227,6 +250,15 @@
                            收款单位
                        </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="70">
                           付款用途
                        </th>
                         <th width="60">
@@ -268,8 +300,23 @@
                                      
                                     
                                    <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;">
                                        <%#Eval("Huming")%>
                                </td>
                                 <td style="text-align: center;">
                                        <%#Eval("Bank")%>
                                </td>
                                 <td style="text-align: center;">
                                        <%#Eval("AccountID")%>
                                </td>
                                <td style="text-align: center;">
                                        <%#Eval("Fukuanyongtu")%>
@@ -290,7 +337,7 @@
                                
                                <td>
                                    
                                      <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>