This commit is contained in:
CRM8000 2024-10-15 17:51:13 +08:00
parent 4dd1c3ea80
commit 876bbf18a6

View File

@ -72,7 +72,8 @@ class VoucherController extends PSIBaseController
* *
* JS: web\Public\Scripts\PSI\SLN0002\Voucher\MainForm.js * JS: web\Public\Scripts\PSI\SLN0002\Voucher\MainForm.js
*/ */
public function voucherList(){ public function voucherList()
{
if (IS_POST) { if (IS_POST) {
$us = new UserService(); $us = new UserService();
@ -80,7 +81,18 @@ class VoucherController extends PSIBaseController
die("没有权限"); 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(); $service = new VoucherService();
$this->ajaxReturn($service->voucherList($params)); $this->ajaxReturn($service->voucherList($params));