| | |
| | | string _webServiceName = "MesSctkSqManager/"; |
| | | List<FilterEntity> _filterList = new List<FilterEntity>(); |
| | | string _ucCk = "";//发料仓库 |
| | | string _ucGys = "";//供应商 |
| | | public Frm_MesSctkSq() |
| | | { |
| | | InitializeComponent(); |
| | |
| | | }, lbGuid); |
| | | getPageList(1); |
| | | pageBar1.PagerEvent += PageBar1_PagerEvent; |
| | | //选择库存组织(仓库和供应商) |
| | | //选择库存组织(仓库) |
| | | txt_thOrgId.EditChanged += (s, e) => |
| | | { |
| | | var orgId = txt_thOrgId.GetId(); |
| | |
| | | _row["itemName"] = dym.itemName; |
| | | _row["itemModel"] = dym.itemModel; |
| | | _row["dwName"] = dym.dwName; |
| | | _row["sqNum"] = ""; |
| | | // _row["sqNum"] = ""; |
| | | _row["ysNum"] = "0"; |
| | | _row["remark"] = ""; |
| | | _Table.Rows.Add(_row); |
| | |
| | | gvMx1.PostEditor(); |
| | | gvMx1.UpdateCurrentRow(); |
| | | gvMx1.BestFitColumns(); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gvMx1); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | { |
| | | MsgHelper.Warning("提示:" + ex.Message); |
| | | } |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | if (_rtn.rtnCode > 0) |
| | | { |
| | | dynamic dy = _rtn.rtnData; |
| | | _ucGys = dy.suppId; |
| | | _ucCk = dy.depotId; |
| | | lbGuid.Text = strGuid; |
| | | List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); |
| | | gvList.Add(gvMx1); |
| | | UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy, isEdit, gvList); |
| | | _ucGys = ""; |
| | | _ucCk = ""; |
| | | JObject _job = JObject.Parse(strJson); |
| | | JArray array = new JArray(); |