2024-07-01 16:35:17 +08:00
|
|
|
<template>
|
2024-07-01 21:08:03 +08:00
|
|
|
<el-select class="w-100" v-model="value" multiple placeholder="退款状态:可多选,空显示全部">
|
|
|
|
<template slot="prepend">Http://</template>
|
2024-07-01 16:35:17 +08:00
|
|
|
<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: '未申请',
|
|
|
|
label: '未申请'
|
|
|
|
}, {
|
|
|
|
value: '申请中',
|
|
|
|
label: '申请中'
|
|
|
|
}, {
|
|
|
|
value: '已同意',
|
|
|
|
label: '同意买家申请'
|
|
|
|
}, {
|
|
|
|
value: '主动退',
|
2024-07-01 21:08:03 +08:00
|
|
|
label: '卖家主动退款'
|
2024-07-01 16:35:17 +08:00
|
|
|
}, {
|
|
|
|
value: '拒绝退',
|
|
|
|
label: '拒绝退款'
|
|
|
|
}],
|
2024-07-01 21:08:03 +08:00
|
|
|
value: this.$store.getters['app/getOrderSerch'].refund_status
|
2024-07-01 16:35:17 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
value (val) {
|
2024-07-01 21:08:03 +08:00
|
|
|
this.$store.commit('app/setOrderSerch', { refund_status: val })
|
2024-07-01 16:35:17 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped></style>
|