摘要:时间的比较: var rec = ajaxform.getRecord(); var sd = rec.get("startDate"); var ed = rec.get("endDate"); if(sd==null||sd=="null"||sd==""||ed==null||ed=="null"||ed==""){ return; }else{ if(ed<sd){ ...
阅读全文
摘要:按钮的判断 var record = ajaxgrid.getAllRecords(); if(record.length>0){ var isPack=record[0].get("dispatchDate"); if(isPack==null){ onsave_id.display("block"); dispatch_id.displ...
阅读全文