From 3e8b14f31c5c57fdd11cd9b08c1deb5d44753c2a Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期二, 31 十二月 2024 16:55:13 +0800
Subject: [PATCH] 采购细节优化

---
 DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.cs |   78 ---------------------------------------
 1 files changed, 0 insertions(+), 78 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.cs
index 35e8b26..820caf5 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Check.cs
@@ -7,7 +7,6 @@
 using System.Collections.Generic;
 using System.Configuration;
 using System.Data;
-using System.Drawing;
 using System.Net;
 using System.Threading.Tasks;
 using System.Windows.Forms;
@@ -28,8 +27,6 @@
             this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
             this.toolBarMenu1.btnZhiLiangChkClick += ToolBarMenu1_btnZhiLiangChkClick;
             this.toolBarMenu1.btnZhiLiangFchkClick += ToolBarMenu1_btnZhiLiangFchkClick;
-            this.toolBarMenu1.btnCaiGouChkClick += ToolBarMenu1_btnCaiGouChkClick;
-            this.toolBarMenu1.btnCaiGouFchkClick += ToolBarMenu1_btnCaiGouFchkClick;
             this.toolBarMenu1.btnBoHuiClick += ToolBarMenu1_btnBoHuiClick;
             toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick;
             gcMx1.MouseClick += GcMx1_MouseClick;
@@ -209,76 +206,6 @@
             try
             {
                 var strJson = UtilityHelper.HttpPost("", _webServiceName + "IqcQcSubmit13",
-                    JsonConvert.SerializeObject(rowGuid));
-                var _rtn = UtilityHelper.ReturnToDynamic(strJson);
-
-                MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg);
-            }
-            catch (Exception ex)
-            {
-                MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
-            }
-        }
-        /// <summary>
-        /// 閲囪喘鍙嶅鏍�
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ToolBarMenu1_btnCaiGouFchkClick(object sender, EventArgs e)
-        {
-            toolBarMenu1.guidKey = "";
-            string rowGuid, rowName;
-            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
-                lbGuid, txt_releaseNo, gridView1);
-            toolBarMenu1.guidKey = rowGuid;
-
-            if (string.IsNullOrEmpty(rowGuid))
-            {
-                ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
-                return;
-            }
-
-            if (!MsgHelper.AskQuestion("浣犻�夋嫨浜�1鏉℃暟鎹紝纭畾瑕侀噰璐弽瀹℃牳鍚楋紵"))
-                return;
-
-            try
-            {
-                var strJson = UtilityHelper.HttpPost("", _webServiceName + "IqcQcSubmit12",
-                    JsonConvert.SerializeObject(rowGuid));
-                var _rtn = UtilityHelper.ReturnToDynamic(strJson);
-
-                MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg);
-            }
-            catch (Exception ex)
-            {
-                MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
-            }
-        }
-        /// <summary>
-        /// 閲囪喘瀹℃牳
-        /// </summary>
-        /// <param name="sender"></param>
-        /// <param name="e"></param>
-        private void ToolBarMenu1_btnCaiGouChkClick(object sender, EventArgs e)
-        {
-            toolBarMenu1.guidKey = "";
-            string rowGuid, rowName;
-            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
-                lbGuid, txt_releaseNo, gridView1);
-            toolBarMenu1.guidKey = rowGuid;
-
-            if (string.IsNullOrEmpty(rowGuid))
-            {
-                ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
-                return;
-            }
-
-            if (!MsgHelper.AskQuestion("浣犻�夋嫨浜�1鏉℃暟鎹紝纭畾瑕侀噰璐鏍稿悧锛�"))
-                return;
-
-            try
-            {
-                var strJson = UtilityHelper.HttpPost("", _webServiceName + "IqcQcCGAudit",
                     JsonConvert.SerializeObject(rowGuid));
                 var _rtn = UtilityHelper.ReturnToDynamic(strJson);
 
@@ -532,7 +459,6 @@
         /// <param name="guid5"></param>
         private   void getList12(string guid5)
         {
-            
             var _obj = new
             {
                 parentGuid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓
@@ -551,7 +477,6 @@
             {
                 MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
             }
-            
         }
         private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
         {
@@ -599,7 +524,6 @@
                 {
                     Gs.DevApp.ToolBox.MsgHelper.ShowError(ex.Message);
                 }
-
             }
         }
 
@@ -635,9 +559,7 @@
                 {
                     Gs.DevApp.ToolBox.MsgHelper.ShowError(ex.Message);
                 }
-
             }
-
         }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3