| | |
| | | #endregion |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 来源明细限制, |
| | | /// </summary> |
| | |
| | | string inHz = ucLookHuoZhu1.GetHzId();//货主 |
| | | string inRkyy = txt_qt010.Text.Trim();//入库原因 |
| | | string kcCk = txt_qt008.GetId();//仓库 |
| | | string qtlx = txt_qtlx.Text.Trim();//后来增加的类型 |
| | | string qtlx = txt_qtlx.TextTxt.Trim();//后来增加的类型 |
| | | if (string.IsNullOrEmpty(kcZz)) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择库存组织!"); |
| | |
| | | txt_qt003.Focus(); |
| | | return; |
| | | } |
| | | if (txt_qtlx.SelectedIndex <= 0) |
| | | if (djLx.Length <= 0) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择入库类型!"); |
| | | txt_qtlx.Focus(); |
| | |
| | | _ucHzlx = dy.qt023; |
| | | _ucHz = dy.qt024; |
| | | lbGuid.Text = strGuid; |
| | | ucLookHuoZhu1.SetHzId(_ucHz); |
| | | ucLookHuoZhu1.SetHzLx(_ucHzlx); |
| | | List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); |
| | | gvList.Add(gvMx1); |
| | | gvList.Add(gvMx2); |
| | |
| | | _ucHzlx = ""; |
| | | _ucHz = ""; |
| | | ucLookHuoZhu1.Enabled = isEdit; |
| | | |
| | | JObject _job = JObject.Parse(strJson); |
| | | JArray array = new JArray(); |
| | | foreach (var a in _job["rtnData"]["list"]) |