diff --git a/admin/views/receiver/orders/get.php b/admin/views/receiver/orders/get.php index eb6502df..1852675a 100644 --- a/admin/views/receiver/orders/get.php +++ b/admin/views/receiver/orders/get.php @@ -347,9 +347,11 @@ }, carModal: function () { var that = this - if (!that.info.payway || !that.info.loan_info || !that.info.loan_info.status) { - layer.msg('按揭审核尚未通过~', {icon: 2}); - return; + if(!that.info.payway){ + if (!that.info.loan_info || !that.info.loan_info.status) { + layer.msg('按揭审核尚未通过~', {icon: 2}); + return; + } } that.setauto(1); that.setauto(2);