DevApp/Gs.DevApp/App.config
@@ -28,8 +28,8 @@ </assemblyBinding> </runtime> <appSettings> <!--<add key="WebApiUrl" value="http://localhost:5263/" />--> <add key="WebApiUrl" value="http://192.168.1.145:81/" /> <add key="WebApiUrl" value="http://localhost:5263/" /> <!--<add key="WebApiUrl" value="http://192.168.1.145:81/" />--> <add key="LogPath" value="logs" /> <add key="ProductName" value="G-MES V2.0" /> <add key="PageSize" value="50" /> DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Holidy.Designer.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Holidy.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Holidy.resx
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesDaaDirectOut.Designer.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesDaaDirectOut.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesDaaDirectOut.resx
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesPosition.Designer.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesPosition.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesPosition.resx
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesSctkSq.Designer.cs
@@ -443,7 +443,7 @@ this.txt_returnType.Size = new System.Drawing.Size(165, 24); this.txt_returnType.TabIndex = 533; this.txt_returnType.TextTxt = ""; this.txt_returnType.WhereTxt = "s_type=\'ç产éåºåå \'"; this.txt_returnType.WhereTxt = "a.s_type=\'ç产éåºåå \' and a.pid<>\'00000000-0000-0000-0000-000000000000\'"; // // btnSelect // DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.Designer.cs
@@ -928,7 +928,7 @@ this.txt_msg.Size = new System.Drawing.Size(328, 83); this.txt_msg.TabIndex = 814; this.txt_msg.TextTxt = ""; this.txt_msg.WhereTxt = null; this.txt_msg.WhereTxt = " a.s_type=\'è¿è§ç±»å«\' and a.pid<>\'00000000-0000-0000-0000-000000000000\'"; // // txt_suppId // @@ -2004,7 +2004,7 @@ this.gridColumn10.AppearanceCell.Options.UseForeColor = true; this.gridColumn10.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; this.gridColumn10.AppearanceHeader.Options.UseForeColor = true; this.gridColumn10.Caption = "ç¼ºé·æè¿°"; this.gridColumn10.Caption = "å¼å¸¸æè¿°"; this.gridColumn10.ColumnEdit = this.rptDefectDetails; this.gridColumn10.FieldName = "defectDetails"; this.gridColumn10.MinWidth = 25; DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01.cs
@@ -924,7 +924,7 @@ /// <param name="curPage"></param> private void getRptDefectLevel() { string _where = " and 1=1 and s_type='缺é·ç级'"; string _where = " and 1=1 and a.s_type='缺é·ç级' and a.pid<>'00000000-0000-0000-0000-000000000000'"; var pgq = new PageQueryModel(1, 999999, "a.defect_code", "asc", "", _where); var json = JsonConvert.SerializeObject(pgq); try @@ -952,7 +952,7 @@ var rowhandle = gvMx1.FocusedRowHandle; if (rowhandle < 0) return; UcDictionarySelect frm = new UcDictionarySelect("ç¼ºé·æè¿°", " s_type='FQCç¼ºé·æè¿°'"); UcDictionarySelect frm = new UcDictionarySelect("å¼å¸¸æè¿°", " a.s_type='QCå¼å¸¸æè¿°' and a.pid<>'00000000-0000-0000-0000-000000000000'"); frm.UpdateParent += (ss, ee) => { System.Text.StringBuilder stringBuilder = new System.Text.StringBuilder(); DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.Designer.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/FQC/Frm_FqcDetect01Check.resx
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.cs
@@ -5,7 +5,9 @@ using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Net; using System.Threading.Tasks; using System.Windows.Forms; @@ -21,6 +23,7 @@ this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick; toolBarMenu1.btnOutClick += ToolBarMenu1_btnOutClick; this.toolBarMenu1.getXmlConfig(); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2); @@ -42,6 +45,7 @@ gvMx1.FocusedRowChanged += GvMx1_FocusedRowChanged; btnIpt.Click += BtnIpt_Click; } /// <summary> /// æ¹éå½å ¥ @@ -120,7 +124,62 @@ lbGuid, txt_releaseNo, gridView1); toolBarMenu1.guidKey = rowGuid; } /// <summary> /// å¯¼åº /// </summary> /// <param name="sender"></param> /// <param name="e"></param> /// <exception cref="NotImplementedException"></exception> private void ToolBarMenu1_btnOutClick(object sender, EventArgs e) { string rowGuid = "", rowName = ""; (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_releaseNo, gridView1, "releaseNo"); if (string.IsNullOrEmpty(rowGuid)) { MsgHelper.Warning("请å éæ©ä½ è¦æä½çè¡ï¼"); return; } if (!MsgHelper.AskQuestion("ä½ éæ©äºã" + rowName + "ãï¼ç¡®å®å¯¼åºåï¼")) return; using (FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog()) { folderBrowserDialog.Description = "éæ©å¯¼åºæä»¶çä¿åè·¯å¾"; DialogResult dialogResult = folderBrowserDialog.ShowDialog(); if (dialogResult == DialogResult.OK) { string _folder = folderBrowserDialog.SelectedPath; var _obj = new { guid = rowGuid, }; try { string strJson = UtilityHelper.HttpPost("", "XlsInOut/XlsOutShouJian", JsonConvert.SerializeObject(_obj)); ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); if (_rtn.rtnCode > 0) { string _file = _rtn.rtnData.fileUrl.ToString(); string _folderName = _folder + "\\" + _file.Replace("down/", ""); string _url = ConfigurationManager.AppSettings["WebApiUrl"].ToString() + _file; using (WebClient client = new WebClient()) { client.DownloadFile(_url, _folderName); } ToolBox.MsgHelper.ShowInformation("å¯¼åºæåï¼"); } else { ToolBox.MsgHelper.ShowError("æç¤ºï¼" + _rtn.rtnMsg); } } catch (Exception ex) { ToolBox.MsgHelper.ShowError("æç¤ºï¼" + ex.Message); } } } } /// <summary> /// å·æ°äºä»¶ /// </summary> DevApp/Gs.DevApp/DevFrm/QC/DefectCodeDaa.Designer.cs
ÎļþÃû´Ó DevApp/Gs.DevApp/DevFrm/QC/DefectCodeFqc.Designer.cs ÐÞ¸Ä @@ -1,6 +1,6 @@ namespace Gs.DevApp.DevFrm.QC { partial class DefectCodeFqc partial class DefectCodeDaa { /// <summary> /// Required designer variable. @@ -28,7 +28,7 @@ /// </summary> private void InitializeComponent() { this.defectCode1 = new Gs.DevApp.DevFrm.QC.DefectCode("FQCä¿¡æ¯"); this.defectCode1 = new Gs.DevApp.DevFrm.QC.DefectCode("å·¥ååºç¡èµæ"); this.SuspendLayout(); // // defectCode1 @@ -46,7 +46,7 @@ this.ClientSize = new System.Drawing.Size(1001, 568); this.Controls.Add(this.defectCode1); this.Name = "DefectCodeDic"; this.Text = "åå ¸-FQCä¿¡æ¯"; this.Text = "åå ¸-ä»åºåºç¡èµæ"; this.ResumeLayout(false); } DevApp/Gs.DevApp/DevFrm/QC/DefectCodeDaa.cs
ÎļþÃû´Ó DevApp/Gs.DevApp/DevFrm/QC/DefectCodeDic.cs ÐÞ¸Ä @@ -11,9 +11,9 @@ namespace Gs.DevApp.DevFrm.QC { public partial class DefectCodeDic : DevExpress.XtraEditors.XtraForm public partial class DefectCodeDaa : DevExpress.XtraEditors.XtraForm { public DefectCodeDic() public DefectCodeDaa() { InitializeComponent(); } DevApp/Gs.DevApp/DevFrm/QC/DefectCodeDic.Designer.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/QC/DefectCodeFqc.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/QC/DefectCodeRenZheng.Designer.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/QC/DefectCodeRenZheng.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/QC/DefectCodeRenZheng.resx
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.Designer.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.resx
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01.cs
@@ -6,7 +6,9 @@ using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Net; using System.Threading.Tasks; using System.Windows.Forms; @@ -27,6 +29,7 @@ this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick; toolBarMenu1.btnJianYanClick += ToolBarMenu1_btnJianYanClick; toolBarMenu1.btnOutClick += ToolBarMenu1_btnOutClick; this.toolBarMenu1.getXmlConfig(); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2); @@ -245,7 +248,7 @@ toolBarMenu1.guidKey = ""; string rowGuid, rowName; (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_releaseNo, gridView1, "lotNo"); lbGuid, txt_releaseNo, gridView1, "releaseNo"); toolBarMenu1.guidKey = rowGuid; if (string.IsNullOrEmpty(rowGuid)) { @@ -301,7 +304,62 @@ { Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 1); } /// <summary> /// å¯¼åº /// </summary> /// <param name="sender"></param> /// <param name="e"></param> /// <exception cref="NotImplementedException"></exception> private void ToolBarMenu1_btnOutClick(object sender, EventArgs e) { string rowGuid = "", rowName = ""; (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_releaseNo, gridView1, "releaseNo"); if (string.IsNullOrEmpty(rowGuid)) { MsgHelper.Warning("请å éæ©ä½ è¦æä½çè¡ï¼"); return; } if (!MsgHelper.AskQuestion("ä½ éæ©äºã" + rowName + "ãï¼ç¡®å®å¯¼åºåï¼")) return; using (FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog()) { folderBrowserDialog.Description = "éæ©å¯¼åºæä»¶çä¿åè·¯å¾"; DialogResult dialogResult = folderBrowserDialog.ShowDialog(); if (dialogResult == DialogResult.OK) { string _folder = folderBrowserDialog.SelectedPath; var _obj = new { guid = rowGuid, }; try { string strJson = UtilityHelper.HttpPost("", "XlsInOut/XlsOutIqc", JsonConvert.SerializeObject(_obj)); ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); if (_rtn.rtnCode > 0) { string _file = _rtn.rtnData.fileUrl.ToString(); string _folderName = _folder + "\\" + _file.Replace("down/", ""); string _url = ConfigurationManager.AppSettings["WebApiUrl"].ToString() + _file; using (WebClient client = new WebClient()) { client.DownloadFile(_url, _folderName); } ToolBox.MsgHelper.ShowInformation("å¯¼åºæåï¼"); } else { ToolBox.MsgHelper.ShowError("æç¤ºï¼" + _rtn.rtnMsg); } } catch (Exception ex) { ToolBox.MsgHelper.ShowError("æç¤ºï¼" + ex.Message); } } } } /// <summary> /// å·æ°äºä»¶ DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.Designer.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.resx
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/QC/Jyxm.Designer.cs
@@ -29,18 +29,18 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraLayout.ColumnDefinition columnDefinition9 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.ColumnDefinition columnDefinition10 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.ColumnDefinition columnDefinition11 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.ColumnDefinition columnDefinition12 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition7 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition8 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition9 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.ColumnDefinition columnDefinition4 = new DevExpress.XtraLayout.ColumnDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); @@ -67,8 +67,6 @@ this.layoutMx1 = new DevExpress.XtraDataLayout.DataLayoutControl(); this.btnCopy = new DevExpress.XtraEditors.SimpleButton(); this.lbGuid = new System.Windows.Forms.Label(); this.txt_fSubsidiary = new Gs.DevApp.UserControl.UcLookOrg(); this.txt_itemId = new Gs.DevApp.UserControl.UcLookItems(); this.txt_foneCheckdate = new DevExpress.XtraEditors.TextEdit(); this.txt_foneCheckor = new DevExpress.XtraEditors.TextEdit(); this.txt_itemNo = new DevExpress.XtraEditors.TextEdit(); @@ -77,19 +75,23 @@ this.txt_foneChecked = new DevExpress.XtraEditors.CheckEdit(); this.txt_ftype = new DevExpress.XtraEditors.TextEdit(); this.txt_isenabled = new DevExpress.XtraEditors.CheckEdit(); this.txt_itemId = new DevExpress.XtraEditors.ButtonEdit(); this.txt_mc = new DevExpress.XtraEditors.TextEdit(); this.txt_fSubsidiary = new DevExpress.XtraEditors.TextEdit(); this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.tabMx = new DevExpress.XtraTab.XtraTabControl(); this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage(); this.gcMx1 = new DevExpress.XtraGrid.GridControl(); @@ -120,9 +122,11 @@ this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptStation = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptGroup = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.picCheckBox = new System.Windows.Forms.PictureBox(); this.tips = new DevExpress.Utils.ToolTipController(this.components); this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.xtraTabPage1.SuspendLayout(); @@ -150,19 +154,23 @@ ((System.ComponentModel.ISupportInitialize)(this.txt_foneChecked.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_ftype.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_isenabled.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_itemId.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_mc.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_fSubsidiary.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit(); this.tabMx.SuspendLayout(); this.tabMxPage1.SuspendLayout(); @@ -176,8 +184,9 @@ ((System.ComponentModel.ISupportInitialize)(this.rptJSSP)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptStation)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptGroup)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit(); this.SuspendLayout(); // // toolBarMenu1 @@ -491,8 +500,6 @@ // this.layoutMx1.Controls.Add(this.btnCopy); this.layoutMx1.Controls.Add(this.lbGuid); this.layoutMx1.Controls.Add(this.txt_fSubsidiary); this.layoutMx1.Controls.Add(this.txt_itemId); this.layoutMx1.Controls.Add(this.txt_foneCheckdate); this.layoutMx1.Controls.Add(this.txt_foneCheckor); this.layoutMx1.Controls.Add(this.txt_itemNo); @@ -501,6 +508,9 @@ this.layoutMx1.Controls.Add(this.txt_foneChecked); this.layoutMx1.Controls.Add(this.txt_ftype); this.layoutMx1.Controls.Add(this.txt_isenabled); this.layoutMx1.Controls.Add(this.txt_itemId); this.layoutMx1.Controls.Add(this.txt_mc); this.layoutMx1.Controls.Add(this.txt_fSubsidiary); this.layoutMx1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutMx1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem13}); @@ -530,23 +540,6 @@ this.lbGuid.Size = new System.Drawing.Size(269, 28); this.lbGuid.TabIndex = 387; this.lbGuid.Text = "label1"; // // txt_fSubsidiary // this.txt_fSubsidiary.IsReadly = false; this.txt_fSubsidiary.Location = new System.Drawing.Point(84, 12); this.txt_fSubsidiary.Name = "txt_fSubsidiary"; this.txt_fSubsidiary.Size = new System.Drawing.Size(200, 24); this.txt_fSubsidiary.TabIndex = 383; // // txt_itemId // this.txt_itemId.IsReadly = false; this.txt_itemId.Location = new System.Drawing.Point(84, 43); this.txt_itemId.Name = "txt_itemId"; this.txt_itemId.Size = new System.Drawing.Size(200, 24); this.txt_itemId.TabIndex = 380; this.txt_itemId.Tag = "no"; // // txt_foneCheckdate // @@ -580,10 +573,10 @@ // // txt_memo // this.txt_memo.Location = new System.Drawing.Point(84, 74); this.txt_memo.Location = new System.Drawing.Point(360, 74); this.txt_memo.Name = "txt_memo"; this.txt_memo.Properties.Appearance.Options.UseFont = true; this.txt_memo.Size = new System.Drawing.Size(477, 24); this.txt_memo.Size = new System.Drawing.Size(201, 24); this.txt_memo.StyleController = this.layoutMx1; this.txt_memo.TabIndex = 219; // @@ -625,6 +618,34 @@ this.txt_isenabled.TabIndex = 390; this.txt_isenabled.Tag = "readOnly"; // // txt_itemId // this.txt_itemId.Location = new System.Drawing.Point(84, 12); this.txt_itemId.Name = "txt_itemId"; this.txt_itemId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txt_itemId.Size = new System.Drawing.Size(200, 24); this.txt_itemId.StyleController = this.layoutMx1; this.txt_itemId.TabIndex = 391; // // txt_mc // this.txt_mc.Location = new System.Drawing.Point(84, 43); this.txt_mc.Name = "txt_mc"; this.txt_mc.Size = new System.Drawing.Size(200, 24); this.txt_mc.StyleController = this.layoutMx1; this.txt_mc.TabIndex = 392; this.txt_mc.Tag = "readOnly"; // // txt_fSubsidiary // this.txt_fSubsidiary.Location = new System.Drawing.Point(84, 74); this.txt_fSubsidiary.Name = "txt_fSubsidiary"; this.txt_fSubsidiary.Size = new System.Drawing.Size(200, 24); this.txt_fSubsidiary.StyleController = this.layoutMx1; this.txt_fSubsidiary.TabIndex = 393; this.txt_fSubsidiary.Tag = "readOnly"; // // layoutControlItem13 // this.layoutControlItem13.Control = this.lbGuid; @@ -642,74 +663,45 @@ this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.Root.GroupBordersVisible = false; this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem4, this.layoutControlItem2, this.layoutControlItem10, this.layoutControlItem11, this.layoutControlItem12, this.layoutControlItem14, this.layoutControlItem3, this.layoutControlItem7, this.layoutControlItem5, this.layoutControlItem1, this.layoutControlItem8, this.layoutControlItem5}); this.layoutControlItem2, this.layoutControlItem4, this.layoutControlItem6}); this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; this.Root.Name = "Root"; columnDefinition9.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition9.Width = 100D; columnDefinition10.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition10.Width = 100D; columnDefinition11.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition11.Width = 100D; columnDefinition12.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition12.Width = 100D; columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition1.Width = 100D; columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition2.Width = 100D; columnDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition3.Width = 100D; columnDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition4.Width = 100D; this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { columnDefinition9, columnDefinition10, columnDefinition11, columnDefinition12}); rowDefinition7.Height = 100D; rowDefinition7.SizeType = System.Windows.Forms.SizeType.Percent; rowDefinition8.Height = 100D; rowDefinition8.SizeType = System.Windows.Forms.SizeType.Percent; rowDefinition9.Height = 100D; rowDefinition9.SizeType = System.Windows.Forms.SizeType.Percent; columnDefinition1, columnDefinition2, columnDefinition3, columnDefinition4}); rowDefinition1.Height = 100D; rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; rowDefinition2.Height = 100D; rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; rowDefinition3.Height = 100D; rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { rowDefinition7, rowDefinition8, rowDefinition9}); rowDefinition1, rowDefinition2, rowDefinition3}); this.Root.Size = new System.Drawing.Size(1127, 113); this.Root.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.txt_fSubsidiary; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(276, 31); this.layoutControlItem1.Text = "éæ©ç»ç»"; this.layoutControlItem1.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem4 // this.layoutControlItem4.Control = this.txt_itemId; this.layoutControlItem4.Location = new System.Drawing.Point(0, 31); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1; this.layoutControlItem4.Size = new System.Drawing.Size(276, 31); this.layoutControlItem4.Text = "éæ©ç©æ"; this.layoutControlItem4.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem2 // this.layoutControlItem2.Control = this.txt_memo; this.layoutControlItem2.Location = new System.Drawing.Point(0, 62); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.OptionsTableLayoutItem.ColumnSpan = 2; this.layoutControlItem2.OptionsTableLayoutItem.RowIndex = 2; this.layoutControlItem2.Size = new System.Drawing.Size(553, 31); this.layoutControlItem2.Text = "夿³¨"; this.layoutControlItem2.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem10 // @@ -779,17 +771,6 @@ this.layoutControlItem7.Text = "ç©æç¼ç "; this.layoutControlItem7.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem8 // this.layoutControlItem8.Control = this.txt_gg; this.layoutControlItem8.Location = new System.Drawing.Point(276, 31); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 1; this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 1; this.layoutControlItem8.Size = new System.Drawing.Size(277, 31); this.layoutControlItem8.Text = "ç©æè§æ ¼"; this.layoutControlItem8.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem5 // this.layoutControlItem5.Control = this.txt_isenabled; @@ -801,6 +782,57 @@ this.layoutControlItem5.Text = "å¯ç¨æ è¯"; this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem5.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.txt_itemId; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(276, 31); this.layoutControlItem1.Text = "éæ©ç©æ"; this.layoutControlItem1.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem8 // this.layoutControlItem8.Control = this.txt_gg; this.layoutControlItem8.Location = new System.Drawing.Point(276, 31); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 1; this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 1; this.layoutControlItem8.Size = new System.Drawing.Size(277, 31); this.layoutControlItem8.Text = "ç©æè§æ ¼"; this.layoutControlItem8.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem2 // this.layoutControlItem2.Control = this.txt_memo; this.layoutControlItem2.Location = new System.Drawing.Point(276, 62); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1; this.layoutControlItem2.OptionsTableLayoutItem.RowIndex = 2; this.layoutControlItem2.Size = new System.Drawing.Size(277, 31); this.layoutControlItem2.Text = "夿³¨"; this.layoutControlItem2.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem4 // this.layoutControlItem4.Control = this.txt_mc; this.layoutControlItem4.Location = new System.Drawing.Point(0, 31); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1; this.layoutControlItem4.Size = new System.Drawing.Size(276, 31); this.layoutControlItem4.Text = "ç©æåç§°"; this.layoutControlItem4.TextSize = new System.Drawing.Size(60, 18); // // layoutControlItem6 // this.layoutControlItem6.Control = this.txt_fSubsidiary; this.layoutControlItem6.Location = new System.Drawing.Point(0, 62); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.OptionsTableLayoutItem.RowIndex = 2; this.layoutControlItem6.Size = new System.Drawing.Size(276, 31); this.layoutControlItem6.Text = "使ç¨ç»ç»"; this.layoutControlItem6.TextSize = new System.Drawing.Size(60, 18); // // tabMx // @@ -835,7 +867,8 @@ this.repositoryItemButtonEdit1, this.rptShunXui, this.rptStation, this.repositoryItemCheckEdit1}); this.repositoryItemCheckEdit1, this.rptGroup}); this.gcMx1.Size = new System.Drawing.Size(1125, 413); this.gcMx1.TabIndex = 0; this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { @@ -861,7 +894,8 @@ this.gridColumn19, this.gvMxDel, this.gridColumn6, this.gridColumn9}); this.gridColumn9, this.gridColumn10}); this.gvMx1.GridControl = this.gcMx1; this.gvMx1.Name = "gvMx1"; this.gvMx1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; @@ -1007,8 +1041,6 @@ this.sampleSizeName.Name = "sampleSizeName"; this.sampleSizeName.OptionsColumn.ReadOnly = true; this.sampleSizeName.Tag = "edit"; this.sampleSizeName.Visible = true; this.sampleSizeName.VisibleIndex = 5; this.sampleSizeName.Width = 150; // // gvMx1fcheckLevel @@ -1020,7 +1052,7 @@ this.gvMx1fcheckLevel.Name = "gvMx1fcheckLevel"; this.gvMx1fcheckLevel.Tag = "edit"; this.gvMx1fcheckLevel.Visible = true; this.gvMx1fcheckLevel.VisibleIndex = 6; this.gvMx1fcheckLevel.VisibleIndex = 5; this.gvMx1fcheckLevel.Width = 200; // // rptJYSP @@ -1040,7 +1072,7 @@ this.gvMx1facLevel.Name = "gvMx1facLevel"; this.gvMx1facLevel.Tag = "edit"; this.gvMx1facLevel.Visible = true; this.gvMx1facLevel.VisibleIndex = 7; this.gvMx1facLevel.VisibleIndex = 6; this.gvMx1facLevel.Width = 150; // // rptJSSP @@ -1059,7 +1091,7 @@ this.gvMx1fupAllow.Name = "gvMx1fupAllow"; this.gvMx1fupAllow.Tag = "yz_quantity_0_edit"; this.gvMx1fupAllow.Visible = true; this.gvMx1fupAllow.VisibleIndex = 8; this.gvMx1fupAllow.VisibleIndex = 7; this.gvMx1fupAllow.Width = 60; // // gvMx1fstand @@ -1070,7 +1102,7 @@ this.gvMx1fstand.Name = "gvMx1fstand"; this.gvMx1fstand.Tag = "yz_quantity_0_edit"; this.gvMx1fstand.Visible = true; this.gvMx1fstand.VisibleIndex = 9; this.gvMx1fstand.VisibleIndex = 8; this.gvMx1fstand.Width = 60; // // gvMx1fdownAllow @@ -1081,7 +1113,7 @@ this.gvMx1fdownAllow.Name = "gvMx1fdownAllow"; this.gvMx1fdownAllow.Tag = "yz_quantity_0_edit"; this.gvMx1fdownAllow.Visible = true; this.gvMx1fdownAllow.VisibleIndex = 10; this.gvMx1fdownAllow.VisibleIndex = 9; this.gvMx1fdownAllow.Width = 60; // // gridColumn19 @@ -1091,7 +1123,7 @@ this.gridColumn19.Name = "gridColumn19"; this.gridColumn19.Tag = "edit"; this.gridColumn19.Visible = true; this.gridColumn19.VisibleIndex = 11; this.gridColumn19.VisibleIndex = 10; this.gridColumn19.Width = 94; // // gvMxDel @@ -1107,10 +1139,10 @@ // repositoryItemButtonEdit1 // this.repositoryItemButtonEdit1.AutoHeight = false; editorButtonImageOptions3.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; editorButtonImageOptions3.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "ç§»é¤", -1, true, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "ç§»é¤", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick); @@ -1124,7 +1156,7 @@ this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Tag = "edit"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 12; this.gridColumn6.VisibleIndex = 11; this.gridColumn6.Width = 94; // // rptStation @@ -1143,9 +1175,34 @@ this.gridColumn9.MinWidth = 25; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.Tag = "edit"; this.gridColumn9.UnboundDataType = typeof(bool); this.gridColumn9.Visible = true; this.gridColumn9.VisibleIndex = 13; this.gridColumn9.VisibleIndex = 12; this.gridColumn9.Width = 94; // // repositoryItemCheckEdit1 // this.repositoryItemCheckEdit1.AutoHeight = false; this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1"; // // gridColumn10 // this.gridColumn10.Caption = "æå±å¤§ç±»"; this.gridColumn10.ColumnEdit = this.rptGroup; this.gridColumn10.FieldName = "fcheckType"; this.gridColumn10.MinWidth = 25; this.gridColumn10.Name = "gridColumn10"; this.gridColumn10.Tag = "edit"; this.gridColumn10.Visible = true; this.gridColumn10.VisibleIndex = 13; this.gridColumn10.Width = 94; // // rptGroup // this.rptGroup.AutoHeight = false; this.rptGroup.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rptGroup.Name = "rptGroup"; // // picCheckBox // @@ -1157,11 +1214,6 @@ this.picCheckBox.TabIndex = 6; this.picCheckBox.TabStop = false; this.picCheckBox.Visible = false; // // repositoryItemCheckEdit1 // this.repositoryItemCheckEdit1.AutoHeight = false; this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1"; // // Jyxm // @@ -1199,19 +1251,23 @@ ((System.ComponentModel.ISupportInitialize)(this.txt_foneChecked.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_ftype.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_isenabled.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_itemId.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_mc.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_fSubsidiary.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit(); this.tabMx.ResumeLayout(false); this.tabMxPage1.ResumeLayout(false); @@ -1225,8 +1281,9 @@ ((System.ComponentModel.ISupportInitialize)(this.rptJSSP)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptStation)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptGroup)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit(); this.ResumeLayout(false); } @@ -1255,14 +1312,10 @@ private DevExpress.XtraEditors.SplitContainerControl splitMx1; private DevExpress.XtraDataLayout.DataLayoutControl layoutMx1; private DevExpress.XtraLayout.LayoutControlGroup Root; private UserControl.UcLookOrg txt_fSubsidiary; private UserControl.UcLookItems txt_itemId; private DevExpress.XtraEditors.TextEdit txt_itemNo; private DevExpress.XtraEditors.TextEdit txt_foneCheckdate; private DevExpress.XtraEditors.TextEdit txt_foneCheckor; private DevExpress.XtraEditors.TextEdit txt_memo; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; private DevExpress.XtraEditors.TextEdit txt_gg; private System.Windows.Forms.Label lbGuid; private DevExpress.XtraEditors.CheckEdit txt_foneChecked; @@ -1293,7 +1346,6 @@ private DevExpress.XtraGrid.Columns.GridColumn gvMx1fdownAllow; private DevExpress.XtraGrid.Columns.GridColumn gvMxDel; private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; private DevExpress.XtraGrid.Columns.GridColumn gridColumn16; private DevExpress.XtraGrid.Columns.GridColumn gridColumn18; private DevExpress.XtraGrid.Columns.GridColumn gridColumn19; @@ -1307,11 +1359,20 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; private DevExpress.XtraGrid.Columns.GridColumn gridColumn6; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox rptStation; private DevExpress.XtraGrid.Columns.GridColumn gridColumn9; private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit repositoryItemCheckEdit1; private DevExpress.XtraEditors.ButtonEdit txt_itemId; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; private DevExpress.XtraEditors.TextEdit txt_mc; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; private DevExpress.XtraEditors.TextEdit txt_fSubsidiary; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; private DevExpress.XtraGrid.Columns.GridColumn gridColumn10; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox rptGroup; } } DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
@@ -18,7 +18,6 @@ public partial class Jyxm : DevExpress.XtraEditors.XtraUserControl { private List<FilterEntity> _filterList = new List<FilterEntity>(); string _ucItem = "";//ç©æ private readonly string _webServiceName = "MesQmCheckitemManager/"; public string strType = "";//iqc type public decimal dfValue = 1; //iqcçæ ·åæ°éé»è®¤5ï¼å¦å1 @@ -91,7 +90,7 @@ Gs.DevApp.ToolBox.MsgHelper.ShowInformation("è¯¥é¡¹ç®æªå®¡æ ¸ï¼æä¸è½å¤å¶å°å ¶å®ç©æï¼"); return; } JyxmShow frm = new JyxmShow(lbGuid.Text.Trim(), strType); JyxmShowCopy frm = new JyxmShowCopy(lbGuid.Text.Trim(), strType); frm.ShowDialog(); }; } @@ -257,14 +256,7 @@ private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) { toolBarMenu1.isSetBtn = false; string _orgId = txt_fSubsidiary.GetId(); if (string.IsNullOrEmpty(_orgId)) { MsgHelper.Warning("è¯·éæ©ä½¿ç¨ç»ç»ï¼"); txt_fSubsidiary.Focus(); return; } string _ItemId = txt_itemId.GetId(); string _ItemId = txt_itemId.EditValue.ToString().Trim(); if (string.IsNullOrEmpty(_ItemId)) { MsgHelper.Warning("è¯·éæ©ç©æï¼"); @@ -369,6 +361,7 @@ FdownAllow = Gs.DevApp.ToolBox.UtilityHelper.GetDecimal(row["FdownAllow"].ToString()), ypsl = Gs.DevApp.ToolBox.UtilityHelper.GetDecimal(row["ypsl"].ToString()), stationName = row["stationName"].ToString(), FcheckType = row["FcheckType"].ToString(), isRzxx = _isRzxx, }); } @@ -488,12 +481,10 @@ if (_rtn.rtnCode > 0) { var dy = _rtn.rtnData; _ucItem = dy.itemId; lbGuid.Text = strGuid; var gvList = new List<GridView>(); gvList.Add(gvMx1); UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy, isEdit, gvList); _ucItem = ""; var _job = JObject.Parse(strJson); var array = new JArray(); foreach (var a in _job["rtnData"]["list"]) array.Add(a); @@ -596,19 +587,27 @@ #region 以ä¸ä¸ºç§ç§ä¸æ private void _setIno() { this.txt_fSubsidiary.EditChanged += (s, e) => txt_itemId.Click += (s, e) => { string _orgId = txt_fSubsidiary.GetId(); if (string.IsNullOrEmpty(_orgId)) return; txt_itemId.getSuppler(_orgId, _ucItem, " ", strType); }; txt_itemId.EditChanged += (s, e) => { if (!string.IsNullOrEmpty(this.txt_itemId.GetModel())) txt_gg.Text = this.txt_itemId.GetModel(); if (!string.IsNullOrEmpty(this.txt_itemId.GetCode())) txt_itemNo.Text = this.txt_itemId.GetCode(); var frm = new JyxmShow(this.strType); frm.UpdateParent += (ss, ee) => { try { var lst = new List<dynamic>(); lst = ee.DynamicList; txt_itemId.Text = lst[0].itemId; txt_gg.Text = lst[0].itemModel; txt_mc.Text = lst[0].itemName; txt_itemNo.Text = lst[0].itemNo; txt_fSubsidiary.Text = lst[0].fSubsidiary; } catch (Exception ex) { MessageBox.Show(ex.Message); } }; frm.ShowDialog(); }; _getListJyxm(); _getListJygj(); @@ -616,7 +615,9 @@ _getListJssp(); _getListJysp(); _getListStation(); _getListGroup(); } /// <summary> /// è¯»åæ£éªé¡¹ç® /// </summary> @@ -702,8 +703,6 @@ foreach (DataRow dr in dt.Rows) { rptJYBZ.Items.Add((new CboItemEntity(dr["SampleSizeNo"].ToString(), dr["SampleSizeName"].ToString()))); //rptJYBZ.Items.Add((new CboItemEntity(dr["SampleSizeNo"].ToString(), dr["SampleSizeName"].ToString()))); //string ddddd = dr["SampleSizeName"].ToString(); } } catch (Exception ex) @@ -748,7 +747,22 @@ ,"7.ç¹æ®æ£éªæ°´å¹³(S4)" }); } /// <summary> /// è¯»åæ£éªæ°´å¹³ /// </summary> private void _getListGroup() { rptGroup.Items.AddRange(new string[] { "å¤è§" ,"é¢è²" ,"尺寸" , "å ³é®é¨ä»¶ä¸è´æ§" , "åæ°´æµè¯" ,"å¶çæ§è½" ,"è¿æ°´åå" ,"çµæ°æ§è½" }); } /// <summary> /// å ³èæ£éªæ ååç§° /// </summary> @@ -812,6 +826,5 @@ } } #endregion } } DevApp/Gs.DevApp/DevFrm/QC/JyxmShow.Designer.cs
@@ -33,431 +33,45 @@ DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject(); this.wizardControl1 = new DevExpress.XtraWizard.WizardControl(); this.welcomeWizardPage1 = new DevExpress.XtraWizard.WelcomeWizardPage(); this.gcMx1 = new DevExpress.XtraGrid.GridControl(); this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gvMx1guid = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1pid = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1fcheckItem = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptJYXM = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gvMx1forder = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1memo = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1fcheckTool = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptJYGJ = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gvMx1sampleSizeNo = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptJYBZ = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.sampleSizeName = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1fcheckLevel = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptJYSP = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gvMx1facLevel = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptJSSP = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gvMx1fupAllow = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1fstand = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1fdownAllow = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.wizardPage1 = new DevExpress.XtraWizard.WizardPage(); this.splitLeft = new DevExpress.XtraEditors.SplitContainerControl(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.pageBar1 = new UserControls.Data.UcPageBar(); this.gcMain = new DevExpress.XtraGrid.GridControl(); this.gvMain = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colChkInt = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_salesOrderId = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_orderLineId = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_itemId = new DevExpress.XtraGrid.Columns.GridColumn(); this.panBom = new DevExpress.XtraEditors.PanelControl(); this.pageBar1 = new UserControls.Data.UcPageBar(); this.splitRight = new DevExpress.XtraEditors.SplitContainerControl(); this.btnIn = new DevExpress.XtraEditors.SimpleButton(); this.gcMainCopy = new DevExpress.XtraGrid.GridControl(); this.gvMainCopy = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptBtnDel = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.completionWizardPage1 = new DevExpress.XtraWizard.CompletionWizardPage(); ((System.ComponentModel.ISupportInitialize)(this.wizardControl1)).BeginInit(); this.wizardControl1.SuspendLayout(); this.welcomeWizardPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYXM)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYGJ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYBZ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYSP)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJSSP)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); this.wizardPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitLeft)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitLeft.Panel1)).BeginInit(); this.splitLeft.Panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitLeft.Panel2)).BeginInit(); this.splitLeft.Panel2.SuspendLayout(); this.splitLeft.SuspendLayout(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panBom)).BeginInit(); this.panBom.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitRight)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitRight.Panel1)).BeginInit(); this.splitRight.Panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitRight.Panel2)).BeginInit(); this.splitRight.Panel2.SuspendLayout(); this.splitRight.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcMainCopy)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMainCopy)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptBtnDel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); this.SuspendLayout(); // // wizardControl1 // panelControl1 // this.wizardControl1.CancelText = "åæ¶"; this.wizardControl1.Controls.Add(this.welcomeWizardPage1); this.wizardControl1.Controls.Add(this.wizardPage1); this.wizardControl1.Controls.Add(this.completionWizardPage1); this.wizardControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.wizardControl1.FinishText = "&ä¿å"; this.wizardControl1.ImageOptions.ImageWidth = 100; this.wizardControl1.Margin = new System.Windows.Forms.Padding(4); this.wizardControl1.MinimumSize = new System.Drawing.Size(133, 138); this.wizardControl1.Name = "wizardControl1"; this.wizardControl1.NextText = "&ä¸ä¸æ¥ >"; this.wizardControl1.Pages.AddRange(new DevExpress.XtraWizard.BaseWizardPage[] { this.welcomeWizardPage1, this.wizardPage1, this.completionWizardPage1}); this.wizardControl1.PreviousText = "< &ä¸ä¸æ¥"; this.wizardControl1.Size = new System.Drawing.Size(1038, 718); this.wizardControl1.Text = ""; this.panelControl1.Controls.Add(this.pageBar1); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelControl1.Location = new System.Drawing.Point(0, 642); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(947, 42); this.panelControl1.TabIndex = 0; // // welcomeWizardPage1 // pageBar1 // this.welcomeWizardPage1.Controls.Add(this.gcMx1); this.welcomeWizardPage1.IntroductionText = "该å导ï¼å°æå½åç©æçæ£éªé¡¹ç®ï¼å¤å¶ä¸ä¸ªæå¤ä¸ªç©æï¼å¤å¶è¿ç¨ä¸ï¼è¥éå¤éæ©äºç©æï¼å°èªå¨è¿æ»¤ï¼åªä¼å¤å¶ä¸æ¬¡ï¼"; this.welcomeWizardPage1.Margin = new System.Windows.Forms.Padding(4); this.welcomeWizardPage1.Name = "welcomeWizardPage1"; this.welcomeWizardPage1.ProceedText = "ç¹å» Next ç»§ç»è¿è¡"; this.welcomeWizardPage1.Size = new System.Drawing.Size(898, 553); this.welcomeWizardPage1.Text = "å½åæ£éªé¡¹ç®ä¿¡æ¯"; // // gcMx1 // this.gcMx1.Dock = System.Windows.Forms.DockStyle.Fill; this.gcMx1.Location = new System.Drawing.Point(0, 0); this.gcMx1.MainView = this.gvMx1; this.gcMx1.Name = "gcMx1"; this.gcMx1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.rptJYXM, this.rptJYGJ, this.rptJYBZ, this.rptJSSP, this.rptJYSP, this.repositoryItemButtonEdit1, this.repositoryItemComboBox1}); this.gcMx1.Size = new System.Drawing.Size(898, 553); this.gcMx1.TabIndex = 1; this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvMx1}); // // gvMx1 // this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gvMx1guid, this.gvMx1pid, this.gvMx1fcheckItem, this.gvMx1forder, this.gridColumn5, this.gvMx1memo, this.gvMx1fcheckTool, this.gvMx1sampleSizeNo, this.sampleSizeName, this.gvMx1fcheckLevel, this.gvMx1facLevel, this.gvMx1fupAllow, this.gvMx1fstand, this.gvMx1fdownAllow, this.gridColumn19}); this.gvMx1.GridControl = this.gcMx1; this.gvMx1.Name = "gvMx1"; this.gvMx1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; this.gvMx1.OptionsFind.ShowSearchNavButtons = false; this.gvMx1.OptionsView.ShowGroupPanel = false; // // gvMx1guid // this.gvMx1guid.AppearanceCell.Options.UseFont = true; this.gvMx1guid.Caption = "guid"; this.gvMx1guid.FieldName = "guid"; this.gvMx1guid.Name = "gvMx1guid"; this.gvMx1guid.Tag = "query_a.guid"; this.gvMx1guid.Width = 94; // // gvMx1pid // this.gvMx1pid.AppearanceCell.Options.UseFont = true; this.gvMx1pid.Caption = "pid"; this.gvMx1pid.FieldName = "pid"; this.gvMx1pid.Name = "gvMx1pid"; this.gvMx1pid.Tag = "query_a.pid"; this.gvMx1pid.Width = 94; // // gvMx1fcheckItem // this.gvMx1fcheckItem.AppearanceCell.Options.UseFont = true; this.gvMx1fcheckItem.Caption = "æ£éªé¡¹ç®"; this.gvMx1fcheckItem.ColumnEdit = this.rptJYXM; this.gvMx1fcheckItem.FieldName = "fcheckItem"; this.gvMx1fcheckItem.Name = "gvMx1fcheckItem"; this.gvMx1fcheckItem.Tag = "edit"; this.gvMx1fcheckItem.Visible = true; this.gvMx1fcheckItem.VisibleIndex = 0; this.gvMx1fcheckItem.Width = 150; // // rptJYXM // this.rptJYXM.AutoHeight = false; this.rptJYXM.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rptJYXM.Name = "rptJYXM"; // // gvMx1forder // this.gvMx1forder.AppearanceCell.Options.UseFont = true; this.gvMx1forder.Caption = "顺åº"; this.gvMx1forder.ColumnEdit = this.repositoryItemComboBox1; this.gvMx1forder.FieldName = "forder"; this.gvMx1forder.Name = "gvMx1forder"; this.gvMx1forder.Tag = "yz_quantity_0_edit"; this.gvMx1forder.Visible = true; this.gvMx1forder.VisibleIndex = 1; this.gvMx1forder.Width = 50; // // repositoryItemComboBox1 // this.repositoryItemComboBox1.AutoHeight = false; this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemComboBox1.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"}); this.repositoryItemComboBox1.Name = "repositoryItemComboBox1"; // // gridColumn5 // this.gridColumn5.Caption = "è§æ ¼è¦æ±"; this.gridColumn5.FieldName = "fspecRequ"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.Tag = "edit"; this.gridColumn5.Width = 150; // // gvMx1memo // this.gvMx1memo.AppearanceCell.Options.UseFont = true; this.gvMx1memo.Caption = "æ£éªé¡¹ç®æè¿°"; this.gvMx1memo.FieldName = "memo"; this.gvMx1memo.Name = "gvMx1memo"; this.gvMx1memo.Tag = "edit"; this.gvMx1memo.Width = 150; // // gvMx1fcheckTool // this.gvMx1fcheckTool.AppearanceCell.Options.UseFont = true; this.gvMx1fcheckTool.Caption = "æ£éªå·¥å ·"; this.gvMx1fcheckTool.ColumnEdit = this.rptJYGJ; this.gvMx1fcheckTool.FieldName = "fcheckTool"; this.gvMx1fcheckTool.Name = "gvMx1fcheckTool"; this.gvMx1fcheckTool.Tag = "edit"; this.gvMx1fcheckTool.Visible = true; this.gvMx1fcheckTool.VisibleIndex = 2; this.gvMx1fcheckTool.Width = 150; // // rptJYGJ // this.rptJYGJ.AutoHeight = false; this.rptJYGJ.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rptJYGJ.Name = "rptJYGJ"; this.rptJYGJ.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; // // gvMx1sampleSizeNo // this.gvMx1sampleSizeNo.AppearanceCell.Options.UseFont = true; this.gvMx1sampleSizeNo.Caption = "æ£éªæ ååç§°"; this.gvMx1sampleSizeNo.ColumnEdit = this.rptJYBZ; this.gvMx1sampleSizeNo.FieldName = "sampleSizeName"; this.gvMx1sampleSizeNo.Name = "gvMx1sampleSizeNo"; this.gvMx1sampleSizeNo.Tag = "edit"; this.gvMx1sampleSizeNo.Visible = true; this.gvMx1sampleSizeNo.VisibleIndex = 3; this.gvMx1sampleSizeNo.Width = 150; // // rptJYBZ // this.rptJYBZ.AutoHeight = false; this.rptJYBZ.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rptJYBZ.Name = "rptJYBZ"; this.rptJYBZ.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; // // sampleSizeName // this.sampleSizeName.Caption = "æ£éªæ åç¼ç "; this.sampleSizeName.FieldName = "sampleSizeNo"; this.sampleSizeName.Name = "sampleSizeName"; this.sampleSizeName.OptionsColumn.ReadOnly = true; this.sampleSizeName.Tag = "edit"; this.sampleSizeName.Width = 150; // // gvMx1fcheckLevel // this.gvMx1fcheckLevel.AppearanceCell.Options.UseFont = true; this.gvMx1fcheckLevel.Caption = "æ£éªæ°´å¹³"; this.gvMx1fcheckLevel.ColumnEdit = this.rptJYSP; this.gvMx1fcheckLevel.FieldName = "fcheckLevel"; this.gvMx1fcheckLevel.Name = "gvMx1fcheckLevel"; this.gvMx1fcheckLevel.Tag = "edit"; this.gvMx1fcheckLevel.Visible = true; this.gvMx1fcheckLevel.VisibleIndex = 4; this.gvMx1fcheckLevel.Width = 200; // // rptJYSP // this.rptJYSP.AutoHeight = false; this.rptJYSP.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rptJYSP.Name = "rptJYSP"; this.rptJYSP.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; // // gvMx1facLevel // this.gvMx1facLevel.AppearanceCell.Options.UseFont = true; this.gvMx1facLevel.Caption = "æ¥æ¶æ°´å¹³"; this.gvMx1facLevel.ColumnEdit = this.rptJSSP; this.gvMx1facLevel.FieldName = "facLevel"; this.gvMx1facLevel.Name = "gvMx1facLevel"; this.gvMx1facLevel.Tag = "edit"; this.gvMx1facLevel.Visible = true; this.gvMx1facLevel.VisibleIndex = 5; this.gvMx1facLevel.Width = 150; // // rptJSSP // this.rptJSSP.AutoHeight = false; this.rptJSSP.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rptJSSP.Name = "rptJSSP"; this.rptJSSP.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; // // gvMx1fupAllow // this.gvMx1fupAllow.AppearanceCell.Options.UseFont = true; this.gvMx1fupAllow.Caption = "ä¸é"; this.gvMx1fupAllow.FieldName = "fupAllow"; this.gvMx1fupAllow.Name = "gvMx1fupAllow"; this.gvMx1fupAllow.Tag = "yz_quantity_0_edit"; this.gvMx1fupAllow.Visible = true; this.gvMx1fupAllow.VisibleIndex = 6; this.gvMx1fupAllow.Width = 60; // // gvMx1fstand // this.gvMx1fstand.AppearanceCell.Options.UseFont = true; this.gvMx1fstand.Caption = "æ åå¼"; this.gvMx1fstand.FieldName = "fstand"; this.gvMx1fstand.Name = "gvMx1fstand"; this.gvMx1fstand.Tag = "yz_quantity_0_edit"; this.gvMx1fstand.Visible = true; this.gvMx1fstand.VisibleIndex = 7; this.gvMx1fstand.Width = 60; // // gvMx1fdownAllow // this.gvMx1fdownAllow.AppearanceCell.Options.UseFont = true; this.gvMx1fdownAllow.Caption = "ä¸é"; this.gvMx1fdownAllow.FieldName = "fdownAllow"; this.gvMx1fdownAllow.Name = "gvMx1fdownAllow"; this.gvMx1fdownAllow.Tag = "yz_quantity_0_edit"; this.gvMx1fdownAllow.Visible = true; this.gvMx1fdownAllow.VisibleIndex = 8; this.gvMx1fdownAllow.Width = 60; // // gridColumn19 // this.gridColumn19.Caption = "æ ·ååºæ°"; this.gridColumn19.FieldName = "ypsl"; this.gridColumn19.Name = "gridColumn19"; this.gridColumn19.Tag = "edit"; this.gridColumn19.Visible = true; this.gridColumn19.VisibleIndex = 9; this.gridColumn19.Width = 94; // // repositoryItemButtonEdit1 // this.repositoryItemButtonEdit1.AutoHeight = false; editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "ç§»é¤", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // wizardPage1 // this.wizardPage1.Controls.Add(this.splitLeft); this.wizardPage1.DescriptionText = "ä½ å¯éæ©ä¸ä¸ªæå¤ä¸ªï¼éå¤æå·²è®¾ç½®çç©æï¼ä¿åæ¶å°èªå¨å¿½ç¥"; this.wizardPage1.Margin = new System.Windows.Forms.Padding(4); this.wizardPage1.Name = "wizardPage1"; this.wizardPage1.Size = new System.Drawing.Size(998, 540); this.wizardPage1.Text = "éæ©ç©æ"; // // splitLeft // this.splitLeft.Dock = System.Windows.Forms.DockStyle.Fill; this.splitLeft.Location = new System.Drawing.Point(0, 0); this.splitLeft.Name = "splitLeft"; // // splitLeft.Panel1 // this.splitLeft.Panel1.Controls.Add(this.gcMain); this.splitLeft.Panel1.Controls.Add(this.panBom); this.splitLeft.Panel1.Text = "Panel1"; // // splitLeft.Panel2 // this.splitLeft.Panel2.Controls.Add(this.splitRight); this.splitLeft.Panel2.Text = "Panel2"; this.splitLeft.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; this.splitLeft.Size = new System.Drawing.Size(998, 540); this.splitLeft.SplitterPosition = 519; this.splitLeft.TabIndex = 1; this.pageBar1.CurrentPage = 1; this.pageBar1.Dock = System.Windows.Forms.DockStyle.Fill; this.pageBar1.Location = new System.Drawing.Point(2, 2); this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 7, 3, 7); this.pageBar1.Name = "pageBar1"; this.pageBar1.RecordCount = 0; this.pageBar1.Size = new System.Drawing.Size(943, 38); this.pageBar1.TabIndex = 4; this.pageBar1.TotalPages = 0; // // gcMain // @@ -465,8 +79,10 @@ this.gcMain.Location = new System.Drawing.Point(0, 0); this.gcMain.MainView = this.gvMain; this.gcMain.Name = "gcMain"; this.gcMain.Size = new System.Drawing.Size(519, 496); this.gcMain.TabIndex = 7; this.gcMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemButtonEdit1}); this.gcMain.Size = new System.Drawing.Size(947, 642); this.gcMain.TabIndex = 8; this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvMain}); // @@ -477,29 +93,19 @@ this.gvMain.Appearance.Row.Options.UseFont = true; this.gvMain.ColumnPanelRowHeight = 50; this.gvMain.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colChkInt, this.gv_guid, this.gridColumn1, this.gv2, this.gv_salesOrderId, this.gv_orderLineId, this.gv_itemId}); this.gv_itemId, this.gridColumn2}); this.gvMain.GridControl = this.gcMain; this.gvMain.IndicatorWidth = 50; this.gvMain.Name = "gvMain"; this.gvMain.OptionsFind.ShowSearchNavButtons = false; this.gvMain.OptionsView.ShowAutoFilterRow = true; this.gvMain.OptionsView.ShowGroupPanel = false; // // colChkInt // this.colChkInt.Caption = "."; this.colChkInt.FieldName = "chkInt"; this.colChkInt.MinWidth = 25; this.colChkInt.Name = "colChkInt"; this.colChkInt.Visible = true; this.colChkInt.VisibleIndex = 0; this.colChkInt.Width = 94; // // gv_guid // @@ -531,7 +137,7 @@ this.gv2.OptionsColumn.AllowEdit = false; this.gv2.Tag = "a.id"; this.gv2.Visible = true; this.gv2.VisibleIndex = 1; this.gv2.VisibleIndex = 0; this.gv2.Width = 50; // // gv_salesOrderId @@ -543,7 +149,7 @@ this.gv_salesOrderId.OptionsColumn.AllowEdit = false; this.gv_salesOrderId.Tag = "a.item_no"; this.gv_salesOrderId.Visible = true; this.gv_salesOrderId.VisibleIndex = 2; this.gv_salesOrderId.VisibleIndex = 1; this.gv_salesOrderId.Width = 50; // // gv_orderLineId @@ -555,7 +161,7 @@ this.gv_orderLineId.OptionsColumn.AllowEdit = false; this.gv_orderLineId.Tag = "a.item_name"; this.gv_orderLineId.Visible = true; this.gv_orderLineId.VisibleIndex = 3; this.gv_orderLineId.VisibleIndex = 2; this.gv_orderLineId.Width = 50; // // gv_itemId @@ -566,256 +172,57 @@ this.gv_itemId.Name = "gv_itemId"; this.gv_itemId.OptionsColumn.AllowEdit = false; this.gv_itemId.Tag = "a.item_model"; this.gv_itemId.Visible = true; this.gv_itemId.VisibleIndex = 3; this.gv_itemId.Width = 50; // // panBom // gridColumn2 // this.panBom.Controls.Add(this.pageBar1); this.panBom.Dock = System.Windows.Forms.DockStyle.Bottom; this.panBom.Location = new System.Drawing.Point(0, 496); this.panBom.Name = "panBom"; this.panBom.Size = new System.Drawing.Size(519, 44); this.panBom.TabIndex = 6; this.gridColumn2.Caption = "éæ©"; this.gridColumn2.ColumnEdit = this.repositoryItemButtonEdit1; this.gridColumn2.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; this.gridColumn2.MinWidth = 25; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 5; this.gridColumn2.Width = 94; // // pageBar1 // repositoryItemButtonEdit1 // this.pageBar1.CurrentPage = 1; this.pageBar1.Dock = System.Windows.Forms.DockStyle.Fill; this.pageBar1.Location = new System.Drawing.Point(2, 2); this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 6, 3, 6); this.pageBar1.Name = "pageBar1"; this.pageBar1.RecordCount = 0; this.pageBar1.Size = new System.Drawing.Size(515, 40); this.pageBar1.TabIndex = 3; this.pageBar1.TotalPages = 0; // // splitRight // this.splitRight.Dock = System.Windows.Forms.DockStyle.Fill; this.splitRight.Location = new System.Drawing.Point(0, 0); this.splitRight.Name = "splitRight"; // // splitRight.Panel1 // this.splitRight.Panel1.Controls.Add(this.btnIn); this.splitRight.Panel1.Text = "Panel1"; // // splitRight.Panel2 // this.splitRight.Panel2.Controls.Add(this.gcMainCopy); this.splitRight.Panel2.Text = "Panel2"; this.splitRight.Size = new System.Drawing.Size(467, 540); this.splitRight.SplitterPosition = 45; this.splitRight.TabIndex = 3; // // btnIn // this.btnIn.Appearance.ForeColor = System.Drawing.Color.Blue; this.btnIn.Appearance.Options.UseForeColor = true; this.btnIn.Location = new System.Drawing.Point(4, 199); this.btnIn.Name = "btnIn"; this.btnIn.Size = new System.Drawing.Size(39, 29); this.btnIn.TabIndex = 0; this.btnIn.Text = ">>"; // // gcMainCopy // this.gcMainCopy.Dock = System.Windows.Forms.DockStyle.Fill; this.gcMainCopy.Location = new System.Drawing.Point(0, 0); this.gcMainCopy.MainView = this.gvMainCopy; this.gcMainCopy.Name = "gcMainCopy"; this.gcMainCopy.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.rptBtnDel}); this.gcMainCopy.Size = new System.Drawing.Size(410, 540); this.gcMainCopy.TabIndex = 2; this.gcMainCopy.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvMainCopy}); // // gvMainCopy // this.gvMainCopy.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn11, this.gridColumn12, this.gridColumn13, this.gridColumn14, this.gridColumn15, this.gridColumn6, this.gridColumn9}); this.gvMainCopy.GridControl = this.gcMainCopy; this.gvMainCopy.Name = "gvMainCopy"; this.gvMainCopy.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False; this.gvMainCopy.OptionsFind.ShowSearchNavButtons = false; this.gvMainCopy.OptionsView.ShowGroupPanel = false; // // gridColumn11 // this.gridColumn11.AppearanceCell.Options.UseFont = true; this.gridColumn11.Caption = "使ç¨ç»ç»"; this.gridColumn11.FieldName = "fSubsidiary"; this.gridColumn11.MinWidth = 10; this.gridColumn11.Name = "gridColumn11"; this.gridColumn11.OptionsColumn.ReadOnly = true; this.gridColumn11.Tag = "query_a.FCHECK_ITEM"; this.gridColumn11.Visible = true; this.gridColumn11.VisibleIndex = 0; this.gridColumn11.Width = 150; // // gridColumn12 // this.gridColumn12.Caption = "ç©æID"; this.gridColumn12.FieldName = "id"; this.gridColumn12.MinWidth = 10; this.gridColumn12.Name = "gridColumn12"; this.gridColumn12.OptionsColumn.ReadOnly = true; this.gridColumn12.Tag = "query_a.item_id"; this.gridColumn12.Visible = true; this.gridColumn12.VisibleIndex = 1; this.gridColumn12.Width = 150; // // gridColumn13 // this.gridColumn13.AppearanceCell.Options.UseFont = true; this.gridColumn13.Caption = "ç©æç¼å·"; this.gridColumn13.FieldName = "itemNo"; this.gridColumn13.MinWidth = 10; this.gridColumn13.Name = "gridColumn13"; this.gridColumn13.OptionsColumn.ReadOnly = true; this.gridColumn13.Tag = "query_a.item_no"; this.gridColumn13.Visible = true; this.gridColumn13.VisibleIndex = 2; this.gridColumn13.Width = 150; // // gridColumn14 // this.gridColumn14.AppearanceCell.Options.UseFont = true; this.gridColumn14.Caption = "ç©æåç§°"; this.gridColumn14.FieldName = "itemName"; this.gridColumn14.MinWidth = 10; this.gridColumn14.Name = "gridColumn14"; this.gridColumn14.OptionsColumn.ReadOnly = true; this.gridColumn14.Tag = "query_a.item_name"; this.gridColumn14.Visible = true; this.gridColumn14.VisibleIndex = 3; this.gridColumn14.Width = 150; // // gridColumn15 // this.gridColumn15.AppearanceCell.Options.UseFont = true; this.gridColumn15.Caption = "è§æ ¼åå·"; this.gridColumn15.FieldName = "itemModel"; this.gridColumn15.MinWidth = 10; this.gridColumn15.Name = "gridColumn15"; this.gridColumn15.OptionsColumn.ReadOnly = true; this.gridColumn15.Tag = "query_a.item_model"; this.gridColumn15.Width = 150; // // gridColumn6 // this.gridColumn6.Caption = "ç§»åº"; this.gridColumn6.ColumnEdit = this.rptBtnDel; this.gridColumn6.MinWidth = 25; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 4; this.gridColumn6.Width = 94; // // rptBtnDel // this.rptBtnDel.AutoHeight = false; editorButtonImageOptions2.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; editorButtonImageOptions2.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.rptBtnDel.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "ç§»åº", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); this.rptBtnDel.Name = "rptBtnDel"; this.rptBtnDel.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.rptBtnDel.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.rptBtnDel_ButtonClick); // // gridColumn9 // this.gridColumn9.Caption = "gridColumn9"; this.gridColumn9.FieldName = "guid"; this.gridColumn9.MinWidth = 25; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.Width = 94; // // completionWizardPage1 // this.completionWizardPage1.FinishText = "æå䏿¥ï¼ç¹å»âä¿åâ宿æä½"; this.completionWizardPage1.Margin = new System.Windows.Forms.Padding(4); this.completionWizardPage1.Name = "completionWizardPage1"; this.completionWizardPage1.ProceedText = "ç¹å»âä¿åâ宿æä½"; this.completionWizardPage1.Size = new System.Drawing.Size(898, 553); this.completionWizardPage1.Text = "ä¿åä¿¡æ¯"; this.repositoryItemButtonEdit1.AutoHeight = false; editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.checkbox2_16x16; editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "éæ©", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick); // // JyxmShow // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1038, 718); this.Controls.Add(this.wizardControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Margin = new System.Windows.Forms.Padding(4); this.ClientSize = new System.Drawing.Size(947, 684); this.Controls.Add(this.gcMain); this.Controls.Add(this.panelControl1); this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "JyxmShow"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "æ£éªé¡¹ç®å¤å¶"; ((System.ComponentModel.ISupportInitialize)(this.wizardControl1)).EndInit(); this.wizardControl1.ResumeLayout(false); this.welcomeWizardPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYXM)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYGJ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYBZ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYSP)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJSSP)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); this.wizardPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitLeft.Panel1)).EndInit(); this.splitLeft.Panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitLeft.Panel2)).EndInit(); this.splitLeft.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitLeft)).EndInit(); this.splitLeft.ResumeLayout(false); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "JyxmShow2"; ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panBom)).EndInit(); this.panBom.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitRight.Panel1)).EndInit(); this.splitRight.Panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitRight.Panel2)).EndInit(); this.splitRight.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitRight)).EndInit(); this.splitRight.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcMainCopy)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMainCopy)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptBtnDel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); this.ResumeLayout(false); } #endregion private DevExpress.XtraWizard.WizardControl wizardControl1; private DevExpress.XtraWizard.WelcomeWizardPage welcomeWizardPage1; private DevExpress.XtraWizard.WizardPage wizardPage1; private DevExpress.XtraWizard.CompletionWizardPage completionWizardPage1; private DevExpress.XtraEditors.SplitContainerControl splitLeft; private DevExpress.XtraGrid.GridControl gcMainCopy; private DevExpress.XtraGrid.Views.Grid.GridView gvMainCopy; private DevExpress.XtraGrid.Columns.GridColumn gridColumn11; private DevExpress.XtraGrid.Columns.GridColumn gridColumn12; private DevExpress.XtraGrid.Columns.GridColumn gridColumn13; private DevExpress.XtraGrid.Columns.GridColumn gridColumn14; private DevExpress.XtraGrid.Columns.GridColumn gridColumn15; private DevExpress.XtraGrid.Columns.GridColumn gridColumn6; private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit rptBtnDel; private DevExpress.XtraGrid.Columns.GridColumn gridColumn9; private DevExpress.XtraEditors.SplitContainerControl splitRight; private DevExpress.XtraEditors.SimpleButton btnIn; private DevExpress.XtraEditors.PanelControl panBom; private DevExpress.XtraEditors.PanelControl panelControl1; private DevExpress.XtraGrid.GridControl gcMain; private DevExpress.XtraGrid.Views.Grid.GridView gvMain; private DevExpress.XtraGrid.Columns.GridColumn gv_guid; @@ -825,30 +232,7 @@ private DevExpress.XtraGrid.Columns.GridColumn gv_orderLineId; private DevExpress.XtraGrid.Columns.GridColumn gv_itemId; private UserControls.Data.UcPageBar pageBar1; private DevExpress.XtraGrid.Columns.GridColumn colChkInt; private DevExpress.XtraGrid.GridControl gcMx1; private DevExpress.XtraGrid.Views.Grid.GridView gvMx1; private DevExpress.XtraGrid.Columns.GridColumn gvMx1guid; private DevExpress.XtraGrid.Columns.GridColumn gvMx1pid; private DevExpress.XtraGrid.Columns.GridColumn gvMx1fcheckItem; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox rptJYXM; private DevExpress.XtraGrid.Columns.GridColumn gvMx1forder; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox1; private DevExpress.XtraGrid.Columns.GridColumn gridColumn5; private DevExpress.XtraGrid.Columns.GridColumn gvMx1memo; private DevExpress.XtraGrid.Columns.GridColumn gvMx1fcheckTool; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox rptJYGJ; private DevExpress.XtraGrid.Columns.GridColumn gvMx1sampleSizeNo; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox rptJYBZ; private DevExpress.XtraGrid.Columns.GridColumn sampleSizeName; private DevExpress.XtraGrid.Columns.GridColumn gvMx1fcheckLevel; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox rptJYSP; private DevExpress.XtraGrid.Columns.GridColumn gvMx1facLevel; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox rptJSSP; private DevExpress.XtraGrid.Columns.GridColumn gvMx1fupAllow; private DevExpress.XtraGrid.Columns.GridColumn gvMx1fstand; private DevExpress.XtraGrid.Columns.GridColumn gvMx1fdownAllow; private DevExpress.XtraGrid.Columns.GridColumn gridColumn19; private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; } } DevApp/Gs.DevApp/DevFrm/QC/JyxmShow.cs
@@ -1,8 +1,6 @@ using DevExpress.XtraGrid.Views.Grid; using Gs.DevApp.Entity; using Gs.DevApp.Entity; using Gs.DevApp.ToolBox; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Data; @@ -15,116 +13,21 @@ { private List<FilterEntity> _filterList = new List<FilterEntity>(); private readonly string _webServiceName = "MesQmCheckitemManager/"; private string strType = "";//iqc,ipqc,fqc private string sourceGuid = "";//æºguid public string strType = "";//iqc type /// <summary> /// /// </summary> /// <param name="_sourceGuid"></param> /// <param name="_strType"></param> public JyxmShow(string _sourceGuid, string _strType) public JyxmShow(string strType) { InitializeComponent(); strType = _strType; sourceGuid = _sourceGuid; this.gvMain.CustomDrawColumnHeader += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomDrawColumnHeader(s, e); }; this.gvMain.MouseUp += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomMouseUp(s, e, gcMain, gvMain); }; this.colChkInt.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colChkInt.OptionsFilter.AllowAutoFilter = false; this.colChkInt.OptionsFilter.AllowFilter = false; this.colChkInt.OptionsFilter.AllowInHeaderSearch = DevExpress.Utils.DefaultBoolean.False; this.pageBar1.setBar(false); this.strType = strType; this.Text = "éæ©ç©æ-" + strType; getPageList(1); getModel(_sourceGuid); pageBar1.PagerEvent += PageBar1_PagerEvent; Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gvMain); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gvMainCopy); UtilityHelper.SetDefaultTable(gcMainCopy, gvMainCopy); btnIn.Click += (s, e) => { gvMain.PostEditor(); gvMain.UpdateCurrentRow(); var list = new List<string>(); DataTable _oldTable = (DataTable)gcMainCopy.DataSource; DataTable dt = this.gcMain.DataSource as DataTable; { foreach (DataRow dr in dt.Rows) { string checkBox = dr["chkInt"].ToString(); if (Gs.DevApp.ToolBox.UtilityHelper.ToCheck(checkBox)) { _oldTable.ImportRow(dr); } } } if (_oldTable.Rows.Count <= 0) { MsgHelper.ShowInformation("è¯·éæ©ä½ éè¦å¤å¶çç©æï¼"); return; } gcMainCopy.BindingContext = new BindingContext(); gcMainCopy.DataSource = _oldTable; gcMainCopy.ForceInitialize(); gvMainCopy.BestFitColumns(); }; this.wizardControl1.FinishClick += (s, e) => { int _rows = gvMainCopy.RowCount; if (_rows <= 0) { MsgHelper.ShowInformation("è¯·éæ©ä½ éè¦å¤å¶çç©æï¼"); e.Cancel = true; return; } if (!MsgHelper.AskQuestion("ä½ éæ©äº" + _rows.ToString() + "æ¡æ°æ®ï¼ç¡®å®ä¿ååï¼")) { e.Cancel = true; return; } System.Text.StringBuilder _sbGuids = new System.Text.StringBuilder(); for (var i = 0; i < gvMainCopy.DataRowCount; i++) { var row = gvMainCopy.GetDataRow(i); if (_sbGuids.Length > 0) _sbGuids.Append(","); Guid? _guid = UtilityHelper.ToGuid(row["guid"].ToString()); _sbGuids.Append(_guid.ToString()); } var _obj = new { sourceGuid = UtilityHelper.ToGuid(sourceGuid), itemGuids = _sbGuids.ToString(), iqcType = this.strType, }; try { var strJson = UtilityHelper.HttpPost("", _webServiceName + "ItemsComyMx", JsonConvert.SerializeObject(_obj)); var _rtn = UtilityHelper.ReturnToDynamic(strJson); MsgHelper.Warning("æç¤ºï¼" + _rtn.rtnMsg); if (_rtn.rtnCode > 0) { UtilityHelper.SetDefaultTable(gcMainCopy, gvMainCopy); } } catch (Exception ex) { MsgHelper.Warning("æç¤ºï¼" + ex.Message); } }; this.wizardControl1.NextClick += (s, e) => { string pageText = e.Page.Text; if (pageText == "éæ©ç©æ") { int _rows = gvMainCopy.RowCount; if (_rows <= 0) { MsgHelper.ShowInformation("è¯·éæ©ä½ éè¦å¤å¶çç©æï¼"); e.Handled = true; return; } } }; } #region æºç©ææ°æ®ç»å® @@ -152,9 +55,8 @@ /// <param name="pageSize">æ¯é¡µå æ¡</param> private void getPageList(int curPage) { gcMain.DataSource = null; gcMain.DataSource = null; var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); //_sbSqlWhere += " and q.guid is null"; var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_no", "asc", "", _sbSqlWhere.ToString(), strType); var json = JsonConvert.SerializeObject(pgq); try @@ -192,73 +94,44 @@ #endregion private void getModel(string strGuid) { var _obj = new { guid = strGuid //主建 }; try { var strJson = UtilityHelper.HttpPost("", _webServiceName + "GetModel", JsonConvert.SerializeObject(_obj)); var _rtn = UtilityHelper.ReturnToDynamic(strJson); if (_rtn.rtnCode > 0) { var dy = _rtn.rtnData; var gvList = new List<GridView>(); gvList.Add(gvMx1); var _job = JObject.Parse(strJson); var array = new JArray(); foreach (var a in _job["rtnData"]["list"]) array.Add(a); var dt = JsonConvert.DeserializeObject<DataTable>(array.ToString()); if (dt.Rows.Count > 0) { gcMx1.BindingContext = new BindingContext(); gcMx1.DataSource = dt; gcMx1.ForceInitialize(); gvMx1.BestFitColumns(); } else { UtilityHelper.SetDefaultTable(gcMx1, gvMx1); } UtilityHelper.SetDefaultTable(gcMainCopy, gvMainCopy); } else { MsgHelper.Warning("æç¤ºï¼" + _rtn.rtnMsg); } } catch (Exception ex) { MsgHelper.Warning("æç¤ºï¼" + ex.Message); } } /// <summary> /// å é¤å¤å¶é¡¹ /// ç¡®å®éæ© /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void rptBtnDel_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { gvMainCopy.CloseEditor(); gvMainCopy.UpdateCurrentRow(); var rowhandle = gvMainCopy.FocusedRowHandle; var rowhandle = gvMain.FocusedRowHandle; if (rowhandle < 0) return; if (e.Button.Index == 0) { var dr = gvMainCopy.GetDataRow(rowhandle); if (!MsgHelper.AskQuestion("ä½ éæ©äº1æ¡æ°æ®ï¼ç¡®å®å é¤åï¼")) var dr = gvMain.GetDataRow(rowhandle); var mxGuid = dr["guid"].ToString(); if (string.IsNullOrEmpty(mxGuid)) { return; gvMainCopy.DeleteRow(rowhandle); return; } var list = new List<dynamic>(); list.Add(new { guid = dr["guid"].ToString(), itemId = dr["id"].ToString(), itemName = dr["itemName"].ToString(), itemNo = dr["itemNo"].ToString(), itemModel = dr["itemModel"].ToString(), fSubsidiary= dr["fSubsidiary"].ToString(), }); UpdateParent?.Invoke(this, new UpdateParentEventArgs { DynamicList = list }); Close(); } } /// <summary> /// éæ©åçåè°äºä»¶ /// </summary> public event EventHandler<UpdateParentEventArgs> UpdateParent; } } DevApp/Gs.DevApp/DevFrm/QC/JyxmShowCopy.Designer.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,854 @@ namespace Gs.DevApp.DevFrm.QC { partial class JyxmShowCopy { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject(); this.wizardControl1 = new DevExpress.XtraWizard.WizardControl(); this.welcomeWizardPage1 = new DevExpress.XtraWizard.WelcomeWizardPage(); this.gcMx1 = new DevExpress.XtraGrid.GridControl(); this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gvMx1guid = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1pid = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1fcheckItem = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptJYXM = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gvMx1forder = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1memo = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1fcheckTool = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptJYGJ = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gvMx1sampleSizeNo = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptJYBZ = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.sampleSizeName = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1fcheckLevel = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptJYSP = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gvMx1facLevel = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptJSSP = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gvMx1fupAllow = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1fstand = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1fdownAllow = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.wizardPage1 = new DevExpress.XtraWizard.WizardPage(); this.splitLeft = new DevExpress.XtraEditors.SplitContainerControl(); this.gcMain = new DevExpress.XtraGrid.GridControl(); this.gvMain = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colChkInt = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_salesOrderId = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_orderLineId = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_itemId = new DevExpress.XtraGrid.Columns.GridColumn(); this.panBom = new DevExpress.XtraEditors.PanelControl(); this.pageBar1 = new UserControls.Data.UcPageBar(); this.splitRight = new DevExpress.XtraEditors.SplitContainerControl(); this.btnIn = new DevExpress.XtraEditors.SimpleButton(); this.gcMainCopy = new DevExpress.XtraGrid.GridControl(); this.gvMainCopy = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptBtnDel = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.completionWizardPage1 = new DevExpress.XtraWizard.CompletionWizardPage(); ((System.ComponentModel.ISupportInitialize)(this.wizardControl1)).BeginInit(); this.wizardControl1.SuspendLayout(); this.welcomeWizardPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYXM)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYGJ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYBZ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYSP)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJSSP)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); this.wizardPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitLeft)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitLeft.Panel1)).BeginInit(); this.splitLeft.Panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitLeft.Panel2)).BeginInit(); this.splitLeft.Panel2.SuspendLayout(); this.splitLeft.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panBom)).BeginInit(); this.panBom.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitRight)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitRight.Panel1)).BeginInit(); this.splitRight.Panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitRight.Panel2)).BeginInit(); this.splitRight.Panel2.SuspendLayout(); this.splitRight.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcMainCopy)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMainCopy)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptBtnDel)).BeginInit(); this.SuspendLayout(); // // wizardControl1 // this.wizardControl1.CancelText = "åæ¶"; this.wizardControl1.Controls.Add(this.welcomeWizardPage1); this.wizardControl1.Controls.Add(this.wizardPage1); this.wizardControl1.Controls.Add(this.completionWizardPage1); this.wizardControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.wizardControl1.FinishText = "&ä¿å"; this.wizardControl1.ImageOptions.ImageWidth = 100; this.wizardControl1.Margin = new System.Windows.Forms.Padding(4); this.wizardControl1.MinimumSize = new System.Drawing.Size(133, 138); this.wizardControl1.Name = "wizardControl1"; this.wizardControl1.NextText = "&ä¸ä¸æ¥ >"; this.wizardControl1.Pages.AddRange(new DevExpress.XtraWizard.BaseWizardPage[] { this.welcomeWizardPage1, this.wizardPage1, this.completionWizardPage1}); this.wizardControl1.PreviousText = "< &ä¸ä¸æ¥"; this.wizardControl1.Size = new System.Drawing.Size(1038, 718); this.wizardControl1.Text = ""; // // welcomeWizardPage1 // this.welcomeWizardPage1.Controls.Add(this.gcMx1); this.welcomeWizardPage1.IntroductionText = "该å导ï¼å°æå½åç©æçæ£éªé¡¹ç®ï¼å¤å¶ä¸ä¸ªæå¤ä¸ªç©æï¼å¤å¶è¿ç¨ä¸ï¼è¥éå¤éæ©äºç©æï¼å°èªå¨è¿æ»¤ï¼åªä¼å¤å¶ä¸æ¬¡ï¼"; this.welcomeWizardPage1.Margin = new System.Windows.Forms.Padding(4); this.welcomeWizardPage1.Name = "welcomeWizardPage1"; this.welcomeWizardPage1.ProceedText = "ç¹å» Next ç»§ç»è¿è¡"; this.welcomeWizardPage1.Size = new System.Drawing.Size(898, 553); this.welcomeWizardPage1.Text = "å½åæ£éªé¡¹ç®ä¿¡æ¯"; // // gcMx1 // this.gcMx1.Dock = System.Windows.Forms.DockStyle.Fill; this.gcMx1.Location = new System.Drawing.Point(0, 0); this.gcMx1.MainView = this.gvMx1; this.gcMx1.Name = "gcMx1"; this.gcMx1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.rptJYXM, this.rptJYGJ, this.rptJYBZ, this.rptJSSP, this.rptJYSP, this.repositoryItemButtonEdit1, this.repositoryItemComboBox1}); this.gcMx1.Size = new System.Drawing.Size(898, 553); this.gcMx1.TabIndex = 1; this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvMx1}); // // gvMx1 // this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gvMx1guid, this.gvMx1pid, this.gvMx1fcheckItem, this.gvMx1forder, this.gridColumn5, this.gvMx1memo, this.gvMx1fcheckTool, this.gvMx1sampleSizeNo, this.sampleSizeName, this.gvMx1fcheckLevel, this.gvMx1facLevel, this.gvMx1fupAllow, this.gvMx1fstand, this.gvMx1fdownAllow, this.gridColumn19}); this.gvMx1.GridControl = this.gcMx1; this.gvMx1.Name = "gvMx1"; this.gvMx1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; this.gvMx1.OptionsFind.ShowSearchNavButtons = false; this.gvMx1.OptionsView.ShowGroupPanel = false; // // gvMx1guid // this.gvMx1guid.AppearanceCell.Options.UseFont = true; this.gvMx1guid.Caption = "guid"; this.gvMx1guid.FieldName = "guid"; this.gvMx1guid.Name = "gvMx1guid"; this.gvMx1guid.Tag = "query_a.guid"; this.gvMx1guid.Width = 94; // // gvMx1pid // this.gvMx1pid.AppearanceCell.Options.UseFont = true; this.gvMx1pid.Caption = "pid"; this.gvMx1pid.FieldName = "pid"; this.gvMx1pid.Name = "gvMx1pid"; this.gvMx1pid.Tag = "query_a.pid"; this.gvMx1pid.Width = 94; // // gvMx1fcheckItem // this.gvMx1fcheckItem.AppearanceCell.Options.UseFont = true; this.gvMx1fcheckItem.Caption = "æ£éªé¡¹ç®"; this.gvMx1fcheckItem.ColumnEdit = this.rptJYXM; this.gvMx1fcheckItem.FieldName = "fcheckItem"; this.gvMx1fcheckItem.Name = "gvMx1fcheckItem"; this.gvMx1fcheckItem.Tag = "edit"; this.gvMx1fcheckItem.Visible = true; this.gvMx1fcheckItem.VisibleIndex = 0; this.gvMx1fcheckItem.Width = 150; // // rptJYXM // this.rptJYXM.AutoHeight = false; this.rptJYXM.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rptJYXM.Name = "rptJYXM"; // // gvMx1forder // this.gvMx1forder.AppearanceCell.Options.UseFont = true; this.gvMx1forder.Caption = "顺åº"; this.gvMx1forder.ColumnEdit = this.repositoryItemComboBox1; this.gvMx1forder.FieldName = "forder"; this.gvMx1forder.Name = "gvMx1forder"; this.gvMx1forder.Tag = "yz_quantity_0_edit"; this.gvMx1forder.Visible = true; this.gvMx1forder.VisibleIndex = 1; this.gvMx1forder.Width = 50; // // repositoryItemComboBox1 // this.repositoryItemComboBox1.AutoHeight = false; this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemComboBox1.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"}); this.repositoryItemComboBox1.Name = "repositoryItemComboBox1"; // // gridColumn5 // this.gridColumn5.Caption = "è§æ ¼è¦æ±"; this.gridColumn5.FieldName = "fspecRequ"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.Tag = "edit"; this.gridColumn5.Width = 150; // // gvMx1memo // this.gvMx1memo.AppearanceCell.Options.UseFont = true; this.gvMx1memo.Caption = "æ£éªé¡¹ç®æè¿°"; this.gvMx1memo.FieldName = "memo"; this.gvMx1memo.Name = "gvMx1memo"; this.gvMx1memo.Tag = "edit"; this.gvMx1memo.Width = 150; // // gvMx1fcheckTool // this.gvMx1fcheckTool.AppearanceCell.Options.UseFont = true; this.gvMx1fcheckTool.Caption = "æ£éªå·¥å ·"; this.gvMx1fcheckTool.ColumnEdit = this.rptJYGJ; this.gvMx1fcheckTool.FieldName = "fcheckTool"; this.gvMx1fcheckTool.Name = "gvMx1fcheckTool"; this.gvMx1fcheckTool.Tag = "edit"; this.gvMx1fcheckTool.Visible = true; this.gvMx1fcheckTool.VisibleIndex = 2; this.gvMx1fcheckTool.Width = 150; // // rptJYGJ // this.rptJYGJ.AutoHeight = false; this.rptJYGJ.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rptJYGJ.Name = "rptJYGJ"; this.rptJYGJ.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; // // gvMx1sampleSizeNo // this.gvMx1sampleSizeNo.AppearanceCell.Options.UseFont = true; this.gvMx1sampleSizeNo.Caption = "æ£éªæ ååç§°"; this.gvMx1sampleSizeNo.ColumnEdit = this.rptJYBZ; this.gvMx1sampleSizeNo.FieldName = "sampleSizeName"; this.gvMx1sampleSizeNo.Name = "gvMx1sampleSizeNo"; this.gvMx1sampleSizeNo.Tag = "edit"; this.gvMx1sampleSizeNo.Visible = true; this.gvMx1sampleSizeNo.VisibleIndex = 3; this.gvMx1sampleSizeNo.Width = 150; // // rptJYBZ // this.rptJYBZ.AutoHeight = false; this.rptJYBZ.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rptJYBZ.Name = "rptJYBZ"; this.rptJYBZ.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; // // sampleSizeName // this.sampleSizeName.Caption = "æ£éªæ åç¼ç "; this.sampleSizeName.FieldName = "sampleSizeNo"; this.sampleSizeName.Name = "sampleSizeName"; this.sampleSizeName.OptionsColumn.ReadOnly = true; this.sampleSizeName.Tag = "edit"; this.sampleSizeName.Width = 150; // // gvMx1fcheckLevel // this.gvMx1fcheckLevel.AppearanceCell.Options.UseFont = true; this.gvMx1fcheckLevel.Caption = "æ£éªæ°´å¹³"; this.gvMx1fcheckLevel.ColumnEdit = this.rptJYSP; this.gvMx1fcheckLevel.FieldName = "fcheckLevel"; this.gvMx1fcheckLevel.Name = "gvMx1fcheckLevel"; this.gvMx1fcheckLevel.Tag = "edit"; this.gvMx1fcheckLevel.Visible = true; this.gvMx1fcheckLevel.VisibleIndex = 4; this.gvMx1fcheckLevel.Width = 200; // // rptJYSP // this.rptJYSP.AutoHeight = false; this.rptJYSP.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rptJYSP.Name = "rptJYSP"; this.rptJYSP.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; // // gvMx1facLevel // this.gvMx1facLevel.AppearanceCell.Options.UseFont = true; this.gvMx1facLevel.Caption = "æ¥æ¶æ°´å¹³"; this.gvMx1facLevel.ColumnEdit = this.rptJSSP; this.gvMx1facLevel.FieldName = "facLevel"; this.gvMx1facLevel.Name = "gvMx1facLevel"; this.gvMx1facLevel.Tag = "edit"; this.gvMx1facLevel.Visible = true; this.gvMx1facLevel.VisibleIndex = 5; this.gvMx1facLevel.Width = 150; // // rptJSSP // this.rptJSSP.AutoHeight = false; this.rptJSSP.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rptJSSP.Name = "rptJSSP"; this.rptJSSP.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; // // gvMx1fupAllow // this.gvMx1fupAllow.AppearanceCell.Options.UseFont = true; this.gvMx1fupAllow.Caption = "ä¸é"; this.gvMx1fupAllow.FieldName = "fupAllow"; this.gvMx1fupAllow.Name = "gvMx1fupAllow"; this.gvMx1fupAllow.Tag = "yz_quantity_0_edit"; this.gvMx1fupAllow.Visible = true; this.gvMx1fupAllow.VisibleIndex = 6; this.gvMx1fupAllow.Width = 60; // // gvMx1fstand // this.gvMx1fstand.AppearanceCell.Options.UseFont = true; this.gvMx1fstand.Caption = "æ åå¼"; this.gvMx1fstand.FieldName = "fstand"; this.gvMx1fstand.Name = "gvMx1fstand"; this.gvMx1fstand.Tag = "yz_quantity_0_edit"; this.gvMx1fstand.Visible = true; this.gvMx1fstand.VisibleIndex = 7; this.gvMx1fstand.Width = 60; // // gvMx1fdownAllow // this.gvMx1fdownAllow.AppearanceCell.Options.UseFont = true; this.gvMx1fdownAllow.Caption = "ä¸é"; this.gvMx1fdownAllow.FieldName = "fdownAllow"; this.gvMx1fdownAllow.Name = "gvMx1fdownAllow"; this.gvMx1fdownAllow.Tag = "yz_quantity_0_edit"; this.gvMx1fdownAllow.Visible = true; this.gvMx1fdownAllow.VisibleIndex = 8; this.gvMx1fdownAllow.Width = 60; // // gridColumn19 // this.gridColumn19.Caption = "æ ·ååºæ°"; this.gridColumn19.FieldName = "ypsl"; this.gridColumn19.Name = "gridColumn19"; this.gridColumn19.Tag = "edit"; this.gridColumn19.Visible = true; this.gridColumn19.VisibleIndex = 9; this.gridColumn19.Width = 94; // // repositoryItemButtonEdit1 // this.repositoryItemButtonEdit1.AutoHeight = false; editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "ç§»é¤", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // wizardPage1 // this.wizardPage1.Controls.Add(this.splitLeft); this.wizardPage1.DescriptionText = "ä½ å¯éæ©ä¸ä¸ªæå¤ä¸ªï¼éå¤æå·²è®¾ç½®çç©æï¼ä¿åæ¶å°èªå¨å¿½ç¥"; this.wizardPage1.Margin = new System.Windows.Forms.Padding(4); this.wizardPage1.Name = "wizardPage1"; this.wizardPage1.Size = new System.Drawing.Size(998, 540); this.wizardPage1.Text = "éæ©ç©æ"; // // splitLeft // this.splitLeft.Dock = System.Windows.Forms.DockStyle.Fill; this.splitLeft.Location = new System.Drawing.Point(0, 0); this.splitLeft.Name = "splitLeft"; // // splitLeft.Panel1 // this.splitLeft.Panel1.Controls.Add(this.gcMain); this.splitLeft.Panel1.Controls.Add(this.panBom); this.splitLeft.Panel1.Text = "Panel1"; // // splitLeft.Panel2 // this.splitLeft.Panel2.Controls.Add(this.splitRight); this.splitLeft.Panel2.Text = "Panel2"; this.splitLeft.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; this.splitLeft.Size = new System.Drawing.Size(998, 540); this.splitLeft.SplitterPosition = 519; this.splitLeft.TabIndex = 1; // // gcMain // this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; this.gcMain.Location = new System.Drawing.Point(0, 0); this.gcMain.MainView = this.gvMain; this.gcMain.Name = "gcMain"; this.gcMain.Size = new System.Drawing.Size(519, 496); this.gcMain.TabIndex = 7; this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvMain}); // // gvMain // this.gvMain.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gvMain.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.gvMain.Appearance.Row.Options.UseFont = true; this.gvMain.ColumnPanelRowHeight = 50; this.gvMain.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colChkInt, this.gv_guid, this.gridColumn1, this.gv2, this.gv_salesOrderId, this.gv_orderLineId, this.gv_itemId}); this.gvMain.GridControl = this.gcMain; this.gvMain.IndicatorWidth = 50; this.gvMain.Name = "gvMain"; this.gvMain.OptionsFind.ShowSearchNavButtons = false; this.gvMain.OptionsView.ShowAutoFilterRow = true; this.gvMain.OptionsView.ShowGroupPanel = false; // // colChkInt // this.colChkInt.Caption = "."; this.colChkInt.FieldName = "chkInt"; this.colChkInt.MinWidth = 25; this.colChkInt.Name = "colChkInt"; this.colChkInt.Visible = true; this.colChkInt.VisibleIndex = 0; this.colChkInt.Width = 94; // // gv_guid // this.gv_guid.AppearanceCell.Options.UseFont = true; this.gv_guid.Caption = "主é®ä¸è½å é¤"; this.gv_guid.FieldName = "guid"; this.gv_guid.MinWidth = 50; this.gv_guid.Name = "gv_guid"; this.gv_guid.OptionsColumn.AllowEdit = false; this.gv_guid.Tag = "a.guid"; this.gv_guid.Width = 94; // // gridColumn1 // this.gridColumn1.Caption = "使ç¨ç»ç»"; this.gridColumn1.FieldName = "fSubsidiary"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Tag = "org.FNumber"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 4; this.gridColumn1.Width = 50; // // gv2 // this.gv2.AppearanceCell.Options.UseFont = true; this.gv2.Caption = "ç©æID"; this.gv2.FieldName = "id"; this.gv2.Name = "gv2"; this.gv2.OptionsColumn.AllowEdit = false; this.gv2.Tag = "a.id"; this.gv2.Visible = true; this.gv2.VisibleIndex = 1; this.gv2.Width = 50; // // gv_salesOrderId // this.gv_salesOrderId.AppearanceCell.Options.UseFont = true; this.gv_salesOrderId.Caption = "ç©æç¼ç "; this.gv_salesOrderId.FieldName = "itemNo"; this.gv_salesOrderId.Name = "gv_salesOrderId"; this.gv_salesOrderId.OptionsColumn.AllowEdit = false; this.gv_salesOrderId.Tag = "a.item_no"; this.gv_salesOrderId.Visible = true; this.gv_salesOrderId.VisibleIndex = 2; this.gv_salesOrderId.Width = 50; // // gv_orderLineId // this.gv_orderLineId.AppearanceCell.Options.UseFont = true; this.gv_orderLineId.Caption = "ç©æåç§°"; this.gv_orderLineId.FieldName = "itemName"; this.gv_orderLineId.Name = "gv_orderLineId"; this.gv_orderLineId.OptionsColumn.AllowEdit = false; this.gv_orderLineId.Tag = "a.item_name"; this.gv_orderLineId.Visible = true; this.gv_orderLineId.VisibleIndex = 3; this.gv_orderLineId.Width = 50; // // gv_itemId // this.gv_itemId.AppearanceCell.Options.UseFont = true; this.gv_itemId.Caption = "ç©æè§æ ¼"; this.gv_itemId.FieldName = "itemModel"; this.gv_itemId.Name = "gv_itemId"; this.gv_itemId.OptionsColumn.AllowEdit = false; this.gv_itemId.Tag = "a.item_model"; this.gv_itemId.Width = 50; // // panBom // this.panBom.Controls.Add(this.pageBar1); this.panBom.Dock = System.Windows.Forms.DockStyle.Bottom; this.panBom.Location = new System.Drawing.Point(0, 496); this.panBom.Name = "panBom"; this.panBom.Size = new System.Drawing.Size(519, 44); this.panBom.TabIndex = 6; // // pageBar1 // this.pageBar1.CurrentPage = 1; this.pageBar1.Dock = System.Windows.Forms.DockStyle.Fill; this.pageBar1.Location = new System.Drawing.Point(2, 2); this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 6, 3, 6); this.pageBar1.Name = "pageBar1"; this.pageBar1.RecordCount = 0; this.pageBar1.Size = new System.Drawing.Size(515, 40); this.pageBar1.TabIndex = 3; this.pageBar1.TotalPages = 0; // // splitRight // this.splitRight.Dock = System.Windows.Forms.DockStyle.Fill; this.splitRight.Location = new System.Drawing.Point(0, 0); this.splitRight.Name = "splitRight"; // // splitRight.Panel1 // this.splitRight.Panel1.Controls.Add(this.btnIn); this.splitRight.Panel1.Text = "Panel1"; // // splitRight.Panel2 // this.splitRight.Panel2.Controls.Add(this.gcMainCopy); this.splitRight.Panel2.Text = "Panel2"; this.splitRight.Size = new System.Drawing.Size(467, 540); this.splitRight.SplitterPosition = 45; this.splitRight.TabIndex = 3; // // btnIn // this.btnIn.Appearance.ForeColor = System.Drawing.Color.Blue; this.btnIn.Appearance.Options.UseForeColor = true; this.btnIn.Location = new System.Drawing.Point(4, 199); this.btnIn.Name = "btnIn"; this.btnIn.Size = new System.Drawing.Size(39, 29); this.btnIn.TabIndex = 0; this.btnIn.Text = ">>"; // // gcMainCopy // this.gcMainCopy.Dock = System.Windows.Forms.DockStyle.Fill; this.gcMainCopy.Location = new System.Drawing.Point(0, 0); this.gcMainCopy.MainView = this.gvMainCopy; this.gcMainCopy.Name = "gcMainCopy"; this.gcMainCopy.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.rptBtnDel}); this.gcMainCopy.Size = new System.Drawing.Size(410, 540); this.gcMainCopy.TabIndex = 2; this.gcMainCopy.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvMainCopy}); // // gvMainCopy // this.gvMainCopy.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn11, this.gridColumn12, this.gridColumn13, this.gridColumn14, this.gridColumn15, this.gridColumn6, this.gridColumn9}); this.gvMainCopy.GridControl = this.gcMainCopy; this.gvMainCopy.Name = "gvMainCopy"; this.gvMainCopy.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False; this.gvMainCopy.OptionsFind.ShowSearchNavButtons = false; this.gvMainCopy.OptionsView.ShowGroupPanel = false; // // gridColumn11 // this.gridColumn11.AppearanceCell.Options.UseFont = true; this.gridColumn11.Caption = "使ç¨ç»ç»"; this.gridColumn11.FieldName = "fSubsidiary"; this.gridColumn11.MinWidth = 10; this.gridColumn11.Name = "gridColumn11"; this.gridColumn11.OptionsColumn.ReadOnly = true; this.gridColumn11.Tag = "query_a.FCHECK_ITEM"; this.gridColumn11.Visible = true; this.gridColumn11.VisibleIndex = 0; this.gridColumn11.Width = 150; // // gridColumn12 // this.gridColumn12.Caption = "ç©æID"; this.gridColumn12.FieldName = "id"; this.gridColumn12.MinWidth = 10; this.gridColumn12.Name = "gridColumn12"; this.gridColumn12.OptionsColumn.ReadOnly = true; this.gridColumn12.Tag = "query_a.item_id"; this.gridColumn12.Visible = true; this.gridColumn12.VisibleIndex = 1; this.gridColumn12.Width = 150; // // gridColumn13 // this.gridColumn13.AppearanceCell.Options.UseFont = true; this.gridColumn13.Caption = "ç©æç¼å·"; this.gridColumn13.FieldName = "itemNo"; this.gridColumn13.MinWidth = 10; this.gridColumn13.Name = "gridColumn13"; this.gridColumn13.OptionsColumn.ReadOnly = true; this.gridColumn13.Tag = "query_a.item_no"; this.gridColumn13.Visible = true; this.gridColumn13.VisibleIndex = 2; this.gridColumn13.Width = 150; // // gridColumn14 // this.gridColumn14.AppearanceCell.Options.UseFont = true; this.gridColumn14.Caption = "ç©æåç§°"; this.gridColumn14.FieldName = "itemName"; this.gridColumn14.MinWidth = 10; this.gridColumn14.Name = "gridColumn14"; this.gridColumn14.OptionsColumn.ReadOnly = true; this.gridColumn14.Tag = "query_a.item_name"; this.gridColumn14.Visible = true; this.gridColumn14.VisibleIndex = 3; this.gridColumn14.Width = 150; // // gridColumn15 // this.gridColumn15.AppearanceCell.Options.UseFont = true; this.gridColumn15.Caption = "è§æ ¼åå·"; this.gridColumn15.FieldName = "itemModel"; this.gridColumn15.MinWidth = 10; this.gridColumn15.Name = "gridColumn15"; this.gridColumn15.OptionsColumn.ReadOnly = true; this.gridColumn15.Tag = "query_a.item_model"; this.gridColumn15.Width = 150; // // gridColumn6 // this.gridColumn6.Caption = "ç§»åº"; this.gridColumn6.ColumnEdit = this.rptBtnDel; this.gridColumn6.MinWidth = 25; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 4; this.gridColumn6.Width = 94; // // rptBtnDel // this.rptBtnDel.AutoHeight = false; editorButtonImageOptions2.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; editorButtonImageOptions2.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.rptBtnDel.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "ç§»åº", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); this.rptBtnDel.Name = "rptBtnDel"; this.rptBtnDel.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.rptBtnDel.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.rptBtnDel_ButtonClick); // // gridColumn9 // this.gridColumn9.Caption = "gridColumn9"; this.gridColumn9.FieldName = "guid"; this.gridColumn9.MinWidth = 25; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.Width = 94; // // completionWizardPage1 // this.completionWizardPage1.FinishText = "æå䏿¥ï¼ç¹å»âä¿åâ宿æä½"; this.completionWizardPage1.Margin = new System.Windows.Forms.Padding(4); this.completionWizardPage1.Name = "completionWizardPage1"; this.completionWizardPage1.ProceedText = "ç¹å»âä¿åâ宿æä½"; this.completionWizardPage1.Size = new System.Drawing.Size(898, 553); this.completionWizardPage1.Text = "ä¿åä¿¡æ¯"; // // JyxmShow // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1038, 718); this.Controls.Add(this.wizardControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Margin = new System.Windows.Forms.Padding(4); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "JyxmShow"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "æ£éªé¡¹ç®å¤å¶"; ((System.ComponentModel.ISupportInitialize)(this.wizardControl1)).EndInit(); this.wizardControl1.ResumeLayout(false); this.welcomeWizardPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYXM)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYGJ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYBZ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYSP)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJSSP)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); this.wizardPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitLeft.Panel1)).EndInit(); this.splitLeft.Panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitLeft.Panel2)).EndInit(); this.splitLeft.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitLeft)).EndInit(); this.splitLeft.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panBom)).EndInit(); this.panBom.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitRight.Panel1)).EndInit(); this.splitRight.Panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitRight.Panel2)).EndInit(); this.splitRight.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitRight)).EndInit(); this.splitRight.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcMainCopy)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMainCopy)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptBtnDel)).EndInit(); this.ResumeLayout(false); } #endregion private DevExpress.XtraWizard.WizardControl wizardControl1; private DevExpress.XtraWizard.WelcomeWizardPage welcomeWizardPage1; private DevExpress.XtraWizard.WizardPage wizardPage1; private DevExpress.XtraWizard.CompletionWizardPage completionWizardPage1; private DevExpress.XtraEditors.SplitContainerControl splitLeft; private DevExpress.XtraGrid.GridControl gcMainCopy; private DevExpress.XtraGrid.Views.Grid.GridView gvMainCopy; private DevExpress.XtraGrid.Columns.GridColumn gridColumn11; private DevExpress.XtraGrid.Columns.GridColumn gridColumn12; private DevExpress.XtraGrid.Columns.GridColumn gridColumn13; private DevExpress.XtraGrid.Columns.GridColumn gridColumn14; private DevExpress.XtraGrid.Columns.GridColumn gridColumn15; private DevExpress.XtraGrid.Columns.GridColumn gridColumn6; private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit rptBtnDel; private DevExpress.XtraGrid.Columns.GridColumn gridColumn9; private DevExpress.XtraEditors.SplitContainerControl splitRight; private DevExpress.XtraEditors.SimpleButton btnIn; private DevExpress.XtraEditors.PanelControl panBom; private DevExpress.XtraGrid.GridControl gcMain; private DevExpress.XtraGrid.Views.Grid.GridView gvMain; private DevExpress.XtraGrid.Columns.GridColumn gv_guid; private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; private DevExpress.XtraGrid.Columns.GridColumn gv2; private DevExpress.XtraGrid.Columns.GridColumn gv_salesOrderId; private DevExpress.XtraGrid.Columns.GridColumn gv_orderLineId; private DevExpress.XtraGrid.Columns.GridColumn gv_itemId; private UserControls.Data.UcPageBar pageBar1; private DevExpress.XtraGrid.Columns.GridColumn colChkInt; private DevExpress.XtraGrid.GridControl gcMx1; private DevExpress.XtraGrid.Views.Grid.GridView gvMx1; private DevExpress.XtraGrid.Columns.GridColumn gvMx1guid; private DevExpress.XtraGrid.Columns.GridColumn gvMx1pid; private DevExpress.XtraGrid.Columns.GridColumn gvMx1fcheckItem; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox rptJYXM; private DevExpress.XtraGrid.Columns.GridColumn gvMx1forder; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox repositoryItemComboBox1; private DevExpress.XtraGrid.Columns.GridColumn gridColumn5; private DevExpress.XtraGrid.Columns.GridColumn gvMx1memo; private DevExpress.XtraGrid.Columns.GridColumn gvMx1fcheckTool; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox rptJYGJ; private DevExpress.XtraGrid.Columns.GridColumn gvMx1sampleSizeNo; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox rptJYBZ; private DevExpress.XtraGrid.Columns.GridColumn sampleSizeName; private DevExpress.XtraGrid.Columns.GridColumn gvMx1fcheckLevel; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox rptJYSP; private DevExpress.XtraGrid.Columns.GridColumn gvMx1facLevel; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox rptJSSP; private DevExpress.XtraGrid.Columns.GridColumn gvMx1fupAllow; private DevExpress.XtraGrid.Columns.GridColumn gvMx1fstand; private DevExpress.XtraGrid.Columns.GridColumn gvMx1fdownAllow; private DevExpress.XtraGrid.Columns.GridColumn gridColumn19; private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; } } DevApp/Gs.DevApp/DevFrm/QC/JyxmShowCopy.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,264 @@ using DevExpress.XtraGrid.Views.Grid; using Gs.DevApp.Entity; using Gs.DevApp.ToolBox; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Data; using System.Threading.Tasks; using System.Windows.Forms; namespace Gs.DevApp.DevFrm.QC { public partial class JyxmShowCopy : DevExpress.XtraEditors.XtraForm { private List<FilterEntity> _filterList = new List<FilterEntity>(); private readonly string _webServiceName = "MesQmCheckitemManager/"; private string strType = "";//iqc,ipqc,fqc private string sourceGuid = "";//æºguid /// <summary> /// /// </summary> /// <param name="_sourceGuid"></param> /// <param name="_strType"></param> public JyxmShowCopy(string _sourceGuid, string _strType) { InitializeComponent(); strType = _strType; sourceGuid = _sourceGuid; this.gvMain.CustomDrawColumnHeader += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomDrawColumnHeader(s, e); }; this.gvMain.MouseUp += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomMouseUp(s, e, gcMain, gvMain); }; this.colChkInt.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.colChkInt.OptionsFilter.AllowAutoFilter = false; this.colChkInt.OptionsFilter.AllowFilter = false; this.colChkInt.OptionsFilter.AllowInHeaderSearch = DevExpress.Utils.DefaultBoolean.False; this.pageBar1.setBar(false); getPageList(1); getModel(_sourceGuid); pageBar1.PagerEvent += PageBar1_PagerEvent; Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gvMain); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gvMainCopy); UtilityHelper.SetDefaultTable(gcMainCopy, gvMainCopy); btnIn.Click += (s, e) => { gvMain.PostEditor(); gvMain.UpdateCurrentRow(); var list = new List<string>(); DataTable _oldTable = (DataTable)gcMainCopy.DataSource; DataTable dt = this.gcMain.DataSource as DataTable; { foreach (DataRow dr in dt.Rows) { string checkBox = dr["chkInt"].ToString(); if (Gs.DevApp.ToolBox.UtilityHelper.ToCheck(checkBox)) { _oldTable.ImportRow(dr); } } } if (_oldTable.Rows.Count <= 0) { MsgHelper.ShowInformation("è¯·éæ©ä½ éè¦å¤å¶çç©æï¼"); return; } gcMainCopy.BindingContext = new BindingContext(); gcMainCopy.DataSource = _oldTable; gcMainCopy.ForceInitialize(); gvMainCopy.BestFitColumns(); }; this.wizardControl1.FinishClick += (s, e) => { int _rows = gvMainCopy.RowCount; if (_rows <= 0) { MsgHelper.ShowInformation("è¯·éæ©ä½ éè¦å¤å¶çç©æï¼"); e.Cancel = true; return; } if (!MsgHelper.AskQuestion("ä½ éæ©äº" + _rows.ToString() + "æ¡æ°æ®ï¼ç¡®å®ä¿ååï¼")) { e.Cancel = true; return; } System.Text.StringBuilder _sbGuids = new System.Text.StringBuilder(); for (var i = 0; i < gvMainCopy.DataRowCount; i++) { var row = gvMainCopy.GetDataRow(i); if (_sbGuids.Length > 0) _sbGuids.Append(","); Guid? _guid = UtilityHelper.ToGuid(row["guid"].ToString()); _sbGuids.Append(_guid.ToString()); } var _obj = new { sourceGuid = UtilityHelper.ToGuid(sourceGuid), itemGuids = _sbGuids.ToString(), iqcType = this.strType, }; try { var strJson = UtilityHelper.HttpPost("", _webServiceName + "ItemsComyMx", JsonConvert.SerializeObject(_obj)); var _rtn = UtilityHelper.ReturnToDynamic(strJson); MsgHelper.Warning("æç¤ºï¼" + _rtn.rtnMsg); if (_rtn.rtnCode > 0) { UtilityHelper.SetDefaultTable(gcMainCopy, gvMainCopy); } } catch (Exception ex) { MsgHelper.Warning("æç¤ºï¼" + ex.Message); } }; this.wizardControl1.NextClick += (s, e) => { string pageText = e.Page.Text; if (pageText == "éæ©ç©æ") { int _rows = gvMainCopy.RowCount; if (_rows <= 0) { MsgHelper.ShowInformation("è¯·éæ©ä½ éè¦å¤å¶çç©æï¼"); e.Handled = true; return; } } }; } #region æºç©ææ°æ®ç»å® private void GridView1_ColumnFilterChanged(object sender, EventArgs e) { _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gvMain.Columns, gvMain); Task.Delay(100); getPageList(1); } /// <summary> /// å页äºä»¶ /// </summary> /// <param name="curPage"></param> /// <param name="pageSize"></param> private void PageBar1_PagerEvent(int curPage, int pageSize) { getPageList(curPage); } /// <summary> /// </summary> /// <param name="curPage">第å 页</param> /// <param name="pageSize">æ¯é¡µå æ¡</param> private void getPageList(int curPage) { gcMain.DataSource = null; var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); //_sbSqlWhere += " and q.guid is null"; var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_no", "asc", "", _sbSqlWhere.ToString(), strType); var json = JsonConvert.SerializeObject(pgq); try { var strReturn = UtilityHelper.HttpPost("", "MesItemsManager/GetListSelect", json); var dd = UtilityHelper.ReturnToTablePage(strReturn); if (dd.rtnCode > 0) { DataTable dt = dd.rtnData.list; gcMain.BindingContext = new BindingContext(); gvMain.ColumnFilterChanged -= GridView1_ColumnFilterChanged; if (dt.Rows.Count > 0) { gcMain.DataSource = dt; gcMain.ForceInitialize(); gvMain.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gvMain); } else UtilityHelper.SetDefaultTable(gcMain, gvMain); gvMain.ColumnFilterChanged += GridView1_ColumnFilterChanged; pageBar1.TotalPages = dd.rtnData.pages;//æ»é¡µ pageBar1.CurrentPage = curPage;//å½å页 pageBar1.RecordCount = dd.rtnData.total;//æ»è®°å½æ° } else { ToolBox.MsgHelper.ShowError("æç¤ºï¼" + dd.rtnMsg); } } catch (Exception ex) { MsgHelper.Warning("æç¤ºï¼" + ex.Message); } } #endregion private void getModel(string strGuid) { var _obj = new { guid = strGuid //主建 }; try { var strJson = UtilityHelper.HttpPost("", _webServiceName + "GetModel", JsonConvert.SerializeObject(_obj)); var _rtn = UtilityHelper.ReturnToDynamic(strJson); if (_rtn.rtnCode > 0) { var dy = _rtn.rtnData; var gvList = new List<GridView>(); gvList.Add(gvMx1); var _job = JObject.Parse(strJson); var array = new JArray(); foreach (var a in _job["rtnData"]["list"]) array.Add(a); var dt = JsonConvert.DeserializeObject<DataTable>(array.ToString()); if (dt.Rows.Count > 0) { gcMx1.BindingContext = new BindingContext(); gcMx1.DataSource = dt; gcMx1.ForceInitialize(); gvMx1.BestFitColumns(); } else { UtilityHelper.SetDefaultTable(gcMx1, gvMx1); } UtilityHelper.SetDefaultTable(gcMainCopy, gvMainCopy); } else { MsgHelper.Warning("æç¤ºï¼" + _rtn.rtnMsg); } } catch (Exception ex) { MsgHelper.Warning("æç¤ºï¼" + ex.Message); } } /// <summary> /// å é¤å¤å¶é¡¹ /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void rptBtnDel_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { gvMainCopy.CloseEditor(); gvMainCopy.UpdateCurrentRow(); var rowhandle = gvMainCopy.FocusedRowHandle; if (rowhandle < 0) return; if (e.Button.Index == 0) { var dr = gvMainCopy.GetDataRow(rowhandle); if (!MsgHelper.AskQuestion("ä½ éæ©äº1æ¡æ°æ®ï¼ç¡®å®å é¤åï¼")) return; gvMainCopy.DeleteRow(rowhandle); return; } } } } DevApp/Gs.DevApp/DevFrm/QC/JyxmShowCopy.resx
DevApp/Gs.DevApp/DevFrm/Sys/EasyCode.Designer.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/Sys/EasyCode.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/Sys/EasyCode.resx
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/WOM/Frm_MesWomdaahb.Designer.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/WOM/Frm_MesWomdaahb.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/DevFrm/WOM/Frm_MesWomdaahb.resx
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/Gs.DevApp.csproj
@@ -443,6 +443,12 @@ <Compile Include="DevFrm\QC\DefectCodeRk.Designer.cs"> <DependentUpon>DefectCodeRk.cs</DependentUpon> </Compile> <Compile Include="DevFrm\QC\DefectCodeDaa.cs"> <SubType>Form</SubType> </Compile> <Compile Include="DevFrm\QC\DefectCodeDaa.Designer.cs"> <DependentUpon>DefectCodeDaa.cs</DependentUpon> </Compile> <Compile Include="DevFrm\QC\DefectCodeXianChang.cs"> <SubType>Form</SubType> </Compile> @@ -472,6 +478,12 @@ </Compile> <Compile Include="DevFrm\QC\Frm_MesQaItemsDetect01Input.Designer.cs"> <DependentUpon>Frm_MesQaItemsDetect01Input.cs</DependentUpon> </Compile> <Compile Include="DevFrm\QC\JyxmShowCopy.cs"> <SubType>Form</SubType> </Compile> <Compile Include="DevFrm\QC\JyxmShowCopy.Designer.cs"> <DependentUpon>JyxmShowCopy.cs</DependentUpon> </Compile> <Compile Include="DevFrm\QC\JyxmShow.cs"> <SubType>Form</SubType> @@ -1230,12 +1242,6 @@ <Compile Include="UserControl\UCUpFileList.Designer.cs"> <DependentUpon>UCUpFileList.cs</DependentUpon> </Compile> <Compile Include="XtraForm1.cs"> <SubType>Form</SubType> </Compile> <Compile Include="XtraForm1.Designer.cs"> <DependentUpon>XtraForm1.cs</DependentUpon> </Compile> <EmbeddedResource Include="DevFrm\BasicData\Frm_Customer.resx"> <DependentUpon>Frm_Customer.cs</DependentUpon> </EmbeddedResource> @@ -1374,6 +1380,9 @@ </EmbeddedResource> <EmbeddedResource Include="DevFrm\QC\JyxmShow.resx"> <DependentUpon>JyxmShow.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="DevFrm\QC\JyxmShowCopy.resx"> <DependentUpon>JyxmShowCopy.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="DevFrm\QC\MesQcExceptionalShow.resx"> <DependentUpon>MesQcExceptionalShow.cs</DependentUpon> @@ -1732,9 +1741,6 @@ </EmbeddedResource> <EmbeddedResource Include="UserControl\UCUpFileList.resx"> <DependentUpon>UCUpFileList.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="XtraForm1.resx"> <DependentUpon>XtraForm1.cs</DependentUpon> </EmbeddedResource> <None Include="App.config" /> <None Include="packages.config" /> DevApp/Gs.DevApp/Program.cs
@@ -42,8 +42,6 @@ /// </summary> private static void _startLogin() { //Application.Run(new XtraForm1()); //return; CefSettings settings = new CefSettings(); settings.Locale = "zh-CN"; Cef.Initialize(settings); DevApp/Gs.DevApp/ToolBox/MsgHelper.cs
@@ -53,22 +53,6 @@ Warning(s); } public static void ShowException(Exception ex, string customMessage) { //if (ex is CustomException) //{ // ShowException(ex); //} //else if (customMessage != "") //{ // Warning(customMessage); //} //else //{ // Warning(ex.Message); //} } /// <summary> /// ä¿¡æ¯æç¤ºæ¡ /// </summary> DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
@@ -330,45 +330,47 @@ private void BtnOut_ItemClick(object sender, ItemClickEventArgs e) { if (string.IsNullOrEmpty(this.xlsOutParameter)) { ToolBox.MsgHelper.ShowError("没ææå®å¯¼åºåå¨è¿ç¨ï¼è¯·èç³»å¼å人åè·åæ¯æï¼"); return; } using (FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog()) { folderBrowserDialog.Description = "éæ©å¯¼åºæä»¶çä¿åè·¯å¾"; DialogResult dialogResult = folderBrowserDialog.ShowDialog(); if (dialogResult == DialogResult.OK) { string _folder = folderBrowserDialog.SelectedPath; var _obj = new Gs.DevApp.Entity.XlsOutModel(this.xlsOutParameter); try { string strJson = UtilityHelper.HttpPost("", "XlsInOut/XlsOutView", JsonConvert.SerializeObject(_obj)); ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); if (_rtn.rtnCode > 0) { string _file = _rtn.rtnData.fileUrl.ToString(); string _folderName = _folder + "\\" + _file.Replace("down/", ""); string _url = ConfigurationManager.AppSettings["WebApiUrl"].ToString() + _file; using (WebClient client = new WebClient()) { client.DownloadFile(_url, _folderName); } ToolBox.MsgHelper.ShowInformation("å¯¼åºæåï¼"); } else { ToolBox.MsgHelper.Warning("æç¤ºï¼" + _rtn.rtnMsg); } } catch (Exception ex) { ToolBox.MsgHelper.Warning("æç¤ºï¼" + ex.Message); } } } if (btnOutClick != null) btnOutClick(this, e); //if (string.IsNullOrEmpty(this.xlsOutParameter)) //{ // ToolBox.MsgHelper.ShowError("没ææå®å¯¼åºåå¨è¿ç¨ï¼è¯·èç³»å¼å人åè·åæ¯æï¼"); // return; //} //using (FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog()) //{ // folderBrowserDialog.Description = "éæ©å¯¼åºæä»¶çä¿åè·¯å¾"; // DialogResult dialogResult = folderBrowserDialog.ShowDialog(); // if (dialogResult == DialogResult.OK) // { // string _folder = folderBrowserDialog.SelectedPath; // var _obj = new Gs.DevApp.Entity.XlsOutModel(this.xlsOutParameter); // try // { // string strJson = UtilityHelper.HttpPost("", "XlsInOut/XlsOutView", JsonConvert.SerializeObject(_obj)); // ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); // if (_rtn.rtnCode > 0) // { // string _file = _rtn.rtnData.fileUrl.ToString(); // string _folderName = _folder + "\\" + _file.Replace("down/", ""); // string _url = ConfigurationManager.AppSettings["WebApiUrl"].ToString() + _file; // using (WebClient client = new WebClient()) // { // client.DownloadFile(_url, _folderName); // } // ToolBox.MsgHelper.ShowInformation("å¯¼åºæåï¼"); // } // else // { // ToolBox.MsgHelper.Warning("æç¤ºï¼" + _rtn.rtnMsg); // } // } // catch (Exception ex) // { // ToolBox.MsgHelper.Warning("æç¤ºï¼" + ex.Message); // } // } //} } private void BtnReport_ItemClick(object sender, ItemClickEventArgs e) @@ -1036,6 +1038,12 @@ /// </summary> public event EventHandler btnOaClick; /// <summary> /// å¯¼åº /// </summary> public event EventHandler btnOutClick; #endregion #region å ¬å ±å±æ§ DevApp/Gs.DevApp/XtraForm1.Designer.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/XtraForm1.cs
ÎļþÒÑɾ³ý DevApp/Gs.DevApp/XtraForm1.resx
ÎļþÒÑɾ³ý