|
|
@@ -17,6 +17,7 @@
|
|
17
|
17
|
.orderType{
|
|
18
|
18
|
/*width: 196px;*/
|
|
19
|
19
|
height: 35px;
|
|
|
20
|
+ padding: 0;
|
|
20
|
21
|
}
|
|
21
|
22
|
ul li{
|
|
22
|
23
|
list-style: none;
|
|
|
@@ -241,7 +242,7 @@
|
|
241
|
242
|
function getOrderType() {
|
|
242
|
243
|
$.get(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByParentId', {
|
|
243
|
244
|
"token": $.cookie("token"),
|
|
244
|
|
- pid: 62
|
|
|
245
|
+ pid: 69
|
|
245
|
246
|
}, function(result) {
|
|
246
|
247
|
result = $.parseJSON(result);
|
|
247
|
248
|
var Count = result.data;
|
|
|
@@ -251,7 +252,7 @@
|
|
251
|
252
|
});
|
|
252
|
253
|
}
|
|
253
|
254
|
$('.orderType').change(()=>{
|
|
254
|
|
- if($('.orderType').val()==76){
|
|
|
255
|
+ if($('.orderType').val()==77){
|
|
255
|
256
|
$('.reasons').css('display','block')
|
|
256
|
257
|
}else{
|
|
257
|
258
|
$('.reasons').css('display','none')
|
|
|
@@ -267,9 +268,11 @@
|
|
267
|
268
|
var customertype=$('.orderType').val();
|
|
268
|
269
|
var noticeinfo=$('.orderType option:selected').text();
|
|
269
|
270
|
if(customertype==0){
|
|
270
|
|
- customertype='';
|
|
271
|
|
- noticeinfo=''
|
|
272
|
|
- }else if(customertype==76 && !$('.other_reasons').val()){
|
|
|
271
|
+ layer.msg('请填写通报原因');
|
|
|
272
|
+ return
|
|
|
273
|
+// customertype='';
|
|
|
274
|
+// noticeinfo=''
|
|
|
275
|
+ }else if(customertype==77 && !$('.other_reasons').val()){
|
|
273
|
276
|
layer.msg('请填写其他原因')
|
|
274
|
277
|
return
|
|
275
|
278
|
}
|
|
|
@@ -316,7 +319,7 @@
|
|
316
|
319
|
result = $.parseJSON(result);
|
|
317
|
320
|
if(result.state.toLowerCase() == "success") {
|
|
318
|
321
|
var con = result.data;
|
|
319
|
|
- if(con.dModel.F_NoticeID==76){
|
|
|
322
|
+ if(con.dModel.F_NoticeID==77){
|
|
320
|
323
|
$('.reasons').css('display','block')
|
|
321
|
324
|
}else{
|
|
322
|
325
|
$('.reasons').css('display','none')
|