实际金额我想在失去焦点就上传值,但是我不能得到这个文本框。
5条回答
- qq_30075133 2016-01-20 02:18关注
$('#brandDg').datagrid({
url:'car/carAction!selectGoodsByBrabd',
title:'品牌查看',
fit:true,
fitColumns:true,
border: false,
resizable:true,
cache:false,
loadMsg: '加载中...',
singleSelect: true,
rownumbers:true,
queryParams:{
id:id
},
columns:[[
{field:'goods_brand_name',title:'品牌名称',width:50,align:'center'},
{field:'shop_shop_name',title:'品牌余额',width:50,align:'center',
formatter:function(value,row,index){
return 0;
}},
{field:'child_orderform_allmoney',title:'发货金额',width:50,align:'center'},
{field:'realMoney',title:'实收金额',width:50,align:'center',
formatter:function(value,row,index){
return '';
}},
{field:'preferential',title:'优惠金额',width:50,align:'center',
formatter:function(value,row,index){
return '';
}},
{field:'shop_shop_address',title:'应收金额',width:50,align:'center',
formatter:function(value,row,index){
return 0;
}},
]],
toolbar:'#tool'
});
$("#realMoney").blur(function(){
// var row = $('#brandDg').datagrid('getSelected');
// alert(row.realMoney);
alert("......");
});这是我的代码。
解决 无用评论 打赏 举报
悬赏问题
- ¥15 优质github账号直接兑换rmb,感兴趣伙伴可以私信
- ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
- ¥15 安装svn网络有问题怎么办
- ¥15 Python爬取指定微博话题下的内容,保存为txt
- ¥15 vue2登录调用后端接口如何实现
- ¥65 永磁型步进电机PID算法
- ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
- ¥88 找成都本地经验丰富懂小程序开发的技术大咖
- ¥15 如何处理复杂数据表格的除法运算
- ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)