Merge branch 'master' of https://gitee.com/frane-yang/SGGL_SeDin_New
This commit is contained in:
@@ -14379,7 +14379,7 @@
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>0</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>http://localhost:2325/</IISUrl>
|
||||
<IISUrl>http://localhost:8733/</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
|
||||
@@ -103,6 +103,9 @@
|
||||
<f:MenuButton ID="btnView" EnablePostBack="true" runat="server"
|
||||
Text="查看" Icon="Find" OnClick="btnView_Click">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnPrinter" runat="server" EnableAjax="false" DisableControlBeforePostBack="false"
|
||||
Text="导出" Icon="Printer" OnClick="btnPrinter_Click">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
|
||||
Hidden="true" Icon="Delete" ConfirmText="删除选中行?" ConfirmTarget="Parent" runat="server"
|
||||
Text="删除">
|
||||
|
||||
@@ -318,5 +318,16 @@ namespace FineUIPro.Web.HSSE.CostGoods
|
||||
// 绑定表格
|
||||
this.BindGrid();
|
||||
}
|
||||
|
||||
protected void btnPrinter_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
PrinterDocService.PrinterDocMethod(Const.ProjectCostManageMenuId, Grid1.SelectedRowID, "HSSE费用管理");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -185,6 +185,15 @@ namespace FineUIPro.Web.HSSE.CostGoods
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnView;
|
||||
|
||||
/// <summary>
|
||||
/// btnPrinter 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnPrinter;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDelete 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -17,11 +17,9 @@
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpSupCostType" runat="server" Label="类别名称" Required="true" ShowRedStar="true"
|
||||
EnableEdit="true"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="drpSupCostType_SelectedIndexChanged">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpCostType" runat="server" Label="分项名称" Required="true" ShowRedStar="true"
|
||||
EnableEdit="true">
|
||||
<f:DropDownList ID="drpCostType" runat="server" Label="分项名称" Required="true" ShowRedStar="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
Reference in New Issue
Block a user