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
7f283a70
Commit
7f283a70
authored
Aug 26, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增组件
parent
0223f6f0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
424 additions
and
115 deletions
+424
-115
CostNewPriceMun.vue
...ents/TravelManager/TravelNewQuotation/CostNewPriceMun.vue
+35
-32
travelDinner.vue
src/components/commonPage/travelDinner.vue
+344
-0
HotelTripThree.vue
...onents/newTravelmanager/travelLineTrip/HotelTripThree.vue
+45
-83
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPriceMun.vue
View file @
7f283a70
...
@@ -97,17 +97,18 @@
...
@@ -97,17 +97,18 @@
<el-option
v-for=
'item in teamList'
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
<el-option
v-for=
'item in teamList'
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-option>
</el-select>
</el-select>
</td>
</td>
<td
width=
"80"
class=
"txtRightCost"
>
团队类型
</td>
<td
width=
"80"
class=
"txtRightCost"
>
团队类型
</td>
<td>
<td>
<el-select
class=
"multiple_input"
v-model=
"postConfig.PriceTeamType"
>
<el-select
class=
"multiple_input"
v-model=
"postConfig.PriceTeamType"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'0'
></el-option>
<template
v-for=
"item in TeamListArr"
>
<template
v-for=
"item in TeamListArr"
>
<el-option
v-if=
"item.Id==1||item.Id==2||item.Id==3||item.Id==4||item.Id==9"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
<el-option
v-if=
"item.Id==1||item.Id==2||item.Id==3||item.Id==4||item.Id==9"
:key=
"item.Id"
</el-option>
:label=
"item.Name"
:value=
"item.Id"
>
</
template
>
</el-option>
</
template
>
</el-select>
</el-select>
</td>
</td>
<td
width=
"80"
class=
"txtRightCost"
>
线路
</td>
<td
width=
"80"
class=
"txtRightCost"
>
线路
</td>
...
@@ -125,16 +126,17 @@
...
@@ -125,16 +126,17 @@
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
width=
"80"
class=
"txtRightCost"
>
系列
</td>
<td
width=
"80"
class=
"txtRightCost"
>
系列
</td>
<td
colspan=
"3"
>
<td
colspan=
"3"
>
<el-select
style=
"width:100%;"
v-model=
"postConfig.LineteamId"
:placeholder=
"$t('pub.pleaseSel')"
filterable
>
<el-select
style=
"width:100%;"
v-model=
"postConfig.LineteamId"
:placeholder=
"$t('pub.pleaseSel')"
filterable
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
</el-option>
</el-option>
</el-select>
</el-select>
</td>
</td>
<td
width=
"80"
class=
"txtRightCost"
>
客户名称
</td>
<td
width=
"80"
class=
"txtRightCost"
>
客户名称
</td>
<td>
<td>
<el-input
v-model=
"postConfig.CustomerName"
type=
"text"
placeholder=
"客户名称"
maxlength=
"200"
>
<el-input
v-model=
"postConfig.CustomerName"
type=
"text"
placeholder=
"客户名称"
maxlength=
"200"
>
</el-input>
</el-input>
...
@@ -144,8 +146,8 @@
...
@@ -144,8 +146,8 @@
<td
colspan=
"6"
style=
"height:20px;"
>
<td
colspan=
"6"
style=
"height:20px;"
>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
width=
"80"
class=
"txtRightCost"
>
出团公司
</td>
<td
width=
"80"
class=
"txtRightCost"
>
出团公司
</td>
<td>
<td>
...
@@ -181,7 +183,7 @@
...
@@ -181,7 +183,7 @@
<el-input
v-model=
"postConfig.Title"
type=
"textarea"
:autosize=
"{minRows: 1, maxRows: 2 }"
resize=
"none"
<el-input
v-model=
"postConfig.Title"
type=
"textarea"
:autosize=
"{minRows: 1, maxRows: 2 }"
resize=
"none"
placeholder=
"请填写团队标题"
maxlength=
"200"
></el-input>
placeholder=
"请填写团队标题"
maxlength=
"200"
></el-input>
</td>
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
...
@@ -228,8 +230,8 @@
...
@@ -228,8 +230,8 @@
OtherPrice
:
{},
OtherPrice
:
{},
teamPrice
:
{},
teamPrice
:
{},
CostNumberList
:
[],
CostNumberList
:
[],
TeamListArr
:[]
},
},
TeamListArr
:
[],
orderList
:
[],
orderList
:
[],
queryMsg
:
{
queryMsg
:
{
IsDefault
:
false
,
IsDefault
:
false
,
...
@@ -238,10 +240,9 @@
...
@@ -238,10 +240,9 @@
//人数
//人数
PeopleNumber
:
""
PeopleNumber
:
""
},
},
LineTeamList
:
[],
//系列下拉列表
LineTeamList
:
[],
//系列下拉列表
companyList
:
[],
//出团公司
companyList
:
[],
//出团公司
teamList
:
[],
//团队类型
teamList
:
[],
//团队类型
payTypeList
:
[{
payTypeList
:
[{
value
:
1
,
value
:
1
,
label
:
'现金'
label
:
'现金'
...
@@ -251,7 +252,7 @@
...
@@ -251,7 +252,7 @@
},
{
},
{
value
:
3
,
value
:
3
,
label
:
'外站自理'
label
:
'外站自理'
}
,
]
}]
}
}
},
},
computed
:
{
computed
:
{
...
@@ -352,16 +353,16 @@
...
@@ -352,16 +353,16 @@
}
}
});
});
},
},
//获取团队类型
//获取团队类型
getPriceTeamList
()
{
getPriceTeamList
()
{
this
.
apipost
(
"travel_get_GetTravelPriceTeamTypeList"
,
{},
res
=>
{
this
.
apipost
(
"travel_get_GetTravelPriceTeamTypeList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
TeamListArr
=
res
.
data
.
data
;
this
.
TeamListArr
=
res
.
data
.
data
;
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
},
err
=>
{});
},
err
=>
{});
},
},
createDayTripPrice
()
{
createDayTripPrice
()
{
for
(
let
i
=
0
;
i
<
this
.
orderList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
orderList
.
length
;
i
++
)
{
this
.
orderList
[
i
].
dayCostPrice
=
this
.
createDayTripPriceItem
([...
this
.
orderList
[
i
].
dayCostPrice
]);
this
.
orderList
[
i
].
dayCostPrice
=
this
.
createDayTripPriceItem
([...
this
.
orderList
[
i
].
dayCostPrice
]);
...
@@ -485,10 +486,7 @@
...
@@ -485,10 +486,7 @@
},
},
},
},
mounted
()
{
mounted
()
{
this
.
getAllCurrency
();
this
.
getCompanyList
();
this
.
getTeamList
();
this
.
getPriceTeamList
();
this
.
getLineTeamList
();
this
.
getLineTeamList
();
if
(
!
this
.
OfferArray
.
length
)
{
if
(
!
this
.
OfferArray
.
length
)
{
this
.
createOrderList
();
this
.
createOrderList
();
...
@@ -509,11 +507,16 @@
...
@@ -509,11 +507,16 @@
this
.
orderList
=
this
.
OfferArray
this
.
orderList
=
this
.
OfferArray
this
.
changeTabs
()
this
.
changeTabs
()
}
}
if
(
this
.
postConfig
.
DayNum
>
0
)
{
if
(
this
.
postConfig
.
DayNum
>
0
)
{
this
.
createDayTripPrice
()
this
.
createDayTripPrice
()
}
}
},
},
created
()
{},
created
()
{
this
.
getAllCurrency
();
this
.
getCompanyList
();
this
.
getTeamList
();
this
.
getPriceTeamList
();
},
};
};
</
script
>
</
script
>
src/components/commonPage/travelDinner.vue
0 → 100644
View file @
7f283a70
This diff is collapsed.
Click to expand it.
src/components/newTravelmanager/travelLineTrip/HotelTripThree.vue
View file @
7f283a70
...
@@ -58,13 +58,15 @@
...
@@ -58,13 +58,15 @@
height
:
auto
!important
;
height
:
auto
!important
;
}
}
.dinnerBtn
.el-button
{
.dinnerBtn
.el-button
{
width
:
10px
!important
;
width
:
10px
!important
;
}
}
.dinnerBtn
.el-icon-search
{
width
:
10px
!important
;
.dinnerBtn
.el-icon-search
{
margin-left
:
-6px
;
width
:
10px
!important
;
}
margin-left
:
-6px
;
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"Traveltrip-item-box"
>
<div
class=
"Traveltrip-item-box"
>
...
@@ -94,23 +96,24 @@
...
@@ -94,23 +96,24 @@
<img
crossorigin=
"Anonymous"
src=
"../../../assets/img/daily_lunch.png"
>
<img
crossorigin=
"Anonymous"
src=
"../../../assets/img/daily_lunch.png"
>
</td>
</td>
<td
width=
"140"
valign=
"middle"
>
<td
width=
"140"
valign=
"middle"
>
<template
v-if=
"PostConfig.LineId==14"
>
<!--
<template
v-if=
"PostConfig.LineId==14||PostConfig.LineId==118"
>
<el-input
placeholder=
"请输入餐厅名称"
v-model=
"dayObj.DinnerArray[1].DinnerName"
class=
"input-with-select dinnerBtn"
>
<el-input
placeholder=
"请输入餐厅名称"
v-model=
"dayObj.DinnerArray[1].DinnerName"
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"getDmcSourcePage(dayObj.DinnerArray[1].DinnerName)"
></el-button>
class=
"input-with-select dinnerBtn"
>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"showDiningDig(dayObj.DinnerArray[1])"
>
</el-button>
</el-input>
</el-input>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
-->
<el-select
v-if=
"!dayObj.isRead&&IsDirect==1"
class=
""
:placeholder=
"$t('pub.pleaseSel')"
filterable
<el-select
v-if=
"!dayObj.isRead&&IsDirect==1"
class=
""
:placeholder=
"$t('pub.pleaseSel')"
filterable
v-model=
"dayObj.DinnerArray[1].DinnerId"
@
visible-change=
"getDinnerList($event)"
v-model=
"dayObj.DinnerArray[1].DinnerId"
@
visible-change=
"getDinnerList($event)"
@
change=
"changeDinnerList(dayObj.DinnerArray[1])"
>
@
change=
"changeDinnerList(dayObj.DinnerArray[1])"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"DefaultSelectValue"
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"DefaultSelectValue"
></el-option>
<el-option
v-for=
"item in QDinnerList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
>
<el-option
v-for=
"item in QDinnerList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
>
<span>
{{
item
.
Name
}}
</span>
<span>
{{
item
.
Name
}}
</span>
<span
class=
"TC-realSpan"
>
{{
item
.
RealName
}}
</span>
<span
class=
"TC-realSpan"
>
{{
item
.
RealName
}}
</span>
</el-option>
</el-option>
</el-select>
</el-select>
</
template
>
<!--
</
template
>
-->
<el-input
type=
"text"
v-model=
"dayObj.DinnerArray[1].DinnerName"
class=
""
<el-input
type=
"text"
v-model=
"dayObj.DinnerArray[1].DinnerName"
class=
""
v-if=
"!dayObj.isRead&&IsDirect==0"
@
change=
"noDirectDinnerChange(1)"
></el-input>
v-if=
"!dayObj.isRead&&IsDirect==0"
@
change=
"noDirectDinnerChange(1)"
></el-input>
<span
class=
"TC-hotelName"
v-if=
"dayObj.isRead"
>
<span
class=
"TC-hotelName"
v-if=
"dayObj.isRead"
>
...
@@ -148,8 +151,8 @@
...
@@ -148,8 +151,8 @@
<!--酒店-->
<!--酒店-->
<el-select
v-if=
"!dayObj.isRead &&IsDirect==1&&TeamType!=2"
class=
"Ht_hotelSelect"
size=
"mini"
<el-select
v-if=
"!dayObj.isRead &&IsDirect==1&&TeamType!=2"
class=
"Ht_hotelSelect"
size=
"mini"
v-model=
"HotelChooseArray"
multiple
:multiple-limit=
"(TeamType==0||TeamType==3)?3:1"
v-model=
"HotelChooseArray"
multiple
:multiple-limit=
"(TeamType==0||TeamType==3)?3:1"
@
visible-change=
"getHotelList($event)"
@
change=
"changeHotelList()"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
visible-change=
"getHotelList($event)"
@
change=
"changeHotelList()"
filterable
:disabled=
"IsOpenHotel==1?true:false"
>
:
placeholder=
"$t('pub.pleaseSel')"
:
disabled=
"IsOpenHotel==1?true:false"
>
<el-option
v-for=
"item in QHotelList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
>
<el-option
v-for=
"item in QHotelList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
>
<span
style=
"float: left"
>
{{ getHotelItemLabel(item) }}
</span>
<span
style=
"float: left"
>
{{ getHotelItemLabel(item) }}
</span>
<span
style=
"float: right; color: #8492a6; font-size: 13px"
>
{{ item.Inventory }}
</span>
<span
style=
"float: right; color: #8492a6; font-size: 13px"
>
{{ item.Inventory }}
</span>
...
@@ -157,7 +160,7 @@
...
@@ -157,7 +160,7 @@
</el-select>
</el-select>
<span
style=
"color:red;font-weight:bold;"
v-if=
"IsOpenHotel==1"
>
※ 地接已关闭酒店操作,如需修改请联系地接OP.
</span>
<span
style=
"color:red;font-weight:bold;"
v-if=
"IsOpenHotel==1"
>
※ 地接已关闭酒店操作,如需修改请联系地接OP.
</span>
<span
v-if=
"dayObj.isRead&&IsDirect==1"
>
<span
v-if=
"dayObj.isRead&&IsDirect==1"
>
<span
v-for=
"
item in hotelArray
"
>
<span
v-for=
"
(item,index) in hotelArray"
:key=
"`h_`+index
"
>
{{item.HotelName}}
{{item.HotelName}}
</span>
</span>
<span
v-if=
"hotelArray.length>0"
>
/或同级
</span>
<span
v-if=
"hotelArray.length>0"
>
/或同级
</span>
...
@@ -171,40 +174,16 @@
...
@@ -171,40 +174,16 @@
</tr>
</tr>
</table>
</table>
</div>
</div>
<el-dialog
custom-class=
'w750'
:title=
"dialogDiningTitle"
:visible
.
sync=
"isShowDiningDig"
center
>
<travelDinner
:Country=
"651"
></travelDinner>
</el-dialog>
</div>
</div>
<el-dialog
custom-class=
'w750'
:title=
"dialogTitle"
:visible
.
sync=
"outerVisible"
center
>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr
v-for=
"(item,index) in DinnerByKeyList"
>
<td>
{{item.MenuName}}
</td>
<td>
{{item.MenuUrl}}
</td>
<td>
{{item.Tier | tierFormat(item.Tier)}}
</td>
<td>
{{item.MenuStatus==0?'开启':'关闭'}}
</td>
<td>
{{item.GroupingCode}}
</td>
<td>
{{item.Sort}}
</td>
<td>
<el-row>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
>
<el-button
@
click=
"outerVisible = true,dialogTitle='修改权限菜单',updateData(index,item.MenuId)"
type=
"primary"
icon=
"el-icon-edit"
circle
></el-button>
</el-tooltip>
</el-row>
</td>
</tr>
</table>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"searchParmeters.pageSize"
:total=
'totalDinnerByKeyList'
>
</el-pagination>
</el-dialog>
</template>
</template>
<
script
>
<
script
>
import
travelDinner
from
'@/components/commonPage/travelDinner'
export
default
{
export
default
{
props
:
[
"PostConfig"
,
"dayObj"
,
"DayList"
,
"CurrentIndex"
,
"WarmTripDescribe"
,
"IsDirect"
,
"subConfig"
,
"TeamType"
,
props
:
[
"PostConfig"
,
"dayObj"
,
"DayList"
,
"CurrentIndex"
,
"WarmTripDescribe"
,
"IsDirect"
,
"subConfig"
,
"TeamType"
,
"IsOpenHotel"
//0可以添加删除酒店,1-不能修改酒店信息
"IsOpenHotel"
//0可以添加删除酒店,1-不能修改酒店信息
],
],
data
()
{
data
()
{
...
@@ -221,39 +200,22 @@
...
@@ -221,39 +200,22 @@
otherDinner
:
[],
otherDinner
:
[],
hotelHotSpringDinner
:
[],
hotelHotSpringDinner
:
[],
isFirstInitDinner
:
false
,
//初始含有酒店列表,加载完酒店数据在初始化餐厅列表
isFirstInitDinner
:
false
,
//初始含有酒店列表,加载完酒店数据在初始化餐厅列表
searchParmeters
:{
DinnerByKeyList
:
[],
keywords
:
''
,
platform
:
2
,
type
:
2
,
pageIndex
:
1
,
pageSize
:
6
,
Province
:
0
,
DiningType
:
0
,
DiningPriceType
:
0
,
UseType
:
[
0
]
},
DinnerByKeyList
:[],
totalDinnerByKeyList
:
0
,
totalDinnerByKeyList
:
0
,
checlItem
:
{},
dialogDiningTitle
:
"选择餐厅"
,
isShowDiningDig
:
false
,
//是否显示餐弹窗
};
};
},
},
methods
:
{
components
:
{
//查询餐厅信息
travelDinner
:
travelDinner
,
getDmcSourcePage
(
keywords
){
if
(
keywords
===
""
)
{
return
;
}
else
{
if
(
str
.
trim
()
===
""
){
return
;
}
}
this
.
apipost
(
"hotel_post_GetDmcSourcePage"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DinnerByKeyList
=
res
.
data
.
data
.
pageData
;
this
.
DinnerByKeyList
=
res
.
data
.
data
;
}
});
},
},
methods
:
{
showDiningDig
(
item
)
{
this
.
checlItem
=
item
;
this
.
isShowDiningDig
=
true
;
},
// 非直采酒店
// 非直采酒店
noDirectHotelChange
:
function
()
{
noDirectHotelChange
:
function
()
{
if
(
this
.
hotelArray
[
0
].
MD5Sign
===
''
)
{
if
(
this
.
hotelArray
[
0
].
MD5Sign
===
''
)
{
...
...
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