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