From 1c3e5bc50d3045d51cb9a9f747d53442b82d9e2c Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 27 十二月 2024 17:50:22 +0800 Subject: [PATCH] 资产修改 --- WinFrmUI/HStation.WinFrmUI.Assets.Core/20-exchanger/02-main/EditAssetsExchangerMainDlg.cs | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/20-exchanger/02-main/EditAssetsExchangerMainDlg.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/20-exchanger/02-main/EditAssetsExchangerMainDlg.cs index cb9fd90..df8bd60 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/20-exchanger/02-main/EditAssetsExchangerMainDlg.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/20-exchanger/02-main/EditAssetsExchangerMainDlg.cs @@ -60,17 +60,12 @@ this.dxErrorProvider1.SetError(this.txtName, "蹇呭~椤�"); return false; } - if (string.IsNullOrEmpty(this.txtMaterial.Text.Trim())) - { - this.dxErrorProvider1.SetError(this.txtMaterial, "蹇呭~椤�"); - return false; - } if (string.IsNullOrEmpty(this.txtMinorLoss.Text.Trim())) { this.dxErrorProvider1.SetError(this.txtMinorLoss, "蹇呭~椤�"); return false; } - var tagname = this.txtTagName.Text.Trim(); + var tagname = this.txtTagName.Text.Trim(); if (!string.IsNullOrEmpty(tagname)) { if (await BLLFactory<HStation.BLL.AssetsExchangerMain>.Instance.IsExistTagNameExceptID(tagname, _vmo.ID)) @@ -113,11 +108,5 @@ this.DialogResult = DialogResult.OK; this.Close(); } - - - - - - } } \ No newline at end of file -- Gitblit v1.9.3