Commit e5878efb by 王志慧

commit

1 parent 879d20f9
......@@ -372,7 +372,7 @@ export default {
this.accountLevel = this.$globalState.session.accountLevel
}
// 取消判断
this.showGh = window.location.host.indexOf('cgacar') != -1
this.showGh = window.location.host.indexOf('cgacar') == -1
if (this.showGh) this.judgeGh()
this.getCardContentFun()
this.getCardtypeList()
......
......@@ -962,7 +962,7 @@ export default {
// 从域名判断是不是广汇的
diffHost() {
let href = window.location.host
this.showGh = href.indexOf('cgacar') != -1
this.showGh = href.indexOf('cgacar') == -1
if (this.showGh) {
let idx = this.externalFormList[0].editFormData.findIndex(item => item.name == 'erpMaterialNo')
let serviceCodeIdx = this.externalFormList[0].editFormData.findIndex(item => item.name == 'serviceCode')
......
......@@ -356,7 +356,7 @@ export default {
},
created() {
let href = window.location.host
this.showGh = href.indexOf('cgacar') != -1
this.showGh = href.indexOf('cgacar') == -1
},
mounted() {
this.getOptionsList('searchFormData')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!