From 598bef9098cd10744dba191bcb684af8cfac9a54 Mon Sep 17 00:00:00 2001
From: kyy <3283105747@qq.com>
Date: 星期四, 11 九月 2025 18:05:28 +0800
Subject: [PATCH] 1、IPQC

---
 DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.cs             |   52 +++++-
 DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01.Designer.cs     |   15 ++
 DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01Show.cs          |    3 
 DevApp/Gs.DevApp/Program.cs                                      |    1 
 DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.Designer.cs    |  235 ++++++++++++++++++++-------------
 DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01.cs              |   92 ++++++++----
 DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01Show.Designer.cs |   12 +
 7 files changed, 266 insertions(+), 144 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.Designer.cs b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.Designer.cs
index 95aeb26..12bb028 100644
--- a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.Designer.cs
@@ -29,6 +29,11 @@
         private void InitializeComponent()
         {
             this.components = new System.ComponentModel.Container();
+            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.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition();
             DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition();
             DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition();
@@ -75,6 +80,8 @@
             this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
             this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
             this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.rptButtonUrl = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
             this.pageBar1 = new UserControls.Data.UcPageBar();
             this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
             this.splitMx1 = new DevExpress.XtraEditors.SplitContainerControl();
@@ -181,6 +188,7 @@
             this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
             this.gridView4 = new DevExpress.XtraGrid.Views.Grid.GridView();
             this.tips = new DevExpress.Utils.ToolTipController(this.components);
+            this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
             ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
             this.xtraTabControl1.SuspendLayout();
@@ -192,6 +200,7 @@
             this.split1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.rptButtonUrl)).BeginInit();
             this.xtraTabPage2.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.splitMx1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel1)).BeginInit();
@@ -359,6 +368,8 @@
             this.gcMain1.Location = new System.Drawing.Point(0, 0);
             this.gcMain1.MainView = this.gridView1;
             this.gcMain1.Name = "gcMain1";
+            this.gcMain1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
+            this.rptButtonUrl});
             this.gcMain1.Size = new System.Drawing.Size(1342, 638);
             this.gcMain1.TabIndex = 2;
             this.gcMain1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
@@ -395,7 +406,9 @@
             this.gridColumn30,
             this.gridColumn13,
             this.gridColumn17,
-            this.gridColumn5});
+            this.gridColumn5,
+            this.gridColumn6,
+            this.gridColumn7});
             this.gridView1.GridControl = this.gcMain1;
             this.gridView1.IndicatorWidth = 50;
             this.gridView1.Name = "gridView1";
@@ -427,7 +440,7 @@
             this.gv_releaseNo.OptionsColumn.AllowEdit = false;
             this.gv_releaseNo.Tag = "query_a.release_no";
             this.gv_releaseNo.Visible = true;
-            this.gv_releaseNo.VisibleIndex = 1;
+            this.gv_releaseNo.VisibleIndex = 2;
             this.gv_releaseNo.Width = 100;
             // 
             // gv_lotNo
@@ -440,7 +453,7 @@
             this.gv_lotNo.OptionsColumn.AllowEdit = false;
             this.gv_lotNo.Tag = "query_a.lot_no";
             this.gv_lotNo.Visible = true;
-            this.gv_lotNo.VisibleIndex = 2;
+            this.gv_lotNo.VisibleIndex = 3;
             this.gv_lotNo.Width = 120;
             // 
             // gridColumn23
@@ -450,7 +463,7 @@
             this.gridColumn23.MinWidth = 25;
             this.gridColumn23.Name = "gridColumn23";
             this.gridColumn23.Visible = true;
-            this.gridColumn23.VisibleIndex = 3;
+            this.gridColumn23.VisibleIndex = 4;
             this.gridColumn23.Width = 94;
             // 
             // gv_itemId
@@ -463,7 +476,7 @@
             this.gv_itemId.OptionsColumn.AllowEdit = false;
             this.gv_itemId.Tag = "query_a.item_id";
             this.gv_itemId.Visible = true;
-            this.gv_itemId.VisibleIndex = 6;
+            this.gv_itemId.VisibleIndex = 7;
             this.gv_itemId.Width = 30;
             // 
             // gv_itemNo
@@ -476,7 +489,7 @@
             this.gv_itemNo.OptionsColumn.AllowEdit = false;
             this.gv_itemNo.Tag = "query_a.item_no";
             this.gv_itemNo.Visible = true;
-            this.gv_itemNo.VisibleIndex = 7;
+            this.gv_itemNo.VisibleIndex = 8;
             this.gv_itemNo.Width = 136;
             // 
             // gv_boardStyle
@@ -489,7 +502,7 @@
             this.gv_boardStyle.OptionsColumn.AllowEdit = false;
             this.gv_boardStyle.Tag = "query_a.board_style";
             this.gv_boardStyle.Visible = true;
-            this.gv_boardStyle.VisibleIndex = 8;
+            this.gv_boardStyle.VisibleIndex = 9;
             this.gv_boardStyle.Width = 164;
             // 
             // gridColumn14
@@ -500,7 +513,7 @@
             this.gridColumn14.Name = "gridColumn14";
             this.gridColumn14.OptionsColumn.ReadOnly = true;
             this.gridColumn14.Visible = true;
-            this.gridColumn14.VisibleIndex = 9;
+            this.gridColumn14.VisibleIndex = 10;
             this.gridColumn14.Width = 200;
             // 
             // gv_fcovertQty
@@ -514,7 +527,7 @@
             this.gv_fcovertQty.OptionsColumn.ReadOnly = true;
             this.gv_fcovertQty.Tag = "query_a.fcovert_qty";
             this.gv_fcovertQty.Visible = true;
-            this.gv_fcovertQty.VisibleIndex = 10;
+            this.gv_fcovertQty.VisibleIndex = 11;
             this.gv_fcovertQty.Width = 60;
             // 
             // gv_fbatchQty
@@ -527,12 +540,16 @@
             this.gv_fbatchQty.OptionsColumn.AllowEdit = false;
             this.gv_fbatchQty.Tag = "query_a.fbatch_qty";
             this.gv_fbatchQty.Visible = true;
-            this.gv_fbatchQty.VisibleIndex = 11;
+            this.gv_fbatchQty.VisibleIndex = 12;
             this.gv_fbatchQty.Width = 80;
             // 
             // gv_fcheckResu
             // 
+            this.gv_fcheckResu.AppearanceCell.ForeColor = System.Drawing.Color.CornflowerBlue;
             this.gv_fcheckResu.AppearanceCell.Options.UseFont = true;
+            this.gv_fcheckResu.AppearanceCell.Options.UseForeColor = true;
+            this.gv_fcheckResu.AppearanceHeader.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Hyperlink;
+            this.gv_fcheckResu.AppearanceHeader.Options.UseForeColor = true;
             this.gv_fcheckResu.Caption = "妫�楠岀粨鏋�";
             this.gv_fcheckResu.FieldName = "fcheckResu";
             this.gv_fcheckResu.MinWidth = 30;
@@ -540,7 +557,7 @@
             this.gv_fcheckResu.OptionsColumn.AllowEdit = false;
             this.gv_fcheckResu.Tag = "query_a.fcheck_resu";
             this.gv_fcheckResu.Visible = true;
-            this.gv_fcheckResu.VisibleIndex = 5;
+            this.gv_fcheckResu.VisibleIndex = 6;
             this.gv_fcheckResu.Width = 50;
             // 
             // gv_remarks
@@ -553,7 +570,7 @@
             this.gv_remarks.OptionsColumn.AllowEdit = false;
             this.gv_remarks.Tag = "query_a.remarks";
             this.gv_remarks.Visible = true;
-            this.gv_remarks.VisibleIndex = 12;
+            this.gv_remarks.VisibleIndex = 13;
             this.gv_remarks.Width = 100;
             // 
             // gv_fcheckBy
@@ -566,7 +583,7 @@
             this.gv_fcheckBy.OptionsColumn.AllowEdit = false;
             this.gv_fcheckBy.Tag = "query_a.fcheck_by";
             this.gv_fcheckBy.Visible = true;
-            this.gv_fcheckBy.VisibleIndex = 13;
+            this.gv_fcheckBy.VisibleIndex = 14;
             this.gv_fcheckBy.Width = 118;
             // 
             // gv_fcheckDate
@@ -579,7 +596,7 @@
             this.gv_fcheckDate.OptionsColumn.AllowEdit = false;
             this.gv_fcheckDate.Tag = "query_a.fcheck_date";
             this.gv_fcheckDate.Visible = true;
-            this.gv_fcheckDate.VisibleIndex = 14;
+            this.gv_fcheckDate.VisibleIndex = 15;
             this.gv_fcheckDate.Width = 182;
             // 
             // gv_createBy
@@ -592,7 +609,7 @@
             this.gv_createBy.OptionsColumn.AllowEdit = false;
             this.gv_createBy.Tag = "query_a.create_by";
             this.gv_createBy.Visible = true;
-            this.gv_createBy.VisibleIndex = 15;
+            this.gv_createBy.VisibleIndex = 16;
             this.gv_createBy.Width = 67;
             // 
             // gridColumn15
@@ -602,7 +619,7 @@
             this.gridColumn15.MinWidth = 25;
             this.gridColumn15.Name = "gridColumn15";
             this.gridColumn15.Visible = true;
-            this.gridColumn15.VisibleIndex = 16;
+            this.gridColumn15.VisibleIndex = 17;
             this.gridColumn15.Width = 94;
             // 
             // gv_lastupdateBy
@@ -615,7 +632,7 @@
             this.gv_lastupdateBy.OptionsColumn.AllowEdit = false;
             this.gv_lastupdateBy.Tag = "query_a.lastupdate_by";
             this.gv_lastupdateBy.Visible = true;
-            this.gv_lastupdateBy.VisibleIndex = 17;
+            this.gv_lastupdateBy.VisibleIndex = 18;
             this.gv_lastupdateBy.Width = 60;
             // 
             // gv_lastupdateDate
@@ -628,7 +645,7 @@
             this.gv_lastupdateDate.OptionsColumn.AllowEdit = false;
             this.gv_lastupdateDate.Tag = "query_a.lastupdate_date";
             this.gv_lastupdateDate.Visible = true;
-            this.gv_lastupdateDate.VisibleIndex = 18;
+            this.gv_lastupdateDate.VisibleIndex = 19;
             this.gv_lastupdateDate.Width = 120;
             // 
             // gridColumn18
@@ -638,7 +655,7 @@
             this.gridColumn18.MinWidth = 25;
             this.gridColumn18.Name = "gridColumn18";
             this.gridColumn18.Visible = true;
-            this.gridColumn18.VisibleIndex = 19;
+            this.gridColumn18.VisibleIndex = 20;
             this.gridColumn18.Width = 94;
             // 
             // gridColumn19
@@ -648,7 +665,7 @@
             this.gridColumn19.MinWidth = 25;
             this.gridColumn19.Name = "gridColumn19";
             this.gridColumn19.Visible = true;
-            this.gridColumn19.VisibleIndex = 20;
+            this.gridColumn19.VisibleIndex = 21;
             this.gridColumn19.Width = 94;
             // 
             // gridColumn30
@@ -666,7 +683,7 @@
             this.gridColumn13.MinWidth = 25;
             this.gridColumn13.Name = "gridColumn13";
             this.gridColumn13.Visible = true;
-            this.gridColumn13.VisibleIndex = 21;
+            this.gridColumn13.VisibleIndex = 22;
             this.gridColumn13.Width = 94;
             // 
             // gridColumn17
@@ -684,8 +701,29 @@
             this.gridColumn5.MinWidth = 25;
             this.gridColumn5.Name = "gridColumn5";
             this.gridColumn5.Visible = true;
-            this.gridColumn5.VisibleIndex = 4;
+            this.gridColumn5.VisibleIndex = 5;
             this.gridColumn5.Width = 94;
+            // 
+            // gridColumn6
+            // 
+            this.gridColumn6.Caption = "鍘绘楠�";
+            this.gridColumn6.ColumnEdit = this.rptButtonUrl;
+            this.gridColumn6.MinWidth = 25;
+            this.gridColumn6.Name = "gridColumn6";
+            this.gridColumn6.Visible = true;
+            this.gridColumn6.VisibleIndex = 1;
+            this.gridColumn6.Width = 94;
+            // 
+            // rptButtonUrl
+            // 
+            this.rptButtonUrl.AutoHeight = false;
+            editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.boposition2_16x162;
+            editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
+            this.rptButtonUrl.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.rptButtonUrl.Name = "rptButtonUrl";
+            this.rptButtonUrl.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
+            this.rptButtonUrl.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.rptButtonUrl_ButtonClick);
             // 
             // pageBar1
             // 
@@ -703,6 +741,7 @@
             // 
             this.xtraTabPage2.Controls.Add(this.splitMx1);
             this.xtraTabPage2.Name = "xtraTabPage2";
+            this.xtraTabPage2.PageVisible = false;
             this.xtraTabPage2.Size = new System.Drawing.Size(1342, 688);
             this.xtraTabPage2.Text = "鏁版嵁璇︾粏";
             // 
@@ -777,17 +816,17 @@
             this.txt_remarks.Location = new System.Drawing.Point(84, 124);
             this.txt_remarks.Name = "txt_remarks";
             this.txt_remarks.Properties.Appearance.Options.UseFont = true;
-            this.txt_remarks.Size = new System.Drawing.Size(574, 24);
+            this.txt_remarks.Size = new System.Drawing.Size(584, 24);
             this.txt_remarks.StyleController = this.layoutMx1;
             this.txt_remarks.TabIndex = 797;
             // 
             // txt_fcheckResu
             // 
-            this.txt_fcheckResu.Location = new System.Drawing.Point(734, 124);
+            this.txt_fcheckResu.Location = new System.Drawing.Point(744, 124);
             this.txt_fcheckResu.Name = "txt_fcheckResu";
             this.txt_fcheckResu.Properties.Appearance.ForeColor = System.Drawing.Color.Blue;
             this.txt_fcheckResu.Properties.Appearance.Options.UseForeColor = true;
-            this.txt_fcheckResu.Size = new System.Drawing.Size(249, 24);
+            this.txt_fcheckResu.Size = new System.Drawing.Size(254, 24);
             this.txt_fcheckResu.StyleController = this.layoutMx1;
             this.txt_fcheckResu.TabIndex = 798;
             this.txt_fcheckResu.Tag = "readonly";
@@ -797,94 +836,94 @@
             this.txt_releaseNo.Location = new System.Drawing.Point(84, 12);
             this.txt_releaseNo.Name = "txt_releaseNo";
             this.txt_releaseNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_releaseNo.Size = new System.Drawing.Size(249, 24);
+            this.txt_releaseNo.Size = new System.Drawing.Size(254, 24);
             this.txt_releaseNo.StyleController = this.layoutMx1;
             this.txt_releaseNo.TabIndex = 213;
             this.txt_releaseNo.Tag = "readonly";
             // 
             // txt_fcheckDate
             // 
-            this.txt_fcheckDate.Location = new System.Drawing.Point(734, 40);
+            this.txt_fcheckDate.Location = new System.Drawing.Point(744, 40);
             this.txt_fcheckDate.Name = "txt_fcheckDate";
             this.txt_fcheckDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_fcheckDate.Size = new System.Drawing.Size(249, 24);
+            this.txt_fcheckDate.Size = new System.Drawing.Size(254, 24);
             this.txt_fcheckDate.StyleController = this.layoutMx1;
             this.txt_fcheckDate.TabIndex = 216;
             this.txt_fcheckDate.Tag = "readonly";
             // 
             // txt_lotNo1
             // 
-            this.txt_lotNo1.Location = new System.Drawing.Point(734, 12);
+            this.txt_lotNo1.Location = new System.Drawing.Point(744, 12);
             this.txt_lotNo1.Name = "txt_lotNo1";
             this.txt_lotNo1.Properties.Appearance.Options.UseFont = true;
-            this.txt_lotNo1.Size = new System.Drawing.Size(249, 24);
+            this.txt_lotNo1.Size = new System.Drawing.Size(254, 24);
             this.txt_lotNo1.StyleController = this.layoutMx1;
             this.txt_lotNo1.TabIndex = 262;
             this.txt_lotNo1.Tag = "";
             // 
             // txt_itemNo
             // 
-            this.txt_itemNo.Location = new System.Drawing.Point(409, 68);
+            this.txt_itemNo.Location = new System.Drawing.Point(414, 68);
             this.txt_itemNo.Name = "txt_itemNo";
             this.txt_itemNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_itemNo.Size = new System.Drawing.Size(249, 24);
+            this.txt_itemNo.Size = new System.Drawing.Size(254, 24);
             this.txt_itemNo.StyleController = this.layoutMx1;
             this.txt_itemNo.TabIndex = 789;
             this.txt_itemNo.Tag = "readonly";
             // 
             // txt_itemModel
             // 
-            this.txt_itemModel.Location = new System.Drawing.Point(409, 96);
+            this.txt_itemModel.Location = new System.Drawing.Point(414, 96);
             this.txt_itemModel.Name = "txt_itemModel";
-            this.txt_itemModel.Size = new System.Drawing.Size(249, 24);
+            this.txt_itemModel.Size = new System.Drawing.Size(254, 24);
             this.txt_itemModel.StyleController = this.layoutMx1;
             this.txt_itemModel.TabIndex = 801;
             this.txt_itemModel.Tag = "readonly";
             // 
             // txt_fcheckBy
             // 
-            this.txt_fcheckBy.Location = new System.Drawing.Point(734, 68);
+            this.txt_fcheckBy.Location = new System.Drawing.Point(744, 68);
             this.txt_fcheckBy.Name = "txt_fcheckBy";
             this.txt_fcheckBy.Properties.Appearance.Options.UseFont = true;
-            this.txt_fcheckBy.Size = new System.Drawing.Size(249, 24);
+            this.txt_fcheckBy.Size = new System.Drawing.Size(254, 24);
             this.txt_fcheckBy.StyleController = this.layoutMx1;
             this.txt_fcheckBy.TabIndex = 217;
             this.txt_fcheckBy.Tag = "readonly";
             // 
             // txt_fbatchQty
             // 
-            this.txt_fbatchQty.Location = new System.Drawing.Point(409, 12);
+            this.txt_fbatchQty.Location = new System.Drawing.Point(414, 12);
             this.txt_fbatchQty.Name = "txt_fbatchQty";
             this.txt_fbatchQty.Properties.Appearance.Options.UseFont = true;
-            this.txt_fbatchQty.Size = new System.Drawing.Size(249, 24);
+            this.txt_fbatchQty.Size = new System.Drawing.Size(254, 24);
             this.txt_fbatchQty.StyleController = this.layoutMx1;
             this.txt_fbatchQty.TabIndex = 222;
             this.txt_fbatchQty.Tag = "";
             // 
             // txt_fsubmitBy
             // 
-            this.txt_fsubmitBy.Location = new System.Drawing.Point(1059, 96);
+            this.txt_fsubmitBy.Location = new System.Drawing.Point(1074, 96);
             this.txt_fsubmitBy.Name = "txt_fsubmitBy";
-            this.txt_fsubmitBy.Size = new System.Drawing.Size(250, 24);
+            this.txt_fsubmitBy.Size = new System.Drawing.Size(256, 24);
             this.txt_fsubmitBy.StyleController = this.layoutMx1;
             this.txt_fsubmitBy.TabIndex = 804;
             this.txt_fsubmitBy.Tag = "readonly";
             // 
             // txt_fsubmitDate
             // 
-            this.txt_fsubmitDate.Location = new System.Drawing.Point(1059, 68);
+            this.txt_fsubmitDate.Location = new System.Drawing.Point(1074, 68);
             this.txt_fsubmitDate.Name = "txt_fsubmitDate";
-            this.txt_fsubmitDate.Size = new System.Drawing.Size(250, 24);
+            this.txt_fsubmitDate.Size = new System.Drawing.Size(256, 24);
             this.txt_fsubmitDate.StyleController = this.layoutMx1;
             this.txt_fsubmitDate.TabIndex = 805;
             this.txt_fsubmitDate.Tag = "readonly";
             // 
             // txt_fsubmit
             // 
-            this.txt_fsubmit.Location = new System.Drawing.Point(987, 124);
+            this.txt_fsubmit.Location = new System.Drawing.Point(1002, 124);
             this.txt_fsubmit.Name = "txt_fsubmit";
             this.txt_fsubmit.Properties.Caption = "瀹℃牳鏍囪瘑";
-            this.txt_fsubmit.Size = new System.Drawing.Size(322, 24);
+            this.txt_fsubmit.Size = new System.Drawing.Size(328, 24);
             this.txt_fsubmit.StyleController = this.layoutMx1;
             this.txt_fsubmit.TabIndex = 806;
             this.txt_fsubmit.Tag = "readonly";
@@ -902,36 +941,36 @@
             // 
             this.txt_lotNo.Location = new System.Drawing.Point(84, 40);
             this.txt_lotNo.Name = "txt_lotNo";
-            this.txt_lotNo.Size = new System.Drawing.Size(249, 24);
+            this.txt_lotNo.Size = new System.Drawing.Size(254, 24);
             this.txt_lotNo.StyleController = this.layoutMx1;
             this.txt_lotNo.TabIndex = 815;
             this.txt_lotNo.Tag = "readonly";
             // 
             // txt_checkStates
             // 
-            this.txt_checkStates.Location = new System.Drawing.Point(734, 96);
+            this.txt_checkStates.Location = new System.Drawing.Point(744, 96);
             this.txt_checkStates.Name = "txt_checkStates";
             this.txt_checkStates.Properties.Appearance.ForeColor = System.Drawing.Color.Blue;
             this.txt_checkStates.Properties.Appearance.Options.UseForeColor = true;
-            this.txt_checkStates.Size = new System.Drawing.Size(249, 24);
+            this.txt_checkStates.Size = new System.Drawing.Size(254, 24);
             this.txt_checkStates.StyleController = this.layoutMx1;
             this.txt_checkStates.TabIndex = 819;
             this.txt_checkStates.Tag = "readonly";
             // 
             // txt_createBy
             // 
-            this.txt_createBy.Location = new System.Drawing.Point(1059, 12);
+            this.txt_createBy.Location = new System.Drawing.Point(1074, 12);
             this.txt_createBy.Name = "txt_createBy";
-            this.txt_createBy.Size = new System.Drawing.Size(250, 24);
+            this.txt_createBy.Size = new System.Drawing.Size(256, 24);
             this.txt_createBy.StyleController = this.layoutMx1;
             this.txt_createBy.TabIndex = 822;
             this.txt_createBy.Tag = "readonly";
             // 
             // txt_createDate
             // 
-            this.txt_createDate.Location = new System.Drawing.Point(1059, 40);
+            this.txt_createDate.Location = new System.Drawing.Point(1074, 40);
             this.txt_createDate.Name = "txt_createDate";
-            this.txt_createDate.Size = new System.Drawing.Size(250, 24);
+            this.txt_createDate.Size = new System.Drawing.Size(256, 24);
             this.txt_createDate.StyleController = this.layoutMx1;
             this.txt_createDate.TabIndex = 823;
             this.txt_createDate.Tag = "readonly";
@@ -940,16 +979,16 @@
             // 
             this.txt_itemName.Location = new System.Drawing.Point(84, 96);
             this.txt_itemName.Name = "txt_itemName";
-            this.txt_itemName.Size = new System.Drawing.Size(249, 24);
+            this.txt_itemName.Size = new System.Drawing.Size(254, 24);
             this.txt_itemName.StyleController = this.layoutMx1;
             this.txt_itemName.TabIndex = 825;
             this.txt_itemName.Tag = "readonly";
             // 
             // txt_lineName
             // 
-            this.txt_lineName.Location = new System.Drawing.Point(409, 40);
+            this.txt_lineName.Location = new System.Drawing.Point(414, 40);
             this.txt_lineName.Name = "txt_lineName";
-            this.txt_lineName.Size = new System.Drawing.Size(249, 24);
+            this.txt_lineName.Size = new System.Drawing.Size(254, 24);
             this.txt_lineName.StyleController = this.layoutMx1;
             this.txt_lineName.TabIndex = 826;
             // 
@@ -957,7 +996,7 @@
             // 
             this.txt_itemId.Location = new System.Drawing.Point(84, 68);
             this.txt_itemId.Name = "txt_itemId";
-            this.txt_itemId.Size = new System.Drawing.Size(249, 24);
+            this.txt_itemId.Size = new System.Drawing.Size(254, 24);
             this.txt_itemId.StyleController = this.layoutMx1;
             this.txt_itemId.TabIndex = 827;
             // 
@@ -965,7 +1004,7 @@
             // 
             this.txt_fngDesc.Location = new System.Drawing.Point(84, 152);
             this.txt_fngDesc.Name = "txt_fngDesc";
-            this.txt_fngDesc.Size = new System.Drawing.Size(574, 24);
+            this.txt_fngDesc.Size = new System.Drawing.Size(584, 24);
             this.txt_fngDesc.StyleController = this.layoutMx1;
             this.txt_fngDesc.TabIndex = 828;
             // 
@@ -1051,70 +1090,70 @@
             rowDefinition4,
             rowDefinition5,
             rowDefinition6});
-            this.Root.Size = new System.Drawing.Size(1321, 188);
+            this.Root.Size = new System.Drawing.Size(1342, 188);
             this.Root.TextVisible = false;
             // 
             // layoutControlItem9
             // 
             this.layoutControlItem9.Control = this.txt_fbatchQty;
-            this.layoutControlItem9.Location = new System.Drawing.Point(325, 0);
+            this.layoutControlItem9.Location = new System.Drawing.Point(330, 0);
             this.layoutControlItem9.Name = "layoutControlItem9";
             this.layoutControlItem9.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem9.Size = new System.Drawing.Size(325, 28);
+            this.layoutControlItem9.Size = new System.Drawing.Size(330, 28);
             this.layoutControlItem9.Text = "鎶芥鏁伴噺";
             this.layoutControlItem9.TextSize = new System.Drawing.Size(60, 18);
             // 
             // layoutControlItem31
             // 
             this.layoutControlItem31.Control = this.txt_createBy;
-            this.layoutControlItem31.Location = new System.Drawing.Point(975, 0);
+            this.layoutControlItem31.Location = new System.Drawing.Point(990, 0);
             this.layoutControlItem31.Name = "layoutControlItem31";
             this.layoutControlItem31.OptionsTableLayoutItem.ColumnIndex = 3;
-            this.layoutControlItem31.Size = new System.Drawing.Size(326, 28);
+            this.layoutControlItem31.Size = new System.Drawing.Size(332, 28);
             this.layoutControlItem31.Text = "鍒涘缓浜哄憳";
             this.layoutControlItem31.TextSize = new System.Drawing.Size(60, 18);
             // 
             // layoutControlItem33
             // 
             this.layoutControlItem33.Control = this.txt_createDate;
-            this.layoutControlItem33.Location = new System.Drawing.Point(975, 28);
+            this.layoutControlItem33.Location = new System.Drawing.Point(990, 28);
             this.layoutControlItem33.Name = "layoutControlItem33";
             this.layoutControlItem33.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem33.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem33.Size = new System.Drawing.Size(326, 28);
+            this.layoutControlItem33.Size = new System.Drawing.Size(332, 28);
             this.layoutControlItem33.Text = "鍒涘缓鏃堕棿";
             this.layoutControlItem33.TextSize = new System.Drawing.Size(60, 18);
             // 
             // layoutControlItem16
             // 
             this.layoutControlItem16.Control = this.txt_fsubmitDate;
-            this.layoutControlItem16.Location = new System.Drawing.Point(975, 56);
+            this.layoutControlItem16.Location = new System.Drawing.Point(990, 56);
             this.layoutControlItem16.Name = "layoutControlItem16";
             this.layoutControlItem16.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem16.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem16.Size = new System.Drawing.Size(326, 28);
+            this.layoutControlItem16.Size = new System.Drawing.Size(332, 28);
             this.layoutControlItem16.Text = "瀹℃牳浜哄憳";
             this.layoutControlItem16.TextSize = new System.Drawing.Size(60, 18);
             // 
             // layoutControlItem15
             // 
             this.layoutControlItem15.Control = this.txt_fsubmitBy;
-            this.layoutControlItem15.Location = new System.Drawing.Point(975, 84);
+            this.layoutControlItem15.Location = new System.Drawing.Point(990, 84);
             this.layoutControlItem15.Name = "layoutControlItem15";
             this.layoutControlItem15.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem15.OptionsTableLayoutItem.RowIndex = 3;
-            this.layoutControlItem15.Size = new System.Drawing.Size(326, 28);
+            this.layoutControlItem15.Size = new System.Drawing.Size(332, 28);
             this.layoutControlItem15.Text = "瀹℃牳鏃ユ湡";
             this.layoutControlItem15.TextSize = new System.Drawing.Size(60, 18);
             // 
             // layoutControlItem14
             // 
             this.layoutControlItem14.Control = this.txt_fsubmit;
-            this.layoutControlItem14.Location = new System.Drawing.Point(975, 112);
+            this.layoutControlItem14.Location = new System.Drawing.Point(990, 112);
             this.layoutControlItem14.Name = "layoutControlItem14";
             this.layoutControlItem14.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem14.OptionsTableLayoutItem.RowIndex = 4;
-            this.layoutControlItem14.Size = new System.Drawing.Size(326, 28);
+            this.layoutControlItem14.Size = new System.Drawing.Size(332, 28);
             this.layoutControlItem14.Text = "瀹℃牳鏍囪瘑";
             this.layoutControlItem14.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem14.TextVisible = false;
@@ -1124,7 +1163,7 @@
             this.layoutControlItem1.Control = this.txt_releaseNo;
             this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
             this.layoutControlItem1.Name = "layoutControlItem1";
-            this.layoutControlItem1.Size = new System.Drawing.Size(325, 28);
+            this.layoutControlItem1.Size = new System.Drawing.Size(330, 28);
             this.layoutControlItem1.Text = "妫�楠屽崟鍙�";
             this.layoutControlItem1.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -1134,72 +1173,72 @@
             this.layoutControlItem28.Location = new System.Drawing.Point(0, 28);
             this.layoutControlItem28.Name = "layoutControlItem28";
             this.layoutControlItem28.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem28.Size = new System.Drawing.Size(325, 28);
+            this.layoutControlItem28.Size = new System.Drawing.Size(330, 28);
             this.layoutControlItem28.Text = "鐢熶骇宸ュ崟";
             this.layoutControlItem28.TextSize = new System.Drawing.Size(60, 18);
             // 
             // layoutControlItem3
             // 
             this.layoutControlItem3.Control = this.txt_lotNo1;
-            this.layoutControlItem3.Location = new System.Drawing.Point(650, 0);
+            this.layoutControlItem3.Location = new System.Drawing.Point(660, 0);
             this.layoutControlItem3.Name = "layoutControlItem3";
             this.layoutControlItem3.OptionsTableLayoutItem.ColumnIndex = 2;
-            this.layoutControlItem3.Size = new System.Drawing.Size(325, 28);
+            this.layoutControlItem3.Size = new System.Drawing.Size(330, 28);
             this.layoutControlItem3.Text = "閫佹鎵瑰彿";
             this.layoutControlItem3.TextSize = new System.Drawing.Size(60, 18);
             // 
             // layoutControlItem2
             // 
             this.layoutControlItem2.Control = this.txt_fcheckDate;
-            this.layoutControlItem2.Location = new System.Drawing.Point(650, 28);
+            this.layoutControlItem2.Location = new System.Drawing.Point(660, 28);
             this.layoutControlItem2.Name = "layoutControlItem2";
             this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem2.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem2.Size = new System.Drawing.Size(325, 28);
+            this.layoutControlItem2.Size = new System.Drawing.Size(330, 28);
             this.layoutControlItem2.Text = "妫�楠屾棩鏈�";
             this.layoutControlItem2.TextSize = new System.Drawing.Size(60, 18);
             // 
             // layoutControlItem8
             // 
             this.layoutControlItem8.Control = this.txt_fcheckBy;
-            this.layoutControlItem8.Location = new System.Drawing.Point(650, 56);
+            this.layoutControlItem8.Location = new System.Drawing.Point(660, 56);
             this.layoutControlItem8.Name = "layoutControlItem8";
             this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem8.Size = new System.Drawing.Size(325, 28);
+            this.layoutControlItem8.Size = new System.Drawing.Size(330, 28);
             this.layoutControlItem8.Text = "妫�楠屼汉鍛�";
             this.layoutControlItem8.TextSize = new System.Drawing.Size(60, 18);
             // 
             // layoutControlItem32
             // 
             this.layoutControlItem32.Control = this.txt_checkStates;
-            this.layoutControlItem32.Location = new System.Drawing.Point(650, 84);
+            this.layoutControlItem32.Location = new System.Drawing.Point(660, 84);
             this.layoutControlItem32.Name = "layoutControlItem32";
             this.layoutControlItem32.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem32.OptionsTableLayoutItem.RowIndex = 3;
-            this.layoutControlItem32.Size = new System.Drawing.Size(325, 28);
+            this.layoutControlItem32.Size = new System.Drawing.Size(330, 28);
             this.layoutControlItem32.Text = "妫�楠岀姸鎬�";
             this.layoutControlItem32.TextSize = new System.Drawing.Size(60, 18);
             // 
             // layoutControlItem10
             // 
             this.layoutControlItem10.Control = this.txt_fcheckResu;
-            this.layoutControlItem10.Location = new System.Drawing.Point(650, 112);
+            this.layoutControlItem10.Location = new System.Drawing.Point(660, 112);
             this.layoutControlItem10.Name = "layoutControlItem10";
             this.layoutControlItem10.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem10.OptionsTableLayoutItem.RowIndex = 4;
-            this.layoutControlItem10.Size = new System.Drawing.Size(325, 28);
+            this.layoutControlItem10.Size = new System.Drawing.Size(330, 28);
             this.layoutControlItem10.Text = "妫�楠岀粨鏋�";
             this.layoutControlItem10.TextSize = new System.Drawing.Size(60, 18);
             // 
             // layoutControlItem7
             // 
             this.layoutControlItem7.Control = this.txt_lineName;
-            this.layoutControlItem7.Location = new System.Drawing.Point(325, 28);
+            this.layoutControlItem7.Location = new System.Drawing.Point(330, 28);
             this.layoutControlItem7.Name = "layoutControlItem7";
             this.layoutControlItem7.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem7.Size = new System.Drawing.Size(325, 28);
+            this.layoutControlItem7.Size = new System.Drawing.Size(330, 28);
             this.layoutControlItem7.Text = "浜х嚎鍚嶇О";
             this.layoutControlItem7.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -1209,7 +1248,7 @@
             this.layoutControlItem4.Location = new System.Drawing.Point(0, 56);
             this.layoutControlItem4.Name = "layoutControlItem4";
             this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem4.Size = new System.Drawing.Size(325, 28);
+            this.layoutControlItem4.Size = new System.Drawing.Size(330, 28);
             this.layoutControlItem4.Text = "浜у搧ID";
             this.layoutControlItem4.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -1217,11 +1256,11 @@
             // 
             this.layoutControlItem5.Control = this.txt_itemNo;
             this.layoutControlItem5.CustomizationFormText = "浜у搧缂栫爜";
-            this.layoutControlItem5.Location = new System.Drawing.Point(325, 56);
+            this.layoutControlItem5.Location = new System.Drawing.Point(330, 56);
             this.layoutControlItem5.Name = "layoutControlItem5";
             this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem5.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem5.Size = new System.Drawing.Size(325, 28);
+            this.layoutControlItem5.Size = new System.Drawing.Size(330, 28);
             this.layoutControlItem5.Text = "鐗╂枡缂栫爜";
             this.layoutControlItem5.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -1231,7 +1270,7 @@
             this.layoutControlItem34.Location = new System.Drawing.Point(0, 84);
             this.layoutControlItem34.Name = "layoutControlItem34";
             this.layoutControlItem34.OptionsTableLayoutItem.RowIndex = 3;
-            this.layoutControlItem34.Size = new System.Drawing.Size(325, 28);
+            this.layoutControlItem34.Size = new System.Drawing.Size(330, 28);
             this.layoutControlItem34.Text = "浜у搧鍚嶇О";
             this.layoutControlItem34.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -1239,11 +1278,11 @@
             // 
             this.layoutControlItem6.Control = this.txt_itemModel;
             this.layoutControlItem6.CustomizationFormText = "浜у搧瑙勬牸";
-            this.layoutControlItem6.Location = new System.Drawing.Point(325, 84);
+            this.layoutControlItem6.Location = new System.Drawing.Point(330, 84);
             this.layoutControlItem6.Name = "layoutControlItem6";
             this.layoutControlItem6.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem6.OptionsTableLayoutItem.RowIndex = 3;
-            this.layoutControlItem6.Size = new System.Drawing.Size(325, 28);
+            this.layoutControlItem6.Size = new System.Drawing.Size(330, 28);
             this.layoutControlItem6.Text = "鐗╂枡瑙勬牸";
             this.layoutControlItem6.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -1254,7 +1293,7 @@
             this.layoutControlItem12.Name = "layoutControlItem12";
             this.layoutControlItem12.OptionsTableLayoutItem.ColumnSpan = 2;
             this.layoutControlItem12.OptionsTableLayoutItem.RowIndex = 4;
-            this.layoutControlItem12.Size = new System.Drawing.Size(650, 28);
+            this.layoutControlItem12.Size = new System.Drawing.Size(660, 28);
             this.layoutControlItem12.Text = "澶囨敞璇存槑";
             this.layoutControlItem12.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -1265,7 +1304,7 @@
             this.layoutControlItem13.Name = "layoutControlItem13";
             this.layoutControlItem13.OptionsTableLayoutItem.ColumnSpan = 2;
             this.layoutControlItem13.OptionsTableLayoutItem.RowIndex = 5;
-            this.layoutControlItem13.Size = new System.Drawing.Size(650, 28);
+            this.layoutControlItem13.Size = new System.Drawing.Size(660, 28);
             this.layoutControlItem13.Text = "寮傚父澶囨敞";
             this.layoutControlItem13.TextSize = new System.Drawing.Size(60, 18);
             // 
@@ -1929,6 +1968,16 @@
             // 
             this.gridView4.Name = "gridView4";
             // 
+            // gridColumn7
+            // 
+            this.gridColumn7.Caption = "鐢熶骇缁勭粐";
+            this.gridColumn7.FieldName = "fSubsidiary";
+            this.gridColumn7.MinWidth = 25;
+            this.gridColumn7.Name = "gridColumn7";
+            this.gridColumn7.Visible = true;
+            this.gridColumn7.VisibleIndex = 23;
+            this.gridColumn7.Width = 94;
+            // 
             // Frm_ShouJianDetect01
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
@@ -1950,6 +1999,7 @@
             this.split1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.rptButtonUrl)).EndInit();
             this.xtraTabPage2.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel1)).EndInit();
             this.splitMx1.Panel1.ResumeLayout(false);
@@ -2183,5 +2233,8 @@
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
+        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit rptButtonUrl;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.cs b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.cs
index 46a0963..08607ab 100644
--- a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.cs
+++ b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_ShouJianDetect01.cs
@@ -1,4 +1,5 @@
-锘縰sing Gs.DevApp.Entity;
+锘縰sing Gs.DevApp.DevFrm.User;
+using Gs.DevApp.Entity;
 using Gs.DevApp.ToolBox;
 using Gs.DevApp.UserControl;
 using Newtonsoft.Json;
@@ -7,6 +8,7 @@
 using System.Collections.Generic;
 using System.Configuration;
 using System.Data;
+using System.Linq;
 using System.Net;
 using System.Threading.Tasks;
 using System.Windows.Forms;
@@ -32,13 +34,13 @@
             {
                 Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
             }, tips);
-            Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) =>
-            {
-                getModel(value, "0");
-            }, (value) =>
-            {
-                getPageList(this.pageBar1.CurrentPage);
-            }, lbGuid);
+            //Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) =>
+            //{
+            //    getModel(value, "0");
+            //}, (value) =>
+            //{
+            //    getPageList(this.pageBar1.CurrentPage);
+            //}, lbGuid);
             getPageList(1);
             pageBar1.PagerEvent += PageBar1_PagerEvent;
             xtraTabControl2.SelectedPageChanged += XtraTabControl2_SelectedPageChanged;
@@ -137,7 +139,7 @@
                 lbGuid, txt_releaseNo, gridView1, "releaseNo");
             if (string.IsNullOrEmpty(rowGuid))
             {
-                MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+                MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
                 return;
             }
             if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾瀵煎嚭鍚楋紵"))
@@ -166,7 +168,8 @@
                             {
                                 client.DownloadFile(_url, _folderName);
                             }
-                            ToolBox.MsgHelper.ShowInformation("瀵煎嚭鎴愬姛锛�");
+                            var frm = new Gs.DevApp.DevFrm.QC.Xls(_folderName);
+                            frm.ShowDialog();
                         }
                         else
                         {
@@ -209,8 +212,11 @@
         /// <param name="pageSize">姣忛〉鍑犳潯</param>
         private void getPageList(int curPage)
         {
-            gcMain1.DataSource = null;var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList);
-            // _sbSqlWhere += " and isnull(fsubmit,0)=0";
+            gcMain1.DataSource = null;
+            System.Text.StringBuilder _sbSqlWhere = new System.Text.StringBuilder();
+            _sbSqlWhere.Append(" and daa.erp_sczz in");
+            _sbSqlWhere.Append(ToolBox.UtilityHelper.GetOrgWhere());
+            _sbSqlWhere.Append(UtilityHelper.GetSearchWhere(_filterList));
             PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "release_no", "asc", "", _sbSqlWhere.ToString());
             string json = JsonConvert.SerializeObject(pgq);
             try
@@ -374,5 +380,27 @@
             txtJianYan.ReadOnly = !bl;
             btnIpt.Text = (bl == true ? "褰曞叆鏍锋湰" : "鏌ョ湅鏍锋湰");
         }
+
+        /// <summary>
+        /// 鍘绘楠�
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void rptButtonUrl_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
+        {
+            if (e.Button.Index == 0)
+            {
+                var userGuid =
+               string.IsNullOrEmpty(LoginInfoModel.CurrentUser.LoginUserGuid)
+                   ? Guid.NewGuid().ToString()
+                   : LoginInfoModel.CurrentUser.LoginUserGuid;
+
+                var rowhandle = gridView1.FocusedRowHandle;
+                var dr = gridView1.GetDataRow(rowhandle);
+                var qcGuid = dr["guid"].ToString()+"&mth="+DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff")+"&userGuid="+ userGuid;
+                Frm_ShouJianDetect01H5 frm = new Frm_ShouJianDetect01H5(qcGuid);
+                frm.ShowDialog();
+            }
+        }
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01.Designer.cs b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01.Designer.cs
index 3cfba41..18de00d 100644
--- a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01.Designer.cs
@@ -182,6 +182,7 @@
             this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
             this.gridView4 = new DevExpress.XtraGrid.Views.Grid.GridView();
             this.tips = new DevExpress.Utils.ToolTipController(this.components);
+            this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
             ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
             this.xtraTabControl1.SuspendLayout();
@@ -397,7 +398,8 @@
             this.gridColumn13,
             this.gridColumn17,
             this.gridColumn5,
-            this.gridColumn6});
+            this.gridColumn6,
+            this.gridColumn7});
             this.gridView1.GridControl = this.gcMain1;
             this.gridView1.IndicatorWidth = 50;
             this.gridView1.Name = "gridView1";
@@ -1937,6 +1939,16 @@
             // 
             this.gridView4.Name = "gridView4";
             // 
+            // gridColumn7
+            // 
+            this.gridColumn7.Caption = "鐢熶骇缁勭粐";
+            this.gridColumn7.FieldName = "fSubsidiary";
+            this.gridColumn7.MinWidth = 25;
+            this.gridColumn7.Name = "gridColumn7";
+            this.gridColumn7.Visible = true;
+            this.gridColumn7.VisibleIndex = 21;
+            this.gridColumn7.Width = 94;
+            // 
             // Frm_XunJianDetect01
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
@@ -2192,5 +2204,6 @@
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01.cs b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01.cs
index cac889c..460b67e 100644
--- a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01.cs
+++ b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01.cs
@@ -8,6 +8,7 @@
 using System.Collections.Generic;
 using System.Configuration;
 using System.Data;
+using System.Linq;
 using System.Net;
 using System.Threading.Tasks;
 using System.Windows.Forms;
@@ -119,49 +120,69 @@
         /// <exception cref="NotImplementedException"></exception>
         private void ToolBarMenu1_btnOutClick(object sender, EventArgs e)
         {
-            var frm = new Frm_XunJianDetect01Show();
-            frm.UpdateParent += (ss, ee) =>
+            //鏄惁妫�鏌ユ棤姣昩eg
+            var dr = gridView1.GetFocusedDataRow();
+            if (dr == null || string.IsNullOrEmpty(dr["guid"].ToString()))
             {
-                string begDate = ee.StringSingle.Trim();
-                using (FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog())
+                MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+                return;
+            }
+            string strLotNo = dr["lotNo"].ToString();
+            if (string.IsNullOrEmpty(strLotNo))
+            {
+                MsgHelper.ShowError("鏈紑濮嬫楠岋紝涓嶈兘瀵煎嚭锛�");
+                return;
+            }
+            //鏄惁妫�鏌ユ棤姣昬nd
+
+            string rowGuid = "", rowName = "";
+            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
+                lbGuid, txt_releaseNo, gridView1, "releaseNo");
+            if (string.IsNullOrEmpty(rowGuid))
+            {
+                MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+                return;
+            }
+            if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾瀵煎嚭鍚楋紵"))
+                return;
+            using (FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog())
+            {
+                folderBrowserDialog.Description = "閫夋嫨瀵煎嚭鏂囦欢鐨勪繚瀛樿矾寰�";
+                DialogResult dialogResult = folderBrowserDialog.ShowDialog();
+                if (dialogResult == DialogResult.OK)
                 {
-                    folderBrowserDialog.Description = "閫夋嫨瀵煎嚭鏂囦欢鐨勪繚瀛樿矾寰�";
-                    DialogResult dialogResult = folderBrowserDialog.ShowDialog();
-                    if (dialogResult == DialogResult.OK)
+                    string _folder = folderBrowserDialog.SelectedPath;
+                    var _obj = new
                     {
-                        string _folder = folderBrowserDialog.SelectedPath;
-                        var _obj = new
+                        guid = rowGuid,
+                    };
+                    try
+                    {
+                        string strJson = UtilityHelper.HttpPost("", "XlsInOut/XlsOutXunJian", JsonConvert.SerializeObject(_obj));
+                        ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson);
+                        if (_rtn.rtnCode > 0)
                         {
-                            begDate = begDate,
-                        };
-                        try
-                        {
-                            string strJson = UtilityHelper.HttpPost("", "XlsInOut/XlsOutXunJian", 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())
                             {
-                                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("瀵煎嚭鎴愬姛锛�");
+                                client.DownloadFile(_url, _folderName);
                             }
-                            else
-                            {
-                                ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + _rtn.rtnMsg);
-                            }
+                            var frm = new Gs.DevApp.DevFrm.QC.Xls(_folderName);
+                            frm.ShowDialog();
                         }
-                        catch (Exception ex)
+                        else
                         {
-                            ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
+                            ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + _rtn.rtnMsg);
                         }
                     }
+                    catch (Exception ex)
+                    {
+                        ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
+                    }
                 }
-            };
-            frm.ShowDialog();
+            }
         }
         /// <summary>
         /// 鏃ュ織浜嬩欢
@@ -206,8 +227,11 @@
         /// <param name="pageSize">姣忛〉鍑犳潯</param>
         private void getPageList(int curPage)
         {
-            gcMain1.DataSource = null; var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList);
-            // _sbSqlWhere += " and isnull(fsubmit,0)=0";
+            gcMain1.DataSource = null; 
+            System.Text.StringBuilder _sbSqlWhere = new System.Text.StringBuilder();
+            _sbSqlWhere.Append(" and bm.FSubsidiary in");
+            _sbSqlWhere.Append(ToolBox.UtilityHelper.GetOrgWhere());
+            _sbSqlWhere.Append(UtilityHelper.GetSearchWhere(_filterList));
             PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "release_no", "asc", "", _sbSqlWhere.ToString());
             string json = JsonConvert.SerializeObject(pgq);
             try
diff --git a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01Show.Designer.cs b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01Show.Designer.cs
index ebeac97..31cf9b5 100644
--- a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01Show.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01Show.Designer.cs
@@ -39,7 +39,7 @@
             // 
             // labelControl1
             // 
-            this.labelControl1.Location = new System.Drawing.Point(67, 65);
+            this.labelControl1.Location = new System.Drawing.Point(44, 46);
             this.labelControl1.Name = "labelControl1";
             this.labelControl1.Size = new System.Drawing.Size(90, 18);
             this.labelControl1.TabIndex = 0;
@@ -48,7 +48,7 @@
             // txt_fBegDate
             // 
             this.txt_fBegDate.EditValue = null;
-            this.txt_fBegDate.Location = new System.Drawing.Point(67, 112);
+            this.txt_fBegDate.Location = new System.Drawing.Point(44, 70);
             this.txt_fBegDate.Name = "txt_fBegDate";
             this.txt_fBegDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
@@ -63,7 +63,7 @@
             this.btnCancel.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
             this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand;
             this.btnCancel.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnCancel.ImageOptions.Image")));
-            this.btnCancel.Location = new System.Drawing.Point(184, 177);
+            this.btnCancel.Location = new System.Drawing.Point(157, 144);
             this.btnCancel.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
             this.btnCancel.Name = "btnCancel";
             this.btnCancel.Size = new System.Drawing.Size(87, 37);
@@ -76,7 +76,7 @@
             this.btnSave.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
             this.btnSave.Cursor = System.Windows.Forms.Cursors.Hand;
             this.btnSave.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.ImageOptions.Image")));
-            this.btnSave.Location = new System.Drawing.Point(67, 177);
+            this.btnSave.Location = new System.Drawing.Point(40, 144);
             this.btnSave.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
             this.btnSave.Name = "btnSave";
             this.btnSave.Size = new System.Drawing.Size(87, 37);
@@ -87,12 +87,14 @@
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(366, 260);
+            this.ClientSize = new System.Drawing.Size(316, 260);
             this.Controls.Add(this.btnCancel);
             this.Controls.Add(this.btnSave);
             this.Controls.Add(this.txt_fBegDate);
             this.Controls.Add(this.labelControl1);
             this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black;
+            this.MaximizeBox = false;
+            this.MinimizeBox = false;
             this.Name = "Frm_XunJianDetect01Show";
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
             this.Text = "閫夋嫨鏃ユ湡";
diff --git a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01Show.cs b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01Show.cs
index 1f4ef45..8be3774 100644
--- a/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01Show.cs
+++ b/DevApp/Gs.DevApp/DevFrm/IPQC/Frm_XunJianDetect01Show.cs
@@ -17,11 +17,12 @@
         public Frm_XunJianDetect01Show()
         {
             InitializeComponent();
+            txt_fBegDate.DateTime = DateTime.Now;
             btnSave.Click += (s, e) =>
             {
                 if (txt_fBegDate.Text.Length <= 0)
                 {
-                    Gs.DevApp.ToolBox.MsgHelper.ShowInformation("鏃ユ湡涓嶈兘涓虹┖锛�");
+                    Gs.DevApp.ToolBox.MsgHelper.ShowError("鏃ユ湡涓嶈兘涓虹┖锛�");
                     txt_fBegDate.Focus();
                     return;
                 }
diff --git a/DevApp/Gs.DevApp/Program.cs b/DevApp/Gs.DevApp/Program.cs
index 5e4cdf5..a7362c3 100644
--- a/DevApp/Gs.DevApp/Program.cs
+++ b/DevApp/Gs.DevApp/Program.cs
@@ -20,6 +20,7 @@
         [STAThread]
         private static void Main()
         {
+            Application.EnableVisualStyles();
             var processName =
                 Path.GetFileNameWithoutExtension(Process.GetCurrentProcess()
                     .MainModule.FileName);

--
Gitblit v1.9.3