运费模版
continuous-integration/drone/push Build is passing Details

This commit is contained in:
余同学 2024-11-12 18:18:33 +08:00
parent e5c74c2e0c
commit 97c78ea61b
1 changed files with 12 additions and 1 deletions

View File

@ -54,7 +54,18 @@ export default {
}; };
}, },
created() { created() {
this.shopId = JSON.parse(sessionStorage.getItem("userInfo")).shopId; if (JSON.parse(sessionStorage.getItem("userInfo")).markets.length > 0) {
this.shopId = true;
this.formInline.marketId = JSON.parse(
sessionStorage.getItem("userInfo")
).markets[0].marketId;
this.marketList = JSON.parse(sessionStorage.getItem("userInfo")).markets;
console.log(this.marketList);
} else if (JSON.parse(sessionStorage.getItem("userInfo")).shopId) {
this.shopId = true;
} else {
this.shopId = false;
}
}, },
methods: { methods: {
queryList(pageNo, pageSize) { queryList(pageNo, pageSize) {