Commit c45537b0 by 李伟康

新增订单类型

1 parent 16046c50
...@@ -110,6 +110,19 @@ export default { ...@@ -110,6 +110,19 @@ export default {
optionId: 'id', optionId: 'id',
optionLabel: 'text' optionLabel: 'text'
}, },
{
label: '订单类型',
name: 'receiveWay',
type: 'select',
maxlength: 100,
optionList: [
{ text: '全部', id: '' },
{ text: '积分导入', id: '1' },
{ text: '用户购买', id: '0' }
],
optionId: 'id',
optionLabel: 'text'
},
], ],
getListApi: this.$apis.platformGoods.getOilCouponOrderList, getListApi: this.$apis.platformGoods.getOilCouponOrderList,
tableParams: { tableParams: {
...@@ -166,6 +179,16 @@ export default { ...@@ -166,6 +179,16 @@ export default {
addHtml: 'statusStr' addHtml: 'statusStr'
}, },
{ {
label: '订单类型',
minWidth: 150,
formatter: cellValue => {
return {
0: '用户购买',
1: '积分导入'
}[cellValue.receiveWay]
}
},
{
label: '订单编号', label: '订单编号',
prop: 'orderCode', prop: 'orderCode',
minWidth: 200 minWidth: 200
...@@ -195,7 +218,7 @@ export default { ...@@ -195,7 +218,7 @@ export default {
}, },
handleExport () { handleExport () {
const params = this.getParams() const params = this.getParams()
this.$apis.platformGoods.exportOilCouponOrderList({...params,...this.$refs.listRef.page}).then(res => { this.$apis.platformGoods.exportOilCouponOrderList({ ...params, ...this.$refs.listRef.page }).then(res => {
exportFn(res) exportFn(res)
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!