From 30931c00518330e6ba34c8b2fc4bd2b2f430fed5 Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期六, 12 七月 2025 09:26:39 +0800
Subject: [PATCH] bug
---
DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Supplier.Designer.cs | 117 ++++++++++++++++++++-------------------
DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs | 1
DevApp/Gs.DevApp/DevFrm/BasicData/Frm_SupplierSrm.cs | 8 --
DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs | 26 ++++----
4 files changed, 76 insertions(+), 76 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Supplier.Designer.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Supplier.Designer.cs
index 2446f86..6e0619c 100644
--- a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Supplier.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Supplier.Designer.cs
@@ -41,6 +41,7 @@
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();
this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu();
this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
@@ -91,9 +92,9 @@
this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
- this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
this.tips = new DevExpress.Utils.ToolTipController(this.components);
+ this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
this.xtraTabControl1.SuspendLayout();
this.xtraTabPage1.SuspendLayout();
@@ -137,8 +138,8 @@
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
this.SuspendLayout();
//
// toolBarMenu1
@@ -428,7 +429,7 @@
this.splitMx1.Panel2.Text = "Panel2";
this.splitMx1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True;
this.splitMx1.Size = new System.Drawing.Size(990, 510);
- this.splitMx1.SplitterPosition = 153;
+ this.splitMx1.SplitterPosition = 179;
this.splitMx1.TabIndex = 0;
//
// layoutMx1
@@ -454,14 +455,14 @@
this.layoutMx1.Name = "layoutMx1";
this.layoutMx1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(548, 483, 812, 500);
this.layoutMx1.Root = this.Root;
- this.layoutMx1.Size = new System.Drawing.Size(990, 153);
+ this.layoutMx1.Size = new System.Drawing.Size(990, 179);
this.layoutMx1.TabIndex = 0;
this.layoutMx1.Text = "layoutControl1";
//
// btnCopy
//
this.btnCopy.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.lookup_reference_16x16;
- this.btnCopy.Location = new System.Drawing.Point(738, 111);
+ this.btnCopy.Location = new System.Drawing.Point(12, 139);
this.btnCopy.Name = "btnCopy";
this.btnCopy.Size = new System.Drawing.Size(116, 27);
this.btnCopy.StyleController = this.layoutMx1;
@@ -479,10 +480,10 @@
//
// txt_suppName
//
- this.txt_suppName.Location = new System.Drawing.Point(99, 111);
+ this.txt_suppName.Location = new System.Drawing.Point(99, 107);
this.txt_suppName.Name = "txt_suppName";
this.txt_suppName.Properties.Appearance.Options.UseFont = true;
- this.txt_suppName.Size = new System.Drawing.Size(151, 30);
+ this.txt_suppName.Size = new System.Drawing.Size(151, 28);
this.txt_suppName.StyleController = this.layoutMx1;
this.txt_suppName.TabIndex = 299;
this.txt_suppName.Tag = "itemModel";
@@ -498,7 +499,7 @@
//
// txt_remark
//
- this.txt_remark.Location = new System.Drawing.Point(583, 111);
+ this.txt_remark.Location = new System.Drawing.Point(583, 107);
this.txt_remark.Name = "txt_remark";
this.txt_remark.Properties.Appearance.Options.UseFont = true;
this.txt_remark.Size = new System.Drawing.Size(151, 24);
@@ -507,7 +508,7 @@
//
// txt_telfx
//
- this.txt_telfx.Location = new System.Drawing.Point(583, 78);
+ this.txt_telfx.Location = new System.Drawing.Point(583, 75);
this.txt_telfx.Name = "txt_telfx";
this.txt_telfx.Properties.Appearance.Options.UseFont = true;
this.txt_telfx.Size = new System.Drawing.Size(151, 24);
@@ -516,7 +517,7 @@
//
// txt_fstaffid
//
- this.txt_fstaffid.Location = new System.Drawing.Point(341, 78);
+ this.txt_fstaffid.Location = new System.Drawing.Point(341, 75);
this.txt_fstaffid.Name = "txt_fstaffid";
this.txt_fstaffid.Properties.Appearance.Options.UseFont = true;
this.txt_fstaffid.Size = new System.Drawing.Size(151, 24);
@@ -534,7 +535,7 @@
//
// txt_telf1
//
- this.txt_telf1.Location = new System.Drawing.Point(583, 45);
+ this.txt_telf1.Location = new System.Drawing.Point(583, 43);
this.txt_telf1.Name = "txt_telf1";
this.txt_telf1.Properties.Appearance.Options.UseFont = true;
this.txt_telf1.Size = new System.Drawing.Size(151, 24);
@@ -543,7 +544,7 @@
//
// txt_suppNo
//
- this.txt_suppNo.Location = new System.Drawing.Point(99, 45);
+ this.txt_suppNo.Location = new System.Drawing.Point(99, 43);
this.txt_suppNo.Name = "txt_suppNo";
this.txt_suppNo.Properties.Appearance.Options.UseFont = true;
this.txt_suppNo.Size = new System.Drawing.Size(151, 24);
@@ -561,7 +562,7 @@
//
// txt_suppSname
//
- this.txt_suppSname.Location = new System.Drawing.Point(99, 78);
+ this.txt_suppSname.Location = new System.Drawing.Point(99, 75);
this.txt_suppSname.Name = "txt_suppSname";
this.txt_suppSname.Properties.Appearance.Options.UseFont = true;
this.txt_suppSname.Size = new System.Drawing.Size(151, 24);
@@ -570,7 +571,7 @@
//
// txt_land1
//
- this.txt_land1.Location = new System.Drawing.Point(341, 45);
+ this.txt_land1.Location = new System.Drawing.Point(341, 43);
this.txt_land1.Name = "txt_land1";
this.txt_land1.Properties.Appearance.Options.UseFont = true;
this.txt_land1.Size = new System.Drawing.Size(151, 24);
@@ -579,7 +580,7 @@
//
// txt_stras
//
- this.txt_stras.Location = new System.Drawing.Point(341, 111);
+ this.txt_stras.Location = new System.Drawing.Point(341, 107);
this.txt_stras.Name = "txt_stras";
this.txt_stras.Properties.Appearance.Options.UseFont = true;
this.txt_stras.Size = new System.Drawing.Size(151, 24);
@@ -614,8 +615,8 @@
this.layoutControlItem10,
this.layoutControlItem11,
this.layoutControlItem12,
- this.layoutControlItem14,
- this.layoutControlItem1});
+ this.layoutControlItem1,
+ this.layoutControlItem14});
this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
this.Root.Name = "Root";
columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
@@ -639,41 +640,44 @@
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;
this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
rowDefinition1,
rowDefinition2,
rowDefinition3,
- rowDefinition4});
- this.Root.Size = new System.Drawing.Size(990, 153);
+ rowDefinition4,
+ rowDefinition5});
+ this.Root.Size = new System.Drawing.Size(990, 179);
this.Root.TextVisible = false;
//
// layoutControlItem2
//
this.layoutControlItem2.Control = this.txt_suppNo;
- this.layoutControlItem2.Location = new System.Drawing.Point(0, 33);
+ this.layoutControlItem2.Location = new System.Drawing.Point(0, 31);
this.layoutControlItem2.Name = "layoutControlItem2";
this.layoutControlItem2.OptionsTableLayoutItem.RowIndex = 1;
- this.layoutControlItem2.Size = new System.Drawing.Size(242, 33);
+ this.layoutControlItem2.Size = new System.Drawing.Size(242, 32);
this.layoutControlItem2.Text = "渚涘簲鍟嗙紪鐮�";
this.layoutControlItem2.TextSize = new System.Drawing.Size(75, 18);
//
// layoutControlItem3
//
this.layoutControlItem3.Control = this.txt_suppSname;
- this.layoutControlItem3.Location = new System.Drawing.Point(0, 66);
+ this.layoutControlItem3.Location = new System.Drawing.Point(0, 63);
this.layoutControlItem3.Name = "layoutControlItem3";
this.layoutControlItem3.OptionsTableLayoutItem.RowIndex = 2;
- this.layoutControlItem3.Size = new System.Drawing.Size(242, 33);
+ this.layoutControlItem3.Size = new System.Drawing.Size(242, 32);
this.layoutControlItem3.Text = "渚涘簲鍟嗙畝绉�";
this.layoutControlItem3.TextSize = new System.Drawing.Size(75, 18);
//
// layoutControlItem4
//
this.layoutControlItem4.Control = this.txt_suppName;
- this.layoutControlItem4.Location = new System.Drawing.Point(0, 99);
+ this.layoutControlItem4.Location = new System.Drawing.Point(0, 95);
this.layoutControlItem4.Name = "layoutControlItem4";
this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 3;
- this.layoutControlItem4.Size = new System.Drawing.Size(242, 34);
+ this.layoutControlItem4.Size = new System.Drawing.Size(242, 32);
this.layoutControlItem4.Text = "渚涘簲鍟嗗悕绉�";
this.layoutControlItem4.TextSize = new System.Drawing.Size(75, 18);
//
@@ -683,40 +687,40 @@
this.layoutControlItem5.Location = new System.Drawing.Point(242, 0);
this.layoutControlItem5.Name = "layoutControlItem5";
this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 1;
- this.layoutControlItem5.Size = new System.Drawing.Size(242, 33);
+ this.layoutControlItem5.Size = new System.Drawing.Size(242, 31);
this.layoutControlItem5.Text = "鑱旂郴浜�";
this.layoutControlItem5.TextSize = new System.Drawing.Size(75, 18);
//
// layoutControlItem6
//
this.layoutControlItem6.Control = this.txt_land1;
- this.layoutControlItem6.Location = new System.Drawing.Point(242, 33);
+ this.layoutControlItem6.Location = new System.Drawing.Point(242, 31);
this.layoutControlItem6.Name = "layoutControlItem6";
this.layoutControlItem6.OptionsTableLayoutItem.ColumnIndex = 1;
this.layoutControlItem6.OptionsTableLayoutItem.RowIndex = 1;
- this.layoutControlItem6.Size = new System.Drawing.Size(242, 33);
+ this.layoutControlItem6.Size = new System.Drawing.Size(242, 32);
this.layoutControlItem6.Text = "鍦板尯";
this.layoutControlItem6.TextSize = new System.Drawing.Size(75, 18);
//
// layoutControlItem7
//
this.layoutControlItem7.Control = this.txt_fstaffid;
- this.layoutControlItem7.Location = new System.Drawing.Point(242, 66);
+ this.layoutControlItem7.Location = new System.Drawing.Point(242, 63);
this.layoutControlItem7.Name = "layoutControlItem7";
this.layoutControlItem7.OptionsTableLayoutItem.ColumnIndex = 1;
this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 2;
- this.layoutControlItem7.Size = new System.Drawing.Size(242, 33);
+ this.layoutControlItem7.Size = new System.Drawing.Size(242, 32);
this.layoutControlItem7.Text = "璐熻矗浜�";
this.layoutControlItem7.TextSize = new System.Drawing.Size(75, 18);
//
// layoutControlItem8
//
this.layoutControlItem8.Control = this.txt_stras;
- this.layoutControlItem8.Location = new System.Drawing.Point(242, 99);
+ this.layoutControlItem8.Location = new System.Drawing.Point(242, 95);
this.layoutControlItem8.Name = "layoutControlItem8";
this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 1;
this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 3;
- this.layoutControlItem8.Size = new System.Drawing.Size(242, 34);
+ this.layoutControlItem8.Size = new System.Drawing.Size(242, 32);
this.layoutControlItem8.Text = "鍦板潃";
this.layoutControlItem8.TextSize = new System.Drawing.Size(75, 18);
//
@@ -726,66 +730,65 @@
this.layoutControlItem9.Location = new System.Drawing.Point(484, 0);
this.layoutControlItem9.Name = "layoutControlItem9";
this.layoutControlItem9.OptionsTableLayoutItem.ColumnIndex = 2;
- this.layoutControlItem9.Size = new System.Drawing.Size(242, 33);
+ this.layoutControlItem9.Size = new System.Drawing.Size(242, 31);
this.layoutControlItem9.Text = "绂佺敤鐘舵��";
this.layoutControlItem9.TextSize = new System.Drawing.Size(75, 18);
//
// layoutControlItem10
//
this.layoutControlItem10.Control = this.txt_telf1;
- this.layoutControlItem10.Location = new System.Drawing.Point(484, 33);
+ this.layoutControlItem10.Location = new System.Drawing.Point(484, 31);
this.layoutControlItem10.Name = "layoutControlItem10";
this.layoutControlItem10.OptionsTableLayoutItem.ColumnIndex = 2;
this.layoutControlItem10.OptionsTableLayoutItem.RowIndex = 1;
- this.layoutControlItem10.Size = new System.Drawing.Size(242, 33);
+ this.layoutControlItem10.Size = new System.Drawing.Size(242, 32);
this.layoutControlItem10.Text = "鐢佃瘽";
this.layoutControlItem10.TextSize = new System.Drawing.Size(75, 18);
//
// layoutControlItem11
//
this.layoutControlItem11.Control = this.txt_telfx;
- this.layoutControlItem11.Location = new System.Drawing.Point(484, 66);
+ this.layoutControlItem11.Location = new System.Drawing.Point(484, 63);
this.layoutControlItem11.Name = "layoutControlItem11";
this.layoutControlItem11.OptionsTableLayoutItem.ColumnIndex = 2;
this.layoutControlItem11.OptionsTableLayoutItem.RowIndex = 2;
- this.layoutControlItem11.Size = new System.Drawing.Size(242, 33);
+ this.layoutControlItem11.Size = new System.Drawing.Size(242, 32);
this.layoutControlItem11.Text = "浼犵湡";
this.layoutControlItem11.TextSize = new System.Drawing.Size(75, 18);
//
// layoutControlItem12
//
this.layoutControlItem12.Control = this.txt_remark;
- this.layoutControlItem12.Location = new System.Drawing.Point(484, 99);
+ this.layoutControlItem12.Location = new System.Drawing.Point(484, 95);
this.layoutControlItem12.Name = "layoutControlItem12";
this.layoutControlItem12.OptionsTableLayoutItem.ColumnIndex = 2;
this.layoutControlItem12.OptionsTableLayoutItem.RowIndex = 3;
- this.layoutControlItem12.Size = new System.Drawing.Size(242, 34);
+ this.layoutControlItem12.Size = new System.Drawing.Size(242, 32);
this.layoutControlItem12.Text = "澶囨敞";
this.layoutControlItem12.TextSize = new System.Drawing.Size(75, 18);
- //
- // layoutControlItem14
- //
- this.layoutControlItem14.Control = this.btnCopy;
- this.layoutControlItem14.Location = new System.Drawing.Point(726, 99);
- this.layoutControlItem14.MaxSize = new System.Drawing.Size(120, 31);
- this.layoutControlItem14.MinSize = new System.Drawing.Size(119, 31);
- this.layoutControlItem14.Name = "layoutControlItem14";
- this.layoutControlItem14.OptionsTableLayoutItem.ColumnIndex = 3;
- this.layoutControlItem14.OptionsTableLayoutItem.RowIndex = 3;
- this.layoutControlItem14.Size = new System.Drawing.Size(244, 34);
- this.layoutControlItem14.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
- this.layoutControlItem14.Text = "鍔犲叆SRM";
- this.layoutControlItem14.TextSize = new System.Drawing.Size(0, 0);
- this.layoutControlItem14.TextVisible = false;
//
// layoutControlItem1
//
this.layoutControlItem1.Control = this.txt_id;
this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
this.layoutControlItem1.Name = "layoutControlItem1";
- this.layoutControlItem1.Size = new System.Drawing.Size(242, 33);
+ this.layoutControlItem1.Size = new System.Drawing.Size(242, 31);
this.layoutControlItem1.Text = "渚涘簲鍟咺D";
this.layoutControlItem1.TextSize = new System.Drawing.Size(75, 18);
+ //
+ // layoutControlItem14
+ //
+ this.layoutControlItem14.Control = this.btnCopy;
+ this.layoutControlItem14.Location = new System.Drawing.Point(0, 127);
+ this.layoutControlItem14.MaxSize = new System.Drawing.Size(120, 31);
+ this.layoutControlItem14.MinSize = new System.Drawing.Size(119, 31);
+ this.layoutControlItem14.Name = "layoutControlItem14";
+ this.layoutControlItem14.OptionsTableLayoutItem.RowIndex = 4;
+ this.layoutControlItem14.Size = new System.Drawing.Size(242, 32);
+ this.layoutControlItem14.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+ this.layoutControlItem14.Text = "鍔犲叆SRM";
+ this.layoutControlItem14.TextSize = new System.Drawing.Size(0, 0);
+ this.layoutControlItem14.TextVisible = false;
//
// Frm_Supplier
//
@@ -839,8 +842,8 @@
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
this.ResumeLayout(false);
}
@@ -896,7 +899,7 @@
private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
private DevExpress.XtraEditors.SimpleButton btnCopy;
- private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14;
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
+ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14;
}
}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_SupplierSrm.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_SupplierSrm.cs
index c739f1e..c615dfa 100644
--- a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_SupplierSrm.cs
+++ b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_SupplierSrm.cs
@@ -1,15 +1,9 @@
-锘縰sing DevExpress.XtraEditors;
-using Gs.DevApp.Entity;
+锘縰sing Gs.DevApp.Entity;
using Gs.DevApp.ToolBox;
using Newtonsoft.Json;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
using System.Data;
-using System.Drawing;
-using System.Linq;
using System.Text;
-using System.Threading.Tasks;
using System.Windows.Forms;
namespace Gs.DevApp.DevFrm.BasicData
diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs b/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
index 063fc36..221bf79 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.cs
@@ -391,9 +391,9 @@
JsonConvert.SerializeObject(_obj));
var _rtn =
UtilityHelper.ReturnToDynamic(strJson);
- MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg);
if (_rtn.rtnCode > 0)
{
+ MsgHelper.ShowInformation("鎻愮ず锛�" + _rtn.rtnMsg);
lbGuid.Text = _rtn.rtnData;
toolBarMenu1.isSetBtn = true;
var gridViews = new List<GridView>();
@@ -402,10 +402,12 @@
toolBarMenu1.currentAction = "";
Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 6);
}
+ else
+ MsgHelper.ShowError("鎻愮ず锛�" + _rtn.rtnMsg);
}
catch (Exception ex)
{
- MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
}
}
catch (Exception ex)
@@ -458,7 +460,7 @@
}
catch (Exception ex)
{
- MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
}
}
/// <summary>
@@ -472,7 +474,7 @@
if (toolBarMenu1.currentAction == "edit") isEdit = true;
if (string.IsNullOrEmpty(strGuid))
{
- MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+ MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
return;
}
var _obj = new
@@ -512,12 +514,12 @@
}
else
{
- MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg);
+ MsgHelper.ShowError("鎻愮ず锛�" + _rtn.rtnMsg);
}
}
catch (Exception ex)
{
- MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
}
}
@@ -548,7 +550,7 @@
(rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_itemNo, gridView1, "itemNo");
if (string.IsNullOrEmpty(rowGuid))
{
- MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
+ MsgHelper.ShowError("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
return;
}
if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾" + strMsg + "鍚楋紵"))
@@ -589,7 +591,7 @@
}
catch (Exception ex)
{
- MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
}
}
@@ -645,7 +647,7 @@
}
catch (Exception ex)
{
- MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
}
}
/// <summary>
@@ -671,7 +673,7 @@
}
catch (Exception ex)
{
- MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
}
}
/// <summary>
@@ -692,7 +694,7 @@
}
catch (Exception ex)
{
- MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
}
}
/// <summary>
@@ -716,7 +718,7 @@
}
catch (Exception ex)
{
- MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
}
}
/// <summary>
diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
index 9052651..6611cd4 100644
--- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
@@ -451,6 +451,7 @@
lst.Add(btnCaiGouFchk.Name);
lst.Add(btnShouHouChk.Name);
lst.Add(btnShouHouFchk.Name);
+ lst.Add(btnIn.Name);
_enabledBtn(lst);
}
--
Gitblit v1.9.3