App.view.xml
<mvc:View
height="100%"
controllerName="sap.ui.demo.walkthrough.controller.App"
xmlns="sap.m"
xmlns:core="sap.ui.core"
xmlns:mvc="sap.ui.core.mvc">
<ComboBox
id="selectItem"
change="consoleData"
items="{
path: 'billDetails>/billDetail',
sorter: {path: 'belong'}
}"
value="{/value}"
>
<core:ListItem key="{billDetails>value}" text="{billDetails>name}"/>
<!-- <core:Item key="{value}" text="{name}"></core:Item> -->
</ComboBox>
</mvc:View>
change 选择项改变后调用的函数
App.controller.js
sap.ui.define([
'sap/ui/model/json/JSONModel',
"sap/ui/core/