From 179966c059235878e6525e21eef18b84d55e9e2a Mon Sep 17 00:00:00 2001 From: guoxin <gx@bronet.cn> Date: Thu, 8 Nov 2018 17:18:49 +0800 Subject: [PATCH] 页面修改 --- app/portal/controller/MemberController.php | 7 +++++++ public/themes/simpleboot3/portal/member/ordertail.html | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/portal/controller/MemberController.php b/app/portal/controller/MemberController.php index cdc9e9f..62c2191 100644 --- a/app/portal/controller/MemberController.php +++ b/app/portal/controller/MemberController.php @@ -168,6 +168,13 @@ class MemberController extends CommentController ->field('o.id,o.order_sn,o.status as orderStatus,o.create_time as cre,o.update_time as up , h.id as hire_id,h.* , s.name as select_name ,m.name as member_name ') ->order('o.create_time desc') ->find(); + if($coo_list['orderStatus'] == 4){ + $where_ref['elseId'] = $coo_list['hire_id']; + $where_ref['type'] = 1; + $where_ref['status'] = array('neq',9); + $refund = Db::name('Refund')->where($where_ref)->value('content'); + $coo_list['refund'] = $refund; + } } diff --git a/public/themes/simpleboot3/portal/member/ordertail.html b/public/themes/simpleboot3/portal/member/ordertail.html index 7d8abfe..0c50871 100644 --- a/public/themes/simpleboot3/portal/member/ordertail.html +++ b/public/themes/simpleboot3/portal/member/ordertail.html @@ -100,7 +100,7 @@ <div class="textcompany"> <p class="company_name">审核不通过原因</p> <div class="companytext_name"> - 抱歉,您的资料填写不完整 + {$list.refund} </div> </div> </div> -- libgit2 0.24.0