向子页面传参
//客户详情
app.operate1 = function(rowIndex) {
var rec = app.dataGrid.store.getAt(rowIndex);
Wb.setVal(app.DETAIL_WIN,'I_CIF_NO',rec.data.CIF_NO);
Wb.request({
url:'m?xwl=clientinfo1.2.1/same_cust/CIF40030/execute',
params:{
I_CIF_NO:app.DETAIL_WIN.queryById('I_CIF_NO').getValue()
},
success:function(resp){
var row = Wb.decode(resp.responseText).rows[0];
var params = {};
Wb.each(row, function(k, v) {
params['I_' + k] = v;
});
Cs.info(row);
Cs.info(params);
Wb.setValue(app.DETAIL_WIN,params);
}
});
app.DETAIL_WIN.show();
};