username@email.com
5 天以前 4daa7f6a133d7c52fa94b22fb1a1767a136b3c5c
CY_ECommercePlatform/CY.WebForm/Pages/work/BaoxiaoReplyAdd.aspx.cs
@@ -33,6 +33,7 @@
        OA_DepartmentBll oA_DepartmentBll = null;
        public string planDataType = "";
        OA_SubjectSetBLL _OA_SubjectSetBLL = null;
        OA_ShebeiWeixiuBLL oA_ShebeiWeixiuBLL = null;
        public BaoxiaoReplyAdd()
        {
            oA_WorkReminderBll = new OA_WorkPlanBll();
@@ -45,6 +46,7 @@
            oA_StaffBLL = new OA_StaffBLL();
            oA_DepartmentBll = new OA_DepartmentBll();
            _OA_SubjectSetBLL = new OA_SubjectSetBLL();
            oA_ShebeiWeixiuBLL = new OA_ShebeiWeixiuBLL();
        }
        //页面加载
@@ -126,6 +128,12 @@
                    if (!oA_Staff.BF_IsBaoxiaozhuguan && !oA_Staff.BF_Isbaoxiaojingli)
                    {
                        JavaScript.MessageBox("你没有审批权限", this);
                        return;
                    }
                    if (this.txtApprovalContent.Value.Trim().Length>250)
                    {
                        JavaScript.MessageBox("审批回复过长,最多250个字", this);
                        return;
                    }
                    OA_WorkPlan m_OA_WorkPlan = oA_WorkReminderBll.GetModelByKeyid(Request["keyid"].ToInt32());
@@ -238,6 +246,15 @@
                        m_OA_WorkPlan.Operator = CurrentUser.ShortName;
                        m_OA_WorkPlan.LastUpdateTime = nowTime;
                        res = oA_WorkReminderBll.UpdateModel(m_OA_WorkPlan);
                        var oA_ShebeiWeixiu = oA_ShebeiWeixiuBLL.GetModelBytiaojian(null, m_OA_WorkPlan.Keyid, null);
                        if (oA_ShebeiWeixiu != null)
                        {
                            //oA_ShebeiWeixiu.Zerenren = this.selZerenren.Value.ToInt32();
                            oA_ShebeiWeixiu.ApprovalStatus = this.selApprovalStatus.Value.ToInt32();
                            //oA_ShebeiWeixiu.DanzePrice = this.txtDanzePrice.Value.ToDecimal2();
                            oA_ShebeiWeixiuBLL.UpdateModel(oA_ShebeiWeixiu);
                        }
                    }
                    else
                    {