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
c1ea6d40
Commit
c1ea6d40
authored
Apr 10, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
d0f85d45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
30 deletions
+29
-30
editTeamInfo.vue
src/components/TravelManager/TravelTeam/editTeamInfo.vue
+29
-30
No files found.
src/components/TravelManager/TravelTeam/editTeamInfo.vue
View file @
c1ea6d40
...
@@ -360,9 +360,9 @@
...
@@ -360,9 +360,9 @@
<el-row
v-if=
"isVirtuallyFlight==1"
>
<el-row
v-if=
"isVirtuallyFlight==1"
>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"机票绑定"
>
<el-form-item
label=
"机票绑定"
>
<el-input
placeholder=
"
请输入内容
"
v-model=
"TicketMsg"
>
<el-input
placeholder=
"
绑定机票信息
"
v-model=
"TicketMsg"
>
<
template
slot=
"append"
>
<
template
slot=
"append"
>
<el-popover
popper-class=
"_TravelPricePopover"
trigger=
"click"
>
<el-popover
popper-class=
"_TravelPricePopover"
>
<div>
<div>
<div
style=
"margin-bottom:20px;"
>
<div
style=
"margin-bottom:20px;"
>
{{
$t
(
'hotel.hotel_StartDate'
)
}}
{{
$t
(
'hotel.hotel_StartDate'
)
}}
...
@@ -389,9 +389,9 @@
...
@@ -389,9 +389,9 @@
<td
class=
"_color_666"
>
{{
$t
(
'op.TicketNum'
)
}}
/
{{
$t
(
'hotel.table_UseAmount'
)
}}
</td>
<td
class=
"_color_666"
>
{{
$t
(
'op.TicketNum'
)
}}
/
{{
$t
(
'hotel.table_UseAmount'
)
}}
</td>
<td
class=
"_color_666"
>
{{
$t
(
'op.BindTicket'
)
}}
</td>
<td
class=
"_color_666"
>
{{
$t
(
'op.BindTicket'
)
}}
</td>
</tr>
</tr>
<tr
v-for=
"
fitem in selectFilghtList
"
>
<tr
v-for=
"
(fitem,fIndex) in selectFilghtList"
:key=
"fIndex+300000
"
>
<td>
<td>
<el-checkbox
v-model=
"fitem.IsSelected
===true"
@
change=
"getSelect(fitem
)"
></el-checkbox>
<el-checkbox
v-model=
"fitem.IsSelected
"
@
change=
"getSelect(fitem,1
)"
></el-checkbox>
</td>
</td>
<td>
<td>
{{
fitem
.
AirticketId
}}
/
{{
fitem
.
TicketByName
}}
{{
fitem
.
AirticketId
}}
/
{{
fitem
.
TicketByName
}}
...
@@ -407,7 +407,7 @@
...
@@ -407,7 +407,7 @@
<td>
{{
fitem
.
TicketNum
}}
/
{{
fitem
.
UseAmount
}}
</td>
<td>
{{
fitem
.
TicketNum
}}
/
{{
fitem
.
UseAmount
}}
</td>
<td>
<td>
<el-input
class=
"w69"
:placeholder=
"$t('salesModule.AirNum')"
<el-input
class=
"w69"
:placeholder=
"$t('salesModule.AirNum')"
@
keyup
.
native=
"get
FlightBindNum(fitem
)"
v-model=
"fitem.BindNum"
></el-input>
@
keyup
.
native=
"get
Select(fitem,2
)"
v-model=
"fitem.BindNum"
></el-input>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
@@ -532,13 +532,10 @@
...
@@ -532,13 +532,10 @@
:show-file-list=
"false"
action=
""
>
:show-file-list=
"false"
action=
""
>
<el-button
size=
"small"
type=
"primary"
>
添加附件
</el-button>
<el-button
size=
"small"
type=
"primary"
>
添加附件
</el-button>
</el-upload>
</el-upload>
<
template
v-if=
"ContractArray && ContractArray.length > 0"
>
<
template
v-if=
"editForm.WordUrl && editForm.WordUrl!='' "
>
<template
v-for=
"(subItem, subIndex) in ContractArray"
>
<a
style=
"margin-left: 20px; color: blue; cursor: pointer"
target=
"_blank"
<a
style=
"margin-left: 20px; color: blue; cursor: pointer"
target=
"_blank"
:key=
"subIndex"
@
click=
"downloadFile(editForm.WordUrl)"
>
下载word行程
</a>
@
click=
"downloadFile(subItem.Url, subItem.Name)"
>
{{
subItem
.
Name
}}
</a>
<a
style=
"margin-left: 20px; color: blue; cursor: pointer"
@
click=
"DeleteFile()"
>
删除
</a>
<a
:key=
"subIndex + 1000"
style=
"margin-left: 20px; color: blue; cursor: pointer"
@
click=
"DeleteFile(subIndex)"
>
删除
</a>
</
template
>
</
template
>
</
template
>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -641,7 +638,8 @@
...
@@ -641,7 +638,8 @@
VisaPrice
:
0
,
//签证费
VisaPrice
:
0
,
//签证费
OtherPrice
:
0
,
//杂费
OtherPrice
:
0
,
//杂费
SingleRoomPrice
:
0
,
//单房差
SingleRoomPrice
:
0
,
//单房差
TicketNum
:
0
,
//绑定机票数量
TicketNum
:
0
,
//绑定机票数量
PurchaseId
:
0
,
//采购机票编号
},
},
//去程
//去程
addGoFlight
:
{
addGoFlight
:
{
...
@@ -685,8 +683,7 @@
...
@@ -685,8 +683,7 @@
}
}
},
},
selectFilghtList
:
[],
//航班列表
selectFilghtList
:
[],
//航班列表
TicketMsg
:
""
,
//机票显示
TicketMsg
:
""
,
};
};
},
},
created
()
{
created
()
{
...
@@ -707,11 +704,11 @@
...
@@ -707,11 +704,11 @@
AirTicketId
:
0
,
AirTicketId
:
0
,
TCID
:
0
TCID
:
0
};
};
if
(
this
.
addMsg
.
TicketId
&&
this
.
addMsg
.
TicketId
>
0
)
{
if
(
this
.
editForm
.
TicketId
&&
this
.
editForm
.
TicketId
>
0
)
{
fqMsg
.
AirTicketId
=
this
.
addMsg
.
TicketId
;
fqMsg
.
AirTicketId
=
this
.
editForm
.
TicketId
;
}
}
if
(
this
.
addMsg
.
TCID
&&
this
.
addMsg
.
TCID
>
0
)
{
if
(
this
.
editForm
.
TCID
&&
this
.
editForm
.
TCID
>
0
)
{
fqMsg
.
TCID
=
this
.
addMsg
.
TCID
;
fqMsg
.
TCID
=
this
.
editForm
.
TCID
;
}
}
let
that
=
this
;
let
that
=
this
;
this
.
apipost
(
this
.
apipost
(
...
@@ -725,9 +722,9 @@
...
@@ -725,9 +722,9 @@
that
.
selectFilghtList
.
push
(
x
);
that
.
selectFilghtList
.
push
(
x
);
});
});
that
.
selectFilghtList
.
forEach
(
y
=>
{
that
.
selectFilghtList
.
forEach
(
y
=>
{
if
(
x
.
PurchaseId
==
that
.
addMsg
.
TicketId
&&
x
.
BindNum
>
0
)
{
if
(
y
.
PurchaseId
==
that
.
editForm
.
TicketId
&&
y
.
BindNum
>
0
)
{
y
.
IsSelected
=
true
;
y
.
IsSelected
=
true
;
y
.
Bind
Num
=
x
.
BindNum
;
that
.
editForm
.
Ticket
Num
=
x
.
BindNum
;
that
.
TicketMsg
=
y
.
AlName
+
"/"
+
y
.
FlightDate
;
that
.
TicketMsg
=
y
.
AlName
+
"/"
+
y
.
FlightDate
;
}
}
});
});
...
@@ -744,13 +741,17 @@
...
@@ -744,13 +741,17 @@
);
);
},
},
//选中航班选择框
//选中航班选择框
getSelect
(
item
)
{
getSelect
(
item
,
type
)
{
item
.
IsSelected
=
!
item
.
IsSelected
;
var
that
=
this
;
if
(
type
==
1
)
{
item
.
IsSelected
=
!
item
.
IsSelected
;
}
this
.
selectFilghtList
.
forEach
(
x
=>
{
this
.
selectFilghtList
.
forEach
(
x
=>
{
if
(
x
.
IsSelected
)
{
if
(
x
.
IsSelected
)
{
that
.
TicketMsg
=
y
.
AlName
+
"/"
+
y
.
FlightDate
;
that
.
TicketMsg
=
x
.
AlName
+
"/"
+
x
.
FlightDate
;
that
.
addMsg
.
TicketId
=
y
.
AirticketId
;
that
.
editForm
.
TicketId
=
x
.
AirticketId
;
that
.
addMsg
.
TicketNum
=
y
.
BindNum
;
that
.
editForm
.
TicketNum
=
x
.
BindNum
;
that
.
editForm
.
PurchaseId
=
x
.
Id
;
}
}
});
});
},
},
...
@@ -946,9 +947,7 @@
...
@@ -946,9 +947,7 @@
// this.Warning("请选择回程航班");
// this.Warning("请选择回程航班");
// return;
// return;
// }
// }
if
(
this
.
ContractArray
.
length
)
{
this
.
editForm
.
WordUrl
=
this
.
ContractArray
[
0
].
Url
;
}
this
.
apipost
(
this
.
apipost
(
"post_SetTeavelTeam"
,
"post_SetTeavelTeam"
,
this
.
editForm
,
this
.
editForm
,
...
@@ -983,7 +982,7 @@
...
@@ -983,7 +982,7 @@
},
},
//删除文件
//删除文件
DeleteFile
(
subIndex
)
{
DeleteFile
(
subIndex
)
{
this
.
ContractArray
.
splice
(
subIndex
,
1
)
;
this
.
editForm
.
WordUrl
=
''
;
},
},
//下载文件
//下载文件
downloadFile
(
fileUrl
,
fileName
)
{
downloadFile
(
fileUrl
,
fileName
)
{
...
...
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