feat: 出库/借库记录记录并展示库位快照(DB加列+后端写入+记录页展示)
This commit is contained in:
@ -152,6 +152,8 @@ class TransService:
|
||||
borrow_signature=signature,
|
||||
remark=remark,
|
||||
expected_return_time=expected_return_time,
|
||||
# [新增] 记录借出时的库位快照
|
||||
location=getattr(stock, 'warehouse_location', None),
|
||||
status='borrowed',
|
||||
is_returned=False
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user