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

This commit is contained in:
余同学 2024-11-07 17:13:34 +08:00
parent ac41f54a07
commit b95c767c98
2 changed files with 45 additions and 33 deletions

View File

@ -1,5 +1,6 @@
<template> <template>
<div> <div>
<div v-if="shopId">
<obj-table-plus <obj-table-plus
style="height: calc(100vh - 132px)" style="height: calc(100vh - 132px)"
ref="oTable" ref="oTable"
@ -33,6 +34,10 @@
@refresh="$refs.oTable.refresh()" @refresh="$refs.oTable.refresh()"
></add-template> ></add-template>
</div> </div>
<div style="height: calc(100vh - 200px)" v-else>
<el-empty :image-size="200" description="请先去完成认证"></el-empty>
</div>
</div>
</template> </template>
<script> <script>
@ -45,8 +50,12 @@ export default {
searchForm: { searchForm: {
name: "", name: "",
}, },
shopId: "",
}; };
}, },
created() {
this.shopId = JSON.parse(sessionStorage.getItem("userInfo")).shopId;
},
methods: { methods: {
queryList(pageNo, pageSize) { queryList(pageNo, pageSize) {
this.$api.mer_admin this.$api.mer_admin

View File

@ -100,9 +100,12 @@ export default {
}, },
productFilterType: "SALE", productFilterType: "SALE",
selectList: [], selectList: [],
shopId: sessionStorage.getItem("userInfo").shopId, shopId: "",
}; };
}, },
created() {
this.shopId = JSON.parse(sessionStorage.getItem("userInfo")).shopId;
},
methods: { methods: {
addProduct() { addProduct() {
this.$refs.addOrUpdate.toggle().add(); this.$refs.addOrUpdate.toggle().add();