ajaxform添加数据
ajaxform.setRecord(response.getAjaxDataWrap("dataWrapBill").getData());
ajaxgird添加数据
function changeMJ(cell){
var changeAccountName=cell['accountName'];
var record = bankgrid.getRecord(cell.rowIndex);
alert(changeAccountName);
if (changeAccountName !=124) {
$.alert('请先选择支付方式!!');
record.set("buyCompanyId",-1);
};
}
ajaxgridlist.addRecords(response.getAjaxDataWrap("dataWrapBill").getData());//对应一个对象
ajaxgridlist.addRecords(response.getAjaxDataWrap("dataWrapList").getDataList());//对应一个数组