| | |
| | | private void getPageList(int curPage) |
| | | { |
| | | gcMain1.DataSource = null; |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "org.FNumber asc ,a.item_no asc", "", |
| | | "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | |
| | | } |
| | | decimal num = 0; |
| | | int num2 = 0; |
| | | if (!int.TryParse(txt_fSumPeople.Text.Trim(), out num2)) { |
| | | if (!int.TryParse(txt_fSumPeople.Text.Trim(), out num2)) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowInformation("请输入正确的定员!"); |
| | | txt_fSumPeople.Focus(); return; |
| | | } |
| | |
| | | gvList.Add(gvMx1); |
| | | UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, false, gvList); |
| | | toolBarMenu1.currentAction = ""; |
| | | Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 6); |
| | | //Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 6); |
| | | } |
| | | } |
| | | catch (Exception ex) |