提交代码

This commit is contained in:
2023-11-24 12:11:42 +08:00
parent 31d0b92b8f
commit 98701b3991
3 changed files with 5 additions and 5 deletions
@@ -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>