2022-12-09 焊接任务单保存修改

This commit is contained in:
李鹏飞 2022-12-09 15:14:24 +08:00
parent b80cb47621
commit 832d945a1d
1 changed files with 1 additions and 1 deletions

View File

@ -773,7 +773,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
{ {
NewItem.Size = values.Value<int>("Size"); NewItem.Size = values.Value<int>("Size");
} }
if (!string.IsNullOrEmpty(values.Value<int>("Dia").ToString())) if (!string.IsNullOrEmpty(values.Value<string>("Dia")) && !string.IsNullOrEmpty(values.Value<int>("Dia").ToString()))
{ {
NewItem.Dia = values.Value<int>("Dia"); NewItem.Dia = values.Value<int>("Dia");
} }