Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fd8d2a21
authored
Jun 16, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
c7b2a032
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/views/productGroup/editProduct.vue
src/views/productGroup/editProduct.vue
View file @
fd8d2a2
...
@@ -971,12 +971,14 @@ export default {
...
@@ -971,12 +971,14 @@ export default {
// 从域名判断是不是广汇的
// 从域名判断是不是广汇的
diffHost
()
{
diffHost
()
{
let
href
=
window
.
location
.
host
let
href
=
window
.
location
.
host
this
.
showGh
=
href
.
indexOf
(
'cgacar'
)
!=
=
-
1
this
.
showGh
=
href
.
indexOf
(
'cgacar'
)
!=
-
1
if
(
this
.
showGh
)
{
if
(
this
.
showGh
)
{
let
idx
=
this
.
externalFormList
[
0
].
editFormData
.
findIndex
(
item
=>
item
.
name
==
'erpMaterialNo'
)
let
idx
=
this
.
externalFormList
[
0
].
editFormData
.
findIndex
(
item
=>
item
.
name
==
'erpMaterialNo'
)
let
serviceCodeIdx
=
this
.
externalFormList
[
0
].
editFormData
.
findIndex
(
item
=>
item
.
name
==
'serviceCode'
)
let
serviceCodeIdx
=
this
.
externalFormList
[
0
].
editFormData
.
findIndex
(
item
=>
item
.
name
==
'serviceCode'
)
let
equityCodeIdx
=
this
.
externalFormList
[
1
].
editFormData
.
findIndex
(
item
=>
item
.
name
==
'giveEquityCard'
)
this
.
externalFormList
[
0
].
editFormData
[
idx
].
isHide
=
!
this
.
showGh
this
.
externalFormList
[
0
].
editFormData
[
idx
].
isHide
=
!
this
.
showGh
this
.
externalFormList
[
0
].
editFormData
[
serviceCodeIdx
].
isHide
=
!
this
.
showGh
this
.
externalFormList
[
0
].
editFormData
[
serviceCodeIdx
].
isHide
=
!
this
.
showGh
this
.
externalFormList
[
1
].
editFormData
[
equityCodeIdx
].
isHide
=
!
this
.
showGh
this
.
externalFormList
[
0
].
editRule
.
erpMaterialNo
[
0
].
required
=
this
.
showGh
this
.
externalFormList
[
0
].
editRule
.
erpMaterialNo
[
0
].
required
=
this
.
showGh
}
}
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment