WdatePicker({onpicking: function (dp) {if (dp.cal.getDateStr() != dp.cal.getNewDateStr()) { Func(dp.cal.getNewDateStr())}}});
function Func(tim){
console.log(tim)//将选好的时间携带过来
}
onpicking可自定义函数:dp.cal.getDateStr()是input设置前的时间;dp.cal.getNewDateStr()是设置后的时间