| | |
| | | new List<FilterEntity>(); |
| | | |
| | | private readonly string _webServiceName = "MesRohInDataManager/"; |
| | | |
| | | public SelectCgMx() |
| | | private string suppCode = ""; |
| | | private string strWhere = ""; |
| | | /// <summary> |
| | | /// 供应商编号 |
| | | /// </summary> |
| | | /// <param name="supp_no"></param> |
| | | public SelectCgMx(string _suppCode, string _strWhere) |
| | | { |
| | | InitializeComponent(); |
| | | this.suppCode = _suppCode; |
| | | this.strWhere = _strWhere; |
| | | pageBar1.PagerEvent += PageBar1_PagerEvent; |
| | | getPageList(1, UtilityHelper.GetPageSize()); |
| | | gridView1.IndicatorWidth = 50; |
| | |
| | | list.Add(_guid); |
| | | } |
| | | } |
| | | |
| | | UpdateParent?.Invoke(this, |
| | | new UpdateParentEventArgs { StringList = list }); |
| | | Close(); |
| | |
| | | private void getPageList(int curPage, int pageSize) |
| | | { |
| | | var _sbSqlWhere = new StringBuilder(); |
| | | _sbSqlWhere.Append(" "); |
| | | foreach (var itm in _filterList) |
| | | _sbSqlWhere.Append(" and " + itm.fileId + itm.fileOper + "'" + |
| | | itm.fileValue + "'"); |