2020-09-10 18:26发布
点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中) 大家好, 我们正在尝试使... 显示全部
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
大家好,
我们正在尝试使用UI控件sap.suite.ui.commons.ProcessFlow设计流程,但是我们遇到绑定子节点的问题。 请您帮忙将孩子与其他领域捆绑在一起。 我们已经创建了扩展的实体集并绑定了子代,并且由于[object object]不是预期的,期望是any [],因此它显示错误。 我们如何在后端构建类型any []或在Frontend本身中格式化? 预先感谢
此致
Karthick
嗨,Mahesh,
感谢您的及时答复。 请找到以下错误快照,来自后端的数据和xml绑定。
数据
{
" id":0:
"车道":"标书",
"标题":"创建招标",
" titleAbbreviation":"创建投标",
" isTitleClickable":true,
"状态":"正",
" stateText":"已创建",
" focused":true,
"突出显示":true,
"文本":"投标已创建",
" TenderNumber":"",
" RfxNumber":"",
"孩子":
[{
"孩子":1,
" RfxNumber":""
}
]
},
" id":1,
"车道":" RFX",
"标题":" RFX创建",
" titleAbbreviation":" RFX创建",
"聚焦":false,
"文本":" Rfx已创建",
"孩子":"",
" id":,
xml绑定
<面板>
id = " processflow1" scrollable = "假" foldableCorners = "真" nodePress = " onNodePress" nodes = " {ProcessFlowNodesSet>/}" lanes = " {ProcessFlowLanesSet>/}" > laneId = " {ProcessFlowNodesSet>通道}" nodeId = " {ProcessFlowNodesSet> id}" title = " {ProcessFlowNodesSet> title}" titleAbbreviation = " {{ProcessFlowNodesSet> titleAbbreviation}" children = " {{ProcessFlowNodesSet> children}" state = " {ProcessFlowNodesSet> state}" stateText = " {{ProcessFlowNodesSet> stateText}" texts = " {{ProcessFlowNodesSet> texts}" 高亮= " {ProcessFlowNodesSet>突出显示}" focused = " {{ProcessFlowNodesSet> focused}" /> laneId = " {ProcessFlowLanesSet> id}" iconSrc = " {ProcessFlowLanesSet> icon}" text = " {ProcessFlowLanesSet> label}" position = " {ProcessFlowLanesSet> position}" />
id = " processflow1"
scrollable = "假"
foldableCorners = "真"
nodePress = " onNodePress"
nodes = " {ProcessFlowNodesSet>/}"
lanes = " {ProcessFlowLanesSet>/}" >
laneId = " {ProcessFlowNodesSet>通道}" nodeId = " {ProcessFlowNodesSet> id}" title = " {ProcessFlowNodesSet> title}" titleAbbreviation = " {{ProcessFlowNodesSet> titleAbbreviation}" children = " {{ProcessFlowNodesSet> children}" state = " {ProcessFlowNodesSet> state}" stateText = " {{ProcessFlowNodesSet> stateText}" texts = " {{ProcessFlowNodesSet> texts}" 高亮= " {ProcessFlowNodesSet>突出显示}" focused = " {{ProcessFlowNodesSet> focused}" />
laneId = " {ProcessFlowNodesSet>通道}"
nodeId = " {ProcessFlowNodesSet> id}"
title = " {ProcessFlowNodesSet> title}"
titleAbbreviation = " {{ProcessFlowNodesSet> titleAbbreviation}"
children = " {{ProcessFlowNodesSet> children}"
state = " {ProcessFlowNodesSet> state}"
stateText = " {{ProcessFlowNodesSet> stateText}"
texts = " {{ProcessFlowNodesSet> texts}"
高亮= " {ProcessFlowNodesSet>突出显示}"
focused = " {{ProcessFlowNodesSet> focused}" />
laneId = " {ProcessFlowLanesSet> id}" iconSrc = " {ProcessFlowLanesSet> icon}" text = " {ProcessFlowLanesSet> label}" position = " {ProcessFlowLanesSet> position}" />
laneId = " {ProcessFlowLanesSet> id}"
iconSrc = " {ProcessFlowLanesSet> icon}"
text = " {ProcessFlowLanesSet> label}"
position = " {ProcessFlowLanesSet> position}" />
最多设置5个标签!
嗨,Mahesh,
感谢您的及时答复。 请找到以下错误快照,来自后端的数据和xml绑定。
数据
{
" id":0:
"车道":"标书",
"标题":"创建招标",
" titleAbbreviation":"创建投标",
" isTitleClickable":true,
"状态":"正",
" stateText":"已创建",
" focused":true,
"突出显示":true,
"文本":"投标已创建",
" TenderNumber":"",
" RfxNumber":"",
"孩子":
[{
"孩子":1,
" id":0:
" TenderNumber":"",
" RfxNumber":""
}
]
},
" id":1,
"车道":" RFX",
"标题":" RFX创建",
" titleAbbreviation":" RFX创建",
" isTitleClickable":true,
"状态":"正",
" stateText":"已创建",
"聚焦":false,
"突出显示":true,
"文本":" Rfx已创建",
" TenderNumber":"",
" RfxNumber":"",
"孩子":
[{
"孩子":"",
" id":,
" TenderNumber":"",
" RfxNumber":""
}
]
}
xml绑定
<面板>
id = " processflow1"
scrollable = "假"
foldableCorners = "真"
nodePress = " onNodePress"
nodes = " {ProcessFlowNodesSet>/}"
lanes = " {ProcessFlowLanesSet>/}" >
laneId = " {ProcessFlowNodesSet>通道}"
nodeId = " {ProcessFlowNodesSet> id}"
title = " {ProcessFlowNodesSet> title}"
titleAbbreviation = " {{ProcessFlowNodesSet> titleAbbreviation}"
children = " {{ProcessFlowNodesSet> children}"
state = " {ProcessFlowNodesSet> state}"
stateText = " {{ProcessFlowNodesSet> stateText}"
texts = " {{ProcessFlowNodesSet> texts}"
高亮= " {ProcessFlowNodesSet>突出显示}"
focused = " {{ProcessFlowNodesSet> focused}" />
laneId = " {ProcessFlowLanesSet> id}"
iconSrc = " {ProcessFlowLanesSet> icon}"
text = " {ProcessFlowLanesSet> label}"
position = " {ProcessFlowLanesSet> position}" />
一周热门 更多>