新加是否代兑换字段

This commit is contained in:
liuye
2023-05-24 14:09:10 +08:00
parent 73b7c5222b
commit 9af8a19922
2 changed files with 20 additions and 4 deletions

View File

@@ -31,6 +31,12 @@
placeholder="选择订单结束日期"
@change="search.current = 1, getList()">
</el-date-picker>
<ai-select
v-model="search.agentOrder"
@change="(search.current = 1), getList()"
placeholder="是否代兑换"
:selectList="dict.getDict('yesOrNo')">
</ai-select>
<ai-download
v-if="permissions('app_appintegralsupermarketorder_export')"
:instance="instance"
@@ -128,7 +134,8 @@
size: 10,
type: 1,
startTime: '',
endTime: ''
endTime: '',
agentOrder: ''
},
isShow: false,
form: {
@@ -140,6 +147,7 @@
colConfigs: [
{ prop: 'goodsSerialNumber', label: '商品ID', align: 'left' },
{ 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: 'quantity', label: '数量', align: 'center', format: v => `${v}` },
{ prop: 'usedIntegral', label: '消耗积分', align: 'center' },
@@ -155,7 +163,7 @@
},
created () {
this.dict.load('integralSGType', 'integralSGOStatus').then(() => {
this.dict.load('integralSGType', 'integralSGOStatus', 'yesOrNo').then(() => {
this.getList()
})
},