【类 型】:chore
【主 题】:组件更名 【描 述】: [原因]: [过程]: [影响]: 【结 束】 # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
This commit is contained in:
parent
fddd14b5c2
commit
91cab38b6f
@ -1,39 +0,0 @@
|
|||||||
<template>
|
|
||||||
<el-select class="w-100" v-model="value" multiple placeholder="退款状态过滤:可多选过滤条件(空置显示全部状态订单)">
|
|
||||||
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
|
|
||||||
</el-option>
|
|
||||||
</el-select>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data () {
|
|
||||||
return {
|
|
||||||
options: [{
|
|
||||||
value: 'normal',
|
|
||||||
label: '从未申请'
|
|
||||||
}, {
|
|
||||||
value: 'requested',
|
|
||||||
label: '申请退款中'
|
|
||||||
}, {
|
|
||||||
value: 'refunded',
|
|
||||||
label: '已退款'
|
|
||||||
}, {
|
|
||||||
value: 'rejected',
|
|
||||||
label: '拒绝退款'
|
|
||||||
}, {
|
|
||||||
value: 'actively',
|
|
||||||
label: '商家发起退款'
|
|
||||||
}],
|
|
||||||
value: this.$store.getters['app/getOrderSerch'].back
|
|
||||||
}
|
|
||||||
},
|
|
||||||
watch: {
|
|
||||||
value (val) {
|
|
||||||
this.$store.commit('app/setOrderSerch', { back: val })
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped></style>
|
|
@ -1,42 +0,0 @@
|
|||||||
<template>
|
|
||||||
<el-select class="w-100" v-model="value" multiple placeholder="订单状态过滤:可多选过滤条件(空置显示全部状态订单)">
|
|
||||||
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
|
|
||||||
</el-option>
|
|
||||||
</el-select>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data () {
|
|
||||||
return {
|
|
||||||
options: [{
|
|
||||||
value: 'unpaid',
|
|
||||||
label: '未付款'
|
|
||||||
}, {
|
|
||||||
value: 'pending',
|
|
||||||
label: '待处理'
|
|
||||||
}, {
|
|
||||||
value: 'processing',
|
|
||||||
label: '备货处理中'
|
|
||||||
}, {
|
|
||||||
value: 'shipped',
|
|
||||||
label: '已发货'
|
|
||||||
}, {
|
|
||||||
value: 'completed',
|
|
||||||
label: '已送达'
|
|
||||||
}, {
|
|
||||||
value: 'closed',
|
|
||||||
label: '交易关闭'
|
|
||||||
}],
|
|
||||||
value: this.$store.getters['app/getOrderSerch'].status
|
|
||||||
}
|
|
||||||
},
|
|
||||||
watch: {
|
|
||||||
value (val) {
|
|
||||||
this.$store.commit('app/setOrderSerch', { status: val })
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped></style>
|
|
Loading…
Reference in New Issue
Block a user