回筐、账单完成

This commit is contained in:
liu
2026-08-14 01:19:47 +08:00
parent e35c951a59
commit bf8ac68391
39 changed files with 1392 additions and 963 deletions
+5 -3
View File
@@ -38,6 +38,8 @@ class StoreModel extends Model
protected $casts = [
'level_id' => 'integer',
'payment_cycle_days' => 'integer',
'pending_box_num' => 'integer',
'pending_tray_num' => 'integer',
'status' => 'integer',
];
@@ -66,10 +68,10 @@ class StoreModel extends Model
}
/**
* 门店账单
* 门店账单(采购单完成后按门店生成)
*/
public function statements(): HasMany
public function bills(): HasMany
{
return $this->hasMany(StatementModel::class, 'store_id', 'id');
return $this->hasMany(BillModel::class, 'store_id', 'id');
}
}