付款与收款
This commit is contained in:
@@ -95,4 +95,12 @@ class StockOrders extends Model
|
||||
{
|
||||
return $this->hasOne(User::class, 'id', 'salesperson_id');
|
||||
}
|
||||
|
||||
/**
|
||||
* 客户的标签
|
||||
*/
|
||||
public function payment()
|
||||
{
|
||||
return $this->belongsToMany(FinPaymentApply::class, 'fin_payment_stock', 'stock_id', 'payment_apply_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user