username@email.com
2025-02-07 6bb722be12f95d3f55a141555be2c79b8fcaeca9
CY_ECommercePlatform/CY.WebForm/Pages/workcar/CarExaminedAdd.aspx.cs
@@ -17,7 +17,7 @@
namespace CY.WebForm.Pages.workcar
{
    //吴辉
    //新增年审记录
    //新增年检记录
    public partial class CarExaminedAdd : BasePage
    {
        Sys_DictionaryBLL bll_Sys_DictionaryBLL = null;
@@ -44,19 +44,19 @@
            {
                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;
                }