feat: 完善材料管理与焊接业务功能
This commit is contained in:
@@ -31,6 +31,7 @@ namespace FineUIPro.Web.HJGL.BaseInfo
|
||||
txtMaterialSpec.Text = lib.MaterialSpec;
|
||||
txtMaterialDef.Text = lib.MaterialDef;
|
||||
txtMaterialUnit.Text = lib.MaterialUnit;
|
||||
txtDesignInstitute.Text = lib.DesignInstitute;
|
||||
//txtMaterialCode.Enabled = false;
|
||||
}
|
||||
else
|
||||
@@ -71,7 +72,10 @@ namespace FineUIPro.Web.HJGL.BaseInfo
|
||||
MaterialMade = this.txtMaterialMade.Text.Trim(),
|
||||
MaterialDef = this.txtMaterialDef.Text.Trim(),
|
||||
MaterialUnit = txtMaterialUnit.Text.Trim(),
|
||||
Code = this.txtCode.Text.Trim()
|
||||
Code = this.txtCode.Text.Trim(),
|
||||
DesignInstitute = string.IsNullOrWhiteSpace(txtDesignInstitute.Text)
|
||||
? null
|
||||
: txtDesignInstitute.Text.Trim()
|
||||
};
|
||||
|
||||
if (!string.IsNullOrEmpty(materialCode))
|
||||
@@ -91,4 +95,4 @@ namespace FineUIPro.Web.HJGL.BaseInfo
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user