From e8e3122fdc4844202fb9e05477d47139e47a8aae Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 12 十二月 2025 08:59:47 +0800
Subject: [PATCH] 作业本送货变二级菜单
---
CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx | 42 +++++++++++++++++++++++++++++-------------
1 files changed, 29 insertions(+), 13 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/Waixiefukuanweikaipiao.aspx
index d3e916a..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,17 +105,27 @@
}
- //鍥炴
+ //寮�绁ㄨ鏄庢煡鐪�
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, yongtu) {
- //window.open("/Pages/business/InvoicingOrderPrint.aspx?Keyid=&SellerOrderId=" + SellerOrderId, '', '');
+ function Viewkaipiao(Keyid, SellerOrderId, yongtu, supplierId) {
+
if (yongtu == "澶栧崗鍔犲伐璐�") {
- top.Dialog.open({ URL: "/Pages/business/WaixieOrderPrint.aspx?Keyid=&SellerOrderId=" + SellerOrderId, Title: "鏌ョ湅璁㈠崟", Width: 1080, Height: 650 });
+ 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 });
}
}
@@ -267,7 +274,9 @@
璁㈠崟
</th>
-
+ <th width="100">
+ 鎿嶄綔
+ </th>
</tr>
@@ -330,11 +339,18 @@
<td>
- <%#Eval("Fukuanyongtu").ToString().Equals("鍏朵粬浠樻")?"":"<a href='javascript:void(0)' title='鏌ョ湅璁㈠崟' class='a_under' onclick='Viewkaipiao(\""+Eval("Keyid") +"\",\""+Eval("DindanId")+"\",\""+Eval("Fukuanyongtu")+"\")'> 鏌ョ湅璁㈠崟 </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>
+ <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>
+
+ </td>
--
Gitblit v1.9.1