收款记录关联备货单
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
* 关联的备货单(通过中间表)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user