From b63e4e9f97aba58867a01b85e7d128b6eb738a0a Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 09 十月 2025 09:48:50 +0800
Subject: [PATCH] 请示类别要增加 维修申请 维修付款申请
---
CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanfukuan.aspx | 78 ++++++++++++++++++++++++++++++++-------
1 files changed, 64 insertions(+), 14 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanfukuan.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanfukuan.aspx
index cdadbbb..f3c9fe3 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanfukuan.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanfukuan.aspx
@@ -73,6 +73,13 @@
// top.Dialog.open({ URL: '/Pages/business/WaixiefukuanfukuanEdit.aspx?id=' + ids, Title: '鎵归噺纭鍙戠エ', Height: 400, Width: 600 });
// }
//}
+
+ //璇风ず鏄庣粏
+ function onViewWorkPlan(keyid) {
+ top.Dialog.open({ URL: "/Pages/work/MyRequestDetail.aspx?keyid=" + keyid, Title: "璇风ず鏄庣粏", Width: 620, Height: 360 });
+ }
+
+
//鏌ョ湅瀹㈡埛璧勬枡
function Viewkehuqianshou(Keyid, SellerOrderId) {
top.Dialog.open({ URL: "/Pages/business/OrderKehuqianshou.aspx?id=" + Keyid + "&SellerOrderId=" + SellerOrderId, Title: "瀹㈡埛绛炬敹", Width: 400, Height: 600 });
@@ -89,9 +96,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 +131,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 != "澶栧崗鍔犲伐璐�" && yongtu != "璁惧缁翠慨璐�" ) {
+ top.Dialog.open({ URL: "/Pages/procurement/SuppliersDetail.aspx?Keyid=" + keyid, Title: "鏌ョ湅渚涘簲鍟�", Width: 950, Height: 650 });
+ }
+
}
@@ -174,6 +205,18 @@
</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>
+ <option value="璁惧缁翠慨璐�">璁惧缁翠慨璐�</option>
+ <option value="鍏朵粬浠樻">鍏朵粬浠樻</option>
+ </select>
</td>
<td class="ali03">
鏄惁浠樻锛�
@@ -259,7 +302,9 @@
<th width="36">
璁㈠崟
</th>
-
+ <th width="60">
+ 瀹℃壒鏌ョ湅
+ </th>
<th width="60">
鎿嶄綔
@@ -288,7 +333,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,18 +373,23 @@
<td>
- <a href='javascript:void(0)' title='鏌ョ湅璁㈠崟' class='a_under' onclick='Viewkaipiao("<%#Eval("Keyid")%>","<%#Eval("DindanId")%>")'> 鏌ョ湅璁㈠崟 </a>
+ <%#Eval("Fukuanyongtu").ToString().Equals("鍏朵粬浠樻") || 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>
-
+ <td>
+
+ <a href='javascript:void(0)' title='瀹℃壒鏌ョ湅' class='a_under' onclick='onViewWorkPlan("<%#Eval("WorkPlanId")%>")'> 瀹℃壒鏌ョ湅 </a>
+
+
+ </td>
<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>
@@ -348,7 +398,7 @@
</asp:repeater>
</tbody>
<tr>
- <td colspan="5">
+ <td colspan="8">
鍚堣
</td>
--
Gitblit v1.9.1