收款记录关联备货单

This commit is contained in:
2025-09-24 17:55:16 +08:00
parent 82e4435a2c
commit e0b11718a7
-8
View File
@@ -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');
}
/**
* 关联的备货单(通过中间表)
*/