1. My97DatePicker与angular一起使用时改变了但是angular无法监测到变化解决方式
<input class="Wdate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',onpicked:function(){$(this).trigger('change')}})" type="text" ng-model="mydata" />
2.开始时间小于结束时间,结束时间最大到当前日期,开始时间 与结束时间 相差一个月
<input type="text"
id="startTime1"
onchange=""
ng-model="vm.timeStart1"
onclick="WdatePicker({onpicked:function(){$(this).trigger('change')},startDate:'%y',dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$DV(\\\'%y-%M-%d\\\',{d:-29})}',maxDate:'#F{$dp.$D(\\\'endTime\\\')||\\\'%y-%M-%d\\\'}'})"
class="input-text Wdate "
placeholder="请选择开始日期" readonly>
<input type="text"
id="endTime1"
onchange=""
ng-model="vm.timeEnd1"
onclick="WdatePicker({onpicked:function(){$(this).trigger('change')},startDate:'%y',dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\\\'startTime\\\')||$dp.$DV(\\\'%y-%M-%d\\\',{d:-29})}',maxDate:'null'})"
class="input-text Wdate "
placeholder="请选择结束日期" readonly>