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
66c67711
Commit
66c67711
authored
Feb 21, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
9e2f9e4f
be6f970b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
163 additions
and
126 deletions
+163
-126
CostNewPrice.vue
...ponents/TravelManager/TravelNewQuotation/CostNewPrice.vue
+121
-120
newQuotation.vue
...ponents/TravelManager/TravelNewQuotation/newQuotation.vue
+42
-6
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPrice.vue
View file @
66c67711
<
style
>
@import
"../../../assets/css/newTravelManager.css"
;
.CostNewPrice
.el-form-item__content
,
.CostNewPrice
.el-form-item__label
{
line-height
:
30px
;
}
.CostNewPrice
.CP_halfWi
{
width
:
45%
;
}
.CostNewPrice
.QuotationFirstDiv1
{
padding-top
:
30px
;
}
...
...
@@ -17,12 +20,26 @@
background-color
:
#D1EEEE
;
white-space
:
nowrap
;
}
.CostNewTable
td
{
.CostNewTable
{
border-collapse
:
collapse
;
}
.CostNewTable
td
{
height
:
40px
;
border
:
1px
solid
#106BAF
!important
;
border-collapse
:
collapse
;
padding
:
0
3px
;
}
.CostNewTable
.el-input
.el-input__inner
{
height
:
25px
!important
;
border
:
none
;
border-bottom
:
1px
solid
#606266
;
padding-left
:
5px
!important
;
}
.CP_ComTitle
{
color
:
#106BAF
;
}
...
...
@@ -41,9 +58,9 @@
text-align
:
right
;
padding-right
:
10px
;
}
.CostNewPrice
.el-form-item
{
margin-bottom
:
0
!important
;
}
</
style
>
<
template
>
...
...
@@ -139,13 +156,13 @@
</div>
</div>
<br
/>
<table
class=
"Cost
PriceTable CostNewTable
"
>
<table
class=
"Cost
NewTable"
style=
"width:1150px
"
>
<thead>
<tr>
<td
colspan=
"12"
class=
"CP_ComTitle2 CostcomCenter"
>
报价信息
</td>
</tr>
<tr>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
币种
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
style=
"width:120px"
>
币种
</td>
<td
v-for=
'(item,index) in CostCurrencyList'
>
{{item.CurrencyName}}
<span>
...
...
@@ -196,7 +213,7 @@
<td
colspan=
"12"
></td>
</tr>
<tr>
<td
rowspan=
"2"
width=
'80'
class=
"CP_ComTitle2 CostcomCenter"
>
Day
</td>
<td
rowspan=
"2"
style=
"width:100px"
class=
"CP_ComTitle2 CostcomCenter"
>
Day
</td>
<td
rowspan=
"2"
width=
'80'
class=
"CP_ComTitle2 CostcomCenter"
>
行程大点
</td>
<td
rowspan=
"2"
width=
"80"
class=
"CP_ComTitle2 CostcomCenter"
>
币种
</td>
<td
rowspan=
"2"
width=
'80'
class=
"CP_ComTitle2 CostcomCenter"
>
酒店
</td>
...
...
@@ -236,7 +253,7 @@
<td
v-if=
"childIndex==0"
:rowspan=
"CostNumberList.length"
>
<el-input
type=
'text'
v-model=
"subItem.HotelName"
class=
"w100"
placeholder=
"酒店备注"
></el-input>
<br
/>
<el-select
v-model=
'subItem.ContainDinnerType'
class=
"w100"
placeholder=
"含餐类型"
<el-select
style=
"margin:0 5px;"
v-model=
'subItem.ContainDinnerType'
class=
"w100"
placeholder=
"含餐类型"
@
change=
"DinnerTypeChange(subItem)"
>
<el-option
label=
"含餐类型"
:value=
'0'
></el-option>
<el-option
label=
"含早餐"
:value=
'1'
></el-option>
...
...
@@ -246,7 +263,7 @@
<br
/>
<el-input
type=
'text'
v-model=
"subItem.HotelCostPrice"
class=
"w100"
@
keyup
.
native=
"checkPrice(subItem,'HotelCostPrice')"
placeholder=
"酒店价格"
></el-input>
<br
/>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"CostNumberList.length"
>
<el-input
type=
'text'
v-model=
"subItem.BusCostPrice"
class=
"w60"
...
...
@@ -391,6 +408,7 @@
<br
/>
<el-input
type=
'text'
v-model=
"subItem.HotelCostPrice"
class=
"w100"
@
keyup
.
native=
"checkPrice(subItem,'HotelCostPrice')"
placeholder=
"酒店价格"
></el-input>
<br
/>
</td>
<td>
<el-input
type=
'text'
v-model=
"subItem.BusCostPrice"
class=
"w60"
...
...
@@ -508,16 +526,16 @@
</tr>
</template>
<tr>
<td
colspan=
"1
3
"
></td>
<td
colspan=
"1
2
"
></td>
</tr>
<tr>
<td
class=
"CP_ComTitle2"
colspan=
"
6
"
>
交通部分
</td>
<td
class=
"CP_ComTitle2"
colspan=
"
6
"
>
杂支部分
</td>
<td
class=
"CP_ComTitle2"
colspan=
"
5
"
>
交通部分
</td>
<td
class=
"CP_ComTitle2"
colspan=
"
7
"
>
杂支部分
</td>
</tr>
<tr>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
1
</td>
<td
class=
"CP_ComTitle2"
>
内陆段机位(每人)
</td>
<td
colspan=
"2"
>
<td>
<el-form-item>
<el-select
v-model=
'OtherPrice.InlandAirTicketCurrency'
class=
"w70"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
...
...
@@ -529,12 +547,13 @@
</td>
<td
colspan=
"2"
>
<el-form-item>
<el-input
type=
'text'
class=
"w
7
0"
v-model=
"OtherPrice.InlandAirTicketMoney"
<el-input
type=
'text'
class=
"w
10
0"
v-model=
"OtherPrice.InlandAirTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandAirTicketMoney'),getchange()"
></el-input>
</el-form-item>
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
1
</td>
<td
colspan=
"2"
class=
"CP_ComTitle2"
>
签证费(每人)
</td>
<td>
<el-form-item>
<el-select
v-model=
'OtherPrice.VisaMoneyCurrencyId'
class=
"w70"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
...
...
@@ -543,7 +562,8 @@
</el-option>
</el-select>
</el-form-item>
<td
colspan=
"2"
>
</td>
<td
colspan=
"3"
>
<el-form-item>
<el-input
type=
'text'
class=
"w100"
v-model=
"OtherPrice.VisaMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'VisaMoney'),getchange()"
></el-input>
...
...
@@ -553,7 +573,7 @@
<tr>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
2
</td>
<td
class=
"CP_ComTitle2"
>
内陆段船票(每人)
</td>
<td
colspan=
"2"
>
<td>
<el-form-item>
<el-select
v-model=
'OtherPrice.InlandShipTicketCurrency'
class=
"w70"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
...
...
@@ -565,7 +585,7 @@
</td>
<td
colspan=
"2"
>
<el-form-item>
<el-input
type=
'text'
class=
"w
7
0"
v-model=
"OtherPrice.InlandShipTicketMoney"
<el-input
type=
'text'
class=
"w
10
0"
v-model=
"OtherPrice.InlandShipTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandShipTicketMoney'),getchange()"
></el-input>
</el-form-item>
</td>
...
...
@@ -581,7 +601,7 @@
</el-select>
</el-form-item>
</td>
<td
colspan=
"
2
"
>
<td
colspan=
"
3
"
>
<el-form-item>
<el-input
type=
'text'
class=
"w100"
v-model=
"OtherPrice.SafeMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'SafeMoney'),getchange()"
></el-input>
...
...
@@ -591,7 +611,7 @@
<tr>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
3
</td>
<td
class=
"CP_ComTitle2"
>
内陆段火车票(每人)
</td>
<td
colspan=
"2"
>
<td>
<el-form-item>
<el-select
v-model=
'OtherPrice.InlandTrainTicketCurrency'
class=
"w70"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
...
...
@@ -603,7 +623,7 @@
</td>
<td
colspan=
"2"
>
<el-form-item>
<el-input
type=
'text'
class=
"w
7
0"
v-model=
"OtherPrice.InlandTrainTicketMoney"
<el-input
type=
'text'
class=
"w
10
0"
v-model=
"OtherPrice.InlandTrainTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandTrainTicketMoney'),getchange()"
></el-input>
</el-form-item>
</td>
...
...
@@ -619,7 +639,7 @@
</el-select>
</el-form-item>
</td>
<td
colspan=
"
2
"
>
<td
colspan=
"
3
"
>
<el-form-item>
<el-input
type=
'text'
class=
"w100"
v-model=
"OtherPrice.LeaderTripMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'LeaderTripMoney'),getchange()"
></el-input>
...
...
@@ -629,7 +649,7 @@
<tr>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
4
</td>
<td
class=
"CP_ComTitle2"
>
国际段机票(每人)
</td>
<td
colspan=
"2"
>
<td>
<el-form-item>
<el-select
v-model=
'OtherPrice.InternationalAirTicketCurrency'
class=
"w70"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
...
...
@@ -641,7 +661,7 @@
</td>
<td
colspan=
"2"
>
<el-form-item>
<el-input
type=
'text'
class=
"w
7
0"
v-model=
"OtherPrice.InternationalAirTicket"
<el-input
type=
'text'
class=
"w
10
0"
v-model=
"OtherPrice.InternationalAirTicket"
@
keyup
.
native=
"checkPrice(OtherPrice,'InternationalAirTicket'),getchange()"
></el-input>
</el-form-item>
</td>
...
...
@@ -657,7 +677,7 @@
</el-select>
</el-form-item>
</td>
<td
colspan=
"
2
"
>
<td
colspan=
"
3
"
>
<el-form-item>
<el-input
type=
'text'
class=
"w100"
v-model=
"OtherPrice.DriverGuideMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'DriverGuideMoney'),getchange()"
></el-input>
...
...
@@ -665,7 +685,7 @@
</td>
</tr>
<tr>
<td
colspan=
"
6
"
></td>
<td
colspan=
"
5
"
></td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
5
</td>
<td
colspan=
"2"
class=
"CP_ComTitle2"
>
导游小费
</td>
<td>
...
...
@@ -678,7 +698,7 @@
</el-select>
</el-form-item>
</td>
<td
colspan=
"
2
"
>
<td
colspan=
"
3
"
>
<el-form-item>
<el-input
type=
'text'
class=
"w100"
v-model=
"OtherPrice.GuideMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'GuideMoney'),getchange()"
></el-input>
...
...
@@ -689,13 +709,13 @@
<td
class=
"CP_ComTitle2"
>
外币小计
</td>
<td
colspan=
"
5
"
>
<td
colspan=
"
4
"
>
{{trafficXiaoJi(2)}}
</td>
<td
class=
"CP_ComTitle2"
>
外币小计
</td>
<td
colspan=
"
5
"
>
<td
colspan=
"
6
"
>
{{zazhiXiaoJi(2)}}
</td>
</tr>
...
...
@@ -703,54 +723,44 @@
<td
class=
"CP_ComTitle2"
>
人民币小计
</td>
<td
colspan=
"
5
"
>
<td
colspan=
"
4
"
>
{{ trafficXiaoJi(1) }}
</td>
<td
class=
"CP_ComTitle2"
>
人民币小计
</td>
<td
colspan=
"
5
"
>
<td
colspan=
"
6
"
>
{{zazhiXiaoJi(1)}}
</td>
</tr>
<tr>
<td
colspan=
"1
3
"
></td>
<td
colspan=
"1
2
"
></td>
</tr>
<tr>
<td
class=
"CP_ComTitle2"
colspan=
"4"
>
其他支出
</td>
<td
class=
"CP_ComTitle2"
colspan=
"3"
style=
"display:none;"
>
机票
</td>
<td
class=
"CP_ComTitle2"
colspan=
"4"
>
收入
</td>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
其他支出
</td>
<td
class=
"CP_ComTitle2"
colspan=
"5"
>
收入
</td>
<td
class=
"CP_ComTitle2"
colspan=
"5"
>
团负费
</td>
</tr>
<tr>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
摘要
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
金额(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
摘要
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
金额
<br
/>
(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
style=
"display:none;"
>
摘要
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
style=
"display:none;"
>
金额
<br
/>
(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
摘要
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
金额
<br
/>
(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"3"
>
金额(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
摘要
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"3"
>
金额
<br
/>
(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"3"
>
金额(人民币)
</td>
</tr>
<tr>
<td
style=
"white-space:nowrap; "
class=
"CP_ComTitle2"
colspan=
"
2"
>
销售提成1%
</td>
<td
colspan=
"2"
>
<td
class=
"CP_ComTitle
2"
>
销售提成1%
</td>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w120"
v-model=
"OtherPrice.SalesCommissionMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'SalesCommissionMoney'),getchange()"
></el-input>
</el-form-item>
</td>
<td
class=
"CP_ComTitle2"
colspan=
"2"
style=
"display:none;"
>
机票
</td>
<td
style=
"display:none;"
>
<el-form-item>
<el-input
type=
'text'
class=
"w70"
v-model=
"OtherPrice.AirTicketMoeny"
@
keyup
.
native=
"checkPrice(OtherPrice,'AirTicketMoeny'),getchange()"
></el-input>
</el-form-item>
</td>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
客人小费收入
</td>
<td
colspan=
"
2
"
>
<td
colspan=
"
3
"
>
<el-form-item>
<el-input
type=
'text'
class=
"w
7
0"
v-model=
"OtherPrice.TripMoney"
<el-input
type=
'text'
class=
"w
12
0"
v-model=
"OtherPrice.TripMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'TripMoney',true),getchange()"
></el-input>
</el-form-item>
</td>
...
...
@@ -763,46 +773,40 @@
</td>
</tr>
<tr>
<td
style=
"white-space:nowrap; "
class=
"CP_ComTitle2"
colspan=
"
2"
>
作业处提成
</td>
<td
colspan=
"2"
>
<td
class=
"CP_ComTitle
2"
>
作业处提成
</td>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w120"
v-model=
"OtherPrice.OfficeCommissionMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'OfficeCommissionMoney'),getchange()"
></el-input>
</el-form-item>
</td>
<td
colspan=
"3"
style=
"display:none;"
></td>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
导游人头费
</td>
<td
colspan=
"
2
"
>
<td
colspan=
"
3
"
>
<el-form-item>
<el-input
type=
'text'
class=
"w
7
0"
v-model=
"OtherPrice.GuidePeopleMoney"
<el-input
type=
'text'
class=
"w
12
0"
v-model=
"OtherPrice.GuidePeopleMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'GuidePeopleMoney'),getchange()"
></el-input>
</el-form-item>
</td>
<td
colspan=
"5"
></td>
</tr>
<tr>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
<td
class=
"CP_ComTitle2"
>
人民币小计
</td>
<td
colspan=
"2"
>
<td>
{{Number(OtherPrice.SalesCommissionMoney)+Number(OtherPrice.OfficeCommissionMoney)}}
</td>
<td
class=
"CP_ComTitle2"
style=
"display:none;"
>
人民币小计
</td>
<td
colspan=
"2"
style=
"display:none;"
>
{{Number(OtherPrice.AirTicketMoeny)}}
</td>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
人民币小计
</td>
<td
colspan=
"
2
"
>
<td
colspan=
"
3
"
>
{{Number(OtherPrice.TripMoney)+Number(OtherPrice.GuidePeopleMoney)}}
</td>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
人民币小计
</td>
<td
colspan=
"
5
"
>
<td
colspan=
"
3
"
>
{{Number(OtherPrice.KBMoney)}}
</td>
</tr>
...
...
@@ -820,11 +824,11 @@
<td
class=
"CP_ComTitle2 CostcomCenter"
>
人数
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
机票
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
门票
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
领队导游司机住宿
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
领队导游司机住宿
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
单房差
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
内陆段交通
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
杂费
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"
3
"
>
小计
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"
2
"
>
小计
</td>
</tr>
<tr>
<td></td>
...
...
@@ -840,7 +844,7 @@
@
keyup
.
native=
"checkPrice(OtherPrice,'TicketShareMoney'),getchange()"
></el-input>
</el-form-item>
</td>
<td>
<td
colspan=
"2"
>
<el-form-item>
<el-input
type=
'text'
class=
"w70"
v-model=
"OtherPrice.LeaderGuideDriveZhuSu"
@
keyup
.
native=
"checkPrice(OtherPrice,'LeaderGuideDriveZhuSu'),getchange()"
></el-input>
...
...
@@ -852,7 +856,6 @@
@
keyup
.
native=
"checkPrice(OtherPrice,'SingleRoomShareMoney'),getchange()"
></el-input>
</el-form-item>
</td>
<td
colspan=
"2"
>
<el-form-item>
<el-input
type=
'text'
class=
"w70"
v-model=
"OtherPrice.InlandTrafficShareMoney"
...
...
@@ -865,29 +868,28 @@
@
keyup
.
native=
"checkPrice(OtherPrice,'OtherShareMoney'),getchange()"
></el-input>
</el-form-item>
</td>
<td
colspan=
"
3
"
></td>
<td
colspan=
"
2
"
></td>
</tr>
<tr
v-for=
"item in CostNumberList"
:key=
"item.subCode"
>
<td>
{{item.PeopleNumber}}+1
</td>
<td>
{{item.AirTicketMoney}}
</td>
<td>
{{item.TicketMoney}}
</td>
<td>
{{item.LeaderGuideDriveZhuSu}}
</td>
<td
colspan=
"2"
>
{{item.LeaderGuideDriveZhuSu}}
</td>
<td>
{{item.SingleRoomMoney}}
</td>
<td
colspan=
"2"
>
{{item.InlandTrafficMoney}}
</td>
<td
colspan=
"2"
>
{{item.OtherMoney}}
</td>
<td
colspan=
"
3
"
>
{{item.SubtotalMoney}}
</td>
<td
colspan=
"
2
"
>
{{item.SubtotalMoney}}
</td>
</tr>
<tr>
<td
colspan=
"1
3
"
></td>
<td
colspan=
"1
2
"
></td>
</tr>
<tr>
<td
colspan=
"1
3
"
class=
"CP_ComTitle2"
>
成本统计(以下报价为每人费用)
<br
/>
<td
colspan=
"1
2
"
class=
"CP_ComTitle2"
>
成本统计(以下报价为每人费用)
<br
/>
计算规则: (房+餐+车+景点)*汇率+内陆段交通*汇率+杂支部分*汇率+其他资产+机票票+收入-团负费+领队分摊+地接报价*汇率
</td>
</tr>
<tr>
<td
class=
"CP_ComTitle2"
>
人数统计
</td>
<td
class=
"CP_ComTitle2"
>
人数统计
</td>
<td
class=
"CP_ComTitle2"
>
成本价
</td>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
销售价格
</td>
<td
colspan=
"8"
class=
"CP_ComTitle2"
>
备注
</td>
...
...
@@ -904,13 +906,13 @@
</td>
</tr>
<tr>
<td
colspan=
"1
3
"
></td>
<td
colspan=
"1
2
"
></td>
</tr>
<tr>
<td
class=
"CP_ComTitle2"
>
婴儿
</td>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
<td
class=
"CP_ComTitle2"
>
单地接
</td>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
...
...
@@ -919,64 +921,64 @@
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
儿童不占床
</td>
<td
class=
"CP_ComTitle2"
>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
儿童附加费
</td>
<td
class=
"CP_ComTitle2"
>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
老人附加费
</td>
<td
class=
"CP_ComTitle2"
>
签证费
</td>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
<td
class=
"CP_ComTitle2"
>
单房差
</td>
</tr>
<tr>
<td>
<el-input
placeholder=
""
v-model=
"teamPrice.BabyPrice"
@
keyup
.
native=
"checkInteger(teamPrice,'BabyPrice')"
class=
"w
10
0"
>
class=
"w
7
0"
>
</el-input>
</td>
<td
colspan=
"2"
>
<td>
<el-input
placeholder=
""
v-model=
"teamPrice.SingleDMCPrice"
@
keyup
.
native=
"checkPrice(teamPrice,'SingleDMCPrice')"
class=
"w
10
0"
>
@
keyup
.
native=
"checkPrice(teamPrice,'SingleDMCPrice')"
class=
"w
7
0"
>
</el-input>
</td>
<td
colspan=
"2"
>
<el-input
placeholder=
""
v-model=
"teamPrice.ChildNeedPrice"
@
keyup
.
native=
"checkInteger(teamPrice,'ChildNeedPrice')"
class=
"w
10
0"
>
@
keyup
.
native=
"checkInteger(teamPrice,'ChildNeedPrice')"
class=
"w
7
0"
>
</el-input>
</td>
<td
colspan=
"2"
>
<el-input
placeholder=
""
v-model=
"teamPrice.ChildNoNeedPrice"
@
keyup
.
native=
"checkInteger(teamPrice,'ChildNoNeedPrice')"
class=
"w
10
0"
>
@
keyup
.
native=
"checkInteger(teamPrice,'ChildNoNeedPrice')"
class=
"w
7
0"
>
</el-input>
</td>
<td>
<td
colspan=
"2"
>
<el-input
placeholder=
""
v-model=
"teamPrice.BabyChargePrice"
@
keyup
.
native=
"checkPrice(teamPrice,'BabyChargePrice')"
class=
"w
10
0"
>
@
keyup
.
native=
"checkPrice(teamPrice,'BabyChargePrice')"
class=
"w
7
0"
>
</el-input>
</td>
<td>
<td
colspan=
"2"
>
<el-input
placeholder=
""
v-model=
"teamPrice.OldManChargePrice"
@
keyup
.
native=
"checkInteger(teamPrice,'OldManChargePrice')"
class=
"w
10
0"
>
@
keyup
.
native=
"checkInteger(teamPrice,'OldManChargePrice')"
class=
"w
7
0"
>
</el-input>
</td>
<td>
<el-input
placeholder=
""
v-model=
"teamPrice.VisaPrice"
@
keyup
.
native=
"checkPrice(teamPrice,'VisaPrice')"
class=
"w
10
0"
>
class=
"w
7
0"
>
</el-input>
</td>
<td
colspan=
"2"
>
<td>
<el-input
placeholder=
""
v-model=
"teamPrice.SingleRoomPrice"
@
keyup
.
native=
"checkPrice(teamPrice,'SingleRoomPrice')"
class=
"w
10
0"
>
@
keyup
.
native=
"checkPrice(teamPrice,'SingleRoomPrice')"
class=
"w
7
0"
>
</el-input>
</td>
</tr>
<tr>
<td
class=
"CP_ComTitle2"
>
备注
</td>
<td
colspan=
"1
2
"
>
<td
colspan=
"1
1
"
>
<el-input
type=
"textarea"
v-model=
"OtherPrice.OtherRemark"
></el-input>
</td>
</tr>
...
...
@@ -1201,16 +1203,16 @@
//获取主成本价
getCostTotalMoney
()
{
let
totalMoney
=
this
.
getConvertMoney
(
this
.
OtherPrice
.
InlandAirTicketMoney
)
*
this
.
getCurrencyMoney
(
this
.
OtherPrice
.
InlandAirTicketCurrency
)
+
this
.
getConvertMoney
(
this
.
OtherPrice
.
InlandShipTicketMoney
)
*
this
.
getCurrencyMoney
(
this
.
OtherPrice
.
InlandShipTicketCurrency
)
+
this
.
getConvertMoney
(
this
.
OtherPrice
.
InlandTrainTicketMoney
)
*
this
.
getCurrencyMoney
(
this
.
OtherPrice
.
InlandTrainTicketCurrency
)
+
this
.
getConvertMoney
(
this
.
OtherPrice
.
InternationalAirTicket
)
*
this
.
getCurrencyMoney
(
this
.
OtherPrice
.
InternationalAirTicketCurrency
)
+
this
.
getConvertMoney
(
this
.
OtherPrice
.
DriverGuideMoney
)
*
this
.
getCurrencyMoney
(
this
.
OtherPrice
.
DriverGuideMoneyCurrencyId
)
+
this
.
getConvertMoney
(
this
.
OtherPrice
.
InlandAirTicketMoney
)
*
this
.
getCurrencyMoney
(
this
.
OtherPrice
.
InlandAirTicketCurrency
)
+
this
.
getConvertMoney
(
this
.
OtherPrice
.
InlandShipTicketMoney
)
*
this
.
getCurrencyMoney
(
this
.
OtherPrice
.
InlandShipTicketCurrency
)
+
this
.
getConvertMoney
(
this
.
OtherPrice
.
InlandTrainTicketMoney
)
*
this
.
getCurrencyMoney
(
this
.
OtherPrice
.
InlandTrainTicketCurrency
)
+
this
.
getConvertMoney
(
this
.
OtherPrice
.
InternationalAirTicket
)
*
this
.
getCurrencyMoney
(
this
.
OtherPrice
.
InternationalAirTicketCurrency
)
+
this
.
getConvertMoney
(
this
.
OtherPrice
.
DriverGuideMoney
)
*
this
.
getCurrencyMoney
(
this
.
OtherPrice
.
DriverGuideMoneyCurrencyId
)
+
this
.
getConvertMoney
(
this
.
OtherPrice
.
GuideMoney
)
*
this
.
getCurrencyMoney
(
this
.
OtherPrice
.
GuideMoneyCurrencyId
)
+
...
...
@@ -1441,13 +1443,13 @@
that
.
getConvertMoney
(
x
.
OtherMoney
)
+
that
.
getConvertMoney
(
x
.
LeaderGuideDriveZhuSu
)
).
toFixed
(
0
);
console
.
log
(
"SubtotalMoney"
,
x
.
SubtotalMoney
);
console
.
log
(
"SubtotalMoney"
,
x
.
SubtotalMoney
);
//房餐车景点价格
var
trip
=
Number
(
that
.
getLocalTotalMoney
(
x
.
PeopleNumber
));
console
.
log
(
"trip"
,
trip
);
console
.
log
(
"trip"
,
trip
);
//其他价格
var
otherPrice
=
Number
(
that
.
getCostTotalMoney
());
console
.
log
(
"otherPrice"
,
otherPrice
);
console
.
log
(
"otherPrice"
,
otherPrice
);
x
.
TotalMoney
=
(
trip
+
otherPrice
+
Number
(
that
.
getConvertMoney
(
x
.
SubtotalMoney
))
).
toFixed
(
0
);
...
...
@@ -1500,8 +1502,7 @@
this
.
getSubtotalMoney
();
this
.
getAllCurrency
();
},
created
()
{
},
created
()
{},
watch
:
{
postConfig
:
{
handler
:
function
(
val
,
oldVal
)
{
...
...
src/components/TravelManager/TravelNewQuotation/newQuotation.vue
View file @
66c67711
...
...
@@ -38,7 +38,8 @@
.BilldownLoadCommon
table
td
{
text-align
:
left
;
}
.newAopbdd
{
.newAopbdd
{
font-weight
:
bold
;
display
:
inline-block
;
width
:
25px
;
...
...
@@ -50,6 +51,7 @@
cursor
:
pointer
;
text-align
:
center
;
}
</
style
>
<
template
>
<div
class=
"flexOne quoTation"
>
...
...
@@ -106,7 +108,6 @@
<p
style=
"font-size:14px"
>
<el-tooltip
popper-class=
"max-w250"
effect=
"dark"
:content=
"item.Title"
placement=
"top-start"
>
<span>
线路名称:
{{
item
.
LineName
}}
</span>
</el-tooltip>
</p>
<span>
系列名称:
{{
item
.
LtName
}}
</span>
...
...
@@ -216,23 +217,38 @@
</div>
</div>
<div
style=
"width:134px;"
>
<span
class=
"openGroup newAopbdd"
@
click=
"goToOpenTravel(item)"
v-if=
"item.TravelState==3&&item.OpenState==2"
>
<span
class=
"openGroup newAopbdd"
@
click=
"goToOpenTravel(item)"
v-if=
"item.TravelState==3&&item.OpenState==2"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"开团"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-nav-hangzheng"
></i>
</el-tooltip>
</span>
<span
class=
"bianji newAopbdd"
@
click=
"goMakeQuo('QuotationNewPrice',item.ID)"
v-if=
"item.TravelState==1||item.TravelState==4||item.TravelState==5"
>
<span
v-if=
"userInfo.EmployeeId==615"
class=
"bianji newAopbdd"
@
click=
"goMakeQuo('QuotationNewPrice',item.ID)"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bianji-smal"
></i>
</el-tooltip>
</span>
<span
class=
"bianji newAopbdd"
@
click=
"goMakeQuo('QuotationNewPrice',item.ID)"
v-if=
"item.TravelState==1||item.TravelState==4||item.TravelState==5"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bianji-smal"
></i>
</el-tooltip>
</span>
<span
class=
"QT-delete newAopbdd"
@
click=
"delQuotation(item.ID)"
v-if=
"item.TravelState==1||item.TravelState==4||item.TravelState==5"
>
<span
class=
"QT-delete newAopbdd"
@
click=
"delQuotation(item.ID)"
v-if=
"item.TravelState==1||item.TravelState==4||item.TravelState==5"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-shanchu"
></i>
</el-tooltip>
</span>
<span
style=
"background:#85ce61; "
class=
"newAopbdd"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
@
click=
"goUrl('QuotationAduit',item.ID,1)"
class=
"iconfont icon-view"
></i>
">
</i>
</el-tooltip>
</span>
<span
style=
"background:#85ce61; "
class=
"newAopbdd"
@
click=
"showDownLoad(item)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bb-xiazai"
></i>
...
...
@@ -309,6 +325,7 @@
export
default
{
data
()
{
return
{
userInfo
:
{},
queryData
:
{
LineId
:
0
,
LineteamId
:
0
,
...
...
@@ -386,6 +403,23 @@
commonTeamInfo
:
commonTeamInfo
},
methods
:
{
goUrl
(
path
,
configId
,
qType
)
{
if
(
configId
>
0
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
configId
:
configId
,
Qtype
:
qType
,
blank
:
'y'
,
tab
:
'报价单查看'
}
});
}
else
{
this
.
$router
.
push
({
name
:
path
});
}
},
handleCurrentChange
(
val
)
{
this
.
queryData
.
pageIndex
=
val
;
this
.
getList
();
...
...
@@ -619,6 +653,7 @@
}
},
created
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
if
(
this
.
$route
.
query
.
hasOwnProperty
(
"cache"
))
{
if
(
this
.
$store
.
state
.
pageCondition
!=
null
)
{
this
.
queryData
=
this
.
$store
.
state
.
pageCondition
;
...
...
@@ -627,4 +662,5 @@
this
.
getList
();
}
};
</
script
>
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