Browse Source

若是当前值变化的用户组件来自子表,则对于绑定该用户组件且来自同一子表的组织组件做特殊处理 : 仅填充当前行

lwx_v27
liwenxuan 2 weeks ago
parent
commit
d4cc83b8ce
  1. 7
      src/components/DesignForm/public/form/form.vue

7
src/components/DesignForm/public/form/form.vue

@ -1820,13 +1820,20 @@ function updateLocation(currentValue: any,currentComp:any) {
}else{
model.value[element.path].forEach((x:any) => {
/* console.log(currentValue)
console.log(currentComp)
console.log(x) */
if(x[currentComp] == currentValue){
if(workNumber==""){
x[element.name] = undefined
}else{
x[element.name] = mainOrg
}
}
});

Loading…
Cancel
Save