| | |
| | | </runtime> |
| | | |
| | | <appSettings> |
| | | <add key="webapiurl" value="http://localhost:5263/" /> |
| | | <!--<add key="webapiurl" value="http://localhost:5263/" />--> |
| | | <!--<add key="WebApiUrl" value="http://192.168.1.145:8081/" />--> |
| | | <!--<add key="WebApiUrl" value="http://192.168.1.145:81/" />--> |
| | | <add key="WebApiUrl" value="http://192.168.1.145:81/" /> |
| | | <add key="LogPath" value="logs" /> |
| | | <add key="ProductName" value="G-MES V2.0" /> |
| | | <add key="PageSize" value="50" /> |
| | |
| | | this.gridView1.Name = "gridView1"; |
| | | this.gridView1.OptionsFind.ShowSearchNavButtons = false; |
| | | this.gridView1.OptionsView.ShowAutoFilterRow = true; |
| | | this.gridView1.OptionsView.ShowFooter = true; |
| | | this.gridView1.OptionsView.ShowGroupPanel = false; |
| | | // |
| | | // billNo |
| | |
| | | this.quantity.FieldName = "quantity"; |
| | | this.quantity.MinWidth = 24; |
| | | this.quantity.Name = "quantity"; |
| | | this.quantity.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { |
| | | new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "quantity", "SUM={0:0.##}")}); |
| | | this.quantity.Tag = "quantity"; |
| | | this.quantity.Visible = true; |
| | | this.quantity.VisibleIndex = 6; |
| | |
| | | getPageList(1); |
| | | pageBar1.PagerEvent += PageBar1_PagerEvent; |
| | | |
| | | |
| | | this.gridView1.OptionsView.ShowFooter = true; |
| | | this.quantity.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { |
| | | new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "quantity", "SUM={0:0.##}")}); |
| | | } |
| | | private async void GridView1_ColumnFilterChanged(object sender, EventArgs e) |
| | | { |
| | |
| | | this.toolBarMenu1.btnFjieAnClick += ToolBarMenu1_btnFjieAnClick; |
| | | this.toolBarMenu1.btnLockClick += ToolBarMenu1_btnLockClick; |
| | | this.toolBarMenu1.getXmlConfig(); |
| | | //_filterList.Add( |
| | | // new FilterEntity( |
| | | // "a.CAA020", |
| | | // "任务单号)", |
| | | // "like", |
| | | // "包含)", |
| | | // "%1%", |
| | | // "" |
| | | //)); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, this, null, "", (value) => |
| | | { |
| | |
| | | column.UnboundExpression = _sqlFieldType; |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |
| | | //设置查询条件end |