关于easyUI 如何获取field 各位大神 帮帮忙
columns: [[
{ title: '' + seleVal + '', align: 'center', colspan: 4 }
], [
{ field: seleVal+'-SyntheticalPrice', title: '计算价', width: 80, align: 'center',rowspan:1 },
{ field: seleVal+'-AdjustPrice', title: '调整价', width: 100, align: 'center', rowspan: 1 },
{ field: seleVal + '-LastSynPrice', title: '上期价', width: 80, align: 'center', rowspan: 1 },
{ field: seleVal + '-month-on-month', title: '环比', width: 60, align: 'center', rowspan: 1 }
]],
rowStyler: function (index1, row) {
//信息员价格环比标记
if (row.AdjustPrice > 0 && row.LastSynPrice > 0) {
if (row.AdjustPrice / row.LastSynPrice > 1.05 || row.AdjustPrice / row.LastSynPrice < 0.95) {
return 'color:red';
}
我把field改为了拼接字符串,那么我 “ //信息员价格环比标记 if (row.AdjustPrice > 0 && row.LastSynPrice > 0) {”这里该怎么获取field呢