Commit 4ad3965d by 杨北旺

feat:新增广汇页面菜单,以便测试

1 parent 09312624
...@@ -161,7 +161,7 @@ export default { ...@@ -161,7 +161,7 @@ export default {
collisions: collisionOptions, collisions: collisionOptions,
collisionTerminate: false, collisionTerminate: false,
costPrice: false, //选择门店成本 costPrice: false, //选择门店成本
showGh:true showGh:false
} }
}, },
...@@ -169,7 +169,7 @@ export default { ...@@ -169,7 +169,7 @@ export default {
relateStoreDialog relateStoreDialog
}, },
created(){ created(){
// this.diffHost() this.diffHost()
}, },
mounted() { mounted() {
this.footerLeft = document.querySelector('.base-container-right').offsetLeft this.footerLeft = document.querySelector('.base-container-right').offsetLeft
...@@ -368,7 +368,7 @@ export default { ...@@ -368,7 +368,7 @@ export default {
delete targetParams.openCostPrice delete targetParams.openCostPrice
} }
if (this.add == true) { if (this.add == true) {
targetParams.merchantIds = this.merchantIds, targetParams.merchantIds = this.merchantIds
this.$apis.openconfig.addConfig(targetParams).then(res => { this.$apis.openconfig.addConfig(targetParams).then(res => {
if (res.code == '32') { if (res.code == '32') {
this.$message.error('请选择商户') this.$message.error('请选择商户')
...@@ -379,7 +379,6 @@ export default { ...@@ -379,7 +379,6 @@ export default {
} else { } else {
targetParams.id = this.id targetParams.id = this.id
this.$apis.openconfig.modifyConfig(targetParams).then(res => { this.$apis.openconfig.modifyConfig(targetParams).then(res => {
console.log(res, '12313')
if (res.code == '32') { if (res.code == '32') {
this.$message.error('请正确勾选信息') this.$message.error('请正确勾选信息')
} else if (res.code == '0') { } else if (res.code == '0') {
......
...@@ -166,6 +166,7 @@ export default { ...@@ -166,6 +166,7 @@ export default {
}, },
created(){ created(){
this.diffHost()
}, },
methods: { methods: {
// 区分滴加和广汇 // 区分滴加和广汇
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!