| | |
| | | _loading.Stop(); |
| | | }; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 双击事件 |
| | | /// </summary> |
| | |
| | | toolBarMenu1.guidKey = ""; |
| | | string rowGuid, rowName; |
| | | (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, |
| | | lbGuid, txt_billNo, gridView1); |
| | | lbGuid, txt_billNo, gridView1, "billNo"); |
| | | toolBarMenu1.guidKey = rowGuid; |
| | | if (string.IsNullOrEmpty(rowGuid)) |
| | | { |
| | | MsgHelper.Warning("请先选择你要操作的行!"); |
| | | return; |
| | | } |
| | | if (!MsgHelper.AskQuestion("你选择了【" + rowName + "】,确定提交检验吗?")) |
| | | if (!MsgHelper.AskQuestion("你选择了【" + rowName + "】,确定撤回已提交的检验吗?")) |
| | | return; |
| | | UcLoading _loading = new UcLoading(); |
| | | var _obj = new |
| | |
| | | toolBarMenu1.guidKey = ""; |
| | | string rowGuid, rowName; |
| | | (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, |
| | | lbGuid, txt_billNo, gridView1); |
| | | lbGuid, txt_billNo, gridView1, "billNo"); |
| | | toolBarMenu1.guidKey = rowGuid; |
| | | if (string.IsNullOrEmpty(rowGuid)) |
| | | { |
| | |
| | | _obj.list.Add(new MesInvItemArnDetail |
| | | { |
| | | Guid = _guid, |
| | | AboutGuid = Guid.Parse(row["aboutGuid"].ToString()), |
| | | AboutGuid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(row["aboutGuid"].ToString()), |
| | | ItemId = int.Parse(row["itemId"].ToString()), |
| | | Quantity = decimal.Parse(row["quantity"].ToString()) |
| | | }); |
| | |
| | | gcMx1.BindingContext = new BindingContext(); |
| | | gcMx1.DataSource = dt; |
| | | gcMx1.ForceInitialize(); |
| | | |
| | | } |
| | | else |
| | | { |