Commit Graph

4808 Commits (b37657a92d879c1dc8aaef2f7fe806903c6cbda2)

Author SHA1 Message Date
xingyu a0735e1bba
!354 fix: [bpm] OA 请假流程重新发起问题修复
Merge pull request !354 from Jason/master
2026-06-05 10:22:47 +00:00
jason 705aa2fa7b fix: [bpm] web-ele 审批等按钮点击没反应问题修复 2026-06-05 10:07:09 +08:00
jason 1b5a06f3a2 fix: [bpm] web-ele 修复审批等按钮不能操作等问题 2026-06-05 08:11:00 +08:00
afe1 748b182e44
fix: workflow (#8013)
* fix: catelog

* fix: system

* chore: sync upstream changes

* feat:  component and workflow error
2026-06-05 05:13:08 +08:00
XuZhiqiang cf0f7cedca fix(web-antdv-next): sync dept delete confirmation state 2026-06-04 22:57:28 +08:00
XuZhiqiang 70aed10752 fix(@vben/web-antdv-next): 在web-antdv-next,表单适配器只有TextArea,没有Textarea 2026-06-04 16:42:46 +08:00
XuZhiqiang 03f167b7d0 fix(web-antdv-next): sync remaining upstream fixes 2026-06-04 16:22:52 +08:00
XuZhiqiang f6a8c6e652 fix(web-antdv-next): sync shared UI fixes 2026-06-04 16:20:42 +08:00
XuZhiqiang 09970d89a4 feat(web-antdv-next): sync IoT module 2026-06-04 16:17:45 +08:00
XuZhiqiang 6315055c08 feat(web-antdv-next): migrate MES module 2026-06-04 16:08:03 +08:00
XuZhiqiang 82b22173c0 feat(web-antdv-next): migrate WMS module 2026-06-04 15:57:43 +08:00
XuZhiqiang e6e4d8ce1e fix(@vben/web-antdv-next): 修复IOT模块若干导入异常问题 2026-06-04 15:28:56 +08:00
XuZhiqiang bac2f92d1a chore(@vben/web-antdv-next): 升级antdv-next版本为1.3.3 2026-06-04 15:27:45 +08:00
jason a357dbf940 fix: [bpm] OA 请假流程重新发起问题修复 2026-06-04 14:11:30 +08:00
金毛88 6544340d80 Merge branch 'fork/HaroldZhangCode91/feature/fix_freeze_scrollbar_of_modal' 2026-06-04 13:54:21 +08:00
jason 8146ebde8c Merge remote-tracking branch 'yudao/master' 2026-06-04 12:42:27 +08:00
jason b91268923f fix: [bpm] 超时时间天的格式问题修复 2026-06-04 12:40:51 +08:00
jason 4a597c0806 fix: 发起人节点显示审批意见 2026-06-04 12:37:51 +08:00
Harold Zhang 6b7cb7b1fc feat: fixed the regression of changing Menu to MenuUI 2026-06-04 11:46:53 +08:00
Harold Zhang d90d45a128 fix: fixed modal freeze issue 2026-06-04 11:19:38 +08:00
Harold Zhang 66077b3bcf Merge branch 'main' into feature/fix_freeze_scrollbar_of_modal 2026-06-03 18:07:37 +08:00
Harold Zhang 0328594747 feat: fixed the overlay layer can not work with reka-ui 2026-06-03 17:52:41 +08:00
金毛88 790e114d41 chore: 固定vite 8.0.10,避免编译后异常 2026-06-03 17:32:13 +08:00
Harold Zhang cc60ca9592 feat: fixed the defects the scrollbar disapear when modal close 2026-06-03 16:10:17 +08:00
HaroldZhangCode91 79707a2ebd
feat: fixed regression of modal for element plus (#7999) 2026-06-03 13:27:12 +08:00
金毛88 0eb72ca4fd feat: add useTDesignDesignTokens 2026-06-03 13:25:23 +08:00
金毛88 7fd4b1de04 Merge branch 'fork/SaleriHQ/feat/form-field-array' 2026-06-03 13:22:21 +08:00
xingyu 1f8e9f6bb0
update README.md.
Signed-off-by: xingyu <xingyu4j@vip.qq.com>
2026-06-02 00:55:21 +00:00
YunaiV 044ba2382d feat(im):增加 im 的功能说明 2026-06-01 08:17:48 +08:00
Saleri 9ffd42f013 chore: add changeset for form field array 2026-05-31 23:06:00 +08:00
芋道源码 72aac700ff
!353 fix(bpm): clean up BPMN viewer resize observer
Merge pull request !353 from 芋道源码/dev
2026-05-31 13:50:10 +00:00
芋道源码 e943f4fcfd
!352 MES 所有功能的迁移
Merge pull request !352 from 芋道源码/migration
2026-05-31 11:33:31 +00:00
YunaiV 840f4efbbe fix(bpm): 完善流程实例打印字段展示
- Vben5 web-antd/web-ele/web-antdv-next 同步支持更多表单字段打印
- Vue3 + Element Plus 流程打印补齐字典、用户、部门、省市区、文件、图片、开关、富文本等字段展示
- 普通字段和流程记录改为安全文本渲染,保留富文本 HTML 展示
- 打印时间改为每次打开弹窗时刷新
- web-ele 补充 ElButton 显式导入,避免运行时组件解析风险
2026-05-31 18:25:33 +08:00
YunaiV 64eea34a63 fix(bpm): 完善流程实例打印字段展示
- Vben5 web-antd/web-ele/web-antdv-next 同步支持更多表单字段打印
- Vue3 + Element Plus 流程打印补齐字典、用户、部门、省市区、文件、图片、开关、富文本等字段展示
- 普通字段和流程记录改为安全文本渲染,保留富文本 HTML 展示
- 打印时间改为每次打开弹窗时刷新
- web-ele 补充 ElButton 显式导入,避免运行时组件解析风险
2026-05-31 18:22:15 +08:00
YunaiV 54e5036171 fix(form-create): 修复字典选择器 modelValue 回显兼容
- Vben5 web-ele 使用默认 modelValue 绑定,修正相关注释避免误用 model-value
- Vben5 web-antd 保留 value 绑定并明确组件库差异
- Vue3 DictSelect 显式接收 modelValue 并派发 update:modelValue,避免选择值更新后回显异常
2026-05-31 17:16:17 +08:00
YunaiV 1896c60f53 feat(mes): add MES production task issue API and improve combination record validation 2026-05-31 16:48:00 +08:00
芋道源码 099d480ff4
!351 !347 feat: 流程的报表页面支持多种表单类型
Merge pull request !351 from 芋道源码/master
2026-05-31 08:43:04 +00:00
YunaiV 3327655d46 docs(mes): 登记 B037 修复,R008/R009 经核实判 rejected
- INDEX.md: R006 转 fixed(关联 B037);R008、R009 由 disputed 转 rejected
- bug_done.md: 追加 B037(@vben/constants 补齐 6 个共享 MES 常量)
- bug_rejected.md: 追加 R008、R009 拒绝记录
- mes-pro-codex review: 追加 R008/R009 复核记录(@vue/compiler-dom 实测
  ifShow 经 $setup proxyRefs 解包为 boolean,详情态正确隐藏;product-bom
  入口不可达,与源 vue3 效果一致)

当前 42 个 finding: fixed 38、rejected 3、closed 1、open 1(仅余 R010)。
2026-05-31 16:40:38 +08:00
Saleri 40101911f0 style: format naive styles 2026-05-31 16:21:13 +08:00
xingyu 04fbb7a556
chore: 升级 shadcn-vue 组件到v4最新版 (#7972)
* fix: useStore is deprecated

* chore: update deps

* feat: 升级shadcn-ui v4

* fix: workbench style

* feat: 升级shadcn-ui v4 step2

* feat: 升级shadcn-ui v4 step3

* chore: 升级shadcn v4

* fix: pagination

* fix: dark style

* fix: doc import

* feat: 增加详情组件,参考 antdv-next

* docs: descriptions docs

* docs: Browser Support

* feat: add table action

* feat: icon use vbenIcon

* fix: type error

* fix: dropdown popConfirm

* feat: 使用默认的文字交互

* feat: 优化渲染性能
2026-05-31 15:18:46 +08:00
Saleri e5f9106caa feat(@core/form-ui): 新增 useVbenForm 数组编辑器 VbenFormFieldArray 2026-05-31 15:03:55 +08:00
YunaiV 2fc7390091 docs(mes): 登记 MES-B033~B036 修复并更新 review 索引
- INDEX.md: R014、R026、R031、R039 转 fixed,分别关联 MES-B033~B036
- bug_done.md: 追加 B033(client 销售记录详情入口)、B034(salesnotice
  选择弹窗筛选)、B035(高基数选择器恢复分页弹窗)、B036(RQC 保存后
  留在弹窗编辑子表)完整修复记录
- bug_rejected.md: 同步前序 B029 归档调整

剩余 open: R006、R010;disputed: R008、R009。
2026-05-31 13:17:21 +08:00
YunaiV a188c8245d fix(preview): adjust layout for code preview modal and tabs 2026-05-31 10:24:31 +08:00
YunaiV 61172b9a68 fix(mes): 修复 MES 迁移 review 发现的问题(B001-B032)
系统性修复 MES migration review(INDEX.md,MES-R001~R042)发现的迁移问题,
覆盖 web-antd 与 web-ele 两端,按严重级别从 P0 到 P3。

P0
- B001: DICT_TYPE/BarcodeBizTypeEnum 等常量从 'vue' 误导入致 TS2305/运行时崩溃,
  改从 @vben/constants 导入(20 个文件)。

P1
- B002 itemreceipt 入库单名称误必填;B003 条码工单选择补 CONFIRMED 过滤;
  B004 库存台账冻结开关补更新权限禁用;B005 returnsales 上架明细批次号误必填;
  B006 checkrecord/maintenrecord 计划/执行人误必填;B007 returnsales 退货行
  rqcCheckFlag 默认改回 false;B019 OQC 预填 checkQuantity 缺省取 outQuantity;
  B024 repair 完成维修态放开 finishDate 录入;B025 tool 编码管理类型库存数量锁定为 1;
  B027 详情态自动编码按钮隐藏/禁用(md/cal/dv/tm 13 模块)。

P2
- B008 IPQC 废品数量补 0 默认值;B009 共享选择器去掉 catch+console.error 吞错;
  B011 route 自定义 SFC 改 markRaw;B012 ele 自动编码按钮去 type:'default';
  B014 md 编辑态编码字段误禁用;B015 dv/subject 选择器仅展示启用项(保留历史回显);
  B016 盘点结果回填 batchId;B017 源 vue3 miscissue 业务类型字典误用 getStrDictOptions;
  B018 stocktaking/plan 盘点条件表单 schema 化;B020 清理 TODO @AI;
  B026 repair 验收信息字段按状态门控只读。

P3
- B010 QcIndicatorSelect 去吞错;B013/B019/B030/B031 componentProps、列对象多行化等
  code style;B021 自动编码循环方式列条件展示;B022 盘点结果选中清单行后字段禁用;
  B023 质检指标 resultSpecification 抽 ResultSpecificationInput 消除重复 fieldName;
  B032 barcode/batch/sn API 字段补注释。

风格统一
- getTitle 统一为「特殊态 if 提前 return + create/update 三元」(pro/card、
  stocktaking/task、repair);headerReadonly 抽 isHeaderReadonly 辅助函数对齐
  pro/workorder/transfer 写法;computed 解释注释移入 computed 内部。

验证:
- 两端 pnpm exec eslint 改动文件通过
- 两端 pnpm -F @vben/web-antd / @vben/web-ele exec vue-tsc 过滤 src/views/mes、
  api/mes 无报错
- git diff --check 通过

备注:R037(defectrecord 命名漂移)经复核为原 finding 前提有误(两端本就一致),
已 rejected,未占 MES-B 编号。R008/R009 为 disputed 待裁决。
本提交仅含 src/views/mes 与 src/api/mes 下文件,排除 .env.development、vite.config.ts、
infra/codegen、docs changelog 等无关旁支改动。
2026-05-31 10:21:23 +08:00
YunaiV 4dff39ddc5 fix(crm): 修复待办线索漏传归属场景 2026-05-31 09:37:36 +08:00
芋道源码 06f8b74790
!347 feat: 流程的报表页面支持多种表单类型
Merge pull request !347 from Jason/master
2026-05-31 01:33:45 +00:00
YunaiV b00a67deb9 fix(web-ele): 修复表单设计器自定义组件回显
- 移除 form-create 自定义组件错误的 modelField: 'model-value'
- 字典选择器、省市区选择器、iframe 组件改用默认 modelValue 绑定
- 修复 Element Plus 版选择后表单值更新但前端不回显的问题
2026-05-31 00:43:42 +08:00
YunaiV c25b631c10 fix(iot): 完善场景联动配置必填校验
- Vue3 抽取场景联动校验工具,统一触发器、附加条件和执行器校验
- Vben5 antd/ele 同步场景联动提交前兜底校验
- 补充 CRON 表达式、JSON 参数和动态字段必填校验
- 保留 deviceId=0 表示全部设备的业务语义
2026-05-31 00:36:41 +08:00
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 26d07e2e28 feat(member): 会员增加 email 字段 2026-05-30 22:55:27 +08:00