Commit 434eee71 authored by 季圣华's avatar 季圣华
Browse files

优化商品列表

parent 80e0790b
...@@ -168,7 +168,8 @@ ...@@ -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;
} }
......
Supports Markdown
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