This commit is contained in:
weipengfei 2023-11-28 18:46:25 +08:00
parent f529194aa1
commit d442ba88dc

View File

@ -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