提交代码

This commit is contained in:
2024-05-15 16:01:09 +08:00
parent d2aee964cc
commit 42f0783efa
14 changed files with 1242 additions and 108 deletions
@@ -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")))
{