Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 72392759
authored
Oct 21, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
合同主体剥离广汇配置
1 parent
d7d7a8c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
src/views/config/addConfig.vue
src/views/config/addConfig.vue
View file @
7239275
...
...
@@ -268,7 +268,6 @@ export default {
created
(){
this
.
diffHost
()
this
.
initContractObj
()
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
...
...
@@ -314,6 +313,7 @@ export default {
this
.
showGh
=
true
}
else
{
this
.
showGh
=
false
this
.
initContractObj
()
}
// console.log(href);
// console.log(this.showGh);
...
...
@@ -453,13 +453,15 @@ export default {
this
.
first
=
!!
arrs
[
i
]?.
isChecked
}
}
const
contractSubjectType
=
res
.
contractSubjectType
==
0
?
3
:
res
.
contractSubjectName
==
'深圳市嘀加智慧云服务有限公司'
?
2
:
res
.
contractSubjectName
==
'深圳广联数科科技有限公司'
?
1
:
''
// 主体类型 0自定义(将值做转换,方便交互处理)
this
.
contractObj
.
contractSubjectType
=
contractSubjectType
this
.
contractObj
.
typeData
[
contractSubjectType
-
1
]
=
{
contractSubjectName
:
res
.
contractSubjectName
,
contractImportantClause
:
res
.
contractImportantClause
,
contractLogoUrl
:
res
.
contractLogoUrl
,
contractSealUrl
:
res
.
contractSealUrl
if
(
!
this
.
showGh
)
{
const
contractSubjectType
=
res
.
contractSubjectType
==
0
?
3
:
res
.
contractSubjectName
==
'深圳市嘀加智慧云服务有限公司'
?
2
:
res
.
contractSubjectName
==
'深圳广联数科科技有限公司'
?
1
:
''
// 主体类型 0自定义(将值做转换,方便交互处理)
this
.
contractObj
.
contractSubjectType
=
contractSubjectType
this
.
contractObj
.
typeData
[
contractSubjectType
-
1
]
=
{
contractSubjectName
:
res
.
contractSubjectName
,
contractImportantClause
:
res
.
contractImportantClause
,
contractLogoUrl
:
res
.
contractLogoUrl
,
contractSealUrl
:
res
.
contractSealUrl
}
}
})
},
...
...
@@ -531,7 +533,7 @@ export default {
params
.
push
({
packageCode
,
servicePeriod
:
packageServicePeriod
,
cardName
})
}
})
if
(
!
this
.
contractObj
.
typeData
[
this
.
contractObj
.
contractSubjectType
-
1
].
contractSubjectName
)
{
if
(
!
this
.
contractObj
.
typeData
[
this
.
contractObj
.
contractSubjectType
-
1
].
contractSubjectName
&&
!
this
.
showGh
)
{
return
this
.
$message
.
error
(
'请输入合同主体名称'
)
}
let
targetParams
=
{
...
...
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