更新
This commit is contained in:
parent
f529194aa1
commit
d442ba88dc
@ -772,7 +772,8 @@ export default {
|
|||||||
us_status: "",
|
us_status: "",
|
||||||
mer_labels: "",
|
mer_labels: "",
|
||||||
svip_price_type: "",
|
svip_price_type: "",
|
||||||
product_id: this.$route.query.id ? this.$route.query.id : ""
|
product_id: this.$route.query.id ? this.$route.query.id : "",
|
||||||
|
product_type: ''
|
||||||
},
|
},
|
||||||
categoryList: [], // 平台
|
categoryList: [], // 平台
|
||||||
merCateList: [], // 商户分类筛选
|
merCateList: [], // 商户分类筛选
|
||||||
@ -825,6 +826,16 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
this.merchantType = this.$store.state.user.merchantType;
|
||||||
|
let typeName = this.merchantType.type_name;
|
||||||
|
if (typeName !== "市级供应链") {
|
||||||
|
this.product = 0;
|
||||||
|
this.tableFrom.product_type = ''
|
||||||
|
} else {
|
||||||
|
this.product = 98;
|
||||||
|
this.tableFrom.product_type = 98
|
||||||
|
}
|
||||||
|
console.log(this.product);
|
||||||
this.getLstFilterApi();
|
this.getLstFilterApi();
|
||||||
this.getCategorySelect();
|
this.getCategorySelect();
|
||||||
this.getCategoryList();
|
this.getCategoryList();
|
||||||
@ -832,18 +843,9 @@ export default {
|
|||||||
this.getLabelLst();
|
this.getLabelLst();
|
||||||
this.getTempLst();
|
this.getTempLst();
|
||||||
this.productCon();
|
this.productCon();
|
||||||
this.merchantType = this.$store.state.user.merchantType;
|
|
||||||
},
|
},
|
||||||
updated () {
|
updated () {
|
||||||
getBaseInfo().then(res => {
|
|
||||||
let typeName = res.data.merchantType.type_name;
|
|
||||||
if (typeName !== "市级供应链") {
|
|
||||||
this.product = 0;
|
|
||||||
} else {
|
|
||||||
this.product = 98;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
console.log(this.product);
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 把每一行的索引放进row
|
// 把每一行的索引放进row
|
||||||
|
Loading…
x
Reference in New Issue
Block a user