var oCore = sap.ui.getCore() ;
var oSoldToInput = oCore.byId(" SoldToInput");
var oHelpTable = oValueHelpDialog.getTable();
var oContext = oHelpTable.getContextByIndex(oHelpTable.getSelectedIndex()); if(oContext){
var oSel = oContext.getModel()。getProperty(oContext.getPath());
var token1 = newsap.m.Token({key:oSel.Customer,text:oSel.Name});
var oSoldToInput = oSel.Customer;
that.aTokens = [token1];
that.theTokenInput.setTokens(that.aTokens);
调试此部分
一周热门 更多>