优化商品列表

This commit is contained in:
季圣华
2021-08-07 23:30:23 +08:00
parent 80e0790b89
commit 434eee714e

View File

@@ -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;
} }