单据头字段设置必录

//单据头字段可以实现显示 * 并且校验
this.View.GetControl("F_VTR_ERPProject").SetCustomPropertyValue("MustInput", true);

原文地址:https://www.cnblogs.com/zouhuaxin/p/14818139.html