From e1942517bcd86f1fd5e65511171e54600593676b Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期三, 19 三月 2025 16:57:44 +0800
Subject: [PATCH] 异常单据

---
 DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs          |   60 ++++----------
 DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.Designer.cs |  128 ++++++++++++++++++-------------
 2 files changed, 93 insertions(+), 95 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.Designer.cs b/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.Designer.cs
index 237cca7..306bb16 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.Designer.cs
@@ -534,30 +534,33 @@
             // 
             // txt_pba009
             // 
-            this.txt_pba009.Location = new System.Drawing.Point(148, 140);
+            this.txt_pba009.Location = new System.Drawing.Point(99, 140);
             this.txt_pba009.Name = "txt_pba009";
             this.txt_pba009.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_pba009.Properties.Appearance.Options.UseFont = true;
-            this.txt_pba009.Size = new System.Drawing.Size(402, 28);
+            this.txt_pba009.Size = new System.Drawing.Size(451, 28);
+            this.txt_pba009.StyleController = this.layoutMx1;
             this.txt_pba009.TabIndex = 240;
             // 
             // txt_checkUser
             // 
-            this.txt_checkUser.Location = new System.Drawing.Point(961, 12);
+            this.txt_checkUser.Location = new System.Drawing.Point(912, 12);
             this.txt_checkUser.Name = "txt_checkUser";
             this.txt_checkUser.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_checkUser.Properties.Appearance.Options.UseFont = true;
-            this.txt_checkUser.Size = new System.Drawing.Size(132, 28);
+            this.txt_checkUser.Size = new System.Drawing.Size(181, 28);
+            this.txt_checkUser.StyleController = this.layoutMx1;
             this.txt_checkUser.TabIndex = 273;
             this.txt_checkUser.Tag = "readonly";
             // 
             // txt_checkDate
             // 
-            this.txt_checkDate.Location = new System.Drawing.Point(961, 44);
+            this.txt_checkDate.Location = new System.Drawing.Point(912, 44);
             this.txt_checkDate.Name = "txt_checkDate";
             this.txt_checkDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_checkDate.Properties.Appearance.Options.UseFont = true;
-            this.txt_checkDate.Size = new System.Drawing.Size(132, 28);
+            this.txt_checkDate.Size = new System.Drawing.Size(181, 28);
+            this.txt_checkDate.StyleController = this.layoutMx1;
             this.txt_checkDate.TabIndex = 267;
             this.txt_checkDate.Tag = "readonly";
             // 
@@ -567,13 +570,15 @@
             this.txt_fstatus.Name = "txt_fstatus";
             this.txt_fstatus.Properties.Caption = "瀹℃牳鐘舵��";
             this.txt_fstatus.Size = new System.Drawing.Size(268, 24);
+            this.txt_fstatus.StyleController = this.layoutMx1;
             this.txt_fstatus.TabIndex = 461;
             // 
             // textEdit1
             // 
-            this.textEdit1.Location = new System.Drawing.Point(419, 12);
+            this.textEdit1.Location = new System.Drawing.Point(370, 12);
             this.textEdit1.Name = "textEdit1";
-            this.textEdit1.Size = new System.Drawing.Size(131, 24);
+            this.textEdit1.Size = new System.Drawing.Size(180, 24);
+            this.textEdit1.StyleController = this.layoutMx1;
             this.textEdit1.TabIndex = 462;
             // 
             // textEdit2
@@ -586,97 +591,110 @@
             // 
             // textEdit5
             // 
-            this.textEdit5.Location = new System.Drawing.Point(148, 44);
+            this.textEdit5.Location = new System.Drawing.Point(99, 44);
             this.textEdit5.Name = "textEdit5";
-            this.textEdit5.Size = new System.Drawing.Size(131, 24);
+            this.textEdit5.Size = new System.Drawing.Size(180, 24);
+            this.textEdit5.StyleController = this.layoutMx1;
             this.textEdit5.TabIndex = 464;
             // 
             // textEdit6
             // 
-            this.textEdit6.Location = new System.Drawing.Point(419, 44);
+            this.textEdit6.Location = new System.Drawing.Point(370, 44);
             this.textEdit6.Name = "textEdit6";
-            this.textEdit6.Size = new System.Drawing.Size(131, 24);
+            this.textEdit6.Size = new System.Drawing.Size(180, 24);
+            this.textEdit6.StyleController = this.layoutMx1;
             this.textEdit6.TabIndex = 465;
             // 
             // textEdit7
             // 
-            this.textEdit7.Location = new System.Drawing.Point(690, 44);
+            this.textEdit7.Location = new System.Drawing.Point(641, 44);
             this.textEdit7.Name = "textEdit7";
-            this.textEdit7.Size = new System.Drawing.Size(131, 24);
+            this.textEdit7.Size = new System.Drawing.Size(180, 24);
+            this.textEdit7.StyleController = this.layoutMx1;
             this.textEdit7.TabIndex = 466;
             // 
             // textEdit8
             // 
-            this.textEdit8.Location = new System.Drawing.Point(690, 12);
+            this.textEdit8.Location = new System.Drawing.Point(641, 12);
             this.textEdit8.Name = "textEdit8";
-            this.textEdit8.Size = new System.Drawing.Size(131, 24);
+            this.textEdit8.Size = new System.Drawing.Size(180, 24);
+            this.textEdit8.StyleController = this.layoutMx1;
             this.textEdit8.TabIndex = 467;
             // 
             // textEdit9
             // 
-            this.textEdit9.Location = new System.Drawing.Point(690, 76);
+            this.textEdit9.Location = new System.Drawing.Point(641, 76);
             this.textEdit9.Name = "textEdit9";
-            this.textEdit9.Size = new System.Drawing.Size(131, 24);
+            this.textEdit9.Size = new System.Drawing.Size(180, 24);
+            this.textEdit9.StyleController = this.layoutMx1;
             this.textEdit9.TabIndex = 468;
             // 
             // textEdit10
             // 
-            this.textEdit10.Location = new System.Drawing.Point(690, 108);
+            this.textEdit10.Location = new System.Drawing.Point(641, 108);
             this.textEdit10.Name = "textEdit10";
-            this.textEdit10.Size = new System.Drawing.Size(131, 24);
+            this.textEdit10.Size = new System.Drawing.Size(180, 24);
+            this.textEdit10.StyleController = this.layoutMx1;
             this.textEdit10.TabIndex = 469;
             // 
             // textEdit11
             // 
-            this.textEdit11.Location = new System.Drawing.Point(148, 76);
+            this.textEdit11.Location = new System.Drawing.Point(99, 76);
             this.textEdit11.Name = "textEdit11";
-            this.textEdit11.Size = new System.Drawing.Size(131, 24);
+            this.textEdit11.Size = new System.Drawing.Size(180, 24);
+            this.textEdit11.StyleController = this.layoutMx1;
             this.textEdit11.TabIndex = 470;
             // 
             // textEdit12
             // 
-            this.textEdit12.Location = new System.Drawing.Point(148, 108);
+            this.textEdit12.Location = new System.Drawing.Point(99, 108);
             this.textEdit12.Name = "textEdit12";
-            this.textEdit12.Size = new System.Drawing.Size(131, 24);
+            this.textEdit12.Size = new System.Drawing.Size(180, 24);
+            this.textEdit12.StyleController = this.layoutMx1;
             this.textEdit12.TabIndex = 471;
             // 
             // comboBoxEdit1
             // 
-            this.comboBoxEdit1.Location = new System.Drawing.Point(419, 76);
+            this.comboBoxEdit1.Location = new System.Drawing.Point(370, 76);
             this.comboBoxEdit1.Name = "comboBoxEdit1";
             this.comboBoxEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.comboBoxEdit1.Size = new System.Drawing.Size(131, 24);
+            this.comboBoxEdit1.Size = new System.Drawing.Size(180, 24);
+            this.comboBoxEdit1.StyleController = this.layoutMx1;
             this.comboBoxEdit1.TabIndex = 472;
             // 
             // textEdit13
             // 
-            this.textEdit13.Location = new System.Drawing.Point(419, 108);
+            this.textEdit13.Location = new System.Drawing.Point(370, 108);
             this.textEdit13.Name = "textEdit13";
-            this.textEdit13.Size = new System.Drawing.Size(131, 24);
+            this.textEdit13.Size = new System.Drawing.Size(180, 24);
+            this.textEdit13.StyleController = this.layoutMx1;
             this.textEdit13.TabIndex = 473;
             // 
             // comboBoxEdit2
             // 
-            this.comboBoxEdit2.Location = new System.Drawing.Point(690, 140);
+            this.comboBoxEdit2.Location = new System.Drawing.Point(641, 140);
             this.comboBoxEdit2.Name = "comboBoxEdit2";
             this.comboBoxEdit2.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.comboBoxEdit2.Size = new System.Drawing.Size(131, 24);
+            this.comboBoxEdit2.Size = new System.Drawing.Size(180, 24);
+            this.comboBoxEdit2.StyleController = this.layoutMx1;
             this.comboBoxEdit2.TabIndex = 474;
             // 
             // textEdit14
             // 
-            this.textEdit14.Location = new System.Drawing.Point(961, 108);
+            this.textEdit14.Location = new System.Drawing.Point(912, 108);
             this.textEdit14.Name = "textEdit14";
-            this.textEdit14.Size = new System.Drawing.Size(132, 24);
+            this.textEdit14.Size = new System.Drawing.Size(181, 24);
+            this.textEdit14.StyleController = this.layoutMx1;
             this.textEdit14.TabIndex = 475;
             // 
             // textEdit15
             // 
-            this.textEdit15.Location = new System.Drawing.Point(961, 140);
+            this.textEdit15.Location = new System.Drawing.Point(912, 140);
             this.textEdit15.Name = "textEdit15";
-            this.textEdit15.Size = new System.Drawing.Size(132, 24);
+            this.textEdit15.Size = new System.Drawing.Size(181, 24);
+            this.textEdit15.StyleController = this.layoutMx1;
             this.textEdit15.TabIndex = 476;
             // 
             // txt_guid
@@ -689,9 +707,10 @@
             // 
             // txt_hNo
             // 
-            this.txt_hNo.Location = new System.Drawing.Point(148, 12);
+            this.txt_hNo.Location = new System.Drawing.Point(99, 12);
             this.txt_hNo.Name = "txt_hNo";
-            this.txt_hNo.Size = new System.Drawing.Size(131, 24);
+            this.txt_hNo.Size = new System.Drawing.Size(180, 24);
+            this.txt_hNo.StyleController = this.layoutMx1;
             this.txt_hNo.TabIndex = 478;
             // 
             // layoutControlItem9
@@ -783,7 +802,7 @@
             this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem5.Size = new System.Drawing.Size(272, 32);
             this.layoutControlItem5.Text = "瀹℃牳浜�";
-            this.layoutControlItem5.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem5.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem1
             // 
@@ -793,7 +812,7 @@
             this.layoutControlItem1.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem1.Size = new System.Drawing.Size(271, 32);
             this.layoutControlItem1.Text = "寮傚父绫诲瀷";
-            this.layoutControlItem1.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem1.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem11
             // 
@@ -803,7 +822,7 @@
             this.layoutControlItem11.OptionsTableLayoutItem.RowIndex = 1;
             this.layoutControlItem11.Size = new System.Drawing.Size(271, 32);
             this.layoutControlItem11.Text = "鐗╂枡缂栧彿";
-            this.layoutControlItem11.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem11.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem12
             // 
@@ -814,7 +833,7 @@
             this.layoutControlItem12.OptionsTableLayoutItem.RowIndex = 1;
             this.layoutControlItem12.Size = new System.Drawing.Size(271, 32);
             this.layoutControlItem12.Text = "鐗╂枡鍚嶇О";
-            this.layoutControlItem12.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem12.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem13
             // 
@@ -825,7 +844,7 @@
             this.layoutControlItem13.OptionsTableLayoutItem.RowIndex = 1;
             this.layoutControlItem13.Size = new System.Drawing.Size(271, 32);
             this.layoutControlItem13.Text = "鐗╂枡瑙勬牸";
-            this.layoutControlItem13.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem13.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem15
             // 
@@ -836,7 +855,7 @@
             this.layoutControlItem15.OptionsTableLayoutItem.RowIndex = 2;
             this.layoutControlItem15.Size = new System.Drawing.Size(271, 32);
             this.layoutControlItem15.Text = "渚涘簲鍟嗙紪鍙�";
-            this.layoutControlItem15.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem15.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem16
             // 
@@ -847,7 +866,7 @@
             this.layoutControlItem16.OptionsTableLayoutItem.RowIndex = 3;
             this.layoutControlItem16.Size = new System.Drawing.Size(271, 32);
             this.layoutControlItem16.Text = "渚涘簲鍟嗗悕绉�";
-            this.layoutControlItem16.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem16.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem17
             // 
@@ -857,7 +876,7 @@
             this.layoutControlItem17.OptionsTableLayoutItem.RowIndex = 2;
             this.layoutControlItem17.Size = new System.Drawing.Size(271, 32);
             this.layoutControlItem17.Text = "鏉ユ枡鏁伴噺";
-            this.layoutControlItem17.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem17.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem7
             // 
@@ -868,7 +887,7 @@
             this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 4;
             this.layoutControlItem7.Size = new System.Drawing.Size(542, 32);
             this.layoutControlItem7.Text = "寮傚父澶囨敞";
-            this.layoutControlItem7.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem7.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem18
             // 
@@ -878,7 +897,7 @@
             this.layoutControlItem18.OptionsTableLayoutItem.RowIndex = 3;
             this.layoutControlItem18.Size = new System.Drawing.Size(271, 32);
             this.layoutControlItem18.Text = "閫夊埆鏁伴噺";
-            this.layoutControlItem18.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem18.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem19
             // 
@@ -889,7 +908,7 @@
             this.layoutControlItem19.OptionsTableLayoutItem.RowIndex = 2;
             this.layoutControlItem19.Size = new System.Drawing.Size(271, 32);
             this.layoutControlItem19.Text = "澶勭疆鎰忚";
-            this.layoutControlItem19.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem19.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem20
             // 
@@ -900,7 +919,7 @@
             this.layoutControlItem20.OptionsTableLayoutItem.RowIndex = 3;
             this.layoutControlItem20.Size = new System.Drawing.Size(271, 32);
             this.layoutControlItem20.Text = "閫夊埆绫诲埆";
-            this.layoutControlItem20.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem20.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem21
             // 
@@ -911,7 +930,7 @@
             this.layoutControlItem21.OptionsTableLayoutItem.RowIndex = 4;
             this.layoutControlItem21.Size = new System.Drawing.Size(271, 32);
             this.layoutControlItem21.Text = "鍒ゅ畾";
-            this.layoutControlItem21.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem21.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem6
             // 
@@ -934,7 +953,7 @@
             this.layoutControlItem3.OptionsTableLayoutItem.RowIndex = 1;
             this.layoutControlItem3.Size = new System.Drawing.Size(272, 32);
             this.layoutControlItem3.Text = "瀹℃牳鏃ユ湡 ";
-            this.layoutControlItem3.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem3.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem14
             // 
@@ -944,7 +963,7 @@
             this.layoutControlItem14.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem14.Size = new System.Drawing.Size(271, 32);
             this.layoutControlItem14.Text = "鍒拌揣鍗曞彿";
-            this.layoutControlItem14.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem14.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem22
             // 
@@ -955,7 +974,7 @@
             this.layoutControlItem22.OptionsTableLayoutItem.RowIndex = 3;
             this.layoutControlItem22.Size = new System.Drawing.Size(272, 32);
             this.layoutControlItem22.Text = "鍒涘缓浜�";
-            this.layoutControlItem22.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem22.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem23
             // 
@@ -966,7 +985,7 @@
             this.layoutControlItem23.OptionsTableLayoutItem.RowIndex = 4;
             this.layoutControlItem23.Size = new System.Drawing.Size(272, 32);
             this.layoutControlItem23.Text = "鍒涘缓鏃堕棿";
-            this.layoutControlItem23.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem23.TextSize = new System.Drawing.Size(75, 18);
             // 
             // layoutControlItem2
             // 
@@ -974,7 +993,8 @@
             this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
             this.layoutControlItem2.Name = "layoutControlItem2";
             this.layoutControlItem2.Size = new System.Drawing.Size(271, 32);
-            this.layoutControlItem2.TextSize = new System.Drawing.Size(124, 18);
+            this.layoutControlItem2.Text = "鍗曟嵁缂栧彿";
+            this.layoutControlItem2.TextSize = new System.Drawing.Size(75, 18);
             // 
             // tabMx
             // 
diff --git a/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs b/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs
index c732d6d..3c530aa 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs
@@ -1,6 +1,4 @@
-锘縰sing DevExpress.XtraEditors;
-using DevExpress.XtraGrid.Views.Grid;
-using Gs.DevApp.Entity;
+锘縰sing Gs.DevApp.Entity;
 using Gs.DevApp.ToolBox;
 using Gs.DevApp.UserControl;
 using Newtonsoft.Json;
@@ -15,13 +13,11 @@
 {
     public partial class MesQcExceptional : DevExpress.XtraEditors.XtraForm
     {
-        string _webServiceName = "WompbaManager/";
+        string _webServiceName = "MesQcExceptionalManager/";
         List<FilterEntity> _filterList = new List<FilterEntity>();
-        string _cjBm = "";//杞﹂棿
         public MesQcExceptional()
         {
             InitializeComponent();
-            this.toolBarMenu1.btnAddClick += ToolBarMenu1_btnAddClick;
             this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
             this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
             toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
@@ -113,7 +109,7 @@
         /// <param name="e"></param>
         private void ToolBarMenu1_btnChkClick(object sender, EventArgs e)
         {
-            _toolCk(1, "EditModelSubmit");
+            _toolCk(1);
         }
 
         /// <summary>
@@ -124,23 +120,10 @@
         /// <exception cref="NotImplementedException"></exception>
         private void ToolBarMenu1_btnFChkClick(object sender, EventArgs e)
         {
-            _toolCk(0, "EditModelSubmitFSH");
+            _toolCk(0);
         }
 
-        /// <summary>
-        /// 鏂板浜嬩欢
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ToolBarMenu1_btnAddClick(object sender, EventArgs e)
-        {
-            lbGuid.Text = "";
-            Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 4);
-            List<DevExpress.XtraGrid.Views.Grid.GridView> gridViews = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
-            gridViews.Add(gvMx1);
-            UtilityHelper.CleanValueByControl(this.layoutMx1.Controls, true, gridViews);
-            Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
-        }
+      
         
         /// <summary>
         /// 
@@ -207,12 +190,10 @@
                 if (_rtn.rtnCode > 0)
                 {
                     dynamic dy = _rtn.rtnData;
-                    _cjBm = dy.pba013;
                     lbGuid.Text = strGuid;
                     List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
                     gvList.Add(gvMx1);
                     UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy, isEdit, gvList);
-                    _cjBm = "";
                     JObject _job = JObject.Parse(strJson);
                     JArray array = new JArray();
                     foreach (var a in _job["rtnData"]["list"])
@@ -279,41 +260,37 @@
                 }
             }
         }
-       
+
         /// <summary>
         /// 宸ュ叿鏉′簨浠�
         /// </summary>
         /// <param name="inFieldValue"></param>
-        private void _toolCk(int _inFieldValue, string _mth)
+        /// <summary>
+        /// 
+        /// </summary>
+        /// <param name="inFieldValue"></param>
+        private void _toolCk(int _inFieldValue)
         {
-            string strMsg = "";
-            switch (_inFieldValue)
-            {
-                case 1:
-                    strMsg = "瀹℃牳";
-                    break;
-                case 0:
-                    strMsg = "鍙嶅鏍�";
-                    break;
-            };
             toolBarMenu1.guidKey = "";
             string rowGuid, rowName;
-            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_hNo, gridView1, "hNo");
+            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
+                lbGuid, txt_hNo, gridView1, "billNo");
+            toolBarMenu1.guidKey = rowGuid;
             if (string.IsNullOrEmpty(rowGuid))
             {
                 MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
                 return;
             }
-            if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾" + strMsg + "鍚楋紵"))
+            if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鎿嶄綔鍚楋紵"))
                 return;
             var _obj = new
             {
                 guid = rowGuid,
-                inFieldValue = _inFieldValue,
+                inFieldValue = _inFieldValue
             };
             try
             {
-                var strJson = UtilityHelper.HttpPost("", _webServiceName + _mth, JsonConvert.SerializeObject(_obj));
+                var strJson = UtilityHelper.HttpPost("", _webServiceName + "EditModelSubmit", JsonConvert.SerializeObject(_obj));
                 var _rtn = UtilityHelper.ReturnToDynamic(strJson);
                 MsgHelper.Warning(_rtn.rtnData.outMsg.ToString());
                 if (_rtn.rtnCode > 0 && _rtn.rtnData.outSum * 1 > 0)
@@ -324,7 +301,7 @@
                     }
                     int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid);
                     gridView1.FocusedRowHandle = rowHandle;
-                    UtilityHelper.SetCheckIco(gridView1, "fstatus", "checkUser", "checkDate", picCheckBox, this, _inFieldValue.ToString());
+                    UtilityHelper.SetCheckIco(gridView1, "ischeck", "checkUser", "checkDate", picCheckBox, this, _inFieldValue.ToString());
                 }
             }
             catch (Exception ex)
@@ -332,5 +309,6 @@
                 MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
             }
         }
+
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3