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
0a5c2161
Commit
0a5c2161
authored
Feb 02, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
4998f66d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
127 deletions
+33
-127
CostNewPrice.vue
...ponents/TravelManager/TravelNewQuotation/CostNewPrice.vue
+33
-127
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPrice.vue
View file @
0a5c2161
...
...
@@ -49,6 +49,9 @@
text-align
:
right
;
padding-right
:
10px
;
}
.CostNewTable
.el-input__inner
{
padding
:
0
5px
;
}
</
style
>
<
template
>
...
...
@@ -159,7 +162,7 @@
</span>
</td>
<td
:colspan=
"9-2-CostCurrencyList.length+1"
>
<el-form-item
class=
"w
10
0"
>
<el-form-item
class=
"w
8
0"
>
<el-select
v-model=
'currencyType'
@
change=
"getRate(currencyType),addCurrency()"
>
<el-option
v-for=
"item in currencyTypeArr"
:label=
'item.Name'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
...
...
@@ -170,12 +173,12 @@
<tr>
<td
class=
"CP_ComTitle2 CostcomCenter"
>
汇率
</td>
<td
v-for=
'item in CostCurrencyList'
>
<el-input
class=
"w
8
0"
v-model=
'item.ExchangeRate'
<el-input
class=
"w
6
0"
v-model=
'item.ExchangeRate'
@
keyup
.
native=
"checkRate(item,'ExchangeRate'),getchange()"
>
</el-input>
</td>
<td
:colspan=
"9-2-CostCurrencyList.length+1"
>
<el-input
class=
"w
10
0"
v-model=
'queryMsg.RateInput'
<el-input
class=
"w
8
0"
v-model=
'queryMsg.RateInput'
@
keyup
.
native=
"checkRate(queryMsg,'RateInput'),getchange()"
>
</el-input>
</td>
...
...
@@ -183,7 +186,7 @@
<tr>
<td
width=
"170"
class=
"CP_ComTitle2 CostcomCenter"
>
人数
</td>
<td
v-for=
"(item,index) in CostNumberList"
:key=
'item.subCode'
>
<el-input
class=
"w
79
"
v-model=
'item.PeopleNumber'
@
keyup
.
native=
"checkInteger(item,'PeopleNumber')"
>
<el-input
class=
"w
50
"
v-model=
'item.PeopleNumber'
@
keyup
.
native=
"checkInteger(item,'PeopleNumber')"
>
</el-input>
<span>
<i
class=
"iconfont icon-quxiao"
@
click=
"DeletePNumber(index),getchange()"
></i>
...
...
@@ -191,7 +194,7 @@
</td>
<td
width=
"150"
:colspan=
"9-2-CostNumberList.length+1"
>
<el-form-item>
<el-input
class=
"w
79
"
v-model=
'queryMsg.PeopleNumber'
<el-input
class=
"w
50
"
v-model=
'queryMsg.PeopleNumber'
@
keyup
.
native=
"checkInteger(queryMsg,'PeopleNumber'),getchange()"
></el-input>
<i
class=
"iconfont icon-img_haha"
style=
"cursor:pointer;"
@
click=
"addPeoNunber"
></i>
</el-form-item>
...
...
@@ -203,7 +206,7 @@
</td>
<td
v-if=
"checkExists(item.CurrencyId)"
v-for=
"childItem in getCurrencyNumberList(item.CurrencyId)"
>
<el-form-item>
<el-input
class=
"w
8
0"
v-model=
'childItem.Money'
<el-input
class=
"w
6
0"
v-model=
'childItem.Money'
@
keyup
.
native=
"checkPrice(childItem,'Money',true),getchange()"
></el-input>
</el-form-item>
</td>
...
...
@@ -233,11 +236,11 @@
<div
style=
"width:100px;"
>
{{subItem.DayNum}}
</div>
</td>
<td>
<el-input
type=
"textarea"
resize=
"none"
v-model=
"subItem.Title"
></el-input>
<el-input
type=
"textarea"
resize=
"none"
class=
"w200"
v-model=
"subItem.Title"
></el-input>
</td>
<td>
<el-form-item>
<el-select
v-model=
'subItem.CurrencyId'
class=
"w
10
0"
>
<el-select
v-model=
'subItem.CurrencyId'
class=
"w
8
0"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option
v-for=
"items in CostCurrencyList"
:label=
'items.CurrencyName'
:value=
'items.CurrencyId'
:key=
'items.CurrencyId'
>
...
...
@@ -246,20 +249,20 @@
</el-form-item>
</td>
<td>
<el-input
type=
'text'
v-model=
"subItem.HotelCostPrice"
class=
"w
10
0"
<el-input
type=
'text'
v-model=
"subItem.HotelCostPrice"
class=
"w
8
0"
@
keyup
.
native=
"checkPrice(subItem,'HotelCostPrice')"
></el-input>
</td>
<td>
<el-input
type=
'text'
v-model=
"subItem.BusCostPrice"
class=
"w
10
0"
<el-input
type=
'text'
v-model=
"subItem.BusCostPrice"
class=
"w
8
0"
@
keyup
.
native=
"checkPrice(subItem,'BusCostPrice'),getchange()"
>
</el-input>
</td>
<td>
<el-input
type=
'text'
v-model=
"subItem.ScenicCostPrice"
class=
"w
10
0"
<el-input
type=
'text'
v-model=
"subItem.ScenicCostPrice"
class=
"w
8
0"
@
keyup
.
native=
"checkPrice(subItem,'ScenicCostPrice'),getchange()"
></el-input>
</td>
<td>
<el-input
type=
"text"
v-model=
'subItem.BreakfastCostPrice'
class=
"w
10
0"
<el-input
type=
"text"
v-model=
'subItem.BreakfastCostPrice'
class=
"w
8
0"
@
keyup
.
native=
"checkPrice(subItem,'BreakfastCostPrice'),getchange()"
>
</el-input>
</td>
...
...
@@ -284,7 +287,7 @@
<td
class=
"CP_ComTitle2"
>
内陆段机位(每人)
</td>
<td>
<el-form-item>
<el-select
v-model=
'OtherPrice.InlandAirTicketCurrency'
class=
"w
10
0"
>
<el-select
v-model=
'OtherPrice.InlandAirTicketCurrency'
class=
"w
8
0"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option
v-for=
"items in CostCurrencyList"
:label=
'items.CurrencyName'
:value=
'items.CurrencyId'
:key=
'items.CurrencyId'
>
...
...
@@ -294,7 +297,7 @@
</td>
<td
>
<el-form-item>
<el-input
type=
'text'
class=
"w
10
0"
v-model=
"OtherPrice.InlandAirTicketMoney"
<el-input
type=
'text'
class=
"w
8
0"
v-model=
"OtherPrice.InlandAirTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandAirTicketMoney'),getchange()"
></el-input>
</el-form-item>
</td>
...
...
@@ -312,7 +315,7 @@
<td
class=
"CP_ComTitle2"
>
内陆段船票(每人)
</td>
<td>
<el-form-item>
<el-select
v-model=
'OtherPrice.InlandShipTicketCurrency'
class=
"w
10
0"
>
<el-select
v-model=
'OtherPrice.InlandShipTicketCurrency'
class=
"w
8
0"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option
v-for=
"items in CostCurrencyList"
:label=
'items.CurrencyName'
:value=
'items.CurrencyId'
:key=
'items.CurrencyId'
>
...
...
@@ -322,7 +325,7 @@
</td>
<td
>
<el-form-item>
<el-input
type=
'text'
class=
"w
10
0"
v-model=
"OtherPrice.InlandShipTicketMoney"
<el-input
type=
'text'
class=
"w
8
0"
v-model=
"OtherPrice.InlandShipTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandShipTicketMoney'),getchange()"
></el-input>
</el-form-item>
</td>
...
...
@@ -340,7 +343,7 @@
<td
class=
"CP_ComTitle2"
>
内陆段火车票(每人)
</td>
<td>
<el-form-item>
<el-select
v-model=
'OtherPrice.InlandTrainTicketCurrency'
class=
"w
10
0"
>
<el-select
v-model=
'OtherPrice.InlandTrainTicketCurrency'
class=
"w
8
0"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option
v-for=
"items in CostCurrencyList"
:label=
'items.CurrencyName'
:value=
'items.CurrencyId'
:key=
'items.CurrencyId'
>
...
...
@@ -350,7 +353,7 @@
</td>
<td
>
<el-form-item>
<el-input
type=
'text'
class=
"w
10
0"
v-model=
"OtherPrice.InlandTrainTicketMoney"
<el-input
type=
'text'
class=
"w
8
0"
v-model=
"OtherPrice.InlandTrainTicketMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'InlandTrainTicketMoney'),getchange()"
></el-input>
</el-form-item>
</td>
...
...
@@ -385,13 +388,13 @@
</tr>
<tr>
<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"
>
金额
(人民币)
</td>
<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"
>
摘要
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
金额
(人民币)
</td>
<td
class=
"CP_ComTitle2 CostcomCenter"
colspan=
"2"
>
金额
(人民币)
</td>
</tr>
<tr>
<td
style=
"white-space:nowrap; "
class=
"CP_ComTitle2"
>
销售提成1%
</td>
...
...
@@ -404,14 +407,14 @@
<td
class=
"CP_ComTitle2"
>
机票
</td>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w
10
0"
v-model=
"OtherPrice.AirTicketMoeny"
<el-input
type=
'text'
class=
"w
8
0"
v-model=
"OtherPrice.AirTicketMoeny"
@
keyup
.
native=
"checkPrice(OtherPrice,'AirTicketMoeny'),getchange()"
></el-input>
</el-form-item>
</td>
<td
class=
"CP_ComTitle2"
>
客人小费收入
</td>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w
10
0"
v-model=
"OtherPrice.TripMoney"
<el-input
type=
'text'
class=
"w
8
0"
v-model=
"OtherPrice.TripMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'TripMoney',true),getchange()"
></el-input>
</el-form-item>
</td>
...
...
@@ -435,7 +438,7 @@
<td
class=
"CP_ComTitle2"
>
导游人头费
</td>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w
10
0"
v-model=
"OtherPrice.GuidePeopleMoney"
<el-input
type=
'text'
class=
"w
8
0"
v-model=
"OtherPrice.GuidePeopleMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'GuidePeopleMoney'),getchange()"
></el-input>
</el-form-item>
</td>
...
...
@@ -466,25 +469,25 @@
</td>
<td>
<el-form-item>
<el-input
type=
'text'
class=
"w
10
0"
v-model=
"OtherPrice.TicketShareMoney"
<el-input
type=
'text'
class=
"w
8
0"
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=
"w
10
0"
v-model=
"OtherPrice.SingleRoomShareMoney"
<el-input
type=
'text'
class=
"w
8
0"
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=
"w
10
0"
v-model=
"OtherPrice.InlandTrafficShareMoney"
<el-input
type=
'text'
class=
"w
8
0"
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=
"w
10
0"
v-model=
"OtherPrice.OtherShareMoney"
<el-input
type=
'text'
class=
"w
8
0"
v-model=
"OtherPrice.OtherShareMoney"
@
keyup
.
native=
"checkPrice(OtherPrice,'OtherShareMoney'),getchange()"
></el-input>
</el-form-item>
</td>
...
...
@@ -503,7 +506,7 @@
<td
colspan=
"9"
></td>
</tr>
<tr>
<td
colspan=
"9"
class=
"CP_ComTitle2"
>
成本统计
</td>
<td
colspan=
"9"
class=
"CP_ComTitle2"
>
成本统计
(以下报价为每人费用)
</td>
</tr>
<tr>
<td
class=
"CP_ComTitle2"
>
人数统计
</td>
...
...
@@ -514,100 +517,7 @@
<td
colspan=
"8"
>
{{item.TotalMoney}}
</td>
</tr>
</table>
<!-- <div class="CP_ComTitle">领队分摊部分</div>
<table class="CP_comTable">
<tr>
<td width='200'>人数</td>
<td width="200"></td>
<td width="150" v-for="item in CostNumberList" :key="item.subCode">
{{item.PeopleNumber}}+1
</td>
</tr>
<tr>
<td>机票</td>
<td>
<el-form-item>
<el-input type='text' class="w120" v-model="OtherPrice.AirTicketShareMoney"
@keyup.native="checkPrice(OtherPrice,'AirTicketShareMoney'),getchange()"></el-input>
</el-form-item>
</td>
<td v-for="item in CostNumberList" :key="item.subCode">
{{item.AirTicketMoney}}
</td>
</tr>
<tr>
<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 v-for="item in CostNumberList" :key="item.subCode">
{{item.TicketMoney}}
</td>
</tr>
<tr>
<td>单房差</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 v-for="item in CostNumberList" :key="item.subCode">
{{item.SingleRoomMoney}}
</td>
</tr>
<tr>
<td>内陆段交通</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 v-for="item in CostNumberList" :key="item.subCode">
{{item.InlandTrafficMoney}}
</td>
</tr>
<tr>
<td>杂费</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 v-for="item in CostNumberList" :key="item.subCode">
{{item.OtherMoney}}
</td>
</tr>
<tr>
<td>小计</td>
<td></td>
<td v-for="item in CostNumberList" :key="item.subCode">
{{item.SubtotalMoney}}
</td>
</tr>
</table> -->
<div
class=
"Cost_Line"
></div>
<!-- <div class="CP_ComTitle Cost_Title">成本统计</div>
<table class="CostPriceTable">
<tr>
<td width='250' rowspan="2" class="CP_comBack">
人数统计
</td>
<td v-for="item in CostNumberList" :key="item.subCode" class="CP_comBack">
{{item.PeopleNumber}}+1
</td>
</tr>
<tr>
<td v-for="item in CostNumberList" :key="item.subCode">
{{item.TotalMoney}}
</td>
</tr>
</table> -->
</el-form>
</div>
</div>
...
...
@@ -637,10 +547,6 @@
},
methods
:
{
ReCalc
()
{
// this.OfferCostPriceObj = JSON.parse(
// JSON.stringify(this.OfferCostPriceObj)
// );
// this.$emit("headCallBack", this.OfferCostPriceObj);
},
//获取汇率
getCurrencyMoney
(
currencyId
)
{
...
...
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