添加店铺经营类型查询

This commit is contained in:
luofei 2024-04-03 09:30:33 +08:00
parent d4a60b8938
commit 9582f1eecf

View File

@ -23,6 +23,11 @@
<el-option v-for="item in storeType" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item label="经营类型:" prop="business_type">
<el-select v-model="tableFrom.business_type" clearable placeholder="请选择" class="selWidth" @change="getList(1)">
<el-option v-for="item in businessType" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item label="是否推荐:" prop="is_best">
<el-select v-model="tableFrom.is_best" clearable placeholder="请选择" class="selWidth" @change="getList(1)">
<el-option key="1" label="是" value="1" />
@ -139,6 +144,20 @@ export default {
listLoading: true,
merCateList: [],
storeType: [],
businessType: [
{
"label": "零售商户",
"value": 0
},
{
"label": "批发商户",
"value": 1
},
{
"label": "批发零售商户",
"value": 2
},
],
headeNum: [
{
count: '',
@ -164,6 +183,7 @@ export default {
is_trader: "",
is_best: "",
category_id: '',
business_type: '',
type_id: ""
},
autoUpdate: true,