Commit 13c650cc by ddx

add time default value

parent b4a02bd2
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"url": "jxIndex.html" "url": "jxIndex.html"
},{ },{
"index": 2, "index": 2,
"api": "进项实时发票列表", "api": "进项实时请求列表",
"url": "management-query-income-page.html" "url": "management-query-income-page.html"
},{ },{
"index": 3, "index": 3,
......
...@@ -185,6 +185,17 @@ function setElapsedMillisRange() { ...@@ -185,6 +185,17 @@ function setElapsedMillisRange() {
$("#endElapsedMillis").val(endElapsedMillis); $("#endElapsedMillis").val(endElapsedMillis);
} }
function initDate() {
var startDate = $("#startDate").val();
var endDate = $("#endDate").val();
if (startDate === '') {
$("#startDate").val(getTodayHeadTime());
}
if (endDate === '') {
$("#endDate").val(getTodayTailTime());
}
}
function autoSelectArea() { function autoSelectArea() {
var taxno = $("#taxno").val(); var taxno = $("#taxno").val();
if (taxno == '') { if (taxno == '') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment