zlwu
0e64b413ce
feat(oa): add permission-controlled shared finance remarks to done center
...
Share one finance remark per approval instance across Web and mobile. Require the explicit permission and the current tenant user's own done task for every read and write; keep general instance responses free of financial remarks.
Add idempotent MySQL migration without automatic role grants, cross-end editors, isolated backend and frontend tests, and rollout requirements. Refs #7 ; platform validation and target database migration remain pending.
2026-10-30 20:42:05 +08:00
zlwu
f6cfce3315
fix(market): restrict protocol managers to region leaders
...
Use a dedicated tenant-scoped active region leader list instead of all region staff. Preserve historical labels without offering them as choices and remove the ordinary-member default during region changes.
Refs #1 . Add regression coverage for tenant isolation, inactive records, deduplication, historical labels and region cascades.
2026-10-30 16:11:17 +08:00
zlwu and Cursor
5e563a6669
fix: 子表保存改为就地同步,避免整批换 id 打断外键。
...
协议样本、生产产出和盘点明细按行更新并保留原 id;补齐存储证明质检预填、离职人员显示名,以及样本采集通知模板字段。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-28 10:51:53 +08:00
zlwu and Cursor
d66e55af65
fix: 小程序新增样本发微信通知,并放宽部分 Web 菜单强校验。
...
移动端协议保存后调度样本采集服务号通知;收款确认/储存证等写接口改为运营端登录即可。同步日期字段规范化与 OA 日期选择器复开修复。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-26 16:02:47 +08:00
zlwu and Cursor
5dad1bb0e3
fix: 协议子资源单事务保存,并补齐样本编码/OA/质检等近期能力
...
锁定缴费校验失败时整单回滚,避免样本半成功落库;前端禁止删除锁定缴费样本,改码走更正编码。同步落地样本更正、采集微信通知、OA提及未读、细胞产品套餐与相关迁移文档。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-26 11:02:25 +08:00
zlwu and Cursor
063727a7d8
feat: 完善协议缴费分期、样本编码搜索与鸿蒙附件选择
...
支持移动端样本编码远程关键字检索、分期起始日刷新与鸿蒙微信附件选取,并同步收款账户选择、角色页与相关设计文档。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-22 09:23:17 +08:00
zlwu and Cursor
f76ef8a6e5
feat: 发起审批时拒绝不属于发起人的收款账户
...
直接发起和草稿提交都走 start_instance,因此只在这一处核对账户归属。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-21 19:03:38 +08:00
zlwu and Cursor
7aa685840f
feat: 收款账户选项只返回当前登记人并带上所属人姓名
...
发起校验能识别已删除、他租户和他人账户,编辑账户不会改掉 create_by。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-21 18:45:43 +08:00
zlwu and Cursor
11a46bf1eb
feat: 顺丰运费保存单号并清空金额,已结算批次禁止改关联
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-21 18:25:54 +08:00
zlwu and Cursor
dd00dba39c
fix: 运费金额为空时返回空值,便于顺丰批次展示月结
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-21 18:08:11 +08:00
zlwu and Cursor
9325f8cf61
feat: 抽出顺丰月结的单号、金额和结算规则,供网页与市场端共用
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-21 17:45:38 +08:00
zlwu and Cursor
ac8e471aca
fix: align sample registration, freight scope, and OA datetime display
...
Let customer-service quick register write storage, certificate, and insurance separately without extra menu or data-scope checks. List freight by document data scope like the web admin, allow protocol staff outside the collection region, and pad OA datetimes to seconds so PC date pickers can show historical minute values.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-20 17:30:30 +08:00
zlwu
03fcc01d6d
提交
2026-10-17 17:36:14 +08:00
zlwu
be2226e4ca
提交
2026-10-17 11:46:53 +08:00
zlwu and Cursor
b042266c5b
fix(oa): stabilize bank receipt list order via order_num
...
Preserve PUT item sequence when create_time ties on replace.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-16 16:56:09 +08:00
zlwu and Cursor
5e38dc1eca
feat(oa): add bank receipt attachment service for instances
...
Store multiple bank receipts on biz_attachment keyed by instance id.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-16 16:49:33 +08:00
zlwu and Cursor
a148961b55
feat(oa): add department filter on history list and export
...
Allow filtering OA history by initiator department including descendants, while keeping the existing all-history permission scope.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-16 16:23:18 +08:00
zlwu
06d021807b
提交
2026-10-15 23:21:07 +08:00
zlwu
ecde2ba07d
提交
2026-10-15 14:27:42 +08:00
zlwu and Cursor
b9d981d46b
fix(mobile-oa-h5): finish tagType wiring for market detail sections
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-15 10:07:32 +08:00
zlwu
3950b5c334
提交
2026-10-14 12:32:03 +08:00
zlwu and Cursor
be22c37196
feat(backend): persist and return samplePayments for market protocols
...
Mobile protocol create/update saves v2 per-sample payments; detail
includes samplePayments for edit hydration.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-13 15:23:24 +08:00
zlwu
cc843535f5
提交
2026-10-13 15:18:01 +08:00
zlwu and Cursor
bee2c0d193
feat(backend): persist monthly verify no and expose research list fields
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-13 13:14:09 +08:00
zlwu and Cursor
9c264d7942
feat(backend): enrich cell-storage sample list with customer-service wide columns.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-13 10:57:55 +08:00
zlwu and Cursor
aeadaa9919
feat(backend): extend sample-info quick-register for sms/followup/fulfillment/all.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-13 10:56:41 +08:00
zlwu and Cursor
50400ad19c
feat(backend): write storage cert and insurance at sample level in quick-register.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-13 10:52:45 +08:00
zlwu and Cursor
edabf70287
feat(backend): upsert sample customer-service fields with empty-skip merge.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-13 10:50:36 +08:00
zlwu and Cursor
d676bfadd7
feat(backend): add customer-service dict list and ensure-on-write helpers.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-13 10:47:11 +08:00
zlwu and Cursor
af992b5680
fix: drop 付款确认中 from sample payment progressStatus
...
Sample-level 缴费进度 is now only 待缴费 / 部分已缴 / 已缴清.
Transfer jfqrz still blocks canConfirm but no longer surfaces as progress.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-12 18:26:36 +08:00
zlwu and Cursor
727002761d
fix(backend): align pay-status user messages with 付款 wording
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-12 18:10:14 +08:00
zlwu and Cursor
b8b20dcebe
fix(backend): count period paid amount as yjf only
...
Align displayPaidAmount/arrears with business rule: 已缴费 excludes
已付款 and 付款确认中 transfers.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-12 18:01:06 +08:00
zlwu
54ec8e1cd1
fix: serialize mobile presign conversion amounts.
2026-10-11 14:02:20 +08:00
zlwu
e0dc7f4cee
fix: preserve mobile presign decimal precision.
2026-10-11 13:50:47 +08:00
zlwu
06255d1e41
fix: harden mobile presign contracts and authorization.
2026-10-11 13:22:04 +08:00
zlwu
81bda0cb79
fix: scope user organization labels to the current tenant.
2026-10-11 12:37:32 +08:00
zlwu
02d1e16036
fix: scope authentication roles to the current tenant.
2026-10-11 12:25:50 +08:00
zlwu
3f40caa1cd
fix: enforce atomic presign status and action transitions.
2026-10-11 12:06:22 +08:00
zlwu
337d31bbe8
feat: integrate required mobile market backend dependencies.
2026-10-11 12:00:52 +08:00
zlwu
7e930c77fd
feat: expose complete scoped presign actions to mobile clients.
2026-10-11 11:43:38 +08:00
zlwu
34bf9aa0dc
fix: make mobile presign transitions concurrency-safe.
2026-10-11 11:31:24 +08:00
zlwu
c5c7e42feb
fix: make mobile presign transitions concurrency-safe.
2026-10-11 11:17:06 +08:00
zlwu
8453c9c805
feat: enforce scoped presign deletion and transfer workflows on mobile.
2026-10-11 10:56:06 +08:00
zlwu and Cursor
db31990ebe
feat: 细胞存储缴费催缴、统一样本信息与协议支付能力增强
...
汇总近期业务改动:催缴菜单与后端、样本信息快捷登记与进度、运费关联、客户档案扩展、协议优惠/期次与押金划转,并同步 SQL 迁移与管理端页面收敛。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-10 21:20:37 +08:00
zlwu and Cursor
d4477f357d
feat: add can_withdraw_receipt for jfqrz transfer withdraw.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-10 12:12:03 +08:00
zlwu and Cursor
e6763241d1
feat(backend): add storage-cert QC type-key and payload helpers.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-09 12:33:50 +08:00
zlwu and Cursor
1e12783a41
fix(backend): drop unrelated pay-status label changes from transferTime commit.
...
Keep only transferTime exposure for protocol-audit list mode.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-09 10:02:39 +08:00
zlwu and Cursor
38f9822d49
feat(backend): expose payment detail transferTime in protocol summary.
...
Let protocol-audit list show first-pay times from transfer records.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-09 10:00:41 +08:00
zlwu and Cursor
66fc507b1a
feat(backend): resolve sample transport mode dict with auto-create
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-07 23:18:56 +08:00
zlwu and Cursor
e7f2dfa4d4
feat: add customer relations API for family and protocols
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-07 22:26:15 +08:00