| | |
| | | using DevExpress.XtraEditors; |
| | | using Gs.DevApp.ToolBox; |
| | | using Gs.DevApp.ToolBox; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace Gs.DevApp.DevFrm.RkQC |
| | | { |
| | | public partial class SelectCqsq : DevExpress.XtraEditors.XtraForm |
| | | { |
| | | private readonly string _webServiceName = "MesInvItemArnManager/"; |
| | | private readonly string _webServiceName = "RkqcSqManager/"; |
| | | private string kcOrgId = ""; |
| | | /// <summary> |
| | | /// |
| | |
| | | { |
| | | gridView1.PostEditor(); |
| | | gridView1.UpdateCurrentRow(); |
| | | var list = new List<string>(); |
| | | var list = new List<dynamic>(); |
| | | DataTable dt = this.gcMain.DataSource as DataTable; |
| | | { |
| | | foreach (DataRow dr in dt.Rows) |
| | | { |
| | | string checkBox = dr["chkInt"].ToString(); |
| | | string _guid = dr["guid"].ToString(); |
| | | string _guid = dr["itemBarGuid"].ToString(); |
| | | if (Gs.DevApp.ToolBox.UtilityHelper.ToCheck(checkBox)) |
| | | { |
| | | list.Add(_guid); |
| | | list.Add(new |
| | | { |
| | | itemBarGuid = _guid, |
| | | itemBarCode = dr["itemBarCode"].ToString(), |
| | | itemModel = dr["itemModel"].ToString(), |
| | | itemName = dr["itemName"].ToString(), |
| | | itemNo = dr["itemNo"].ToString(), |
| | | itemId = dr["itemId"].ToString(), |
| | | itemBarCodeSl = dr["quantity"].ToString(), |
| | | yxqDate = dr["yxqDate"].ToString(), |
| | | syts = dr["syts"].ToString(), |
| | | cjcs = dr["cjcs"].ToString(), |
| | | qckw = dr["qckw"].ToString(), |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringList = list }); Close(); |
| | | UpdateParent?.Invoke(this, new UpdateParentEventArgs { DynamicList = list }); Close(); |
| | | }; |
| | | } |
| | | |