Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
黄南光
/
auto-restock
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1a43fa0b
authored
Nov 06, 2026
by
黄南光
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
取消防重拦截
1 parent
a21ddca9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
edge/README.txt
edge/edgeclient/__init__.py
edge/README.txt
View file @
1a43fa0
...
@@ -45,6 +45,12 @@ DMS 登录(为什么不会频繁登录)
...
@@ -45,6 +45,12 @@ DMS 登录(为什么不会频繁登录)
* DMS 明确拒绝账号密码时,取数端暂停自动登录(防止账号被锁),并在云端告警;后台改好账号密码后自动恢复。
* DMS 明确拒绝账号密码时,取数端暂停自动登录(防止账号被锁),并在云端告警;后台改好账号密码后自动恢复。
* 截图用的浏览器缓存按账号保留在 run\chrome_profile,首屏打开更快。
* 截图用的浏览器缓存按账号保留在 run\chrome_profile,首屏打开更快。
3.3.3(暂时关闭「疑似重复订货」提交拦截)
* 提交前 DMS「检查并提交」返回 repeatDetails(疑似重复订货)不再拦截提交:命中的是别人建的单
(如 S20261106007,同零件同数量的待提交草稿),不是本系统重复建单,却会让提交一直失败。
* 其余检查项(submitFlag / 余额 / 停用 / 限购 / 替代件 / 无权限 / 包装数)和提交前明细核对不变。
恢复方法见 edgeclient/actions.py 的 CHECK_LISTS 备注。
3.3.2(防重复建单)
3.3.2(防重复建单)
* 建单结果分清三种:请求没发出(确定没建成)/ DMS 明确拒绝(确定没建成)/ 请求发出后任何异常(结果未知,绝不重试)。
* 建单结果分清三种:请求没发出(确定没建成)/ DMS 明确拒绝(确定没建成)/ 请求发出后任何异常(结果未知,绝不重试)。
之前网关 502/504、建单后回查失败会被当成「没建成」,计划员重新确认就可能重复建单。
之前网关 502/504、建单后回查失败会被当成「没建成」,计划员重新确认就可能重复建单。
...
...
edge/edgeclient/__init__.py
View file @
1a43fa0
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
"""门店取数端:按云端下发的配置和任务操作厂商 DMS(接口 + 浏览器截图),结果回传云端。仅依赖 Python 3.8 标准库。"""
"""门店取数端:按云端下发的配置和任务操作厂商 DMS(接口 + 浏览器截图),结果回传云端。仅依赖 Python 3.8 标准库。"""
__version__
=
"3.3.
2
"
__version__
=
"3.3.
3
"
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment