From e0b11718a744fc3d1dd51ee53d6379ba1ecd4018 Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Wed, 24 Sep 2025 17:55:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E6=AC=BE=E8=AE=B0=E5=BD=95=E5=85=B3?= =?UTF-8?q?=E8=81=94=E5=A4=87=E8=B4=A7=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/FinReceipt.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/common/model/FinReceipt.php b/app/common/model/FinReceipt.php index dbefafa..7347be0 100644 --- a/app/common/model/FinReceipt.php +++ b/app/common/model/FinReceipt.php @@ -55,14 +55,6 @@ class FinReceipt extends Model return $this->belongsTo(FinPaymentApply::class, 'payment_apply_id', 'id'); } - /** - * 备货单 - */ - public function stock() - { - return $this->belongsToMany(StockOrders::class, 'fin_payment_stock', 'receipt_id', 'stock_id'); - } - /** * 关联的备货单(通过中间表) */