easyui 弹出页面后无法加载datagrid
<table ="tableqq" style="width:700px;height:500px">
</table>
<table id="table-2" style="width:700px;height:500px">
</table>
</div>
function formate1(val, row){
var orderNo = row.orderNo;
return '<a href=javascript:found(''+loginName+'',''+orderNo+'')>详情</a>';
}
function found(loginName,orderNo){
$('#winoeder').window('open');
$('#tableqq').datagrid({
width: '1000',
url: '${BasePath!''}/member/control/toOrderD.ihtml?orderNo='+orderNo,
height: 'auto',
rownumbers: true,
columns:[[
{ field:'ck',checkbox:true,align:'center',width:50},
{field:'vin',title:'车 机 号',align:'center',width:150},
{field:'commoNo',title:'商品编号',align:'center',width:150},
{field:'commoName',title:'商品名称',align:'center',width:100},
{field:'count',title:'数量',align:'center',width:50},
{field:'oriPrice',title:'原价',align:'center',width:50},
{field:'price',title:'现价',align:'center',width:50},
{field:'saleTotalFee',title:'总价',align:'center',width:50},
{field:'commoActiveState',title:'激活状态',formatter:formateCommoActiveState,align:'center',width:100},
{field:'isReturn',title:'退货状态',formatter:formateIsReturn,align:'center',width:100},
]],
singleSelect: false,
selectOnCheck: true,
checkOnSelect: true
});
}
function found(loginName,orderNo){
$('#winoeder').window('open');
$('#tableqq').datagrid({
width: '1000',
url: '${BasePath!''}/member/control/toOrderD.ihtml?orderNo='+orderNo,
height: 'auto',
rownumbers: true,
columns:[[
{ field:'ck',checkbox:true,align:'center',width:50},
{field:'vin',title:'车 机 号',align:'center',width:150},
{field:'commoNo',title:'商品编号',align:'center',width:150},
{field:'commoName',title:'商品名称',align:'center',width:100},
{field:'count',title:'数量',align:'center',width:50},
{field:'oriPrice',title:'原价',align:'center',width:50},
{field:'price',title:'现价',align:'center',width:50},
{field:'saleTotalFee',title:'总价',align:'center',width:50},
{field:'commoActiveState',title:'激活状态',formatter:formateCommoActiveState,align:'center',width:100},
{field:'isReturn',title:'退货状态',formatter:formateIsReturn,align:'center',width:100},
]],
singleSelect: false,
selectOnCheck: true,
checkOnSelect: true
});
}
当我点击详情的时候,弹出页面,但是无法通过url加载数据。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对的,为什么没有执行
datagrid这个啊,我该怎么改
就没执行加载datagrid吧