From a0d38325a97957b37dd755bf732b63f6f7e2a5ff Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 24 十二月 2024 08:40:48 +0800
Subject: [PATCH] 修改外协付款

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx
index b068c46..d3e916a 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx
@@ -115,13 +115,16 @@
 
         
         //鏌ョ湅瀹㈡埛璧勬枡
-        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) {
+            //window.open("/Pages/business/InvoicingOrderPrint.aspx?Keyid=&SellerOrderId=" + SellerOrderId, '', '');
+            if (yongtu == "澶栧崗鍔犲伐璐�") {
+                top.Dialog.open({ URL: "/Pages/business/WaixieOrderPrint.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 });
             }
            
@@ -181,7 +184,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>
 
                     
                  
@@ -318,7 +330,7 @@
                                 
                                 <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")+"\")'>   鏌ョ湅璁㈠崟   </a>" %> 
                                     
                                   
                                 </td>

--
Gitblit v1.9.1