From 876bbf18a691aa14d7f6143eaa3a9985b30c065b Mon Sep 17 00:00:00 2001 From: CRM8000 Date: Tue, 15 Oct 2024 17:51:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=AD=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/VoucherController.class.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/web/Application/SLN0002/Controller/VoucherController.class.php b/web/Application/SLN0002/Controller/VoucherController.class.php index 6a324967..1ccfe494 100644 --- a/web/Application/SLN0002/Controller/VoucherController.class.php +++ b/web/Application/SLN0002/Controller/VoucherController.class.php @@ -72,7 +72,8 @@ class VoucherController extends PSIBaseController * * JS: web\Public\Scripts\PSI\SLN0002\Voucher\MainForm.js */ - public function voucherList(){ + public function voucherList() + { if (IS_POST) { $us = new UserService(); @@ -80,7 +81,18 @@ class VoucherController extends PSIBaseController die("没有权限"); } - $params =[]; + $params = [ + "orgId" => I("post.orgId"), + "year" => I("post.year"), + "month" => I("post.month"), + "ref" => I("post.ref"), + "inputUserId" => I("post.inputUserId"), + "commitUserId" => I("post.commitUserId"), + "status" => I("post.status"), + "page" => I("post.page"), + "start" => I("post.start"), + "limit" => I("post.limit") + ]; $service = new VoucherService(); $this->ajaxReturn($service->voucherList($params));