解决商家端 商家列表报错问题
parent
e4bc52a219
commit
f7b8713be1
|
@ -517,6 +517,8 @@ export default {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.infoResult = res.result;
|
this.infoResult = res.result;
|
||||||
this.shopForm = res.result;
|
this.shopForm = res.result;
|
||||||
|
this.shopForm.selfOperated ? this.shopForm.selfOperated = 1 : this.shopForm.selfOperated = 0
|
||||||
|
|
||||||
this.checkAllGroup = this.shopForm.goodsManagementCategory.split(",");
|
this.checkAllGroup = this.shopForm.goodsManagementCategory.split(",");
|
||||||
if (this.shopForm.settlementCycle) {
|
if (this.shopForm.settlementCycle) {
|
||||||
this.settlementCycle = this.shopForm.settlementCycle.split(',')
|
this.settlementCycle = this.shopForm.settlementCycle.split(',')
|
||||||
|
|
|
@ -8,8 +8,6 @@ import vueQr from "vue-qr";
|
||||||
import App from "./App";
|
import App from "./App";
|
||||||
import { router } from "./router/index";
|
import { router } from "./router/index";
|
||||||
import store from "./store";
|
import store from "./store";
|
||||||
import config from '@/config/index'
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
getRequest,
|
getRequest,
|
||||||
postRequest,
|
postRequest,
|
||||||
|
@ -50,8 +48,8 @@ Vue.prototype.setStore = setStore;
|
||||||
Vue.prototype.getStore = getStore;
|
Vue.prototype.getStore = getStore;
|
||||||
Vue.prototype.removeStore = removeStore;
|
Vue.prototype.removeStore = removeStore;
|
||||||
Vue.prototype.md5 = md5;
|
Vue.prototype.md5 = md5;
|
||||||
const PC_URL = config.PC_URL; // 跳转买家端地址 pc端
|
const PC_URL = BASE.PC_URL; // 跳转买家端地址 pc端
|
||||||
const WAP_URL = config.WAP_URL; // 跳转买家端地址 wap端
|
const WAP_URL = BASE.WAP_URL; // 跳转买家端地址 wap端
|
||||||
Vue.prototype.linkTo = function(goodsId, skuId) {
|
Vue.prototype.linkTo = function(goodsId, skuId) {
|
||||||
// 跳转买家端商品
|
// 跳转买家端商品
|
||||||
window.open(
|
window.open(
|
||||||
|
|
Loading…
Reference in New Issue