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
6dbbec8e
Commit
6dbbec8e
authored
Sep 10, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同
parent
c78a1ec9
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
746 additions
and
891 deletions
+746
-891
DomesticTravelcontract.vue
src/components/DomesticTravelcontract.vue
+95
-188
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+85
-45
SingleContract.vue
src/components/SingleContract.vue
+305
-442
TravelContractNew.vue
src/components/TravelContractNew.vue
+78
-23
ContractManage.vue
src/components/administrative/ContractManage.vue
+17
-1
ElectronicAudit.vue
src/components/administrative/ElectronicAudit.vue
+83
-20
onedayTripContract.vue
src/components/onedayTripContract.vue
+83
-164
config.js
src/router/config.js
+0
-8
No files found.
src/components/DomesticTravelcontract.vue
View file @
6dbbec8e
...
...
@@ -324,6 +324,11 @@
cursor
:
default
!important
;
box-shadow
:
none
!important
;
}
.ContractNum
{
font-size
:
16px
!important
;
color
:
#5882bb
;
margin-left
:
20px
;
}
</
style
>
<
template
>
...
...
@@ -338,9 +343,14 @@
<div
class=
"contractTit"
>
<span>
大陆居民境内旅游合同
<span
style=
"color:blue;font-size:14px;"
>
</span>
<span
class=
"ContractNum"
v-if=
"CtObj.T_ContractNum"
>
合同编号:
{{
CtObj
.
T_ContractNum
}}
</span>
</span>
<div
class=
"pull-right"
>
<input
v-if=
"CtObj.ThirdContractState == 1"
type=
"button"
class=
"TCbtn-info"
value=
"发送短信通知"
@
click=
"SMSnotification()"
/>
<input
v-if=
"CtObj.ThirdContractFileUrl"
type=
"button"
class=
"TCbtn-info"
@
click=
"window.open(CtObj.ThirdContractFileUrl)"
:value=
"$t('sm.yulan')"
/>
<input
v-if=
"CtObj.Status==0||CtObj.Status==3"
type=
"button"
class=
"TCbtn-info"
@
click=
"SubmitContract"
:value=
"$t('objFill.tijiaoshenhe')"
/>
<input
type=
"button"
class=
"btn-warning"
:class=
"
{'disClick':!isSubmit}" @click="submitForm('CtObj')"
:value="$t('pub.saveBtn')" />
</div>
...
...
@@ -1531,12 +1541,72 @@
trifficList
:
[],
tripList
:
[],
LineName
:
""
,
SMLoading
:
false
,
};
},
components
:
{
commonTripList
:
commonTripList
},
methods
:
{
//提交并盖章
SubmitContract
()
{
var
that
=
this
;
var
tipMsg
=
that
.
$t
(
'objFill.tijiaoshenhe'
);
var
postMsg
=
{
ID
:
this
.
CtObj
.
ID
,
Status
:
1
}
this
.
$confirm
(
tipMsg
,
this
.
$t
(
'tips.tips'
),
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
type
:
"warning"
,
}).
then
(()
=>
{
that
.
apipost
(
"travelcontract_post_UpdateTravelContractStatusService"
,
postMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
GetData
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
null
);
});
},
SMSnotification
(){
if
(
this
.
SMLoading
)
return
this
.
$confirm
(
"是否发送短信通知?"
,
this
.
$t
(
"tips.tips"
),
{
confirmButtonText
:
this
.
$t
(
"pub.sureBtn"
),
cancelButtonText
:
this
.
$t
(
"pub.cancelBtn"
),
type
:
"warning"
,
})
.
then
(()
=>
{
var
that
=
this
;
let
msg
=
{
ContractId
:
that
.
CtObj
.
ID
,
ContractType
:
1
,
}
this
.
SMLoading
=
true
that
.
apipost
(
"travelcontract_post_ReSendContract"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
SMLoading
=
false
that
.
Success
(
this
.
$t
(
'objFill.chaozuochenggong'
));
that
.
GetData
();
}
else
{
that
.
SMLoading
=
false
that
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{
that
.
SMLoading
=
false
}
);
})
.
catch
(()
=>
{
});
},
getDate
(
date
)
{
if
(
date
&&
date
!=
""
)
{
return
moment
(
date
).
format
(
"YYYY-MM-DD"
);
...
...
@@ -1609,6 +1679,7 @@
name
:
'DomesticTravelcontract'
,
query
:
queryMsg
});
this
.
GetData
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -1751,196 +1822,32 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempObj
=
res
.
data
.
data
;
this
.
CtObj
.
ID
=
tempObj
.
ID
;
if
(
tempObj
.
CType
)
{
this
.
CtObj
.
CType
=
tempObj
.
CType
;
}
this
.
CtObj
.
T_ContractNum
=
tempObj
.
T_ContractNum
;
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_Fax
=
tempObj
.
TravelAgency_Fax
;
this
.
CtObj
.
TravelAgency_PostNum
=
tempObj
.
TravelAgency_PostNum
;
this
.
CtObj
.
TravelAgency_Email
=
tempObj
.
TravelAgency_Email
;
if
(
this
.
CtObj
.
ID
==
0
)
{
this
.
CtObj
.
TravelAgency_SignAddress
=
"四川成都"
;
this
.
CtObj
.
TravelAgency_Tel
=
"028-81454056"
;
}
else
{
this
.
CtObj
.
TravelAgency_SignAddress
=
tempObj
.
TravelAgency_SignAddress
;
this
.
CtObj
.
TravelAgency_Tel
=
tempObj
.
TravelAgency_Tel
;
}
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
;
if
(
this
.
CtObj
.
ID
==
0
)
{
this
.
CtObj
.
TravelAgency_ServiceTel
=
"17708046437"
;
this
.
CtObj
.
C_ComplaintTel
=
"028-12345"
;
this
.
CtObj
.
TravelAgency_Tel
=
"028-81454056"
;
this
.
CtObj
.
C_ComplaintProvince
=
"四川省"
;
this
.
CtObj
.
C_ComplaintCity
=
"成都市"
;
}
else
{
this
.
CtObj
.
TravelAgency_ServiceTel
=
tempObj
.
TravelAgency_ServiceTel
;
this
.
CtObj
.
C_ComplaintTel
=
tempObj
.
C_ComplaintTel
;
this
.
CtObj
.
TravelAgency_Tel
=
tempObj
.
C_ComplaintTel
;
this
.
CtObj
.
C_ComplaintProvince
=
tempObj
.
C_ComplaintProvince
;
this
.
CtObj
.
C_ComplaintCity
=
tempObj
.
C_ComplaintCity
;
}
this
.
CtObj
=
tempObj
;
this
.
CtObj
.
CType
=
tempObj
.
CType
?
tempObj
.
CType
:
2
;
this
.
CtObj
.
C_IsAgreeRemove
=
tempObj
.
C_IsAgreeRemove
?
tempObj
.
C_IsAgreeRemove
:
0
;
this
.
CtObj
.
C_SolveType
=
tempObj
.
C_SolveType
?
tempObj
.
C_SolveType
:
2
;
this
.
CtObj
.
C_IsAgreeSpellGroup
=
tempObj
.
C_IsAgreeSpellGroup
?
tempObj
.
C_IsAgreeSpellGroup
:
1
;
this
.
CtObj
.
C_InsuranceType
=
tempObj
.
C_InsuranceType
?
tempObj
.
C_InsuranceType
:
1
;
this
.
CtObj
.
TravelAgency_Name
=
tempObj
.
TravelAgency_Name
?
tempObj
.
TravelAgency_Name
:
''
;
this
.
CtObj
.
TravelAgency_Address
=
tempObj
.
TravelAgency_Address
?
tempObj
.
TravelAgency_Address
:
''
;
this
.
CtObj
.
TravelAgency_LicenseNum
=
tempObj
.
TravelAgency_LicenseNum
?
tempObj
.
TravelAgency_LicenseNum
:
''
;
this
.
CtObj
.
ContractShopList
=
tempObj
.
ContractShopList
?
tempObj
.
ContractShopList
:[];
this
.
CtObj
.
ContractShopList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
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
.
SignType
=
tempObj
.
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
.
GuestNum
=
tempObj
.
GuestNum
;
if
(
tempObj
.
TravelAgency_Name
&&
tempObj
.
TravelAgency_Name
!=
''
)
{
this
.
CtObj
.
TravelAgency_Name
=
tempObj
.
TravelAgency_Name
;
}
if
(
tempObj
.
TravelAgency_Address
&&
tempObj
.
TravelAgency_Address
!=
''
)
{
this
.
CtObj
.
TravelAgency_Address
=
tempObj
.
TravelAgency_Address
;
}
if
(
tempObj
.
TravelAgency_LicenseNum
&&
tempObj
.
TravelAgency_LicenseNum
!=
''
)
{
this
.
CtObj
.
TravelAgency_LicenseNum
=
tempObj
.
TravelAgency_LicenseNum
;
}
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
;
});
}
this
.
CtObj
.
ContractGuestList
=
tempObj
.
ContractGuestList
?
tempObj
.
ContractGuestList
:[];
this
.
CtObj
.
ContractGuestList
.
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
.
ContractSelfFeeList
&&
tempObj
.
ContractSelfFeeList
!=
null
&&
tempObj
.
ContractSelfFeeList
.
length
>
0
)
{
this
.
CtObj
.
ContractSelfFeeList
=
tempObj
.
ContractSelfFeeList
;
}
else
{
this
.
CtObj
.
ContractSelfFeeList
=
[];
}
if
(
this
.
CtObj
.
ContractSelfFeeList
&&
this
.
CtObj
.
ContractSelfFeeList
!=
null
&&
this
.
CtObj
.
ContractSelfFeeList
.
length
>
0
)
{
this
.
CtObj
.
ContractSelfFeeList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
}
if
(
tempObj
.
ContractTripList
&&
tempObj
.
ContractTripList
!=
null
&&
tempObj
.
ContractTripList
.
length
>
0
)
{
this
.
CtObj
.
ContractTripList
=
tempObj
.
ContractTripList
;
}
else
{
this
.
CtObj
.
ContractSelfFeeList
=
tempObj
.
ContractSelfFeeList
?
tempObj
.
ContractSelfFeeList
:[];
this
.
CtObj
.
ContractSelfFeeList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
this
.
CtObj
.
ContractTripList
=
tempObj
.
ContractTripList
?
tempObj
.
ContractTripList
:[];
if
(
!
this
.
CtObj
.
ContractTripList
.
length
)
{
this
.
CtObj
.
ContractTripList
=
[];
var
tripObj
=
{
TripType
:
1
,
...
...
src/components/SalesModule/groupTourOrder.vue
View file @
6dbbec8e
<
style
>
@import
"../../assets/css/newTravelManager.css"
;
@import
'../common/BaseListManager.css'
;
@import
"../../assets/css/flex.css"
;
.color_red_order
{
color
:
#e95252
!important
;
}
...
...
@@ -1774,23 +1775,8 @@
</div>
<!-- 表格 -->
<div
style=
"width: 100%; height: auto; overflow-x: auto"
class=
"ownScrollbarStyle"
v-loading=
"loading"
>
<groupOrder
v-if=
"userInfo.SimpleEasy&&userInfo.SimpleEasy==1"
:list=
"list"
:orderList=
"orderList"
:logList=
"logList"
:redBagList=
"redBagList"
:qjGroupId=
"qjGroupId"
:isShow=
"isShow"
:showID=
"showID"
:TransferMission=
"TransferMission"
:isEditOrderCreate=
"isEditOrderCreate"
:isOP=
"isOP"
@
goIisDetail=
"goIisDetail"
@
goUrlTS=
"goUrlTS"
@
goContract=
"goContract"
@
goSingleContract=
"goSingleContract"
@
goProtocol=
"goProtocol"
@
goDisclaimer=
"goDisclaimer"
@
goInvetig=
"goInvetig"
@
SpecialAPP=
"SpecialAPP"
@
deleteItem=
"deleteItem"
@
ShenQingPhoto=
"ShenQingPhoto"
@
Discount=
"Discount"
@
goUrlAdd=
"goUrlAdd"
@
getOrderGender=
"getOrderGender"
@
transfer=
"transfer"
@
getHouse=
"getHouse"
@
toTrip=
"toTrip"
@
getSalerInfo=
"getSalerInfo"
@
getLogDetail=
"getLogDetail"
@
getRemarks=
"getRemarks"
@
getDetail=
"getDetail"
@
downLoadFile=
"downLoadFile"
@
getMembersDetail=
"getMembersDetail"
@
seeBJD=
"seeBJD"
@
gotoProduct=
"gotoProduct"
@
goUrlX=
"goUrlX"
@
getOrderDetail=
"getOrderDetail"
@
goUrlHappy=
"goUrlHappy"
@
getRedBag=
"getRedBag"
@
goUrlT=
"goUrlT"
@
setChargeLoss=
"setChargeLoss"
@
goUrlSFD=
"goUrlSFD"
@
uploadFileBtn=
"uploadFileBtn"
@
childByValue=
"childByValue"
></groupOrder>
<table
v-else
class=
"groupTourOrderSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
class=
"groupTourOrderSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"210"
>
{{ $t("fnc.danhao") }}
&
{{ $t("visa.v_tuanhao") }}
</th>
<th
width=
"120"
>
{{ $t("fnc.khxinxi") }}
</th>
...
...
@@ -2370,12 +2356,37 @@
<span>
{{isShow===index ? $t('objFill.yingcanctmzclh') : $t('objFill.xianshictmzclh')}}
</span>
</div>
<div
v-if=
"item.otherContractList&&(qjGroupId == userInfo.RB_Group_id || F_ContractManagement)"
>
<span
class=
"GO_Contract"
@
click=
"goSingleContract(item)"
>
{{item.otherContractList.length==0? $t('objFill.danxianght') : $t('objFill.chankandxht')}}
</span>
</div>
<div
v-if=
"
<div
class=
"row"
>
<div
v-if=
"item.otherContractList&&(qjGroupId == userInfo.RB_Group_id || F_ContractManagement)"
>
<span
class=
"GO_Contract"
@
click=
"goSingleContract(item)"
>
{{item.otherContractList.length==0? $t('objFill.danxianght') : $t('objFill.chankandxht')}}
</span>
</div>
<
template
v-if=
"item.otherContractList && item.otherContractList.length > 0"
>
<!--
{{
$t
(
'objFill.danxianght'
)
}}
: -->
<span
v-for=
"sItem in item.otherContractList"
class=
"GO_Contract mr-sm"
@
click=
"sItem.thirdContractID&&sItem.thirdContractFileUrl?window.open(sItem.thirdContractFileUrl):goSingleContract(item, sItem)"
>
<template
v-if=
"sItem.thirdContractID"
>
{{
sItem
.
tourists_Name
+
sItem
.
thirdContractID
}}
<span
v-if=
"sItem.thirdContractState==0"
class=
"c9e"
>
待上传
</span>
<span
v-if=
"sItem.thirdContractState==1"
class=
"c3FC4FF"
>
已生成
</span>
<span
v-if=
"sItem.thirdContractState==2"
class=
"c20C997"
>
已签署
</span>
<span
v-if=
"sItem.thirdContractState==3"
class=
"cF1416C"
>
已作废
</span>
<span
v-if=
"sItem.thirdContractState==4"
class=
"cff9800"
>
待签署
</span>
<span
v-if=
"sItem.thirdContractState==5"
class=
"c9e"
>
待作废
</span>
</
template
>
<
template
v-else
>
{{
sItem
.
tourists_Name
+
sItem
.
t_ContractNum
}}
<template
v-if=
"sItem.status==3"
>
<font
style=
"color:red"
>
{{
$t
(
'fnc.bohui'
)
}}
</font>
</
template
>
<
template
v-if=
"sItem.status==2"
>
<font
style=
"color:green"
>
{{
$t
(
'objFill.shenhetongguo'
)
}}
</font>
</
template
>
</template>
</span>
</template>
<div
v-if=
"
item.contractNum.length == 0 &&
(qjGroupId == userInfo.RB_Group_id || F_ContractManagement)
"
>
...
...
@@ -2384,17 +2395,36 @@
</div>
<div
v-else
>
<
template
v-if=
"item.contractNum && item.contractNum.length > 0"
>
<span
v-for=
"sItem in item.contractNum"
class=
"GO_Contract"
@
click=
"goContract(item, sItem)"
>
{{
sItem
.
client_Name
+
""
+
sItem
.
contractNum
}}
<template
v-if=
"sItem.auditContract==3"
>
<font
style=
"color:red"
>
{{
$t
(
'fnc.bohui'
)
}}
</font>
{{
$t
(
'objFill.chujinghet'
)
}}
:
<span
v-for=
"sItem in item.contractNum"
class=
"GO_Contract mr-sm"
@
click=
"sItem.thirdContractID&&sItem.thirdContractFileUrl?window.open(sItem.thirdContractFileUrl):goContract(item, sItem)"
>
<template
v-if=
"sItem.thirdContractID"
>
{{
sItem
.
client_Name
+
sItem
.
thirdContractID
}}
<span
v-if=
"sItem.thirdContractState==0"
class=
"c9e"
>
待上传
</span>
<span
v-if=
"sItem.thirdContractState==1"
class=
"c3FC4FF"
>
已生成
</span>
<span
v-if=
"sItem.thirdContractState==2"
class=
"c20C997"
>
已签署
</span>
<span
v-if=
"sItem.thirdContractState==3"
class=
"cF1416C"
>
已作废
</span>
<span
v-if=
"sItem.thirdContractState==4"
class=
"cff9800"
>
待签署
</span>
<span
v-if=
"sItem.thirdContractState==5"
class=
"c9e"
>
待作废
</span>
</
template
>
<
template
v-if=
"sItem.auditContract==2"
>
<font
style=
"color:green"
>
{{
$t
(
'objFill.shenhetongguo'
)
}}
</font>
<
template
v-else
>
{{
sItem
.
client_Name
+
""
+
sItem
.
contractNum
}}
<template
v-if=
"sItem.auditContract==3"
>
<font
style=
"color:red"
>
{{
$t
(
'fnc.bohui'
)
}}
</font>
</
template
>
<
template
v-if=
"sItem.auditContract==2"
>
<font
style=
"color:green"
>
{{
$t
(
'objFill.shenhetongguo'
)
}}
</font>
</
template
>
</template>
</span>
</template>
</div>
</div>
<div
v-if=
"item.orderBackScenicList!=null&&item.orderBackScenicList.length>0 "
style=
"width: 101%;border-top: 1px solid #cccccc;margin-top: 5px"
>
<span
style=
"color:red;margin-top: 10px;display: inline-block"
>
{{$t('ground.tuiJingdian')}}:
</span>
...
...
@@ -2729,9 +2759,21 @@
import
pinkDrawer
from
'../common/pinkDrawer.vue'
;
import
addOrder
from
'./components/addOrder.vue'
;
import
addConfig
from
"./components/addConfig.js"
;
import
groupOrder
from
"./components/groupOrder.vue"
;
import
editOPRemarks
from
"./components/editOPRemarks.vue"
;
export
default
{
components
:
{
payurlItem
:
payURL
,
payurlItem1
:
payURL1
,
tripDownLoadCommon
:
tripDownLoadCommon
,
updateSalesMan
:
updateSalesMan
,
commissionDialog
,
orderRemark
:
orderRemark
,
PriceDetail
,
DateLimit
,
pinkDrawer
,
addOrder
,
editOPRemarks
,
},
data
()
{
return
{
selectedSpotData
:
null
,
...
...
@@ -3074,20 +3116,6 @@
isOP
:
0
,
};
},
components
:
{
payurlItem
:
payURL
,
payurlItem1
:
payURL1
,
tripDownLoadCommon
:
tripDownLoadCommon
,
updateSalesMan
:
updateSalesMan
,
commissionDialog
,
orderRemark
:
orderRemark
,
PriceDetail
,
DateLimit
,
pinkDrawer
,
addOrder
,
groupOrder
,
editOPRemarks
,
},
filters
:
{
priceFormat
(
value
)
{
let
nStr
=
value
.
toFixed
(
2
);
...
...
@@ -3287,12 +3315,24 @@
});
},
//跳转单单项合同
goSingleContract
(
item
)
{
goSingleContract
(
item
,
sItem
)
{
let
query
=
{
TCID
:
item
.
tcid
,
orderID
:
item
.
orderId
,
}
this
.
OpenNewPage
(
'/ContractManage'
,
query
)
if
(
!
sItem
)
{
query
=
{
}
this
.
OpenNewPage
(
'/ContractManage'
,
query
)
}
else
{
query
=
{
...
query
,
id
:
sItem
.
id
,
}
this
.
OpenNewPage
(
'/SingleContract'
,
query
)
}
},
//跳转到保密协议
goProtocol
(
item
,
sItem
)
{
...
...
src/components/SingleContract.vue
View file @
6dbbec8e
...
...
@@ -311,6 +311,11 @@
cursor
:
default
!important
;
box-shadow
:
none
!important
;
}
.ContractNum
{
font-size
:
16px
!important
;
color
:
#5882bb
;
margin-left
:
20px
;
}
</
style
>
<
template
>
...
...
@@ -323,8 +328,14 @@
<div
class=
"contractTit"
>
<span>
单项委托协议
<span
class=
"ContractNum"
v-if=
"CtObj.T_ContractNum"
>
合同编号:
{{
CtObj
.
T_ContractNum
}}
</span>
</span>
<div
class=
"pull-right"
>
<input
v-if=
"CtObj.ThirdContractState == 1"
type=
"button"
class=
"TCbtn-info"
value=
"发送短信通知"
@
click=
"SMSnotification()"
/>
<input
v-if=
"CtObj.ThirdContractFileUrl"
type=
"button"
class=
"TCbtn-info"
@
click=
"window.open(CtObj.ThirdContractFileUrl)"
:value=
"$t('sm.yulan')"
/>
<input
v-if=
"CtObj.Status==0||CtObj.Status==3"
type=
"button"
class=
"TCbtn-info"
@
click=
"SubmitContract"
:value=
"$t('objFill.tijiaoshenhe')"
/>
<input
type=
"button"
class=
"btn-warning"
:class=
"
{'disClick':!isSubmit}" @click="submitForm('CtObj')"
:value="$t('pub.saveBtn')" />
</div>
...
...
@@ -1083,57 +1094,59 @@
<th>
机场建设费(
{{
getCurrencyStr
()
}}
/张)
</th>
<th
width=
"100"
>
{{
$t
(
'hotel.table_operat'
)
}}
</th>
</tr>
<tr
v-for=
"(item,index) in CtObj.ContractTicketAndHotel.ContractTickets"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
TicketTime
}}
</span>
<el-date-picker
v-else
v-model=
"item.TicketTime"
class=
"w150"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
''
></el-date-picker>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
StartPlace
}}
</span>
<el-input
v-else
type=
"text"
v-model=
"item.StartPlace"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
ArrivePlace
}}
</span>
<el-input
v-else
type=
"text"
v-model=
"item.ArrivePlace"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
FlightNum
}}
</span>
<el-input
v-else
type=
"text"
v-model=
"item.FlightNum"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
TicketSpace
}}
</span>
<el-select
v-else
v-model=
"item.TicketSpace"
>
<el-option
label=
"普通舱"
value=
"普通舱"
></el-option>
<el-option
label=
"公务舱"
value=
"公务舱"
></el-option>
<el-option
:label=
"$t('Airticket.Air_firstClass')"
value=
"头等舱"
></el-option>
</el-select>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
TicketPrice
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkPrice(item,'TicketPrice')"
v-model=
"item.TicketPrice"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
AirportPirce
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkPrice(item,'AirportPirce')"
v-model=
"item.AirportPirce"
></el-input>
</td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
v-if=
"item.IsShow==0"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"commonUpdate(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.saveBtn')"
placement=
"top-start"
v-if=
"item.IsShow==1"
>
<el-button
type=
"primary"
icon=
"iconfont icon-baocun"
circle
@
click=
"commonSave(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
>
<el-button
type=
"danger"
icon=
"el-icon-delete"
circle
@
click=
"delZuheTicket(index)"
></el-button>
</el-tooltip>
</td>
</tr>
<template
v-if=
"CtObj.ContractTicketAndHotel&&CtObj.ContractTicketAndHotel.ContractTickets.length"
>
<tr
v-for=
"(item,index) in CtObj.ContractTicketAndHotel.ContractTickets"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
TicketTime
}}
</span>
<el-date-picker
v-else
v-model=
"item.TicketTime"
class=
"w150"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
''
></el-date-picker>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
StartPlace
}}
</span>
<el-input
v-else
type=
"text"
v-model=
"item.StartPlace"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
ArrivePlace
}}
</span>
<el-input
v-else
type=
"text"
v-model=
"item.ArrivePlace"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
FlightNum
}}
</span>
<el-input
v-else
type=
"text"
v-model=
"item.FlightNum"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
TicketSpace
}}
</span>
<el-select
v-else
v-model=
"item.TicketSpace"
>
<el-option
label=
"普通舱"
value=
"普通舱"
></el-option>
<el-option
label=
"公务舱"
value=
"公务舱"
></el-option>
<el-option
:label=
"$t('Airticket.Air_firstClass')"
value=
"头等舱"
></el-option>
</el-select>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
TicketPrice
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkPrice(item,'TicketPrice')"
v-model=
"item.TicketPrice"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
AirportPirce
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkPrice(item,'AirportPirce')"
v-model=
"item.AirportPirce"
></el-input>
</td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
v-if=
"item.IsShow==0"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"commonUpdate(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.saveBtn')"
placement=
"top-start"
v-if=
"item.IsShow==1"
>
<el-button
type=
"primary"
icon=
"iconfont icon-baocun"
circle
@
click=
"commonSave(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
>
<el-button
type=
"danger"
icon=
"el-icon-delete"
circle
@
click=
"delZuheTicket(index)"
></el-button>
</el-tooltip>
</td>
</tr>
</
template
>
<tr>
<td
colspan=
"12"
style=
"text-align:right;"
>
<input
type=
"button"
class=
"TC_NewAddBtn"
@
click=
"addZuheTicket()"
value=
"+添加记录"
/>
...
...
@@ -1156,61 +1169,63 @@
<th>
儿童费用
</th>
<th
width=
"100"
>
{{$t('hotel.table_operat')}}
</th>
</tr>
<tr
v-for=
"(item,index) in CtObj.ContractTicketAndHotel.ContractHotels"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
HotelName
}}
</span>
<el-input
v-else
type=
"text"
v-model=
"item.HotelName"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
DoubleRoom
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkInteger(item,'DoubleRoom')"
v-model=
"item.DoubleRoom"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
SingleRoom
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkInteger(item,'SingleRoom')"
v-model=
"item.SingleRoom"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
ThirdRoom
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkInteger(item,'ThirdRoom')"
v-model=
"item.ThirdRoom"
>
</el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
CheckInDate
}}
</span>
<el-date-picker
v-else
class=
"w150"
v-model=
"item.CheckInDate"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
''
></el-date-picker>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
OutDate
}}
</span>
<el-date-picker
v-else
class=
"w150"
v-model=
"item.OutDate"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
''
></el-date-picker>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
AdultPrice
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkPrice(item,'AdultPrice')"
v-model=
"item.AdultPrice"
>
</el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
ChildrenPrice
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkPrice(item,'ChildrenPrice')"
v-model=
"item.ChildrenPrice"
></el-input>
</td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
v-if=
"item.IsShow==0"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"commonUpdate(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.saveBtn')"
placement=
"top-start"
v-if=
"item.IsShow==1"
>
<el-button
type=
"primary"
icon=
"iconfont icon-baocun"
circle
@
click=
"commonSave(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
>
<el-button
type=
"danger"
icon=
"el-icon-delete"
circle
@
click=
"delZuheHotel(index)"
></el-button>
</el-tooltip>
</td>
</tr>
<
template
v-if=
"CtObj.ContractTicketAndHotel&&CtObj.ContractTicketAndHotel.ContractHotels.length"
>
<tr
v-for=
"(item,index) in CtObj.ContractTicketAndHotel.ContractHotels"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
HotelName
}}
</span>
<el-input
v-else
type=
"text"
v-model=
"item.HotelName"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
DoubleRoom
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkInteger(item,'DoubleRoom')"
v-model=
"item.DoubleRoom"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
SingleRoom
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkInteger(item,'SingleRoom')"
v-model=
"item.SingleRoom"
></el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
ThirdRoom
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkInteger(item,'ThirdRoom')"
v-model=
"item.ThirdRoom"
>
</el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
CheckInDate
}}
</span>
<el-date-picker
v-else
class=
"w150"
v-model=
"item.CheckInDate"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
''
></el-date-picker>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
OutDate
}}
</span>
<el-date-picker
v-else
class=
"w150"
v-model=
"item.OutDate"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
''
></el-date-picker>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
AdultPrice
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkPrice(item,'AdultPrice')"
v-model=
"item.AdultPrice"
>
</el-input>
</td>
<td>
<span
v-if=
"item.IsShow==0"
>
{{
item
.
ChildrenPrice
}}
</span>
<el-input
v-else
type=
"text"
@
keyup
.
native=
"checkPrice(item,'ChildrenPrice')"
v-model=
"item.ChildrenPrice"
></el-input>
</td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
v-if=
"item.IsShow==0"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"commonUpdate(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.saveBtn')"
placement=
"top-start"
v-if=
"item.IsShow==1"
>
<el-button
type=
"primary"
icon=
"iconfont icon-baocun"
circle
@
click=
"commonSave(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('system.table_delete')"
placement=
"top-start"
>
<el-button
type=
"danger"
icon=
"el-icon-delete"
circle
@
click=
"delZuheHotel(index)"
></el-button>
</el-tooltip>
</td>
</tr>
</
template
>
<tr>
<td
colspan=
"12"
style=
"text-align:right;"
>
<input
type=
"button"
class=
"TC_NewAddBtn"
@
click=
"addZuheHotel()"
value=
"+添加记录"
/>
...
...
@@ -1394,6 +1409,8 @@
},
TCID
:
0
,
OrderId
:
0
,
Tourists_Sex
:
1
,
Tourists_IDType
:
1
,
},
rules
:
{
Tourists_Name
:
[{
...
...
@@ -1428,7 +1445,18 @@
}]
},
//菜单列表
menuArr
:
[
'合同基本信息'
,
'相关告知及提示'
,
'费用计算'
,
'游客信息'
,
'机票预订'
,
'酒店预订'
,
'接送服务'
,
'代办签证'
,
'服务组合(机票与酒店)'
,
'其他单项服务事宜'
],
menuArr
:
[
'合同基本信息'
,
'相关告知及提示'
,
'费用计算'
,
'游客信息'
,
'机票预订'
,
'酒店预订'
,
'接送服务'
,
'代办签证'
,
'服务组合(机票与酒店)'
,
'其他单项服务事宜'
],
ckedIndex
:
0
,
ckedAll
:
false
,
//旅客信息
...
...
@@ -1444,8 +1472,8 @@
//防止重复提交
isSubmit
:
true
,
//大写金额
AmountMoney
:
''
AmountMoney
:
''
,
SMLoading
:
false
,
};
},
filters
:
{
...
...
@@ -1454,6 +1482,65 @@
}
},
methods
:
{
//提交并盖章
SubmitContract
()
{
var
that
=
this
;
var
tipMsg
=
that
.
$t
(
'objFill.tijiaoshenhe'
);
var
postMsg
=
{
ID
:
this
.
CtObj
.
ID
,
Status
:
1
}
this
.
$confirm
(
tipMsg
,
this
.
$t
(
'tips.tips'
),
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
type
:
"warning"
,
}).
then
(()
=>
{
that
.
apipost
(
"travelcontract_post_UpdateTravelContractStatusService"
,
postMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
GetData
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
null
);
});
},
SMSnotification
(){
if
(
this
.
SMLoading
)
return
this
.
$confirm
(
"是否发送短信通知?"
,
this
.
$t
(
"tips.tips"
),
{
confirmButtonText
:
this
.
$t
(
"pub.sureBtn"
),
cancelButtonText
:
this
.
$t
(
"pub.cancelBtn"
),
type
:
"warning"
,
})
.
then
(()
=>
{
var
that
=
this
;
let
msg
=
{
ContractId
:
that
.
CtObj
.
ID
,
ContractType
:
2
,
}
this
.
SMLoading
=
true
that
.
apipost
(
"travelcontract_post_ReSendContract"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
SMLoading
=
false
that
.
Success
(
this
.
$t
(
'objFill.chaozuochenggong'
));
that
.
GetData
();
}
else
{
that
.
SMLoading
=
false
that
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{
that
.
SMLoading
=
false
}
);
})
.
catch
(()
=>
{
});
},
getCurrencyStr
()
{
var
str
=
"元"
;
if
(
this
.
CtObj
.
SignType
==
1
)
{
...
...
@@ -1495,6 +1582,7 @@
id
:
res
.
data
.
data
,
}
});
this
.
GetData
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -1634,9 +1722,12 @@
//添加机票加酒店服务组合的机票
addZuheTicket
()
{
this
.
CtObj
.
ContractTicketAndHotel
.
ContractTickets
.
forEach
((
x
,
index
)
=>
{
if
(
this
.
CtObj
.
ContractTicketAndHotel
)
this
.
CtObj
.
ContractTicketAndHotel
.
ContractTickets
.
forEach
((
x
,
index
)
=>
{
x
.
IsShow
=
0
;
});
else
this
.
CtObj
.
ContractTicketAndHotel
=
{
ContractTickets
:
[],
}
let
obj
=
{
TicketTime
:
""
,
// 时间
StartPlace
:
""
,
// 出发地
...
...
@@ -1677,347 +1768,119 @@
},
//滚动条滚动选中tab
menu
()
{
var
_self
=
this
;
_self
.
scroll
=
(
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
)
+
70
;
//滑动到指定位置相应菜单高亮
var
a_0
=
this
.
$refs
.
anchor0
.
offsetTop
;
var
a_1
=
this
.
$refs
.
anchor1
.
offsetTop
;
var
a_2
=
this
.
$refs
.
anchor2
.
offsetTop
;
var
a_3
=
this
.
$refs
.
anchor3
.
offsetTop
;
var
a_4
=
this
.
$refs
.
anchor4
.
offsetTop
;
var
a_5
=
this
.
$refs
.
anchor5
.
offsetTop
;
var
a_6
=
this
.
$refs
.
anchor6
.
offsetTop
;
var
a_7
=
this
.
$refs
.
anchor7
.
offsetTop
;
var
a_8
=
this
.
$refs
.
anchor7
.
offsetTop
;
var
a_9
=
this
.
$refs
.
anchor7
.
offsetTop
;
if
(
_self
.
scroll
<
a_0
)
{
this
.
ckedIndex
=
0
}
else
if
(
_self
.
scroll
>
a_0
&&
_self
.
scroll
<
a_1
)
{
this
.
ckedIndex
=
1
}
else
if
(
_self
.
scroll
>
a_2
&&
_self
.
scroll
<
a_3
)
{
this
.
ckedIndex
=
2
}
else
if
(
_self
.
scroll
>
a_3
&&
_self
.
scroll
<
a_4
)
{
this
.
ckedIndex
=
3
}
else
if
(
_self
.
scroll
>
a_4
&&
_self
.
scroll
<
a_5
)
{
this
.
ckedIndex
=
4
}
else
if
(
_self
.
scroll
>
a_5
&&
_self
.
scroll
<
a_6
)
{
this
.
ckedIndex
=
5
}
else
if
(
_self
.
scroll
>
a_6
&&
_self
.
scroll
<
a_7
)
{
this
.
ckedIndex
=
6
}
else
if
(
_self
.
scroll
>
a_7
&&
_self
.
scroll
<
a_8
)
{
this
.
ckedIndex
=
7
}
else
if
(
_self
.
scroll
>
a_8
&&
_self
.
scroll
<
a_9
)
{
this
.
ckedIndex
=
8
if
(
this
.
$refs
.
anchor0
&&
this
.
$refs
.
anchor0
.
offsetTop
&&
this
.
$refs
.
anchor1
&&
this
.
$refs
.
anchor1
.
offsetTop
&&
this
.
$refs
.
anchor2
&&
this
.
$refs
.
anchor2
.
offsetTop
&&
this
.
$refs
.
anchor3
&&
this
.
$refs
.
anchor3
.
offsetTop
&&
this
.
$refs
.
anchor4
&&
this
.
$refs
.
anchor4
.
offsetTop
&&
this
.
$refs
.
anchor5
&&
this
.
$refs
.
anchor5
.
offsetTop
&&
this
.
$refs
.
anchor6
&&
this
.
$refs
.
anchor6
.
offsetTop
&&
this
.
$refs
.
anchor7
&&
this
.
$refs
.
anchor7
.
offsetTop
&&
this
.
$refs
.
anchor8
&&
this
.
$refs
.
anchor8
.
offsetTop
){
var
_self
=
this
;
_self
.
scroll
=
(
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
)
+
70
;
//滑动到指定位置相应菜单高亮
var
a_0
=
this
.
$refs
.
anchor0
.
offsetTop
;
var
a_1
=
this
.
$refs
.
anchor1
.
offsetTop
;
var
a_2
=
this
.
$refs
.
anchor2
.
offsetTop
;
var
a_3
=
this
.
$refs
.
anchor3
.
offsetTop
;
var
a_4
=
this
.
$refs
.
anchor4
.
offsetTop
;
var
a_5
=
this
.
$refs
.
anchor5
.
offsetTop
;
var
a_6
=
this
.
$refs
.
anchor6
.
offsetTop
;
var
a_7
=
this
.
$refs
.
anchor7
.
offsetTop
;
var
a_8
=
this
.
$refs
.
anchor7
.
offsetTop
;
var
a_9
=
this
.
$refs
.
anchor7
.
offsetTop
;
if
(
_self
.
scroll
<
a_0
)
{
this
.
ckedIndex
=
0
}
else
if
(
_self
.
scroll
>
a_0
&&
_self
.
scroll
<
a_1
)
{
this
.
ckedIndex
=
1
}
else
if
(
_self
.
scroll
>
a_2
&&
_self
.
scroll
<
a_3
)
{
this
.
ckedIndex
=
2
}
else
if
(
_self
.
scroll
>
a_3
&&
_self
.
scroll
<
a_4
)
{
this
.
ckedIndex
=
3
}
else
if
(
_self
.
scroll
>
a_4
&&
_self
.
scroll
<
a_5
)
{
this
.
ckedIndex
=
4
}
else
if
(
_self
.
scroll
>
a_5
&&
_self
.
scroll
<
a_6
)
{
this
.
ckedIndex
=
5
}
else
if
(
_self
.
scroll
>
a_6
&&
_self
.
scroll
<
a_7
)
{
this
.
ckedIndex
=
6
}
else
if
(
_self
.
scroll
>
a_7
&&
_self
.
scroll
<
a_8
)
{
this
.
ckedIndex
=
7
}
else
if
(
_self
.
scroll
>
a_8
&&
_self
.
scroll
<
a_9
)
{
this
.
ckedIndex
=
8
}
}
},
GetData
()
{
this
.
apipost
(
"travelcontract_get_GetTravelContractService"
,
{
ID
:
this
.
CtObj
.
ID
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
.
T_ContractNum
=
tempObj
.
T_ContractNum
;
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
.
SignType
=
tempObj
.
SignType
;
this
.
CtObj
.
TravelAgency_Name
=
tempObj
.
TravelAgency_Name
;
this
.
CtObj
.
TravelAgency_Address
=
tempObj
.
TravelAgency_Address
;
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
.
ContractSelfFeeList
&&
tempObj
.
ContractSelfFeeList
!=
null
&&
tempObj
.
ContractSelfFeeList
.
length
>
0
)
{
this
.
CtObj
.
ContractSelfFeeList
=
tempObj
.
ContractSelfFeeList
;
}
else
{
this
.
CtObj
.
ContractSelfFeeList
=
[];
}
if
(
this
.
CtObj
.
ContractSelfFeeList
&&
this
.
CtObj
.
ContractSelfFeeList
!=
null
&&
this
.
CtObj
.
ContractSelfFeeList
.
length
>
0
)
{
this
.
CtObj
.
ContractSelfFeeList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
}
if
(
tempObj
.
ContractTripList
&&
tempObj
.
ContractTripList
!=
null
&&
tempObj
.
ContractTripList
.
length
>
0
)
{
this
.
CtObj
.
ContractTripList
=
tempObj
.
ContractTripList
;
}
else
{
this
.
CtObj
.
ContractTripList
=
[];
}
if
(
this
.
CtObj
.
ContractTripList
&&
this
.
CtObj
.
ContractTripList
!=
null
&&
this
.
CtObj
.
ContractTripList
.
length
>
0
)
{
this
.
CtObj
.
ContractTripList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
}
if
(
tempObj
.
ContractTicketList
&&
tempObj
.
ContractTicketList
!=
null
&&
tempObj
.
ContractTicketList
.
length
>
0
)
{
this
.
CtObj
.
ContractTicketList
=
tempObj
.
ContractTicketList
;
}
else
{
this
.
CtObj
.
ContractTicketList
=
[];
}
if
(
this
.
CtObj
.
ContractTicketList
&&
this
.
CtObj
.
ContractTicketList
!=
null
&&
this
.
CtObj
.
ContractTicketList
.
length
>
0
)
{
this
.
CtObj
.
ContractTicketList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
}
if
(
tempObj
.
ContractHotelList
&&
tempObj
.
ContractHotelList
!=
null
&&
tempObj
.
ContractHotelList
.
length
>
0
)
{
this
.
CtObj
.
ContractHotelList
=
tempObj
.
ContractHotelList
;
}
else
{
this
.
CtObj
.
ContractHotelList
=
[];
}
if
(
this
.
CtObj
.
ContractHotelList
&&
this
.
CtObj
.
ContractHotelList
!=
null
&&
this
.
CtObj
.
ContractHotelList
.
length
>
0
)
{
this
.
CtObj
.
ContractHotelList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
}
if
(
tempObj
.
ContractPickUpList
&&
tempObj
.
ContractPickUpList
!=
null
&&
tempObj
.
ContractPickUpList
.
length
>
0
)
{
this
.
CtObj
.
ContractPickUpList
=
tempObj
.
ContractPickUpList
;
}
else
{
this
.
CtObj
.
ContractPickUpList
=
[];
}
if
(
this
.
CtObj
.
ContractPickUpList
&&
this
.
CtObj
.
ContractPickUpList
!=
null
&&
this
.
CtObj
.
ContractPickUpList
.
length
>
0
)
{
this
.
CtObj
.
ContractPickUpList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
}
if
(
tempObj
.
ContractVisaList
&&
tempObj
.
ContractVisaList
!=
null
&&
tempObj
.
ContractVisaList
.
length
>
0
)
{
this
.
CtObj
.
ContractVisaList
=
tempObj
.
ContractVisaList
;
}
else
{
this
.
CtObj
.
ContractVisaList
=
[];
}
if
(
this
.
CtObj
.
ContractVisaList
&&
this
.
CtObj
.
ContractVisaList
!=
null
&&
this
.
CtObj
.
ContractVisaList
.
length
>
0
)
{
this
.
CtObj
.
ContractVisaList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
}
if
(
tempObj
.
ContractTicketAndHotel
.
ContractTickets
&&
tempObj
.
ContractTicketAndHotel
.
ContractTickets
!=
null
&&
tempObj
.
ContractTicketAndHotel
.
ContractTickets
.
length
>
0
)
{
this
.
CtObj
.
ContractTicketAndHotel
.
ContractTickets
=
tempObj
.
ContractTicketAndHotel
.
ContractTickets
;
}
else
{
this
.
CtObj
.
ContractTicketAndHotel
.
ContractTickets
=
[];
}
if
(
this
.
CtObj
.
ContractTicketAndHotel
.
ContractTickets
&&
this
.
CtObj
.
ContractTicketAndHotel
.
ContractTickets
!=
null
&&
this
.
CtObj
.
ContractTicketAndHotel
.
ContractTickets
.
length
>
0
)
{
this
.
CtObj
.
ContractTicketAndHotel
.
ContractTickets
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
}
if
(
tempObj
.
ContractTicketAndHotel
.
ContractHotels
&&
tempObj
.
ContractTicketAndHotel
.
ContractHotels
!=
null
&&
tempObj
.
ContractTicketAndHotel
.
ContractHotels
.
length
>
0
)
{
this
.
CtObj
.
ContractTicketAndHotel
.
ContractHotels
=
tempObj
.
ContractTicketAndHotel
.
ContractHotels
;
}
else
{
this
.
CtObj
.
ContractTicketAndHotel
.
ContractHotels
=
[];
}
if
(
this
.
CtObj
.
ContractTicketAndHotel
.
ContractHotels
&&
this
.
CtObj
.
ContractTicketAndHotel
.
ContractHotels
!=
null
&&
this
.
CtObj
.
ContractTicketAndHotel
.
ContractHotels
.
length
>
0
)
{
this
.
CtObj
.
ContractTicketAndHotel
.
ContractHotels
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
}
this
.
CtObj
=
tempObj
this
.
CtObj
.
CType
=
tempObj
.
CType
?
tempObj
.
CType
:
1
;
this
.
CtObj
.
Tourists_Sex
=
!
tempObj
.
Tourists_Sex
?
'1'
:
tempObj
.
Tourists_Sex
.
toString
();
this
.
CtObj
.
Tourists_IDType
=
!
tempObj
.
Tourists_IDType
?
'1'
:
tempObj
.
Tourists_IDType
.
toString
();
this
.
CtObj
.
OtherTNumber
=
!
tempObj
.
OtherTNumber
?
''
:
tempObj
.
OtherTNumber
;
this
.
CtObj
.
VisaTNumber
=
!
tempObj
.
VisaTNumber
?
''
:
tempObj
.
VisaTNumber
;
this
.
CtObj
.
PickUpTNumber
=
!
tempObj
.
PickUpTNumber
?
''
:
tempObj
.
PickUpTNumber
;
let
userInfo
=
this
.
getLocalStorage
();
this
.
CtObj
.
TravelAgency_Name
=
tempObj
.
TravelAgency_Name
?
tempObj
.
TravelAgency_Name
:
userInfo
.
GroupName
;
this
.
CtObj
.
ContractShopList
=
tempObj
.
ContractShopList
?
tempObj
.
ContractShopList
:[];
this
.
CtObj
.
ContractShopList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
this
.
CtObj
.
ContractGuestList
=
tempObj
.
ContractGuestList
?
tempObj
.
ContractGuestList
:[];
this
.
CtObj
.
ContractGuestList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
this
.
CtObj
.
ContractSelfFeeList
=
tempObj
.
ContractSelfFeeList
?
tempObj
.
ContractSelfFeeList
:[];
this
.
CtObj
.
ContractSelfFeeList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
this
.
CtObj
.
ContractTripList
=
tempObj
.
ContractTripList
?
tempObj
.
ContractTripList
:[];
this
.
CtObj
.
ContractTripList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
this
.
CtObj
.
ContractTicketList
=
tempObj
.
ContractTicketList
?
tempObj
.
ContractTicketList
:[];
this
.
CtObj
.
ContractTicketList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
this
.
CtObj
.
ContractHotelList
=
tempObj
.
ContractHotelList
?
tempObj
.
ContractHotelList
:[];
this
.
CtObj
.
ContractHotelList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
this
.
CtObj
.
ContractPickUpList
=
tempObj
.
ContractPickUpList
?
tempObj
.
ContractPickUpList
:[];
this
.
CtObj
.
ContractPickUpList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
this
.
CtObj
.
ContractVisaList
=
tempObj
.
ContractVisaList
?
tempObj
.
ContractVisaList
:[];
this
.
CtObj
.
ContractVisaList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
this
.
CtObj
.
ContractTicketAndHotel
=
tempObj
.
ContractTicketAndHotel
?
tempObj
.
ContractTicketAndHotel
:{
ContractTickets
:[]};
this
.
CtObj
.
ContractTicketAndHotel
.
ContractTickets
=
tempObj
.
ContractTicketAndHotel
&&
tempObj
.
ContractTicketAndHotel
.
ContractTickets
?
tempObj
.
ContractTicketAndHotel
.
ContractTickets
:[];
this
.
CtObj
.
ContractTicketAndHotel
.
ContractTickets
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
this
.
CtObj
.
ContractTicketAndHotel
.
ContractHotels
=
tempObj
.
ContractTicketAndHotel
.
ContractHotels
?
tempObj
.
ContractTicketAndHotel
.
ContractHotels
:[];
this
.
CtObj
.
ContractTicketAndHotel
.
ContractHotels
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
if
(
this
.
CtObj
.
C_TotalPrice
&&
this
.
CtObj
.
ContractTicketAndHotel
.
ContractHotels
!=
null
)
{
this
.
number_chinese
(
this
.
CtObj
.
C_TotalPrice
);
...
...
src/components/TravelContractNew.vue
View file @
6dbbec8e
...
...
@@ -282,6 +282,11 @@
.TC_LASTTD
div
{
margin-bottom
:
10px
;
}
.ContractNum
{
font-size
:
16px
!important
;
color
:
#5882bb
;
margin-left
:
20px
;
}
</
style
>
<
template
>
...
...
@@ -296,11 +301,12 @@
<div
class=
"contractTit"
>
<span>
{{
CtObj
.
company
}}
团队出境旅游合同
<span
style=
"color: blue; font-size: 14px; font-weight: bold"
>
{{
CtObj
.
contractNum
}}
</span>
<span
class=
"ContractNum"
v-if=
"CtObj.contractNum"
>
合同编号:
{{
CtObj
.
contractNum
}}
</span>
</span>
<div
class=
"pull-right"
>
<input
v-if=
"CtObj.thirdContractState == 1"
type=
"button"
class=
"TCbtn-info"
value=
"发送短信通知"
@
click=
"SMSnotification()"
/>
<input
v-if=
"CtObj.thirdContractFileUrl"
type=
"button"
class=
"TCbtn-info"
@
click=
"window.open(CtObj.thirdContractState)"
:value=
"$t('sm.yulan')"
/>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"CtObj.companySignature == '' && CtObj.auditContract == 2"
@
click=
"(isShowFade = true), GetQrCode()"
value=
"客户签字链接"
/>
<span
v-if=
"CtObj.auditContract == 1"
style=
"font-size: 12px; color: red"
>
等待行政审批通过后获取签字链接
</span>
...
...
@@ -323,12 +329,14 @@
</
template
>
<
template
v-if=
"CtObj.auditContract != 2"
>
<el-button
type=
"primary"
size=
"medium"
@
click=
"submitForm('CtObj')"
:loading=
"SaveLoading"
>
{{
$t
(
'pub.saveBtn'
)
}}
</el-button>
<input
class=
"btn-warning"
type=
"button"
@
click=
"submitForm('CtObj')"
:loading=
"SaveLoading"
:value=
"$t('pub.saveBtn')"
></input>
</
template
>
<
template
v-if=
"CurrentUserInfo.EmployeeId == 615"
>
<el-button
type=
"primary"
size=
"medium"
@
click=
"submitForm('CtObj')"
:loading=
"SaveLoading"
>
{{
$t
(
'pub.saveBtn'
)
}}
(S)
</el-button>
<input
class=
"btn-warning"
type=
"button"
@
click=
"submitForm('CtObj')"
:loading=
"SaveLoading"
:value=
"$t('pub.saveBtn')+'(S)'"
></input>
</
template
>
</div>
</div>
...
...
@@ -648,7 +656,8 @@
<tr>
<td>
<el-form-item
label=
"尾款支付日期"
prop=
"payDate"
>
<el-input
type=
"text"
class=
"w300"
v-model=
"CtObj.payDate"
></el-input>
<el-date-picker
type=
"date"
class=
"w300"
v-model=
"CtObj.payDate"
value-format=
"yyyy-MM-dd"
placeholder=
"支付日期选择"
:clearable=
"false"
></el-date-picker>
</el-form-item>
</td>
</tr>
...
...
@@ -1705,12 +1714,48 @@
backGuest
:
[],
content
:
"发送短信"
,
//按钮显示内容
SaveLoading
:
false
,
//保存Loading
SMLoading
:
false
,
};
},
components
:
{
"my-edit"
:
MyEdit
},
methods
:
{
SMSnotification
(){
if
(
this
.
SMLoading
)
return
this
.
$confirm
(
"是否发送短信通知?"
,
this
.
$t
(
"tips.tips"
),
{
confirmButtonText
:
this
.
$t
(
"pub.sureBtn"
),
cancelButtonText
:
this
.
$t
(
"pub.cancelBtn"
),
type
:
"warning"
,
})
.
then
(()
=>
{
var
that
=
this
;
let
msg
=
{
ContractId
:
that
.
CtObj
.
Id
,
ContractType
:
1
,
}
this
.
SMLoading
=
true
that
.
apipost
(
"travelcontract_post_ReSendContract"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
SMLoading
=
false
that
.
Success
(
this
.
$t
(
'objFill.chaozuochenggong'
));
that
.
getList
()
}
else
{
that
.
SMLoading
=
false
that
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{
that
.
SMLoading
=
false
}
);
})
.
catch
(()
=>
{
});
},
AddGuest
()
{
this
.
CtObj
.
guestInfo
.
push
({
Name
:
""
,
...
...
@@ -2081,21 +2126,31 @@
});
},
sendAudit
()
{
this
.
apipost
(
"travelcontract_get_UpdateAuditContractService"
,
{
AuditContract
:
1
,
Id
:
this
.
CtObj
.
Id
,
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
var
that
=
this
;
var
tipMsg
=
that
.
$t
(
'objFill.tijiaoshenhe'
);
var
postMsg
=
{
ID
:
this
.
CtObj
.
Id
,
Status
:
1
}
this
.
$confirm
(
tipMsg
,
this
.
$t
(
'tips.tips'
),
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
type
:
"warning"
,
}).
then
(()
=>
{
this
.
apipost
(
"travelcontract_get_UpdateAuditContractService"
,
postMsg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
});
},
//添加补充协议
addRecord
()
{
...
...
src/components/administrative/ContractManage.vue
View file @
6dbbec8e
<
style
>
@import
"../../assets/css/flex.css"
;
/*灰色遮罩层*/
.ContractManage
.fade
{
width
:
100%
;
...
...
@@ -163,10 +164,11 @@
<th
width=
"100"
>
{{
$t
(
'visa.v_tuanhao'
)
}}
</th>
<th
width=
"150"
>
{{
$t
(
'hotel.product_name'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'objFill.hetongzt'
)
}}
</th>
<th
width=
"100"
>
旅游局合同
</th>
<th
width=
"100"
>
{{
$t
(
'active.cl_addPp'
)
}}
</th>
<th
width=
"120"
>
{{
$t
(
'fnc.cjshijian'
)
}}
</th>
<th
width=
"120"
>
{{
$t
(
'objFill.shifougz'
)
}}
</th>
<th
width=
"
13
0"
>
{{
$t
(
'hotel.table_operat'
)
}}
</th>
<th
width=
"
20
0"
>
{{
$t
(
'hotel.table_operat'
)
}}
</th>
</tr>
<tr
v-for=
"(item, index) in dataList"
:key=
"index"
>
<td>
{{
item
.
ID
}}
...
...
@@ -194,6 +196,20 @@
<td>
{{ item.C_TCNUM }}
</td>
<td>
{{ item.C_ProductName }}
</td>
<td>
{{ item.StatusStr }}
</td>
<td>
<span
v-if=
"item.ThirdContractID"
class=
""
:class=
"[item.ThirdContractFileUrl?'pointer c059FF6':'']"
@
click=
"item.ThirdContractFileUrl?window.open(item.ThirdContractFileUrl):''"
>
{{item.ThirdContractID}}
<span
v-if=
"item.ThirdContractState==0"
class=
"c9e"
>
待上传
</span>
<span
v-if=
"item.ThirdContractState==1"
class=
"c3FC4FF"
>
已生成
</span>
<span
v-if=
"item.ThirdContractState==2"
class=
"c20C997"
>
已签署
</span>
<span
v-if=
"item.ThirdContractState==3"
class=
"cF1416C"
>
已作废
</span>
<span
v-if=
"item.ThirdContractState==4"
class=
"cff9800"
>
待签署
</span>
<span
v-if=
"item.ThirdContractState==5"
class=
"c9e"
>
待作废
</span>
</span>
<
template
v-else
>
-
</
template
>
</td>
<td>
{{ item.CreateByName }}
</td>
<td>
{{ item.CreateTimeStr }}
</td>
<td>
<span
v-if=
"item.IsTravelAgencySignature==0"
>
{{$t('objFill.weigaizhang')}}
</span>
...
...
src/components/administrative/ElectronicAudit.vue
View file @
6dbbec8e
<
style
>
@import
"../../assets/css/flex.css"
;
.shenheInfoBox
{
display
:
flex
;
flex-direction
:
row
;
...
...
@@ -128,6 +129,7 @@
<th
width=
"100"
>
{{
$t
(
'hotel.hotel_StarDate'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'sm.fanhuiDate'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'hotel.hotel_status'
)
}}
</th>
<th
width=
"80"
>
旅游局合同
</th>
<th
width=
"80"
>
{{
$t
(
'objFill.shifougz'
)
}}
</th>
<th
width=
"125"
>
{{
$t
(
'active.cl_addPp'
)
}}
</th>
<th
width=
"200"
>
{{
$t
(
'hotel.table_operat'
)
}}
</th>
...
...
@@ -148,6 +150,20 @@
<span
v-if=
"item.AuditContract==1"
style=
"color:blue;"
>
{{
$t
(
'objFill.dsh'
)
}}
</span>
<span
v-if=
"item.AuditContract==2"
style=
"color:green;"
>
{{
$t
(
'objFill.shenhetongguo'
)
}}
</span>
</td>
<td>
<span
v-if=
"item.ThirdContractID"
:class=
"[item.ThirdContractFileUrl?'c3FC4FF pointer':'']"
@
click=
"item.ThirdContractFileUrl?window.open(item.ThirdContractFileUrl):''"
>
{{
item
.
ThirdContractID
}}
<span
v-if=
"item.ThirdContractState==0"
class=
"c9e"
>
待上传
</span>
<span
v-if=
"item.ThirdContractState==1"
class=
"c3FC4FF"
>
已生成
</span>
<span
v-if=
"item.ThirdContractState==2"
class=
"c20C997"
>
已签署
</span>
<span
v-if=
"item.ThirdContractState==3"
class=
"cF1416C"
>
已作废
</span>
<span
v-if=
"item.ThirdContractState==4"
class=
"cff9800"
>
待签署
</span>
<span
v-if=
"item.ThirdContractState==5"
class=
"c9e"
>
待作废
</span>
</span>
<template
v-else
>
-
</
template
>
</td>
<td>
<span
v-if=
"item.IsTravelAgencySignature==0"
>
{{$t('objFill.weigaizhang')}}
</span>
<span
v-if=
"item.IsTravelAgencySignature==1"
style=
"color:green;"
>
{{$t('objFill.yigaizhnag')}}
</span>
...
...
@@ -301,6 +317,7 @@
<th
width=
"100"
>
{{
$t
(
'visa.v_tuanhao'
)
}}
</th>
<th
width=
"150"
>
{{
$t
(
'hotel.product_name'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'objFill.hetongzt'
)
}}
</th>
<th
width=
"100"
>
旅游局合同
</th>
<th
width=
"100"
>
{{
$t
(
'active.cl_addPp'
)
}}
</th>
<th
width=
"120"
>
{{
$t
(
'fnc.cjshijian'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'objFill.shifougz'
)
}}
</th>
...
...
@@ -335,6 +352,20 @@
<span
v-else-if=
"item.Status==2"
style=
"color:green;"
>
{{$t('objFill.shenhetongguo')}}
</span>
<span
v-else
>
{{item.StatusStr}}
</span>
</td>
<td>
<span
v-if=
"item.ThirdContractID"
:class=
"[item.ThirdContractFileUrl?'c3FC4FF pointer':'']"
@
click=
"item.ThirdContractFileUrl?window.open(item.ThirdContractFileUrl):''"
>
{{item.ThirdContractID}}
<span
v-if=
"item.ThirdContractState==0"
class=
"c9e"
>
待上传
</span>
<span
v-if=
"item.ThirdContractState==1"
class=
"c3FC4FF"
>
已生成
</span>
<span
v-if=
"item.ThirdContractState==2"
class=
"c20C997"
>
已签署
</span>
<span
v-if=
"item.ThirdContractState==3"
class=
"cF1416C"
>
已作废
</span>
<span
v-if=
"item.ThirdContractState==4"
class=
"cff9800"
>
待签署
</span>
<span
v-if=
"item.ThirdContractState==5"
class=
"c9e"
>
待作废
</span>
</span>
<
template
v-else
>
-
</
template
>
</td>
<td>
{{ item.CreateByName }}
</td>
<td>
{{ item.CreateTimeStr }}
</td>
<td>
...
...
@@ -630,6 +661,7 @@
Id
:
0
,
//合同编号
AuditContract
:
0
,
//审核状态
AuditContractReason
:
""
,
//审核原因
IsApplyContract
:
0
,
//1 提交到旅游局
},
BoHuiObj
:
{
C_DayNum
:
''
,
...
...
@@ -715,10 +747,22 @@
},
//显示合同弹窗
showContractDialog
(
item
,
type
)
{
let
that
=
this
this
.
auditMsg
.
Id
=
item
.
Id
;
this
.
auditMsg
.
AuditContract
=
type
;
if
(
type
==
2
)
{
this
.
AuditElec
();
this
.
$confirm
(
'是否提交到旅游局'
,
this
.
$t
(
'tips.tips'
),
{
confirmButtonText
:
'确认提交到旅游局'
,
cancelButtonText
:
'通过'
,
type
:
"warning"
,
}).
then
(()
=>
{
that
.
auditMsg
.
IsApplyContract
=
1
that
.
AuditElec
();
}).
catch
(()
=>
{
that
.
auditMsg
.
IsApplyContract
=
0
that
.
AuditElec
();
});
}
else
{
this
.
hetongTitle
=
`
${
this
.
$t
(
'objFill.v101.administrative.hetongbohui'
)}
`
this
.
isShowContract
=
true
;
...
...
@@ -732,6 +776,7 @@
this
.
Success
(
res
.
data
.
message
);
this
.
getListOutTract
();
this
.
closeContractDialog
();
this
.
auditMsg
.
IsApplyContract
=
0
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -835,33 +880,51 @@
if
(
status
==
3
)
{
message
=
this
.
$t
(
'fnc.bohui'
);
}
this
.
$confirm
(
that
.
$t
(
'objFill.shifou'
)
+
"【"
+
message
+
"】"
+
this
.
$t
(
'objFill.v101.administrative.chihet'
)
+
if
(
status
==
2
){
this
.
$confirm
(
'是否提交到旅游局'
,
this
.
$t
(
'tips.tips'
),
{
confirmButtonText
:
'确认提交到旅游局'
,
cancelButtonText
:
'通过'
,
type
:
"warning"
,
}).
then
(()
=>
{
that
.
auditMsg
.
IsApplyContract
=
1
that
.
setContractStatus
(
item
,
status
);
}).
catch
(()
=>
{
that
.
auditMsg
.
IsApplyContract
=
0
that
.
setContractStatus
(
item
,
status
);
});
}
else
{
this
.
$confirm
(
that
.
$t
(
'objFill.shifou'
)
+
"【"
+
message
+
"】"
+
this
.
$t
(
'objFill.v101.administrative.chihet'
)
+
"?"
,
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
type
:
"warning"
})
.
then
(()
=>
{
this
.
apipost
(
'travelcontract_post_UpdateTravelContractStatusService'
,
{
ID
:
item
.
ID
,
Status
:
status
,
AuditContractReason
:
status
==
3
?
this
.
auditMsg
.
AuditContractReason
:
''
,
C_DayNum
:
item
.
C_DayNum
,
C_StartDate
:
item
.
StartDateStr
,
C_EndDate
:
item
.
EndDateStr
,
C_NightNum
:
item
.
C_NightNum
,
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getOtherList
();
that
.
closeContractDialog
()
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
})
that
.
setContractStatus
(
item
,
status
)
})
.
catch
(()
=>
{});
}
},
setContractStatus
(
item
,
status
){
this
.
apipost
(
'travelcontract_post_UpdateTravelContractStatusService'
,
{
ID
:
item
.
ID
,
Status
:
status
,
AuditContractReason
:
status
==
3
?
this
.
auditMsg
.
AuditContractReason
:
''
,
C_DayNum
:
item
.
C_DayNum
,
C_StartDate
:
item
.
StartDateStr
,
C_EndDate
:
item
.
EndDateStr
,
C_NightNum
:
item
.
C_NightNum
,
IsApplyContract
:
this
.
auditMsg
.
IsApplyContract
,
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getOtherList
();
this
.
closeContractDialog
()
this
.
auditMsg
.
IsApplyContract
=
0
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
})
},
//单项、一日游、境内旅游合同
getOtherList
()
{
...
...
src/components/onedayTripContract.vue
View file @
6dbbec8e
...
...
@@ -361,9 +361,13 @@
<span>
{{
$t
(
'objFill.quanguoblyhtsf'
)
}}
<span
class=
"ContractNum"
v-if=
"CtObj.T_ContractNum"
>
合同编号:
{{
CtObj
.
T_ContractNum
}}
</span>
<span
style=
"color:blue;font-size:14px;"
></span>
</span>
<div
class=
"pull-right"
>
<input
v-if=
"CtObj.ThirdContractState == 1"
type=
"button"
class=
"TCbtn-info"
value=
"发送短信通知"
@
click=
"SMSnotification()"
/>
<input
v-if=
"CtObj.ThirdContractFileUrl"
type=
"button"
class=
"TCbtn-info"
@
click=
"window.open(CtObj.ThirdContractFileUrl)"
:value=
"$t('sm.yulan')"
/>
<input
v-if=
"CtObj.Status==0||CtObj.Status==3"
type=
"button"
class=
"TCbtn-info"
@
click=
"SubmitContract"
:value=
"$t('objFill.tijiaoshenhe')"
/>
<input
type=
"button"
:class=
"
{'disClick':!isSubmit}" class="btn-warning" @click="submitForm('CtObj')"
:value="$t('pub.saveBtn')" />
</div>
...
...
@@ -1441,12 +1445,72 @@
trifficList
:
[],
tripList
:
[],
LineName
:
""
,
SMLoading
:
false
,
};
},
components
:
{
commonTripList
:
commonTripList
},
methods
:
{
//提交并盖章
SubmitContract
()
{
var
that
=
this
;
var
tipMsg
=
that
.
$t
(
'objFill.tijiaoshenhe'
);
var
postMsg
=
{
ID
:
this
.
CtObj
.
ID
,
Status
:
1
}
this
.
$confirm
(
tipMsg
,
this
.
$t
(
'tips.tips'
),
{
confirmButtonText
:
this
.
$t
(
'pub.sureBtn'
),
cancelButtonText
:
this
.
$t
(
'pub.cancelBtn'
),
type
:
"warning"
,
}).
then
(()
=>
{
that
.
apipost
(
"travelcontract_post_UpdateTravelContractStatusService"
,
postMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
GetData
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
null
);
});
},
SMSnotification
(){
if
(
this
.
SMLoading
)
return
this
.
$confirm
(
"是否发送短信通知?"
,
this
.
$t
(
"tips.tips"
),
{
confirmButtonText
:
this
.
$t
(
"pub.sureBtn"
),
cancelButtonText
:
this
.
$t
(
"pub.cancelBtn"
),
type
:
"warning"
,
})
.
then
(()
=>
{
var
that
=
this
;
let
msg
=
{
ContractId
:
that
.
CtObj
.
ID
,
ContractType
:
1
,
}
this
.
SMLoading
=
true
that
.
apipost
(
"travelcontract_post_ReSendContract"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
SMLoading
=
false
that
.
Success
(
this
.
$t
(
'objFill.chaozuochenggong'
));
that
.
GetData
();
}
else
{
that
.
SMLoading
=
false
that
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{
that
.
SMLoading
=
false
}
);
})
.
catch
(()
=>
{
});
},
getDate
(
date
)
{
if
(
date
&&
date
!=
""
)
{
return
moment
(
date
).
format
(
"YYYY-MM-DD"
);
...
...
@@ -1506,6 +1570,7 @@
name
:
'onedayTripContract'
,
query
:
queryMsg
});
this
.
GetData
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -1618,171 +1683,25 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempObj
=
res
.
data
.
data
;
this
.
CtObj
.
ID
=
tempObj
.
ID
;
if
(
tempObj
.
CType
)
{
this
.
CtObj
.
CType
=
tempObj
.
CType
;
}
this
.
CtObj
.
T_ContractNum
=
tempObj
.
T_ContractNum
;
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
;
if
(
tempObj
.
TravelAgency_Name
&&
tempObj
.
TravelAgency_Name
!=
''
)
{
this
.
CtObj
.
TravelAgency_Name
=
tempObj
.
TravelAgency_Name
;
}
if
(
tempObj
.
TravelAgency_Address
&&
tempObj
.
TravelAgency_Address
!=
''
)
{
this
.
CtObj
.
TravelAgency_Address
=
tempObj
.
TravelAgency_Address
;
}
if
(
tempObj
.
TravelAgency_LicenseNum
&&
tempObj
.
TravelAgency_LicenseNum
!=
''
)
{
this
.
CtObj
.
TravelAgency_LicenseNum
=
tempObj
.
TravelAgency_LicenseNum
;
}
this
.
CtObj
.
TravelAgency_DealMan
=
tempObj
.
TravelAgency_DealMan
;
this
.
CtObj
.
TravelAgency_IDNum
=
tempObj
.
TravelAgency_IDNum
;
this
.
CtObj
.
TravelAgency_Fax
=
tempObj
.
TravelAgency_Fax
;
this
.
CtObj
.
TravelAgency_PostNum
=
tempObj
.
TravelAgency_PostNum
;
this
.
CtObj
.
TravelAgency_Email
=
tempObj
.
TravelAgency_Email
;
if
(
this
.
CtObj
.
ID
==
0
)
{
this
.
CtObj
.
TravelAgency_SignAddress
=
"四川成都"
;
this
.
CtObj
.
TravelAgency_Tel
=
"028-81454056"
;
this
.
CtObj
.
C_ComplaintTel
=
"028-12345"
;
this
.
CtObj
.
C_ComplaintProvince
=
"四川省"
;
this
.
CtObj
.
C_ComplaintCity
=
"成都市"
;
this
.
CtObj
.
TravelAgency_ServiceTel
=
"17708046437"
;
this
.
CtObj
.
C_ZhiFaTel
=
"028-12345"
;
}
else
{
this
.
CtObj
.
TravelAgency_SignAddress
=
tempObj
.
TravelAgency_SignAddress
;
this
.
CtObj
.
TravelAgency_Tel
=
tempObj
.
TravelAgency_Tel
;
this
.
CtObj
.
C_ComplaintTel
=
tempObj
.
C_ComplaintTel
;
this
.
CtObj
.
C_ComplaintProvince
=
tempObj
.
C_ComplaintProvince
;
this
.
CtObj
.
C_ComplaintCity
=
tempObj
.
C_ComplaintCity
;
this
.
CtObj
.
TravelAgency_ServiceTel
=
tempObj
.
TravelAgency_ServiceTel
;
this
.
CtObj
.
C_ZhiFaTel
=
tempObj
.
C_ZhiFaTel
;
}
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
=
tempObj
this
.
CtObj
.
IsApplyContract
=
tempObj
.
IsApplyContract
?
tempObj
.
IsApplyContract
:
0
this
.
CtObj
.
CType
=
tempObj
.
CType
?
tempObj
.
CType
:
3
this
.
CtObj
.
TravelAgency_Name
=
tempObj
.
TravelAgency_Name
?
tempObj
.
TravelAgency_Name
:
''
;
this
.
CtObj
.
TravelAgency_Address
=
tempObj
.
TravelAgency_Address
?
tempObj
.
TravelAgency_Address
:
''
;
this
.
CtObj
.
TravelAgency_LicenseNum
=
tempObj
.
TravelAgency_LicenseNum
?
tempObj
.
TravelAgency_LicenseNum
:
''
;
this
.
CtObj
.
C_ComplaintEmail
=
tempObj
.
C_ComplaintEmail
;
this
.
CtObj
.
C_ComplaintAddress
=
tempObj
.
C_ComplaintAddress
;
this
.
CtObj
.
C_ComplaintPostNum
=
tempObj
.
C_ComplaintPostNum
;
this
.
CtObj
.
ContractShopList
=
tempObj
.
ContractShopList
?
tempObj
.
ContractShopList
:[];
this
.
CtObj
.
ContractShopList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
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
.
SignType
=
tempObj
.
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
;
});
}
this
.
CtObj
.
TripType
=
tempObj
.
TripType
;
if
(
tempObj
.
ContractTripList
&&
tempObj
.
ContractTripList
!=
null
&&
tempObj
.
ContractTripList
.
length
>
0
)
{
this
.
CtObj
.
ContractTripList
=
tempObj
.
ContractTripList
;
}
else
{
this
.
CtObj
.
ContractGuestList
=
tempObj
.
ContractGuestList
?
tempObj
.
ContractGuestList
:[];
this
.
CtObj
.
ContractGuestList
.
forEach
(
gItem
=>
{
gItem
.
IsShow
=
0
;
});
this
.
CtObj
.
ContractTripList
=
tempObj
.
ContractTripList
?
tempObj
.
ContractTripList
:[];
if
(
!
this
.
CtObj
.
ContractTripList
.
length
)
{
this
.
CtObj
.
ContractTripList
=
[];
var
tripObj
=
{
TripType
:
1
,
...
...
src/router/config.js
View file @
6dbbec8e
...
...
@@ -3638,14 +3638,6 @@ export default {
title
:
'跟团游订单'
},
},
{
// 销售 跟团游订单
path
:
'/groupTourOrderOP'
,
name
:
'groupTourOrderOP'
,
component
:
resolve
=>
require
([
'@/components/SalesModule/groupTourOrder'
],
resolve
),
meta
:
{
title
:
'跟团游订单OP'
},
},
{
// 销售 特价申请函
path
:
'/SpecialList'
,
name
:
'SpecialList'
,
...
...
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