YunaiV
|
0fe9607302
|
fix(mes): 修复迁移 review 第三批 finding(B019-B023)+ schema/风格清理
修复 MES migration review 的 1 个 P1 + 多个 P2/P3 finding,覆盖 web-antd
和 web-ele 两端。
- MES-B019 (P1, R020): OQC 从待检任务预填时,checkQuantity 缺省取
outQuantity,避免必填的检测数量为空被校验拦截。
- MES-B020 (P2, R012): 清理 pro/card、stocktaking/task 残留的 TODO @AI
临时注释,taskId 补正式业务尾注释。
- MES-B021 (P2, R017): 自动编码分段"循环方式"列改 slot + DictTag,仅
cycleFlag 为真才渲染(非循环行留空,对齐源 v-if 行为)。
- MES-B022 (P3, R035): 盘点结果选中盘点清单行后,物料/批次/仓储位置字段
按 lineId 禁用,避免改成与清单不一致的值。
- MES-B023 (P3, R038): 抽出 QcIndicatorResultSpecificationInput 组件,
schema 仅保留单个 resultSpecification 字段,组件内按 resultType 切
RadioGroup(FILE)/Select(DICT),消除重复 fieldName 的双 FormField/重复 key。
附带代码风格对齐:
- pro/card、stocktaking/task 的 getTitle 改为「特殊态 if 提前 return +
create/update 三元收尾」,对齐 oqc/returnvendor 等主流模块写法。
验证:
- pnpm exec eslint <本批改动文件>(antd + ele)通过
- pnpm -F @vben/web-antd / @vben/web-ele exec vue-tsc 过滤
qc/indicator、qc/oqc、md/autocode、wm/stocktaking/task、pro/card 无报错
Ref: project_duibiao/mes/review_vben/INDEX.md (MES-R012/R017/R020/R035/R038)
|
2026-05-30 23:14:21 +08:00 |
YunaiV
|
c9a32ba780
|
```text
refactor: 迁移模块 constants 到共享常量包
- 新增 MES/WMS 共享业务常量导出
- 将 Mall 客服、IoT 缺失常量合并到 @vben/constants
- 替换各模块本地 constants 引用
- 删除模块内重复 constants 文件
```
|
2026-05-30 16:51:13 +08:00 |
YunaiV
|
d3233c4bb4
|
refactor: 统一表单 schema 挂载与 resetForm 处理
|
2026-05-29 11:40:28 +08:00 |
YunaiV
|
8ab0c53011
|
Merge remote-tracking branch 'origin/master' into migration
# Conflicts:
# apps/web-antd/src/views/iot/home/modules/message-trend-card.vue
# apps/web-antd/src/views/iot/rule/data/sink/config/redis-stream-config-form.vue
# apps/web-antd/src/views/mes/md/client/components/md-client-select-dialog.vue
# apps/web-ele/src/views/iot/home/modules/message-trend-card.vue
# apps/web-ele/src/views/iot/rule/data/sink/config/redis-stream-config-form.vue
# apps/web-ele/src/views/iot/thingmodel/modules/input-output-param.vue
# pnpm-lock.yaml
# pnpm-workspace.yaml
|
2026-05-24 22:20:36 +08:00 |
YunaiV
|
19911a19c0
|
feat(mes):统一代码规范,form.vue 的
|
2026-05-24 21:38:08 +08:00 |
xingyu4j
|
fb2595ef90
|
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin
|
2026-05-23 18:39:12 +08:00 |
YunaiV
|
33cdfcac3c
|
✨ feat(im): 修管理端 3 处:群消息 atUserNicknames 类型允许 null、移除前端无效的「消息内容」查询入口、表情包宽高加表单校验
|
2026-05-21 15:10:22 +08:00 |