| | |
| | | string _webServiceName = "WWBlManager/"; |
| | | List<FilterEntity> _filterList = new List<FilterEntity>(); |
| | | public string strType = ""; |
| | | string _ucGys = "";//供应商 |
| | | public WwBlcl(string _strType) |
| | | { |
| | | InitializeComponent(); |
| | |
| | | var orgId = txt_orgId.GetId(); |
| | | if (string.IsNullOrEmpty(orgId)) |
| | | return; |
| | | txt_wwGys.getSuppler(orgId, txt_wwGys.GetId()); |
| | | txt_wwGys.getSuppler(orgId, _ucGys); |
| | | }; |
| | | //选择需要入库的明细 |
| | | btnSelect.Click += (s, e) => |
| | |
| | | gridViews.Add(gvMx1); |
| | | UtilityHelper.CleanValueByControl(this.layoutMx1.Controls, true, gridViews); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); |
| | | //增加时,默认组织 |
| | | string deftOrg = UtilityHelper.GetFirstOrg(txt_orgId); |
| | | } |
| | | /// <summary> |
| | | /// 保存事件 |
| | |
| | | if (_rtn.rtnCode > 0) |
| | | { |
| | | dynamic dy = _rtn.rtnData; |
| | | _ucGys = dy.wwGys; |
| | | 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 = ""; |
| | | JObject _job = JObject.Parse(strJson); |
| | | JArray array = new JArray(); |
| | | foreach (var a in _job["rtnData"]["list"]) |