|
@@ -89,6 +89,14 @@ $(function(){
|
|
|
// });
|
|
|
// $(this).css("overflow", "hidden");
|
|
|
// });
|
|
|
+
|
|
|
+ // 动态生成datepicker
|
|
|
+ $('body').on('focus', ".datepicker-here", function (e) {
|
|
|
+ if ($(this).data("datepicker") != "1") {
|
|
|
+ $(this).datepicker();
|
|
|
+ }
|
|
|
+ $(this).data("datepicker", "1");
|
|
|
+ });
|
|
|
});
|
|
|
|
|
|
/**
|
|
@@ -364,4 +372,4 @@ function removeLocalCache(key) {
|
|
|
return null;
|
|
|
}
|
|
|
return storage.removeItem(key);
|
|
|
-}
|
|
|
+}
|