From bc2d089828ae163915a791a151fe26ba2ccee738 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期二, 24 十二月 2024 16:44:25 +0800
Subject: [PATCH] 委外

---
 DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.cs |   60 ------------------------------------------------------------
 1 files changed, 0 insertions(+), 60 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.cs b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.cs
index 82edb3b..754ec05 100644
--- a/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.cs
+++ b/DevApp/Gs.DevApp/DevFrm/WW/Frm_WwGd.cs
@@ -1,4 +1,3 @@
-using DevExpress.RichEdit.Export;
 using Gs.DevApp.Entity;
 using Gs.DevApp.ToolBox;
 using Gs.DevApp.UserControl;
@@ -7,7 +6,6 @@
 using System;
 using System.Collections.Generic;
 using System.Data;
-using System.Drawing;
 using System.Threading.Tasks;
 using System.Windows.Forms;
 
@@ -30,7 +28,6 @@
             this.toolBarMenu1.btnKgClick += ToolBarMenu1_btnKgClick;
             this.toolBarMenu1.btnWgClick += ToolBarMenu1_btnWgClick;
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
-            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2);
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", (value) =>
             {
                 Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
@@ -44,14 +41,6 @@
             });
             getPageList(1);
             pageBar1.PagerEvent += PageBar1_PagerEvent;
-            this.ucBtnPrint1.btnDesignClick += (s, e) =>
-            {
-                ucBtnPrint1.rptParameter = "rpt_daa{}";
-            };
-            this.ucBtnPrint1.btnReportClick += (s, e) =>
-            {
-                _print();
-            };
         }
         private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
         {
@@ -294,22 +283,6 @@
                     {
                         Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
                     }
-                    JArray array2 = new JArray();
-                    foreach (var a in _job["rtnData"]["list2"])
-                    {
-                        array2.Add(a);
-                    }
-                    DataTable dt2 = JsonConvert.DeserializeObject<DataTable>(array2.ToString());
-                    if (dt.Rows.Count > 0)
-                    {
-                        gcMx2.BindingContext = new BindingContext();
-                        gcMx2.DataSource = dt2;
-                        gcMx2.ForceInitialize();
-                    }
-                    else
-                    {
-                        Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx2, gvMx2);
-                    }
                 }
                 else
                     ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg);
@@ -394,38 +367,5 @@
             }
         }
 
-        private void _print()
-        {
-            string rowGuid, rowName;
-            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
-                lbGuid, txt_daa001, gridView1);
-            ucBtnPrint1.guidKey = rowGuid;
-            if (rowGuid.Length < 36)
-            {
-                Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨浣犺鎵撳嵃鐨勮锛�");
-                this.ucBtnPrint1.rptParameter = "return false";
-                return;
-            }
-            if (string.IsNullOrEmpty(txt_iCount_1.Text.Trim()))
-            {
-                Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鎵撳嵃鏉$爜寮犳暟锛�");
-                txt_iCount_1.Focus();
-                this.ucBtnPrint1.rptParameter = "return false";
-                return;
-            }
-            if (string.IsNullOrEmpty(txt_psnQty_1.Text.Trim()))
-            {
-                Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鎵撳嵃鏉$爜鏁伴噺锛�");
-                txt_psnQty_1.Focus();
-                this.ucBtnPrint1.rptParameter = "return false";
-                return;
-            }
-            this.ucBtnPrint1.rptParameter = "rpt_daa{" + ""
-                   + "," + txt_printRemark.Text.Trim()
-                   + "," + ""
-                   + "," + txt_iCount_1.Text.Trim()
-                   + "," + txt_psnQty_1.Text.Trim()
-                   + "}";
-        }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3