Ver Código Fonte

给 调查时间增加 默认当天日期

fanlongfei 7 anos atrás
pai
commit
01b1abbc56

+ 2 - 1
CallCenterWeb.UI/callScreen/call.js

@@ -535,7 +535,7 @@ function GetCont(val) {
535 535
 }
536 536
 
537 537
 $(function() {
538
-
538
+	var nDtime = helper.DateFormat.getNowDate(); //当前时间
539 539
 	autosize($('textarea'));
540 540
 	laydate.render({
541 541
 		elem: '#old_startTime',
@@ -563,6 +563,7 @@ $(function() {
563 563
 		elem: '#t_time',
564 564
 		calendar: 'true',
565 565
 		theme: '#1ab394',
566
+		value : nDtime,
566 567
 		//type: 'datetime'
567 568
 	});
568 569
 

+ 2 - 1
CallCenterWeb.UI/commonHtml/js/orderModel.js

@@ -2,7 +2,7 @@
2 2
 
3 3
 $(document).ready(function() {
4 4
 	var tid = helper.request.queryString("tid");
5
-	
5
+	var nDtime = helper.DateFormat.getNowDate(); //当前时间
6 6
 	autosize($('textarea'));
7 7
 	//获取乡镇下拉
8 8
 	helper.getDropList.getlistDropByDic($('#t_county'), 'JBDW').then(function(){
@@ -16,6 +16,7 @@ $(document).ready(function() {
16 16
 		elem: '#t_time',
17 17
 		theme: '#1ab394',
18 18
 		calendar: 'true',
19
+		value: nDtime
19 20
 		//type: 'datetime'
20 21
 	});
21 22
 

+ 2 - 0
CallCenterWeb.UI/js/WorkOrder/AddWorkOrder.js

@@ -3,6 +3,7 @@
3 3
  * */
4 4
 
5 5
 $(document).ready(function() {
6
+	var nDtime = helper.DateFormat.getNowDate(); //当前时间
6 7
 	autosize($('textarea'));
7 8
 	helper.getDropList.getlistDropByDic($('#t_county'), 'JBDW'); //获取乡镇下拉
8 9
 	helper.getDropList.getlistDropByDic($('#xl_boxs'), 'JBDW'); //获取交办单位下拉
@@ -11,6 +12,7 @@ $(document).ready(function() {
11 12
 		elem: '#t_time',
12 13
 		theme: '#1ab394',
13 14
 		calendar: 'true',
15
+		value: nDtime
14 16
 		//type: 'datetime'
15 17
 	});
16 18