No Branch/Tag Specified
main
feat/357-syb-cancel-status
feat/356-purchase-order-filter
fix/355-syb-list-timeout
feat/353-syb-shop-multiselect
fix/354-syb-top-pagination
fix/352-syb-source-created
fix/348-reveal-swipe
feat/340-syb-excluded-products
fix/351-inner-code-apply-selection
fix/350-match-layout
fix/350-inner-code-matching
feat/349-batch-return-use
feat/347-batch-return-cancel
feat/345-yeeke-reship
fix/346-root-serves-spa
fix/344-inner-code-stall-match
fix/343-syb-writeback-session
feat/339-syb-page-size
feat/338-return-match
feat/337-yeeke-admin-ui
feat/336-yeeke-return-sync
fix/335-bottom-submit-node
fix/334-spec-probe-top-swipe
fix/333-purchaser-device-owner
fix/331-spec-panel-recognition
fix/330-syb-writeback-session
feat/327-syb-writeback-filter
feat/326-order-information
fix/325-order-result
feat/316-chrome-order-backfill
fix/307-backfill-entry
feat/305-syb-order-writeback
feat/306-order-paid-amount
release/283
fix/283-purchase-mapping-consistency
fix/230-horizontal-spec-selection
feat/263-spec-rematch
fix/262-purchase-handoff
fix/260-261-purchase-readiness
fix/259-partial-collection-link
feat/258-one-click-replace
fix/257-color-normalized-match
fix/256-collection-single-dimension
fix/255-current-page-reidentify
feat/253-one-click-link
fix/254-match-loading
fix/251-syb-spec-candidates
feat/250-continuous-collection
fix/249-local-purchase-diagnostics
fix/248-bottom-submit
fix/247-short-address-panel
fix/246-address-return-panel
fix/245-purchase-failure-diagnostics
fix/244-selected-card-duplicates
fix/243-spec-entry-recovery
feat/242-agent-order-backfill
feat/241-order-backfill-endpoint
fix/239-syb-partial-sync
fix/238-spec-panel-preswipe
feat/237-client-api-keys
feat/236-purchaser-syb-sync
fix/235-syb-pagination-overlap
release/234-integrated
fix/229-address-entry-dedup
fix/228-selection-proof-panel-transition
fix/227-address-panel-return
fix/226-reopen-pdd-on-manual-retry
fix/225-in-place-purchase-retry
fix/224-final-spec-revalidation
fix/223-probed-confirmed-mapping
chore/221-devharness-sync
feat/218-purchase-result-bubble
fix/217-agent-retry-current-spec
fix/216-syb-spec-role-order
feat/215-mandatory-live-spec-probe
feat/214-verified-purchase-actions
fix/212-syb-sync-shop-snapshot
feat/211-spec-entry-ready-wait
feat/210-order-result-payment-transition
feat/209-pdd-bottom-spec-entry
feat/200-ai-match-result-purchase-ready
feat/199-job-execution-logs
feat/198-syb-ai-parse
feat/195-scheduled-spec-auto-match
fix/197-ai-write-timeout
feat/190-syb-inline-correction
fix/193-address-entry-reveal
feat/194-one-click-spec-match
fix/192-order-result-scroll
No results found.
Labels
No items
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: OPC/goauto#356
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
基本信息
原始需求
当前事实与核验范围
e4d4a6fa797c17dab9e7779962cc0ededae10149。web/src/views/goauto/purchase-tasks/index.vue:9:蝦皮订单号为单行 el-input,绑定 query.shopeeOrderNo;另有独立 PDD 订单号输入框。server/app/goauto/purchase/handler.go:56:只读取单值 shopeeOrderNo。server/app/goauto/purchase/admin_query.go:152:现行单号为 shopee_order_no_snapshot LIKE 包含查询,尚未发现多订单号精确集合查询。purchase/retry.go调用 Reset 原地重试,保留原任务 ID / CG 编号、增加 attempt。旧文档中“新建任务”的描述不作为当前实现依据。依赖与子项目影响
做什么 / 不做什么
最小方案与目标接口
/api/admin/v1/purchase-tasks增加可选重复键shopeeOrderNos(如shopeeOrderNos=DEMO-A&shopeeOrderNos=DEMO-B),后端以参数化 IN 查询shopee_order_no_snapshot,在计数和分页之前过滤。旧shopeeOrderNo保留原语义。非空单值和集合参数同时提交时返回现有非法请求错误,不隐式选优先级。显式集合参数全为空时同样报错,不能意外扩大为全量查询。预计修改:
web/src/views/goauto/purchase-tasks/index.vueweb/src/api/goauto/purchase-tasks.js(仅列表集合参数序列化)server/app/goauto/purchase/handler.go、admin_query.go设计证据与确认范围
验收标准
验证计划
风险与回退
文档影响与交付
轻量设计 v1 确认(2026-10-05)
用户在布局确认问题中回复“按此布局实施”。原位置改为默认两行、最多四行的 Element Plus textarea,下方显示数量和查询语义,超限就地提示,Enter 换行,原查询/重置按钮复用。不新建页面,不扩展其他输入框。确认覆盖本单字段的正常、空、加载、失败、禁用状态;覆盖此前待补的轻量设计门禁,无独立 QuantUX 原型或 HTML 导出。实施复用现有组件规范。
2026-10-05 开始实施:用户已下达“做#356”。基线 e4d4a6f,在 feat/356-purchase-order-filter 独立 worktree 实施,保留其他改动。先完成 Server 只读列表集合参数与测试;UI 沿用 Element Plus,已向用户补充轻量布局确认:原位置默认两行/最多四行、数量及提示置于输入下方、Enter 换行/原查询按钮提交,等待该布局确认后修改页面。不迁移、不发布、不触发真实采购。Gitea MCP 不可用,沿用 REST API。
实施完成,待用户验收(2026-10-05)
交付
bb3990e432a206bcf33deee1a65b2f58f19378da;Wiki镜像:1858087a566685f19ba74c3e97c3160a80bd870e。feat/356-purchase-order-filter,独立工作区干净。未合并 main,未部署线上,也未重启本地业务服务。验证结果
go test ./app/goauto/purchase -count=1通过整个采购包;go build ./...通过。node --test tests/unit/purchase-order-filter.test.cjs3/3通过;pnpm run build:prod通过。PLAYWRIGHT_TEST_BASE_URL=http://localhost:9558,pnpm exec playwright test tests/e2e/purchase-order-filter.spec.ts tests/e2e/purchase-order-writeback.spec.ts --workers=112/12通过(新筛选5项+既有采购/回填7项)。全部使用模拟数据/接口,未调用真实订单或SYB写入。git diff --check通过。python dev_scripts/harness.py check --strict因既有docs/evidence/pdd-home-35727-summary.md未登记Wiki镜像失败;在未修改的main工作区复现相同1项错误。本单不改该历史文件/校验规则。测试排错说明
/src/api/...模块请求,停在资源加载页;未改旧测试,改用正式构建预览后7项全部通过。不是生产回填回归。Wiki闭环
已在线更新并回读,随后完成一轮
python dev_scripts/harness.py sync和sync --check,均成功;只提交本单3个镜像:3792feb41f8f74ffc69faae757e631254c3a23e260b4c649f87178c079392a101faf00db9b3552630d3b04cf5318051b1179cbac47521d88e77e2a57文档明确为分支实现、尚未合并/发布。没有新增本地任务归档、迁移、权限、Android改动或服务端高风险写操作。
待验收 / 后续
用户可验收“粘贴多个蝦皮订单号 → 查询 → 筛选采购失败 → 勾选 → 原重试确认”。线上真实数据和真实设备采购没有测试;此次不执行真实重试。要用于线上需另行授权合并并成套发布Server/Web,不可只更新Web让旧后端忽略集合参数。
Gitea MCP 本会话未提供,工单和Wiki依规则使用REST API;未把凭据写入源码、文档或消息。工单保持open,不代表已获用户验收。