| | |
| | | gridViews.Add(gvMx1); |
| | | UtilityHelper.CleanValueByControl(this.layoutMx1.Controls, true, gridViews); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); |
| | | //增加时,默认组织 |
| | | string deftOrg = UtilityHelper.GetFirstOrg(txt_thOrgId); |
| | | |
| | | } |
| | | /// <summary> |
| | | /// 保存事件 |
| | |
| | | AboutGuid = UtilityHelper.ToGuid(row["rkmxGuid"].ToString()), |
| | | Quantity = decimal.Parse(row["sqNum"].ToString()), |
| | | Bz = row["remark"].ToString(), |
| | | DepotId= row["depotId"].ToString(), |
| | | DepotId = row["depotId"].ToString(), |
| | | }); |
| | | } |
| | | } |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage) |
| | | { |
| | | gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | gcMain1.DataSource = null; var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "BILL_NO", "asc", "", _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |