|
@@ -16,7 +16,8 @@
|
|
|
<el-col :span="18" id="el-cor-full-style">
|
|
|
<el-row :gutter="10">
|
|
|
<el-col :span="6">
|
|
|
- <el-cascader
|
|
|
+ 111
|
|
|
+ <!-- <el-cascader
|
|
|
v-model="parmValue.catid"
|
|
|
style="width: 100%"
|
|
|
filterable
|
|
@@ -26,7 +27,7 @@
|
|
|
:options="catOptions"
|
|
|
:props="{ expandTrigger: 'hover', checkStrictly: true }"
|
|
|
@change="handleChange"
|
|
|
- ></el-cascader>
|
|
|
+ ></el-cascader> -->
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-select
|
|
@@ -356,7 +357,6 @@ export default {
|
|
|
index: 0,
|
|
|
showImgModel: false,
|
|
|
statusList: statusList,
|
|
|
- catOptions: [],
|
|
|
showLadderPrice: false,
|
|
|
loading: false,
|
|
|
showModel: false,
|
|
@@ -403,7 +403,6 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.searchList();
|
|
|
- this.getAllCat();
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
@@ -572,34 +571,7 @@ export default {
|
|
|
}
|
|
|
this.loading = false;
|
|
|
},
|
|
|
- async getAllCat() {
|
|
|
- const res = await asyncRequest.catAll({});
|
|
|
- if (res.code === 0 && res.data) {
|
|
|
- let list = res.data;
|
|
|
- list.map((v1) => {
|
|
|
- v1.value = v1.id;
|
|
|
- v1.label = v1.cat_name;
|
|
|
- if (v1.child && v1.child.length > 0) {
|
|
|
- v1.child.map((v2) => {
|
|
|
- v2.value = v2.id;
|
|
|
- v2.label = v2.cat_name;
|
|
|
- if (v2.child && v2.child.length > 0) {
|
|
|
- v2.child.map((v3) => {
|
|
|
- v3.value = v3.id;
|
|
|
- v3.label = v3.cat_name;
|
|
|
- return v3;
|
|
|
- });
|
|
|
- v2.children = v2.child;
|
|
|
- }
|
|
|
- return v2;
|
|
|
- });
|
|
|
- v1.children = v1.child;
|
|
|
- }
|
|
|
- return v1;
|
|
|
- });
|
|
|
- this.catOptions = list;
|
|
|
- }
|
|
|
- },
|
|
|
+
|
|
|
async statusConfirm(id, status, type) {
|
|
|
if (!type) {
|
|
|
return;
|