审批时必需填写意见,按如下方法设置。

if (String.IsNullOrEmpty(Context.Current.Comments))

   throw new Exception("请填写意见");

Created with the Personal Edition of HelpNDoc: Free help authoring environment