提交代码
This commit is contained in:
@@ -10,7 +10,7 @@ CREATE PROC [dbo].[sp_rpt_CheckResult]
|
||||
AS
|
||||
/*检测结果汇总*/
|
||||
|
||||
select unit.UnitName,jot.WeldJointCode,detectionType.DetectionTypeCode,ndeItem.TotalFilm,ndeItem.PassFilm,
|
||||
select ndeItem.NDEItemID,unit.UnitName,jot.WeldJointCode,detectionType.DetectionTypeCode,ndeItem.TotalFilm,ndeItem.PassFilm,
|
||||
case ndeItem.CheckResult when '1' then '合格' else '不合格' end as CheckResult,pipeline.FlowingSection
|
||||
from HJGL_Batch_NDEItem ndeItem
|
||||
LEFT JOIN dbo.Base_DetectionType detectionType ON detectionType.DetectionTypeId = ndeItem.DetectionTypeId
|
||||
|
||||
@@ -1015,7 +1015,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
|
||||
#region 查找
|
||||
protected void WeldingDateText_OnTextChanged(object sender, EventArgs e)
|
||||
{
|
||||
string perfix = string.Format("{0:yyyyMMdd}", System.DateTime.Now) + "-";
|
||||
string perfix = string.Format("{0:yyyyMMdd}", Funs.GetNewDateTimeOrNow(this.txtWeldingDate.Text.Trim())) + "-";
|
||||
this.txtWeldingDailyCode.Text = BLL.SQLHelper.RunProcNewId("SpGetThreeNumber", "dbo.HJGL_WeldingDaily", "WeldingDailyCode", this.CurrUser.LoginProjectId, perfix);
|
||||
BindGrid(null);
|
||||
}
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="焊工一次合格率"
|
||||
EnableCollapse="true" runat="server" BoxFlex="1" EnableColumnLines="true" DataKeyNames="WeldJointCode"
|
||||
AllowCellEditing="true" ClicksToEdit="2" DataIDField="WeldJointCode" AllowSorting="true"
|
||||
SortField="WeldJointCode" SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="true" ForceFit="true"
|
||||
EnableCollapse="true" runat="server" BoxFlex="1" EnableColumnLines="true" DataKeyNames="NDEItemID"
|
||||
AllowCellEditing="true" ClicksToEdit="2" DataIDField="NDEItemID" AllowSorting="true"
|
||||
SortField="UnitName" SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="true" ForceFit="true"
|
||||
IsDatabasePaging="true" PageSize="15" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableTextSelection="True">
|
||||
<Toolbars>
|
||||
|
||||
Reference in New Issue
Block a user