修改正本提交时,自动退回。

dev
曾超新 5 years ago
parent 6541a0e472
commit 89536d5a17
  1. 4
      frontend/views/insurer/original-mng-edit.php

@ -398,7 +398,7 @@ use common\models\PriceT;
$.post('/insurer/original-mng-save',params,function(obj){ $.post('/insurer/original-mng-save',params,function(obj){
parent.layer.msg(obj.msg); parent.layer.msg(obj.msg);
if(obj.success && status_id>5) { if(obj.success && status_id>5) {
$('.btn-back') $('.btn-back').click();
} }
},'json'); },'json');
} }
@ -417,7 +417,7 @@ use common\models\PriceT;
},function(obj){ },function(obj){
parent.layer.msg(obj.msg); parent.layer.msg(obj.msg);
if(obj.success) { if(obj.success) {
$('#back-btn').click(); $('.btn-back').click();
} }
},'json'); },'json');
}); });

Loading…
Cancel
Save