| | |
| | | } |
| | | else if (!oA_Staff.BF_IsBaoxiaozhuguan && oA_Staff.BF_Isbaoxiaojingli) |
| | | { |
| | | if (oA_WorkPlan_Shenpis.Count > 2) |
| | | { |
| | | oA_WorkPlan.Nengfoushenpi = 1; |
| | | } |
| | | if (oA_WorkPlan_Shenpis.Count < 2) |
| | | { |
| | | oA_WorkPlan.Nengfoushenpi = 1; |
| | | } |
| | | } |
| | | else if (oA_Staff.BF_IsBaoxiaozhuguan && oA_Staff.BF_Isbaoxiaojingli) |
| | | { |
| | | var oA_WorkPlan_Shenpis1 = oA_WorkPlan_Shenpis.Where(x => x.Buzhou == 1).ToList(); |
| | | |
| | | |
| | | var shenpicount = oA_WorkPlan_Shenpis1.Count(x => x.ApprovalStaffId == CurrentUser.TrueMemberId); |
| | | |
| | | |
| | | |
| | | if(oA_WorkPlan_Shenpis.Count != 2 && ((oA_WorkPlan_Shenpis1.Count > 1) || shenpicount > 0)) |
| | | { |
| | | oA_WorkPlan.Nengfoushenpi = 1; |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | |
| | | } |
| | | this.AllMoney.InnerText = pa.heji1.Value.ToString("0.00"); |
| | | |
| | | |
| | | this.NowMoney.InnerText = oA_WorkPlans.Sum(x => x.PlanMoney).Value.ToString("F2"); |
| | | this.RepClientList.DataSource = oA_WorkPlans; |
| | | this.RepClientList.DataBind(); |