| | |
| | | using DevExpress.XtraEditors; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | using static DevExpress.Data.Mask.Internal.RegExMaskMath.DraftFiniteAutomaton<T>; |
| | | |
| | | namespace Gs.DevApp.DevFrm.PDA |
| | | { |
| | |
| | | { |
| | | private readonly List<FilterEntity> _filterList = new List<FilterEntity>(); |
| | | |
| | | private readonly string _webServiceName = "MesDepotsManager/"; |
| | | private readonly string _webServiceName = "MesSysPageviewManager/"; |
| | | private string userGuid = ""; |
| | | /// <summary> |
| | | /// |
| | |
| | | { |
| | | userGuid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(userGuid), |
| | | bindGuidslist = sbList.ToString(), |
| | | fType = "仓库", |
| | | fType = "PDA页面", |
| | | }; |
| | | try |
| | | { |
| | |
| | | private void getPageList(int curPage) |
| | | { |
| | | var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | var pgq = new PageQueryModel(curPage, 999999, "org.FNumber asc ,a.depot_code", "asc", |
| | | var pgq = new PageQueryModel(curPage, 999999, "a.PAGE_GROUP", "asc", |
| | | "", _sbSqlWhere.ToString()); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | { |
| | | gcMain.DataSource = dt; |
| | | gcMain.ForceInitialize(); |
| | | gridView1.BestFitColumns(); |
| | | gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); |
| | | } |
| | | else |
| | | UtilityHelper.SetDefaultTable(gcMain, gridView1); |