From dc2b55456dc8b5a66908a86e50d21c7484d1a7c0 Mon Sep 17 00:00:00 2001 From: yulingwei <2436953959@qq.com> Date: Mon, 17 Feb 2020 16:29:39 +0800 Subject: [PATCH] upt --- Application/Admin/Controller/SettlementController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/SettlementController.class.php b/Application/Admin/Controller/SettlementController.class.php index 932dddb24..5a80b074b 100644 --- a/Application/Admin/Controller/SettlementController.class.php +++ b/Application/Admin/Controller/SettlementController.class.php @@ -435,7 +435,7 @@ class SettlementController extends ThinkController } else if ($arr_index + 1 == sizeof($info['audit_users']) && $info['status'] != 3) { return $this->error('该结算单已经审核完毕', true, true); } - $is_last = ($info['setp'] + 1 >= sizeof($info['audit_users'])); + $is_last = ($info['step'] + 1 >= sizeof($info['audit_users'])); $update['remark'] = $remark; $update['status'] = $audit_type == 1 ? ($is_last ? 1 : 3) : 2; $update['step'] = ($audit_type == 1 && !$is_last) ? $info['step'] + 1 : $info['step'];