|
|
@@ -0,0 +1,858 @@
|
|
|
1
|
+ var edit_id = helper.request.queryString("edit_id");
|
|
|
2
|
+ $(document).ready(function () {
|
|
|
3
|
+ var wid = helper.request.queryString("wid");
|
|
|
4
|
+
|
|
|
5
|
+ if (edit_id) {
|
|
|
6
|
+ getCustomer(edit_id);
|
|
|
7
|
+ }
|
|
|
8
|
+ LAISHENG($("#laisheng"));//省 来电弹屏
|
|
|
9
|
+ SHENGFEN($("#comsheng"));//投诉省
|
|
|
10
|
+ CHOUSH($("#cisheng"));//抽检省
|
|
|
11
|
+ CHOUDQ($("#chdaqu"));//投诉大区
|
|
|
12
|
+ ZXWTLB($("#cateq"));// 建议及其他问题类别
|
|
|
13
|
+ JISHENG($("#jiansheng"));// 建议及其他省
|
|
|
14
|
+
|
|
|
15
|
+ //tree下拉框效果
|
|
|
16
|
+ $(".inpBox .tree").click(function() {
|
|
|
17
|
+ if($(this).parent().find(".addTree").is(":hidden")) {
|
|
|
18
|
+ $(this).parent().find(".addTree").show();
|
|
|
19
|
+ } else {
|
|
|
20
|
+ $(this).parent().find(".addTree").hide();
|
|
|
21
|
+ }
|
|
|
22
|
+ });
|
|
|
23
|
+
|
|
|
24
|
+ //普通下拉框效果
|
|
|
25
|
+ $(".inpBox .select").click(function() {
|
|
|
26
|
+ if($(this).parent().find(".xl_common").is(":hidden")) {
|
|
|
27
|
+ $(this).parent().find(".xl_common").show();
|
|
|
28
|
+ } else {
|
|
|
29
|
+ $(this).parent().find(".xl_common").hide();
|
|
|
30
|
+ }
|
|
|
31
|
+ });
|
|
|
32
|
+ $(".jieshow").click(function () {
|
|
|
33
|
+ if($(this).parent().find(".xl_common").is(":hidden")) {
|
|
|
34
|
+ $(this).parent().find(".xl_common").show();
|
|
|
35
|
+ } else {
|
|
|
36
|
+ $(this).parent().find(".xl_common").hide();
|
|
|
37
|
+ }
|
|
|
38
|
+ })
|
|
|
39
|
+ $(".xl").click(function() {
|
|
|
40
|
+ if($(this).parent().find(".addTree").is(":hidden")) {
|
|
|
41
|
+ $(this).parent().find(".addTree").show();
|
|
|
42
|
+ } else {
|
|
|
43
|
+ $(this).parent().find(".addTree").hide();
|
|
|
44
|
+ }
|
|
|
45
|
+ if($(this).parent().find(".xl_common").is(":hidden")) {
|
|
|
46
|
+ $(this).parent().find(".xl_common").show();
|
|
|
47
|
+ } else {
|
|
|
48
|
+ $(this).parent().find(".xl_common").hide();
|
|
|
49
|
+ }
|
|
|
50
|
+ });
|
|
|
51
|
+
|
|
|
52
|
+ // $(".inpBox").mouseleave(function() {
|
|
|
53
|
+ // $(this).children(".addTree").hide();
|
|
|
54
|
+ // $(this).children(".xl_common").hide();
|
|
|
55
|
+ // });
|
|
|
56
|
+ //清除
|
|
|
57
|
+ $(".Cleans ").click(function () {
|
|
|
58
|
+ $('.inps').val("");
|
|
|
59
|
+ $("#PID").val("");
|
|
|
60
|
+ $("#Dpment").val("");
|
|
|
61
|
+ })
|
|
|
62
|
+
|
|
|
63
|
+ $(".xl_box").on("click", "li", function() {
|
|
|
64
|
+ var obj = $(this).parent().parent().parent();
|
|
|
65
|
+ obj.find("input").eq(0).val($(this).text());
|
|
|
66
|
+ obj.find("input").eq(1).val($(this).attr("itemid"));
|
|
|
67
|
+ obj.find(".xl_common").hide();
|
|
|
68
|
+ getRY($(".clid"), $("#clbmname").val());
|
|
|
69
|
+ });
|
|
|
70
|
+ getBM($("#zrbmtree"));
|
|
|
71
|
+
|
|
|
72
|
+ // $('#btn_cha').click(function(){
|
|
|
73
|
+ // initTable();
|
|
|
74
|
+ // })
|
|
|
75
|
+
|
|
|
76
|
+ });
|
|
|
77
|
+
|
|
|
78
|
+ //获取部门
|
|
|
79
|
+ var setting = {
|
|
|
80
|
+ data: {
|
|
|
81
|
+ key: {
|
|
|
82
|
+ name: "text"
|
|
|
83
|
+ },
|
|
|
84
|
+ simpleData: {
|
|
|
85
|
+ enable: true,
|
|
|
86
|
+ idKey: "id",
|
|
|
87
|
+ pIdKey: "ParentId",
|
|
|
88
|
+ rootPId: 0
|
|
|
89
|
+ }
|
|
|
90
|
+ },
|
|
|
91
|
+ callback: {
|
|
|
92
|
+ onClick: zTreeOnClick
|
|
|
93
|
+ }
|
|
|
94
|
+ };
|
|
|
95
|
+ function darptSearch() {
|
|
|
96
|
+ $('.xlAdd').css('display', 'none');
|
|
|
97
|
+ $(".selDpart1").css('display', 'block');
|
|
|
98
|
+ depart();
|
|
|
99
|
+ }
|
|
|
100
|
+ function getBM(obj) {
|
|
|
101
|
+ $.getJSON(huayi.config.callcenter_url + 'Department/GetDeptList', {
|
|
|
102
|
+ token: $.cookie("token"),
|
|
|
103
|
+ keywords:$('.inps').val(),
|
|
|
104
|
+ }, function(result) {
|
|
|
105
|
+ if(result.state.toLowerCase() == "success") {
|
|
|
106
|
+ // alert(111111);
|
|
|
107
|
+
|
|
|
108
|
+ var treeObj = $.fn.zTree.init(obj, setting, result.data);
|
|
|
109
|
+ treeObj.expandAll(false);
|
|
|
110
|
+ }
|
|
|
111
|
+ })
|
|
|
112
|
+ }
|
|
|
113
|
+
|
|
|
114
|
+ function zTreeOnClick(event, treeId, treeNode) {
|
|
|
115
|
+ if(event) {
|
|
|
116
|
+ event.stopPropagation();
|
|
|
117
|
+ }
|
|
|
118
|
+ var obj = $("#" + event.data.treeId).parent();
|
|
|
119
|
+ obj.parent().find("input").eq(0).val(treeNode.text);
|
|
|
120
|
+ obj.parent().find("input").eq(1).val(treeNode.id);
|
|
|
121
|
+ obj.hide();
|
|
|
122
|
+ getRY($(".clid"), $("#clbm").val());
|
|
|
123
|
+
|
|
|
124
|
+ };
|
|
|
125
|
+ $("#sponsor").on('click', 'li', function() {
|
|
|
126
|
+ $(".selDpart1").css('display', 'none');
|
|
|
127
|
+ $(".tree").val($(this).html());
|
|
|
128
|
+ $("#Dpment").val($(this).attr("index"));
|
|
|
129
|
+ $(".Cleans").show();
|
|
|
130
|
+ getRY($(".clid"), $("#clbmname").val());
|
|
|
131
|
+
|
|
|
132
|
+ })
|
|
|
133
|
+ function depart() {
|
|
|
134
|
+ $("#sponsor").empty();
|
|
|
135
|
+ $.getJSON(huayi.config.callcenter_url + "Department/GetDeptList", {
|
|
|
136
|
+ "token": $.cookie("token"),
|
|
|
137
|
+ F_DeptName: $('.inps').val(),
|
|
|
138
|
+ keywords:$('.inps').val(),
|
|
|
139
|
+ }, function(data) {
|
|
|
140
|
+ if(data.state.toLowerCase() == "success") {
|
|
|
141
|
+ var content = data.data;
|
|
|
142
|
+ $(content).each(function(i, n) {
|
|
|
143
|
+ $("<li index='" + n.id + "'>" + n.text + "</li>").appendTo("#sponsor");
|
|
|
144
|
+ })
|
|
|
145
|
+ getRY($(".clid"), $("#clbm").val());
|
|
|
146
|
+ }
|
|
|
147
|
+
|
|
|
148
|
+ })
|
|
|
149
|
+ }
|
|
|
150
|
+
|
|
|
151
|
+ //获取人员 getRY($(".clid"), $("#clbm").val());
|
|
|
152
|
+ function getRY(obj, deptid) {
|
|
|
153
|
+ var proid = helper.request.queryString("proid"); //项目id
|
|
|
154
|
+ obj.empty();
|
|
|
155
|
+ obj.append('<li itemid="">--请选择--</li>');
|
|
|
156
|
+ obj.parent().parent().find("input").eq(0).val("--请选择--");
|
|
|
157
|
+ obj.parent().parent().find("input").eq(1).val("");
|
|
|
158
|
+ $.getJSON(huayi.config.callcenter_url + 'UserAccount/GetDeptUserList', {
|
|
|
159
|
+ proid: proid,
|
|
|
160
|
+ deptid: deptid,
|
|
|
161
|
+ token: $.cookie("token")
|
|
|
162
|
+ }, function(result) {
|
|
|
163
|
+ if(result.state.toLowerCase() == "success") {
|
|
|
164
|
+ $(result.data).each(function(i, n) {
|
|
|
165
|
+ obj.append('<li itemid="' + n.F_UserId + '">' + n.F_UserName + '(' + n.F_UserCode + ')</li>');
|
|
|
166
|
+ });
|
|
|
167
|
+ obj.find("li").click(function(event) {
|
|
|
168
|
+ if(event) {
|
|
|
169
|
+ event.stopPropagation();
|
|
|
170
|
+ }
|
|
|
171
|
+ $(this).parent().parent().parent().find("input").eq(0).val($(this).text());
|
|
|
172
|
+ $(this).parent().parent().parent().find("input").eq(1).val($(this).attr("itemid"));
|
|
|
173
|
+ $(this).parent().parent().hide();
|
|
|
174
|
+ });
|
|
|
175
|
+ }
|
|
|
176
|
+ })
|
|
|
177
|
+ }
|
|
|
178
|
+
|
|
|
179
|
+// 来电弹屏省/市/区/县
|
|
|
180
|
+ function LAISHENG(obj) {
|
|
|
181
|
+ obj.empty();
|
|
|
182
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
183
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
184
|
+ "token": $.cookie("token"),
|
|
|
185
|
+ F_Layer: 1,
|
|
|
186
|
+ }, function (data) {
|
|
|
187
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
188
|
+ var content = data.data;
|
|
|
189
|
+ $(content).each(function (i, n) {
|
|
|
190
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
191
|
+ })
|
|
|
192
|
+ }
|
|
|
193
|
+ })
|
|
|
194
|
+ }
|
|
|
195
|
+ //市
|
|
|
196
|
+ function LAISHI(obj) {
|
|
|
197
|
+ obj.empty();
|
|
|
198
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
199
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
200
|
+ "token": $.cookie("token"),
|
|
|
201
|
+ F_Layer: 2,
|
|
|
202
|
+ F_RegionName:$('#laisheng').val()
|
|
|
203
|
+ }, function (data) {
|
|
|
204
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
205
|
+ var content = data.data;
|
|
|
206
|
+ $(content).each(function (i, n) {
|
|
|
207
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
208
|
+ })
|
|
|
209
|
+ }
|
|
|
210
|
+
|
|
|
211
|
+ })
|
|
|
212
|
+ }
|
|
|
213
|
+ // 区/县
|
|
|
214
|
+ function LAIQU(obj) {
|
|
|
215
|
+ obj.empty();
|
|
|
216
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
217
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
218
|
+ "token": $.cookie("token"),
|
|
|
219
|
+ F_Layer: 3,
|
|
|
220
|
+ F_RegionName:$('#laishi').val()
|
|
|
221
|
+ }, function (data) {
|
|
|
222
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
223
|
+ var content = data.data;
|
|
|
224
|
+ $(content).each(function (i, n) {
|
|
|
225
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
226
|
+ })
|
|
|
227
|
+ }
|
|
|
228
|
+ })
|
|
|
229
|
+ }
|
|
|
230
|
+ // 乡
|
|
|
231
|
+ function LAIXIANG(obj) {
|
|
|
232
|
+ obj.empty();
|
|
|
233
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
234
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
235
|
+ "token": $.cookie("token"),
|
|
|
236
|
+ F_Layer: 4,
|
|
|
237
|
+ F_RegionName:$('#laiquxian').val()
|
|
|
238
|
+ }, function (data) {
|
|
|
239
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
240
|
+ var content = data.data;
|
|
|
241
|
+ $(content).each(function (i, n) {
|
|
|
242
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
243
|
+ })
|
|
|
244
|
+ }
|
|
|
245
|
+ })
|
|
|
246
|
+ }
|
|
|
247
|
+
|
|
|
248
|
+ $('#laisheng').on('change',function(){
|
|
|
249
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
250
|
+ "token": $.cookie("token"),
|
|
|
251
|
+ F_Layer: 2,
|
|
|
252
|
+ F_RegionName:$('#laisheng').val(),
|
|
|
253
|
+
|
|
|
254
|
+ }, function (data) {
|
|
|
255
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
256
|
+ var content = data.data;
|
|
|
257
|
+ $(content).each(function (i, n) {
|
|
|
258
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo("#laishi");
|
|
|
259
|
+ })
|
|
|
260
|
+ LAISHI($("#laishi"));
|
|
|
261
|
+ }
|
|
|
262
|
+ })
|
|
|
263
|
+ });
|
|
|
264
|
+ $('#laishi').on('change',function(){
|
|
|
265
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
266
|
+ "token": $.cookie("token"),
|
|
|
267
|
+ F_Layer: 3,
|
|
|
268
|
+ F_RegionName:$('#laishi').val()
|
|
|
269
|
+ }, function (data) {
|
|
|
270
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
271
|
+ var content = data.data;
|
|
|
272
|
+ $(content).each(function (i, n) {
|
|
|
273
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo("#laiquxian");
|
|
|
274
|
+ })
|
|
|
275
|
+ LAIQU($("#laiquxian"));
|
|
|
276
|
+ }
|
|
|
277
|
+ })
|
|
|
278
|
+ });
|
|
|
279
|
+ $('#laiquxian').on('change',function(){
|
|
|
280
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
281
|
+ "token": $.cookie("token"),
|
|
|
282
|
+ F_Layer: 4,
|
|
|
283
|
+ F_RegionName:$('#laiquxian').val()
|
|
|
284
|
+ }, function (data) {
|
|
|
285
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
286
|
+ var content = data.data;
|
|
|
287
|
+ $(content).each(function (i, n) {
|
|
|
288
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo("#laixiang");
|
|
|
289
|
+ })
|
|
|
290
|
+ LAIXIANG($('#laixiang'));
|
|
|
291
|
+ }
|
|
|
292
|
+ })
|
|
|
293
|
+ });
|
|
|
294
|
+
|
|
|
295
|
+
|
|
|
296
|
+//投诉省市县
|
|
|
297
|
+ // 咨询模块 省
|
|
|
298
|
+ function SHENGFEN(obj) {
|
|
|
299
|
+ obj.empty();
|
|
|
300
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
301
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
302
|
+ "token": $.cookie("token"),
|
|
|
303
|
+ F_Layer: 1,
|
|
|
304
|
+ }, function (data) {
|
|
|
305
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
306
|
+ var content = data.data;
|
|
|
307
|
+ $(content).each(function (i, n) {
|
|
|
308
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
309
|
+ })
|
|
|
310
|
+ }
|
|
|
311
|
+ })
|
|
|
312
|
+ }
|
|
|
313
|
+ //市
|
|
|
314
|
+ function SHIFEN(obj) {
|
|
|
315
|
+ obj.empty();
|
|
|
316
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
317
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
318
|
+ "token": $.cookie("token"),
|
|
|
319
|
+ F_Layer: 2,
|
|
|
320
|
+ F_RegionName:$('#comsheng').val()
|
|
|
321
|
+ }, function (data) {
|
|
|
322
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
323
|
+ var content = data.data;
|
|
|
324
|
+ $(content).each(function (i, n) {
|
|
|
325
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
326
|
+ })
|
|
|
327
|
+ }
|
|
|
328
|
+
|
|
|
329
|
+ })
|
|
|
330
|
+ }
|
|
|
331
|
+ // 区/县
|
|
|
332
|
+ function QXFEN(obj) {
|
|
|
333
|
+ obj.empty();
|
|
|
334
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
335
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
336
|
+ "token": $.cookie("token"),
|
|
|
337
|
+ F_Layer: 3,
|
|
|
338
|
+ F_RegionName:$('#comshi').val()
|
|
|
339
|
+ }, function (data) {
|
|
|
340
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
341
|
+ var content = data.data;
|
|
|
342
|
+ $(content).each(function (i, n) {
|
|
|
343
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
344
|
+ })
|
|
|
345
|
+ }
|
|
|
346
|
+ })
|
|
|
347
|
+ }
|
|
|
348
|
+ // 乡
|
|
|
349
|
+ function XXFEN(obj) {
|
|
|
350
|
+ obj.empty();
|
|
|
351
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
352
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
353
|
+ "token": $.cookie("token"),
|
|
|
354
|
+ F_Layer: 4,
|
|
|
355
|
+ F_RegionName:$('#comquxian').val()
|
|
|
356
|
+ }, function (data) {
|
|
|
357
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
358
|
+ var content = data.data;
|
|
|
359
|
+ $(content).each(function (i, n) {
|
|
|
360
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
361
|
+ })
|
|
|
362
|
+ }
|
|
|
363
|
+ })
|
|
|
364
|
+ }
|
|
|
365
|
+
|
|
|
366
|
+ $('#comsheng').on('change',function(){
|
|
|
367
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
368
|
+ "token": $.cookie("token"),
|
|
|
369
|
+ F_Layer: 2,
|
|
|
370
|
+ F_RegionName:$('#comsheng').val(),
|
|
|
371
|
+
|
|
|
372
|
+ }, function (data) {
|
|
|
373
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
374
|
+ var content = data.data;
|
|
|
375
|
+ $(content).each(function (i, n) {
|
|
|
376
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo("#comshi");
|
|
|
377
|
+ })
|
|
|
378
|
+ SHIFEN($("#comshi"));
|
|
|
379
|
+ }
|
|
|
380
|
+ })
|
|
|
381
|
+ });
|
|
|
382
|
+ $('#comshi').on('change',function(){
|
|
|
383
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
384
|
+ "token": $.cookie("token"),
|
|
|
385
|
+ F_Layer: 3,
|
|
|
386
|
+ F_RegionName:$('#comshi').val()
|
|
|
387
|
+ }, function (data) {
|
|
|
388
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
389
|
+ var content = data.data;
|
|
|
390
|
+ $(content).each(function (i, n) {
|
|
|
391
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo("#comquxian");
|
|
|
392
|
+ })
|
|
|
393
|
+ QXFEN($("#comquxian"));
|
|
|
394
|
+ }
|
|
|
395
|
+ })
|
|
|
396
|
+ });
|
|
|
397
|
+ $('#comquxian').on('change',function(){
|
|
|
398
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
399
|
+ "token": $.cookie("token"),
|
|
|
400
|
+ F_Layer: 4,
|
|
|
401
|
+ F_RegionName:$('#comquxian').val()
|
|
|
402
|
+ }, function (data) {
|
|
|
403
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
404
|
+ var content = data.data;
|
|
|
405
|
+ $(content).each(function (i, n) {
|
|
|
406
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo("#xiang");
|
|
|
407
|
+ })
|
|
|
408
|
+ XXFEN($('#comxiang'));
|
|
|
409
|
+ }
|
|
|
410
|
+ })
|
|
|
411
|
+ });
|
|
|
412
|
+
|
|
|
413
|
+//抽检省市县
|
|
|
414
|
+ // 咨询模块 省
|
|
|
415
|
+ function CHOUSH(obj) {
|
|
|
416
|
+ obj.empty();
|
|
|
417
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
418
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
419
|
+ "token": $.cookie("token"),
|
|
|
420
|
+ F_Layer: 1,
|
|
|
421
|
+ }, function (data) {
|
|
|
422
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
423
|
+ var content = data.data;
|
|
|
424
|
+ $(content).each(function (i, n) {
|
|
|
425
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
426
|
+ })
|
|
|
427
|
+ }
|
|
|
428
|
+ })
|
|
|
429
|
+ }
|
|
|
430
|
+ //市
|
|
|
431
|
+ function CHOUSHI(obj) {
|
|
|
432
|
+ obj.empty();
|
|
|
433
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
434
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
435
|
+ "token": $.cookie("token"),
|
|
|
436
|
+ F_Layer: 2,
|
|
|
437
|
+ F_RegionName:$('#cisheng').val(),
|
|
|
438
|
+ }, function (data) {
|
|
|
439
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
440
|
+ var content = data.data;
|
|
|
441
|
+ $(content).each(function (i, n) {
|
|
|
442
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
443
|
+ })
|
|
|
444
|
+ }
|
|
|
445
|
+
|
|
|
446
|
+ })
|
|
|
447
|
+ }
|
|
|
448
|
+ // 区/县
|
|
|
449
|
+ function CHOUQU(obj) {
|
|
|
450
|
+ obj.empty();
|
|
|
451
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
452
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
453
|
+ "token": $.cookie("token"),
|
|
|
454
|
+ F_Layer: 3,
|
|
|
455
|
+ F_RegionName:$('#cishi').val()
|
|
|
456
|
+ }, function (data) {
|
|
|
457
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
458
|
+ var content = data.data;
|
|
|
459
|
+ $(content).each(function (i, n) {
|
|
|
460
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
461
|
+ })
|
|
|
462
|
+ }
|
|
|
463
|
+ })
|
|
|
464
|
+ }
|
|
|
465
|
+ // 乡
|
|
|
466
|
+ function CHOUXIANG(obj) {
|
|
|
467
|
+ obj.empty();
|
|
|
468
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
469
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
470
|
+ "token": $.cookie("token"),
|
|
|
471
|
+ F_Layer: 4,
|
|
|
472
|
+ F_RegionName:$('#ciquxian').val()
|
|
|
473
|
+ }, function (data) {
|
|
|
474
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
475
|
+ var content = data.data;
|
|
|
476
|
+ $(content).each(function (i, n) {
|
|
|
477
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
478
|
+ })
|
|
|
479
|
+ }
|
|
|
480
|
+ })
|
|
|
481
|
+ }
|
|
|
482
|
+
|
|
|
483
|
+ $('#cisheng').on('change',function(){
|
|
|
484
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
485
|
+ "token": $.cookie("token"),
|
|
|
486
|
+ F_Layer: 2,
|
|
|
487
|
+ F_RegionName:$('#cisheng').val(),
|
|
|
488
|
+
|
|
|
489
|
+ }, function (data) {
|
|
|
490
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
491
|
+ var content = data.data;
|
|
|
492
|
+ $(content).each(function (i, n) {
|
|
|
493
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo("#cishi");
|
|
|
494
|
+ })
|
|
|
495
|
+ CHOUSHI($("#cishi"));
|
|
|
496
|
+ }
|
|
|
497
|
+ })
|
|
|
498
|
+ });
|
|
|
499
|
+ $('#cishi').on('change',function(){
|
|
|
500
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
501
|
+ "token": $.cookie("token"),
|
|
|
502
|
+ F_Layer: 3,
|
|
|
503
|
+ F_RegionName:$('#cishi').val()
|
|
|
504
|
+ }, function (data) {
|
|
|
505
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
506
|
+ var content = data.data;
|
|
|
507
|
+ $(content).each(function (i, n) {
|
|
|
508
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo("#ciquxian");
|
|
|
509
|
+ })
|
|
|
510
|
+ CHOUQU($("#ciquxian"));
|
|
|
511
|
+ }
|
|
|
512
|
+ })
|
|
|
513
|
+ });
|
|
|
514
|
+ $('#ciquxian').on('change',function(){
|
|
|
515
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
516
|
+ "token": $.cookie("token"),
|
|
|
517
|
+ F_Layer: 4,
|
|
|
518
|
+ F_RegionName:$('#ciquxian').val()
|
|
|
519
|
+ }, function (data) {
|
|
|
520
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
521
|
+ var content = data.data;
|
|
|
522
|
+ $(content).each(function (i, n) {
|
|
|
523
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo("#cixiang");
|
|
|
524
|
+ })
|
|
|
525
|
+ CHOUXIANG($('#cixiang'));
|
|
|
526
|
+ }
|
|
|
527
|
+ })
|
|
|
528
|
+ });
|
|
|
529
|
+
|
|
|
530
|
+//建议及其他省市区县
|
|
|
531
|
+ function JISHENG(obj) {
|
|
|
532
|
+ obj.empty();
|
|
|
533
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
534
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
535
|
+ "token": $.cookie("token"),
|
|
|
536
|
+ F_Layer: 1,
|
|
|
537
|
+ }, function (data) {
|
|
|
538
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
539
|
+ var content = data.data;
|
|
|
540
|
+ $(content).each(function (i, n) {
|
|
|
541
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
542
|
+ })
|
|
|
543
|
+ }
|
|
|
544
|
+ })
|
|
|
545
|
+ }
|
|
|
546
|
+ //市
|
|
|
547
|
+ function JISHI(obj) {
|
|
|
548
|
+ obj.empty();
|
|
|
549
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
550
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
551
|
+ "token": $.cookie("token"),
|
|
|
552
|
+ F_Layer: 2,
|
|
|
553
|
+ F_RegionName:$('#jiansheng').val()
|
|
|
554
|
+ }, function (data) {
|
|
|
555
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
556
|
+ var content = data.data;
|
|
|
557
|
+ $(content).each(function (i, n) {
|
|
|
558
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
559
|
+ })
|
|
|
560
|
+ }
|
|
|
561
|
+
|
|
|
562
|
+ })
|
|
|
563
|
+ }
|
|
|
564
|
+ // 区/县
|
|
|
565
|
+ function JIQUXIAN(obj) {
|
|
|
566
|
+ obj.empty();
|
|
|
567
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
568
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
569
|
+ "token": $.cookie("token"),
|
|
|
570
|
+ F_Layer: 3,
|
|
|
571
|
+ F_RegionName:$('#jianshi').val()
|
|
|
572
|
+ }, function (data) {
|
|
|
573
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
574
|
+ var content = data.data;
|
|
|
575
|
+ $(content).each(function (i, n) {
|
|
|
576
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
577
|
+ })
|
|
|
578
|
+ }
|
|
|
579
|
+ })
|
|
|
580
|
+ }
|
|
|
581
|
+ // 乡
|
|
|
582
|
+ function JIXIANG(obj) {
|
|
|
583
|
+ obj.empty();
|
|
|
584
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
585
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
586
|
+ "token": $.cookie("token"),
|
|
|
587
|
+ F_Layer: 4,
|
|
|
588
|
+ F_RegionName:$('#jianquxian').val()
|
|
|
589
|
+ }, function (data) {
|
|
|
590
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
591
|
+ var content = data.data;
|
|
|
592
|
+ $(content).each(function (i, n) {
|
|
|
593
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo(obj);
|
|
|
594
|
+ })
|
|
|
595
|
+ }
|
|
|
596
|
+ })
|
|
|
597
|
+ }
|
|
|
598
|
+
|
|
|
599
|
+ $('#jiansheng').on('change',function(){
|
|
|
600
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
601
|
+ "token": $.cookie("token"),
|
|
|
602
|
+ F_Layer: 2,
|
|
|
603
|
+ F_RegionName:$('#jiansheng').val(),
|
|
|
604
|
+
|
|
|
605
|
+ }, function (data) {
|
|
|
606
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
607
|
+ var content = data.data;
|
|
|
608
|
+ $(content).each(function (i, n) {
|
|
|
609
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo("#jianshi");
|
|
|
610
|
+ })
|
|
|
611
|
+ JISHI($("#jianshi"));
|
|
|
612
|
+ }
|
|
|
613
|
+ })
|
|
|
614
|
+ });
|
|
|
615
|
+ $('#jianshi').on('change',function(){
|
|
|
616
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
617
|
+ "token": $.cookie("token"),
|
|
|
618
|
+ F_Layer: 3,
|
|
|
619
|
+ F_RegionName:$('#jianshi').val()
|
|
|
620
|
+ }, function (data) {
|
|
|
621
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
622
|
+ var content = data.data;
|
|
|
623
|
+ $(content).each(function (i, n) {
|
|
|
624
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo("#jianquxian");
|
|
|
625
|
+ })
|
|
|
626
|
+ JIQUXIAN($("#jianquxian"));
|
|
|
627
|
+ }
|
|
|
628
|
+ })
|
|
|
629
|
+ });
|
|
|
630
|
+ $('#jianquxian').on('change',function(){
|
|
|
631
|
+ $.getJSON(huayi.config.callcenter_url + "RegionCategory/GetAllList", {
|
|
|
632
|
+ "token": $.cookie("token"),
|
|
|
633
|
+ F_Layer: 4,
|
|
|
634
|
+ F_RegionName:$('#jianquxian').val()
|
|
|
635
|
+ }, function (data) {
|
|
|
636
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
637
|
+ var content = data.data;
|
|
|
638
|
+ $(content).each(function (i, n) {
|
|
|
639
|
+ $("<option value='" + n.F_RegionName + "'>" + n.F_RegionName + "</option>").appendTo("#jianxiang");
|
|
|
640
|
+ })
|
|
|
641
|
+ JIXIANG($('#jianxiang'));
|
|
|
642
|
+ }
|
|
|
643
|
+ })
|
|
|
644
|
+ });
|
|
|
645
|
+
|
|
|
646
|
+
|
|
|
647
|
+
|
|
|
648
|
+
|
|
|
649
|
+function CHOUDQ(obj) {
|
|
|
650
|
+ obj.empty();
|
|
|
651
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
652
|
+ $.getJSON(huayi.config.callcenter_url + "Department/GetList", {
|
|
|
653
|
+ "token": $.cookie("token"),
|
|
|
654
|
+ F_Layer: 1,
|
|
|
655
|
+ }, function (data) {
|
|
|
656
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
657
|
+ var content = data.data;
|
|
|
658
|
+ $(content).each(function (i, n) {
|
|
|
659
|
+ $("<option value='" + n.F_DeptId + "'>" + n.F_DeptName + "</option>").appendTo(obj);
|
|
|
660
|
+ })
|
|
|
661
|
+ }
|
|
|
662
|
+ })
|
|
|
663
|
+ }
|
|
|
664
|
+ function CHOUFEN(obj) {
|
|
|
665
|
+ obj.empty();
|
|
|
666
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
667
|
+ $.getJSON(huayi.config.callcenter_url + "Department/GetList", {
|
|
|
668
|
+ "token": $.cookie("token"),
|
|
|
669
|
+ F_Layer:2,
|
|
|
670
|
+ F_DeptName:$("#chdaqu").find("option:selected").text(),
|
|
|
671
|
+ }, function (data) {
|
|
|
672
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
673
|
+ var content = data.data;
|
|
|
674
|
+ $(content).each(function (i, n) {
|
|
|
675
|
+ $("<option value='" + n.F_DeptId + "'>" + n.F_DeptName + "</option>").appendTo(obj);
|
|
|
676
|
+ })
|
|
|
677
|
+ }
|
|
|
678
|
+ })
|
|
|
679
|
+ }
|
|
|
680
|
+
|
|
|
681
|
+$('#chdaqu').on('change',function(){
|
|
|
682
|
+ $.getJSON(huayi.config.callcenter_url + "Department/GetList", {
|
|
|
683
|
+ "token": $.cookie("token"),
|
|
|
684
|
+ F_Layer: 2,
|
|
|
685
|
+ F_DeptName:$("#chdaqu").find("option:selected").text(),
|
|
|
686
|
+
|
|
|
687
|
+ }, function (data) {
|
|
|
688
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
689
|
+ var content = data.data;
|
|
|
690
|
+
|
|
|
691
|
+ $(content).each(function (i, n) {
|
|
|
692
|
+ $("<option value='" + n.F_DeptId + "'>" + n.F_DeptName + "</option>").appendTo("#chfen");
|
|
|
693
|
+ })
|
|
|
694
|
+ CHOUFEN($('#chfen'));
|
|
|
695
|
+ }
|
|
|
696
|
+ })
|
|
|
697
|
+ });
|
|
|
698
|
+
|
|
|
699
|
+
|
|
|
700
|
+
|
|
|
701
|
+
|
|
|
702
|
+// 建议及其他问题类别
|
|
|
703
|
+function ZXWTLB(obj) {
|
|
|
704
|
+ obj.empty();
|
|
|
705
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
706
|
+ $.getJSON(huayi.config.callcenter_url + "WorkOrder/GetQuestionNameType", {
|
|
|
707
|
+ "token": $.cookie("token"),
|
|
|
708
|
+ type:3,
|
|
|
709
|
+ }, function (data) {
|
|
|
710
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
711
|
+ var content = data.data;
|
|
|
712
|
+ $(content).each(function (i, n) {
|
|
|
713
|
+ $("<option value='" + n.id + "'>" + n.text + "</option>").appendTo(obj);
|
|
|
714
|
+ })
|
|
|
715
|
+ }
|
|
|
716
|
+ })
|
|
|
717
|
+ }
|
|
|
718
|
+
|
|
|
719
|
+//选择显示隐藏部分
|
|
|
720
|
+$("#channel").change(function(){
|
|
|
721
|
+ if($("#channel").find("option:selected").text()=="总经销"){
|
|
|
722
|
+ $("#chan").show()
|
|
|
723
|
+ }else{
|
|
|
724
|
+ $("#chan").hide()
|
|
|
725
|
+ }
|
|
|
726
|
+
|
|
|
727
|
+})
|
|
|
728
|
+$("#channel").change(function(){
|
|
|
729
|
+ if($("#channel").find("option:selected").text()=="二级商"){
|
|
|
730
|
+ $("#secondary").show()
|
|
|
731
|
+ }else{
|
|
|
732
|
+ $("#secondary").hide()
|
|
|
733
|
+ }
|
|
|
734
|
+
|
|
|
735
|
+})
|
|
|
736
|
+$("#channel").change(function(){
|
|
|
737
|
+ if($("#channel").find("option:selected").text()=="种田大户"){
|
|
|
738
|
+ $("#large_farm").show()
|
|
|
739
|
+ }else{
|
|
|
740
|
+ $("#large_farm").hide()
|
|
|
741
|
+ }
|
|
|
742
|
+
|
|
|
743
|
+})
|
|
|
744
|
+//选择未完结显示隐藏的内容
|
|
|
745
|
+$('#finish').find('input[type="radio"]').on('change', function() {
|
|
|
746
|
+ if($(this).val() === "未完结") { //业务办理
|
|
|
747
|
+ $('#ensconce').show();
|
|
|
748
|
+ $("#save_vsv").show();
|
|
|
749
|
+ $("#save_ssss").hide();
|
|
|
750
|
+ $("#save_order").hide();
|
|
|
751
|
+ }else{
|
|
|
752
|
+ $('#ensconce').hide();
|
|
|
753
|
+ $("#save_vsv").hide();
|
|
|
754
|
+ $("#save_ssss").show();
|
|
|
755
|
+ }
|
|
|
756
|
+ });
|
|
|
757
|
+//选择不指派隐藏内容 直接创建
|
|
|
758
|
+$('#designate').find('input[type="radio"]').on('change', function() {
|
|
|
759
|
+ if($(this).val() === "不指派") { //业务办理
|
|
|
760
|
+ $("#appoint").hide();
|
|
|
761
|
+ $("#save_vsv").hide();
|
|
|
762
|
+ $("#save_order").show();
|
|
|
763
|
+ }else{
|
|
|
764
|
+ $("#appoint").show();
|
|
|
765
|
+ $("#save_vsv").show();
|
|
|
766
|
+ $("#save_order").hide();
|
|
|
767
|
+
|
|
|
768
|
+ }
|
|
|
769
|
+ });
|
|
|
770
|
+
|
|
|
771
|
+
|
|
|
772
|
+
|
|
|
773
|
+
|
|
|
774
|
+$('#number').blur(function () {
|
|
|
775
|
+
|
|
|
776
|
+
|
|
|
777
|
+ //根据客户编码获取信息
|
|
|
778
|
+ $.getJSON(huayi.config.callcenter_url + "CustomerNew/GetCodeCustomer", {
|
|
|
779
|
+ // id: ids, //id
|
|
|
780
|
+ code:$('#number').val(),
|
|
|
781
|
+ token: $.cookie("token")
|
|
|
782
|
+ }, function(data) {
|
|
|
783
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
784
|
+ data = data.data;
|
|
|
785
|
+ if (data) {
|
|
|
786
|
+ $('#salesman').val(data.F_Salesman);
|
|
|
787
|
+ $('#telephone').val(data.F_SalesPhone);
|
|
|
788
|
+ $("#chdaqu option:selected").text(data.F_AreaName);
|
|
|
789
|
+ $("#chfen option:selected").text(data.F_BranchName);
|
|
|
790
|
+ $('#manage').val(data.F_Brands);
|
|
|
791
|
+ }else{
|
|
|
792
|
+ $('#salesman').val('');
|
|
|
793
|
+ $('#telephone').val('');
|
|
|
794
|
+ $('#chdaqu').val('');
|
|
|
795
|
+ $('#chfen').val('');
|
|
|
796
|
+ $('#manage').val('');
|
|
|
797
|
+ }
|
|
|
798
|
+ }
|
|
|
799
|
+ // alert(111111111111111);
|
|
|
800
|
+ });
|
|
|
801
|
+
|
|
|
802
|
+});
|
|
|
803
|
+
|
|
|
804
|
+$('#Code').blur(function () {
|
|
|
805
|
+ // alert($(this).val());
|
|
|
806
|
+ // $('#material').show();
|
|
|
807
|
+
|
|
|
808
|
+ //根据物料编码获取信息
|
|
|
809
|
+
|
|
|
810
|
+ $.getJSON(huayi.config.callcenter_url + "MaterialManage/GetCodeModel", {
|
|
|
811
|
+ // id: ids, //id
|
|
|
812
|
+ code:$('#Code').val(),
|
|
|
813
|
+ token: $.cookie("token")
|
|
|
814
|
+ }, function(data) {
|
|
|
815
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
816
|
+ data = data.data;
|
|
|
817
|
+ if (data) {
|
|
|
818
|
+ $("#material_name").val(data.model.F_MaterialName);//物料名称
|
|
|
819
|
+ $("#model_number").val(data.model.F_Model),//型号
|
|
|
820
|
+ $("#specifications").val(data.model.F_Specs);//规格
|
|
|
821
|
+ $("#category1").val(data.model.F_Level1);//一级分类
|
|
|
822
|
+ $("#category2").val(data.model.F_Level2);//二级分类
|
|
|
823
|
+ $("#category3").val(data.model.F_Level3);//三级分类
|
|
|
824
|
+ $('#brand_name').val(data.model.F_Brand);//品牌
|
|
|
825
|
+ $('#efficiency').val(data.model.F_MaterialEffect); //复合肥肥效
|
|
|
826
|
+ $('#product_line').val(data.model.F_Pipeline); //产品线tensions
|
|
|
827
|
+ $("#process").val(data.model.F_Craft);//工艺
|
|
|
828
|
+ $("#enter_formula").val(data.model.F_Craft);//工艺
|
|
|
829
|
+ }else{
|
|
|
830
|
+ $("#material_name").val('');//物料名称
|
|
|
831
|
+ $("#model_number").val(''),//型号
|
|
|
832
|
+ $("#specifications").val('');//规格
|
|
|
833
|
+ $("#category1").val('');//一级分类
|
|
|
834
|
+ $("#category2").val('');//二级分类
|
|
|
835
|
+ $("#category3").val('');//三级分类
|
|
|
836
|
+ $('#brand_name').val('');//品牌
|
|
|
837
|
+ $('#efficiency').val(''); //复合肥肥效
|
|
|
838
|
+ $('#product_line').val(''); //产品线tensions
|
|
|
839
|
+ $("#process").val('');//工艺
|
|
|
840
|
+ $("#enter_formula").val('');//工艺
|
|
|
841
|
+ }
|
|
|
842
|
+ }
|
|
|
843
|
+ // alert(111111111111111);
|
|
|
844
|
+ });
|
|
|
845
|
+
|
|
|
846
|
+});
|
|
|
847
|
+
|
|
|
848
|
+
|
|
|
849
|
+
|
|
|
850
|
+
|
|
|
851
|
+
|
|
|
852
|
+
|
|
|
853
|
+
|
|
|
854
|
+
|
|
|
855
|
+
|
|
|
856
|
+
|
|
|
857
|
+
|
|
|
858
|
+
|