Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
f03d063c
Commit
f03d063c
authored
Jul 17, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
db845175
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
5 deletions
+39
-5
TravelContractNewRB.vue
src/components/TravelContractNewRB.vue
+39
-5
No files found.
src/components/TravelContractNewRB.vue
View file @
f03d063c
...
...
@@ -301,10 +301,11 @@
<span
v-if=
"CtObj.auditContract==1"
style=
"font-size:12px;color:red;"
>
等待行政审批通过后获取签字链接
</span>
<input
type=
"button"
v-if=
"CtObj.status==1&&CtObj.auditContract==0"
class=
"TCbtn-info"
@
click=
"sendAudit()"
value=
"提交审核"
/>
<font
v-if=
"CtObj.status==1&&CtObj.auditContract==3&&CtObj.auditContractReason"
style=
"color:red;"
>
驳回原因:
{{
CtObj
.
auditContractReason
}}
</font>
<font
v-if=
"CtObj.status==1&&CtObj.auditContract==3&&CtObj.auditContractReason"
style=
"color:red;"
>
驳回原因:
{{
CtObj
.
auditContractReason
}}
</font>
<input
type=
"button"
v-if=
"CtObj.status==1&&CtObj.auditContract==3"
class=
"TCbtn-info"
@
click=
"sendAudit()"
value=
"审核已被驳回,重新提交"
/>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"CtObj.status==1"
@
click=
"goUrl()"
value=
"预览"
>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"CtObj.auditContract==2"
@
click=
"getinvalid()"
value=
"作废"
>
<input
type=
"button"
class=
"TCbtn-info"
@
click=
"dialogVisible=true,getGuestList()"
value=
"复制合同"
/>
...
...
@@ -628,6 +629,9 @@
</td>
<td>
<a
style=
"color:blue;cursor:pointer;"
@
click=
"DeleteTicket(index)"
>
删除
</a>
<a
style=
"color:blue;cursor:pointer;"
v-if=
"index!=0"
@
click=
"MoveTicket(index,1)"
>
上移
</a>
<a
style=
"color:blue;cursor:pointer;"
v-if=
"index!=CtObj.ticketList.length-1"
@
click=
"MoveTicket(index,2)"
>
下移
</a>
</td>
</tr>
<tr>
...
...
@@ -1064,6 +1068,25 @@
};
},
methods
:
{
//一排上移、下移
MoveTicket
(
index
,
type
)
{
console
.
log
(
"this.CtObj.ticketList"
,
this
.
CtObj
.
ticketList
);
if
(
this
.
CtObj
.
ticketList
&&
this
.
CtObj
.
ticketList
.
length
>
0
)
{
var
tempData
=
this
.
CtObj
.
ticketList
[
index
];
//上移
if
(
type
==
1
&&
index
>
0
)
{
var
upData
=
this
.
CtObj
.
ticketList
[
index
-
1
];
this
.
CtObj
.
ticketList
[
index
]
=
upData
;
this
.
CtObj
.
ticketList
[
index
-
1
]
=
tempData
;
}
else
{
//下移
var
downData
=
this
.
CtObj
.
ticketList
[
index
+
1
];
this
.
CtObj
.
ticketList
[
index
]
=
downData
;
this
.
CtObj
.
ticketList
[
index
+
1
]
=
tempData
;
}
this
.
$forceUpdate
();
}
},
//添加航班
AddTicket
()
{
var
ticketObj
=
{
...
...
@@ -1082,7 +1105,12 @@
//删除航班
DeleteTicket
(
index
)
{
if
(
this
.
CtObj
.
ticketList
&&
this
.
CtObj
.
ticketList
.
length
>
0
)
{
this
.
CtObj
.
ticketList
.
splice
(
index
,
1
);
var
that
=
this
;
that
.
Confirm
(
"删除航班后将不能恢复?"
,
function
()
{
if
(
index
>
-
1
)
{
this
.
CtObj
.
ticketList
.
splice
(
index
,
1
);
}
});
}
},
//添加酒店
...
...
@@ -1101,7 +1129,12 @@
//删除酒店
DeleteHotel
(
index
)
{
if
(
this
.
CtObj
.
hotelList
&&
this
.
CtObj
.
hotelList
.
length
>
0
)
{
this
.
CtObj
.
hotelList
.
splice
(
index
,
1
);
var
that
=
this
;
that
.
Confirm
(
"删除酒店后将不能恢复?"
,
function
()
{
if
(
index
>
-
1
)
{
this
.
CtObj
.
hotelList
.
splice
(
index
,
1
);
}
});
}
},
changeSignType
()
{
...
...
@@ -1175,7 +1208,8 @@
this
.
CtObj
.
eachNumber
=
1
;
//初始化行程
this
.
GetTrip
(
0
,
this
.
msg
.
TCID
);
}
if
(
tempObj
.
company
)
{
}
if
(
tempObj
.
company
)
{
this
.
CtObj
.
SignType
=
tempObj
.
company
==
'四川和平国际旅行社有限公司'
?
0
:
1
;
this
.
CtObj
.
company
=
tempObj
.
company
;
}
...
...
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