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
256fd9ff
Commit
256fd9ff
authored
Sep 23, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8376a94b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
135 additions
and
796 deletions
+135
-796
CostNewPrice.vue
...ponents/TravelManager/TravelNewQuotation/CostNewPrice.vue
+64
-36
DirectNewQuotation.vue
...s/TravelManager/TravelNewQuotation/DirectNewQuotation.vue
+71
-760
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPrice.vue
View file @
256fd9ff
...
@@ -8,14 +8,15 @@
...
@@ -8,14 +8,15 @@
<div>
<div>
<div
class=
"singlePrice clearfix CP_Div"
>
<div
class=
"singlePrice clearfix CP_Div"
>
<div
class=
"CP_title"
>
<div
class=
"CP_title"
>
{{
lineName
}}{{
lineTeamName
}}
<!--
{{
lineName
}}{{
lineTeamName
}}
-->
123
</div>
</div>
<el-form>
<el-form>
<
!--
<
div
class=
"QuotationFirstDiv"
>
<div
class=
"QuotationFirstDiv"
>
<el-row
:gutter=
"40"
>
<el-row
:gutter=
"40"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"线路"
>
<el-form-item
label=
"线路"
>
<el-select
v-model=
"
subConfig.LineId"
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList(sub
Config.LineId)"
filterable
>
<el-select
v-model=
"
postConfig.LineId"
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList(post
Config.LineId)"
filterable
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
<el-option
v-for=
"item in LineList"
v-for=
"item in LineList"
...
@@ -28,7 +29,7 @@
...
@@ -28,7 +29,7 @@
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"系列"
>
<el-form-item
label=
"系列"
>
<el-select
v-model=
"
subConfig.LineteamId"
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getCountryId(sub
Config.LineteamId)"
filterable
>
<el-select
v-model=
"
postConfig.LineteamId"
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getCountryId(post
Config.LineteamId)"
filterable
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
<el-option
v-for=
"item in LineTeamList"
v-for=
"item in LineTeamList"
...
@@ -43,46 +44,67 @@
...
@@ -43,46 +44,67 @@
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"团队标题"
>
<el-form-item
label=
"团队标题"
>
<el-input
v-model=
"
sub
Config.Title"
type=
"textarea"
:autosize=
"
{minRows: 1, maxRows: 2 }" resize="none" placeholder="请填写团队标题" maxlength="200">
</el-input>
<el-input
v-model=
"
post
Config.Title"
type=
"textarea"
: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>
<div
class=
"seat-box"
>
<div
class=
"seat-box"
>
<div
class=
"left"
>
座位
</div>
<div
class=
"left"
>
座位
</div>
<div
class=
"right"
>
<div
class=
"right"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
prop=
"YSeat"
>
<el-form-item
prop=
"YSeat"
>
<el-input
placeholder=
"人数"
v-model=
"subConfig.YSeat"
maxlength=
"2"
@
keyup
.
native=
"checkInteger(sub
Config,'YSeat'),calcTotalCount()"
>
<el-input
placeholder=
"人数"
v-model=
"postConfig.YSeat"
maxlength=
"2"
@
keyup
.
native=
"checkInteger(post
Config,'YSeat'),calcTotalCount()"
>
<template
slot=
"prepend"
>
经济舱/上铺
</
template
>
<template
slot=
"prepend"
>
经济舱/上铺
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
prop=
"CSeat"
>
<el-form-item
prop=
"CSeat"
>
<el-input
placeholder=
"人数"
v-model=
"subConfig.CSeat"
maxlength=
"2"
@
keyup
.
native=
"checkInteger(sub
Config,'CSeat'),calcTotalCount()"
>
<el-input
placeholder=
"人数"
v-model=
"postConfig.CSeat"
maxlength=
"2"
@
keyup
.
native=
"checkInteger(post
Config,'CSeat'),calcTotalCount()"
>
<
template
slot=
"prepend"
>
商务舱/中铺
</
template
>
<
template
slot=
"prepend"
>
商务舱/中铺
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
prop=
"FSeat"
>
<el-form-item
prop=
"FSeat"
>
<el-input
placeholder=
"人数"
v-model=
"subConfig.FSeat"
maxlength=
"2"
@
keyup
.
native=
"checkInteger(sub
Config,'FSeat'),calcTotalCount()"
>
<el-input
placeholder=
"人数"
v-model=
"postConfig.FSeat"
maxlength=
"2"
@
keyup
.
native=
"checkInteger(post
Config,'FSeat'),calcTotalCount()"
>
<
template
slot=
"prepend"
>
头等舱/下铺
</
template
>
<
template
slot=
"prepend"
>
头等舱/下铺
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item>
<el-form-item>
<el-input
placeholder=
"人数"
v-model=
"sub
Config.LowNum"
maxlength=
"2"
>
<el-input
placeholder=
"人数"
v-model=
"post
Config.LowNum"
maxlength=
"2"
>
<
template
slot=
"prepend"
>
最低成团人数
</
template
>
<
template
slot=
"prepend"
>
最低成团人数
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
</div>
</div>
</div>
</div>
</div>
-->
<div
class=
"seat-box"
>
<div
class=
"left"
>
行程天数
</div>
<div
class=
"right"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-form-item>
<el-input
class=
"w120 LowNum"
v-model=
"postConfig.DayNum"
@
keyup
.
native=
"checkInteger(postConfig,'DayNum');createLineTrip()"
>
<
template
slot=
"append"
>
天
</
template
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item>
<el-input
class=
"w120 LowNum"
v-model=
"postConfig.NightNum"
@
keyup
.
native=
"checkInteger(postConfig,'NightNum')"
>
<
template
slot=
"append"
>
晚
</
template
>
</el-input>
</el-form-item>
</el-col>
</el-row>
</div>
</div>
</div>
<table
class=
"CP_comTable"
>
<table
class=
"CP_comTable"
>
<tr>
<tr>
<td
class=
"CP_comBack"
width=
"170"
>
币种
</td>
<td
class=
"CP_comBack"
width=
"170"
>
币种
</td>
...
@@ -156,6 +178,7 @@
...
@@ -156,6 +178,7 @@
<table
class=
"CostPriceTable"
>
<table
class=
"CostPriceTable"
>
<tr>
<tr>
<th
rowspan=
"2"
width=
'100'
>
Day
</th>
<th
rowspan=
"2"
width=
'100'
>
Day
</th>
<th
rowspan=
"2"
width=
'100'
>
行程大点
</th>
<th
rowspan=
"2"
width=
"200"
>
币种
</th>
<th
rowspan=
"2"
width=
"200"
>
币种
</th>
<th
rowspan=
"2"
width=
'220'
>
酒店
</th>
<th
rowspan=
"2"
width=
'220'
>
酒店
</th>
<th
rowspan=
"2"
width=
'200'
>
车
</th>
<th
rowspan=
"2"
width=
'200'
>
车
</th>
...
@@ -169,6 +192,9 @@
...
@@ -169,6 +192,9 @@
</tr>
</tr>
<tr
v-for=
"subItem in OfferCostPriceObj.CostLocalList"
:key=
"subItem.subCode"
>
<tr
v-for=
"subItem in OfferCostPriceObj.CostLocalList"
:key=
"subItem.subCode"
>
<td
align=
"center"
>
{{subItem.DayNum}}
</td>
<td
align=
"center"
>
{{subItem.DayNum}}
</td>
<td>
<el-input
type=
"textarea"
resize=
"none"
></el-input>
</td>
<td>
<td>
<el-form-item>
<el-form-item>
<el-select
v-model=
'subItem.CurrencyId'
>
<el-select
v-model=
'subItem.CurrencyId'
>
...
@@ -490,7 +516,7 @@
...
@@ -490,7 +516,7 @@
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
props
:
[
"
OfferCostPrice"
,
"lineName"
,
"lineTeamNam
e"
],
props
:
[
"
postConfig"
,
"OfferCostPrice"
,
"dayCostPric
e"
],
data
()
{
data
()
{
return
{
return
{
checkedPei
:
[],
checkedPei
:
[],
...
@@ -834,6 +860,8 @@
...
@@ -834,6 +860,8 @@
});
});
this
.
shortPeopleNumber
();
this
.
shortPeopleNumber
();
this
.
getSubtotalMoney
();
this
.
getSubtotalMoney
();
console
.
log
(
this
.
OfferCostPriceObj
,
'offerobj'
);
},
},
//计算领队分摊
//计算领队分摊
getLeaderShare
()
{
getLeaderShare
()
{
...
...
src/components/TravelManager/TravelNewQuotation/DirectNewQuotation.vue
View file @
256fd9ff
This diff is collapsed.
Click to expand it.
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