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
b1bf0aaf
Commit
b1bf0aaf
authored
Dec 10, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
95c9d1cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
223 additions
and
51 deletions
+223
-51
onedayTripContract.vue
src/components/onedayTripContract.vue
+223
-51
No files found.
src/components/onedayTripContract.vue
View file @
b1bf0aaf
...
...
@@ -817,14 +817,22 @@
label=
"含:景点第一道门票、"
style=
"display:inline-block;"
>
<el-input
type=
"text"
class=
"w150"
></el-input>
<el-input
type=
"text"
class=
"w150"
v-model=
"CtObj.C_IncludeRemark"
></el-input>
</el-form-item>
<el-form-item
label=
"午(晚)餐费、往返车费、导游服务费"
label-width=
"250px"
style=
"display:inline-block;"
>
<el-input
type=
"text"
class=
"w150"
></el-input>
<el-input
type=
"text"
class=
"w150"
v-model=
"CtObj.C_IncludeFee"
></el-input>
</el-form-item>
<el-form-item
label=
";不含"
...
...
@@ -867,7 +875,11 @@
class=
"onedayAccount"
>
<el-form-item
label=
"银行账号"
label-width=
"80px"
>
<el-input
type=
"text"
class=
"w150"
v-model=
"CtObj.C_PayTypeRemark"
></el-input>
<el-input
type=
"text"
class=
"w150"
v-model=
"CtObj.C_PayTypeRemark"
></el-input>
</el-form-item>
</div>
</td>
...
...
@@ -1173,10 +1185,10 @@
{{
index
+
1
}}
</td>
<td>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
specific
Time
}}
</span>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
Shop
Time
}}
</span>
<el-date-picker
v-else
v-model=
"item.
specific
Time"
v-model=
"item.
Shop
Time"
class=
"w150"
type=
"date"
value-format=
"yyyy-MM-dd"
...
...
@@ -1184,48 +1196,54 @@
></el-date-picker>
</td>
<td>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
Address
}}
</span>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
Shop
Address
}}
</span>
<el-input
type=
"text"
v-model=
"item.Address"
v-model=
"item.
Shop
Address"
v-else
></el-input>
</td>
<td
style=
"text-align:left;"
>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
shop
pName
}}
</span>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
Sho
pName
}}
</span>
<el-input
type=
"text"
v-model=
"item.
shop
pName"
v-model=
"item.
Sho
pName"
v-else
></el-input>
</td>
<td
style=
"text-align:left;"
>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
CommodityInformation
}}
</span>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
ShopGoodName
}}
</span>
<el-input
type=
"text"
v-model=
"item.
CommodityInformation
"
v-model=
"item.
ShopGoodName
"
v-else
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
stay
Time
}}
</span>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
Stop
Time
}}
</span>
<el-input
type=
"text"
v-model=
"item.
stay
Time"
v-model=
"item.
Stop
Time"
v-else
></el-input>
</td>
<td
style=
"text-align:left;"
>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
other
}}
</span>
<el-input
type=
"text"
v-model=
"item.other"
v-else
></el-input>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
OtherInstruction
}}
</span>
<el-input
type=
"text"
v-model=
"item.OtherInstruction"
v-else
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
travelSign
}}
</span>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
TouristsSignAgree
}}
</span>
<el-input
type=
"text"
v-model=
"item.
travelSign
"
v-model=
"item.
TouristsSignAgree
"
v-else
></el-input>
</td>
...
...
@@ -1300,7 +1318,8 @@ export default {
cked
:
1
,
//参数
CtObj
:
{
CType
:
3
,
//合同类型:(1-单项委托协议[平台版2018],2大陆境内旅游合同2014,3-全国版国内旅游一日游旅游合同示范文本[2015版])
ID
:
0
,
CType
:
3
,
//合同类型:(1-单项委托协议[平台版2018],2大陆境内旅游合同2014,3-全国版国内旅游一日游旅游合同示范文本[2015版])
Tourists_Name
:
""
,
Tourists_IDNum
:
""
,
Tourists_Addres
:
""
,
...
...
@@ -1314,12 +1333,13 @@ export default {
TravelAgency_LicenseNum
:
"L-SC-CJ00015"
,
TravelAgency_DealMan
:
""
,
TravelAgency_IDNum
:
""
,
TravelAgency_Address
:
"成都市锦江区一环路东五段87号2幢23层2310.2311.2312号"
,
TravelAgency_Address
:
"成都市锦江区一环路东五段87号2幢23层2310.2311.2312号"
,
TravelAgency_Tel
:
""
,
TravelAgency_Fax
:
""
,
TravelAgency_PostNum
:
""
,
TravelAgency_Email
:
""
,
TravelAgency_Scope
:
"出境游/境内游"
,
//旅行社经营范围
TravelAgency_Scope
:
"出境游/境内游"
,
//旅行社经营范围
TravelAgency_SignAddress
:
""
,
Guide_Name
:
""
,
Guide_Num
:
""
,
...
...
@@ -1338,7 +1358,7 @@ export default {
C_TotalPrice
:
""
,
C_PayDate
:
""
,
C_PayType
:
1
,
// 旅游费用支付方式(1-现金,2-支票,3-信用卡,4-其他,5-转账)
C_PayTypeRemark
:
""
,
//转账填写转账账号和备注
C_PayTypeRemark
:
""
,
//转账填写转账账号和备注
C_InsuranceType
:
1
,
// 旅游者保险购买方式(1-委托旅行社购买,2-自行购买,3-放弃购买)
C_InsuranceName
:
""
,
C_LowNum
:
""
,
...
...
@@ -1367,6 +1387,7 @@ export default {
C_DinnerAddress
:
""
,
// 晚餐地点
C_DinnerBasic
:
""
,
// 晚餐标准
C_IncludeRemark
:
""
,
// 费用包含
C_IncludeFee
:
""
,
//包含什么费用说明
C_NonIncludeRemark
:
""
,
// 费用不包含
TravelAgency_ServiceTel
:
""
,
// 旅行社客服电话
C_ComplaintProvince
:
""
,
// 投诉省
...
...
@@ -1384,10 +1405,10 @@ export default {
OtherConventionPrice
:
""
,
// 其他服务费用合计
OtherConvention
:
""
,
// 其他约定事项
TripJson
:
""
,
GuestJson
:
''
,
// 游客信息【json】
ShopJson
:
''
,
// 购物信息【json】
SelfFeeJson
:
''
,
// 自费信息【Json】
TicketJson
:
''
,
// 机票信息
GuestJson
:
""
,
// 游客信息【json】
ShopJson
:
""
,
// 购物信息【json】
SelfFeeJson
:
""
,
// 自费信息【Json】
TicketJson
:
""
,
// 机票信息
TicketTotalNum
:
0
,
// 机票总数量
TicketOutDayNum
:
0
,
// 机票几日内出票
TicketTotalDepositPrice
:
0
,
// 机票预订总费用
...
...
@@ -1459,9 +1480,6 @@ export default {
var
anchor
=
this
.
$el
.
querySelector
(
selector
);
document
.
documentElement
.
scrollTop
=
anchor
.
offsetTop
-
70
;
},
getDate
(
date
)
{
return
moment
(
date
).
format
(
"YYYY-MM-DD"
);
},
//提交数据
SaveMsg
()
{
this
.
apipost
(
...
...
@@ -1469,6 +1487,8 @@ export default {
this
.
CtObj
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CtObj
.
ID
=
res
.
data
.
data
;
this
.
GetData
();
this
.
Success
(
res
.
data
.
message
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
...
...
@@ -1478,18 +1498,6 @@ export default {
);
},
//跳转至预览
goUrl
()
{
this
.
$router
.
push
({
name
:
"TravelContractDetail"
,
query
:
{
TCID
:
this
.
$route
.
query
.
TCID
,
guestId
:
this
.
CtObj
.
guestId
,
orderID
:
this
.
$route
.
query
.
orderID
,
blank
:
"y"
}
});
},
//提交
submitForm
(
addMsg
)
{
//提交创建、修改表单
...
...
@@ -1502,21 +1510,21 @@ export default {
}
});
},
//添加
补充协议
//添加
购物
addRecord
()
{
let
obj
=
{
specific
Time
:
""
,
Address
:
""
,
shop
pName
:
""
,
CommodityInformation
:
""
,
stay
Time
:
""
,
other
:
""
,
travelSign
:
""
,
Shop
Time
:
""
,
Shop
Address
:
""
,
Sho
pName
:
""
,
ShopGoodName
:
""
,
Stop
Time
:
""
,
OtherInstruction
:
""
,
TouristsSignAgree
:
""
,
IsShow
:
1
};
this
.
CtObj
.
ContractShopList
.
push
(
obj
);
},
//删除
补充协议1
//删除
购物
delVoluntray
(
index
)
{
this
.
CtObj
.
ContractShopList
.
splice
(
index
,
1
);
},
...
...
@@ -1565,9 +1573,173 @@ export default {
}
else
if
(
_self
.
scroll
>
a_5
)
{
this
.
ckedIndex
=
5
;
}
},
GetData
()
{
this
.
apipost
(
"travelcontract_get_GetTravelContractService"
,
{
ID
:
this
.
CtObj
.
ID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempObj
=
res
.
data
.
data
;
this
.
CtObj
.
ID
=
tempObj
.
ID
;
this
.
CtObj
.
CType
=
tempObj
.
CType
;
this
.
CtObj
.
Tourists_Name
=
tempObj
.
Tourists_Name
;
this
.
CtObj
.
Tourists_IDNum
=
tempObj
.
Tourists_IDNum
;
this
.
CtObj
.
Tourists_Addres
=
tempObj
.
Tourists_Addres
;
this
.
CtObj
.
Tourists_Tel
=
tempObj
.
Tourists_Tel
;
this
.
CtObj
.
Tourists_Email
=
tempObj
.
Tourists_Email
;
this
.
CtObj
.
Tourists_PostNum
=
tempObj
.
Tourists_PostNum
;
this
.
CtObj
.
Tourists_Fax
=
tempObj
.
Tourists_Fax
;
this
.
CtObj
.
Tourists_EmergencyLinkMan
=
tempObj
.
Tourists_EmergencyLinkMan
;
this
.
CtObj
.
Tourists_EmergencyLinkTel
=
tempObj
.
Tourists_EmergencyLinkTel
;
this
.
CtObj
.
TravelAgency_DealMan
=
tempObj
.
TravelAgency_DealMan
;
this
.
CtObj
.
TravelAgency_IDNum
=
tempObj
.
TravelAgency_IDNum
;
this
.
CtObj
.
TravelAgency_Tel
=
tempObj
.
TravelAgency_Tel
;
this
.
CtObj
.
TravelAgency_Fax
=
tempObj
.
TravelAgency_Fax
;
this
.
CtObj
.
TravelAgency_PostNum
=
tempObj
.
TravelAgency_PostNum
;
this
.
CtObj
.
TravelAgency_Email
=
tempObj
.
TravelAgency_Email
;
this
.
CtObj
.
TravelAgency_SignAddress
=
tempObj
.
TravelAgency_SignAddress
;
this
.
CtObj
.
Guide_Name
=
tempObj
.
Guide_Name
;
this
.
CtObj
.
Guide_Num
=
tempObj
.
Guide_Num
;
this
.
CtObj
.
Guide_Tel
=
tempObj
.
Guide_Tel
;
this
.
CtObj
.
C_TCNUM
=
tempObj
.
C_TCNUM
;
this
.
CtObj
.
C_ProductName
=
tempObj
.
C_ProductName
;
this
.
CtObj
.
C_StartDate
=
tempObj
.
C_StartDate
;
this
.
CtObj
.
C_EndDate
=
tempObj
.
C_EndDate
;
this
.
CtObj
.
C_DayNum
=
tempObj
.
C_DayNum
;
this
.
CtObj
.
C_NightNum
=
tempObj
.
C_NightNum
;
this
.
CtObj
.
C_AdultNum
=
tempObj
.
C_AdultNum
;
this
.
CtObj
.
C_AdultPrice
=
tempObj
.
C_AdultPrice
;
this
.
CtObj
.
C_ChildrenNum
=
tempObj
.
C_ChildrenNum
;
this
.
CtObj
.
C_ChildrenPrice
=
tempObj
.
C_ChildrenPrice
;
this
.
CtObj
.
C_GuideServicePrice
=
tempObj
.
C_GuideServicePrice
;
this
.
CtObj
.
C_TotalPrice
=
tempObj
.
C_TotalPrice
;
this
.
CtObj
.
C_PayDate
=
tempObj
.
C_PayDate
;
this
.
CtObj
.
C_PayType
=
tempObj
.
C_PayType
;
this
.
CtObj
.
C_PayTypeRemark
=
tempObj
.
C_PayTypeRemark
;
this
.
CtObj
.
C_InsuranceType
=
tempObj
.
C_InsuranceType
;
this
.
CtObj
.
C_InsuranceName
=
tempObj
.
C_InsuranceName
;
this
.
CtObj
.
C_LowNum
=
tempObj
.
C_LowNum
;
this
.
CtObj
.
C_IsAgreeTravel
=
tempObj
.
C_IsAgreeTravel
;
this
.
CtObj
.
C_AgreeTravelName
=
tempObj
.
C_AgreeTravelName
;
this
.
CtObj
.
C_IsAgreeDelay
=
tempObj
.
C_IsAgreeDelay
;
this
.
CtObj
.
C_IsAgreeCndorse
=
tempObj
.
C_IsAgreeCndorse
;
this
.
CtObj
.
C_IsAgreeRemove
=
tempObj
.
C_IsAgreeRemove
;
this
.
CtObj
.
C_IsAgreeSpellGroup
=
tempObj
.
C_IsAgreeSpellGroup
;
this
.
CtObj
.
C_SpellGroupName
=
tempObj
.
C_SpellGroupName
;
this
.
CtObj
.
C_SolveType
=
tempObj
.
C_SolveType
;
this
.
CtObj
.
C_SolveRemark
=
tempObj
.
C_SolveRemark
;
this
.
CtObj
.
C_ContractTotal
=
tempObj
.
C_ContractTotal
;
this
.
CtObj
.
C_ContractPer
=
tempObj
.
C_ContractPer
;
this
.
CtObj
.
C_StartAddress
=
tempObj
.
C_StartAddress
;
this
.
CtObj
.
C_ReturnAddress
=
tempObj
.
C_ReturnAddress
;
this
.
CtObj
.
C_TrafficType
=
tempObj
.
C_TrafficType
;
this
.
CtObj
.
C_BusCode
=
tempObj
.
C_BusCode
;
this
.
CtObj
.
C_DriverName
=
tempObj
.
C_DriverName
;
this
.
CtObj
.
C_IsHaveKongTiao
=
tempObj
.
C_IsHaveKongTiao
;
this
.
CtObj
.
C_BusType
=
tempObj
.
C_BusType
;
this
.
CtObj
.
C_BreakfastAddress
=
tempObj
.
C_BreakfastAddress
;
this
.
CtObj
.
C_BreakfastBasic
=
tempObj
.
C_BreakfastBasic
;
this
.
CtObj
.
C_LunchAddress
=
tempObj
.
C_LunchAddress
;
this
.
CtObj
.
C_LunchBasic
=
tempObj
.
C_LunchBasic
;
this
.
CtObj
.
C_DinnerAddress
=
tempObj
.
C_DinnerAddress
;
this
.
CtObj
.
C_DinnerBasic
=
tempObj
.
C_DinnerBasic
;
this
.
CtObj
.
C_IncludeRemark
=
tempObj
.
C_IncludeRemark
;
this
.
CtObj
.
C_IncludeFee
=
tempObj
.
C_IncludeFee
;
this
.
CtObj
.
C_NonIncludeRemark
=
tempObj
.
C_NonIncludeRemark
;
this
.
CtObj
.
TravelAgency_ServiceTel
=
tempObj
.
TravelAgency_ServiceTel
;
this
.
CtObj
.
C_ComplaintProvince
=
tempObj
.
C_ComplaintProvince
;
this
.
CtObj
.
C_ComplaintCity
=
tempObj
.
C_ComplaintCity
;
this
.
CtObj
.
C_ComplaintTel
=
tempObj
.
C_ComplaintTel
;
this
.
CtObj
.
C_ComplaintEmail
=
tempObj
.
C_ComplaintEmail
;
this
.
CtObj
.
C_ComplaintAddress
=
tempObj
.
C_ComplaintAddress
;
this
.
CtObj
.
C_ComplaintPostNum
=
tempObj
.
C_ComplaintPostNum
;
this
.
CtObj
.
C_ZhiFaTel
=
tempObj
.
C_ZhiFaTel
;
this
.
CtObj
.
C_XFZXHTSTel
=
tempObj
.
C_XFZXHTSTel
;
this
.
CtObj
.
C_TicketDayNum
=
tempObj
.
C_TicketDayNum
;
this
.
CtObj
.
C_OrderDayNum
=
tempObj
.
C_OrderDayNum
;
this
.
CtObj
.
C_PayDayNum
=
tempObj
.
C_PayDayNum
;
this
.
CtObj
.
C_SignType
=
tempObj
.
C_SignType
;
this
.
CtObj
.
OtherConventionPrice
=
tempObj
.
OtherConventionPrice
;
this
.
CtObj
.
OtherConvention
=
tempObj
.
OtherConvention
;
this
.
CtObj
.
OtherConventionPrice
=
tempObj
.
OtherConventionPrice
;
this
.
CtObj
.
TicketTotalNum
=
tempObj
.
TicketTotalNum
;
this
.
CtObj
.
TicketOutDayNum
=
tempObj
.
TicketOutDayNum
;
this
.
CtObj
.
TicketTotalDepositPrice
=
tempObj
.
TicketTotalDepositPrice
;
this
.
CtObj
.
HotelTotal
=
tempObj
.
HotelTotal
;
this
.
CtObj
.
HotelCheckInType
=
tempObj
.
HotelCheckInType
;
this
.
CtObj
.
HotelNotice
=
tempObj
.
HotelNotice
;
this
.
CtObj
.
HotelTotalPrice
=
tempObj
.
HotelTotalPrice
;
this
.
CtObj
.
PickUpTotalPrice
=
tempObj
.
PickUpTotalPrice
;
this
.
CtObj
.
VisaTotalPrice
=
tempObj
.
VisaTotalPrice
;
this
.
CtObj
.
TicketAndHotelTotalPrice
=
tempObj
.
TicketAndHotelTotalPrice
;
if
(
tempObj
.
ContractShopList
&&
tempObj
.
ContractShopList
!=
null
&&
tempObj
.
ContractShopList
.
length
>
0
)
{
this
.
CtObj
.
ContractShopList
=
tempObj
.
ContractShopList
;
}
else
{
this
.
CtObj
.
ContractShopList
=
[];
}
if
(
this
.
CtObj
.
ContractShopList
&&
this
.
CtObj
.
ContractShopList
!=
null
&&
this
.
CtObj
.
ContractShopList
.
length
>
0
)
{
this
.
CtObj
.
ContractShopList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
}
if
(
tempObj
.
ContractGuestList
&&
tempObj
.
ContractGuestList
!=
null
&&
tempObj
.
ContractGuestList
.
length
>
0
)
{
this
.
CtObj
.
ContractGuestList
=
tempObj
.
ContractGuestList
;
}
else
{
this
.
CtObj
.
ContractGuestList
=
[];
}
if
(
this
.
CtObj
.
ContractGuestList
&&
this
.
CtObj
.
ContractGuestList
!=
null
&&
this
.
CtObj
.
ContractGuestList
.
length
>
0
)
{
this
.
CtObj
.
ContractGuestList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
}
if
(
tempObj
.
ContractTripList
&&
tempObj
.
ContractTripList
!=
null
&&
tempObj
.
ContractTripList
.
length
>
0
)
{
this
.
CtObj
.
ContractTripList
=
tempObj
.
ContractTripList
;
}
else
{
this
.
CtObj
.
ContractTripList
=
[];
}
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
}
},
mounted
()
{
if
(
this
.
$route
.
query
.
id
&&
this
.
$route
.
query
.
id
>
0
)
{
this
.
CtObj
.
ID
=
this
.
$route
.
query
.
id
;
this
.
GetData
();
}
this
.
$nextTick
(
function
()
{
//滚动监听事件
window
.
addEventListener
(
"scroll"
,
this
.
menu
);
...
...
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