Commit a3e7187a by zhangxw

优惠券列表/发放记录列表字段修改

1 parent dd1e23fd
...@@ -146,7 +146,7 @@ export default class DiscountCouponPage extends PaginationComponent<Vehicle> { ...@@ -146,7 +146,7 @@ export default class DiscountCouponPage extends PaginationComponent<Vehicle> {
return (this.getPagination().pageIndex - 1) * this.getPagination().pageSize + index + 1; return (this.getPagination().pageIndex - 1) * this.getPagination().pageSize + index + 1;
}, },
}, },
{ title: '优惠券ID', dataIndex: 'templateId', key: 'templateId', align: 'left', width: 220, resizable: true, ellipsis: true }, { title: '优惠券模板ID', dataIndex: 'templateId', key: 'templateId', align: 'left', width: 220, resizable: true, ellipsis: true },
{ title: '优惠券名称', dataIndex: 'templateName', key: 'templateName', align: 'left', width: 170, resizable: true, ellipsis: true }, { title: '优惠券名称', dataIndex: 'templateName', key: 'templateName', align: 'left', width: 170, resizable: true, ellipsis: true },
{ title: '优惠券有效期', dataIndex: "woId", key: 'woId', align: 'left', width: 200, resizable: true, ellipsis: true }, { title: '优惠券有效期', dataIndex: "woId", key: 'woId', align: 'left', width: 200, resizable: true, ellipsis: true },
{ title: '抵扣类型', dataIndex: 'deductionType', key: 'deductionType', align: 'left', width: 170, resizable: true, ellipsis: true }, { title: '抵扣类型', dataIndex: 'deductionType', key: 'deductionType', align: 'left', width: 170, resizable: true, ellipsis: true },
...@@ -170,7 +170,7 @@ export default class DiscountCouponPage extends PaginationComponent<Vehicle> { ...@@ -170,7 +170,7 @@ export default class DiscountCouponPage extends PaginationComponent<Vehicle> {
this.init(this.axios, DiscountController.PAGE_COUPON_TEMPLATE) this.init(this.axios, DiscountController.PAGE_COUPON_TEMPLATE)
this.buildQueryForm({ this.buildQueryForm({
templateName: [null, { label: '优惠券名称', field: 'templateName', placeholder: '请输入优惠券名称', operator: Operator.like }], templateName: [null, { label: '优惠券名称', field: 'templateName', placeholder: '请输入优惠券名称', operator: Operator.like }],
templateId: [null, { label: '优惠券ID', field: 'templateId', placeholder: '请输入优惠券ID', operator: Operator.like }], templateId: [null, { label: '优惠券模板ID', field: 'templateId', placeholder: '请输入优惠券模板ID', operator: Operator.like }],
couponType: [null, { label: '优惠券类型', field: 'couponType', type: 'select', allowClear: true, optionItems: this.couponTypeList, operator: Operator.eq }], couponType: [null, { label: '优惠券类型', field: 'couponType', type: 'select', allowClear: true, optionItems: this.couponTypeList, operator: Operator.eq }],
deductionType: [null, { label: '抵扣类型', type: 'select', optionItems: this.deductionTypeList, allowClear: true, field: 'deductionType', operator: Operator.eq }], deductionType: [null, { label: '抵扣类型', type: 'select', optionItems: this.deductionTypeList, allowClear: true, field: 'deductionType', operator: Operator.eq }],
status: [null, { label: '状态', field: 'status', type: 'select', allowClear: true, optionItems: this.statusList, operator: Operator.eq }], status: [null, { label: '状态', field: 'status', type: 'select', allowClear: true, optionItems: this.statusList, operator: Operator.eq }],
......
...@@ -229,6 +229,7 @@ export default class DiscountActivityPage extends PaginationComponent<Vehicle> { ...@@ -229,6 +229,7 @@ export default class DiscountActivityPage extends PaginationComponent<Vehicle> {
}, },
{ title: '活动ID / 名称', dataIndex: 'activityName', key: 'activityName', align: 'left', width: 220, resizable: true, ellipsis: true }, { title: '活动ID / 名称', dataIndex: 'activityName', key: 'activityName', align: 'left', width: 220, resizable: true, ellipsis: true },
{ title: '优惠券ID / 名称', dataIndex: 'templateName', key: 'templateName', align: 'left', width: 200, resizable: true, ellipsis: true }, { title: '优惠券ID / 名称', dataIndex: 'templateName', key: 'templateName', align: 'left', width: 200, resizable: true, ellipsis: true },
{ title: '优惠券模板ID', dataIndex: 'couponTemplateId', key: 'couponTemplateId', align: 'left', width: 220, resizable: true, ellipsis: true },
{ title: '发放用户名 / 手机号', dataIndex: 'accountName', key: 'accountName', align: 'left', width: 150, resizable: true, ellipsis: true }, { title: '发放用户名 / 手机号', dataIndex: 'accountName', key: 'accountName', align: 'left', width: 150, resizable: true, ellipsis: true },
{ title: '发放类型', dataIndex: 'distributionType', key: 'distributionType', align: 'left', width: 170, resizable: true, ellipsis: true }, { title: '发放类型', dataIndex: 'distributionType', key: 'distributionType', align: 'left', width: 170, resizable: true, ellipsis: true },
{ title: '优惠券状态', dataIndex: 'couponStatus', key: 'couponStatus', align: 'left', width: 150, resizable: true, ellipsis: true }, { title: '优惠券状态', dataIndex: 'couponStatus', key: 'couponStatus', align: 'left', width: 150, resizable: true, ellipsis: true },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!