pushuo 2022-08-29 16:24:08 +08:00
parent 8340fc781e
commit 3c765bd641
1 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,7 @@
</el-form-item>
<el-form-item label="{{ __('common.status') }}">
<el-select size="small" v-model="filter.status" placeholder="{{ __('common.please_choose') }}">
<el-option label="{{ __('common.all') }}" value=""></el-option>
<el-option label="{{ __('common.enabled') }}" value="1"></el-option>
<el-option label="{{ __('common.disabled') }}" value="0"></el-option>
</el-select>
@ -157,6 +158,11 @@
},
},
mounted () {
const customerGroupAll = {id:'', name: '{{ __('common.all') }}'}
this.source.customer_group.unshift(customerGroupAll);
},
watch: {
page: function() {
this.loadData();