Commit Graph
100 Commits
Author SHA1 Message Date
zlwuandCursor 7cd6a87203 feat(web-admin): add OaAppHistoryDialog for per-app instance history
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 10:53:31 +08:00
zlwuandCursor 107bf66586 feat(web-admin): add fetchOaInstanceHistory API
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 10:51:50 +08:00
zlwuandCursor 38b4d6803f docs(sql): seed oa:start:history:all button permission
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 10:51:28 +08:00
zlwuandCursor 37e8ce52a7 feat(oa): expose GET /instances/history for start-page history
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 10:50:06 +08:00
zlwuandCursor 32824fdbf5 feat(oa): add list_instance_history with scoped preview fields
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 10:47:44 +08:00
zlwuandCursor 416c4a0838 test: add OA instance history list failing tests
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 10:44:39 +08:00
zlwu a2d4d3b0d5 提交 2026-08-25 16:47:43 +08:00
zlwu d2290eb92c 提交 2026-08-25 09:19:31 +08:00
zlwuandCursor 848517479d chore: update graphify after temporary QC external target code
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:41:54 +08:00
zlwuandCursor ef8a50a52b feat(web-admin): show external target on temporary QC task view section
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:41:53 +08:00
zlwuandCursor ae248961cc feat(web-admin): temporary QC external target code UI
Add source toggle in create/edit dialog, API types, and list/detail display.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:41:38 +08:00
zlwuandCursor caca786051 feat(backend): persist external target code on temporary QC work orders
Wire create/update API, list keyword search, and response dict field.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:40:22 +08:00
zlwuandCursor 562f35a839 feat(backend): resolve temporary QC target cell product vs external code
Extract pure mutual-exclusion helper to avoid circular imports in unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:38:56 +08:00
zlwuandCursor 83d417b6e6 docs(sql): add external_target_code on biz_qc_work_order
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:33:17 +08:00
zlwuandCursor 19b0346f2d docs: add temporary QC external target code implementation plan
Break the approved design into SQL, backend validation, API, and web-admin UI tasks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:30:33 +08:00
zlwuandCursor e527b15221 docs: add temporary QC external target code design
Record the agreed approach for hand-entered external QC object codes on temporary work orders.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:27:58 +08:00
zlwu c7a7b6fa45 提交 2026-08-19 16:33:51 +08:00
zlwuandCursor 08f3b76e24 fix(backend): default empty strings for optional month template codes
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 13:07:00 +08:00
zlwuandCursor 0a5bf28e58 feat: allow empty fields on qc material month template rows
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 13:06:35 +08:00
zlwuandCursor f7ee984d04 docs: add qc material month import design and implementation plan
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:50:46 +08:00
zlwuandCursor 6957952b4c feat(web-admin): add qc material month import template UI
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:50:37 +08:00
zlwuandCursor e4dcb43d77 feat(api): expose qc material month template endpoints
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:47:26 +08:00
zlwuandCursor 3aa8aebc29 feat(backend): add qc material month template CRUD preview and confirm
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:46:25 +08:00
zlwuandCursor 1d3f73d3b9 feat(backend): support non-committing qc material create and lookup by code
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:46:09 +08:00
zlwuandCursor ca4b9a15c5 feat(backend): add RK+date stock-in number allocator for qc materials
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:45:08 +08:00
zlwuandCursor 450b30966d feat(backend): add BizQcMaterialMonthTemplate model
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:41:58 +08:00
zlwuandCursor c591dab5ff docs(sql): add qc material month import template table
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 12:40:34 +08:00
zlwuandCursor 6c75b2d139 chore: update graphify after storage release dual-gate.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:51:47 +08:00
zlwuandCursor e5128a087a feat: show both release verdicts on protocol sample cards.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:50:45 +08:00
zlwuandCursor 8280e4bc24 feat: show production and QC verdicts in storage release view dialog.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:47:32 +08:00
zlwuandCursor 3388c1efdb feat: submit storage release reviews for one side only.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:46:39 +08:00
zlwuandCursor 021abd8283 feat: split storage release list by review role and dual conclusions.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:45:27 +08:00
zlwuandCursor 2c0bee3941 feat: add dual-side fields to storage release frontend API.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:43:55 +08:00
zlwuandCursor 9cc66bdc80 feat: add production and QC menus for storage release review.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:43:22 +08:00
zlwuandCursor 50c41861bf feat: require reviewSide and write menus on storage release APIs.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:42:35 +08:00
zlwuandCursor 6143a99133 feat: apply dual-gate storage release submit, auto store, and unstore.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:39:00 +08:00
zlwuandCursor 217549884d feat: expose dual-side storage release fields in row dict and schemas.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:33:42 +08:00
zlwuandCursor b7e003220b feat: add production and QC review columns on storage release model.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:30:30 +08:00
zlwuandCursor 742021be3c docs: add storage release dual-gate schema and data migration SQL.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:27:59 +08:00
zlwuandCursor 309b781c0e feat: add dual-gate storage release pure functions and tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:22:15 +08:00
zlwuandCursor f880aa7d8a docs: add storage release dual-gate implementation plan.
Break the approved design into TDD tasks covering schema, APIs, three menu entries, and UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:20:10 +08:00
zlwuandCursor e9942af37f docs: record dual-gate storage release review design.
Capture production and QC dual approval, three menu entry points, auto store and rollback, and historical data rules before implementation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 11:15:54 +08:00
zlwu cd8ab170ba 提交 2026-08-19 10:45:07 +08:00
zlwu 1618035e4b 提交 2026-08-19 09:18:20 +08:00
zlwu 21e772db3a 提交 2026-08-18 17:23:46 +08:00
zlwuandCursor 0707a4c95e docs: add production task set design spec and implementation plan
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 16:16:57 +08:00
zlwuandCursor 4c45e52296 chore: update graphify output after production task set
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 16:16:49 +08:00
zlwuandCursor 7645ac77d2 feat: save work-order tasks as a production task set
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 16:16:28 +08:00
zlwuandCursor 893ff58441 feat: dispatch production tasks from a reusable set
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 16:16:22 +08:00
zlwuandCursor 11eb9874af feat: add production task set maintenance page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 16:16:12 +08:00
zlwuandCursor d60d4bd4b6 feat: add production task set API client and item mapping
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 16:16:04 +08:00
zlwuandCursor 49e208c241 feat: expose production task set REST APIs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 15:43:38 +08:00
zlwuandCursor a78dd29f40 feat: implement production task set CRUD and batch dispatch
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 15:43:38 +08:00
zlwuandCursor d0ea38c133 test: add production task set item helper coverage
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 15:38:52 +08:00
zlwuandCursor 29e8adb943 feat: add production task set SQLAlchemy models
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 15:38:09 +08:00
zlwuandCursor d850fd0027 fix: paste production task set SQL into the production sync script
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 15:33:08 +08:00
zlwuandCursor 9ac29e6ad7 feat: add production task set schema and menu SQL
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 15:11:44 +08:00
zlwu d2792174b5 提交 2026-08-18 14:40:15 +08:00
zlwuandCursor a7fbaa8fd9 chore: update graphify after waste-output feature.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 11:34:27 +08:00
zlwuandCursor f42f78f134 feat(web-admin): add production waste-output read-only list page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 11:32:39 +08:00
zlwuandCursor c78d02a348 feat: wire production waste-output API route and menu mirror.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 11:30:16 +08:00
zlwuandCursor 351a742c07 fix(docs): restore pending production SQL and append waste-output menu.
Task 3 had replaced the pending sync file; reinstate prior scripts and keep the new waste-output menu migration at the end.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 11:29:25 +08:00
zlwuandCursor 5ec7537b92 docs(sql): add production waste-output menu migration.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 11:28:59 +08:00
zlwuandCursor 301df76c65 feat(backend): expose GET /production-waste-outputs list API.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 11:06:56 +08:00
zlwuandCursor 79f9649610 feat(backend): add production waste-output list query helpers.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 10:54:00 +08:00
zlwuandCursor a089031994 docs: add production waste-output list implementation plan.
Break the approved design into TDD-backed backend list helpers, menu SQL, and a P01 read-only web-admin page.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 10:48:56 +08:00
zlwuandCursor af337562ae docs: add production waste-output list design.
Capture the agreed read-only P01 list under Production Management (sibling to cleanroom garment), querying step outputs of type FQW without a new business table.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 10:45:23 +08:00
zlwuandCursor 304469f6fa feat(web-admin): add remaining-stock pills on QC material list.
Filter batches via stockStatus capsules before stock-in; default to available stock.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 09:48:04 +08:00
zlwuandCursor d8b61c523d feat(web-admin): add stockStatus to QC material batch list API.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 09:43:07 +08:00
zlwuandCursor f014e3f88a feat(backend): filter QC material batches by stockStatus.
Support available (remaining_qty > 0) and exhausted (remaining_qty = 0) on the batch list API.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 09:41:10 +08:00
zlwuandCursor 0f461851b5 feat(backend): add QC material batch stockStatus helpers.
Normalize available/exhausted filter values and document remaining_qty matching for list filtering.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 09:36:33 +08:00
zlwuandCursor 5fc460c69a docs: add QC material remaining-stock filter implementation plan.
Break the approved design into backend stockStatus filtering and frontend toolbar capsule tasks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 09:33:41 +08:00
zlwuandCursor 8e689ee771 docs: add QC material remaining-stock filter design.
Capture the approved approach for separating used-up and available batches via toolbar capsules and a backend stockStatus query param.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 09:31:33 +08:00
zlwuandCursor 00af72e11b docs: mark QC inspection item template plan tasks done.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:47:42 +08:00
zlwuandCursor bb81170b89 chore: sync baseline SQL and graphify for item templates.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:47:05 +08:00
zlwuandCursor ea5bddb1dc feat(web-admin): apply and save QC item templates in configure dialog.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:47:01 +08:00
zlwuandCursor 6da51df503 feat(web-admin): register inspection item template route.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:47:00 +08:00
zlwuandCursor 4a1444526a feat(web-admin): add inspection item template list page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:47:00 +08:00
zlwuandCursor e80dcd8519 feat(web-admin): add QC inspection item template API module.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:46:59 +08:00
zlwuandCursor 52ec964f88 feat(api): expose QC inspection item template endpoints.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:46:59 +08:00
zlwuandCursor bc62ac796a feat(backend): add QC inspection item template CRUD helpers.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:46:59 +08:00
zlwuandCursor 4b7d026d4e feat(backend): add BizQcInspectionItemTemplate model.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:46:59 +08:00
zlwuandCursor 15af9894bc docs(sql): add QC inspection item template table and menu.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:40:50 +08:00
zlwuandCursor bf8e8e219f docs: add QC inspection item template implementation plan.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:37:28 +08:00
zlwuandCursor 6e48c4f372 docs: add QC inspection item template design.
Capture the agreed master-data + configure-dialog apply/save-as approach before implementation planning.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:32:24 +08:00
zlwuandCursor 3a6e2ca128 fix(sql): avoid MySQL 1093 on production pre-transit role grants.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:10:20 +08:00
zlwuandCursor b6213a6e06 docs: mark production pre-transit sample plan tasks done.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:02:34 +08:00
zlwuandCursor 5cc0bd840d chore: update graphify after production pre-transit sample.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 12:02:28 +08:00
zlwuandCursor 781102f880 docs(sql): add production pre-transit sample menu and grants.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 11:56:45 +08:00
zlwuandCursor 9a0f48fbfd fix: allow production perm on shared pre-transit APIs.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 11:55:46 +08:00
zlwuandCursor 0b83fb21b9 feat: register production pre-transit sample route.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 11:54:44 +08:00
zlwuandCursor dcf4f83ed0 feat: copy pre-transit sample views under production.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 11:53:29 +08:00
zlwuandCursor b8a89a81f9 docs: plan production pre-transit sample menu copy.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 11:52:36 +08:00
zlwuandCursor 5f9d62fa04 docs: design production copy of pre-transit sample board.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 11:51:28 +08:00
zlwu 1bdf979a70 提交 2026-08-14 16:01:47 +08:00
zlwuandCursor 85b0b454bf docs: note WeChat notify entry migration to dedicated menu
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 12:23:01 +08:00
zlwuandCursor eb337e6ce3 fix(mobile-h5): remove WeChat notify shortcut from home header
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 12:22:36 +08:00
zlwuandCursor 88d863288f fix(mobile-h5): remove follow-MP entry from login page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 12:22:00 +08:00
zlwuandCursor ac197ad90e docs(sql): seed mobile menu for WeChat notify setup
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 12:21:32 +08:00
zlwuandCursor 01186adb46 fix(mobile-h5): show follow confirm after opening official account profile
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 12:18:23 +08:00