From 9b309299ca3b3681932d4e9af442048d10f1b5ff Mon Sep 17 00:00:00 2001 From: lccsw <1127794702@qq.com> Date: Wed, 20 Oct 2021 11:48:06 +0800 Subject: [PATCH] edit-admin-edit_order2 --- admin/views/receiver/orders/get.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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);