87,921
社区成员
发帖
与我相关
我的任务
分享
<td field="sl">
<div style="height:auto;" class="datagrid-cell datagrid-cell-c8-sl">
<input name="sls" value="1" class="easyui-validatebox" data-options="required:true">
</div>
</td>
{
field : 'goodsId',
title : 'ID',
width : 150,
hidden : true,
formatter : function(value, row, index) {
return '<input name="goodsIds" type="hidden" value="'+row.goodsId+'" class=\'abc\'>'; }
}, {
field : 'goodsName',
title : '商品名称',
width : 100,
sortable : true
}, {
field : 'supplierId',
title : '供货商id',
width : 150,
hidden : true ,
formatter : function(value, row, index) {
return '<input name="supplierIds" type="hidden" value="'+row.supplierId+'" class=\'abc\'>'; }
}, {
field : 'supplierName',
title : '供货商',
width : 150,
sortable : true
}, {
field : 'sellPrice',
title : '销售价',
width : 150,
sortable : true,
formatter : function(value, row, index) {
return row.sellPrice+'<input name="sellPrices" type="hidden" value="'+row.sellPrice+'" class=\'abc\'>';
}
},{
field : 'goodsCode',
title : '分类码',
width : 150,
hidden : false
}, {
field : 'sl',
title : '数量',
width : 150,
formatter : function(value, row, index) {
return '<input name="sls" value=1 class="easyui-validatebox" data-options="required:true"/>';
}
} , {
field : 'action',
title : '动作',
width : 100,
formatter : function(value, row, index) {
return '<img onclick=cgrk_zdcgjh_addFrom_setGoods_deleteFun(\''+row.goodsId+'\') src=\'${pageContext.request.contextPath}/style/images/extjs_icons/cancel.png\'>';
}
}