ソースを参照

抽检时间插件添加

liuzhen 5 年 前
コミット
117d3a202c
共有2 個のファイルを変更した17 個の追加2 個の削除を含む
  1. 5 1
      CallCenterWeb.UI/callScreen/call.js
  2. 12 1
      CallCenterWeb.UI/callScreen/callScreen.html

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

@@ -53,7 +53,11 @@ $(function() {
53 53
 		theme: '#1ab394',
54 54
 		calendar: true
55 55
 	});
56
-
56
+	laydate.render({
57
+		elem: '#der_time',
58
+		theme: '#1ab394',
59
+		calendar: true
60
+	});
57 61
 	/*左侧 部分*/
58 62
 
59 63
 	//获取电话所属地

+ 12 - 1
CallCenterWeb.UI/callScreen/callScreen.html

@@ -23,6 +23,13 @@
23 23
 			vertical-align: middle;
24 24
 			font-weight: 900;
25 25
 		}
26
+		i.tub {
27
+		    position: absolute;
28
+		    right: 11px;
29
+		    top: 8px;
30
+		    font-size: 18px;
31
+		    color: #1ab494;
32
+		}
26 33
 	</style>
27 34
 
28 35
 	<body class="gray-bg">
@@ -448,7 +455,11 @@
448 455
 											</div>
449 456
 											<div class="form-group col-md-4">
450 457
 												<label for="order_tel">抽检时间:</label>
451
-												<input type="text" class="form-control input-sm" id="der_time" placeholder="请输入抽检时间" onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')">
458
+												<div class="time-box form-group" style="width: 50%;position: relative;">
459
+													<i class="tub fa fa-calendar"></i>
460
+													<input style="width: 100%;" class="form-control search_time" type="text" id="der_time" placeholder="请选择起止时间">
461
+												</div>
462
+												<!--<input type="text" class="form-control input-sm" id="der_time" placeholder="请输入抽检时间" onkeyup="this.value=this.value.replace(/[^0-9\.]/g,'')">-->
452 463
 											</div>
453 464
 										</div>
454 465