| | |
| | | namespace CY.WebForm.Pages.workcar |
| | | { |
| | | //吴辉 |
| | | //新增年审记录 |
| | | //新增年检记录 |
| | | public partial class CarExaminedAdd : BasePage |
| | | { |
| | | Sys_DictionaryBLL bll_Sys_DictionaryBLL = null; |
| | |
| | | { |
| | | if (string.IsNullOrEmpty(this.txtExaminedTime.Value)) |
| | | { |
| | | JavaScript.MessageBox("年审时间不能为空", this); |
| | | JavaScript.MessageBox("年检时间不能为空", this); |
| | | return; |
| | | } |
| | | if (string.IsNullOrEmpty(this.txtExaminedNextTime.Value)) |
| | | { |
| | | JavaScript.MessageBox("下次年审时间不能为空", this); |
| | | JavaScript.MessageBox("下次年检时间不能为空", this); |
| | | return; |
| | | } |
| | | DateTime? Runtime1 = DateTime.Parse(this.txtExaminedTime.Value); |
| | | DateTime? Runtime2 = DateTime.Parse(this.txtExaminedNextTime.Value); |
| | | if (Runtime1 == null || Runtime2 == null || Runtime1 > Runtime2) |
| | | { |
| | | JavaScript.MessageBox("年审时间 不能大于 下次年审时间", this); |
| | | JavaScript.MessageBox("年检时间 不能大于 下次年检时间", this); |
| | | return; |
| | | } |
| | | |