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
d687216c
Commit
d687216c
authored
Feb 01, 2020
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
43d97e64
18a07a8c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
250 additions
and
183 deletions
+250
-183
CostNewPrice.vue
...ponents/TravelManager/TravelNewQuotation/CostNewPrice.vue
+189
-150
newQuotation.vue
...ponents/TravelManager/TravelNewQuotation/newQuotation.vue
+61
-33
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPrice.vue
View file @
d687216c
...
@@ -19,7 +19,11 @@
...
@@ -19,7 +19,11 @@
}
}
.CostNewPrice
.CP_ComTitle2
{
color
:
blue
;
font-weight
:
bold
;}
.CostNewPrice
.CP_ComTitle2
{
color
:
blue
;
font-weight
:
bold
;}
.CostNewTable
{
.CostNewTable
{
width
:
80%
;
width
:
74%
;
}
.CostNewTable
td
{
padding
:
5px
;
height
:
40px
;
}
}
.CostPriceDiv
{
.CostPriceDiv
{
float
:
left
;
float
:
left
;
...
@@ -29,6 +33,9 @@
...
@@ -29,6 +33,9 @@
.CP_ComTitle
{
.CP_ComTitle
{
color
:
blue
;
color
:
blue
;
}
}
.w505
{
width
:
505px
!important
;
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -37,9 +44,9 @@
...
@@ -37,9 +44,9 @@
<el-form>
<el-form>
<div
class=
"QuotationFirstDiv1"
>
<div
class=
"QuotationFirstDiv1"
>
<el-row
:gutter=
"40"
>
<el-row
:gutter=
"40"
>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
6
"
>
<el-form-item
label=
"线路"
label-width=
"100px"
>
<el-form-item
label=
"线路"
label-width=
"100px"
>
<el-select
v-model=
"postConfig.LineId"
:placeholder=
"$t('pub.pleaseSel')"
<el-select
v-model=
"postConfig.LineId"
:placeholder=
"$t('pub.pleaseSel')"
class=
"w300"
@
change=
"getLineTeamList(postConfig.LineId,1)"
filterable
>
@
change=
"getLineTeamList(postConfig.LineId,1)"
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 LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
>
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
>
...
@@ -47,33 +54,31 @@
...
@@ -47,33 +54,31 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
6
"
>
<el-form-item
label=
"系列"
label-width=
"100px"
>
<el-form-item
label=
"系列"
label-width=
"100px"
>
<el-select
v-model=
"postConfig.LineteamId"
:placeholder=
"$t('pub.pleaseSel')"
filterable
>
<el-select
v-model=
"postConfig.LineteamId"
:placeholder=
"$t('pub.pleaseSel')"
filterable
class=
"w300"
>
<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>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-col
:span=
"6"
>
<el-row>
<el-form-item
label=
"客户名称"
label-width=
"100px"
>
<el-col
:span=
"24"
>
<el-input
v-model=
"postConfig.CustomerName"
type=
"text"
class=
"w300"
placeholder=
"客户名称"
maxlength=
"200"
></el-input>
<el-form-item
label=
"团队标题"
label-width=
"100px"
>
<el-input
v-model=
"postConfig.Title"
type=
"textarea"
style=
"width:91%"
:autosize=
"
{minRows: 1, maxRows: 2 }" resize="none" placeholder="请填写团队标题" maxlength="200">
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"40"
>
<el-row
:gutter=
"40"
>
<el-col
:span=
"12"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"客户名称"
label-width=
"100px"
>
<el-form-item
label=
"团队标题"
label-width=
"100px"
>
<el-input
v-model=
"postConfig.CustomerName"
type=
"text"
style=
"width:385px"
placeholder=
"客户名称"
maxlength=
"200"
></el-input>
<el-input
v-model=
"postConfig.Title"
type=
"textarea"
class=
"w300"
:autosize=
"
{minRows: 1, maxRows: 2 }" resize="none" placeholder="请填写团队标题" maxlength="200">
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
6
"
>
<el-form-item
label=
"行程天数"
label-width=
"100px"
>
<el-form-item
label=
"行程天数"
label-width=
"100px"
>
<el-input
class=
"w
12
0 LowNum"
v-model=
"postConfig.DayNum"
<el-input
class=
"w
30
0 LowNum"
v-model=
"postConfig.DayNum"
@
keyup
.
native=
"checkInteger(postConfig,'DayNum');createDayTripPrice()"
maxlength=
"2"
>
@
keyup
.
native=
"checkInteger(postConfig,'DayNum');createDayTripPrice()"
maxlength=
"2"
>
<template
slot=
"append"
>
天
</
template
>
<template
slot=
"append"
>
天
</
template
>
</el-input>
</el-input>
...
@@ -185,11 +190,11 @@
...
@@ -185,11 +190,11 @@
</td>
</td>
</tr>
</tr>
</table>
</table>
<br/>
<table
class=
"CostPriceTable CostNewTable"
>
<table
class=
"CostPriceTable CostNewTable"
>
<tr>
<tr>
<th
rowspan=
"2"
width=
'
5
0'
>
Day
</th>
<th
rowspan=
"2"
width=
'
13
0'
>
Day
</th>
<th
rowspan=
"2"
width=
'200'
>
行程大点
</th>
<th
rowspan=
"2"
width=
'200'
>
行程大点
</th>
<th
rowspan=
"2"
width=
"100"
>
币种
</th>
<th
rowspan=
"2"
width=
"100"
>
币种
</th>
<th
rowspan=
"2"
width=
'100'
>
酒店
</th>
<th
rowspan=
"2"
width=
'100'
>
酒店
</th>
...
@@ -198,9 +203,9 @@
...
@@ -198,9 +203,9 @@
<th
colspan=
"3"
width=
'100'
>
餐
</th>
<th
colspan=
"3"
width=
'100'
>
餐
</th>
</tr>
</tr>
<tr>
<tr>
<th
width=
"
9
0"
>
早
</th>
<th
width=
"
12
0"
>
早
</th>
<th
width=
"
9
0"
>
中
</th>
<th
width=
"
10
0"
>
中
</th>
<th
width=
"
9
0"
>
晚
</th>
<th
width=
"
10
0"
>
晚
</th>
</tr>
</tr>
<tr
v-for=
"subItem in dayCostPrice"
:key=
"subItem.subCode"
>
<tr
v-for=
"subItem in dayCostPrice"
:key=
"subItem.subCode"
>
<td
align=
"center"
>
{{subItem.DayNum}}
</td>
<td
align=
"center"
>
{{subItem.DayNum}}
</td>
...
@@ -244,22 +249,17 @@
...
@@ -244,22 +249,17 @@
@
keyup
.
native=
"checkPrice(subItem,'DinnerCostPrice'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(subItem,'DinnerCostPrice'),getchange()"
></el-input>
</td>
</td>
</tr>
</tr>
</table>
<table
class=
"CostPriceTable CostNewTable"
>
<tr>
<tr>
<td
class=
"CP_ComTitle2"
colspan=
"4"
>
<td
colspan=
"9"
></td>
内陆段交通部分
</td>
<td
class=
"CP_ComTitle2"
colspan=
"3"
>
杂支部分
</td>
</tr>
</tr>
<tr>
<tr>
<td
width=
'50'
>
1
</td>
<td
class=
"CP_ComTitle2"
colspan=
"5"
>
内陆段交通部分
</td>
<td
width=
'200'
>
内陆段机位(每人)
</td>
<td
class=
"CP_ComTitle2"
colspan=
"4"
>
杂支部分
</td>
<td
width=
'200'
>
</tr>
<tr>
<td>
1
</td>
<td>
内陆段机位(每人)
</td>
<td>
<el-form-item>
<el-form-item>
<el-select
v-model=
'OtherPrice.InlandAirTicketCurrency'
>
<el-select
v-model=
'OtherPrice.InlandAirTicketCurrency'
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
...
@@ -269,15 +269,15 @@
...
@@ -269,15 +269,15 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</td>
</td>
<td>
<td
colspan=
"2"
>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.InlandAirTicketMoney"
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.InlandAirTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandAirTicketMoney'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandAirTicketMoney'),getchange()"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
<td
width=
'50'
>
1
</td>
<td
>
1
</td>
<td
width=
'200'
>
签证费(每人)
</td>
<td>
签证费(每人)
</td>
<td
colspan=
'3'
>
<td
colspan=
"2"
>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.VisaMoney"
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.VisaMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'VisaMoney'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'VisaMoney'),getchange()"
></el-input>
...
@@ -286,7 +286,7 @@
...
@@ -286,7 +286,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
2
</td>
<td>
2
</td>
<td>
内陆段船票(每人
</td>
<td>
内陆段船票(每人
)
</td>
<td>
<td>
<el-form-item>
<el-form-item>
<el-select
v-model=
'OtherPrice.InlandShipTicketCurrency'
>
<el-select
v-model=
'OtherPrice.InlandShipTicketCurrency'
>
...
@@ -297,7 +297,7 @@
...
@@ -297,7 +297,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</td>
</td>
<td>
<td
colspan=
"2"
>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.InlandShipTicketMoney"
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.InlandShipTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandShipTicketMoney'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandShipTicketMoney'),getchange()"
></el-input>
...
@@ -305,7 +305,7 @@
...
@@ -305,7 +305,7 @@
</td>
</td>
<td>
2
</td>
<td>
2
</td>
<td>
保险费(每人)
</td>
<td>
保险费(每人)
</td>
<td>
<td
colspan=
"2"
>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.SafeMoney"
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.SafeMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'SafeMoney'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'SafeMoney'),getchange()"
></el-input>
...
@@ -325,7 +325,7 @@
...
@@ -325,7 +325,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</td>
</td>
<td>
<td
colspan=
"2"
>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.InlandTrainTicketMoney"
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.InlandTrainTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandTrainTicketMoney'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandTrainTicketMoney'),getchange()"
></el-input>
...
@@ -333,7 +333,7 @@
...
@@ -333,7 +333,7 @@
</td>
</td>
<td>
3
</td>
<td>
3
</td>
<td>
领队小费
</td>
<td>
领队小费
</td>
<td>
<td
colspan=
"2"
>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.LeaderTripMoney"
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.LeaderTripMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'LeaderTripMoney'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'LeaderTripMoney'),getchange()"
></el-input>
...
@@ -341,88 +341,74 @@
...
@@ -341,88 +341,74 @@
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<td
colspan=
"5"
></td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
4
</td>
<td>
4
</td>
<td>
司机、导游小费
</td>
<td>
司机、导游小费
</td>
<td>
<td
colspan=
"2"
>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.DriverGuideMoney"
<el-input
type=
'text'
class=
"w180"
v-model=
"OtherPrice.DriverGuideMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'DriverGuideMoney'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'DriverGuideMoney'),getchange()"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
</tr>
</tr>
</table>
<div
class=
"clearfix"
>
<div
class=
"CostPriceDiv"
>
<div
class=
"CP_ComTitle"
>
其他支出
</div>
<table
class=
"CostPriceTable"
>
<tr>
<tr>
<td><span
class=
"CP_ComTitle"
>
摘要
</span></td>
<td
colspan=
"9"
></td>
<td><span
class=
"CP_ComTitle"
>
金额(人民币)
</span></td>
</tr>
</tr>
<tr>
<tr>
<td
width=
'150'
>
销售提成1%
</td>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
其他支出
</td>
<td
colspan=
'3'
>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
机票
</td>
<el-form-item>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
收入
</td>
<el-input
type=
'text'
class=
"w160"
v-model=
"OtherPrice.SalesCommissionMoney"
<td
class=
"CP_ComTitle2"
colspan=
"3"
>
团负费
</td>
@
keyup
.
native=
"checkPrice(OtherPrice,'SalesCommissionMoney'),getchange()"
></el-input>
</el-form-item>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
作业处提成
</td>
<td
class=
"CP_ComTitle2"
>
摘要
</td>
<td
class=
"CP_ComTitle2"
>
金额(人民币)
</td>
<td
class=
"CP_ComTitle2"
>
摘要
</td>
<td
class=
"CP_ComTitle2"
>
金额(人民币)
</td>
<td
class=
"CP_ComTitle2"
>
摘要
</td>
<td
class=
"CP_ComTitle2"
>
金额(人民币)
</td>
<td
class=
"CP_ComTitle2"
>
摘要
</td>
<td
class=
"CP_ComTitle2"
colspan=
"2"
>
金额(人民币)
</td>
</tr>
<tr>
<td>
销售提成1%
</td>
<td>
<td>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w160"
v-model=
"OtherPrice.Office
CommissionMoney"
<el-input
type=
'text'
class=
"w160"
v-model=
"OtherPrice.Sales
CommissionMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'Office
CommissionMoney'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'Sales
CommissionMoney'),getchange()"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
</tr>
<td>
机票
</td>
</table>
</div>
<div
class=
"CostPriceDiv"
>
<div
class=
"CP_ComTitle"
>
机票
</div>
<table
class=
"CostPriceTable"
>
<tr>
<td><span
class=
"CP_ComTitle"
>
摘要
</span></td>
<td><span
class=
"CP_ComTitle"
>
金额(人民币)
</span></td>
</tr>
<tr>
<td
width=
'150'
>
机票
</td>
<td>
<td>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w160"
v-model=
"OtherPrice.AirTicketMoeny"
<el-input
type=
'text'
class=
"w160"
v-model=
"OtherPrice.AirTicketMoeny"
@
keyup
.
native=
"checkPrice(OtherPrice,'AirTicketMoeny'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'AirTicketMoeny'),getchange()"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
</tr>
<td>
客人小费收入
</td>
</table>
<td>
</div>
<div
class=
"CostPriceDiv"
>
<div
class=
"CP_ComTitle"
>
收入
</div>
<table
class=
"CostPriceTable"
>
<tr>
<td><span
class=
"CP_ComTitle"
>
摘要
</span></td>
<td><span
class=
"CP_ComTitle"
>
金额(人民币)
</span></td>
</tr>
<tr>
<td
width=
'150'
>
客人小费收入
</td>
<td
colspan=
'3'
>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w160"
v-model=
"OtherPrice.TripMoney"
<el-input
type=
'text'
class=
"w160"
v-model=
"OtherPrice.TripMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'TripMoney',true),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'TripMoney',true),getchange()"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
<td>
KB
</td>
<td
colspan=
"2"
>
<el-form-item>
<el-input
type=
'text'
class=
"w160"
v-model=
"OtherPrice.KBMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'KBMoney',true)"
></el-input>
</el-form-item>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
作业处提成
</td>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w160"
v-model=
"OtherPrice.OfficeCommissionMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'OfficeCommissionMoney'),getchange()"
></el-input>
</el-form-item>
</td>
<td
colspan=
"2"
></td>
<td>
导游人头费
</td>
<td>
导游人头费
</td>
<td>
<td>
<el-form-item>
<el-form-item>
...
@@ -430,30 +416,82 @@
...
@@ -430,30 +416,82 @@
@
keyup
.
native=
"checkPrice(OtherPrice,'GuidePeopleMoney'),getchange()"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'GuidePeopleMoney'),getchange()"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
<td
colspan=
"3"
></td>
</tr>
<tr>
<td
colspan=
"9"
></td>
</tr>
</tr>
</table>
</div>
<div
class=
"CostPriceDiv"
>
<div
class=
"CP_ComTitle"
>
团负费
</div>
<table
class=
"CostPriceTable"
>
<tr>
<tr>
<td><span
class=
"CP_ComTitle"
>
摘要
</span></td>
<td
colspan=
"9"
class=
"CP_ComTitle2"
>
领队分摊部分
</td>
<td><span
class=
"CP_ComTitle"
>
金额(人民币)
</span></td>
</tr>
</tr>
<tr>
<tr>
<td
width=
'150'
>
KB
</td>
<td>
人数
</td>
<td>
机票
</td>
<td>
门票
</td>
<td>
单房差
</td>
<td>
内陆段交通
</td>
<td>
杂费
</td>
<td
colspan=
"3"
>
小计
</td>
</tr>
<tr>
<td></td>
<td>
<td>
<el-form-item>
<el-form-item>
<el-input
type=
'text'
class=
"w160"
v-model=
"OtherPrice.KB
Money"
<el-input
type=
'text'
class=
"w120"
v-model=
"OtherPrice.AirTicketShare
Money"
@
keyup
.
native=
"checkPrice(OtherPrice,'KBMoney',true
)"
></el-input>
@
keyup
.
native=
"checkPrice(OtherPrice,'AirTicketShareMoney'),getchange(
)"
></el-input>
</el-form-item>
</el-form-item>
</td>
</td>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w120"
v-model=
"OtherPrice.TicketShareMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'TicketShareMoney'),getchange()"
></el-input>
</el-form-item>
</td>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w120"
v-model=
"OtherPrice.SingleRoomShareMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'SingleRoomShareMoney'),getchange()"
></el-input>
</el-form-item>
</td>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w120"
v-model=
"OtherPrice.InlandTrafficShareMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandTrafficShareMoney'),getchange()"
></el-input>
</el-form-item>
</td>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w120"
v-model=
"OtherPrice.OtherShareMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'OtherShareMoney'),getchange()"
></el-input>
</el-form-item>
</td>
<td
colspan=
"3"
></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.SingleRoomMoney}}
</td>
<td>
{{item.InlandTrafficMoney}}
</td>
<td>
{{item.OtherMoney}}
</td>
<td
colspan=
"3"
>
{{item.SubtotalMoney}}
</td>
</tr>
<tr>
<td
colspan=
"9"
></td>
</tr>
<tr>
<td
colspan=
"9"
class=
"CP_ComTitle2"
>
成本统计
</td>
</tr>
<tr>
<td>
人数统计
</td>
<td
colspan=
"8"
></td>
</tr>
<tr
v-for=
"item in CostNumberList"
:key=
"item.subCode"
>
<td>
{{item.PeopleNumber}}+1
</td>
<td
colspan=
"8"
>
{{item.TotalMoney}}
</td>
</tr>
</tr>
</table>
</table>
</div>
<!-- <div class="CP_ComTitle">领队分摊部分</div>
</div>
<div
class=
"CP_ComTitle"
>
领队分摊部分
</div>
<table class="CP_comTable">
<table class="CP_comTable">
<tr>
<tr>
<td width='200'>人数</td>
<td width='200'>人数</td>
...
@@ -529,9 +567,9 @@
...
@@ -529,9 +567,9 @@
{{item.SubtotalMoney}}
{{item.SubtotalMoney}}
</td>
</td>
</tr>
</tr>
</table>
</table>
-->
<div
class=
"Cost_Line"
></div>
<div
class=
"Cost_Line"
></div>
<div
class=
"CP_ComTitle Cost_Title"
>
成本统计
</div>
<
!-- <
div class="CP_ComTitle Cost_Title">成本统计</div>
<table class="CostPriceTable">
<table class="CostPriceTable">
<tr>
<tr>
<td width='250' rowspan="2" class="CP_comBack">
<td width='250' rowspan="2" class="CP_comBack">
...
@@ -546,7 +584,7 @@
...
@@ -546,7 +584,7 @@
{{item.TotalMoney}}
{{item.TotalMoney}}
</td>
</td>
</tr>
</tr>
</table>
</table>
-->
</el-form>
</el-form>
</div>
</div>
</div>
</div>
...
@@ -781,6 +819,7 @@
...
@@ -781,6 +819,7 @@
var
CostNumberObj
=
this
.
$tripUtils
.
CostNumber
();
var
CostNumberObj
=
this
.
$tripUtils
.
CostNumber
();
CostNumberObj
.
PeopleNumber
=
PeopleNumber
;
CostNumberObj
.
PeopleNumber
=
PeopleNumber
;
this
.
CostNumberList
.
push
(
CostNumberObj
);
this
.
CostNumberList
.
push
(
CostNumberObj
);
console
.
log
(
this
.
CostNumberList
,
'costnumerblist'
);
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
;
...
...
src/components/TravelManager/TravelNewQuotation/newQuotation.vue
View file @
d687216c
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
<li>
<li>
<span>
<span>
<em>
所属线路
</em>
<em>
所属线路
</em>
<el-select
v-model=
"queryData.LineId"
class=
'w200'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList()"
>
<el-select
v-model=
"queryData.LineId"
class=
'w200'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList()"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'noLimit'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'noLimit'
></el-option>
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
>
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
>
</el-option>
</el-option>
...
@@ -46,9 +47,14 @@
...
@@ -46,9 +47,14 @@
<div
class=
"commonContent"
v-loading=
"loading"
>
<div
class=
"commonContent"
v-loading=
"loading"
>
<ul
class=
"_content"
>
<ul
class=
"_content"
>
<li
v-for=
"item in dataList"
:key=
"item.subCode"
:data-id=
"item.ID"
>
<li
v-for=
"item in dataList"
:key=
"item.subCode"
:data-id=
"item.ID"
>
<div
class=
"_left"
style=
"padding:0;flex:0.3"
>
<div
class=
"QT_CodeNum"
>
{{
$t
(
'hotel.hotel_SerialNumber'
)
}}
:
{{
item
.
ID
}}
</div>
</div>
<div
class=
"_left"
>
<div
class=
"_left"
>
<div>
<div
style=
"padding-left:10px"
>
<p
class=
"quoListName"
>
<p
style=
"font-size:14px"
>
<el-tooltip
popper-class=
"max-w250"
effect=
"dark"
:content=
"item.Title"
placement=
"top-start"
>
<el-tooltip
popper-class=
"max-w250"
effect=
"dark"
:content=
"item.Title"
placement=
"top-start"
>
<span>
线路名称:
{{
item
.
LineName
}}
</span>
<span>
线路名称:
{{
item
.
LineName
}}
</span>
...
@@ -57,9 +63,9 @@
...
@@ -57,9 +63,9 @@
<span>
系列名称:
{{
item
.
LtName
}}
</span>
<span>
系列名称:
{{
item
.
LtName
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"_left"
>
<div
class=
"_left"
style=
"padding-left:10px"
>
<div>
<div>
<p
class=
"quoListName"
>
<p
style=
"font-size:14px"
>
<el-tooltip
popper-class=
"max-w250"
effect=
"dark"
:content=
"item.Title"
placement=
"top-start"
>
<el-tooltip
popper-class=
"max-w250"
effect=
"dark"
:content=
"item.Title"
placement=
"top-start"
>
<span>
{{
item
.
Title
}}
</span>
<span>
{{
item
.
Title
}}
</span>
...
@@ -69,7 +75,8 @@
...
@@ -69,7 +75,8 @@
</div>
</div>
</div>
</div>
<div
class=
"_cent"
>
<div
class=
"_cent"
>
<div
class=
"stayDays"
>
{{
item
.
DayNum
}}{{
$t
(
'hotel.hotel_day'
)
}}{{
item
.
NightNum
}}{{
$t
(
'Operation.Op_night'
)
}}
</div>
<div
style=
"margin: 0 13px 0 10px;"
class=
"stayDays"
>
{{
item
.
DayNum
}}{{
$t
(
'hotel.hotel_day'
)
}}{{
item
.
NightNum
}}{{
$t
(
'Operation.Op_night'
)
}}
</div>
<div
class=
""
>
<div
class=
""
>
{{
$t
(
'op.SalesPrice'
)
}}
{{
$t
(
'op.SalesPrice'
)
}}
<el-popover
popper-class=
"salsSetPrice"
trigger=
"click"
>
<el-popover
popper-class=
"salsSetPrice"
trigger=
"click"
>
...
@@ -82,7 +89,8 @@
...
@@ -82,7 +89,8 @@
<span
class=
"pRightPrice"
>
销售价格:¥
{{
salesItem
.
B2BPrice
}}
</span>
<span
class=
"pRightPrice"
>
销售价格:¥
{{
salesItem
.
B2BPrice
}}
</span>
</div>
</div>
<div
class=
"priceDivCon"
>
<div
class=
"priceDivCon"
>
<span
class=
"pLeftPrice"
>
{{
$t
(
'Operation.Op_directMember'
)
}}
:¥
{{
salesItem
.
B2CMemberPrice
}}
</span>
<span
class=
"pLeftPrice"
>
{{
$t
(
'Operation.Op_directMember'
)
}}
:¥
{{
salesItem
.
B2CMemberPrice
}}
</span>
<span
class=
"pRightPrice"
>
{{
$t
(
'Operation.Op_direct'
)
}}
:¥
{{
salesItem
.
B2CPrice
}}
</span>
<span
class=
"pRightPrice"
>
{{
$t
(
'Operation.Op_direct'
)
}}
:¥
{{
salesItem
.
B2CPrice
}}
</span>
</div>
</div>
</div>
</div>
...
@@ -107,7 +115,8 @@
...
@@ -107,7 +115,8 @@
<div
class=
"priceList"
>
<div
class=
"priceList"
>
<div>
<div>
<span
class=
"pLeftPrice"
>
{{
$t
(
'active.cl_qianzheng'
)
}}
:¥
{{
salesItem
.
VisaPrice
}}
</span>
<span
class=
"pLeftPrice"
>
{{
$t
(
'active.cl_qianzheng'
)
}}
:¥
{{
salesItem
.
VisaPrice
}}
</span>
<span
class=
"pRightPrice"
>
{{
$t
(
'Operation.Op_singleRoomcha'
)
}}
:¥
{{
salesItem
.
SingleRoomPrice
}}
</span>
<span
class=
"pRightPrice"
>
{{
$t
(
'Operation.Op_singleRoomcha'
)
}}
:¥
{{
salesItem
.
SingleRoomPrice
}}
</span>
</div>
</div>
<div
class=
"priceDivCon"
>
<div
class=
"priceDivCon"
>
<span
class=
"pLeftPrice"
>
{{
$t
(
'Operation.Op_zafei'
)
}}
:¥
{{
salesItem
.
OtherPrice
}}
</span>
<span
class=
"pLeftPrice"
>
{{
$t
(
'Operation.Op_zafei'
)
}}
:¥
{{
salesItem
.
OtherPrice
}}
</span>
...
@@ -128,12 +137,11 @@
...
@@ -128,12 +137,11 @@
</div>
</div>
</div>
</div>
</div>
</div>
<span
slot=
"reference"
class=
"diPrice"
@
click=
"getSalsPrice(item.ID)"
>
{{
item
.
SalesPrice
}}
<span
class=
"qi"
>
{{
$t
(
'op.Qi'
)
}}
</span></span>
<span
slot=
"reference"
class=
"diPrice"
@
click=
"getSalsPrice(item.ID)"
>
{{
item
.
SalesPrice
}}
<span
class=
"qi"
>
{{
$t
(
'op.Qi'
)
}}
</span></span>
</el-popover>
</el-popover>
</div>
</div>
<div
class=
"QT_CodeNum"
>
{{
$t
(
'hotel.hotel_SerialNumber'
)
}}
:
{{
item
.
ID
}}
</div>
</div>
</div>
<div
class=
"_right"
>
<div
class=
"_right"
>
<div
class=
"AuditUserInfo clearfix aa"
>
<div
class=
"AuditUserInfo clearfix aa"
>
...
@@ -147,18 +155,28 @@
...
@@ -147,18 +155,28 @@
</div>
</div>
<div>
<div>
<span
class=
"openGroup opbd"
@
click=
"goToOpenTravel('TravelManager6',item.ID,item.OpenState)"
>
<span
class=
"openGroup opbd"
@
click=
"goToOpenTravel('TravelManager6',item.ID,item.OpenState)"
>
{{
$t
(
'op.Kai'
)
}}
<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>
<span
class=
"bianji opbd"
@
click=
"goUrl('QuotationNewPrice',item.ID,false)"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
popper-class=
"max-w250"
>
<span
class=
"bianji opbd"
@
click=
"goUrl('QuotationNewPrice',item.ID,false)"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bianji-smal"
></i>
<i
class=
"iconfont icon-bianji-smal"
></i>
</el-tooltip>
</el-tooltip>
</span>
</span>
<span
class=
"QT-delete opbd"
@
click=
"delQuotation(item.ID)"
>
<span
class=
"QT-delete opbd"
@
click=
"delQuotation(item.ID)"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
popper-class=
"max-w250"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-shanchu"
></i>
<i
class=
"iconfont icon-shanchu"
></i>
</el-tooltip>
</el-tooltip>
</span>
</span>
<span
style=
"background:#85ce61;display:none;"
class=
"opbd"
@
click=
"DownLoadFile(item.ID)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bb-xiazai"
></i>
</el-tooltip>
</span>
</div>
</div>
</div>
</div>
</li>
</li>
...
@@ -167,8 +185,8 @@
...
@@ -167,8 +185,8 @@
{{
$t
(
'system.content_noData'
)
}}
{{
$t
(
'system.content_noData'
)
}}
</div>
</div>
</div>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"queryData.currentPage"
layout=
"total,prev, pager, next, jumper"
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"queryData.currentPage"
:page-size=
"queryData.pageSize"
:total=
"queryData.total"
>
layout=
"total,prev, pager, next, jumper"
:page-size=
"queryData.pageSize"
:total=
"queryData.total"
>
</el-pagination>
</el-pagination>
<el-dialog
custom-class=
'ComTeamPlan_info_box'
:title=
"tripTitle"
:visible
.
sync=
"outerVisible"
center
>
<el-dialog
custom-class=
'ComTeamPlan_info_box'
:title=
"tripTitle"
:visible
.
sync=
"outerVisible"
center
>
<commonTeamInfo
ref=
"comDialog"
></commonTeamInfo>
<commonTeamInfo
ref=
"comDialog"
></commonTeamInfo>
...
@@ -414,8 +432,8 @@
...
@@ -414,8 +432,8 @@
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
path
,
path
:
path
,
query
:
{
query
:
{
blank
:
'y'
,
blank
:
'y'
,
tab
:
'报价单'
tab
:
'报价单'
}
}
});
});
},
},
...
@@ -424,8 +442,8 @@
...
@@ -424,8 +442,8 @@
path
:
path
,
path
:
path
,
query
:
{
query
:
{
configId
:
0
,
configId
:
0
,
blank
:
'y'
,
blank
:
'y'
,
tab
:
'报价单'
tab
:
'报价单'
}
}
});
});
},
},
...
@@ -447,7 +465,7 @@
...
@@ -447,7 +465,7 @@
query
:
{
query
:
{
configId
:
configId
,
configId
:
configId
,
openState
:
openState
,
openState
:
openState
,
isOffer
:
1
isOffer
:
1
}
}
});
});
}
else
{
}
else
{
...
@@ -455,9 +473,19 @@
...
@@ -455,9 +473,19 @@
name
:
path
name
:
path
});
});
}
}
}
},
},
//报价单下载
DownLoadFile
(
configId
)
{
this
.
loading
=
true
;
var
newMsg
=
{
ID
:
configId
};
var
fileName
=
"成本下载"
+
this
.
DataObj
.
TeamNum
+
".xls"
;
this
.
GetLocalFile
(
"quotation_get_DownLoadQuotation"
,
newMsg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
});
},
},
mounted
()
{
mounted
()
{
this
.
getLineList
();
this
.
getLineList
();
this
.
getList
();
this
.
getList
();
...
...
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