取消设备位号必填

This commit is contained in:
高飞 2023-02-24 16:02:54 +08:00
parent b55af0b059
commit 4e8dc60165
3 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@
<f:TextBox ID="txtSpecificationAndModel" runat="server" Label="规格型号" <f:TextBox ID="txtSpecificationAndModel" runat="server" Label="规格型号"
MaxLength="70" LabelWidth="100px" > MaxLength="70" LabelWidth="100px" >
</f:TextBox> </f:TextBox>
<f:TextBox ID="txtEquipmentCode" runat="server" Label="设备位号" ShowRedStar="true" Required="true" <f:TextBox ID="txtEquipmentCode" runat="server" Label="设备位号"
MaxLength="70" LabelWidth="100px"> MaxLength="70" LabelWidth="100px">
</f:TextBox> </f:TextBox>
</Items> </Items>

View File

@ -219,11 +219,11 @@ namespace FineUIPro.Web.CQMS.Material
// result += (i + 2).ToString() + "," + "规格型号" + "," + "此项为必填项!" + "|"; // result += (i + 2).ToString() + "," + "规格型号" + "," + "此项为必填项!" + "|";
//} //}
string row5 = pds.Rows[i][5].ToString(); //string row5 = pds.Rows[i][5].ToString();
if (string.IsNullOrEmpty(row5)) //if (string.IsNullOrEmpty(row5))
{ //{
result += (i + 2).ToString() + "," + "设备位号" + "," + "此项为必填项!" + "|"; // result += (i + 2).ToString() + "," + "设备位号" + "," + "此项为必填项!" + "|";
} //}
string row8 = pds.Rows[i][8].ToString(); string row8 = pds.Rows[i][8].ToString();
if (!string.IsNullOrEmpty(row8)) if (!string.IsNullOrEmpty(row8))