Commit Graph

39 Commits

Author SHA1 Message Date
DXC
48f2011a38 fix: 盘点草稿已盘数量统计兼容字段名 quantity 2026-04-24 13:32:46 +08:00
DXC
996056d46a fix: 修复库存盘点已盘数量卡在500的问题 2026-04-24 13:19:57 +08:00
DXC
a849e14b2c refactor(orm): 将所有的批量 delete/update 重构为对象级操作,以确保触发 SQLAlchemy 审计事件 2026-04-20 15:43:48 +08:00
DXC
0d8f697df4 fix(stocktake): enforce session_id in resume, make missing generation idempotent, update UI to show SN, and fix excel time offset 2026-04-03 09:42:51 +08:00
DXC
43e1d0aa55 fix(stocktake): strictly isolate stocktake drafts by session_id in list and finish generation to prevent historical data mixing 2026-04-03 09:25:52 +08:00
DXC
6aec571775 fix(stocktake): resolve 500 error caused by missing batch or sn attributes using strict getattr fallback 2026-04-03 09:05:48 +08:00
DXC
c361d25ea0 fix(stocktake): display batch number in scanning dialog and fix empty uncounted items in Excel export 2026-04-02 19:06:19 +08:00
DXC
a52ced0375 fix(backend): resolve DetachedInstanceError in audit_log, add pessimistic locks for stock adjustments, and eliminate N+1 queries with eager loading 2026-04-02 18:44:12 +08:00
DXC
b2ce9d31f8 fix(stocktake): replace hardcoded 'admin' with actual current user in excel export 2026-03-27 09:04:13 +08:00
DXC
2a27f2e0df feat(stocktake): implement strict blind stocktake logic with hidden system qty, editable count and status filters 2026-03-26 17:42:51 +08:00
DXC
c8810891d8 fix(api): globally replace invalid material_base/material_name attributes with correct base relationship 2026-03-26 17:14:26 +08:00
DXC
93dc375ba4 perf: replace client-side pagination with server-side pagination in stock selection dialog and fix duplicate variable in semi.vue 2026-03-23 14:52:01 +08:00
DXC
c5974ff05c fix: relax permission requirement on stock list api to unblock outbound operations 2026-03-23 14:22:52 +08:00
DXC
7c9331d78a perf: implement optimistic UI for scanner, disable auto-camera, and sort excel by SKU 2026-03-23 09:51:59 +08:00
DXC
53c198f363 feat: fix stocktake deletion bug, and add pagination, search, sorting to stocktake lists 2026-03-19 16:21:09 +08:00
DXC
b37049a4d7 feat: add generate-missing logic to identify unscanned stock as inventory loss 2026-03-19 15:34:54 +08:00
DXC
7867fc5e40 fix: resolve TypeError between float and Decimal in stocktake excel export 2026-03-19 11:47:31 +08:00
DXC
a32d4f6b65 fix: resolve 500 error on excel export by aligning headers and data row lengths for remark field 2026-03-19 11:41:53 +08:00
DXC
a19167e804 fix: add missing remark header to stocktake excel export 2026-03-19 11:36:48 +08:00
DXC
0bc0908b9b fix: ensure remark field is properly parsed and saved to database during stocktake update 2026-03-19 11:27:40 +08:00
DXC
367dceef31 feat: add master summary sheet to stocktake excel export 2026-03-18 14:57:12 +08:00
DXC
f6153fc10d feat: add unscanned items sheet to stocktake export and fix user real name mapping 2026-03-18 14:48:49 +08:00
DXC
a5f4d32306 fix: map correct user real name for stocktake excel export 2026-03-18 14:43:24 +08:00
DXC
41a4518911 fix: map correct database fields for spec and location in excel export 2026-03-18 14:37:09 +08:00
DXC
00781422eb fix: correct excel export formatting (timezone, spec, user, location) and add auto-polling for collaborative stocktake 2026-03-18 14:22:01 +08:00
DXC
ac15ef74db fix: resolve MaterialBase sku property error and add dynamic refresh after stock adjustment 2026-03-18 14:01:36 +08:00
DXC
33969b8336 fix: support stock adjustment for items without stocktake draft 2026-03-18 13:53:55 +08:00
DXC
e08012d9dd fix: add missing imports for openpyxl and patch draft resolution in stock adjustment 2026-03-18 13:24:16 +08:00
DXC
49a66f9be3 fix: resolve 500 error in excel export and 404 in stock adjust 2026-03-18 11:46:38 +08:00
DXC
54ea476206 refactor: unify variance calculation and implement backend Excel export with borrowed assets sheet 2026-03-18 11:10:54 +08:00
DXC
332f928c78 refactor: simplify stocktake flow without DB schema changes and remove invalid field queries 2026-03-13 10:45:37 +08:00
DXC
13c7357b6f fix: resolve sqlalchemy f405 type casting error on stocktake query 2026-03-13 10:33:17 +08:00
DXC
d61de5cfc9 fix: send correct numeric user_id to stocktake draft api to prevent 500 error 2026-03-13 10:25:17 +08:00
DXC
7e23141870 refactor: redesign stocktake flow to require manual discrepancy audit and individual adjustments 2026-03-13 09:59:01 +08:00
dxc
4b29912f6f feat: add borrowed quantity column and update stocktake export formulas
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-28 11:55:19 +08:00
dxc
38f0bbe41d feat: add RBAC for inventory stocktake module
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-27 13:36:10 +08:00
dxc
387c8973d6 盘库盲盘以及导出excel实现 2026-02-06 14:30:14 +08:00
dxc
489e62e55b 摄像头逻辑进行修改,更改分辨率进行快速的读取识别 2026-02-06 11:28:48 +08:00
dxc
e027ebd4a9 盘库操作初设计 2026-02-06 10:16:37 +08:00