This commit is contained in:
Your Name
2026-04-11 18:06:02 +08:00
parent 4909ec6daa
commit abcecf66e7
325 changed files with 4199 additions and 633 deletions
@@ -925,7 +925,7 @@ class OrderLogic
}
/**
* 某诊单下已支付支付单,供关联业务订单多选(主管/诊单医助看该诊单全部;否则仅本人创建)
* 某诊单下可关联的支付单(待支付/已支付),供关联业务订单多选(主管/诊单医助看该诊单全部;否则仅本人创建)
* 已占用(关联到未撤回/未取消的业务订单)的支付单会排除;编辑某业务订单时传 $exceptPrescriptionOrderId 以保留当前单已选中的项
*
* @return array<int, array<string, mixed>>
@@ -941,7 +941,7 @@ class OrderLogic
}
$q = Order::where('patient_id', $diagnosisId)
->where('status', 2)
->whereIn('status', [2]) // 1=待支付, 2=已支付, 5=待审核
->whereNull('delete_time');
if (!self::isOrderListSupervisor($adminId, $adminInfo)) {