duheng
2024-12-27 1c3e5bc50d3045d51cb9a9f747d53442b82d9e2c
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();
        }
    }
}