Commit Graph
196 Commits
Author SHA1 Message Date
zlwuandCursor 33c4408557 feat: expose lineage QC API and wire viewer in outbound material dialog
Add GET /cell-products/{id}/lineage-qc, frontend client, readonly dialog,
and a 查看质检 action on outbound cell rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 09:55:51 +08:00
zlwuandCursor 40d93934a9 feat: add cell product lineage QC aggregate loader
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 09:54:28 +08:00
zlwuandCursor f2e582b4dc feat: add lineage node flatten helper for cell product QC view
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 09:49:35 +08:00
zlwu b569643581 提交 2026-07-28 21:33:15 +08:00
zlwuandCursor b105bd9b7d chore: update graphify and mark batch outbound plan complete
Refresh knowledge graphs after storage facility batch outbound changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 19:15:35 +08:00
zlwuandCursor 0a055557cb feat(storage): expose storedOccupancyId on shelf slot enrichment
Enable web-admin batch outbound to call existing remove occupancy API per selected cell.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 19:11:24 +08:00
zlwuandCursor d323e09894 chore: track app.pid and misplaced graphify AST caches
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 18:48:07 +08:00
zlwuandCursor a3af039e74 feat: 质检工单结论、库位批量/筛选与协议样本接收质检摘要
落库并展示质检工单级结论(可编辑/任务派生),库位树支持批量新增子节点与货架格子检索,协议/捐赠列表补充接收与门禁质检摘要,并同步生产物料与工单卡片展示优化。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 18:46:24 +08:00
zlwu bff544404f 提交 2026-07-27 19:47:13 +08:00
zlwuandCursor 2e6e1f47d6 feat(oa): add dept select FormCreate control with print formatting
Register type=dept on main app and oa-fc-host, with PC tree-select and
narrow drawer pickers storing {id,name} path snapshots; format dept values
in print and related-summary flatten.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 18:32:44 +08:00
zlwuandCursor 45d84d9642 feat(oa): reject invalid dept form_data on start
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 18:27:27 +08:00
zlwuandCursor babe26a23d fix(oa): coerce dept max prop when validating form_data
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 18:26:57 +08:00
zlwuandCursor 260a461d05 feat(oa): validate dept control form_data shapes
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 18:24:28 +08:00
zlwuandCursor d5b0f2d797 chore(graphify): sync knowledge graph artifacts after protocol fix
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 17:50:02 +08:00
zlwuandCursor 57487fd0dc fix(protocol): save DJ pay details without blocking on due-sum mismatch
Persist payment before samples to avoid consuming sample codes on validation failure, soft-delete samples on create rollback, and surface DJ due-amount mismatch as a hint only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 17:49:36 +08:00
zlwuandCursor 1fafb4a157 test(oa): cover auto-pass or/and/consecutive/commentRequired cases
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 17:43:18 +08:00
zlwuandCursor 8bd45561b7 feat(oa): auto-pass approval when assignee is initiator
Extract approve core and hook after creating approval tasks when the advanced setting is enabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 17:42:41 +08:00
zlwuandCursor d69388573a test(oa): add failing auto-pass-when-approver-is-initiator case
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 17:41:56 +08:00
zlwu 7f4c9720e9 提交 2026-07-25 09:37:24 +08:00
zlwu 2de86b0500 提交 2026-07-24 11:55:03 +08:00
zlwu 89fda927a2 提交 2026-07-23 18:01:11 +08:00
zlwuandCursor 5ac5952c55 feat(oa): accept initiatorSelectByNode on start and flow-preview APIs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-23 16:10:36 +08:00
zlwuandCursor 71424e9dd1 feat(oa): resolve initiator_select per node map in engine
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-23 16:05:25 +08:00
zlwuandCursor cf270630fe feat(oa): add oa_instance.initiator_select_json for per-node self-select
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-23 16:00:49 +08:00
zlwuandCursor dc54170771 feat(oa): expose POST /tasks/{id}/transfer API
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-23 15:14:35 +08:00
zlwuandCursor aaff660d56 feat(oa): add transfer_task to reassign pending approval
Close the current assignee's task as transferred and create a same-node pending task for the target user; include transferred in done lists.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-23 15:12:14 +08:00
zlwuandCursor 03b47fb266 feat(oa): emit relatedIds when flattening nested relatedApproval fields
Screen jump and print recursion need the instance id list alongside the
「已关联 M 条」summary text without changing form_data shape.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 22:58:56 +08:00
zlwuandCursor 88982878b2 feat(oa): show attachment URLs in related-approval summaries
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 21:41:51 +08:00
zlwuandCursor 14f00d5d3a feat(oa): persist relatedApproval links with field_key on start
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 17:01:53 +08:00
zlwuandCursor f2bf26cd8b feat(oa): add related-approval candidate and summary APIs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 16:48:53 +08:00
zlwuandCursor 5147d79747 feat(oa): add related-approval flatten and extract helpers
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 16:46:21 +08:00
zlwu b8b0446542 提交 2026-07-22 10:43:55 +08:00
zlwu f9c9577843 提交 2026-07-22 09:25:27 +08:00
zlwu c8fe0cdc20 提交 2026-07-21 15:23:59 +08:00
zlwu a4fd31f254 提交 2026-07-16 17:37:26 +08:00
zlwu 846aea70bb 提交 2026-07-16 13:48:58 +08:00
zlwuandCursor 381315173d merge: bring storage-release QC completed filter into OA deploy branch
Default pending tab to QC-complete samples with optional filter.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 12:20:30 +08:00
zlwuandCursor 93d148f2d4 chore: update graphify after storage-release QC filter
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 12:16:18 +08:00
zlwuandCursor 1ec3d0d775 feat(storage-release): filter pending list by QC work order completion
Add qcWorkOrderCompleted query param and EXISTS-based sample_code filter
so pending reviews can default to QC-complete samples only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 12:11:25 +08:00
zlwu 93a83d260f 提交 2026-07-16 11:45:34 +08:00
zlwuandCursor f6efca8fdf merge: bring storage release review pending/reviewed tabs into OA deploy branch
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 11:42:45 +08:00
zlwuandCursor 730d0300d1 feat: split storage release review list into pending and reviewed tabs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 11:21:08 +08:00
zlwuandCursor 473f345a46 feat: add reviewPhase filter for storage release review list
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 11:18:05 +08:00
zlwuandCursor 199b401dad chore: update graphify after oa condition-from-form
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 17:09:45 +08:00
zlwuandCursor 9ae239347a feat(oa): validate visual condition rules on publish
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 17:03:13 +08:00
zlwuandCursor e1c41af308 feat(oa): add condition field helpers and rules-match tests
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 16:59:08 +08:00
zlwu 28e59a2262 提交 2026-07-15 16:20:48 +08:00
zlwuandCursor c9711d0dce feat(oa): terminate on return and copy form to start a new instance
Align with DingTalk: returned/rejected/cancelled are terminal; progress
shows return on the approver task only; done list includes returned;
deprecate same-instance resubmit and source-instance linking.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 15:19:20 +08:00
zlwuandCursor 26800865cd feat(oa): add return, resubmit, and multi-round approval progress
Align with DingTalk semantics: reject ends the instance, return keeps it for initiator edits, and revoke-and-resubmit creates a linked new instance. Progress timeline projects rounds via oa_instance_event.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 14:53:52 +08:00
zlwuandCursor 98beade090 feat(oa): project approval progress for instance detail
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 14:34:33 +08:00