Commit cb2405fe by crushh

update: 数据

parent 9a08576a
......@@ -378,7 +378,7 @@ export const numFormat = function(num) {
// if (process.env.NODE_ENV == 'development') {
// console.error('numFormat Arguments TypeError: Arguments type is not number');
// }
return '--';
return '- -';
}
return num.toString().replace(/\d+/, n => {
// 先提取整数部分
......
......@@ -161,6 +161,14 @@ const pointHead = [
}
},
{
label: '奖品数量',
minWidth: '120',
prop: 'prizeTotalStock',
formatter: function(row) {
return `<span class="ellipsis-l2">${row.prizeTotalStock ? row.prizeTotalStock : '- -'}</span>`;
}
},
{
label: '中奖人数',
prop: 'prizeWinningMNum',
minWidth: '116',
......
Markdown is supported
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