This commit is contained in:
余同学 2024-11-04 16:59:29 +08:00
parent 597e1157ee
commit 732ff3cb50
2 changed files with 19 additions and 2 deletions

View File

@ -0,0 +1,13 @@
<template>
<div>配置</div>
</template>
<script>
export default {
}
</script>
<style>
</style>

View File

@ -832,7 +832,9 @@ export default {
if (this.isAdd) {
this.$api.mer_admin
.addShippingTemplate({
linkId: JSON.parse(sessionStorage.getItem("userInfo")).shopId,
linkId: JSON.parse(sessionStorage.getItem("userInfo")).shopId
? JSON.parse(sessionStorage.getItem("userInfo")).shopId
: JSON.parse(sessionStorage.getItem("userInfo")).merchantId,
defaults: 0, //
sort: 0, //
type: 2, //
@ -891,7 +893,9 @@ export default {
this.$api.mer_admin
.updateShippingTemplate({
id: this.modalData.id,
linkId: JSON.parse(sessionStorage.getItem("userInfo")).shopId,
linkId: JSON.parse(sessionStorage.getItem("userInfo")).shopId
? JSON.parse(sessionStorage.getItem("userInfo")).shopId
: JSON.parse(sessionStorage.getItem("userInfo")).merchantId,
defaults: 0, //
sort: 0, //
type: 2, //