duheng
2024-12-27 1c3e5bc50d3045d51cb9a9f747d53442b82d9e2c
WinFrmUI/HStation.WinFrmUI.Assets.Core/05-elbow/02-main/EditAssetsElbowMainDlg.cs
@@ -52,7 +52,7 @@
            this.txtDescription.EditValue = vmo.Description;
            this.imageComboBoxEditConnectlenght.Properties.AddEnum(typeof(eElbowType));
            this.imageComboBoxEditConnectlenght.EditValue = vmo.ElbowType;
            this.txtAngle.EditValue= vmo.Angle;
            this.txtAngle.EditValue = vmo.Angle;
        }
        //验证
@@ -62,11 +62,6 @@
            if (string.IsNullOrEmpty(this.txtName.Text.Trim()))
            {
                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.txtCoefficient.Text.Trim()))