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
82b53ddc
Commit
82b53ddc
authored
Mar 24, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价单和国内线酒店修改
parent
cb92bf27
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
966 additions
and
1146 deletions
+966
-1146
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+27
-14
roomReservationsDetailsNew.vue
src/components/Hotel/roomReservationsDetailsNew.vue
+420
-712
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+51
-33
bookDinnerStatisticsDetails.vue
src/components/Restaurant/bookDinnerStatisticsDetails.vue
+3
-3
CostNewPriceAudit.vue
...ts/TravelManager/TravelNewQuotation/CostNewPriceAudit.vue
+144
-130
CostNewPriceForm.vue
...nts/TravelManager/TravelNewQuotation/CostNewPriceForm.vue
+85
-25
QuotationAduit.vue
...nents/TravelManager/TravelNewQuotation/QuotationAduit.vue
+8
-22
QuotationNewPrice.vue
...ts/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
+182
-165
priceDialog.vue
...mponents/TravelManager/TravelNewQuotation/priceDialog.vue
+5
-18
quotationEdit.vue
...onents/TravelManager/TravelNewQuotation/quotationEdit.vue
+22
-16
quotationEditDetails.vue
...TravelManager/TravelNewQuotation/quotationEditDetails.vue
+15
-6
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+2
-2
travelDaysHV.vue
...wTravelmanager/travelLineTrip/components/travelDaysHV.vue
+2
-0
No files found.
src/components/Hotel/roomReservationsDetails.vue
View file @
82b53ddc
...
@@ -169,11 +169,12 @@
...
@@ -169,11 +169,12 @@
<
template
v-for=
"(item,index) in dataList"
>
<
template
v-for=
"(item,index) in dataList"
>
<template
v-for=
"(subItem,subIndex) in item.HotelOrderList"
>
<template
v-for=
"(subItem,subIndex) in item.HotelOrderList"
>
<tr
v-for=
"(childItem,childIndex) in subItem.OrderDetailsList"
:key=
"`h_`+index+subIndex+childIndex"
>
<tr
v-for=
"(childItem,childIndex) in subItem.OrderDetailsList"
:key=
"`h_`+index+subIndex+childIndex"
>
<td
v-if=
"childIndex==0&&subIndex==0"
:rowspan=
"6*item.HotelOrderList.length"
>
<td
v-if=
"childIndex==0&&subIndex==0"
:rowspan=
"subItem.OrderDetailsList.length*item.HotelOrderList.length"
>
{{
item
.
UseTimeStr
}}
{{
item
.
UseTimeStr
}}
</td>
</td>
<!-- 酒店名称 -->
<!-- 酒店名称 -->
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
subItem.OrderDetailsList.length
"
>
<table
class=
"hotelTable"
>
<table
class=
"hotelTable"
>
<tr>
<tr>
<td
colspan=
"2"
>
<td
colspan=
"2"
>
...
@@ -223,21 +224,21 @@
...
@@ -223,21 +224,21 @@
</span>
</span>
</td>
</td>
<!-- 机位总数/(Y/E/F) -->
<!-- 机位总数/(Y/E/F) -->
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
subItem.OrderDetailsList.length
"
>
<p
class=
"link"
@
click=
"goUrlT('RegistrationList',subItem.TCID,'报名清单')"
>
<p
class=
"link"
@
click=
"goUrlT('RegistrationList',subItem.TCID,'报名清单')"
>
{{flightTotal}}/{{subItem.HouseStatistics.RealityYSeatNum}}/{{subItem.HouseStatistics.RealityESeatNum}}/{{subItem.HouseStatistics.RealityFSeatNum}}
{{flightTotal}}/{{subItem.HouseStatistics.RealityYSeatNum}}/{{subItem.HouseStatistics.RealityESeatNum}}/{{subItem.HouseStatistics.RealityFSeatNum}}
</p>
</p>
</td>
</td>
<!-- 占床/不占床 -->
<!-- 占床/不占床 -->
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
subItem.OrderDetailsList.length
"
>
<p
class=
"link"
@
click=
"goUrlT('passengerHouse',subItem.TCID,'房间分配')"
>
<p
class=
"link"
@
click=
"goUrlT('passengerHouse',subItem.TCID,'房间分配')"
>
{{subItem.RealityHouseGuestNum}}/{{subItem.HouseStatistics.NoNeedBed}}
</p>
{{subItem.RealityHouseGuestNum}}/{{subItem.HouseStatistics.NoNeedBed}}
</p>
</td>
</td>
<!-- 实际用房数 -->
<!-- 实际用房数 -->
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
subItem.OrderDetailsList.length
"
>
{{subItem.RealityHouseTypeCount}}
{{subItem.RealityHouseTypeCount}}
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
subItem.OrderDetailsList.length
"
>
<table
class=
"hotelTable"
>
<table
class=
"hotelTable"
>
<tr>
<tr>
<td
width=
"70"
style=
"text-align:center;"
colspan=
"2"
>
<td
width=
"70"
style=
"text-align:center;"
colspan=
"2"
>
...
@@ -301,8 +302,8 @@
...
@@ -301,8 +302,8 @@
</td>
</td>
<!-- 房间类型 -->
<!-- 房间类型 -->
<td>
<td>
{{
subItem.HouseStatistics.HouseTypeList[childIndex]
.HouseTypeNameExt}}
{{
getHouseTypeName(subItem,childItem)
.HouseTypeNameExt}}
<
template
v-if=
"childIndex==4"
>
<
!-- <
template v-if="childIndex==4">
<template v-if="subItem.DriverGuideIsRebate==1">
<template v-if="subItem.DriverGuideIsRebate==1">
<br /><span style="color:green">{{$t('hotel.hotel_commission')}}</span>
<br /><span style="color:green">{{$t('hotel.hotel_commission')}}</span>
</template>
</template>
...
@@ -312,7 +313,7 @@
...
@@ -312,7 +313,7 @@
</template>
</template>
<template v-if="childIndex==5">
<template v-if="childIndex==5">
<br /><span style="color:red;">{{$t('ground.bufanyong')}}</span>
<br /><span style="color:red;">{{$t('ground.bufanyong')}}</span>
</
template
>
</template>
-->
</td>
</td>
<!-- 房间数 -->
<!-- 房间数 -->
<td>
<td>
...
@@ -367,7 +368,7 @@
...
@@ -367,7 +368,7 @@
{{childItem.UnitPrice*(childItem.BookNum-childItem.HotelDiscount)}}
{{childItem.UnitPrice*(childItem.BookNum-childItem.HotelDiscount)}}
</td>
</td>
<!-- 返佣类型 -->
<!-- 返佣类型 -->
<td
style=
"white-space:nowrap;"
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<td
style=
"white-space:nowrap;"
v-if=
"childIndex==0"
:rowspan=
"
subItem.OrderDetailsList.length
"
>
<
template
v-if=
"subItem.RebateType==1"
>
<
template
v-if=
"subItem.RebateType==1"
>
<span
style=
"color:green"
>
{{
$t
(
'ground.hanshui'
)
}}
</span>
<span
style=
"color:green"
>
{{
$t
(
'ground.hanshui'
)
}}
</span>
</
template
>
</
template
>
...
@@ -415,11 +416,11 @@
...
@@ -415,11 +416,11 @@
</template>
</template>
</td>
</td>
<!-- 金额总计 -->
<!-- 金额总计 -->
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
style=
"white-space:nowrap;"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
subItem.OrderDetailsList.length
"
style=
"white-space:nowrap;"
>
{{subItem.TotalPrice}}
{{subItem.TotalPrice}}
</td>
</td>
<!-- 付款方式 -->
<!-- 付款方式 -->
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
subItem.OrderDetailsList.length
"
>
<table
class=
"hotelTable"
>
<table
class=
"hotelTable"
>
<tr>
<tr>
<td
width=
"70"
style=
"text-align:right;"
>
{{$t('hotel.hotel_Currency')}}:
</td>
<td
width=
"70"
style=
"text-align:right;"
>
{{$t('hotel.hotel_Currency')}}:
</td>
...
@@ -512,7 +513,7 @@
...
@@ -512,7 +513,7 @@
<el-option
:label=
"$t('ground.lingduidydf')"
:value=
'10'
></el-option>
<el-option
:label=
"$t('ground.lingduidydf')"
:value=
'10'
></el-option>
<el-option
:label=
"$t('ground.shuaka')"
:value=
'11'
></el-option>
<el-option
:label=
"$t('ground.shuaka')"
:value=
'11'
></el-option>
<el-option
:label=
"$t('objFill.zhuanzhang')"
:value=
'14'
></el-option>
<el-option
:label=
"$t('objFill.zhuanzhang')"
:value=
'14'
></el-option>
<el-option
:label=
"$t('ground.enterpriseAlipay')"
:value=
'15'
></el-option>
<el-option
:label=
"$t('ground.enterpriseAlipay')"
:value=
'15'
></el-option>
</el-select>
</el-select>
</td>
</td>
</tr>
</tr>
...
@@ -591,7 +592,7 @@
...
@@ -591,7 +592,7 @@
</table>
</table>
</td>
</td>
<!-- 操作 -->
<!-- 操作 -->
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
subItem.OrderDetailsList.length
"
>
<
template
v-if=
"subItem.OPState==1"
>
<
template
v-if=
"subItem.OPState==1"
>
<span
class=
"Hotel_red"
>
{{
$t
(
'salesModule.OPZD'
)
}}
</span>
<span
class=
"Hotel_red"
>
{{
$t
(
'salesModule.OPZD'
)
}}
</span>
</
template
>
</
template
>
...
@@ -771,6 +772,18 @@
...
@@ -771,6 +772,18 @@
setHotelStock
,
setHotelStock
,
},
},
methods
:
{
methods
:
{
getHouseTypeName
(
subItem
,
childItem
)
{
var
obj
=
{};
if
(
subItem
&&
subItem
.
HouseStatistics
&&
subItem
.
HouseStatistics
.
HouseTypeList
&&
subItem
.
HouseStatistics
.
HouseTypeList
.
length
>
0
)
{
subItem
.
HouseStatistics
.
HouseTypeList
.
forEach
(
hItem
=>
{
if
(
hItem
.
HouseType
==
childItem
.
HouseType
)
{
obj
=
hItem
;
}
})
}
return
obj
;
},
//订房状态切换
//订房状态切换
changeState
(
subItem
)
{
changeState
(
subItem
)
{
if
(
subItem
.
DMCState
==
1
)
{
if
(
subItem
.
DMCState
==
1
)
{
...
...
src/components/Hotel/roomReservationsDetailsNew.vue
View file @
82b53ddc
This diff is collapsed.
Click to expand it.
src/components/LeaderManagement/leaderReimbursement.vue
View file @
82b53ddc
This diff is collapsed.
Click to expand it.
src/components/Restaurant/bookDinnerStatisticsDetails.vue
View file @
82b53ddc
...
@@ -144,9 +144,9 @@
...
@@ -144,9 +144,9 @@
</td>
</td>
<td>
<td>
<
template
v-if=
"LineId==90"
>
<
template
v-if=
"LineId==90"
>
<el-select
v-model=
"subItem.BookStyle"
:placeholder=
"$t('pub.pleaseSel')"
class=
'
w135 sel'
>
<el-select
v-model=
"subItem.BookStyle"
:placeholder=
"$t('pub.pleaseSel')"
class=
'
sel'
style=
"width:80px;"
>
<el-option
:value=
"0"
label=
"
按人数预定
"
></el-option>
<el-option
:value=
"0"
label=
"
人数
"
></el-option>
<el-option
:value=
"1"
label=
"
按桌预定
"
></el-option>
<el-option
:value=
"1"
label=
"
桌数
"
></el-option>
</el-select>
</el-select>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
...
...
src/components/TravelManager/TravelNewQuotation/CostNewPriceAudit.vue
View file @
82b53ddc
...
@@ -48,6 +48,12 @@
...
@@ -48,6 +48,12 @@
padding
:
0
5px
;
padding
:
0
5px
;
}
}
.offer_select-tag
{
background-color
:
#409eff
!important
;
color
:
white
!important
;
border-color
:
#409eff
!important
;
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -114,12 +120,16 @@
...
@@ -114,12 +120,16 @@
<td
width=
"80"
class=
"txtRightCost"
>
{{$t('hotel.hotel_StarDate')}}
</td>
<td
width=
"80"
class=
"txtRightCost"
>
{{$t('hotel.hotel_StarDate')}}
</td>
<td
colspan=
"5"
>
<td
colspan=
"5"
>
<
template
v-if=
"postConfig.OutDateTimeList&&postConfig.OutDateTimeList.length>0"
>
<
template
v-if=
"postConfig.OutDateTimeList&&postConfig.OutDateTimeList.length>0"
>
<el-tag
v-for=
"(item,oIndex) in postConfig.OutDateTimeList"
:key=
"oIndex"
style=
"margin-right:5px;"
>
<el-tag
v-for=
"(item,oIndex) in postConfig.OutDateTimeList"
:key=
"oIndex"
{{
item
}}
style=
"margin-right:5px;cursor:pointer;"
@
click=
"switchOffer(item)"
:class=
"item==selectDate?'offer_select-tag': ''"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"点击切换日期"
placement=
"top-start"
>
<font>
{{
item
}}
</font>
</el-tooltip>
</el-tag>
</el-tag>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<el-tag
style=
"margin-right:5px;"
>
<el-tag
style=
"margin-right:5px;"
:class=
"postConfig.OutDateTime==selectDate?'offer_select-tag': ''"
>
{{
postConfig
.
OutDateTime
}}
{{
postConfig
.
OutDateTime
}}
</el-tag>
</el-tag>
</
template
>
</
template
>
...
@@ -612,6 +622,11 @@
...
@@ -612,6 +622,11 @@
{{teamPrice.SingleDMCPrice}}
{{teamPrice.SingleDMCPrice}}
</el-form-item>
</el-form-item>
</td>
</td>
<td
colspan=
"2"
>
<el-form-item
:label=
"$t('salesModule.DJNum')"
>
{{offerDataObj.DMCNum}}
</el-form-item>
</td>
<td
colspan=
"2"
>
<td
colspan=
"2"
>
<el-form-item
:label=
"$t('Operation.Op_childNobed')"
>
<el-form-item
:label=
"$t('Operation.Op_childNobed')"
>
{{teamPrice.ChildNoNeedPrice}}
{{teamPrice.ChildNoNeedPrice}}
...
@@ -627,7 +642,7 @@
...
@@ -627,7 +642,7 @@
{{teamPrice.SingleRoomPrice}}
{{teamPrice.SingleRoomPrice}}
</el-form-item>
</el-form-item>
</td>
</td>
<td
colspan=
"
4
"
>
<td
colspan=
"
2
"
>
<el-form-item
:label=
"$t('objFill.dandijjg')"
>
<el-form-item
:label=
"$t('objFill.dandijjg')"
>
{{teamPrice.SingleDMCTCPrice}}
{{teamPrice.SingleDMCTCPrice}}
</el-form-item>
</el-form-item>
...
@@ -1020,14 +1035,6 @@
...
@@ -1020,14 +1035,6 @@
{{
postConfig
.
TeamTypeName
}}
{{
postConfig
.
TeamTypeName
}}
</
template
>
</
template
>
</td>
</td>
<!-- <td colspan="4">
<el-form-item :label="$t('objFill.v101.gengctleix')">
<el-select class="multiple_input" v-model="postConfig.TeamType">
<el-option v-for='item in teamList' :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select>
</el-form-item>
</td> -->
</tr>
</tr>
<!--报价单审核-->
<!--报价单审核-->
<tr
v-if=
"IsEdit==2"
>
<tr
v-if=
"IsEdit==2"
>
...
@@ -1057,21 +1064,16 @@
...
@@ -1057,21 +1064,16 @@
import
changeOffer
from
'@/components/commonPage/changeOffer'
import
changeOffer
from
'@/components/commonPage/changeOffer'
export
default
{
export
default
{
//IsEdit(1-查看,2-审核,3-OP变更,4-变更审核)
//IsEdit(1-查看,2-审核,3-OP变更,4-变更审核)
props
:
[
"
OfferArray"
,
"
postConfig"
,
"IsEdit"
],
props
:
[
"postConfig"
,
"IsEdit"
],
data
()
{
data
()
{
return
{
return
{
tabsActive
:
0
,
AduitMsg
:
{},
//审核信息
orderList
:
[],
//审核信息
AduitMsg
:
{
},
OtherPrice
:
{},
OtherPrice
:
{},
dayCostPrice
:
[],
dayCostPrice
:
[],
CostCurrencyList
:
[],
CostCurrencyList
:
[],
CostNumberList
:
[],
CostNumberList
:
[],
teamPrice
:
{},
teamPrice
:
{},
teamList
:
[],
//团队类型
offerDataObj
:
{},
//报价单变更参数
//报价单变更参数
changMsg
:
{
changMsg
:
{
isShowChangeOffer
:
false
,
isShowChangeOffer
:
false
,
...
@@ -1081,15 +1083,53 @@
...
@@ -1081,15 +1083,53 @@
checkObj
:
{}
checkObj
:
{}
},
},
dialogDiningTitle
:
"行程变更"
,
dialogDiningTitle
:
"行程变更"
,
selectDate
:
""
,
//当前选择时间
}
},
watch
:
{
postConfig
:
{
handler
:
function
(
val
,
oldVal
)
{
if
(
val
!=
oldVal
)
{
this
.
switchOffer
();
}
},
deep
:
true
},
IsEdit
:
{
handler
:
function
(
val
,
oldVal
)
{
if
(
val
!=
oldVal
)
{
this
.
switchOffer
();
}
},
deep
:
true
}
}
},
},
components
:
{
components
:
{
changeOffer
:
changeOffer
,
changeOffer
:
changeOffer
,
},
},
methods
:
{
methods
:
{
//获取变更原因
switchOffer
(
dateStr
)
{
getChangeRemark
()
{
if
(
dateStr
)
{
this
.
selectDate
=
dateStr
;
}
else
{
if
(
this
.
postConfig
.
OfferArray
&&
this
.
postConfig
.
OfferArray
.
length
>
0
)
{
this
.
selectDate
=
this
.
postConfig
.
OfferArray
[
0
].
OutDateTime
;
}
}
var
that
=
this
;
if
(
this
.
postConfig
.
OfferArray
&&
this
.
postConfig
.
OfferArray
.
length
>
0
)
{
var
selectOfferObj
=
this
.
postConfig
.
OfferArray
.
find
((
qitem
)
=>
{
return
qitem
.
OutDateTime
==
that
.
selectDate
})
if
(
selectOfferObj
)
{
this
.
OtherPrice
=
selectOfferObj
.
otherPrice
;
this
.
teamPrice
=
selectOfferObj
.
teamPrice
;
this
.
CostNumberList
=
selectOfferObj
.
CostNumberList
;
this
.
offerDataObj
=
selectOfferObj
;
this
.
dayCostPrice
=
selectOfferObj
.
dayCostPriceList
;
this
.
CostCurrencyList
=
selectOfferObj
.
CostCurrencyList
;
}
}
},
},
//关闭弹窗
//关闭弹窗
closeDialog
()
{
closeDialog
()
{
...
@@ -1121,8 +1161,8 @@
...
@@ -1121,8 +1161,8 @@
},
},
GetDayStr
(
dayNum
)
{
GetDayStr
(
dayNum
)
{
var
str
=
""
;
var
str
=
""
;
if
(
this
.
postConfig
.
OutDateTime
&&
this
.
postConfig
.
OutDateTim
e
!=
''
)
{
if
(
this
.
selectDate
&&
this
.
selectDat
e
!=
''
)
{
var
dateFormat
=
new
Date
(
this
.
postConfig
.
OutDateTim
e
);
var
dateFormat
=
new
Date
(
this
.
selectDat
e
);
dateFormat
=
dateFormat
.
setDate
(
dateFormat
.
getDate
()
+
dayNum
);
dateFormat
=
dateFormat
.
setDate
(
dateFormat
.
getDate
()
+
dayNum
);
dateFormat
=
new
Date
(
dateFormat
);
dateFormat
=
new
Date
(
dateFormat
);
let
y
=
dateFormat
.
getFullYear
()
let
y
=
dateFormat
.
getFullYear
()
...
@@ -1132,34 +1172,6 @@
...
@@ -1132,34 +1172,6 @@
}
}
return
str
;
return
str
;
},
},
getTeamList
()
{
//出团公司
this
.
apipost
(
"travel_GetTeamTypeEnumList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
teamList
=
res
.
data
.
data
;
}
},
err
=>
{}
);
},
selectTag
(
index
)
{
this
.
tabsActive
=
index
this
.
changeTabs
()
},
changeTabs
()
{
this
.
currentData
=
this
.
orderList
[
this
.
tabsActive
]
if
(
!
this
.
currentData
)
{
return
}
this
.
OtherPrice
=
this
.
currentData
.
otherPrice
;
this
.
dayCostPrice
=
this
.
currentData
.
dayCostPriceList
;
this
.
CostCurrencyList
=
this
.
currentData
.
CostCurrencyList
;
this
.
CostNumberList
=
this
.
currentData
.
CostNumberList
;
this
.
queryMsg
=
this
.
currentData
.
queryMsg
;
this
.
teamPrice
=
this
.
currentData
.
teamPrice
;
},
//下载文件
//下载文件
downloadFile
(
fileUrl
,
fileName
)
{
downloadFile
(
fileUrl
,
fileName
)
{
const
link
=
document
.
createElement
(
'a'
);
const
link
=
document
.
createElement
(
'a'
);
...
@@ -1176,6 +1188,7 @@
...
@@ -1176,6 +1188,7 @@
//每天小计
//每天小计
getDayXiaoJi
(
type
,
currencyType
)
{
getDayXiaoJi
(
type
,
currencyType
)
{
var
xiaoJi
=
0
;
var
xiaoJi
=
0
;
if
(
this
.
dayCostPrice
&&
this
.
dayCostPrice
.
length
>
0
)
{
this
.
dayCostPrice
.
forEach
(
item
=>
{
this
.
dayCostPrice
.
forEach
(
item
=>
{
var
currencyRate
=
1
;
var
currencyRate
=
1
;
if
(
currencyType
==
2
)
{
if
(
currencyType
==
2
)
{
...
@@ -1199,7 +1212,6 @@
...
@@ -1199,7 +1212,6 @@
}
}
})
})
}
}
//xiaoJi += Number(item.ScenicCostPrice) * Number(currencyRate);
}
}
//早餐
//早餐
if
(
type
==
4
)
{
if
(
type
==
4
)
{
...
@@ -1216,11 +1228,13 @@
...
@@ -1216,11 +1228,13 @@
xiaoJi
+=
Number
(
item
.
OtherPrice
)
*
Number
(
currencyRate
);
xiaoJi
+=
Number
(
item
.
OtherPrice
)
*
Number
(
currencyRate
);
}
}
});
});
}
return
xiaoJi
.
toFixed
(
0
);
return
xiaoJi
.
toFixed
(
0
);
},
},
//获取变更合计
//获取变更合计
getDayChangeXiaoJi
(
type
,
currencyType
)
{
getDayChangeXiaoJi
(
type
,
currencyType
)
{
var
xiaoJi
=
0
;
var
xiaoJi
=
0
;
if
(
this
.
dayCostPrice
&&
this
.
dayCostPrice
.
length
>
0
)
{
this
.
dayCostPrice
.
forEach
(
item
=>
{
this
.
dayCostPrice
.
forEach
(
item
=>
{
var
currencyRate
=
1
;
var
currencyRate
=
1
;
if
(
currencyType
==
2
)
{
if
(
currencyType
==
2
)
{
...
@@ -1262,6 +1276,7 @@
...
@@ -1262,6 +1276,7 @@
}
}
}
}
});
});
}
return
xiaoJi
.
toFixed
(
0
);
return
xiaoJi
.
toFixed
(
0
);
},
},
//其它成本价格
//其它成本价格
...
@@ -1366,11 +1381,10 @@
...
@@ -1366,11 +1381,10 @@
}
}
},
},
mounted
()
{
mounted
()
{
this
.
orderList
=
this
.
OfferArray
this
.
switchOffer
();
this
.
changeTabs
()
},
},
created
()
{
created
()
{
this
.
getTeamList
();
},
},
watch
:
{
watch
:
{
...
...
src/components/TravelManager/TravelNewQuotation/CostNewPriceForm.vue
View file @
82b53ddc
...
@@ -60,6 +60,13 @@
...
@@ -60,6 +60,13 @@
margin-bottom
:
0
!important
;
margin-bottom
:
0
!important
;
}
}
/* 在你的组件样式中 */
.CostNewPrice
.custom-label-color
.el-form-item__label
{
color
:
#ff4949
!important
;
font-weight
:
bold
!important
;
/* 修改为你需要的颜色 */
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -389,6 +396,8 @@
...
@@ -389,6 +396,8 @@
<tr>
<tr>
<td
colspan=
"13"
>
{{$t('objFill.qitacbrmb')}}
</td>
<td
colspan=
"13"
>
{{$t('objFill.qitacbrmb')}}
</td>
</tr>
</tr>
<
template
>
</
template
>
<tr>
<tr>
<td
colspan=
"2"
>
<td
colspan=
"2"
>
<el-form-item
:label=
"$t('active.cl_jipiao')"
label-position=
"right"
>
<el-form-item
:label=
"$t('active.cl_jipiao')"
label-position=
"right"
>
...
@@ -420,7 +429,6 @@
...
@@ -420,7 +429,6 @@
@
keyup
.
native=
"checkPrice(teamPrice,'UnionPrice'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(teamPrice,'UnionPrice'),getchange()"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
<td
colspan=
"4"
rowspan=
"2"
>
<td
colspan=
"4"
rowspan=
"2"
>
{{$t('objFill.xiaojijpzdsjly')}}:
{{$t('objFill.xiaojijpzdsjly')}}:
<br
/>
{{getOtherCostMoney()}}
<br
/>
{{getOtherCostMoney()}}
...
@@ -476,16 +484,8 @@
...
@@ -476,16 +484,8 @@
</el-form-item>
</el-form-item>
</td>
</td>
<td
colspan=
"2"
>
<td
colspan=
"2"
>
<el-form-item
:label=
"$t('Operation.Op_childNobed')"
>
<el-form-item
:label=
"$t('salesModule.DJNum')"
class=
"custom-label-color"
>
<el-input
placeholder=
""
v-model=
"teamPrice.ChildNoNeedPrice"
<el-input
placeholder=
""
v-model=
"offerDataObj.DMCNum"
class=
"w150"
>
@
keyup
.
native=
"checkInteger(teamPrice,'ChildNoNeedPrice')"
class=
"w70"
>
</el-input>
</el-form-item>
</td>
<td
colspan=
"2"
>
<el-form-item
:label=
"$t('Operation.Op_childBed')"
>
<el-input
placeholder=
""
v-model=
"teamPrice.ChildNeedPrice"
@
keyup
.
native=
"checkInteger(teamPrice,'ChildNeedPrice')"
class=
"w70"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</td>
</td>
...
@@ -496,13 +496,27 @@
...
@@ -496,13 +496,27 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</td>
</td>
<td
colspan=
"
4
"
>
<td
colspan=
"
2
"
>
<el-form-item
:label=
"$t('objFill.dandijjg')"
>
<el-form-item
:label=
"$t('objFill.dandijjg')"
>
<el-input
placeholder=
""
v-model=
"teamPrice.SingleDMCTCPrice"
<el-input
placeholder=
""
v-model=
"teamPrice.SingleDMCTCPrice"
@
keyup
.
native=
"checkPrice(teamPrice,'SingleDMCTCPrice')"
class=
"w70"
>
@
keyup
.
native=
"checkPrice(teamPrice,'SingleDMCTCPrice')"
class=
"w70"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</td>
</td>
<td
colspan=
"2"
>
<el-form-item
:label=
"$t('Operation.Op_childNobed')"
>
<el-input
placeholder=
""
v-model=
"teamPrice.ChildNoNeedPrice"
@
keyup
.
native=
"checkInteger(teamPrice,'ChildNoNeedPrice')"
class=
"w70"
>
</el-input>
</el-form-item>
</td>
<td
colspan=
"2"
>
<el-form-item
:label=
"$t('Operation.Op_childBed')"
>
<el-input
placeholder=
""
v-model=
"teamPrice.ChildNeedPrice"
@
keyup
.
native=
"checkInteger(teamPrice,'ChildNeedPrice')"
class=
"w70"
>
</el-input>
</el-form-item>
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"2"
>
<td
colspan=
"2"
>
...
@@ -577,7 +591,6 @@
...
@@ -577,7 +591,6 @@
</td>
</td>
<td>
<td>
{{$t('objFill.tongyexsjg')}}
{{$t('objFill.tongyexsjg')}}
<br
/>
<br
/>
<!--台湾印象和日本印象-->
<!--台湾印象和日本印象-->
<
template
v-if=
"postConfig.OutBranchId==1218||postConfig.OutBranchId==1220"
>
<
template
v-if=
"postConfig.OutBranchId==1218||postConfig.OutBranchId==1220"
>
...
@@ -684,25 +697,40 @@
...
@@ -684,25 +697,40 @@
<travelDinner
v-if=
"isShowDiningDig"
:qMsg=
"qMsg"
@
chooseDinner=
"chooseDinner"
@
closeDinner=
"closeDialog"
<travelDinner
v-if=
"isShowDiningDig"
:qMsg=
"qMsg"
@
chooseDinner=
"chooseDinner"
@
closeDinner=
"closeDialog"
:otherDinner=
"otherDinner"
:breakFirstList=
"breakFirstList"
></travelDinner>
:otherDinner=
"otherDinner"
:breakFirstList=
"breakFirstList"
></travelDinner>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
travelDinner
from
'@/components/commonPage/travelDinner'
import
travelDinner
from
'@/components/commonPage/travelDinner'
export
default
{
export
default
{
props
:
[
"postConfig"
,
"AllCurrencyList"
],
props
:
[
"postConfig"
,
"AllCurrencyList"
,
"offerSelectDate"
],
watch
:
{
watch
:
{
postConfig
:
{
handler
:
function
(
val
,
oldVal
)
{
if
(
val
!=
oldVal
)
{
this
.
getOfferItemObj
(
1
);
}
},
deep
:
true
},
offerSelectDate
:
{
handler
:
function
(
val
,
oldVal
)
{
if
(
val
!=
oldVal
)
{
this
.
getOfferItemObj
(
2
);
}
},
deep
:
true
}
},
},
data
()
{
data
()
{
return
{
return
{
dayCostPriceList
:
this
.
postConfig
.
OfferArray
[
0
].
dayCostPriceList
,
dayCostPriceList
:
this
.
postConfig
.
dayCostPriceList
,
otherPrice
:
this
.
postConfig
.
OfferArray
[
0
].
otherPrice
,
otherPrice
:
{}
,
teamPrice
:
this
.
postConfig
.
OfferArray
[
0
].
teamPrice
,
teamPrice
:
{}
,
CostNumberList
:
this
.
postConfig
.
OfferArray
[
0
].
CostNumberList
,
CostNumberList
:
[]
,
CurrencyNumberListExt
:
this
.
postConfig
.
OfferArray
[
0
].
CurrencyNumberListExt
,
CurrencyNumberListExt
:
this
.
postConfig
.
OfferArray
[
0
].
CurrencyNumberListExt
,
CostCurrencyList
:
this
.
postConfig
.
OfferArray
[
0
].
CostCurrencyList
,
CostCurrencyList
:
this
.
postConfig
.
OfferArray
[
0
].
CostCurrencyList
,
offerDataObj
:
{},
//下拉框默认值
//下拉框默认值
defaultSelect
:
0
,
defaultSelect
:
0
,
//币种下拉
//币种下拉
...
@@ -745,6 +773,24 @@
...
@@ -745,6 +773,24 @@
travelDinner
:
travelDinner
,
travelDinner
:
travelDinner
,
},
},
methods
:
{
methods
:
{
//获取选中的日期
getOfferItemObj
(
type
)
{
var
selectOfferObj
=
{};
if
(
this
.
postConfig
&&
this
.
postConfig
.
OfferArray
&&
this
.
postConfig
.
OfferArray
.
length
>
0
)
{
selectOfferObj
=
this
.
postConfig
.
OfferArray
.
find
((
qitem
)
=>
{
return
qitem
.
OutDateTime
==
this
.
offerSelectDate
})
}
if
(
selectOfferObj
)
{
this
.
otherPrice
=
selectOfferObj
.
otherPrice
;
this
.
teamPrice
=
selectOfferObj
.
teamPrice
;
this
.
CostNumberList
=
selectOfferObj
.
CostNumberList
;
this
.
offerDataObj
=
selectOfferObj
;
}
this
.
getchange
()
this
.
getSubMoney
();
return
selectOfferObj
;
},
changeTicket
(
subItem
)
{
changeTicket
(
subItem
)
{
if
(
subItem
.
TicketSourceList
&&
subItem
.
TicketSourceList
.
length
>
0
)
{
if
(
subItem
.
TicketSourceList
&&
subItem
.
TicketSourceList
.
length
>
0
)
{
var
changeObj
=
subItem
.
TicketSourceList
.
find
(
qitem
=>
qitem
.
TicketId
==
subItem
.
TicketId
);
var
changeObj
=
subItem
.
TicketSourceList
.
find
(
qitem
=>
qitem
.
TicketId
==
subItem
.
TicketId
);
...
@@ -817,8 +863,8 @@
...
@@ -817,8 +863,8 @@
},
},
GetDayStr
(
dayNum
)
{
GetDayStr
(
dayNum
)
{
var
str
=
""
;
var
str
=
""
;
if
(
this
.
postConfig
.
OutDateTime
&&
this
.
postConfig
.
OutDateTim
e
!=
''
)
{
if
(
this
.
offerSelectDate
&&
this
.
offerSelectDat
e
!=
''
)
{
var
dateFormat
=
new
Date
(
this
.
postConfig
.
OutDateTim
e
);
var
dateFormat
=
new
Date
(
this
.
offerSelectDat
e
);
dateFormat
=
dateFormat
.
setDate
(
dateFormat
.
getDate
()
+
dayNum
);
dateFormat
=
dateFormat
.
setDate
(
dateFormat
.
getDate
()
+
dayNum
);
dateFormat
=
new
Date
(
dateFormat
);
dateFormat
=
new
Date
(
dateFormat
);
let
y
=
dateFormat
.
getFullYear
()
let
y
=
dateFormat
.
getFullYear
()
...
@@ -843,7 +889,6 @@
...
@@ -843,7 +889,6 @@
this
.
initHotel
(
query
,
subItem
)
this
.
initHotel
(
query
,
subItem
)
}
else
{
}
else
{
subItem
.
HotelList
=
[]
subItem
.
HotelList
=
[]
}
}
},
},
//景点搜索
//景点搜索
...
@@ -989,7 +1034,6 @@
...
@@ -989,7 +1034,6 @@
}
}
})
})
}
}
//xiaoJi += Number(item.ScenicCostPrice) * Number(currencyRate);
}
}
//餐合计
//餐合计
if
(
type
==
4
)
{
if
(
type
==
4
)
{
...
@@ -1138,6 +1182,7 @@
...
@@ -1138,6 +1182,7 @@
},
},
//添加人数费用
//添加人数费用
addPeoNunber
()
{
addPeoNunber
()
{
var
that
=
this
;
var
PeopleNumber
=
this
.
priceObj
.
priceNum
;
var
PeopleNumber
=
this
.
priceObj
.
priceNum
;
if
(
PeopleNumber
==
""
)
{
if
(
PeopleNumber
==
""
)
{
this
.
Info
(
this
.
$t
(
'objFill.v101.SalesModule.col2.t4'
));
this
.
Info
(
this
.
$t
(
'objFill.v101.SalesModule.col2.t4'
));
...
@@ -1156,6 +1201,13 @@
...
@@ -1156,6 +1201,13 @@
var
CostNumberObj
=
this
.
$tripUtils
.
CostNumber
();
var
CostNumberObj
=
this
.
$tripUtils
.
CostNumber
();
CostNumberObj
.
PeopleNumber
=
PeopleNumber
;
CostNumberObj
.
PeopleNumber
=
PeopleNumber
;
this
.
CostNumberList
.
push
(
CostNumberObj
);
this
.
CostNumberList
.
push
(
CostNumberObj
);
if
(
this
.
postConfig
&&
this
.
postConfig
.
OfferArray
&&
this
.
postConfig
.
OfferArray
.
length
>
0
)
{
this
.
postConfig
.
OfferArray
.
forEach
(
rItem
=>
{
if
(
rItem
.
OutDateTime
!=
this
.
offerSelectDate
)
{
rItem
.
CostNumberList
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
CostNumberList
))
}
})
}
this
.
CurrencyNumberListExt
.
forEach
(
x
=>
{
this
.
CurrencyNumberListExt
.
forEach
(
x
=>
{
var
CurrencyNumberObj
=
this
.
$tripUtils
.
CurrencyNumber
();
var
CurrencyNumberObj
=
this
.
$tripUtils
.
CurrencyNumber
();
CurrencyNumberObj
.
CurrencyId
=
x
.
Key
;
CurrencyNumberObj
.
CurrencyId
=
x
.
Key
;
...
@@ -1173,7 +1225,13 @@
...
@@ -1173,7 +1225,13 @@
},
},
//删除人数
//删除人数
DeletePNumber
(
index
)
{
DeletePNumber
(
index
)
{
var
that
=
this
;
this
.
CostNumberList
.
splice
(
index
,
1
);
this
.
CostNumberList
.
splice
(
index
,
1
);
if
(
this
.
postConfig
&&
this
.
postConfig
.
OfferArray
&&
this
.
postConfig
.
OfferArray
.
length
>
0
)
{
this
.
postConfig
.
OfferArray
.
forEach
(
rItem
=>
{
rItem
.
CostNumberList
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
CostNumberList
));
})
}
},
},
//人数排序
//人数排序
shortPeopleNumber
()
{
shortPeopleNumber
()
{
...
@@ -1259,8 +1317,9 @@
...
@@ -1259,8 +1317,9 @@
tempPrice
=
Number
(
that
.
getLocalMoney
(
x
.
PeopleNumber
));
tempPrice
=
Number
(
that
.
getLocalMoney
(
x
.
PeopleNumber
));
});
});
}
}
if
(
this
.
teamPrice
.
SingleDMCPrice
<=
0
||
(
type
&&
type
==
1
))
{
this
.
teamPrice
.
SingleDMCPrice
=
tempPrice
.
toFixed
(
0
);
this
.
teamPrice
.
SingleDMCPrice
=
tempPrice
.
toFixed
(
0
);
if
(
this
.
teamPrice
.
SingleDMCPrice
<=
0
||
(
type
&&
type
==
1
))
{
//this.teamPrice.SingleDMCPrice = tempPrice.toFixed(0);
}
}
this
.
getSubMoney
();
this
.
getSubMoney
();
},
},
...
@@ -1304,6 +1363,7 @@
...
@@ -1304,6 +1363,7 @@
created
()
{
created
()
{
this
.
getEmployeeList
();
this
.
getEmployeeList
();
this
.
getConfigDinnerList
();
this
.
getConfigDinnerList
();
this
.
getOfferItemObj
(
0
);
}
}
};
};
...
...
src/components/TravelManager/TravelNewQuotation/QuotationAduit.vue
View file @
82b53ddc
...
@@ -12,8 +12,7 @@
...
@@ -12,8 +12,7 @@
<
template
>
<
template
>
<div
class=
"DirectQuotation clearfix"
v-loading=
"loading"
>
<div
class=
"DirectQuotation clearfix"
v-loading=
"loading"
>
<div
class=
"singlePrice clearfix"
>
<div
class=
"singlePrice clearfix"
>
<CostNewPriceAudit
v-if=
"haveData"
ref=
"CostNewPrice"
:postConfig=
"postData"
:OfferArray=
"OfferArray"
<CostNewPriceAudit
v-if=
"haveData"
ref=
"CostNewPrice"
:postConfig=
"postData"
:IsEdit=
"IsEdit"
></CostNewPriceAudit>
:IsEdit=
"IsEdit"
></CostNewPriceAudit>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -23,9 +22,6 @@
...
@@ -23,9 +22,6 @@
data
()
{
data
()
{
return
{
return
{
haveData
:
false
,
haveData
:
false
,
OfferArray
:
[],
ConfigID
:
0
,
IsShow
:
false
,
//基本配置
//基本配置
postData
:
{
postData
:
{
ID
:
0
,
ID
:
0
,
...
@@ -87,8 +83,8 @@
...
@@ -87,8 +83,8 @@
OpAuditDate
:
""
,
//印尼团 OP审核时间
OpAuditDate
:
""
,
//印尼团 OP审核时间
OpAuditContent
:
""
,
//印尼团OP审核备注
OpAuditContent
:
""
,
//印尼团OP审核备注
OpAuditStatus
:
""
,
//印尼团OP审核状态
OpAuditStatus
:
""
,
//印尼团OP审核状态
OfferArray
:
[],
},
},
isSubmit
:
true
,
loading
:
false
,
loading
:
false
,
IsEdit
:
0
,
IsEdit
:
0
,
};
};
...
@@ -131,6 +127,7 @@
...
@@ -131,6 +127,7 @@
});
});
},
},
getPostData
()
{
getPostData
()
{
this
.
haveData
=
false
;
let
BatchNum
=
""
;
let
BatchNum
=
""
;
let
offerid
=
0
;
let
offerid
=
0
;
if
(
this
.
$route
.
query
.
BatchNum
)
{
if
(
this
.
$route
.
query
.
BatchNum
)
{
...
@@ -145,10 +142,11 @@
...
@@ -145,10 +142,11 @@
};
};
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
this
.
apipost
(
"travel_get_
GetMyTravelInfo_V5
"
,
"travel_get_
PriceOfferInfo
"
,
msg
,
msg
,
res
=>
{
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
console
.
log
(
"travel_get_PriceOfferInfo"
,
res
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
var
tempData
=
res
.
data
.
data
;
if
(
tempData
.
ID
&&
tempData
.
ID
>
0
)
{
if
(
tempData
.
ID
&&
tempData
.
ID
>
0
)
{
...
@@ -160,18 +158,7 @@
...
@@ -160,18 +158,7 @@
if
(
tempData
.
LineteamId
&&
tempData
.
LineteamId
>
0
)
{
if
(
tempData
.
LineteamId
&&
tempData
.
LineteamId
>
0
)
{
this
.
postData
.
LineteamId
=
tempData
.
LineteamId
;
this
.
postData
.
LineteamId
=
tempData
.
LineteamId
;
}
}
if
(
tempData
.
CSeat
&&
tempData
.
CSeat
>
0
)
{
this
.
postData
.
CSeat
=
tempData
.
CSeat
;
}
if
(
tempData
.
FSeat
&&
tempData
.
FSeat
>
0
)
{
this
.
postData
.
FSeat
=
tempData
.
FSeat
;
}
if
(
tempData
.
YSeat
&&
tempData
.
YSeat
>
0
)
{
this
.
postData
.
YSeat
=
tempData
.
YSeat
;
}
if
(
tempData
.
LowNum
&&
tempData
.
LowNum
>
0
)
{
this
.
postData
.
LowNum
=
tempData
.
LowNum
;
}
if
(
tempData
.
Title
&&
tempData
.
Title
!=
''
)
{
if
(
tempData
.
Title
&&
tempData
.
Title
!=
''
)
{
this
.
postData
.
Title
=
tempData
.
Title
;
this
.
postData
.
Title
=
tempData
.
Title
;
}
}
...
@@ -267,9 +254,8 @@
...
@@ -267,9 +254,8 @@
this
.
postData
.
PriceTeamTypeName
=
tempData
.
PriceTeamTypeName
;
this
.
postData
.
PriceTeamTypeName
=
tempData
.
PriceTeamTypeName
;
this
.
postData
.
PriceTeamType
=
tempData
.
PriceTeamType
;
this
.
postData
.
PriceTeamType
=
tempData
.
PriceTeamType
;
if
(
tempData
.
OfferArray
)
{
if
(
tempData
.
OfferArray
)
{
tempData
.
OfferArray
.
forEach
(
item
=>
{
this
.
postData
.
OfferArray
=
tempData
.
OfferArray
;
this
.
OfferArray
.
push
(
item
)
})
}
}
this
.
haveData
=
true
;
this
.
haveData
=
true
;
}
else
{
}
else
{
...
...
src/components/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
View file @
82b53ddc
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelNewQuotation/priceDialog.vue
View file @
82b53ddc
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div
class=
"switchDiv clearfix"
style=
"width:98%;"
>
<div
class=
"switchDiv clearfix"
style=
"width:98%;"
>
<div
class=
"DirectPriceCenter"
>
<div
class=
"DirectPriceCenter"
>
<div
class=
"singlePrice clearfix"
v-loading=
"loading"
>
<div
class=
"singlePrice clearfix"
v-loading=
"loading"
>
<CostNewPriceAudit
v-if=
"haveData"
ref=
"CostNewPrice"
:postConfig=
"postData"
:OfferArray=
"OfferArray"
<CostNewPriceAudit
v-if=
"haveData"
ref=
"CostNewPrice"
:postConfig=
"postData"
:IsEdit=
"0"
>
:IsEdit=
"0"
>
</CostNewPriceAudit>
</CostNewPriceAudit>
</div>
</div>
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
data
()
{
data
()
{
return
{
return
{
haveData
:
false
,
haveData
:
false
,
OfferArray
:
[],
//基本配置
//基本配置
postData
:
{
postData
:
{
ID
:
0
,
ID
:
0
,
...
@@ -74,6 +73,7 @@
...
@@ -74,6 +73,7 @@
AssistantList
:
[],
//助理OP
AssistantList
:
[],
//助理OP
PriceTeamType
:
0
,
//团队类型,
PriceTeamType
:
0
,
//团队类型,
PriceTeamTypeName
:
""
,
//团队类型,
PriceTeamTypeName
:
""
,
//团队类型,
OfferArray
:
[],
},
},
loading
:
false
loading
:
false
};
};
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
this
.
haveData
=
false
;
this
.
haveData
=
false
;
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
this
.
apipost
(
"travel_get_
GetMyTravelInfo_V4
"
,
"travel_get_
PriceOfferInfo
"
,
msg
,
msg
,
res
=>
{
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
...
@@ -106,18 +106,7 @@
...
@@ -106,18 +106,7 @@
if
(
tempData
.
LineteamId
&&
tempData
.
LineteamId
>
0
)
{
if
(
tempData
.
LineteamId
&&
tempData
.
LineteamId
>
0
)
{
this
.
postData
.
LineteamId
=
tempData
.
LineteamId
;
this
.
postData
.
LineteamId
=
tempData
.
LineteamId
;
}
}
if
(
tempData
.
CSeat
&&
tempData
.
CSeat
>
0
)
{
this
.
postData
.
CSeat
=
tempData
.
CSeat
;
}
if
(
tempData
.
FSeat
&&
tempData
.
FSeat
>
0
)
{
this
.
postData
.
FSeat
=
tempData
.
FSeat
;
}
if
(
tempData
.
YSeat
&&
tempData
.
YSeat
>
0
)
{
this
.
postData
.
YSeat
=
tempData
.
YSeat
;
}
if
(
tempData
.
LowNum
&&
tempData
.
LowNum
>
0
)
{
this
.
postData
.
LowNum
=
tempData
.
LowNum
;
}
if
(
tempData
.
Title
&&
tempData
.
Title
!=
''
)
{
if
(
tempData
.
Title
&&
tempData
.
Title
!=
''
)
{
this
.
postData
.
Title
=
tempData
.
Title
;
this
.
postData
.
Title
=
tempData
.
Title
;
}
}
...
@@ -183,9 +172,7 @@
...
@@ -183,9 +172,7 @@
this
.
postData
.
PriceTeamTypeName
=
tempData
.
PriceTeamTypeName
;
this
.
postData
.
PriceTeamTypeName
=
tempData
.
PriceTeamTypeName
;
this
.
postData
.
PriceTeamType
=
tempData
.
PriceTeamType
;
this
.
postData
.
PriceTeamType
=
tempData
.
PriceTeamType
;
if
(
tempData
.
OfferArray
)
{
if
(
tempData
.
OfferArray
)
{
tempData
.
OfferArray
.
forEach
(
item
=>
{
this
.
postData
.
OfferArray
=
tempData
.
OfferArray
;
this
.
OfferArray
.
push
(
item
)
})
}
}
this
.
haveData
=
true
;
this
.
haveData
=
true
;
}
else
{
}
else
{
...
...
src/components/TravelManager/TravelNewQuotation/quotationEdit.vue
View file @
82b53ddc
...
@@ -195,13 +195,11 @@
...
@@ -195,13 +195,11 @@
<td
width=
"80"
class=
"txtRightCost"
>
{{$t('hotel.hotel_choostDate')}}
</td>
<td
width=
"80"
class=
"txtRightCost"
>
{{$t('hotel.hotel_choostDate')}}
</td>
<td
colspan=
"5"
>
<td
colspan=
"5"
>
<
template
v-if=
"postData.OutDateTimeList&&postData.OutDateTimeList.length>0"
>
<
template
v-if=
"postData.OutDateTimeList&&postData.OutDateTimeList.length>0"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"点击切换"
placement=
"top"
>
<el-tag
v-for=
"(item,oIndex) in postData.OutDateTimeList"
:key=
"item"
closable
<el-tag
v-for=
"(item,oIndex) in postData.OutDateTimeList"
:key=
"item"
closable
style=
"margin-right:5px;cursor:pointer;"
@
close=
"handleClose(item,oIndex)"
style=
"margin-right:5px;cursor:pointer;"
@
close=
"handleClose(item,oIndex)"
:class=
"item==selectDate?'offer_select-tag': ''"
@
click=
"switchOffer(item)"
>
:class=
"item==selectDate?'offer_select-tag': ''"
@
click=
"switchOffer(item)"
>
{{
item
}}
{{
item
}}
</el-tag>
</el-tag>
</el-tooltip>
</
template
>
</
template
>
</td>
</td>
</tr>
</tr>
...
@@ -303,7 +301,10 @@
...
@@ -303,7 +301,10 @@
changeDate
()
{
changeDate
()
{
var
that
=
this
;
var
that
=
this
;
if
(
this
.
postData
.
OutDateTimeList
&&
this
.
postData
.
OutDateTimeList
.
length
>
0
)
{
if
(
this
.
postData
.
OutDateTimeList
&&
this
.
postData
.
OutDateTimeList
.
length
>
0
)
{
var
rootObj
=
this
.
postData
.
OfferArray
[
0
];
var
rootObj
=
null
;
if
(
this
.
postData
.
OfferArray
&&
this
.
postData
.
OfferArray
.
length
>
0
)
{
rootObj
=
this
.
postData
.
OfferArray
[
0
]
}
this
.
postData
.
OutDateTimeList
.
forEach
(
subItem
=>
{
this
.
postData
.
OutDateTimeList
.
forEach
(
subItem
=>
{
var
tempObj
=
that
.
getOfferObj
();
var
tempObj
=
that
.
getOfferObj
();
tempObj
.
OutDateTime
=
subItem
;
tempObj
.
OutDateTime
=
subItem
;
...
@@ -312,12 +313,21 @@
...
@@ -312,12 +313,21 @@
})
})
//第一个报价在添加日期的
//第一个报价在添加日期的
if
(
!
existsObj
)
{
if
(
!
existsObj
)
{
if
(
rootObj
)
{
tempObj
=
JSON
.
parse
(
JSON
.
stringify
(
rootObj
));
tempObj
=
JSON
.
parse
(
JSON
.
stringify
(
rootObj
));
}
tempObj
.
OutDateTime
=
subItem
;
tempObj
.
OutDateTime
=
subItem
;
that
.
postData
.
OfferArray
.
push
(
tempObj
);
that
.
postData
.
OfferArray
.
push
(
tempObj
);
}
}
this
.
switchOffer
(
tempObj
.
OutDateTime
);
});
});
if
(
this
.
postData
&&
this
.
postData
.
OfferArray
&&
this
.
postData
.
OfferArray
.
length
>
0
)
{
if
(
this
.
postData
.
BatchNum
==
''
)
{
that
.
switchOffer
(
this
.
postData
.
OfferArray
[
0
].
OutDateTime
)
}
else
{
var
lastItem
=
this
.
postData
.
OfferArray
[
this
.
postData
.
OfferArray
.
length
-
1
];
that
.
switchOffer
(
lastItem
.
OutDateTime
)
}
}
}
}
},
},
//获取报价单对象
//获取报价单对象
...
@@ -418,9 +428,7 @@
...
@@ -418,9 +428,7 @@
this
.
apipost
(
this
.
apipost
(
"travel_post_RemoveTravelOffer"
,
postMsg
,
"travel_post_RemoveTravelOffer"
,
postMsg
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{}
}
});
});
this
.
postData
.
OutDateTimeList
.
splice
(
index
,
1
);
this
.
postData
.
OutDateTimeList
.
splice
(
index
,
1
);
}
else
{
}
else
{
...
@@ -607,7 +615,6 @@
...
@@ -607,7 +615,6 @@
this
.
getPostData
();
this
.
getPostData
();
},
},
getPostData
()
{
getPostData
()
{
this
.
haveData
=
false
;
let
offerId
=
0
;
let
offerId
=
0
;
if
(
this
.
$route
.
query
.
offerid
)
{
if
(
this
.
$route
.
query
.
offerid
)
{
offerId
=
this
.
$route
.
query
.
offerid
;
offerId
=
this
.
$route
.
query
.
offerid
;
...
@@ -677,9 +684,8 @@
...
@@ -677,9 +684,8 @@
this
.
postData
.
AssistantList
.
push
(
aItem
.
Id
);
this
.
postData
.
AssistantList
.
push
(
aItem
.
Id
);
})
})
}
}
this
.
s
electDate
=
tempData
.
OfferArray
[
0
].
OutDateTime
;
this
.
s
witchOffer
(
tempData
.
OfferArray
[
0
].
OutDateTime
)
;
}
}
this
.
haveData
=
true
;
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
...
src/components/TravelManager/TravelNewQuotation/quotationEditDetails.vue
View file @
82b53ddc
...
@@ -422,7 +422,6 @@
...
@@ -422,7 +422,6 @@
@
keyup
.
native=
"checkPrice(teamPrice,'UnionPrice'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(teamPrice,'UnionPrice'),getchange()"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
<td
colspan=
"4"
rowspan=
"2"
>
<td
colspan=
"4"
rowspan=
"2"
>
{{$t('objFill.xiaojijpzdsjly')}}:
{{$t('objFill.xiaojijpzdsjly')}}:
<br
/>
{{getOtherCostMoney()}}
<br
/>
{{getOtherCostMoney()}}
...
@@ -512,7 +511,6 @@
...
@@ -512,7 +511,6 @@
</el-form-item>
</el-form-item>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"2"
>
<td
colspan=
"2"
>
<el-form-item
:label=
"$t('Operation.Op_zhu')+`OP`"
>
<el-form-item
:label=
"$t('Operation.Op_zhu')+`OP`"
>
...
@@ -770,19 +768,17 @@
...
@@ -770,19 +768,17 @@
methods
:
{
methods
:
{
//获取选中的日期
//获取选中的日期
getOfferItemObj
(
type
)
{
getOfferItemObj
(
type
)
{
console
.
log
(
"getOfferItemObj_"
+
type
,
this
.
postConfig
);
var
selectOfferObj
=
{};
var
selectOfferObj
=
{};
if
(
this
.
postConfig
&&
this
.
postConfig
.
OfferArray
&&
this
.
postConfig
.
OfferArray
.
length
>
0
)
{
if
(
this
.
postConfig
&&
this
.
postConfig
.
OfferArray
&&
this
.
postConfig
.
OfferArray
.
length
>
0
)
{
selectOfferObj
=
this
.
postConfig
.
OfferArray
.
find
((
qitem
)
=>
{
selectOfferObj
=
this
.
postConfig
.
OfferArray
.
find
((
qitem
)
=>
{
return
qitem
.
OutDateTime
==
this
.
offerSelectDate
return
qitem
.
OutDateTime
==
this
.
offerSelectDate
})
})
}
}
console
.
log
(
"selectOfferObj_"
+
type
,
selectOfferObj
);
if
(
selectOfferObj
)
{
if
(
selectOfferObj
)
{
this
.
otherPrice
=
selectOfferObj
.
otherPrice
;
this
.
otherPrice
=
selectOfferObj
.
otherPrice
;
this
.
teamPrice
=
selectOfferObj
.
teamPrice
;
this
.
teamPrice
=
selectOfferObj
.
teamPrice
;
this
.
CostNumberList
=
selectOfferObj
.
CostNumberList
;
this
.
CostNumberList
=
selectOfferObj
.
CostNumberList
;
this
.
offerDataObj
=
selectOfferObj
;
this
.
offerDataObj
=
selectOfferObj
;
}
}
return
selectOfferObj
;
return
selectOfferObj
;
},
},
...
@@ -1177,6 +1173,7 @@
...
@@ -1177,6 +1173,7 @@
},
},
//添加人数费用
//添加人数费用
addPeoNunber
()
{
addPeoNunber
()
{
var
that
=
this
;
var
PeopleNumber
=
this
.
priceObj
.
priceNum
;
var
PeopleNumber
=
this
.
priceObj
.
priceNum
;
if
(
PeopleNumber
==
""
)
{
if
(
PeopleNumber
==
""
)
{
this
.
Info
(
this
.
$t
(
'objFill.v101.SalesModule.col2.t4'
));
this
.
Info
(
this
.
$t
(
'objFill.v101.SalesModule.col2.t4'
));
...
@@ -1195,7 +1192,13 @@
...
@@ -1195,7 +1192,13 @@
var
CostNumberObj
=
this
.
$tripUtils
.
CostNumber
();
var
CostNumberObj
=
this
.
$tripUtils
.
CostNumber
();
CostNumberObj
.
PeopleNumber
=
PeopleNumber
;
CostNumberObj
.
PeopleNumber
=
PeopleNumber
;
this
.
CostNumberList
.
push
(
CostNumberObj
);
this
.
CostNumberList
.
push
(
CostNumberObj
);
if
(
this
.
postConfig
&&
this
.
postConfig
.
OfferArray
&&
this
.
postConfig
.
OfferArray
.
length
>
0
)
{
this
.
postConfig
.
OfferArray
.
forEach
(
rItem
=>
{
if
(
rItem
.
OutDateTime
!=
this
.
offerSelectDate
)
{
rItem
.
CostNumberList
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
CostNumberList
))
}
})
}
this
.
CurrencyNumberListExt
.
forEach
(
x
=>
{
this
.
CurrencyNumberListExt
.
forEach
(
x
=>
{
var
CurrencyNumberObj
=
this
.
$tripUtils
.
CurrencyNumber
();
var
CurrencyNumberObj
=
this
.
$tripUtils
.
CurrencyNumber
();
CurrencyNumberObj
.
CurrencyId
=
x
.
Key
;
CurrencyNumberObj
.
CurrencyId
=
x
.
Key
;
...
@@ -1213,7 +1216,13 @@
...
@@ -1213,7 +1216,13 @@
},
},
//删除人数
//删除人数
DeletePNumber
(
index
)
{
DeletePNumber
(
index
)
{
var
that
=
this
;
this
.
CostNumberList
.
splice
(
index
,
1
);
this
.
CostNumberList
.
splice
(
index
,
1
);
if
(
this
.
postConfig
&&
this
.
postConfig
.
OfferArray
&&
this
.
postConfig
.
OfferArray
.
length
>
0
)
{
this
.
postConfig
.
OfferArray
.
forEach
(
rItem
=>
{
rItem
.
CostNumberList
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
CostNumberList
));
})
}
},
},
//人数排序
//人数排序
shortPeopleNumber
()
{
shortPeopleNumber
()
{
...
...
src/components/dmc/manager/dmcTotalTable.vue
View file @
82b53ddc
...
@@ -348,12 +348,12 @@
...
@@ -348,12 +348,12 @@
</td>
</td>
<td>
<td>
<div
class=
"fz16 fbold linkspan"
<div
class=
"fz16 fbold linkspan"
@
click=
"goUrl([131,14,
90,
118].includes(item.LineId) ? 'roomReservationsDetails' : 'roomReservationsDetailsNew',item,outItem,'订房详情')"
>
@
click=
"goUrl([131,14,118].includes(item.LineId) ? 'roomReservationsDetails' : 'roomReservationsDetailsNew',item,outItem,'订房详情')"
>
<span
style=
"color: #4BCA81;"
v-if=
"item.HotelResult==1"
>
√
</span>
<span
style=
"color: #4BCA81;"
v-if=
"item.HotelResult==1"
>
√
</span>
<span
class=
"colorE95252"
v-else
>
{{
item
.
HotelResult
==
'-1'
?
"x"
:
"O"
}}
</span>
<span
class=
"colorE95252"
v-else
>
{{
item
.
HotelResult
==
'-1'
?
"x"
:
"O"
}}
</span>
</div>
</div>
<p
<p
v-if=
"(item.LineId==14||item.LineId==118) && item.PriceHotelResult && item.PriceHotelResult.length>0"
>
v-if=
"(item.LineId==14||item.LineId==118
||item.LineId==90
) && item.PriceHotelResult && item.PriceHotelResult.length>0"
>
<el-popover
width=
"1100"
trigger=
"click"
popper-class=
"DMC_HotelPop"
>
<el-popover
width=
"1100"
trigger=
"click"
popper-class=
"DMC_HotelPop"
>
<commonHotelInfo
:HotelObj=
"item.PriceHotelResult"
:showHotelObj=
"showHotelObj"
:TCID=
"item.TCID"
<commonHotelInfo
:HotelObj=
"item.PriceHotelResult"
:showHotelObj=
"showHotelObj"
:TCID=
"item.TCID"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUMS"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUMS"
...
...
src/components/newTravelmanager/travelLineTrip/components/travelDaysHV.vue
View file @
82b53ddc
...
@@ -369,6 +369,8 @@
...
@@ -369,6 +369,8 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"travelDaysHVdetails"
:style=
"{'margin-top':(item.TitleObj.ShowTripType==2&&
<div
class=
"travelDaysHVdetails"
:style=
"{'margin-top':(item.TitleObj.ShowTripType==2&&
(item.ScenicArray.length==1||item.ScenicArray.length==0))
(item.ScenicArray.length==1||item.ScenicArray.length==0))
||((item.TitleObj.ShowTripType==1||item.TitleObj.ShowTripType==0)&&
||((item.TitleObj.ShowTripType==1||item.TitleObj.ShowTripType==0)&&
...
...
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