From 176106cf1be8bb0dfd9921180b26d7cc9efb7a3d Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 16 十二月 2024 08:52:39 +0800
Subject: [PATCH] 外协付款申请功能
---
CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingOrderPrint.aspx.cs | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingOrderPrint.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingOrderPrint.aspx.cs
index b82e9c4..7b5b7dd 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingOrderPrint.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingOrderPrint.aspx.cs
@@ -86,7 +86,7 @@
-
+ string orderids = Request["SellerOrderId"] == null ? "" : Request["SellerOrderId"];
@@ -109,7 +109,7 @@
SetParamValue(searchParam, 14, "");
SetParamValue(searchParam, 15, "");
SetParamValue(searchParam, 16, "");
- SetParamValue(searchParam, 18, (CurrentUser.StaffId > 0 ? 1 : 0));
+ SetParamValue(searchParam, 18, 0);
SetParamValue(searchParam, 19, CurrentUser.TrueMemberId);
SetParamValue(searchParam, 20, CurrentUser.StaffId);
SetParamValue(searchParam, 21, CurrentUser.TrueName);
@@ -117,7 +117,18 @@
SetParamValue(searchParam, 23, "");
SetParamValue(searchParam, 24, "");
SetParamValue(searchParam, 25, "");
- SetParamValue(searchParam, 26, KaipiaoshenqingId.ToGuid2());
+ if (string.IsNullOrEmpty(KaipiaoshenqingId))
+ {
+ SetParamValue(searchParam, 26, "");
+ SetParamValue(searchParam, 29, orderids);
+
+ }
+ else
+ {
+ SetParamValue(searchParam, 26, KaipiaoshenqingId.ToGuid2());
+ SetParamValue(searchParam, 29, "");
+ }
+
SearchParam = searchParam;
--
Gitblit v1.9.1