新加是否代兑换字段
This commit is contained in:
@@ -31,6 +31,12 @@
|
|||||||
placeholder="选择订单结束日期"
|
placeholder="选择订单结束日期"
|
||||||
@change="search.current = 1, getList()">
|
@change="search.current = 1, getList()">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
|
<ai-select
|
||||||
|
v-model="search.agentOrder"
|
||||||
|
@change="(search.current = 1), getList()"
|
||||||
|
placeholder="是否代兑换"
|
||||||
|
:selectList="dict.getDict('yesOrNo')">
|
||||||
|
</ai-select>
|
||||||
<ai-download
|
<ai-download
|
||||||
v-if="permissions('app_appintegralsupermarketorder_export')"
|
v-if="permissions('app_appintegralsupermarketorder_export')"
|
||||||
:instance="instance"
|
:instance="instance"
|
||||||
@@ -129,7 +135,8 @@
|
|||||||
size: 10,
|
size: 10,
|
||||||
startTime: '',
|
startTime: '',
|
||||||
type: 1,
|
type: 1,
|
||||||
endTime: ''
|
endTime: '',
|
||||||
|
agentOrder: ''
|
||||||
},
|
},
|
||||||
isShow: false,
|
isShow: false,
|
||||||
form: {
|
form: {
|
||||||
@@ -141,6 +148,7 @@
|
|||||||
colConfigs: [
|
colConfigs: [
|
||||||
{ prop: 'goodsSerialNumber', label: '商品ID', align: 'left' },
|
{ prop: 'goodsSerialNumber', label: '商品ID', align: 'left' },
|
||||||
{ slot: 'goods', align: 'center' },
|
{ slot: 'goods', align: 'center' },
|
||||||
|
{ prop: 'agentOrder', label: '是否代兑换', align: 'center', format: v => this.dict.getLabel('yesOrNo', v) },
|
||||||
{ prop: 'goodsType', label: '商品类型', align: 'center', format: v => this.dict.getLabel('integralSGType', v) },
|
{ prop: 'goodsType', label: '商品类型', align: 'center', format: v => this.dict.getLabel('integralSGType', v) },
|
||||||
{ prop: 'quantity', label: '数量', align: 'center', format: v => `${v}` },
|
{ prop: 'quantity', label: '数量', align: 'center', format: v => `${v}` },
|
||||||
{ prop: 'usedIntegral', label: '消耗积分', align: 'center' },
|
{ prop: 'usedIntegral', label: '消耗积分', align: 'center' },
|
||||||
@@ -156,7 +164,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
created () {
|
created () {
|
||||||
this.dict.load('integralSGType', 'integralSGOStatus').then(() => {
|
this.dict.load('integralSGType', 'integralSGOStatus', 'yesOrNo').then(() => {
|
||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -31,6 +31,12 @@
|
|||||||
placeholder="选择订单结束日期"
|
placeholder="选择订单结束日期"
|
||||||
@change="search.current = 1, getList()">
|
@change="search.current = 1, getList()">
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
|
<ai-select
|
||||||
|
v-model="search.agentOrder"
|
||||||
|
@change="(search.current = 1), getList()"
|
||||||
|
placeholder="是否代兑换"
|
||||||
|
:selectList="dict.getDict('yesOrNo')">
|
||||||
|
</ai-select>
|
||||||
<ai-download
|
<ai-download
|
||||||
v-if="permissions('app_appintegralsupermarketorder_export')"
|
v-if="permissions('app_appintegralsupermarketorder_export')"
|
||||||
:instance="instance"
|
:instance="instance"
|
||||||
@@ -128,7 +134,8 @@
|
|||||||
size: 10,
|
size: 10,
|
||||||
type: 1,
|
type: 1,
|
||||||
startTime: '',
|
startTime: '',
|
||||||
endTime: ''
|
endTime: '',
|
||||||
|
agentOrder: ''
|
||||||
},
|
},
|
||||||
isShow: false,
|
isShow: false,
|
||||||
form: {
|
form: {
|
||||||
@@ -140,6 +147,7 @@
|
|||||||
colConfigs: [
|
colConfigs: [
|
||||||
{ prop: 'goodsSerialNumber', label: '商品ID', align: 'left' },
|
{ prop: 'goodsSerialNumber', label: '商品ID', align: 'left' },
|
||||||
{ slot: 'goods', align: 'center' },
|
{ slot: 'goods', align: 'center' },
|
||||||
|
{ prop: 'agentOrder', label: '是否代兑换', align: 'center', format: v => this.dict.getLabel('yesOrNo', v) },
|
||||||
{ prop: 'goodsType', label: '商品类型', align: 'center', format: v => this.dict.getLabel('integralSGType', v) },
|
{ prop: 'goodsType', label: '商品类型', align: 'center', format: v => this.dict.getLabel('integralSGType', v) },
|
||||||
{ prop: 'quantity', label: '数量', align: 'center', format: v => `${v}` },
|
{ prop: 'quantity', label: '数量', align: 'center', format: v => `${v}` },
|
||||||
{ prop: 'usedIntegral', label: '消耗积分', align: 'center' },
|
{ prop: 'usedIntegral', label: '消耗积分', align: 'center' },
|
||||||
@@ -155,7 +163,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
created () {
|
created () {
|
||||||
this.dict.load('integralSGType', 'integralSGOStatus').then(() => {
|
this.dict.load('integralSGType', 'integralSGOStatus', 'yesOrNo').then(() => {
|
||||||
this.getList()
|
this.getList()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user