实际金额我想在失去焦点就上传值,但是我不能得到这个文本框。
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 使用C#,asp.net读取Excel文件并保存到Oracle数据库
- ¥15 C# datagridview 单元格显示进度及值
- ¥15 thinkphp6配合social login单点登录问题
- ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
- ¥15 如何在scanpy上做差异基因和通路富集?
- ¥20 关于#硬件工程#的问题,请各位专家解答!
- ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
- ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
- ¥30 虚心请教几个问题,小生先有礼了
- ¥30 截图中的mathematics程序转换成matlab