mzl92 6e2e8e1cc6 feat: 备货单列表支持 view_scope(all/self) 视图切换(仅 user_id=73)
在 /crm/stock/order/list 的 buildQueryConfig index 分支最前面短路:
- 仅当前用户 uid=73 且传 view_scope 时生效,最高优先级,覆盖角色范围逻辑
- all:自己和别人的单,排除草稿(approval_status>=1)
- self:只看自己(salesperson_id=73,含自己草稿)
- 非73用户或未传该参数:走原逻辑,向后兼容,无越权

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-06 11:49:28 +08:00
2025-09-09 16:15:48 +08:00
2025-07-25 13:55:30 +08:00
2025-07-01 19:39:13 +08:00
2025-12-10 20:18:46 +08:00
2025-12-10 20:18:46 +08:00
2025-07-01 19:39:13 +08:00
2025-07-01 19:39:13 +08:00
2025-07-01 19:39:13 +08:00
2025-07-01 19:39:13 +08:00
2025-07-01 19:39:13 +08:00
2025-11-11 16:46:22 +08:00
2025-07-01 19:39:13 +08:00
2025-07-01 19:39:13 +08:00

webman

基于workerman开发的超高性能PHP框架

学习

赞助商

特别赞助

铂金赞助

请作者喝咖啡


如果您觉得webman对您有所帮助,欢迎捐赠。

LICENSE

The webman is open-sourced software licensed under the MIT.
S
Description
No description provided
Readme MIT 15 MiB
Languages
PHP 98.9%
Python 0.9%
HTML 0.2%