CY_ECommercePlatform/CY.Model/OA/OA_Document.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CY_ECommercePlatform/CY.SQLDAL/OA/OA_DocumentDAL.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CY_ECommercePlatform/CY.WebForm/Pages/work/OA_DocumentAdd.aspx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CY_ECommercePlatform/CY.WebForm/Pages/work/OA_DocumentAdd.aspx.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CY_ECommercePlatform/CY.WebForm/Pages/work/OA_DocumentAdd.aspx.designer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CY_ECommercePlatform/CY.WebForm/Pages/work/OA_DocumentDetail.aspx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
CY_ECommercePlatform/CY.WebForm/Pages/work/OA_DocumentDetail.aspx.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
CY_ECommercePlatform/CY.Model/OA/OA_Document.cs
@@ -232,6 +232,17 @@ _dm_printnumber = value; } } /// <summary> /// 印刷数量 /// </summary> public int? Konghangshu { get; set; } /// <summary> /// 公文番号 /// </summary> @@ -444,6 +455,13 @@ this.Jusequanxian = isChange ? MyConvert.ConvertToString(value) : Jusequanxian; theValue = this.Jusequanxian; } else if ("Konghangshu".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 22) { this.Konghangshu = isChange ? MyConvert.ConvertToInt(value) : Konghangshu; theValue = this.Konghangshu; } return theValue; } CY_ECommercePlatform/CY.SQLDAL/OA/OA_DocumentDAL.cs
@@ -55,7 +55,8 @@ new SqlParameter("@DM_PrintTime", trueModel.DM_PrintTime) , new SqlParameter("@DM_PrintStatus", trueModel.DM_PrintStatus) , new SqlParameter("@LastUpdateTime", trueModel.LastUpdateTime) , new SqlParameter("@Operator", trueModel.Operator) new SqlParameter("@Operator", trueModel.Operator) , new SqlParameter("@Konghangshu", trueModel.Konghangshu.HasValue?trueModel.Konghangshu.Value:0) , }; try { @@ -102,6 +103,8 @@ new SqlParameter("@LastUpdateTime", trueModel.LastUpdateTime) , new SqlParameter("@Operator", trueModel.Operator), new SqlParameter("@Jusequanxian",string.IsNullOrEmpty(trueModel.Jusequanxian)?"":trueModel.Jusequanxian), new SqlParameter("@Konghangshu", trueModel.Konghangshu.HasValue?trueModel.Konghangshu.Value:0) , }; try { CY_ECommercePlatform/CY.WebForm/Pages/work/OA_DocumentAdd.aspx
@@ -73,6 +73,15 @@ <asp:TextBox ID="txtDM_Content" TextMode="MultiLine" runat="server" Width="700px" Height="310px" MaxLength="2000"></asp:TextBox> </td> </tr> <tr> <td class="ali03"> 空行数量: </td> <td colspan="3"> <input id="txtKonghangshu" type="text" class="int w100px" min="0" value="0" runat="server" msg="请填写大于0的整数" /> </td> </tr> <tr> <td class="ali03"> 主题词: CY_ECommercePlatform/CY.WebForm/Pages/work/OA_DocumentAdd.aspx.cs
@@ -57,6 +57,7 @@ this.txtDM_DocumentType.Value = ""; this.txtDM_Number.Value = ""; this.txtDM_DocumentNumber.InnerHtml = ""; this.txtKonghangshu.Value = ""; if (!string.IsNullOrEmpty(Request["keyid"])) { @@ -66,6 +67,7 @@ this.txtDM_Title.Value = m_OA_Document.DM_Title.ToString2(); ; this.txtDM_Content.Text = m_OA_Document.DM_Content; this.txtDM_ThemeWords.Value = m_OA_Document.DM_ThemeWords; this.txtKonghangshu.Value = m_OA_Document.Konghangshu.HasValue? m_OA_Document.Konghangshu.Value.ToString() : ""; this.txtDM_CCUnit.Text = m_OA_Document.DM_CCUnit; this.txtDM_PrintNumber.Value = m_OA_Document.DM_PrintNumber.HasValue ? m_OA_Document.DM_PrintNumber.Value.ToString() : ""; this.txtDM_PostingId.SelectedValue = m_OA_Document.DM_PostingId.HasValue ? m_OA_Document.DM_PostingId.Value.ToString() : ""; @@ -107,6 +109,7 @@ m_OA_Document.DM_Title = this.txtDM_Title.Value.ToString2(); m_OA_Document.DM_Content = this.txtDM_Content.Text.ToString2(); m_OA_Document.DM_ThemeWords = this.txtDM_ThemeWords.Value.ToString2(); m_OA_Document.Konghangshu = this.txtKonghangshu.Value.ToInt32(); m_OA_Document.DM_CCUnit = this.txtDM_CCUnit.Text.ToString2(); m_OA_Document.DM_PrintNumber = this.txtDM_PrintNumber.Value.ToInt32(); m_OA_Document.LastUpdateTime = nowTime; @@ -140,6 +143,7 @@ m_OA_Document.DM_Title = this.txtDM_Title.Value.ToString2(); m_OA_Document.DM_Content = this.txtDM_Content.Text.ToString2(); m_OA_Document.DM_ThemeWords = this.txtDM_ThemeWords.Value.ToString2(); m_OA_Document.Konghangshu = this.txtKonghangshu.Value.ToInt32(); m_OA_Document.DM_CCUnit = this.txtDM_CCUnit.Text.ToString2(); m_OA_Document.DM_PrintNumber = this.txtDM_PrintNumber.Value.ToInt32(); m_OA_Document.LastUpdateTime = nowTime; CY_ECommercePlatform/CY.WebForm/Pages/work/OA_DocumentAdd.aspx.designer.cs
@@ -2,15 +2,17 @@ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // 对此文件的更改可能导致不正确的行为,如果 // 重新生成代码,则所做更改将丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace CY.WebForm.Pages.work { namespace CY.WebForm.Pages.work { public partial class OA_DocumentAdd { public partial class OA_DocumentAdd { /// <summary> /// Head1 控件。 @@ -103,6 +105,15 @@ protected global::System.Web.UI.WebControls.TextBox txtDM_Content; /// <summary> /// txtKonghangshu 控件。 /// </summary> /// <remarks> /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// </remarks> protected global::System.Web.UI.HtmlControls.HtmlInputText txtKonghangshu; /// <summary> /// txtDM_ThemeWords 控件。 /// </summary> /// <remarks> CY_ECommercePlatform/CY.WebForm/Pages/work/OA_DocumentDetail.aspx
@@ -126,6 +126,7 @@ <span id="spanDM_PromulgatedDate" runat="server"></span> </td> </tr> <%=charu %> <tr id="tr1" runat = "server"> <td colspan="2" style="font-size: 16px;"> <span style="font-weight: bold; font-size: 18px; color: Black;">主题词:</span><span id="spanDM_ThemeWords" runat="server"></span> CY_ECommercePlatform/CY.WebForm/Pages/work/OA_DocumentDetail.aspx.cs
@@ -18,6 +18,7 @@ public partial class OA_DocumentDetail : BasePage { OA_DocumentBLL bll_OA_DocumentBLL = null; public string charu = ""; //初始化 public OA_DocumentDetail() @@ -69,6 +70,14 @@ this.spanDM_CCUnit.InnerText = m_OA_Document.DM_CCUnit.ToString2(); } if(m_OA_Document.Konghangshu.HasValue && m_OA_Document.Konghangshu.Value > 0) { for (int i = 0; i < m_OA_Document.Konghangshu.Value; i++) { charu += " <tr><td align=\"right\" colspan=\"2\" style=\"padding: 0px 0px 40px 0px; font-size: 16px;\"> </td> </tr>"; } } } } }