Authored by dongjunjie

图片展示

... ... @@ -64,7 +64,7 @@
columns: [
{
name: 'imageUrl', display: '图片', render: function (item) {
return '<img src="' + item.imageUrl + 'imageView/0/w/78/h/78">'
return item.imageUrl ? '<img src="' + item.imageUrl + '?imageView/0/w/78/h/78">' : "";
}
},
{
... ...
... ... @@ -63,7 +63,7 @@
columns: [
{
name: 'imageUrl', display: '图片', render: function (item) {
return '<img src="' + item.imageUrl + 'imageView/0/w/78/h/78">'
return item.imageUrl ? '<img src="' + item.imageUrl + '?imageView/0/w/78/h/78">' : "";
}
},
{
... ...
... ... @@ -58,7 +58,7 @@
url:'/report/getStorageOutRptList',
columns:[
{display:'图片',render(item){
return item.imageUrl?'<img src="'+item.imageUrl+'imageView/0/w/78/h/78">':"";
return item.imageUrl?'<img src="'+item.imageUrl+'?imageView/0/w/78/h/78">':"";
}},
{display:'SKN/SKU',render(item){
return '<p>SKN:'+item.productSkn+'</p><p>SKU:'+item.productSku+'</p>';
... ...
... ... @@ -58,7 +58,7 @@
url:'/report/getStorageInRptList',
columns:[
{display:'图片',render(item){
return item.imageUrl?'<img src="'+item.imageUrl+'imageView/0/w/78/h/78">':"";
return item.imageUrl?'<img src="'+item.imageUrl+'?imageView/0/w/78/h/78">':"";
}},
{display:'SKN/SKU',render(item){
return '<p>SKN:'+item.productSkn+'</p><p>SKU:'+item.productSku+'</p>';
... ...
... ... @@ -66,7 +66,7 @@
columns: [
{
display: '图片', render(item){
return item.imageUrl ? '<img src="' + item.imageUrl + 'imageView/0/w/78/h/78">' : "";
return item.imageUrl ? '<img src="' + item.imageUrl + '?imageView/0/w/78/h/78">' : "";
}
},
{
... ...