mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
improve: 分类选择
This commit is contained in:
parent
0de5909a6d
commit
52d81767c7
@ -46,19 +46,12 @@
|
||||
</Col>
|
||||
<Col span="24">
|
||||
<FormItem label="商品分类:" prop="cate_id">
|
||||
<!-- {{ formValidate.cate_id }}
|
||||
<Select v-model="formValidate.cate_id" placeholder="请选择商品分类" multiple class="perW30">
|
||||
<Option v-for="item in treeSelect" :disabled="item.pid === 0" :value="item.id" :key="item.id">{{
|
||||
item.html + item.cate_name
|
||||
}}</Option>
|
||||
</Select>
|
||||
{{ formValidate.cate_id }} -->
|
||||
<el-cascader
|
||||
class="perW30"
|
||||
v-model="formValidate.cate_id"
|
||||
size="small"
|
||||
:options="treeSelect"
|
||||
:props="{ multiple: true, emitPath: false }"
|
||||
:props="{ multiple: true, checkStrictly: true, emitPath: false }"
|
||||
clearable
|
||||
></el-cascader>
|
||||
<span class="addfont" @click="addCate">新增分类</span>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user