|
@@ -46,7 +46,7 @@
|
|
<el-form-item label="小类">
|
|
<el-form-item label="小类">
|
|
<my-select
|
|
<my-select
|
|
v-model="query.smallCategoryId"
|
|
v-model="query.smallCategoryId"
|
|
- :options="middleCategories"
|
|
|
|
|
|
+ :options="smallCategories"
|
|
>
|
|
>
|
|
<el-option label="全部" value=""></el-option>
|
|
<el-option label="全部" value=""></el-option>
|
|
</my-select>
|
|
</my-select>
|
|
@@ -200,7 +200,7 @@ export default {
|
|
|
|
|
|
onChangeMiddleCategoryBtnClick (id) {
|
|
onChangeMiddleCategoryBtnClick (id) {
|
|
this.$$request(materialCategoryApi.getList, {parentId: id}).then(dataList => {
|
|
this.$$request(materialCategoryApi.getList, {parentId: id}).then(dataList => {
|
|
- this.middleCategories = Object.freeze(dataList)
|
|
|
|
|
|
+ this.smallCategories = Object.freeze(dataList)
|
|
}).catch(console.error)
|
|
}).catch(console.error)
|
|
},
|
|
},
|
|
onOpenDetailEditorBtnClick (data) {
|
|
onOpenDetailEditorBtnClick (data) {
|