From ad1a9cd5ae489fbadc1ebfe754d3b71f65d43a1f Mon Sep 17 00:00:00 2001
From: cnf <3283105747@qq.com>
Date: 星期四, 20 十一月 2025 15:46:46 +0800
Subject: [PATCH] 委外任务单批量排产(审核)

---
 DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.cs          |  175 +++++++++++++++++
 DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.Designer.cs |  407 ++++++++++++++++++++-------------------
 2 files changed, 379 insertions(+), 203 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.Designer.cs b/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.Designer.cs
index 9324742..bcd718d 100644
--- a/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.Designer.cs
@@ -30,18 +30,18 @@
         private void InitializeComponent()
         {
             this.components = new System.ComponentModel.Container();
-            DevExpress.XtraLayout.ColumnDefinition columnDefinition5 = new DevExpress.XtraLayout.ColumnDefinition();
-            DevExpress.XtraLayout.ColumnDefinition columnDefinition6 = new DevExpress.XtraLayout.ColumnDefinition();
-            DevExpress.XtraLayout.ColumnDefinition columnDefinition7 = new DevExpress.XtraLayout.ColumnDefinition();
-            DevExpress.XtraLayout.ColumnDefinition columnDefinition8 = new DevExpress.XtraLayout.ColumnDefinition();
-            DevExpress.XtraLayout.RowDefinition rowDefinition9 = new DevExpress.XtraLayout.RowDefinition();
-            DevExpress.XtraLayout.RowDefinition rowDefinition10 = new DevExpress.XtraLayout.RowDefinition();
-            DevExpress.XtraLayout.RowDefinition rowDefinition11 = new DevExpress.XtraLayout.RowDefinition();
-            DevExpress.XtraLayout.RowDefinition rowDefinition12 = new DevExpress.XtraLayout.RowDefinition();
-            DevExpress.XtraLayout.RowDefinition rowDefinition13 = new DevExpress.XtraLayout.RowDefinition();
-            DevExpress.XtraLayout.RowDefinition rowDefinition14 = new DevExpress.XtraLayout.RowDefinition();
-            DevExpress.XtraLayout.RowDefinition rowDefinition15 = new DevExpress.XtraLayout.RowDefinition();
-            DevExpress.XtraLayout.RowDefinition rowDefinition16 = new DevExpress.XtraLayout.RowDefinition();
+            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.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition5 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition6 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition7 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition8 = new DevExpress.XtraLayout.RowDefinition();
             this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu();
             this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
             this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
@@ -200,6 +200,7 @@
             this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
             this.picCheckBox = new System.Windows.Forms.PictureBox();
             this.tips = new DevExpress.Utils.ToolTipController(this.components);
+            this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
             ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
             this.xtraTabControl1.SuspendLayout();
             this.xtraTabPage1.SuspendLayout();
@@ -378,6 +379,7 @@
             this.gridView1.Appearance.Row.Options.UseFont = true;
             this.gridView1.ColumnPanelRowHeight = 39;
             this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+            this.gridColumn11,
             this.gv_orderNo,
             this.gv_businessStatus,
             this.gridColumn3,
@@ -431,7 +433,7 @@
             this.gv_orderNo.OptionsColumn.AllowEdit = false;
             this.gv_orderNo.Tag = "query_a.ORDER_NO";
             this.gv_orderNo.Visible = true;
-            this.gv_orderNo.VisibleIndex = 3;
+            this.gv_orderNo.VisibleIndex = 4;
             this.gv_orderNo.Width = 105;
             // 
             // gv_businessStatus
@@ -444,37 +446,37 @@
             this.gv_businessStatus.OptionsColumn.AllowEdit = false;
             this.gv_businessStatus.Tag = "query_a.BUSINESS_STATUS";
             this.gv_businessStatus.Visible = true;
-            this.gv_businessStatus.VisibleIndex = 5;
+            this.gv_businessStatus.VisibleIndex = 6;
             this.gv_businessStatus.Width = 44;
             // 
             // gridColumn3
             // 
             this.gridColumn3.Caption = "浜у搧缂栫爜";
             this.gridColumn3.FieldName = "wlbm";
-            this.gridColumn3.MinWidth = 9;
+            this.gridColumn3.MinWidth = 10;
             this.gridColumn3.Name = "gridColumn3";
             this.gridColumn3.Visible = true;
-            this.gridColumn3.VisibleIndex = 6;
+            this.gridColumn3.VisibleIndex = 7;
             this.gridColumn3.Width = 87;
             // 
             // gridColumn2
             // 
             this.gridColumn2.Caption = "鐗╂枡鍚嶇О";
             this.gridColumn2.FieldName = "wlmc";
-            this.gridColumn2.MinWidth = 9;
+            this.gridColumn2.MinWidth = 10;
             this.gridColumn2.Name = "gridColumn2";
             this.gridColumn2.Visible = true;
-            this.gridColumn2.VisibleIndex = 7;
+            this.gridColumn2.VisibleIndex = 8;
             this.gridColumn2.Width = 131;
             // 
             // gridColumn1
             // 
             this.gridColumn1.Caption = "瑙勬牸鍨嬪彿";
             this.gridColumn1.FieldName = "wlgg";
-            this.gridColumn1.MinWidth = 9;
+            this.gridColumn1.MinWidth = 10;
             this.gridColumn1.Name = "gridColumn1";
             this.gridColumn1.Visible = true;
-            this.gridColumn1.VisibleIndex = 8;
+            this.gridColumn1.VisibleIndex = 9;
             this.gridColumn1.Width = 131;
             // 
             // gv_erpProductionOrderNo
@@ -487,7 +489,7 @@
             this.gv_erpProductionOrderNo.OptionsColumn.AllowEdit = false;
             this.gv_erpProductionOrderNo.Tag = "query_a.ERP_PRODUCTION_ORDER_NO";
             this.gv_erpProductionOrderNo.Visible = true;
-            this.gv_erpProductionOrderNo.VisibleIndex = 4;
+            this.gv_erpProductionOrderNo.VisibleIndex = 5;
             this.gv_erpProductionOrderNo.Width = 82;
             // 
             // gv_orderType
@@ -500,7 +502,7 @@
             this.gv_orderType.OptionsColumn.AllowEdit = false;
             this.gv_orderType.Tag = "query_a.ORDER_TYPE";
             this.gv_orderType.Visible = true;
-            this.gv_orderType.VisibleIndex = 9;
+            this.gv_orderType.VisibleIndex = 10;
             this.gv_orderType.Width = 82;
             // 
             // gv_workOrderQty
@@ -513,7 +515,7 @@
             this.gv_workOrderQty.OptionsColumn.AllowEdit = false;
             this.gv_workOrderQty.Tag = "query_a.WORK_ORDER_QTY";
             this.gv_workOrderQty.Visible = true;
-            this.gv_workOrderQty.VisibleIndex = 10;
+            this.gv_workOrderQty.VisibleIndex = 11;
             this.gv_workOrderQty.Width = 44;
             // 
             // gv_nostockinqty
@@ -526,7 +528,7 @@
             this.gv_nostockinqty.OptionsColumn.AllowEdit = false;
             this.gv_nostockinqty.Tag = "query_a.NOSTOCKINQTY";
             this.gv_nostockinqty.Visible = true;
-            this.gv_nostockinqty.VisibleIndex = 12;
+            this.gv_nostockinqty.VisibleIndex = 13;
             this.gv_nostockinqty.Width = 44;
             // 
             // gv_stockinqty
@@ -539,7 +541,7 @@
             this.gv_stockinqty.OptionsColumn.AllowEdit = false;
             this.gv_stockinqty.Tag = "query_a.STOCKINQTY";
             this.gv_stockinqty.Visible = true;
-            this.gv_stockinqty.VisibleIndex = 11;
+            this.gv_stockinqty.VisibleIndex = 12;
             this.gv_stockinqty.Width = 44;
             // 
             // gv_unit
@@ -552,7 +554,7 @@
             this.gv_unit.OptionsColumn.AllowEdit = false;
             this.gv_unit.Tag = "query_a.UNIT";
             this.gv_unit.Visible = true;
-            this.gv_unit.VisibleIndex = 15;
+            this.gv_unit.VisibleIndex = 16;
             this.gv_unit.Width = 44;
             // 
             // gv_estimatedStartTime
@@ -560,12 +562,12 @@
             this.gv_estimatedStartTime.AppearanceCell.Options.UseFont = true;
             this.gv_estimatedStartTime.Caption = "Erp棰勮寮�宸�";
             this.gv_estimatedStartTime.FieldName = "estimatedStartTime";
-            this.gv_estimatedStartTime.MinWidth = 9;
+            this.gv_estimatedStartTime.MinWidth = 10;
             this.gv_estimatedStartTime.Name = "gv_estimatedStartTime";
             this.gv_estimatedStartTime.OptionsColumn.AllowEdit = false;
             this.gv_estimatedStartTime.Tag = "query_a.ESTIMATED_START_TIME";
             this.gv_estimatedStartTime.Visible = true;
-            this.gv_estimatedStartTime.VisibleIndex = 13;
+            this.gv_estimatedStartTime.VisibleIndex = 14;
             this.gv_estimatedStartTime.Width = 157;
             // 
             // gv_estimatedEndTime
@@ -573,12 +575,12 @@
             this.gv_estimatedEndTime.AppearanceCell.Options.UseFont = true;
             this.gv_estimatedEndTime.Caption = "Erp棰勮瀹屽伐";
             this.gv_estimatedEndTime.FieldName = "estimatedEndTime";
-            this.gv_estimatedEndTime.MinWidth = 9;
+            this.gv_estimatedEndTime.MinWidth = 10;
             this.gv_estimatedEndTime.Name = "gv_estimatedEndTime";
             this.gv_estimatedEndTime.OptionsColumn.AllowEdit = false;
             this.gv_estimatedEndTime.Tag = "query_a.ESTIMATED_END_TIME";
             this.gv_estimatedEndTime.Visible = true;
-            this.gv_estimatedEndTime.VisibleIndex = 14;
+            this.gv_estimatedEndTime.VisibleIndex = 15;
             this.gv_estimatedEndTime.Width = 157;
             // 
             // gv_planReleaseDate
@@ -586,12 +588,12 @@
             this.gv_planReleaseDate.AppearanceCell.Options.UseFont = true;
             this.gv_planReleaseDate.Caption = "璁″垝涓嬭揪鏃ユ湡 ";
             this.gv_planReleaseDate.FieldName = "planReleaseDate";
-            this.gv_planReleaseDate.MinWidth = 9;
+            this.gv_planReleaseDate.MinWidth = 10;
             this.gv_planReleaseDate.Name = "gv_planReleaseDate";
             this.gv_planReleaseDate.OptionsColumn.AllowEdit = false;
             this.gv_planReleaseDate.Tag = "query_a.PLAN_RELEASE_DATE";
             this.gv_planReleaseDate.Visible = true;
-            this.gv_planReleaseDate.VisibleIndex = 16;
+            this.gv_planReleaseDate.VisibleIndex = 17;
             this.gv_planReleaseDate.Width = 82;
             // 
             // gv_storageUpperLimit
@@ -604,7 +606,7 @@
             this.gv_storageUpperLimit.OptionsColumn.AllowEdit = false;
             this.gv_storageUpperLimit.Tag = "query_a.STORAGE_UPPER_LIMIT";
             this.gv_storageUpperLimit.Visible = true;
-            this.gv_storageUpperLimit.VisibleIndex = 17;
+            this.gv_storageUpperLimit.VisibleIndex = 18;
             this.gv_storageUpperLimit.Width = 44;
             // 
             // gv_storageLowerLimit
@@ -617,7 +619,7 @@
             this.gv_storageLowerLimit.OptionsColumn.AllowEdit = false;
             this.gv_storageLowerLimit.Tag = "query_a.STORAGE_LOWER_LIMIT";
             this.gv_storageLowerLimit.Visible = true;
-            this.gv_storageLowerLimit.VisibleIndex = 18;
+            this.gv_storageLowerLimit.VisibleIndex = 19;
             this.gv_storageLowerLimit.Width = 44;
             // 
             // gv_trackingNo
@@ -664,7 +666,7 @@
             this.gv_generationMethod.OptionsColumn.AllowEdit = false;
             this.gv_generationMethod.Tag = "query_a.GENERATION_METHOD";
             this.gv_generationMethod.Visible = true;
-            this.gv_generationMethod.VisibleIndex = 19;
+            this.gv_generationMethod.VisibleIndex = 20;
             this.gv_generationMethod.Width = 82;
             // 
             // gv_demandOrderNo
@@ -721,7 +723,7 @@
             this.gv_remarks.OptionsColumn.AllowEdit = false;
             this.gv_remarks.Tag = "query_a.REMARKS";
             this.gv_remarks.Visible = true;
-            this.gv_remarks.VisibleIndex = 20;
+            this.gv_remarks.VisibleIndex = 21;
             this.gv_remarks.Width = 82;
             // 
             // gv_purchaseorderno
@@ -734,7 +736,7 @@
             this.gv_purchaseorderno.OptionsColumn.AllowEdit = false;
             this.gv_purchaseorderno.Tag = "query_a.PURCHASEORDERNO";
             this.gv_purchaseorderno.Visible = true;
-            this.gv_purchaseorderno.VisibleIndex = 21;
+            this.gv_purchaseorderno.VisibleIndex = 22;
             this.gv_purchaseorderno.Width = 82;
             // 
             // gv_purchaseorderentryseq
@@ -747,7 +749,7 @@
             this.gv_purchaseorderentryseq.OptionsColumn.AllowEdit = false;
             this.gv_purchaseorderentryseq.Tag = "query_a.PURCHASEORDERENTRYSEQ";
             this.gv_purchaseorderentryseq.Visible = true;
-            this.gv_purchaseorderentryseq.VisibleIndex = 22;
+            this.gv_purchaseorderentryseq.VisibleIndex = 23;
             this.gv_purchaseorderentryseq.Width = 61;
             // 
             // gv_auditor
@@ -760,7 +762,7 @@
             this.gv_auditor.OptionsColumn.AllowEdit = false;
             this.gv_auditor.Tag = "query_a.AUDITOR";
             this.gv_auditor.Visible = true;
-            this.gv_auditor.VisibleIndex = 2;
+            this.gv_auditor.VisibleIndex = 3;
             this.gv_auditor.Width = 82;
             // 
             // gv_auditDate
@@ -773,7 +775,7 @@
             this.gv_auditDate.OptionsColumn.AllowEdit = false;
             this.gv_auditDate.Tag = "query_a.AUDIT_DATE";
             this.gv_auditDate.Visible = true;
-            this.gv_auditDate.VisibleIndex = 1;
+            this.gv_auditDate.VisibleIndex = 2;
             this.gv_auditDate.Width = 82;
             // 
             // gv_stockowner
@@ -802,7 +804,7 @@
             this.gridColumn7.MinWidth = 22;
             this.gridColumn7.Name = "gridColumn7";
             this.gridColumn7.Visible = true;
-            this.gridColumn7.VisibleIndex = 23;
+            this.gridColumn7.VisibleIndex = 24;
             this.gridColumn7.Width = 82;
             // 
             // gridColumn14
@@ -812,7 +814,7 @@
             this.gridColumn14.MinWidth = 22;
             this.gridColumn14.Name = "gridColumn14";
             this.gridColumn14.Visible = true;
-            this.gridColumn14.VisibleIndex = 24;
+            this.gridColumn14.VisibleIndex = 25;
             this.gridColumn14.Width = 82;
             // 
             // gridColumn15
@@ -830,7 +832,7 @@
             this.gridColumn16.MinWidth = 22;
             this.gridColumn16.Name = "gridColumn16";
             this.gridColumn16.Visible = true;
-            this.gridColumn16.VisibleIndex = 0;
+            this.gridColumn16.VisibleIndex = 1;
             this.gridColumn16.Width = 82;
             // 
             // pageBar1
@@ -948,101 +950,101 @@
             // 
             // txt_stockownerName
             // 
-            this.txt_stockownerName.Location = new System.Drawing.Point(93, 178);
+            this.txt_stockownerName.Location = new System.Drawing.Point(96, 180);
             this.txt_stockownerName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_stockownerName.Name = "txt_stockownerName";
             this.txt_stockownerName.Properties.Appearance.Options.UseFont = true;
-            this.txt_stockownerName.Size = new System.Drawing.Size(151, 20);
+            this.txt_stockownerName.Size = new System.Drawing.Size(153, 20);
             this.txt_stockownerName.StyleController = this.layoutMx1;
             this.txt_stockownerName.TabIndex = 664;
             // 
             // txt_orderNo
             // 
-            this.txt_orderNo.Location = new System.Drawing.Point(93, 10);
+            this.txt_orderNo.Location = new System.Drawing.Point(96, 12);
             this.txt_orderNo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_orderNo.Name = "txt_orderNo";
             this.txt_orderNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_orderNo.Size = new System.Drawing.Size(151, 20);
+            this.txt_orderNo.Size = new System.Drawing.Size(153, 20);
             this.txt_orderNo.StyleController = this.layoutMx1;
             this.txt_orderNo.TabIndex = 211;
             // 
             // txt_itemModel
             // 
-            this.txt_itemModel.Location = new System.Drawing.Point(567, 82);
+            this.txt_itemModel.Location = new System.Drawing.Point(578, 84);
             this.txt_itemModel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_itemModel.Name = "txt_itemModel";
             this.txt_itemModel.Properties.Appearance.Options.UseFont = true;
-            this.txt_itemModel.Size = new System.Drawing.Size(151, 20);
+            this.txt_itemModel.Size = new System.Drawing.Size(153, 20);
             this.txt_itemModel.StyleController = this.layoutMx1;
             this.txt_itemModel.TabIndex = 662;
             // 
             // txt_orderType
             // 
-            this.txt_orderType.Location = new System.Drawing.Point(330, 10);
+            this.txt_orderType.Location = new System.Drawing.Point(337, 12);
             this.txt_orderType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_orderType.Name = "txt_orderType";
             this.txt_orderType.Properties.Appearance.Options.UseFont = true;
-            this.txt_orderType.Size = new System.Drawing.Size(151, 20);
+            this.txt_orderType.Size = new System.Drawing.Size(153, 20);
             this.txt_orderType.StyleController = this.layoutMx1;
             this.txt_orderType.TabIndex = 219;
             // 
             // txt_auditDate
             // 
-            this.txt_auditDate.Location = new System.Drawing.Point(804, 130);
+            this.txt_auditDate.Location = new System.Drawing.Point(819, 132);
             this.txt_auditDate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_auditDate.Name = "txt_auditDate";
             this.txt_auditDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_auditDate.Size = new System.Drawing.Size(153, 20);
+            this.txt_auditDate.Size = new System.Drawing.Size(154, 20);
             this.txt_auditDate.StyleController = this.layoutMx1;
             this.txt_auditDate.TabIndex = 532;
             // 
             // txt_planConfirmation
             // 
-            this.txt_planConfirmation.Location = new System.Drawing.Point(804, 106);
+            this.txt_planConfirmation.Location = new System.Drawing.Point(819, 108);
             this.txt_planConfirmation.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_planConfirmation.Name = "txt_planConfirmation";
             this.txt_planConfirmation.Properties.Appearance.Options.UseFont = true;
-            this.txt_planConfirmation.Size = new System.Drawing.Size(153, 20);
+            this.txt_planConfirmation.Size = new System.Drawing.Size(154, 20);
             this.txt_planConfirmation.StyleController = this.layoutMx1;
             this.txt_planConfirmation.TabIndex = 627;
             // 
             // txt_workOrderQty
             // 
-            this.txt_workOrderQty.Location = new System.Drawing.Point(567, 10);
+            this.txt_workOrderQty.Location = new System.Drawing.Point(578, 12);
             this.txt_workOrderQty.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_workOrderQty.Name = "txt_workOrderQty";
             this.txt_workOrderQty.Properties.Appearance.Options.UseFont = true;
-            this.txt_workOrderQty.Size = new System.Drawing.Size(151, 20);
+            this.txt_workOrderQty.Size = new System.Drawing.Size(153, 20);
             this.txt_workOrderQty.StyleController = this.layoutMx1;
             this.txt_workOrderQty.TabIndex = 231;
             // 
             // txt_auditStatus
             // 
-            this.txt_auditStatus.Location = new System.Drawing.Point(804, 178);
+            this.txt_auditStatus.Location = new System.Drawing.Point(819, 180);
             this.txt_auditStatus.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_auditStatus.Name = "txt_auditStatus";
             this.txt_auditStatus.Properties.Appearance.Options.UseFont = true;
-            this.txt_auditStatus.Size = new System.Drawing.Size(153, 20);
+            this.txt_auditStatus.Size = new System.Drawing.Size(154, 20);
             this.txt_auditStatus.StyleController = this.layoutMx1;
             this.txt_auditStatus.TabIndex = 507;
             // 
             // txt_itemName
             // 
-            this.txt_itemName.Location = new System.Drawing.Point(330, 58);
+            this.txt_itemName.Location = new System.Drawing.Point(337, 60);
             this.txt_itemName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_itemName.Name = "txt_itemName";
             this.txt_itemName.Properties.Appearance.Options.UseFont = true;
-            this.txt_itemName.Size = new System.Drawing.Size(151, 20);
+            this.txt_itemName.Size = new System.Drawing.Size(153, 20);
             this.txt_itemName.StyleController = this.layoutMx1;
             this.txt_itemName.TabIndex = 660;
             // 
             // txt_businessStatusTxt
             // 
-            this.txt_businessStatusTxt.Location = new System.Drawing.Point(804, 10);
+            this.txt_businessStatusTxt.Location = new System.Drawing.Point(819, 12);
             this.txt_businessStatusTxt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_businessStatusTxt.Name = "txt_businessStatusTxt";
             this.txt_businessStatusTxt.Properties.Appearance.Options.UseFont = true;
-            this.txt_businessStatusTxt.Size = new System.Drawing.Size(153, 20);
+            this.txt_businessStatusTxt.Size = new System.Drawing.Size(154, 20);
             this.txt_businessStatusTxt.StyleController = this.layoutMx1;
             this.txt_businessStatusTxt.TabIndex = 222;
             // 
@@ -1058,51 +1060,51 @@
             // 
             // txt_erpProductionOrderNo
             // 
-            this.txt_erpProductionOrderNo.Location = new System.Drawing.Point(93, 34);
+            this.txt_erpProductionOrderNo.Location = new System.Drawing.Point(96, 36);
             this.txt_erpProductionOrderNo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_erpProductionOrderNo.Name = "txt_erpProductionOrderNo";
             this.txt_erpProductionOrderNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_erpProductionOrderNo.Size = new System.Drawing.Size(151, 20);
+            this.txt_erpProductionOrderNo.Size = new System.Drawing.Size(153, 20);
             this.txt_erpProductionOrderNo.StyleController = this.layoutMx1;
             this.txt_erpProductionOrderNo.TabIndex = 319;
             // 
             // txt_auditor
             // 
-            this.txt_auditor.Location = new System.Drawing.Point(804, 154);
+            this.txt_auditor.Location = new System.Drawing.Point(819, 156);
             this.txt_auditor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_auditor.Name = "txt_auditor";
             this.txt_auditor.Properties.Appearance.Options.UseFont = true;
-            this.txt_auditor.Size = new System.Drawing.Size(153, 20);
+            this.txt_auditor.Size = new System.Drawing.Size(154, 20);
             this.txt_auditor.StyleController = this.layoutMx1;
             this.txt_auditor.TabIndex = 519;
             // 
             // txt_remarks
             // 
-            this.txt_remarks.Location = new System.Drawing.Point(330, 178);
+            this.txt_remarks.Location = new System.Drawing.Point(337, 180);
             this.txt_remarks.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_remarks.Name = "txt_remarks";
             this.txt_remarks.Properties.Appearance.Options.UseFont = true;
-            this.txt_remarks.Size = new System.Drawing.Size(388, 20);
+            this.txt_remarks.Size = new System.Drawing.Size(394, 20);
             this.txt_remarks.StyleController = this.layoutMx1;
             this.txt_remarks.TabIndex = 397;
             // 
             // txt_trackingNo
             // 
-            this.txt_trackingNo.Location = new System.Drawing.Point(330, 34);
+            this.txt_trackingNo.Location = new System.Drawing.Point(337, 36);
             this.txt_trackingNo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_trackingNo.Name = "txt_trackingNo";
             this.txt_trackingNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_trackingNo.Size = new System.Drawing.Size(151, 20);
+            this.txt_trackingNo.Size = new System.Drawing.Size(153, 20);
             this.txt_trackingNo.StyleController = this.layoutMx1;
             this.txt_trackingNo.TabIndex = 267;
             // 
             // txt_yrkQty
             // 
-            this.txt_yrkQty.Location = new System.Drawing.Point(567, 34);
+            this.txt_yrkQty.Location = new System.Drawing.Point(578, 36);
             this.txt_yrkQty.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_yrkQty.Name = "txt_yrkQty";
             this.txt_yrkQty.Properties.Appearance.Options.UseFont = true;
-            this.txt_yrkQty.Size = new System.Drawing.Size(151, 20);
+            this.txt_yrkQty.Size = new System.Drawing.Size(153, 20);
             this.txt_yrkQty.StyleController = this.layoutMx1;
             this.txt_yrkQty.TabIndex = 471;
             // 
@@ -1118,160 +1120,160 @@
             // 
             // txt_itemNo
             // 
-            this.txt_itemNo.Location = new System.Drawing.Point(93, 58);
+            this.txt_itemNo.Location = new System.Drawing.Point(96, 60);
             this.txt_itemNo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_itemNo.Name = "txt_itemNo";
             this.txt_itemNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_itemNo.Size = new System.Drawing.Size(151, 20);
+            this.txt_itemNo.Size = new System.Drawing.Size(153, 20);
             this.txt_itemNo.StyleController = this.layoutMx1;
             this.txt_itemNo.TabIndex = 226;
             // 
             // txt_purchaseorderno
             // 
-            this.txt_purchaseorderno.Location = new System.Drawing.Point(93, 82);
+            this.txt_purchaseorderno.Location = new System.Drawing.Point(96, 84);
             this.txt_purchaseorderno.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_purchaseorderno.Name = "txt_purchaseorderno";
             this.txt_purchaseorderno.Properties.Appearance.Options.UseFont = true;
-            this.txt_purchaseorderno.Size = new System.Drawing.Size(151, 20);
+            this.txt_purchaseorderno.Size = new System.Drawing.Size(153, 20);
             this.txt_purchaseorderno.StyleController = this.layoutMx1;
             this.txt_purchaseorderno.TabIndex = 427;
             // 
             // txt_demandOrderNo
             // 
-            this.txt_demandOrderNo.Location = new System.Drawing.Point(330, 82);
+            this.txt_demandOrderNo.Location = new System.Drawing.Point(337, 84);
             this.txt_demandOrderNo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_demandOrderNo.Name = "txt_demandOrderNo";
             this.txt_demandOrderNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_demandOrderNo.Size = new System.Drawing.Size(151, 20);
+            this.txt_demandOrderNo.Size = new System.Drawing.Size(153, 20);
             this.txt_demandOrderNo.StyleController = this.layoutMx1;
             this.txt_demandOrderNo.TabIndex = 351;
             // 
             // txt_purchaseorderentryseq
             // 
-            this.txt_purchaseorderentryseq.Location = new System.Drawing.Point(93, 106);
+            this.txt_purchaseorderentryseq.Location = new System.Drawing.Point(96, 108);
             this.txt_purchaseorderentryseq.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_purchaseorderentryseq.Name = "txt_purchaseorderentryseq";
             this.txt_purchaseorderentryseq.Properties.Appearance.Options.UseFont = true;
-            this.txt_purchaseorderentryseq.Size = new System.Drawing.Size(151, 20);
+            this.txt_purchaseorderentryseq.Size = new System.Drawing.Size(153, 20);
             this.txt_purchaseorderentryseq.StyleController = this.layoutMx1;
             this.txt_purchaseorderentryseq.TabIndex = 438;
             // 
             // txt_dwName
             // 
-            this.txt_dwName.Location = new System.Drawing.Point(567, 106);
+            this.txt_dwName.Location = new System.Drawing.Point(578, 108);
             this.txt_dwName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_dwName.Name = "txt_dwName";
             this.txt_dwName.Properties.Appearance.Options.UseFont = true;
-            this.txt_dwName.Size = new System.Drawing.Size(151, 20);
+            this.txt_dwName.Size = new System.Drawing.Size(153, 20);
             this.txt_dwName.StyleController = this.layoutMx1;
             this.txt_dwName.TabIndex = 228;
             // 
             // txt_closingType
             // 
-            this.txt_closingType.Location = new System.Drawing.Point(330, 154);
+            this.txt_closingType.Location = new System.Drawing.Point(337, 156);
             this.txt_closingType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_closingType.Name = "txt_closingType";
             this.txt_closingType.Properties.Appearance.Options.UseFont = true;
-            this.txt_closingType.Size = new System.Drawing.Size(151, 20);
+            this.txt_closingType.Size = new System.Drawing.Size(153, 20);
             this.txt_closingType.StyleController = this.layoutMx1;
             this.txt_closingType.TabIndex = 378;
             // 
             // txt_estimatedStartTime
             // 
-            this.txt_estimatedStartTime.Location = new System.Drawing.Point(804, 34);
+            this.txt_estimatedStartTime.Location = new System.Drawing.Point(819, 36);
             this.txt_estimatedStartTime.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_estimatedStartTime.Name = "txt_estimatedStartTime";
             this.txt_estimatedStartTime.Properties.Appearance.Options.UseFont = true;
-            this.txt_estimatedStartTime.Size = new System.Drawing.Size(153, 20);
+            this.txt_estimatedStartTime.Size = new System.Drawing.Size(154, 20);
             this.txt_estimatedStartTime.StyleController = this.layoutMx1;
             this.txt_estimatedStartTime.TabIndex = 243;
             // 
             // txt_demandOrderLineNo
             // 
-            this.txt_demandOrderLineNo.Location = new System.Drawing.Point(330, 106);
+            this.txt_demandOrderLineNo.Location = new System.Drawing.Point(337, 108);
             this.txt_demandOrderLineNo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_demandOrderLineNo.Name = "txt_demandOrderLineNo";
             this.txt_demandOrderLineNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_demandOrderLineNo.Size = new System.Drawing.Size(151, 20);
+            this.txt_demandOrderLineNo.Size = new System.Drawing.Size(153, 20);
             this.txt_demandOrderLineNo.StyleController = this.layoutMx1;
             this.txt_demandOrderLineNo.TabIndex = 360;
             // 
             // txt_sourceOrderNo
             // 
-            this.txt_sourceOrderNo.Location = new System.Drawing.Point(93, 154);
+            this.txt_sourceOrderNo.Location = new System.Drawing.Point(96, 156);
             this.txt_sourceOrderNo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_sourceOrderNo.Name = "txt_sourceOrderNo";
             this.txt_sourceOrderNo.Properties.Appearance.Options.UseFont = true;
-            this.txt_sourceOrderNo.Size = new System.Drawing.Size(151, 20);
+            this.txt_sourceOrderNo.Size = new System.Drawing.Size(153, 20);
             this.txt_sourceOrderNo.StyleController = this.layoutMx1;
             this.txt_sourceOrderNo.TabIndex = 336;
             // 
             // txt_closingPerson
             // 
-            this.txt_closingPerson.Location = new System.Drawing.Point(330, 130);
+            this.txt_closingPerson.Location = new System.Drawing.Point(337, 132);
             this.txt_closingPerson.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_closingPerson.Name = "txt_closingPerson";
             this.txt_closingPerson.Properties.Appearance.Options.UseFont = true;
-            this.txt_closingPerson.Size = new System.Drawing.Size(151, 20);
+            this.txt_closingPerson.Size = new System.Drawing.Size(153, 20);
             this.txt_closingPerson.StyleController = this.layoutMx1;
             this.txt_closingPerson.TabIndex = 370;
             // 
             // txt_storageUpperLimit
             // 
-            this.txt_storageUpperLimit.Location = new System.Drawing.Point(567, 130);
+            this.txt_storageUpperLimit.Location = new System.Drawing.Point(578, 132);
             this.txt_storageUpperLimit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_storageUpperLimit.Name = "txt_storageUpperLimit";
             this.txt_storageUpperLimit.Properties.Appearance.Options.UseFont = true;
-            this.txt_storageUpperLimit.Size = new System.Drawing.Size(151, 20);
+            this.txt_storageUpperLimit.Size = new System.Drawing.Size(153, 20);
             this.txt_storageUpperLimit.StyleController = this.layoutMx1;
             this.txt_storageUpperLimit.TabIndex = 258;
             // 
             // txt_estimatedEndTime
             // 
-            this.txt_estimatedEndTime.Location = new System.Drawing.Point(804, 58);
+            this.txt_estimatedEndTime.Location = new System.Drawing.Point(819, 60);
             this.txt_estimatedEndTime.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_estimatedEndTime.Name = "txt_estimatedEndTime";
             this.txt_estimatedEndTime.Properties.Appearance.Options.UseFont = true;
-            this.txt_estimatedEndTime.Size = new System.Drawing.Size(153, 20);
+            this.txt_estimatedEndTime.Size = new System.Drawing.Size(154, 20);
             this.txt_estimatedEndTime.StyleController = this.layoutMx1;
             this.txt_estimatedEndTime.TabIndex = 247;
             // 
             // txt_bomVersion
             // 
-            this.txt_bomVersion.Location = new System.Drawing.Point(93, 130);
+            this.txt_bomVersion.Location = new System.Drawing.Point(96, 132);
             this.txt_bomVersion.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_bomVersion.Name = "txt_bomVersion";
             this.txt_bomVersion.Properties.Appearance.Options.UseFont = true;
-            this.txt_bomVersion.Size = new System.Drawing.Size(151, 20);
+            this.txt_bomVersion.Size = new System.Drawing.Size(153, 20);
             this.txt_bomVersion.StyleController = this.layoutMx1;
             this.txt_bomVersion.TabIndex = 280;
             // 
             // txt_storageLowerLimit
             // 
-            this.txt_storageLowerLimit.Location = new System.Drawing.Point(567, 154);
+            this.txt_storageLowerLimit.Location = new System.Drawing.Point(578, 156);
             this.txt_storageLowerLimit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_storageLowerLimit.Name = "txt_storageLowerLimit";
             this.txt_storageLowerLimit.Properties.Appearance.Options.UseFont = true;
-            this.txt_storageLowerLimit.Size = new System.Drawing.Size(151, 20);
+            this.txt_storageLowerLimit.Size = new System.Drawing.Size(153, 20);
             this.txt_storageLowerLimit.StyleController = this.layoutMx1;
             this.txt_storageLowerLimit.TabIndex = 262;
             // 
             // txt_planReleaseDate
             // 
-            this.txt_planReleaseDate.Location = new System.Drawing.Point(804, 82);
+            this.txt_planReleaseDate.Location = new System.Drawing.Point(819, 84);
             this.txt_planReleaseDate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_planReleaseDate.Name = "txt_planReleaseDate";
             this.txt_planReleaseDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_planReleaseDate.Size = new System.Drawing.Size(153, 20);
+            this.txt_planReleaseDate.Size = new System.Drawing.Size(154, 20);
             this.txt_planReleaseDate.StyleController = this.layoutMx1;
             this.txt_planReleaseDate.TabIndex = 252;
             // 
             // txt_wrkQty
             // 
-            this.txt_wrkQty.Location = new System.Drawing.Point(567, 58);
+            this.txt_wrkQty.Location = new System.Drawing.Point(578, 60);
             this.txt_wrkQty.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.txt_wrkQty.Name = "txt_wrkQty";
-            this.txt_wrkQty.Size = new System.Drawing.Size(151, 20);
+            this.txt_wrkQty.Size = new System.Drawing.Size(153, 20);
             this.txt_wrkQty.StyleController = this.layoutMx1;
             this.txt_wrkQty.TabIndex = 667;
             // 
@@ -1357,45 +1359,45 @@
             this.layoutControlItem28});
             this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
             this.Root.Name = "Root";
-            columnDefinition5.SizeType = System.Windows.Forms.SizeType.Percent;
-            columnDefinition5.Width = 100D;
-            columnDefinition6.SizeType = System.Windows.Forms.SizeType.Percent;
-            columnDefinition6.Width = 100D;
-            columnDefinition7.SizeType = System.Windows.Forms.SizeType.Percent;
-            columnDefinition7.Width = 100D;
-            columnDefinition8.SizeType = System.Windows.Forms.SizeType.Percent;
-            columnDefinition8.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[] {
-            columnDefinition5,
-            columnDefinition6,
-            columnDefinition7,
-            columnDefinition8});
-            rowDefinition9.Height = 100D;
-            rowDefinition9.SizeType = System.Windows.Forms.SizeType.Percent;
-            rowDefinition10.Height = 100D;
-            rowDefinition10.SizeType = System.Windows.Forms.SizeType.Percent;
-            rowDefinition11.Height = 100D;
-            rowDefinition11.SizeType = System.Windows.Forms.SizeType.Percent;
-            rowDefinition12.Height = 100D;
-            rowDefinition12.SizeType = System.Windows.Forms.SizeType.Percent;
-            rowDefinition13.Height = 100D;
-            rowDefinition13.SizeType = System.Windows.Forms.SizeType.Percent;
-            rowDefinition14.Height = 100D;
-            rowDefinition14.SizeType = System.Windows.Forms.SizeType.Percent;
-            rowDefinition15.Height = 100D;
-            rowDefinition15.SizeType = System.Windows.Forms.SizeType.Percent;
-            rowDefinition16.Height = 100D;
-            rowDefinition16.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;
+            rowDefinition4.Height = 100D;
+            rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent;
+            rowDefinition5.Height = 100D;
+            rowDefinition5.SizeType = System.Windows.Forms.SizeType.Percent;
+            rowDefinition6.Height = 100D;
+            rowDefinition6.SizeType = System.Windows.Forms.SizeType.Percent;
+            rowDefinition7.Height = 100D;
+            rowDefinition7.SizeType = System.Windows.Forms.SizeType.Percent;
+            rowDefinition8.Height = 100D;
+            rowDefinition8.SizeType = System.Windows.Forms.SizeType.Percent;
             this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
-            rowDefinition9,
-            rowDefinition10,
-            rowDefinition11,
-            rowDefinition12,
-            rowDefinition13,
-            rowDefinition14,
-            rowDefinition15,
-            rowDefinition16});
-            this.Root.Size = new System.Drawing.Size(968, 208);
+            rowDefinition1,
+            rowDefinition2,
+            rowDefinition3,
+            rowDefinition4,
+            rowDefinition5,
+            rowDefinition6,
+            rowDefinition7,
+            rowDefinition8});
+            this.Root.Size = new System.Drawing.Size(985, 212);
             this.Root.TextVisible = false;
             // 
             // layoutControlItem1
@@ -1403,37 +1405,37 @@
             this.layoutControlItem1.Control = this.txt_orderNo;
             this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
             this.layoutControlItem1.Name = "layoutControlItem1";
-            this.layoutControlItem1.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem1.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem1.Text = "鎶曟枡鍗曞彿";
             this.layoutControlItem1.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem2
             // 
             this.layoutControlItem2.Control = this.txt_orderType;
-            this.layoutControlItem2.Location = new System.Drawing.Point(237, 0);
+            this.layoutControlItem2.Location = new System.Drawing.Point(241, 0);
             this.layoutControlItem2.Name = "layoutControlItem2";
             this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem2.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem2.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem2.Text = "鍗曟嵁绫诲瀷";
             this.layoutControlItem2.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem3
             // 
             this.layoutControlItem3.Control = this.txt_workOrderQty;
-            this.layoutControlItem3.Location = new System.Drawing.Point(474, 0);
+            this.layoutControlItem3.Location = new System.Drawing.Point(482, 0);
             this.layoutControlItem3.Name = "layoutControlItem3";
             this.layoutControlItem3.OptionsTableLayoutItem.ColumnIndex = 2;
-            this.layoutControlItem3.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem3.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem3.Text = "宸ュ崟鏁伴噺";
             this.layoutControlItem3.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem4
             // 
             this.layoutControlItem4.Control = this.txt_businessStatusTxt;
-            this.layoutControlItem4.Location = new System.Drawing.Point(711, 0);
+            this.layoutControlItem4.Location = new System.Drawing.Point(723, 0);
             this.layoutControlItem4.Name = "layoutControlItem4";
             this.layoutControlItem4.OptionsTableLayoutItem.ColumnIndex = 3;
-            this.layoutControlItem4.Size = new System.Drawing.Size(239, 24);
+            this.layoutControlItem4.Size = new System.Drawing.Size(242, 24);
             this.layoutControlItem4.Text = "涓氬姟鐘舵��";
             this.layoutControlItem4.TextSize = new System.Drawing.Size(72, 14);
             // 
@@ -1443,29 +1445,29 @@
             this.layoutControlItem5.Location = new System.Drawing.Point(0, 24);
             this.layoutControlItem5.Name = "layoutControlItem5";
             this.layoutControlItem5.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem5.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem5.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem5.Text = "浠诲姟鍗曞彿";
             this.layoutControlItem5.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem6
             // 
             this.layoutControlItem6.Control = this.txt_trackingNo;
-            this.layoutControlItem6.Location = new System.Drawing.Point(237, 24);
+            this.layoutControlItem6.Location = new System.Drawing.Point(241, 24);
             this.layoutControlItem6.Name = "layoutControlItem6";
             this.layoutControlItem6.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem6.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem6.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem6.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem6.Text = "璁″垝璺熻釜鍙�";
             this.layoutControlItem6.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem7
             // 
             this.layoutControlItem7.Control = this.txt_yrkQty;
-            this.layoutControlItem7.Location = new System.Drawing.Point(474, 24);
+            this.layoutControlItem7.Location = new System.Drawing.Point(482, 24);
             this.layoutControlItem7.Name = "layoutControlItem7";
             this.layoutControlItem7.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem7.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem7.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem7.Text = "鍏ュ簱鏁伴噺";
             this.layoutControlItem7.TextSize = new System.Drawing.Size(72, 14);
             // 
@@ -1475,18 +1477,18 @@
             this.layoutControlItem9.Location = new System.Drawing.Point(0, 48);
             this.layoutControlItem9.Name = "layoutControlItem9";
             this.layoutControlItem9.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem9.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem9.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem9.Text = "浜у搧缂栫爜";
             this.layoutControlItem9.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem10
             // 
             this.layoutControlItem10.Control = this.txt_itemName;
-            this.layoutControlItem10.Location = new System.Drawing.Point(237, 48);
+            this.layoutControlItem10.Location = new System.Drawing.Point(241, 48);
             this.layoutControlItem10.Name = "layoutControlItem10";
             this.layoutControlItem10.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem10.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem10.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem10.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem10.Text = "浜у搧鍚嶇О";
             this.layoutControlItem10.TextSize = new System.Drawing.Size(72, 14);
             // 
@@ -1496,18 +1498,18 @@
             this.layoutControlItem12.Location = new System.Drawing.Point(0, 72);
             this.layoutControlItem12.Name = "layoutControlItem12";
             this.layoutControlItem12.OptionsTableLayoutItem.RowIndex = 3;
-            this.layoutControlItem12.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem12.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem12.Text = "閲囪喘璁㈠崟";
             this.layoutControlItem12.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem13
             // 
             this.layoutControlItem13.Control = this.txt_demandOrderNo;
-            this.layoutControlItem13.Location = new System.Drawing.Point(237, 72);
+            this.layoutControlItem13.Location = new System.Drawing.Point(241, 72);
             this.layoutControlItem13.Name = "layoutControlItem13";
             this.layoutControlItem13.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem13.OptionsTableLayoutItem.RowIndex = 3;
-            this.layoutControlItem13.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem13.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem13.Text = "闇�姹傚崟鎹彿";
             this.layoutControlItem13.TextSize = new System.Drawing.Size(72, 14);
             // 
@@ -1517,18 +1519,18 @@
             this.layoutControlItem16.Location = new System.Drawing.Point(0, 96);
             this.layoutControlItem16.Name = "layoutControlItem16";
             this.layoutControlItem16.OptionsTableLayoutItem.RowIndex = 4;
-            this.layoutControlItem16.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem16.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem16.Text = "閲囪喘鍗曡鍙�";
             this.layoutControlItem16.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem17
             // 
             this.layoutControlItem17.Control = this.txt_demandOrderLineNo;
-            this.layoutControlItem17.Location = new System.Drawing.Point(237, 96);
+            this.layoutControlItem17.Location = new System.Drawing.Point(241, 96);
             this.layoutControlItem17.Name = "layoutControlItem17";
             this.layoutControlItem17.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem17.OptionsTableLayoutItem.RowIndex = 4;
-            this.layoutControlItem17.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem17.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem17.Text = "闇�姹傚崟鎹鍙�";
             this.layoutControlItem17.TextSize = new System.Drawing.Size(72, 14);
             // 
@@ -1538,18 +1540,18 @@
             this.layoutControlItem20.Location = new System.Drawing.Point(0, 120);
             this.layoutControlItem20.Name = "layoutControlItem20";
             this.layoutControlItem20.OptionsTableLayoutItem.RowIndex = 5;
-            this.layoutControlItem20.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem20.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem20.Text = "BOM鐗堟";
             this.layoutControlItem20.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem21
             // 
             this.layoutControlItem21.Control = this.txt_closingPerson;
-            this.layoutControlItem21.Location = new System.Drawing.Point(237, 120);
+            this.layoutControlItem21.Location = new System.Drawing.Point(241, 120);
             this.layoutControlItem21.Name = "layoutControlItem21";
             this.layoutControlItem21.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem21.OptionsTableLayoutItem.RowIndex = 5;
-            this.layoutControlItem21.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem21.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem21.Text = "缁撴浜哄憳";
             this.layoutControlItem21.TextSize = new System.Drawing.Size(72, 14);
             // 
@@ -1559,18 +1561,18 @@
             this.layoutControlItem24.Location = new System.Drawing.Point(0, 144);
             this.layoutControlItem24.Name = "layoutControlItem24";
             this.layoutControlItem24.OptionsTableLayoutItem.RowIndex = 6;
-            this.layoutControlItem24.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem24.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem24.Text = "婧愬崟缂栧彿";
             this.layoutControlItem24.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem25
             // 
             this.layoutControlItem25.Control = this.txt_closingType;
-            this.layoutControlItem25.Location = new System.Drawing.Point(237, 144);
+            this.layoutControlItem25.Location = new System.Drawing.Point(241, 144);
             this.layoutControlItem25.Name = "layoutControlItem25";
             this.layoutControlItem25.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem25.OptionsTableLayoutItem.RowIndex = 6;
-            this.layoutControlItem25.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem25.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem25.Text = "缁撴绫诲瀷";
             this.layoutControlItem25.TextSize = new System.Drawing.Size(72, 14);
             // 
@@ -1580,7 +1582,7 @@
             this.layoutControlItem33.Location = new System.Drawing.Point(0, 168);
             this.layoutControlItem33.Name = "layoutControlItem33";
             this.layoutControlItem33.OptionsTableLayoutItem.RowIndex = 7;
-            this.layoutControlItem33.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem33.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem33.Text = "鍏ュ簱璐т富";
             this.layoutControlItem33.TextSize = new System.Drawing.Size(72, 14);
             // 
@@ -1588,22 +1590,22 @@
             // 
             this.layoutControlItem15.Control = this.txt_estimatedStartTime;
             this.layoutControlItem15.CustomizationFormText = "Erp棰勮寮�宸�";
-            this.layoutControlItem15.Location = new System.Drawing.Point(711, 24);
+            this.layoutControlItem15.Location = new System.Drawing.Point(723, 24);
             this.layoutControlItem15.Name = "layoutControlItem15";
             this.layoutControlItem15.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem15.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem15.Size = new System.Drawing.Size(239, 24);
+            this.layoutControlItem15.Size = new System.Drawing.Size(242, 24);
             this.layoutControlItem15.Text = "Erp棰勮寮�宸�";
             this.layoutControlItem15.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem19
             // 
             this.layoutControlItem19.Control = this.txt_estimatedEndTime;
-            this.layoutControlItem19.Location = new System.Drawing.Point(711, 48);
+            this.layoutControlItem19.Location = new System.Drawing.Point(723, 48);
             this.layoutControlItem19.Name = "layoutControlItem19";
             this.layoutControlItem19.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem19.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem19.Size = new System.Drawing.Size(239, 24);
+            this.layoutControlItem19.Size = new System.Drawing.Size(242, 24);
             this.layoutControlItem19.Text = "Erp棰勮瀹屽伐";
             this.layoutControlItem19.TextSize = new System.Drawing.Size(72, 14);
             // 
@@ -1611,22 +1613,22 @@
             // 
             this.layoutControlItem23.Control = this.txt_planReleaseDate;
             this.layoutControlItem23.CustomizationFormText = "Erp璁″垝涓嬭揪";
-            this.layoutControlItem23.Location = new System.Drawing.Point(711, 72);
+            this.layoutControlItem23.Location = new System.Drawing.Point(723, 72);
             this.layoutControlItem23.Name = "layoutControlItem23";
             this.layoutControlItem23.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem23.OptionsTableLayoutItem.RowIndex = 3;
-            this.layoutControlItem23.Size = new System.Drawing.Size(239, 24);
+            this.layoutControlItem23.Size = new System.Drawing.Size(242, 24);
             this.layoutControlItem23.Text = "Erp璁″垝涓嬭揪";
             this.layoutControlItem23.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem27
             // 
             this.layoutControlItem27.Control = this.txt_planConfirmation;
-            this.layoutControlItem27.Location = new System.Drawing.Point(711, 96);
+            this.layoutControlItem27.Location = new System.Drawing.Point(723, 96);
             this.layoutControlItem27.Name = "layoutControlItem27";
             this.layoutControlItem27.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem27.OptionsTableLayoutItem.RowIndex = 4;
-            this.layoutControlItem27.Size = new System.Drawing.Size(239, 24);
+            this.layoutControlItem27.Size = new System.Drawing.Size(242, 24);
             this.layoutControlItem27.Text = "Erp璁″垝纭";
             this.layoutControlItem27.TextSize = new System.Drawing.Size(72, 14);
             // 
@@ -1634,100 +1636,100 @@
             // 
             this.layoutControlItem31.Control = this.txt_auditDate;
             this.layoutControlItem31.CustomizationFormText = "Mes瀹℃牳鏃堕棿";
-            this.layoutControlItem31.Location = new System.Drawing.Point(711, 120);
+            this.layoutControlItem31.Location = new System.Drawing.Point(723, 120);
             this.layoutControlItem31.Name = "layoutControlItem31";
             this.layoutControlItem31.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem31.OptionsTableLayoutItem.RowIndex = 5;
-            this.layoutControlItem31.Size = new System.Drawing.Size(239, 24);
+            this.layoutControlItem31.Size = new System.Drawing.Size(242, 24);
             this.layoutControlItem31.Text = "Mes瀹℃牳鏃堕棿";
             this.layoutControlItem31.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem26
             // 
             this.layoutControlItem26.Control = this.txt_auditor;
-            this.layoutControlItem26.Location = new System.Drawing.Point(711, 144);
+            this.layoutControlItem26.Location = new System.Drawing.Point(723, 144);
             this.layoutControlItem26.Name = "layoutControlItem26";
             this.layoutControlItem26.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem26.OptionsTableLayoutItem.RowIndex = 6;
-            this.layoutControlItem26.Size = new System.Drawing.Size(239, 24);
+            this.layoutControlItem26.Size = new System.Drawing.Size(242, 24);
             this.layoutControlItem26.Text = "Mes瀹℃牳浜哄憳";
             this.layoutControlItem26.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem30
             // 
             this.layoutControlItem30.Control = this.txt_auditStatus;
-            this.layoutControlItem30.Location = new System.Drawing.Point(711, 168);
+            this.layoutControlItem30.Location = new System.Drawing.Point(723, 168);
             this.layoutControlItem30.Name = "layoutControlItem30";
             this.layoutControlItem30.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem30.OptionsTableLayoutItem.RowIndex = 7;
-            this.layoutControlItem30.Size = new System.Drawing.Size(239, 24);
+            this.layoutControlItem30.Size = new System.Drawing.Size(242, 24);
             this.layoutControlItem30.Text = "Mes瀹℃牳鐘舵��";
             this.layoutControlItem30.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem22
             // 
             this.layoutControlItem22.Control = this.txt_storageLowerLimit;
-            this.layoutControlItem22.Location = new System.Drawing.Point(474, 144);
+            this.layoutControlItem22.Location = new System.Drawing.Point(482, 144);
             this.layoutControlItem22.Name = "layoutControlItem22";
             this.layoutControlItem22.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem22.OptionsTableLayoutItem.RowIndex = 6;
-            this.layoutControlItem22.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem22.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem22.Text = "鍏ュ簱涓嬮檺";
             this.layoutControlItem22.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem18
             // 
             this.layoutControlItem18.Control = this.txt_storageUpperLimit;
-            this.layoutControlItem18.Location = new System.Drawing.Point(474, 120);
+            this.layoutControlItem18.Location = new System.Drawing.Point(482, 120);
             this.layoutControlItem18.Name = "layoutControlItem18";
             this.layoutControlItem18.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem18.OptionsTableLayoutItem.RowIndex = 5;
-            this.layoutControlItem18.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem18.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem18.Text = "鍏ュ簱涓婇檺";
             this.layoutControlItem18.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem14
             // 
             this.layoutControlItem14.Control = this.txt_dwName;
-            this.layoutControlItem14.Location = new System.Drawing.Point(474, 96);
+            this.layoutControlItem14.Location = new System.Drawing.Point(482, 96);
             this.layoutControlItem14.Name = "layoutControlItem14";
             this.layoutControlItem14.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem14.OptionsTableLayoutItem.RowIndex = 4;
-            this.layoutControlItem14.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem14.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem14.Text = "鍗曚綅";
             this.layoutControlItem14.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem11
             // 
             this.layoutControlItem11.Control = this.txt_itemModel;
-            this.layoutControlItem11.Location = new System.Drawing.Point(474, 72);
+            this.layoutControlItem11.Location = new System.Drawing.Point(482, 72);
             this.layoutControlItem11.Name = "layoutControlItem11";
             this.layoutControlItem11.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem11.OptionsTableLayoutItem.RowIndex = 3;
-            this.layoutControlItem11.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem11.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem11.Text = "浜у搧瑙勬牸";
             this.layoutControlItem11.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem35
             // 
             this.layoutControlItem35.Control = this.txt_wrkQty;
-            this.layoutControlItem35.Location = new System.Drawing.Point(474, 48);
+            this.layoutControlItem35.Location = new System.Drawing.Point(482, 48);
             this.layoutControlItem35.Name = "layoutControlItem35";
             this.layoutControlItem35.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem35.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem35.Size = new System.Drawing.Size(237, 24);
+            this.layoutControlItem35.Size = new System.Drawing.Size(241, 24);
             this.layoutControlItem35.Text = "鏈叆搴撴暟";
             this.layoutControlItem35.TextSize = new System.Drawing.Size(72, 14);
             // 
             // layoutControlItem28
             // 
             this.layoutControlItem28.Control = this.txt_remarks;
-            this.layoutControlItem28.Location = new System.Drawing.Point(237, 168);
+            this.layoutControlItem28.Location = new System.Drawing.Point(241, 168);
             this.layoutControlItem28.Name = "layoutControlItem28";
             this.layoutControlItem28.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem28.OptionsTableLayoutItem.ColumnSpan = 2;
             this.layoutControlItem28.OptionsTableLayoutItem.RowIndex = 7;
-            this.layoutControlItem28.Size = new System.Drawing.Size(474, 24);
+            this.layoutControlItem28.Size = new System.Drawing.Size(482, 24);
             this.layoutControlItem28.Text = "澶囨敞";
             this.layoutControlItem28.TextSize = new System.Drawing.Size(72, 14);
             // 
@@ -2217,7 +2219,7 @@
             this.gridColumn12.MinWidth = 22;
             this.gridColumn12.Name = "gridColumn12";
             this.gridColumn12.Visible = true;
-            this.gridColumn12.VisibleIndex = 34;
+            this.gridColumn12.VisibleIndex = 33;
             this.gridColumn12.Width = 82;
             // 
             // gridColumn13
@@ -2227,7 +2229,7 @@
             this.gridColumn13.MinWidth = 22;
             this.gridColumn13.Name = "gridColumn13";
             this.gridColumn13.Visible = true;
-            this.gridColumn13.VisibleIndex = 35;
+            this.gridColumn13.VisibleIndex = 34;
             this.gridColumn13.Width = 82;
             // 
             // picCheckBox
@@ -2241,6 +2243,14 @@
             this.picCheckBox.TabIndex = 8;
             this.picCheckBox.TabStop = false;
             this.picCheckBox.Visible = false;
+            // 
+            // gridColumn11
+            // 
+            this.gridColumn11.Caption = "瀹℃牳澶嶉�夋";
+            this.gridColumn11.FieldName = "chkInt";
+            this.gridColumn11.Name = "gridColumn11";
+            this.gridColumn11.Visible = true;
+            this.gridColumn11.VisibleIndex = 0;
             // 
             // Frm_ProductionOrder
             // 
@@ -2510,5 +2520,6 @@
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn15;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn16;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem28;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn11;
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.cs b/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.cs
index 9acc51a..60d0b40 100644
--- a/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_ProductionOrder.cs
@@ -7,6 +7,8 @@
 using System;
 using System.Collections.Generic;
 using System.Data;
+using System.Linq;
+using System.Text;
 using System.Threading.Tasks;
 using System.Windows.Forms;
 
@@ -255,24 +257,187 @@
         }
 
         /// <summary>
-        ///     瀹℃牳浜嬩欢
+        /// 瀹℃牳浜嬩欢
         /// </summary>
         /// <param name="sender"></param>
         /// <param name="e"></param>
         private void ToolBarMenu1_btnChkClick(object sender, EventArgs e)
         {
-            _toolCk(8);
+            ExecuteBatchOperation(8, "瀹℃牳");
         }
 
         /// <summary>
-        ///     鍙嶅鏍�
+        /// 鍙嶅鏍�
         /// </summary>
         /// <param name="sender"></param>
         /// <param name="e"></param>
-        /// <exception cref="NotImplementedException"></exception>
         private void ToolBarMenu1_btnFChkClick(object sender, EventArgs e)
         {
-            _toolCk(9);
+            ExecuteBatchOperation(9, "鍙嶅鏍�");
+        }
+
+        /// <summary>
+        /// 鎵归噺鎵ц鎿嶄綔
+        /// </summary>
+        /// <param name="inFieldValue">鎿嶄綔绫诲瀷鍊�</param>
+        /// <param name="operationName">鎿嶄綔鍚嶇О</param>
+        private void ExecuteBatchOperation(int inFieldValue, string operationName)
+        {
+            gridView1.PostEditor();
+            gridView1.UpdateCurrentRow();
+            DataTable dt = this.gcMain1.DataSource as DataTable;
+
+            // 鏀堕泦鎵�鏈夐�変腑鐨刧uid
+            List<string> selectedGuids = new List<string>();
+            foreach (DataRow dr in dt.Rows)
+            {
+                string checkBox = dr["chkInt"].ToString();
+                string _guid = dr["guid"].ToString();
+                if (Gs.DevApp.ToolBox.UtilityHelper.ToCheck(checkBox))
+                {
+                    selectedGuids.Add(_guid);
+                }
+            }
+
+            // 濡傛灉娌℃湁閫変腑鐨勮褰曪紝鐩存帴杩斿洖
+            if (selectedGuids.Count == 0)
+            {
+                MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+                return;
+            }
+
+            // 纭瀵硅瘽妗�
+            if (!MsgHelper.AskQuestion($"浣犻�夋嫨浜� {selectedGuids.Count} 鏉¤褰曪紝纭畾{operationName}鍚楋紵"))
+                return;
+
+            // 鎵ц鎵归噺鎿嶄綔
+            BatchExecuteOperation(selectedGuids, inFieldValue, operationName);
+        }
+
+        /// <summary>
+        /// 鎵归噺鎵ц鎿嶄綔骞剁粺涓�杩斿洖缁撴灉
+        /// </summary>
+        private void BatchExecuteOperation(List<string> guids, int inFieldValue, string operationName)
+        {
+            List<string> successMessages = new List<string>();
+            List<string> errorMessages = new List<string>();
+            string lastSuccessGuid = string.Empty;
+
+            foreach (string rowGuid in guids)
+            {
+                if (string.IsNullOrEmpty(rowGuid))
+                {
+                    errorMessages.Add("閬囧埌绌篏UID锛岃烦杩囧鐞�");
+                    continue;
+                }
+
+                try
+                {
+                    var _obj = new
+                    {
+                        guid = rowGuid,
+                        inFieldValue = inFieldValue,
+                    };
+
+                    var strJson = UtilityHelper.HttpPost("",
+                        _webServiceName + "EditModelSubmit",
+                        JsonConvert.SerializeObject(_obj));
+                    var _rtn = UtilityHelper.ReturnToDynamic(strJson);
+
+                    if (_rtn.rtnCode > 0 && _rtn.rtnData.outSum * 1 > 0)
+                    {
+                        successMessages.Add($"璁板綍 {rowGuid}锛歿_rtn.rtnData.outMsg}");
+                        lastSuccessGuid = rowGuid;
+
+                        // 鏇存柊鐣岄潰
+                        UpdateUI(rowGuid, inFieldValue);
+                    }
+                    else
+                    {
+                        errorMessages.Add($"璁板綍 {rowGuid}锛歿_rtn.rtnData.outMsg}");
+                    }
+                }
+                catch (Exception ex)
+                {
+                    errorMessages.Add($"璁板綍 {rowGuid}锛氬鐞嗗け璐� - {ex.Message}");
+                }
+            }
+
+            // 缁熶竴鏄剧ず缁撴灉
+            ShowBatchResult(successMessages, errorMessages, operationName, lastSuccessGuid);
+        }
+
+        /// <summary>
+        /// 鏇存柊鐣岄潰
+        /// </summary>
+        private void UpdateUI(string rowGuid, int inFieldValue)
+        {
+            if (xtraTabControl1.SelectedTabPageIndex == 1)
+            {
+                getModel(lbGuid.Text.Trim());
+                int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid);
+                gridView1.FocusedRowHandle = rowHandle;
+                UtilityHelper.SetCheckIco(gridView1, "auditStatusChk", "auditor", "auditDate", picCheckBox, this, (inFieldValue == 8 ? 1 : 0).ToString());
+            }
+            else
+            {
+                getPageList(this.pageBar1.CurrentPage);
+                int rowHandle = gridView1.LocateByValue("guid", rowGuid);
+                gridView1.FocusedRowHandle = rowHandle;
+            }
+        }
+
+        /// <summary>
+        /// 鏄剧ず鎵归噺鎿嶄綔缁撴灉
+        /// </summary>
+        private void ShowBatchResult(List<string> successMessages, List<string> errorMessages, string operationName, string lastSuccessGuid)
+        {
+            StringBuilder resultMessage = new StringBuilder();
+            resultMessage.AppendLine($"{operationName}鎿嶄綔瀹屾垚锛�");
+            resultMessage.AppendLine($"鎴愬姛锛歿successMessages.Count} 鏉�");
+            resultMessage.AppendLine($"澶辫触锛歿errorMessages.Count} 鏉�");
+
+            if (successMessages.Count > 0)
+            {
+                resultMessage.AppendLine();
+                resultMessage.AppendLine("鎴愬姛璁板綍锛�");
+                foreach (var msg in successMessages.Take(5)) // 鍙樉绀哄墠5鏉℃垚鍔熶俊鎭�
+                {
+                    resultMessage.AppendLine($"  鉁� {msg}");
+                }
+                if (successMessages.Count > 5)
+                {
+                    resultMessage.AppendLine($"  ... 杩樻湁 {successMessages.Count - 5} 鏉℃垚鍔熻褰�");
+                }
+            }
+
+            if (errorMessages.Count > 0)
+            {
+                resultMessage.AppendLine();
+                resultMessage.AppendLine("澶辫触璁板綍锛�");
+                foreach (var msg in errorMessages.Take(5)) // 鍙樉绀哄墠5鏉¢敊璇俊鎭�
+                {
+                    resultMessage.AppendLine($"  鉁� {msg}");
+                }
+                if (errorMessages.Count > 5)
+                {
+                    resultMessage.AppendLine($"  ... 杩樻湁 {errorMessages.Count - 5} 鏉″け璐ヨ褰�");
+                }
+            }
+
+            // 鏍规嵁缁撴灉绫诲瀷鏄剧ず涓嶅悓鐨勬秷鎭
+            if (errorMessages.Count == 0)
+            {
+                MsgHelper.ShowInformation(resultMessage.ToString());
+            }
+            else if (successMessages.Count == 0)
+            {
+                MsgHelper.ShowError(resultMessage.ToString());
+            }
+            else
+            {
+                MsgHelper.ShowError(resultMessage.ToString());
+            }
         }
 
         /// <summary>

--
Gitblit v1.9.3