From d766d74d37d522bfb9c633e9afbe789ad0f1a6de Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 17 十二月 2025 15:10:26 +0800
Subject: [PATCH] 提交

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx |   65 ++++++++++++++++++++++++--------
 1 files changed, 48 insertions(+), 17 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx
index 37e6590..b13c14e 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx
@@ -84,10 +84,7 @@
             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 == "璁㈠崟寮�绁�") {
@@ -108,20 +105,36 @@
         }
         
         
-        //鍥炴
+        //寮�绁ㄨ鏄庢煡鐪�
         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 });
+            }
+           
         }
 
  
@@ -178,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>
 
                     
                  
@@ -252,7 +274,9 @@
                             璁㈠崟
                         </th>
                         
-                         
+                           <th width="100">
+                            鎿嶄綔
+                        </th>
                        
                       
                     </tr>
@@ -278,7 +302,7 @@
                                       
 
                                      
-                                    <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;">
@@ -315,11 +339,18 @@
                                 
                                 <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>  &nbsp;&nbsp;&nbsp;
+                                      <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> &nbsp;&nbsp;&nbsp;
+                                     
+                                </td>                      
                                
                                  
                                   

--
Gitblit v1.9.1