Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
jz_Travel
Commits
e61b87e9
Commit
e61b87e9
authored
Apr 17, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
34fb72bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
signAcontract.vue
pages/bigredrnvelope/signAcontract.vue
+11
-2
No files found.
pages/bigredrnvelope/signAcontract.vue
View file @
e61b87e9
...
...
@@ -383,12 +383,15 @@ export default {
}
},
onLoad
(
options
)
{
// 1是新增合同
if
(
options
.
IsRenewalContract
)
{
this
.
IsRenewalContract
=
options
.
IsRenewalContract
}
// 合同id
if
(
options
.
ContractId
)
{
this
.
ContractId
=
options
.
ContractId
}
// 已完成签名
if
(
options
.
isSign
)
{
this
.
isSign
=
options
.
isSign
}
...
...
@@ -681,9 +684,10 @@ export default {
if
(
this
.
IsRenewalContract
||
this
.
ContractId
){
if
(
this
.
isSign
&&
this
.
ContractId
>
0
){
this
.
msg
.
StepNum
=
4
}
else
this
.
msg
.
StepNum
=
0
}
// else this.msg.StepNum = 0
// if(this.IsRenewalContract==1) this.msg.ContractId = 0
if
(
this
.
ContractId
)
{
this
.
msg
.
ContractId
=
this
.
ContractId
let
ContractList
=
data
.
ContractList
.
filter
(
x
=>
{
...
...
@@ -693,6 +697,11 @@ export default {
this
.
msg
.
C_StartDate
=
ContractList
[
0
].
StartTime
this
.
msg
.
C_EndDate
=
ContractList
[
0
].
EndTime
this
.
msg
.
Tourists_Sign
=
ContractList
[
0
].
Tourists_Sign
if
(
this
.
msg
.
Tourists_Sign
){
this
.
msg
.
StepNum
=
4
}
else
this
.
msg
.
StepNum
=
3
}
else
{
this
.
msg
.
StepNum
=
0
}
console
.
log
(
ContractList
,
'--------'
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment