...
|
...
|
@@ -95,6 +95,11 @@ export default { |
|
|
title: '商品名称',
|
|
|
key: 'productName',
|
|
|
width: 150,
|
|
|
render(h, {row}) {
|
|
|
return (
|
|
|
<a href={ '/ufoPlatform/html/product/productEdit.html?id=' + row.id}>{row.productName}</a>
|
|
|
);
|
|
|
}
|
|
|
}, {
|
|
|
title: '尺码',
|
|
|
key: 'sizeName',
|
...
|
...
|
@@ -107,6 +112,17 @@ export default { |
|
|
},
|
|
|
key: 'channelPrice',
|
|
|
width: 100,
|
|
|
render(h, {row}) {
|
|
|
if (row.channelUrl) {
|
|
|
return (
|
|
|
<a href={row.channelUrl}>{row.channelPrice}</a>
|
|
|
)
|
|
|
} else {
|
|
|
return (
|
|
|
<span>{row.channelPrice}</span>
|
|
|
);
|
|
|
}
|
|
|
}
|
|
|
}, {
|
|
|
title: '毒平均价',
|
|
|
key: 'channelAveragePrice',
|
...
|
...
|
@@ -190,9 +206,6 @@ export default { |
|
|
return (
|
|
|
<span>
|
|
|
UFO价格红线
|
|
|
<i-tooltip transfer placement="top" content="毒当前价低于UFO价格红线则标记为异常">
|
|
|
<i-icon class="icon-edit" type="ios-information-circle-outline" />
|
|
|
</i-tooltip>
|
|
|
</span>
|
|
|
);
|
|
|
},
|
...
|
...
|
@@ -200,9 +213,21 @@ export default { |
|
|
width: 120,
|
|
|
}, {
|
|
|
title: '状态',
|
|
|
renderHeader: () => {
|
|
|
return (
|
|
|
<span>
|
|
|
状态
|
|
|
<i-tooltip transfer placement="top" content="毒当前价低于UFO价格红线则标记为异常">
|
|
|
<i-icon class="icon-edit" type="ios-information-circle-outline" />
|
|
|
</i-tooltip>
|
|
|
</span>
|
|
|
);
|
|
|
},
|
|
|
render(h, {row}) {
|
|
|
return (
|
|
|
<span>{row.status ? '异常' : '正常'}</span>
|
|
|
<span>
|
|
|
{row.status ? '异常' : '正常'}
|
|
|
</span>
|
|
|
);
|
|
|
},
|
|
|
width: 100,
|
...
|
...
|
|