优化商品列表
This commit is contained in:
@@ -168,7 +168,8 @@
|
|||||||
{
|
{
|
||||||
title: '单位', dataIndex: 'unit', width: 100, customRender: function (text, record, index) {
|
title: '单位', dataIndex: 'unit', width: 100, customRender: function (text, record, index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text;
|
let showSku = record.sku?'[sku]':''
|
||||||
|
return text + showSku;
|
||||||
} else {
|
} else {
|
||||||
return record.unitName;
|
return record.unitName;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user