|
|
36e9f500aa
|
feat(borrow): 借库未归还直接报废功能(关联报废单流程)
后端:
- trans_service 新增 scrap_borrow 方法:未归还借用标记为 scrapped,
扣减总库存 stock_quantity(可用已在借出时冻结),生成 TransScrap 报废记录
- transactions.py 新增 POST /borrow/scrap 接口(复用 op_return:operation 权限,库管/主管可操作)
- scrap.py query_records 支持 trans_borrow 来源的物料名解析 + 行级隔离
前端:
- records.vue 未归还记录新增「报废」按钮(库管/主管可见)
- 报废弹窗:勾选明细 + 填报废原因 + 二次确认
- 状态显示新增「已报废」标签;整单所有明细报废时标记为 scrapped
|
2026-08-31 10:21:28 +08:00 |
|
|
|
63c36d1466
|
fix: 借库记录签名改回 null(始终可见),暂等 sys_element 补齐权限码
|
2026-07-21 09:59:14 +08:00 |
|
|
|
4ab7b6f541
|
fix: borrow/return/records permissionMap 基础列改为 null 始终可见,对齐 inbound 模式,移除 records alwaysVisible 硬编码
|
2026-07-21 09:40:58 +08:00 |
|
|
|
6ad00884ba
|
借库列表:主子表聚合 + 展开行内嵌明细
|
2026-06-12 11:07:23 +08:00 |
|
|
|
d736d5d4a9
|
fix: 彻底移除 op_records 字段级权限过滤,所有字段对普通角色可见
|
2026-05-15 10:40:53 +08:00 |
|
|
|
1e341ab6aa
|
版本变更3.20
|
2026-05-15 10:07:12 +08:00 |
|
|
|
a8119dd577
|
fix(permission): force inject view-level permission checks for all unprotected root nodes
|
2026-03-25 10:21:28 +08:00 |
|
|
|
71e5f075d2
|
feat: implement composite debounced search with prepended select and wipe out duplicate root permission nodes
|
2026-03-20 10:26:45 +08:00 |
|
|
|
990399a408
|
feat: implement cross-table search and debounced dynamic search for borrow and return records
|
2026-03-20 09:58:42 +08:00 |
|
|
|
7a4717ce21
|
fix: restrict overdue warning color strictly to the countdown text and remove row-level style pollution
|
2026-03-19 11:50:04 +08:00 |
|
|
|
8db1015f99
|
fix: implement traffic-light color warning and correct ascending sort for overdue borrow records
|
2026-03-19 11:45:27 +08:00 |
|
|
|
b74464df6b
|
feat: add descending sort by return date and color-coded warning for impending returns
|
2026-03-19 11:40:38 +08:00 |
|
|
|
1e38696e68
|
feat: support indefinite borrow period for long-term asset allocation
|
2026-03-18 10:57:21 +08:00 |
|
|
|
79d4a365e0
|
feat: add partial return support with returned_quantity tracking
|
2026-03-18 10:41:19 +08:00 |
|
|
|
42b0cddd3e
|
feat: add column permission checks to transaction records table
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
|
2026-02-27 14:07:48 +08:00 |
|
|
|
a2b1a62132
|
feat: add RBAC and field masking for borrow/return/records pages
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
|
2026-02-27 14:05:52 +08:00 |
|
|
|
04ee938cd1
|
借库逻辑实现
|
2026-02-06 17:11:47 +08:00 |
|