From e408f7e20e607551c7f5a2f324631763b42dc0bc Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Wed, 7 Jan 2026 17:38:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E5=93=81=E9=A2=86=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/InvRequisitionService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/service/InvRequisitionService.php b/app/common/service/InvRequisitionService.php index 646a7d9..20564e6 100644 --- a/app/common/service/InvRequisitionService.php +++ b/app/common/service/InvRequisitionService.php @@ -128,7 +128,7 @@ class InvRequisitionService $this->processRequisitionAttachmentItems($created, $data['attachment']); $res = $this->postProcess('Store', $created); - $manage_user_id = InvItem::where('id',$data['items']['item_id'])->value('manage_user_id'); + $manage_user_id = InvItem::where('id',$data['items'][0]['item_id'])->value('manage_user_id'); $approval = [ 'id' => $res['id'], //申请单id 'applicant_id' => $res['applicant_id'], //申请人id