Browse Source

修改工单

d123 7 years ago
parent
commit
6ecdea62f2

+ 4 - 0
CallCenterWeb.UI/WorkOrder/WorkOrderDispose.html

@@ -277,9 +277,13 @@
277 277
 										<span id="bz-3"></span>
278 278
 									</td>
279 279
 								</tr>
280
+								
280 281
 							</tbody>
281 282
 
282 283
 						</table>
284
+						<div  style="text-align: center;">
285
+							<button class='btns modify'>修改</button>
286
+						</div>
283 287
 					</div>
284 288
 				</div>
285 289
 				<div class="gdxq" style="display:none;">

+ 401 - 0
CallCenterWeb.UI/WorkOrder/Xga.html

@@ -0,0 +1,401 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+		<link href="../css/init.css" rel="stylesheet" />
8
+		<script src="../Script/Common/huayi.load.js"></script>
9
+		<script src="../Script/Common/huayi.config.js"></script>
10
+		<script src="../Script/Common/huayi.http.js"></script>
11
+		<link href="../css/WorkOrder/Search.css" rel="stylesheet">
12
+		<link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
13
+		<link href="../js/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" />
14
+		<link rel="stylesheet" href="../css/WorkOrder/jquery.editable-select.css" />
15
+		<link href="../css/init.css" rel="stylesheet" />
16
+		<title>手工制单</title>
17
+		<style>
18
+			ul li {
19
+				float: initial;
20
+				list-style: none;
21
+			}
22
+			
23
+			.common {
24
+				width: 100%;
25
+				text-align: center;
26
+				padding: 10px 15px;
27
+			}
28
+			
29
+			.common table {
30
+				width: 100%;
31
+				display: none;
32
+			}
33
+			
34
+			.common table th {
35
+				padding: 5px 8px 5px 0;
36
+				text-align: right;
37
+				/* width: 20%;*/
38
+			}
39
+			
40
+			.common table td {
41
+				padding: 6px 0 5px 10px;
42
+				text-align: left;
43
+				color: #717171;
44
+				line-height: 200%;
45
+			}
46
+			
47
+			.common table td textarea {
48
+				width: 100%;
49
+				vertical-align: middle;
50
+				resize: none;
51
+				outline: none;
52
+			}
53
+			
54
+			.time-box {
55
+				display: inline-block;
56
+				position: relative;
57
+			}
58
+			
59
+			i.tub {
60
+				position: absolute;
61
+				right: 8px;
62
+				top: 8px;
63
+				font-size: 18px;
64
+				color: #00a0ca;
65
+			}
66
+			
67
+			.treeList {
68
+				top: 34px!important;
69
+				border: 1px solid #e5e6e7!important;
70
+				border-top: 0;
71
+				height: auto!important;
72
+			}
73
+			
74
+			#TreeDemo li {
75
+				float: initial;
76
+			}
77
+			
78
+			#typeclass {
79
+				background: #fff;
80
+			}
81
+			
82
+			.form-group {
83
+				margin-bottom: 0;
84
+			}
85
+			
86
+			.bootstrap-select>.dropdown-toggle.bs-placeholder {
87
+				background-color: #ffffff!important;
88
+				border-color: #e5e6e7!important;
89
+			}
90
+			
91
+			.filter-option {
92
+				color: #676b6d;
93
+			}
94
+			
95
+			.bootstrap-select>.dropdown-toggle.btn-default {
96
+				background-color: #ffffff!important;
97
+				border-color: #e5e6e7!important;
98
+				color: #555;
99
+			}
100
+			
101
+			.testInput-list {
102
+				position: absolute;
103
+				z-index: 999;
104
+				border: 1px solid rgb(204, 204, 204);
105
+				background-color: rgb(255, 255, 255);
106
+				z-index: 99999;
107
+				padding-left: 0;
108
+				width: 97.6%;
109
+				display: none;
110
+			}
111
+			
112
+			.testInput-list li {
113
+				padding: 5px;
114
+			}
115
+			
116
+			.testInput-list li:hover {
117
+				background-color: #E43926;
118
+				color: #fff;
119
+			}
120
+			#testInput1,#testInput2,#testInput3,#testInput4{
121
+				outline:none;
122
+				border: 1px solid #ccc;
123
+				padding-left: 10px;
124
+				outline-color :#fff;
125
+				
126
+			}
127
+		</style>
128
+	</head>
129
+
130
+	<body class="gray-bg">
131
+		<div class="clearfix wrapper wrapper-content animated fadeInRight">
132
+			<div class="common">
133
+				<!--客服部-->
134
+				<table class="customerService">
135
+					<tbody>
136
+						<tr>
137
+							<th>姓名:</th>
138
+							<td>
139
+								<div class="form-group">
140
+									<input type="text" class="form-control" id="name" />
141
+								</div>
142
+							</td>
143
+
144
+							<th>电话:</th>
145
+							<td>
146
+								<div class="form-group">
147
+									<input type="text" class="form-control" id="tel" />
148
+								</div>
149
+							</td>
150
+
151
+							<th>来电单位:</th>
152
+							<td style="position: relative;">
153
+								<!--<select name="" id="testInput1"  class="">
154
+								
155
+							</select>-->
156
+								<input id="testInput1" type="text" style="width:100%;"  />
157
+								<ul class="testInput-list">
158
+									<li></li>
159
+								</ul>
160
+							</td>
161
+						</tr>
162
+						<tr>
163
+							<th>反馈单位:</th>
164
+							<td style="position: relative;">
165
+								<input id="testInput2" type="text" style="width:100%;" style="display: none;" />
166
+								<ul class="testInput-list">
167
+									<li></li>
168
+								</ul>
169
+							</td>
170
+
171
+							<th>工单来源:</th>
172
+							<td>
173
+								<div class="form-group">
174
+									<select name="" class="form-control" id="DicValueList"> </select>
175
+								</div>
176
+							</td>
177
+
178
+							<th>工单状态:</th>
179
+							<td>
180
+								<div class="form-group">
181
+									<select name="" class="form-control" id="State"> </select>
182
+									<input id="States" type="hidden">
183
+								</div>
184
+							</td>
185
+						</tr>
186
+						<tr>
187
+							<th>工单类型:</th>
188
+							<td>
189
+								<div class="time-box">
190
+									<i class="tub fa fa-caret-down down" style="color: #676b6d;"></i>
191
+									<input class="form-control" type="text" id="typeclass" readonly="readonly">
192
+									<input type="hidden" id="typeclassId" />
193
+									<div class="addTree treeList">
194
+										<ul id="TreeDemo" class="ztree">
195
+
196
+										</ul>
197
+									</div>
198
+								</div>
199
+							</td>
200
+						</tr>
201
+						<tr>
202
+							<th>反馈内容及处理结果:</th>
203
+							<td colspan="5">
204
+								<textarea name="" rows="5" cols="" placeholder="" id="feedBackCon"></textarea>
205
+							</td>
206
+						</tr>
207
+						<tr>
208
+							<th>快递信息:</th>
209
+							<td colspan="5">
210
+								<textarea name="" rows="" cols="" id="express"></textarea>
211
+							</td>
212
+						</tr>
213
+						<tr>
214
+							<th>备注一:</th>
215
+							<td colspan="5">
216
+								<textarea name="" rows="" cols="" id="remark1"></textarea>
217
+							</td>
218
+						</tr>
219
+						<tr>
220
+							<th>备注二:</th>
221
+							<td colspan="5">
222
+								<textarea name="" rows="" cols="" id="remark2"></textarea>
223
+							</td>
224
+						</tr>
225
+						<tr>
226
+							<th>备注三:</th>
227
+							<td colspan="5">
228
+								<textarea name="" rows="" cols="" id="remark3"></textarea>
229
+							</td>
230
+						</tr>
231
+						<tr>
232
+							<td colspan="6" style="text-align: center;">
233
+								<button class="btns customerSubmit">保&nbsp;存</button>
234
+							</td>
235
+						</tr>
236
+					</tbody>
237
+				</table>
238
+
239
+				<!--市场部-->
240
+				<table class="market">
241
+					<tbody>
242
+						<tr>
243
+							<th>姓名:</th>
244
+							<td>
245
+								<div class="form-group">
246
+									<input type="text" class="form-control" id="name_market" />
247
+								</div>
248
+							</td>
249
+
250
+							<th>电话:</th>
251
+							<td>
252
+								<div class="form-group">
253
+									<input type="text" class="form-control" id="tel_market" />
254
+								</div>
255
+							</td>
256
+
257
+							<th>来电单位:</th>
258
+							<!--<td>
259
+								<select class="form-control selectpicker" id="comeCall_dep_market" data-live-search="true">
260
+									<option value="">请选择来电单位</option>
261
+								</select>
262
+							</td>-->
263
+							<td style="position: relative;">
264
+								<input id="testInput3" type="text" style="width:100%;" style="display: none;" />
265
+								<ul class="testInput-list">
266
+									<li></li>
267
+								</ul>
268
+							</td>
269
+						</tr>
270
+						<tr>
271
+							<th>反馈单位:</th>
272
+							<!--<td>
273
+								<select class="form-control selectpicker" id="feedbackDep_market" data-live-search="true">
274
+									<option value="">请选择反馈单位</option>
275
+								</select>
276
+							</td>-->
277
+							<td style="position: relative;">
278
+								<input id="testInput4" type="text" style="width:100%;" style="display: none;" />
279
+								<ul class="testInput-list">
280
+									<li></li>
281
+								</ul>
282
+							</td>
283
+						</tr>
284
+						<tr>
285
+							<th>备注内容:</th>
286
+							<td colspan="5">
287
+								<textarea name="" rows="" cols="" id="remark_market"></textarea>
288
+							</td>
289
+						</tr>
290
+						<tr>
291
+							<td colspan="6" style="text-align: center;">
292
+								<button class="btns marketSubmit">保&nbsp;存</button>
293
+							</td>
294
+						</tr>
295
+					</tbody>
296
+
297
+				</table>
298
+			</div>
299
+			<input type="hidden"  id="CallID"/>
300
+
301
+		</div>
302
+
303
+		<script src="../js/zTree/jquery.ztree.core.js"></script>
304
+		<script src="../My97DatePicker/WdatePicker.js"></script>
305
+		<script src="../js/bootstrap-select/js/bootstrap-select.js"></script>
306
+		<script src="../js/WorkOrder/xgWork.js"></script>
307
+		<script src="../js/WorkOrder/jquery.editable-select.js"></script>
308
+		<script>
309
+			Select($("#testInput1"));
310
+			Select($("#testInput2"));
311
+			Select($("#testInput3"));
312
+			Select($("#testInput4"));
313
+			
314
+			var id=helper.request.queryString("id");
315
+			console.log(id);
316
+			//获取详情
317
+			$.getJSON(huayi.config.callcenter_url+'WorkOrder/GetWorkOrder', { "orderid": id, "token": $.cookie("token") }, function (result) {
318
+        if (result.state.toLowerCase() == "success") {
319
+            if (result.data.data.length > 0) {
320
+                var data = result.data.data[0];
321
+                $("#xq_gdlx").text(data.GDLXName);
322
+                $("#xq_cjsj").text(data.CreateTime);
323
+//              $("#xq_gdzt").html(GetStateName(data.State));
324
+                $("#name").val(data.Customer);
325
+                $("#tel").val(data.CustomerTel);
326
+             	$("#testInput1").val(data.Address);
327
+                $("#testInput2").val(data.Source);
328
+                $("#typeclass").val(data.GDLXName);
329
+                $("#feedBackCon").text(data.Detail);
330
+                $("#express").text(data.Files);
331
+                $("#remark1").text(data.City);
332
+                $("#remark2").text(data.Province);
333
+                $("#remark3").text(data.County);
334
+                $("#DicValueList").val(data.Type+'');
335
+				$("#typeclassId").val(data.TypeClass);
336
+				$("#States").val(data.State);
337
+            }
338
+        }
339
+    })
340
+			function Select(obj) {
341
+				obj.click(function (event) { 
342
+						event.preventDefault();  
343
+					});
344
+				obj.focus(function() { //
345
+					//失去焦点后触发的事件
346
+					obj.parent().find('.testInput-list').show();
347
+					BindLDdep();
348
+				});
349
+				obj.bind("input propertychange", function() {
350
+					var value = $(this).val();
351
+					obj.parent().find('.testInput-list').show();
352
+					BindLDdep(value)
353
+				});
354
+				function BindLDdep(str) {
355
+					$('.testInput-list').empty();
356
+					$.ajax({
357
+						type: "get",
358
+						url: huayi.config.callcenter_url + "Customer/BindLDdep",
359
+						dataType: 'json',
360
+						async: true,
361
+						data: {
362
+							keypara: str,
363
+							token: $.cookie("token")
364
+						},
365
+						success: function(data) {
366
+							var Count = data.data.dep;
367
+							console.log(Count);
368
+							var html = '';
369
+							$(Count).each(function(i, n) {
370
+								html = '<li value="' + n + '" id="td'+i+'">' + n + '</li>';
371
+								$(html).appendTo($('.testInput-list'));
372
+							});
373
+							$('.testInput-list>li').click(function() {
374
+								obj.val($(this).html());
375
+								console.log($(this).html());
376
+								$('.testInput-list').hide();
377
+							})
378
+							
379
+						}
380
+					});
381
+				};
382
+				//
383
+
384
+			}
385
+
386
+			//请求单位
387
+				
388
+			$(document).ready(function(){
389
+				
390
+			
391
+									$(document).click(function(e) {
392
+				if(!$(e.target).is($('.testInput-list>li'))&&!$(e.target).is($('#testInput1'))&&!$(e.target).is($('#testInput2'))&&!$(e.target).is($('#testInput3'))&&!$(e.target).is($('#testInput4'))) {
393
+					$('.testInput-list').hide();
394
+				}
395
+			})
396
+		})		
397
+		
398
+		</script>
399
+	</body>
400
+
401
+</html>

+ 307 - 0
CallCenterWeb.UI/js/WorkOrder/xgWork.js

@@ -0,0 +1,307 @@
1
+var ns;
2
+ var id=helper.request.queryString("id");
3
+   var phone=helper.request.queryString("phone");
4
+    	var objs={};
5
+    	$.ajax({
6
+    		type:"get",
7
+    		url: huayi.config.callcenter_url + "CallInScreen/GetCurrUserDep",
8
+			dataType: 'json',
9
+			async: true,
10
+			data: {
11
+				token: $.cookie("token")
12
+			},
13
+			success: function(data) {
14
+				if(data.state.toLowerCase()=='success'){
15
+					if(data.data.groname=='客服组'){
16
+						$('.customerService').show();	
17
+						ns=1;
18
+					}else{
19
+						$('.market').show();
20
+						ns=2;
21
+					}
22
+				}
23
+			}
24
+    });
25
+       		 if(id){
26
+              	$("#tel").val(phone);
27
+              	$("#tel_market").val(phone);
28
+              	$("#CallID").val(id);
29
+             }
30
+    	$(document).ready(function(){
31
+    		//工单来源
32
+    		getOrderSource('#orderSource');
33
+            //工单类型
34
+    	   getOrderType();
35
+    	   //工单状态
36
+             getOrderState();
37
+         	 //来电单位   
38
+            getAccount('#comeCall_dep');
39
+//          getAccount('#comeCall_dep_market');
40
+            getAccount('#feedbackDep');
41
+//          getAccount('#feedbackDep_market');
42
+  
43
+            //保存
44
+            
45
+            $('.customerSubmit').click(function(){
46
+            	saveCustomer();
47
+            })
48
+            $('.marketSubmit').click(function(){
49
+            	saveMarket();
50
+            })
51
+            
52
+    	})
53
+    	//工单类型
54
+        function getOrderType() {
55
+			$.get(huayi.config.callcenter_url + 'WorkType/GetTreeList', {
56
+				"token": $.cookie("token"),
57
+			}, function(result) {
58
+				result = $.parseJSON(result);
59
+				$.fn.zTree.init($("#TreeDemo"), setting3, result.data); //实例化树形图
60
+			});
61
+		}
62
+        var setting3 = {
63
+			data: {
64
+				key: {
65
+					name: "text"
66
+				},
67
+				simpleData: {
68
+					enable: true,
69
+					idKey: "id",
70
+					rootPId: 0
71
+				}
72
+			},
73
+			callback: {
74
+				onClick: changeTreeClick
75
+			}
76
+		}
77
+        
78
+    	function changeTreeClick(event, treeId, treeNode) {
79
+			var chanId = treeNode.id;
80
+			var changeName = treeNode.text;
81
+			$('#typeclass').val(changeName);
82
+			$('#typeclassId').val(chanId);
83
+			var pidnode = treeNode.getParentNode();
84
+		};
85
+    
86
+        $('.down').click(function(){
87
+        	if($('.treeList').css('display') == 'block') {
88
+			$('.treeList').css('display', 'none')
89
+		} else {
90
+			$('.treeList').css('display', 'block')
91
+		}
92
+        })
93
+        $('#typeclass').click(function() {
94
+			$('.treeList').css('display', 'block')
95
+		})
96
+        $('.treeList').mouseleave(function() {
97
+			$(this).css('display', 'none')
98
+		})
99
+    	
100
+    	//工单状态
101
+    	function getOrderState(){
102
+    		
103
+			$.ajax({
104
+                url: huayi.config.callcenter_url + "Dictionary/GetDicValueListByFlag",
105
+                type:'get',
106
+                async:true,
107
+                data: {
108
+					flag:'GDZT',
109
+                    token: $.cookie("token")
110
+                },
111
+                dataType: "json",
112
+                success: function (res) {
113
+                	if(res.state=="success"){
114
+                		console.log(res.data);
115
+                		$('<option value="">全部</option>').appendTo($("#State"));
116
+                		$(res.data).each(function(i,n){
117
+                				if(n.F_DictionaryValueId=='472'){
118
+                				$('<option value="' + n.F_DictionaryValueId + '" selected="selected">' + n.F_Name + '</option>').appendTo($("#State"));
119
+                			}else{
120
+                				$('<option value="' + n.F_DictionaryValueId + '">' + n.F_Name + '</option>').appendTo($("#State"));	
121
+                			}
122
+                		})
123
+//              		
124
+                	}
125
+
126
+                }
127
+    	})
128
+			}
129
+		//工单来源
130
+		function getOrderSource(obj) {
131
+			$.ajax({
132
+				type: "get",
133
+				url: huayi.config.callcenter_url + "Dictionary/GetDicValueListByFlag",
134
+				dataType: 'json',
135
+				async: true,
136
+				data: {
137
+					token: $.cookie("token"),
138
+					flag :"GDLY"
139
+				},
140
+				success: function(data) {
141
+					var Count = data.data;
142
+					$('<option value="">全部</option>').appendTo($("#DicValueList"));
143
+                		$(Count).each(function(i,n){
144
+                			if(n.F_DictionaryValueId=="468"){
145
+                				$('<option value="' + n.F_DictionaryValueId + '" selected="selected">' + n.F_Name + '</option>').appendTo($("#DicValueList"));
146
+                			}else{
147
+                				$('<option value="' + n.F_DictionaryValueId + '">' + n.F_Name + '</option>').appendTo($("#DicValueList"));
148
+                			}
149
+                			
150
+                		})
151
+				}
152
+			});
153
+		}
154
+       //来电单位  
155
+		function getAccount(obj) {
156
+			$.ajax({
157
+				type: "get",
158
+				url: huayi.config.callcenter_url + "Customer/BindLDdep",
159
+				dataType: 'json',
160
+				async: true,
161
+				data: {
162
+					token: $.cookie("token")
163
+				},
164
+				success: function(data) {
165
+					var Count = data.data.dep;
166
+					$(Count).each(function(i,n){
167
+						$("<option value='" + n + "'>" + n + "</option>").appendTo($(obj));
168
+					})
169
+//					$(obj).selectpicker('refresh');
170
+				}
171
+			});
172
+		
173
+		}
174
+		
175
+		function saveCustomer(){
176
+			
177
+//			$.ajax({
178
+//				type: "post",
179
+//				url: huayi.config.callcenter_url + "CallInScreen/AddWorkOrder",
180
+//				dataType: 'json',
181
+//				async: true,
182
+//				data: {
183
+//					token: $.cookie("token"),
184
+//					callCustomer:$('#name').val(),//姓名
185
+//					tel:$('#tel').val(),//号码
186
+//					lddep:$('#testInput1').val(),//来电单位
187
+//					fkdep:$('#testInput2').val(),//反馈单位
188
+//					gdly:$('#DicValueList').val(),//工单来源
189
+//					gdlx: $('#typeclassId').val(),//工单类型id
190
+//					gdzt:$('#State').val(),//工单状态id   
191
+//					fkcont:$('#feedBackCon').val(),//反馈内容    
192
+//					sendmsg:$('#express').val() ,//快递信息     
193
+//					note1: $('#remark1').val(),//备注一     
194
+//					note2: $('#remark2').val(),//备注二     
195
+//					note3: $('#remark3').val(),//备注三    
196
+//					 callid:$("#CallID").val()
197
+//				},
198
+//				success: function(data) {
199
+//					if(data.state.toLowerCase()=='success'){
200
+//						layer.msg("保存成功!");
201
+//						clear();
202
+//					}
203
+//				}
204
+//			});
205
+			$.ajax({
206
+				type: "get",
207
+				url: huayi.config.callcenter_url + "WorkOrder/EditWorkOrderDetail",
208
+				dataType: 'json',
209
+				async: true,
210
+				data: {
211
+					token: $.cookie("token"),
212
+					customer:$('#name').val(),//姓名
213
+					tel:$('#tel').val(),//号码
214
+					lddep:$('#testInput1').val(),//来电单位
215
+					fkdep:$('#testInput2').val(),//反馈单位
216
+					type:$('#DicValueList').val(),//工单来源
217
+					typeclass: $('#typeclassId').val(),//工单类型id
218
+					gdzt:$('#State').val(),//工单状态id   
219
+					fkcont:$('#feedBackCon').val(),//反馈内容    
220
+					files:$('#express').val() ,//快递信息     
221
+					remark1: $('#remark1').val(),//备注一     
222
+					remark2: $('#remark2').val(),//备注二     
223
+					remark3: $('#remark3').val()//备注三    					 callid:$("#CallID").val()
224
+				},
225
+				success: function(data) {
226
+					if(data.state.toLowerCase()=='success'){
227
+						layer.msg("保存成功!");
228
+						clear();
229
+					}
230
+				}
231
+			});
232
+		
233
+			
234
+		}
235
+		function saveMarket(){
236
+			if($('#name_market').val()==''){
237
+					layer.confirm('请输入姓名!', {
238
+					icon: 2,
239
+					btn: ['确定']
240
+				});
241
+				return;
242
+			}
243
+			if($('#tel_market').val()==''){
244
+					layer.confirm('请输入电话!', {
245
+					icon: 2,
246
+					btn: ['确定']
247
+				});
248
+				return;
249
+			}
250
+			if($('#testInput3').val()==''){
251
+					layer.confirm('请选择来电单位!', {
252
+					icon: 2,
253
+					btn: ['确定']
254
+				});
255
+				return;
256
+			}
257
+			
258
+			$.ajax({
259
+				type: "post",
260
+				url: huayi.config.callcenter_url + "CallInScreen/AddWorkOrder",
261
+				dataType: 'json',
262
+				async: true,
263
+				data: {
264
+					token: $.cookie("token"),
265
+					callCustomer:$('#name_market').val(),//姓名
266
+					tel:$('#tel_market').val(),//号码
267
+					lddep:$('#testInput3').val(),//来电单位
268
+					fkdep:$('#testInput4').val(),//反馈单位
269
+					fkcont:$('#remark_market').val(),//反馈内容
270
+					 callid:$("#CallID").val()
271
+					
272
+					
273
+				},
274
+				success: function(data) {
275
+					if(data.state.toLowerCase()=='success'){
276
+						layer.msg("保存成功!");
277
+						clear();
278
+					}
279
+				}
280
+			});
281
+		
282
+			
283
+		}
284
+        
285
+        function clear(){
286
+        	if(ns==1){
287
+        		$('#name').val('');
288
+				$('#tel').val('');//号码
289
+				$('#testInput1').val('');//来电单位
290
+				$('#testInput2').val('');//反馈单位
291
+				$('#orderSource').val('');//工单来源
292
+				$('#typeclassId').val('');//工单类型id
293
+				$('#State').val('');//工单状态id   
294
+				$('#feedBackCon').val('');//反馈内容    
295
+				$('#express').val('');//快递信息     
296
+				$('#remark1').val('');//备注一     
297
+				$('#remark2').val('');//备注二     
298
+				$('#remark3').val('');//备注三    
299
+        	}else{
300
+        		$('#name_market').val('');
301
+				$('#tel_market').val('');//号码
302
+				$('#testInput3').val('');//来电单位
303
+				$('#testInput4').val('');//反馈单位
304
+				$('#remark_market').val('');//备注内容
305
+        	}
306
+        	
307
+        }