var DialogOption = new Xrm.DialogOptions;
DialogOption.width = document.body.clientWidth * 0.9;
DialogOption.height = document.body.clientHeight * 0.9;
Xrm.Internal.openDialog(url, DialogOption, null, null, function (returnValue) {
console.log('调用成功 返回值:' + returnValue);
});
弹出框中的返回值设置
Mscrm.Utilities.setReturnValue(oReturn);