Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop-ui
commit
e74c6d9eda
|
@ -97,16 +97,16 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
title: "变动积分",
|
title: "变动积分",
|
||||||
key: "point",
|
key: "variablePoint",
|
||||||
width: 110,
|
width: 110,
|
||||||
render: (h, params) => {
|
render: (h, params) => {
|
||||||
if (params.row.pointType == 1) {
|
if (params.row.pointType == 'INCREASE') {
|
||||||
return h('div', [
|
return h('div', [
|
||||||
h('span', {
|
h('span', {
|
||||||
style: {
|
style: {
|
||||||
color: 'green'
|
color: 'green'
|
||||||
}
|
}
|
||||||
}, "+" + params.row.point),
|
}, "+" + params.row.variablePoint),
|
||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
return h('div', [
|
return h('div', [
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
style: {
|
style: {
|
||||||
color: 'red'
|
color: 'red'
|
||||||
}
|
}
|
||||||
}, "-" + params.row.point),
|
}, "-" + params.row.variablePoint),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue