Commit 6bac690e authored by 吴婷慧's avatar 吴婷慧

限额条件去掉状态显示

parent 51805025
...@@ -122,14 +122,14 @@ export default { ...@@ -122,14 +122,14 @@ export default {
const columns = [ const columns = [
{ title: "条件类型", dataIndex: "frequencyDesc" }, { title: "条件类型", dataIndex: "frequencyDesc" },
{ title: "条件内容", dataIndex: "limitDesc" }, { title: "条件内容", dataIndex: "limitDesc" },
{ title: "状态", dataIndex: "status", customRender: (val) => { // { title: "状态", dataIndex: "status", customRender: (val) => {
for(let i = 0; i < this.statusCode.length; i ++) { // for(let i = 0; i < this.statusCode.length; i ++) {
if (val === this.statusCode[i].code) { // if (val === this.statusCode[i].code) {
return this.statusCode[i].name // return this.statusCode[i].name
} // }
} // }
return val; // return val;
} }, // } },
// { title: "限额或限次", dataIndex: "index" }, // { title: "限额或限次", dataIndex: "index" },
{ title: "福利限制", dataIndex: "maxValue", customRender: (val, row) => { { title: "福利限制", dataIndex: "maxValue", customRender: (val, row) => {
if (row.limitCode.indexOf('07') === 0) { if (row.limitCode.indexOf('07') === 0) {
......
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