已添加4个文件
已重命名3个文件
已修改2个文件
已复制1个文件
| | |
| | | } |
| | | } |
| | | |
| | | private string _val; |
| | | |
| | | |
| | | /// <summary> |
| | | /// ä¸»é® |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Gs.DevApp.ToolBox; |
| | | |
| | | namespace Gs.DevApp.DevFrm.RkQC |
| | | { |
| | | partial class Frm_QtrkDetect01 |
| | | { |
| | | /// <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() |
| | | { |
| | | this.rkDetect011 = new Gs.DevApp.DevFrm.RkQC.RkDetect01(QcSeason.å
¶å®å
¥åºæ£.ToString()); |
| | | this.SuspendLayout(); |
| | | // |
| | | // rkDetect011 |
| | | // |
| | | this.rkDetect011.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.rkDetect011.Location = new System.Drawing.Point(0, 0); |
| | | this.rkDetect011.Name = "rkDetect011"; |
| | | this.rkDetect011.Size = new System.Drawing.Size(1118, 648); |
| | | this.rkDetect011.TabIndex = 0; |
| | | // |
| | | // Frm_RkDetect01 |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(1118, 648); |
| | | this.Controls.Add(this.rkDetect011); |
| | | this.Name = "Frm_RkDetect01"; |
| | | this.Text = "å
¶å®å
¥åºæ£"; |
| | | this.ResumeLayout(false); |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private RkDetect01 rkDetect011; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using DevExpress.XtraEditors; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace Gs.DevApp.DevFrm.RkQC |
| | | { |
| | | public partial class Frm_QtrkDetect01 : DevExpress.XtraEditors.XtraForm |
| | | { |
| | | public Frm_QtrkDetect01() |
| | | { |
| | | InitializeComponent(); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using Gs.DevApp.ToolBox; |
| | | |
| | | namespace Gs.DevApp.DevFrm.RkQC |
| | | { |
| | | partial class Frm_SctlDetect01 |
| | | { |
| | | /// <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() |
| | | { |
| | | this.rkDetect011 = new Gs.DevApp.DevFrm.RkQC.RkDetect01(QcSeason.ç产éæå
¥åºæ£.ToString()); |
| | | this.SuspendLayout(); |
| | | // |
| | | // rkDetect011 |
| | | // |
| | | this.rkDetect011.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.rkDetect011.Location = new System.Drawing.Point(0, 0); |
| | | this.rkDetect011.Name = "rkDetect011"; |
| | | this.rkDetect011.Size = new System.Drawing.Size(1118, 648); |
| | | this.rkDetect011.TabIndex = 0; |
| | | // |
| | | // Frm_RkDetect01 |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(1118, 648); |
| | | this.Controls.Add(this.rkDetect011); |
| | | this.Name = "Frm_RkDetect01"; |
| | | this.Text = "ç产éæå
¥åºæ£"; |
| | | this.ResumeLayout(false); |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private RkDetect01 rkDetect011; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using DevExpress.XtraEditors; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace Gs.DevApp.DevFrm.RkQC |
| | | { |
| | | public partial class Frm_SctlDetect01 : DevExpress.XtraEditors.XtraForm |
| | | { |
| | | public Frm_SctlDetect01() |
| | | { |
| | | InitializeComponent(); |
| | | } |
| | | } |
| | | } |
ÎļþÃû´Ó DevApp/Gs.DevApp/DevFrm/RkQC/Frm_RkDetect01.resx ÐÞ¸Ä |
| | |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <metadata name="tips.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>17, 17</value> |
| | | </metadata> |
| | | </root> |
ÎļþÃû´Ó DevApp/Gs.DevApp/DevFrm/RkQC/Frm_RkDetect01.Designer.cs ÐÞ¸Ä |
| | |
| | | namespace Gs.DevApp.DevFrm.RkQC |
| | | { |
| | | partial class Frm_RkDetect01 |
| | | partial class RkDetect01 |
| | | { |
| | | /// <summary> |
| | | /// Required designer variable. |
ÎļþÃû´Ó DevApp/Gs.DevApp/DevFrm/RkQC/Frm_RkDetect01.cs ÐÞ¸Ä |
| | |
| | | |
| | | namespace Gs.DevApp.DevFrm.RkQC |
| | | { |
| | | public partial class Frm_RkDetect01 : DevExpress.XtraEditors.XtraForm |
| | | public partial class RkDetect01 : DevExpress.XtraEditors.XtraUserControl |
| | | { |
| | | string _strTag = "N:ä¸åæ ¼"; |
| | | |
| | | List<FilterEntity> _filterList = new List<FilterEntity>(); |
| | | public Frm_RkDetect01() |
| | | public string strType = "";//iqc type |
| | | public RkDetect01(string _strType) |
| | | { |
| | | InitializeComponent(); |
| | | strType = _strType; |
| | | } |
| | | |
| | | protected override void OnCreateControl() { |
| | | base.OnCreateControl(); |
| | | if (Parent == null) return; |
| | | |
| | | this.toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick; |
| | | this.toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick; |
| | | this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; |
| | |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1, tips); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx3); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "fsubmitTxt", "", (value) => |
| | | Form parentForm = this.FindForm(); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, parentForm, "fsubmitTxt", "", (value) => |
| | | { |
| | | Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); |
| | | }, tips); |
| | |
| | | Gs.DevApp.ToolBox.UtilityHelper.PrintAuto(txt_psnQty_1, txt_iCount_1, radOut, txt_yuliang_1); |
| | | }; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ¹éå½å
¥ |
| | | /// </summary> |
| | |
| | | /// <param name="e"></param> |
| | | private void ToolBarMenu1_btnQueryClick(object sender, EventArgs e) |
| | | { |
| | | Form parentForm; |
| | | if (this.Parent is Form) |
| | | parentForm = this.Parent as Form; |
| | | else |
| | | parentForm = this.Parent.Parent as Form; |
| | | gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; |
| | | gridView1.ActiveFilter.Clear(); |
| | | gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; |
| | | var frm = new ShowFilter(gridView1.Columns, _filterList, this.GetType().FullName); |
| | | var frm = new ShowFilter(gridView1.Columns, _filterList, parentForm.GetType().FullName); |
| | | frm.UpdateParent += Frm_UpdateParent; |
| | | frm.ShowDialog(); |
| | | } |
| | |
| | | private void getPageList(int curPage) |
| | | { |
| | | gcMain1.DataSource = null; var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "release_no", "asc", "", _sbSqlWhere.ToString()); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "release_no", "asc", "", " and a.order_type='"+ strType + "' " + _sbSqlWhere.ToString()); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | | { |
| | |
| | | { |
| | | getModel(lbGuid.Text.Trim(), "0"); |
| | | } |
| | | Form parentForm = this.FindForm(); |
| | | int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid); |
| | | gridView1.FocusedRowHandle = rowHandle; |
| | | int _inFieldValue = (_meth == "EditModelSubmit" ? 1 : -1); |
| | | UtilityHelper.SetCheckIco(gridView1, "fsubmitTxt", "", "iqcDate", picCheckBox, this, _inFieldValue.ToString()); |
| | | UtilityHelper.SetCheckIco(gridView1, "fsubmitTxt", "", "iqcDate", picCheckBox, parentForm, _inFieldValue.ToString()); |
| | | } |
| | | } |
| | | catch (Exception ex) |
copy from DevApp/Gs.DevApp/DevFrm/RkQC/Frm_RkDetect01.resx
copy to DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.resx
Îļþ´Ó DevApp/Gs.DevApp/DevFrm/RkQC/Frm_RkDetect01.resx ¸´ÖÆ |
| | |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <metadata name="tips.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>17, 17</value> |
| | | </metadata> |
| | | </root> |
| | |
| | | <Compile Include="DevFrm\QC\Models\MesQmCheckitemDt.cs" /> |
| | | <Compile Include="DevFrm\QC\Models\MesSysLookups.cs" /> |
| | | <Compile Include="DevFrm\QC\Models\MesSysLookupTypes.cs" /> |
| | | <Compile Include="DevFrm\RkQC\Frm_RkDetect01.cs"> |
| | | <Compile Include="DevFrm\RkQC\Frm_QtrkDetect01.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Include="DevFrm\RkQC\Frm_RkDetect01.Designer.cs"> |
| | | <DependentUpon>Frm_RkDetect01.cs</DependentUpon> |
| | | <Compile Include="DevFrm\RkQC\Frm_QtrkDetect01.Designer.cs"> |
| | | <DependentUpon>Frm_QtrkDetect01.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="DevFrm\RkQC\Frm_SctlDetect01.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Include="DevFrm\RkQC\Frm_SctlDetect01.Designer.cs"> |
| | | <DependentUpon>Frm_SctlDetect01.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="DevFrm\RkQC\RkDetect01.cs"> |
| | | <SubType>UserControl</SubType> |
| | | </Compile> |
| | | <Compile Include="DevFrm\RkQC\RkDetect01.Designer.cs"> |
| | | <DependentUpon>RkDetect01.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="DevFrm\Rk\Frm_MesInvItemIns.cs"> |
| | | <SubType>Form</SubType> |
| | |
| | | <EmbeddedResource Include="DevFrm\QC\MesQcExceptional.resx"> |
| | | <DependentUpon>MesQcExceptional.cs</DependentUpon> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="DevFrm\RkQC\Frm_RkDetect01.resx"> |
| | | <DependentUpon>Frm_RkDetect01.cs</DependentUpon> |
| | | <EmbeddedResource Include="DevFrm\RkQC\Frm_SctlDetect01.resx"> |
| | | <DependentUpon>Frm_SctlDetect01.cs</DependentUpon> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="DevFrm\RkQC\RkDetect01.resx"> |
| | | <DependentUpon>RkDetect01.cs</DependentUpon> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="DevFrm\Rk\Frm_MesInvItemIns.resx"> |
| | | <DependentUpon>Frm_MesInvItemIns.cs</DependentUpon> |