From 21a248a0cf76b6f05fcaac6f90975ef15ab607a1 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 18 十二月 2024 09:24:10 +0800
Subject: [PATCH] 公文纸,试卷
---
CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingConfirm.aspx | 73 +++++++++++++++++++++++++++++++++---
1 files changed, 67 insertions(+), 6 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingConfirm.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingConfirm.aspx
index 4d4810c..f7d1ec9 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingConfirm.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingConfirm.aspx
@@ -86,12 +86,27 @@
//鍌敹
function ViewCuishou(personId) {
- top.Dialog.open({ URL: "/Pages/business/InvoicingCuishou.aspx?id=" + personId, Title: "鍌", Width: 400, Height: 600 });
+ top.Dialog.open({ URL: "/Pages/business/InvoicingCuishou.aspx?id=" + personId, Title: "鍌", Width: 600, Height: 800 });
}
//鏀舵
- function ViewShoukuan(personId) {
- top.Dialog.open({ URL: "/Pages/financial/InvoicingShoukuan.aspx?id=" + personId, Title: "鏀舵", Width: 600, Height: 800 });
+ function ViewShoukuan(personId, shenqingleixing) {
+ if (shenqingleixing == "璁㈠崟寮�绁�") {
+ top.Dialog.open({ URL: "/Pages/financial/InvoicingShoukuan.aspx?id=" + personId, Title: "璁㈠崟鏀舵", Width: 600, Height: 800 });
+ } else {
+ top.Dialog.open({ URL: "/Pages/financial/DepositsCustomerFapiao.aspx?Keyid=" + personId, Title: "瀹㈡埛棰勪粯娆惧瓨娆�", Width: 900, Height: 680 });
+ }
+
}
+ //鏀跺叆纭
+ function ViewShouru(personId, shenqingleixing) {
+ if (shenqingleixing == "璁㈠崟寮�绁�") {
+ top.Dialog.open({ URL: "/Pages/financial/InvoicingShouruqueren.aspx?id=" + personId, Title: "璁㈠崟纭鏀跺叆", Width: 600, Height: 800 });
+ } else {
+ top.Dialog.open({ URL: "/Pages/financial/DepositsCustomershouruqueren.aspx?Keyid=" + personId, Title: "瀹㈡埛棰勪粯娆剧‘璁ゆ敹鍏�", Width: 900, Height: 680 });
+ }
+
+ }
+
//鍥炴
function ViewFukuan(personId) {
@@ -101,11 +116,46 @@
//鏌ョ湅瀹㈡埛璧勬枡
function Viewkaipiao(Keyid, SellerOrderId) {
- window.open("/Pages/business/InvoicingOrderPrint.aspx?Keyid=" + Keyid + "&SellerOrderId=" + SellerOrderId, '', '');
+ // window.open("/Pages/business/InvoicingOrderPrint.aspx?Keyid=" + Keyid + "&SellerOrderId=" + SellerOrderId, '', '');
+ top.Dialog.open({ URL: "/Pages/business/InvoicingOrderPrint.aspx?Keyid=" + Keyid + "&SellerOrderId=" + SellerOrderId, Title: "鏌ョ湅璁㈠崟", Width: 1080, Height: 650 });
}
//鏌ョ湅瀹㈡埛璧勬枡
function View(personId) {
top.Dialog.open({ URL: "/Pages/business/CorporateClientsDetail.aspx?Keyid=" + personId, Title: "鏌ョ湅瀹㈡埛", Width: 900, Height: 580 });
+ }
+
+
+ /*
+纭鍙楃悊
+*/
+ function ToAccept(orderId) {
+
+
+
+
+
+ top.Dialog.confirm('纭鎾ゅ洖鐢宠?', function () {
+ DoAccept(orderId);
+ });
+ }
+
+
+ /*
+澶勭悊鍙楃悊璁㈠崟
+*/
+ var DoAccept = function (orderId) {
+
+ window.submitUrl = "/Pages/business/InvoicingConfirm.aspx"; //璁剧疆褰撳墠椤电殑鎻愪氦璺緞
+
+ CallServer({ Target: "AcceptOrder", id: orderId }, function (data, textStatus) {
+ if ('1' == data) {
+ alertMsg('鎿嶄綔鎴愬姛锛�');
+ RefreshDIVOpener(); //鍏抽棴椤甸潰
+ } else {
+ alertMsg(data);
+ //dialog.close();
+ }
+ });
}
@@ -246,6 +296,9 @@
<th style="text-align: center;" width="70">
鐢宠寮�绁ㄦ椂闂�
</th>
+ <th style="text-align: center;" width="70">
+ 鐢宠绫诲瀷
+ </th>
<th style="text-align: center;" width="70">
涓氬姟缁忕悊
</th>
@@ -278,7 +331,7 @@
<th width="60">
寮�绁ㄧ姸鎬�
</th>
- <th width="120">
+ <th width="180">
鎿嶄綔
</th>
@@ -297,6 +350,11 @@
<td>
<%#Eval("CreateTime", "{0:yyyy-MM-dd}")%>
+ </td>
+ <td style="text-align: center;">
+ <%#Eval("Shenqingleixing")%>
+
+
</td>
<td style="text-align: center;">
<%#Eval("BusinessManager")%>
@@ -356,7 +414,10 @@
<a href='javascript:void(0)' title='浠樻鐧昏' class='a_under' onclick='ViewFukuan("<%#Eval("Keyid")%>")'> 浠樻鐧昏 </a>
<a href='javascript:void(0)' title='鍌' class='a_under' onclick='ViewCuishou("<%#Eval("Keyid")%>")'> 鍌 </a>
- <a href='javascript:void(0)' title='鏀舵' class='a_under' onclick='ViewShoukuan("<%#Eval("Keyid")%>")'> 鏀舵 </a>
+ <a href='javascript:void(0)' title='鏀舵' class='a_under' onclick='ViewShoukuan("<%#Eval("Keyid")%>","<%#Eval("Shenqingleixing")%>")'> 鏀舵 </a>
+ <a href='javascript:void(0)' title='鏀舵' class='a_under' onclick='ViewShouru("<%#Eval("Keyid")%>","<%#Eval("Shenqingleixing")%>")'> 鏀跺叆纭 </a>
+
+ <a href='javascript:void(0)' title='鎾ゅ洖' class='a_under' onclick='ToAccept("<%#Eval("Keyid")%>")'> 鎾ゅ洖 </a>
</td>
</tr>
--
Gitblit v1.9.1