|
@@ -56,11 +56,25 @@
|
|
|
title: '毛利率(gross margin)',
|
|
|
dataIndex: 'grossMargin',
|
|
|
key: 'grossMargin',
|
|
|
+ customRender:function (t, r, index) {
|
|
|
+ if(t.text&&t.text!==''){
|
|
|
+ return t.text+'%'
|
|
|
+ }else{
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
title: '税率(tax rate)',
|
|
|
dataIndex: 'taxRate',
|
|
|
key: 'taxRate',
|
|
|
+ customRender:function (t, r, index) {
|
|
|
+ if(t.text&&t.text!==''){
|
|
|
+ return t.text+'%'
|
|
|
+ }else{
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
];
|
|
|
//表单搜索字段
|