Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • H holdingk-erp-api
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • knitting
  • holdingk-erp-api
  • Merge requests
  • !12

Merged
Created Oct 12, 2026 by wangzp@wangzpOwner0 of 4 tasks completed0/4 tasks

[fix] 部门状态对齐 Web,合同同步支持传入合同状态

  • Overview 0
  • Commits 1
  • Changes 14

Summary

  • 部门状态与 ERP Web 对齐,启用部门可按编码同步。
  • 合同基础同步 sync_base 支持可选 contractStatus(不传仍默认 100 审核通过;核价仍在 ERP 完成时传 6 待核价)。

Test plan

  • 不传 contractStatus 同步合同,状态仍为审核通过
  • 传 contractStatus=6,合同列表为待核价,可继续做核价
  • 传废除/删除等非法状态返回 C40002
  • 启用部门按编码同步成功
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix/dept-status-align-web