2023-10-12
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using BLL;
|
||||
using FineUIPro.Web.DataShow;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
@@ -52,7 +53,11 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
Funs.FineUIPleaseSelect(this.dpHandelStatus);
|
||||
btnNew.OnClientClick = Window1.GetShowReference("ChecklistEdit.aspx") + "return false;";
|
||||
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
|
||||
|
||||
if (ProjectUnitService.GetProjectUnitTypeByProjectIdUnitId(this.CurrUser.LoginProjectId, CurrUser.UnitId))
|
||||
{
|
||||
drpSponsorUnit.SelectedValue = CurrUser.UnitId;
|
||||
drpSponsorUnit.Readonly = true;
|
||||
}
|
||||
// 绑定表格
|
||||
BindGrid();
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using Apache.NMS.ActiveMQ.Threads;
|
||||
using BLL;
|
||||
using FineUIPro.Web.DataShow;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
@@ -296,7 +297,8 @@ namespace FineUIPro.Web.CQMS.Check
|
||||
QuestionImg = 0;
|
||||
CheckControlService.Init(drpHandleType, State, false);
|
||||
string code = ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId).ProjectCode + "-06-CM03-XJ-";
|
||||
txtDocCode.Text = BLL.SQLHelper.RunProcNewId("SpGetNewCode5", "dbo.Check_CheckControl", "DocCode", code);
|
||||
txtDocCode.Text = BLL.SQLHelper.RunProcNewId("SpGetNewCode5ByProjectId", "dbo.Check_CheckControl", "DocCode", CurrUser.LoginProjectId, code);
|
||||
|
||||
var mainUnit = BLL.UnitService.GetUnitByProjectIdUnitTypeList(this.CurrUser.LoginProjectId,Const.ProjectUnitType_1)[0];
|
||||
if (mainUnit != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user