diff --git a/manager/src/views/seller/shop/shopOperation.vue b/manager/src/views/seller/shop/shopOperation.vue index d54eaee9..4ea23f6f 100644 --- a/manager/src/views/seller/shop/shopOperation.vue +++ b/manager/src/views/seller/shop/shopOperation.vue @@ -517,6 +517,8 @@ export default { if (res.success) { this.infoResult = res.result; this.shopForm = res.result; + this.shopForm.selfOperated ? this.shopForm.selfOperated = 1 : this.shopForm.selfOperated = 0 + this.checkAllGroup = this.shopForm.goodsManagementCategory.split(","); if (this.shopForm.settlementCycle) { this.settlementCycle = this.shopForm.settlementCycle.split(',') diff --git a/seller/src/main.js b/seller/src/main.js index 250ceeb0..48239dcb 100644 --- a/seller/src/main.js +++ b/seller/src/main.js @@ -8,8 +8,6 @@ import vueQr from "vue-qr"; import App from "./App"; import { router } from "./router/index"; import store from "./store"; -import config from '@/config/index' - import { getRequest, postRequest, @@ -50,8 +48,8 @@ Vue.prototype.setStore = setStore; Vue.prototype.getStore = getStore; Vue.prototype.removeStore = removeStore; Vue.prototype.md5 = md5; -const PC_URL = config.PC_URL; // 跳转买家端地址 pc端 -const WAP_URL = config.WAP_URL; // 跳转买家端地址 wap端 +const PC_URL = BASE.PC_URL; // 跳转买家端地址 pc端 +const WAP_URL = BASE.WAP_URL; // 跳转买家端地址 wap端 Vue.prototype.linkTo = function(goodsId, skuId) { // 跳转买家端商品 window.open(