提交代码
This commit is contained in:
@@ -50,6 +50,11 @@ namespace FineUIPro.Web.JDGL.Check
|
||||
{
|
||||
this.txtEndDate.Text = string.Format("{0:yyyy-MM-dd}", weekPlan.EndDate);
|
||||
}
|
||||
var lastWeekPlan = (from x in Funs.DB.JDGL_WeekPlan where x.ProjectId == this.CurrUser.LoginProjectId && x.StartDate < weekPlan.StartDate orderby x.StartDate descending select x).FirstOrDefault();
|
||||
if (lastWeekPlan != null)
|
||||
{
|
||||
BindGrid2(lastWeekPlan.WeekNo);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -220,7 +225,7 @@ namespace FineUIPro.Web.JDGL.Check
|
||||
foreach (JObject mergedRow in Grid2.GetMergedData())
|
||||
{
|
||||
JObject values = mergedRow.Value<JObject>("values");
|
||||
int a= mergedRow.Value<int>("index");
|
||||
int a = mergedRow.Value<int>("index");
|
||||
Model.JDGL_WeekPlan ql = BLL.WeekPlanService.GetWeekPlanById(Grid2.Rows[a].RowID);
|
||||
if (!string.IsNullOrEmpty(values.Value<string>("IsOK")))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user