物品修改

This commit is contained in:
2026-02-25 14:46:34 +08:00
parent 30e04b3d4c
commit 73ce99edfb
3 changed files with 13 additions and 3 deletions
+10 -3
View File
@@ -24,12 +24,19 @@ class InvStockLog extends Model
'operator_id',
'operator_name',
'remark',
'updated_at',
'created_at',
];
protected $casts = [
'created_at' => 'timestamp',
];
/**
* Indicates if the model should be timestamped.
*
* @var bool
*/
public $timestamps = true;
protected $dateFormat = 'U';
public const CHANGE_TYPE_IN = 1; // 入库
public const CHANGE_TYPE_OUT_CLAIM = 2; // 出库(领用)