提交代码
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="工程量日常录入" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="DayInputId" AllowCellEditing="true" EnableColumnLines="true"
|
||||
ClicksToEdit="2" DataIDField="DayInputId" AllowSorting="true" SortField="DrawingNo,Part,ProjectContent,Date" ForceFit="true"
|
||||
ClicksToEdit="2" DataIDField="DayInputId" AllowSorting="true" SortField="Date" ForceFit="true"
|
||||
SortDirection="DESC" OnSort="Grid1_Sort"
|
||||
AllowPaging="true" IsDataBasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" EnableTextSelection="true">
|
||||
|
||||
@@ -29,11 +29,7 @@ namespace FineUIPro.Web.CQMS.QuantityManagement
|
||||
/// </summary>
|
||||
public void BindGrid()
|
||||
{
|
||||
string strSql = @"select DayInputId,C.ProjectId,a.WorkSection,DrawingNo,DrawingName,Part,ProjectContent,Unit,Amount,t.TeamGroupName as WorkTeam,C.Date,C.DayAmount
|
||||
from QuantityManagement_DayInput C
|
||||
left join QuantityManagement_Base b on b.BaseId=C.BaseId
|
||||
left join QuantityManagement_Drawing a on a.DrawingId=b.DrawingId
|
||||
left join ProjectData_TeamGroup t on t.TeamGroupId=C.WorkTeam
|
||||
string strSql = @"select * from View_QuantityManagement_DayInputList C
|
||||
where C.ProjectId = @ProjectId";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||
|
||||
Reference in New Issue
Block a user