Commit e379d7c4 by guanzhenshan

优化逻辑仓库字段显示和sku明细字段显示

parent 7e4d9072
......@@ -152,7 +152,7 @@
},
{
field: 'sku_image', title: '主图', width: '80', sortable: false, formatter: function (idx, data) {
var s = '<img src="' + data.sku_image + '" style="width:60px" />';
var s = '<a href="' + data.sku_image + '" target="_blank"><img src="' + data.sku_image + '" style="height:20px" /></a>';
return s;
}
},
......
......@@ -209,12 +209,12 @@
}
},
{
field: 'cash_in_30days', title: '30天现金流收入', width: '130', sortable: true, iscount: true, formatter: function (idx, data) {
field: 'cash_in_30days', title: '30天现金流收入', width: '135', sortable: true, iscount: true, formatter: function (idx, data) {
return '<a href="javascript:;" onclick="ShowCashFlow(\'' + data.warehouse_code + '\',\''+data.warehouse_name+'\')">' + data.cash_in_30days + '</a><img src="@Url.Content("~/img/icon-trendchart.png")" title="30天现金流收入趋势图" style="height:20px;margin-left:3px;" onclick="ShowTrendChart(\'' + data.warehouse_code + '\',\'30天现金流收入\',\'cash_in_30days\',\'' + data.warehouse_name + '\');" />';
}
},
{
field: 'cash_out_30days', title: '30天现金流支出', width: '130', sortable: true, iscount: true, formatter: function (idx, data) {
field: 'cash_out_30days', title: '30天现金流支出', width: '135', sortable: true, iscount: true, formatter: function (idx, data) {
return '<a href="javascript:;" onclick="ShowCashFlow(\'' + data.warehouse_code + '\',\'' + data.warehouse_name + '\')">' + data.cash_out_30days + '</a><img src="@Url.Content("~/img/icon-trendchart.png")" title="30天现金流支出趋势图" style="height:20px;margin-left:3px;" onclick="ShowTrendChart(\'' + data.warehouse_code + '\',\'30天现金流支出\',\'cash_out_30days\',\'' + data.warehouse_name + '\');" />';
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment