lu
20 小时以前 5e376d06404a16cb3c82a93cff351c5315bbcfe3
DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkTechnique.cs
@@ -267,6 +267,7 @@
                Gs.DevApp.ToolBox.MsgHelper.ShowInformation("生效日期不能为空!");
                txt_fBegDate.Focus(); return;
            }
            txt_fEndDate.DateTime= new DateTime(2099, 1, 1);
            if (txt_fEndDate.Text.Length > 0 && txt_fBegDate.DateTime > txt_fEndDate.DateTime)
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowInformation("生效日期不能大于失效日期!");
@@ -294,6 +295,12 @@
                Gs.DevApp.ToolBox.MsgHelper.ShowInformation("请输入正确的重量下限!");
                txt_fMinWeight.Focus(); return;
            }
            //上限不能低于下限
            if (decimal.Parse(txt_fMaxWeight.Text.Trim()) < decimal.Parse(txt_fMinWeight.Text.Trim()))
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowInformation("上限不能低于下限!");
                txt_fMaxWeight.Focus(); return;
            }
            var _obj = new
            {
                guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //主建