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
1183d11e
Commit
1183d11e
authored
May 08, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
c2a6cbcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
630 additions
and
79 deletions
+630
-79
QuotationPrice_SWT.vue
...s/TravelManager/TravelNewQuotation/QuotationPrice_SWT.vue
+630
-79
No files found.
src/components/TravelManager/TravelNewQuotation/QuotationPrice_SWT.vue
View file @
1183d11e
<
style
>
.QuotationPrice_SWT
.swttable
{
border
:
1px
solid
#106BAF
!important
;
border-collapse
:
collapse
;
}
.QuotationPrice_SWT
.swttable
tr
td
{
border
:
1px
solid
#106BAF
!important
;
border-collapse
:
collapse
;
height
:
40px
;
line-height
:
40px
;
padding
:
0
3px
;
}
.QuotationPrice_SWT
.space
{
width
:
30px
;
}
.QuotationPrice_SWT
.ComTitle
{
color
:
#106BAF
;
font-weight
:
bold
;
background-color
:
#D1EEEE
;
white-space
:
nowrap
;
}
</
style
>
<
template
>
<div
class=
"
DirectQuotation
clearfix"
v-loading=
"loading"
>
<div
class=
"
QuotationPrice_SWT
clearfix"
v-loading=
"loading"
>
<div>
<table>
<tr>
<td
colspan=
"2"
>
线路
</td>
<td
colspan=
"4"
>
<el-select
v-model=
"postData.LineId"
></el-select>
</td>
<td
colspan=
"2"
>
系列
</td>
<td
colspan=
"4"
>
<el-select
v-model=
"postData.LineteamId"
></el-select>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
团名
</td>
<td
colspan=
"10"
>
<el-input
v-model=
"postData.Title"
></el-input>
</td>
</tr>
<tr>
<td>
行程天数
</td>
<td>
<el-input
v-model=
"postData.DayNum"
></el-input>
</td>
<td>
适用人数
</td>
<td>
<el-input
v-model=
"postData.Title"
></el-input>
</td>
<td>
旅客人数
</td>
<td>
<el-input
v-model=
"postData.DayNum"
></el-input>
</td>
<td>
FOC
</td>
<td>
<el-input
v-model=
"postData.DayNum"
></el-input>
</td>
</tr>
<table
class=
"swttable"
>
<thead>
<tr>
<td
colspan=
"10"
>
保存
</td>
</tr>
</thead>
<tbody
title=
"线路.系列.团名"
>
<tr>
<td
colspan=
"2"
class=
"ComTitle"
>
线路
</td>
<td
colspan=
"3"
>
<el-select
v-model=
"postData.LineId"
></el-select>
</td>
<td
colspan=
"2"
class=
"ComTitle"
>
系列
</td>
<td
colspan=
"3"
>
<el-select
v-model=
"postData.LineteamId"
></el-select>
</td>
</tr>
<tr>
<td
colspan=
"2"
class=
"ComTitle"
>
团名
</td>
<td
colspan=
"8"
>
<el-input
v-model=
"postData.Title"
placeholder=
"出團名稱"
></el-input>
</td>
</tr>
</tbody>
<tbody
title=
"天数.航班时间.适用人数"
>
<tr>
<td
rowspan=
"2"
colspan=
"2"
class=
"ComTitle"
>
TO:
</td>
<td
class=
"ComTitle"
>
天数
</td>
<td>
<el-input
v-model=
"postData.AirLineName"
placeholder=
"台中連發"
></el-input>
</td>
<td>
</td>
<td
rowspan=
"3"
class=
"ComTitle"
>
航班时间
</td>
<td>
<el-input
v-model=
"postData.DayNum"
></el-input>
</td>
<td>
QH537
</td>
<td
colspan=
"2"
>
QH537 1410
</td>
</tr>
<tr>
<td>
<el-input
v-model=
"postData.DayNum"
></el-input>
</td>
<td>
<el-input
v-model=
"postData.StartDate"
placeholder=
"2020/09/30前走完行程"
></el-input>
</td>
<td
class=
"ComTitle"
>
FOC
</td>
<td>
<el-input
v-model=
"postData.DayNum"
></el-input>
</td>
<td>
QH536
</td>
<td
colspan=
"2"
>
QH536 0940
</td>
</tr>
<tr>
<td
colspan=
"3"
class=
"ComTitle"
>
适用人数
</td>
<td>
<el-input
v-model=
"postData.GuestNum"
></el-input>
</td>
<td>
<el-input
v-model=
"postData.FocNum"
></el-input>
</td>
<td>
<el-input
v-model=
"postData.DayNum"
></el-input>
</td>
<td>
QH536
</td>
<td
colspan=
"2"
>
QH536 0940
</td>
</tr>
</tbody>
<tbody
title=
"领队和导游"
>
<tr>
<td
rowspan=
"3"
colspan=
"3"
class=
"ComTitle"
>
導遊
</td>
<td
rowspan=
"3"
>
<el-input
v-model=
"postData.DayNum"
></el-input>
</td>
<td
rowspan=
"3"
class=
"ComTitle"
>
領隊
</td>
<td
rowspan=
"3"
>
<el-input
v-model=
"postData.DayNum"
></el-input>
</td>
<td>
</td>
<td>
QH536
</td>
<td
colspan=
"2"
>
QH536 0940
</td>
</tr>
<tr>
<td>
</td>
<td>
QH536
</td>
<td
colspan=
"2"
>
QH536 0940
</td>
</tr>
<tr>
<td>
</td>
<td>
QH536
</td>
<td
colspan=
"2"
>
QH536 0940
</td>
</tr>
</tbody>
<tbody
title=
"LOCAL團號"
>
<tr>
<td
colspan=
"3"
class=
"ComTitle"
>
LOCAL團號
</td>
<td>
<el-input
v-model=
"postData.LocalTeamNum"
placeholder=
"LOCAL團號"
></el-input>
</td>
<td
class=
"ComTitle"
>
估價代號
</td>
<td
colspan=
"2"
>
<el-input
v-model=
"postData.ValuationCode"
placeholder=
"估價代號"
></el-input>
</td>
<td
class=
"ComTitle"
>
出團名稱
</td>
<td
colspan=
"2"
>
<el-input
v-model=
"postData.OutTeamName"
placeholder=
"出團名稱"
></el-input>
</td>
</tr>
<tr>
<td
colspan=
"3"
class=
"ComTitle"
>
AGT團號
</td>
<td>
<el-input
v-model=
"postData.AGTTeamName"
placeholder=
"AGT團號"
></el-input>
</td>
<td
class=
"ComTitle"
>
SURCHARGE:
</td>
<td
colspan=
"2"
>
<el-input
v-model=
"postData.SURCHARGE"
placeholder=
" (09/02,12/24.31)公眾假期價格另議"
></el-input>
</td>
<td
class=
"ComTitle"
>
沒免
</td>
<td
colspan=
"2"
>
</td>
</tr>
</tbody>
<tbody
title=
"酒店"
>
<tr>
<td
colspan=
"10"
>
</td>
</tr>
<tr>
<td
rowspan=
"2"
class=
"ComTitle"
>
飯店
</td>
<td>
</td>
<td
class=
"ComTitle"
>
地区
</td>
<td
class=
"ComTitle"
>
酒店名称
</td>
<td
class=
"ComTitle"
>
美金
</td>
<td
class=
"ComTitle"
>
越盾
</td>
<td
class=
"ComTitle"
>
次/N數
</td>
<td
class=
"ComTitle"
>
房/人數
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
合计
</td>
</tr>
<tr>
<td>
1
</td>
<td>
<el-select></el-select>
</td>
<td>
<el-select></el-select>
</td>
<td>
</td>
<td>
</td>
<td>
1
</td>
<td>
1
</td>
<td
colspan=
"2"
>
0
</td>
</tr>
</tbody>
<tbody
title=
"餐食"
>
<tr>
<td
colspan=
"10"
>
</td>
</tr>
<tr>
<td
colspan=
"7"
>
餐食
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td
class=
"ComTitle"
>
地 區
</td>
<td
class=
"ComTitle"
>
單 位
</td>
<td
class=
"ComTitle"
>
美金
</td>
<td
class=
"ComTitle"
>
越盾
</td>
<td
class=
"ComTitle"
>
次/N數
</td>
<td
class=
"ComTitle"
>
人數
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
合计
</td>
</tr>
<tr>
<td>
D1
</td>
<td>
</td>
<td>
<el-select></el-select>
</td>
<td>
<el-select></el-select>
</td>
<td>
</td>
<td>
</td>
<td>
1
</td>
<td>
1
</td>
<td
colspan=
"2"
>
0
</td>
</tr>
</tbody>
<tbody
title=
"景點門票"
>
<tr>
<td
colspan=
"10"
>
</td>
</tr>
<tr>
<td
colspan=
"7"
>
景點門票
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td
class=
"ComTitle"
>
地 區
</td>
<td
class=
"ComTitle"
>
單 位
</td>
<td
class=
"ComTitle"
>
美金
</td>
<td
class=
"ComTitle"
>
越盾
</td>
<td
class=
"ComTitle"
>
次/N數
</td>
<td
class=
"ComTitle"
>
房/人數
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
合计
</td>
</tr>
<tr>
<td>
D1
</td>
<td>
</td>
<td>
<el-select></el-select>
</td>
<td>
<el-select></el-select>
</td>
<td>
</td>
<td>
</td>
<td>
1
</td>
<td>
1
</td>
<td
colspan=
"2"
>
0
</td>
</tr>
</tbody>
<tbody
title=
"車資"
>
<tr>
<td
colspan=
"10"
>
</td>
</tr>
<tr>
<td
colspan=
"7"
>
車資
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td
class=
"ComTitle"
>
車資
</td>
<td
class=
"ComTitle"
>
行程
</td>
<td
class=
"ComTitle"
>
公里數
</td>
<td
class=
"ComTitle"
>
車資
</td>
<td
class=
"ComTitle"
>
次/N數
</td>
<td
class=
"ComTitle"
>
單價
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
合计
</td>
</tr>
<tr>
<td>
D1
</td>
<td>
</td>
<td>
<el-select></el-select>
</td>
<td>
<el-select></el-select>
</td>
<td>
</td>
<td>
</td>
<td>
1
</td>
<td>
1
</td>
<td
colspan=
"2"
>
0
</td>
</tr>
</tbody>
<tbody
title=
"船 或 導遊機票"
>
<tr>
<td
colspan=
"10"
>
</td>
</tr>
<tr>
<td
colspan=
"7"
>
船 或 導遊機票
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td
class=
"ComTitle"
>
車資
</td>
<td
class=
"ComTitle"
>
行程
</td>
<td
class=
"ComTitle"
>
公里數
</td>
<td
class=
"ComTitle"
>
車資
</td>
<td
class=
"ComTitle"
>
次/N數
</td>
<td
class=
"ComTitle"
>
單價
</td>
<td
class=
"ComTitle"
colspan=
"2"
>
合计
</td>
</tr>
<tr>
<td>
D1
</td>
<td>
</td>
<td>
<el-select></el-select>
</td>
<td>
<el-select></el-select>
</td>
<td>
</td>
<td>
</td>
<td>
1
</td>
<td>
1
</td>
<td
colspan=
"2"
>
0
</td>
</tr>
</tbody>
</table>
</div>
</div>
</
template
>
<
script
>
...
...
@@ -63,46 +585,75 @@
ConfigID
:
0
,
//基本配置
postData
:
{
ID
:
0
,
StartCityId
:
0
,
Id
:
0
,
LineId
:
0
,
LineteamId
:
0
,
Title
:
""
,
IsOrder
:
1
,
IsSubstitution
:
1
,
IsB2B
:
1
,
IsB2C
:
1
,
FSeat
:
0
,
CSeat
:
0
,
YSeat
:
0
,
//最低成团人数
LowNum
:
0
,
//OP备注
OpRemark
:
""
,
//产品经理备注
ProductRecommend
:
""
,
IsDirect
:
0
,
//是否直采(0-否-1-是)【全部默认非直采】
PriceIsDirect
:
1
,
//是否直采报价(1-否-2-是)【全部默认非直采】
PDFAlias
:
""
,
//pdf别名
ImgCover
:
""
,
//封面图
DayNum
:
0
,
//天数
NightNum
:
0
,
//晚数
StartCityId
:
0
,
ReturnArriveCityId
:
0
,
//返回抵达城市
CustomerName
:
""
,
//客户名称
TeamType
:
0
,
//团队类型
IsDirect
:
1
,
//是否直采(0-否-1-是)【全部默认非直采】
TeamType
:
3
,
//团队类型【默认地接团】
TravelState
:
1
,
//团控状态(1-草稿,2-待审核,3-审核通过,4-审核拒绝,5已撤销)
Title
:
""
,
//团队标题
ConfigId
:
0
,
//配置编号
StartDate
:
""
,
//出发日期
AirLineName
:
""
,
//航空公司名称
SWTFlight
:
[],
//航班列表
GuestNum
:
0
,
//旅客人数
FocNum
:
0
,
//Foc人数
SWTLeaderList
:
[],
//领队信息
SWTGuideList
:
[],
//导游信息
LocalTeamNum
:
""
,
//LOCAL團號
ValuationCode
:
""
,
//估價代號
OutTeamName
:
""
,
//出團名稱
AGTTeamName
:
""
,
//AGT團號
SURCHARGE
:
""
,
//SURCHARGE
HotelDisNum
:
0
,
//酒店免人数
SWTHotelList
:
[],
//酒店信息
DinnerDisNum
:
0
,
//餐免人数
SWTDinnerList
:
[],
//餐厅信息
TicketDisNum
:
0
,
//景点免人数
SWTTicketList
:
[],
//景点信息
SWTBusList
:
[],
//车资明细
SWTShipList
:
[],
//船明细
SWTOtherPayList
:
[],
//杂支信息
SWTSelfFeeList
:
[],
//自费明细
SWTTipFeeList
:
[],
//小费明细
},
LineList
:
[],
//线路列表
loading
:
false
};
},
methods
:
{
getData
()
{
let
Id
=
0
;
if
(
this
.
$route
.
query
.
Id
)
{
Id
=
this
.
$route
.
query
.
Id
;
}
this
.
apipost
(
"travel_get_GetBaoJiaDanSwtService"
,
{
Id
:
Id
,
},
res
=>
{
console
.
log
(
"res.data"
,
res
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{
var
jsonData
=
res
.
data
.
data
;
if
(
jsonData
)
{
this
.
postData
.
Id
=
jsonData
.
Id
;
this
.
postData
.
LineId
=
jsonData
.
LineId
;
this
.
postData
.
LineteamId
=
jsonData
.
LineteamId
;
this
.
postData
.
IsDirect
=
jsonData
.
IsDirect
;
this
.
postData
.
TeamType
=
jsonData
.
TeamType
;
this
.
postData
.
TravelState
=
jsonData
.
TravelState
;
this
.
postData
.
Title
=
jsonData
.
Title
;
this
.
postData
.
ConfigId
=
jsonData
.
ConfigId
;
this
.
postData
.
StartDate
=
jsonData
.
StartDate
;
}
}
});
},
},
created
()
{
},
mounted
()
{
this
.
getData
();
}
};
...
...
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