From 382d410bea3a9b31b19b934116033d3001654272 Mon Sep 17 00:00:00 2001 From: xman <1946321327@qq.com> Date: Mon, 21 Apr 2025 10:57:51 +0800 Subject: [PATCH] sth --- application/admin/controller/orders/Dispatch2.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/admin/controller/orders/Dispatch2.php b/application/admin/controller/orders/Dispatch2.php index a205c02..a4a3cd6 100644 --- a/application/admin/controller/orders/Dispatch2.php +++ b/application/admin/controller/orders/Dispatch2.php @@ -83,6 +83,11 @@ class Dispatch2 extends Backend $row->is_disabled = in_array($row->status, $this->model->btnActiveStatusList('disabled_status')); $row->btn_record = in_array($row->status, $this->model->btnActiveStatusList('btn_record')) && $this->auth->check('orders/dispatchrecord/add'); // $row->btn_income = (in_array($row->status, $this->model->btnActiveStatusList('btn_income')) && in_array($row->order->status, $orderModel->incomeBtnStatus())) ? true : false; + + if($row->status == -10){ //拒绝 + $row->remark = $row->reject_reason; + } + } $result = array("total" => $list->total(), "rows" => $list->items());