From 1bfc8f9c7baad9be7fdb92742cf796f9fdb50df3 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 22 九月 2021 09:38:37 +0800
Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/chuanyin-group-project

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingApply.aspx.cs |   10 ++++++----
 1 files changed, 6 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 2b1b6af..e74cbce 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingApply.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/InvoicingApply.aspx.cs
@@ -468,12 +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("鍏ㄩ儴", ""));
-                this.selKaipiaoshenqing.Value = "1";
-
+                if(dtkpsq.Count()==2)
+                {
+                    this.selKaipiaoshenqing.SelectedIndex = 1;
+                }                
 
 
                 this.selBusinessManager.DataSource = bll_OA_StaffBLL.SelectListByFirmId(CurrentUser.MemberId, true, false);

--
Gitblit v1.9.1