From d34ca25b9754e49b2d1220ff9f0de6af9b734d99 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 23 四月 2025 08:59:57 +0800
Subject: [PATCH] 类型放前面   人放在最后面 客供文件就没有人

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingApply.aspx.cs |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingApply.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingApply.aspx.cs
index 31d2101..43d323c 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingApply.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingApply.aspx.cs
@@ -468,11 +468,14 @@
                 this.selKehuqianshou.DataBind();
                 this.selKehuqianshou.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
 
-
-                this.selKaipiaoshenqing.DataSource = _sys_DictionaryBLL.GetDataByType("EC_寮�绁ㄧ敵璇�");
+                var dtkpsq= _sys_DictionaryBLL.GetDataByType("EC_寮�绁ㄧ敵璇�");
+                this.selKaipiaoshenqing.DataSource = dtkpsq;
                 this.selKaipiaoshenqing.DataBind();
                 this.selKaipiaoshenqing.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
-
+                if(dtkpsq.Count()==2)
+                {
+                    this.selKaipiaoshenqing.SelectedIndex = 1;
+                }                
 
 
                 this.selBusinessManager.DataSource = bll_OA_StaffBLL.SelectListByFirmId(CurrentUser.MemberId, true, false);
@@ -578,7 +581,7 @@
                 PageSize =   UCPager1.AspNetPager.PageSize,
                 PageIndex = UCPager1.AspNetPager.CurrentPageIndex
             };
-            IEnumerable<OA_Kaipiaoshenqing> result = oA_KaipiaoshenqingBLL.SelectModelPage(pagination, CurrentUser.MemberId,this.txtSQBeginDate.Value, this.txtSQEndDate.Value,this.selKaipiaoshenqing.Value, this.selKehuqianshou.Value,this.selBusinessManager.Value,this.txtCustormerName.Value);
+            IEnumerable<OA_Kaipiaoshenqing> result = oA_KaipiaoshenqingBLL.SelectModelPage(pagination, CurrentUser.MemberId,this.txtSQBeginDate.Value, this.txtSQEndDate.Value,this.selKaipiaoshenqing.Value, this.selKehuqianshou.Value,this.selBusinessManager.Value,this.txtCustormerName.Value,"","");
             rptData.DataSource = result;
             rptData.DataBind();
 

--
Gitblit v1.9.1