刘锋

2026-02-06 09:26

首先是没有取到主表单xmid的值: const currentXmid = FormData.value.xmid

2026-02-03 09:49

这样?

// 新增逻辑:存在 children 子集的父节点不可勾选

 if (row.children && row.children.length > 0) {

   return false

 }

 // 其他情况可勾选

 return true


2026-02-03 09:45

selectable(row, index) {  //控制行是否可勾选

   if (props.enhanceData.type == 'entrance_select') {


     debugger

     if (props.enhanceData.selectId.includes(row.cpbh)) {

       return false

     }

   }

   return true

 },

2026-02-03 09:42

具体代码呢?不知道属性是啥啊

2026-02-03 09:25

我做了个功能,自定义按键(选择物料),物料表是个树形,要

让树形的父节点不可选择

2026-01-29 12:07

添加客服
图片未加载,请刷新后再试
联系我们