采购单优化

This commit is contained in:
liu
2026-08-12 14:38:20 +08:00
parent ce1f36b5b4
commit dadfdc1511
30 changed files with 1059 additions and 1441 deletions
+3 -1
View File
@@ -20,6 +20,7 @@ class StoreOrderItemModel extends Model
protected $fillable = [
'order_id',
'purchase_id',
'store_id',
'product_id',
'category_id',
@@ -40,6 +41,7 @@ class StoreOrderItemModel extends Model
protected $casts = [
'order_id' => 'integer',
'purchase_id' => 'integer',
'store_id' => 'integer',
'product_id' => 'integer',
'category_id' => 'integer',
@@ -94,7 +96,7 @@ class StoreOrderItemModel extends Model
}
/**
* 快照供应商
* 供应商
*/
public function supplier(): BelongsTo
{