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
ce94c200
Commit
ce94c200
authored
Sep 26, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新代码
parent
1b258bcc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
456 additions
and
147 deletions
+456
-147
OPRules.vue
src/components/FinancialModule/OPRules.vue
+32
-1
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+37
-17
demandInquiry.vue
src/components/SalesModule/demandInquiry.vue
+3
-1
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+12
-5
groupTourOrderByTuan.vue
src/components/SalesModule/groupTourOrderByTuan.vue
+2
-2
ShoppingReimbursement.vue
src/components/ShoppingStore/ShoppingReimbursement.vue
+43
-23
ShoppingReimbursementDetails.vue
...components/ShoppingStore/ShoppingReimbursementDetails.vue
+3
-3
TravelContractDetail.vue
src/components/TravelContractDetail.vue
+8
-5
TravelContractNew.vue
src/components/TravelContractNew.vue
+192
-11
QuotationNewPrice.vue
...ts/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
+58
-10
newQuotation.vue
...ponents/TravelManager/TravelNewQuotation/newQuotation.vue
+6
-32
ElectronicAudit.vue
src/components/administrative/ElectronicAudit.vue
+1
-0
clientConfirm.vue
src/components/clientConfirm.vue
+5
-3
commonShouSun.vue
src/components/commonPage/commonShouSun.vue
+4
-4
index.vue
src/components/index.vue
+5
-4
leaderPay2.vue
src/components/leaderPay2.vue
+26
-11
TravelManager2.vue
...ts/newTravelmanager/TravelGroupControl/TravelManager2.vue
+19
-15
No files found.
src/components/FinancialModule/OPRules.vue
View file @
ce94c200
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
<tr>
<tr>
<th>
公司名称
</th>
<th>
公司名称
</th>
<th
style=
"width:20%"
>
线路名称
</th>
<th
style=
"width:20%"
>
线路名称
</th>
<th>
系列名称
</th>
<th>
目的
</th>
<th>
线控
</th>
<th>
线控
</th>
<th>
助理
</th>
<th>
助理
</th>
<th>
分负责OP
</th>
<th>
分负责OP
</th>
...
@@ -106,6 +106,11 @@
...
@@ -106,6 +106,11 @@
<el-option
label=
'全线'
:value=
'-1'
:key=
'-1'
></el-option>
<el-option
label=
'全线'
:value=
'-1'
:key=
'-1'
></el-option>
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
></el-option>
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
></el-option>
</el-select>
</el-select>
</el-form-item>
<el-form-item
label=
"目的地"
prop=
"LineIdList"
>
<el-select
class=
"multiple_input"
filterable
multiple
collapse-tags
v-model=
"form.LtIdList"
>
<el-option
v-for=
"item in PlaceList"
:label=
'item.PlaceName'
:value=
'item.PlaceID'
:key=
'item.PlaceID'
></el-option>
</el-select>
</el-form-item>
</el-form-item>
<!--
<el-form-item
label=
"系列"
v-show=
"form.LineIdList.length==1 && form.LineIdList[0]!=-1"
>
<!--
<el-form-item
label=
"系列"
v-show=
"form.LineIdList.length==1 && form.LineIdList[0]!=-1"
>
<el-select
class=
"multiple_input"
filterable
multiple
collapse-tags
v-model=
"form.LtIdList"
>
<el-select
class=
"multiple_input"
filterable
multiple
collapse-tags
v-model=
"form.LtIdList"
>
...
@@ -227,6 +232,8 @@ export default {
...
@@ -227,6 +232,8 @@ export default {
departmentList
:[],
departmentList
:[],
stateShow
:
true
,
stateShow
:
true
,
tips
:
''
,
tips
:
''
,
PlaceList
:[],
PlaceShow
:
false
,
}
}
},
},
created
(){
created
(){
...
@@ -240,6 +247,7 @@ export default {
...
@@ -240,6 +247,7 @@ export default {
},
},
methods
:{
methods
:{
Delete
(
item
)
{
Delete
(
item
)
{
this
.
$confirm
(
"是否删除? 删除后不可恢复"
,
"提示"
,
{
this
.
$confirm
(
"是否删除? 删除后不可恢复"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
...
@@ -260,6 +268,7 @@ export default {
...
@@ -260,6 +268,7 @@ export default {
.
catch
(()
=>
{});
.
catch
(()
=>
{});
},
},
addRule
(){
addRule
(){
this
.
PlaceShow
=
false
;
this
.
ruleVisible
=
true
;
this
.
ruleVisible
=
true
;
this
.
form
=
{
this
.
form
=
{
BranchId
:
""
,
BranchId
:
""
,
...
@@ -277,6 +286,7 @@ export default {
...
@@ -277,6 +286,7 @@ export default {
}
}
},
},
SetRules
(
item
){
SetRules
(
item
){
this
.
ruleVisible
=
true
;
this
.
ruleVisible
=
true
;
this
.
form
=
{
this
.
form
=
{
Id
:
item
.
Id
,
Id
:
item
.
Id
,
...
@@ -294,6 +304,8 @@ export default {
...
@@ -294,6 +304,8 @@ export default {
FManagerMoney
:
item
.
FManagerMoney
,
FManagerMoney
:
item
.
FManagerMoney
,
FInternMoney
:
item
.
FInternMoney
,
FInternMoney
:
item
.
FInternMoney
,
}
}
this
.
form
.
LtIdList
=
item
.
LtIdList
;
this
.
PlaceShow
=
true
;
this
.
departmentMsg
.
RB_Branch_Id
=
item
.
BranchId
;
this
.
departmentMsg
.
RB_Branch_Id
=
item
.
BranchId
;
this
.
getLineTeamList
();
this
.
getLineTeamList
();
...
@@ -367,6 +379,7 @@ export default {
...
@@ -367,6 +379,7 @@ export default {
},
},
//获取系列列表
//获取系列列表
getLineTeamList
()
{
getLineTeamList
()
{
this
.
PlaceList
=
[];
if
(
this
.
form
.
LineIdList
.
indexOf
(
-
1
)
!=-
1
){
if
(
this
.
form
.
LineIdList
.
indexOf
(
-
1
)
!=-
1
){
this
.
form
.
LineIdList
=
[
-
1
];
this
.
form
.
LineIdList
=
[
-
1
];
this
.
form
.
LtIdList
=
[];
this
.
form
.
LtIdList
=
[];
...
@@ -376,6 +389,10 @@ export default {
...
@@ -376,6 +389,10 @@ export default {
this
.
form
.
LtIdList
=
[];
this
.
form
.
LtIdList
=
[];
return
;
return
;
}
}
if
(
this
.
form
.
LineIdList
.
indexOf
(
-
1
)
==-
1
&&
this
.
form
.
LineIdList
.
length
==
1
){
let
id
=
this
.
form
.
LineIdList
[
0
];
this
.
getLinePlaceList
(
id
);
}
let
msg
=
{
let
msg
=
{
lineID
:
this
.
form
.
LineIdList
[
0
],
lineID
:
this
.
form
.
LineIdList
[
0
],
}
}
...
@@ -384,6 +401,20 @@ export default {
...
@@ -384,6 +401,20 @@ export default {
this
.
LineTeamList
=
res
.
data
.
data
;
this
.
LineTeamList
=
res
.
data
.
data
;
}
}
})
})
},
//获取目的地
getLinePlaceList
(
id
)
{
if
(
!
this
.
PlaceShow
){
this
.
form
.
LtIdList
=
[];
}
let
msg
=
{
lineID
:
id
,
}
this
.
apipost
(
'team_post_GetLinePlace'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PlaceList
=
res
.
data
.
data
;
}
})
},
},
getCompany
()
{
getCompany
()
{
let
userInfo
=
this
.
getLocalStorage
()
let
userInfo
=
this
.
getLocalStorage
()
...
...
src/components/Hotel/roomReservationsDetails.vue
View file @
ce94c200
...
@@ -118,7 +118,6 @@
...
@@ -118,7 +118,6 @@
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
{{
subItem
.
RealityHouseTypeCount
}}
{{
subItem
.
RealityHouseTypeCount
}}
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
<table
class=
"hotelTable"
>
<table
class=
"hotelTable"
>
<tr>
<tr>
...
@@ -199,10 +198,24 @@
...
@@ -199,10 +198,24 @@
</td> -->
</td> -->
<!-- 单价/每人 -->
<!-- 单价/每人 -->
<td>
<td>
<el-input
@
keyup
.
native=
"checkInteger(childItem,'UnitPrice')"
class=
'w60 tcenter'
<
template
v-if=
"childIndex==1"
>
@
input=
"calculationPrice(subItem)"
v-model=
'childItem.UnitPrice'
<template
v-if=
"CurrentUserInfo.EmployeeId == 615"
>
:disabled=
"IsEditHotel==0?true:false"
>
<el-input
@
keyup
.
native=
"checkInteger(childItem,'UnitPrice')"
class=
'w60 tcenter'
</el-input>
@
input=
"calculationPrice(subItem)"
v-model=
'childItem.UnitPrice'
></el-input>
</
template
>
<
template
v-else
>
<el-input
@
keyup
.
native=
"checkInteger(childItem,'UnitPrice')"
class=
'w60 tcenter'
@
input=
"calculationPrice(subItem)"
v-model=
'childItem.UnitPrice'
:disabled=
"(IsEditHotel==0||childItem.IsHaveStockPrice==1)?true:false"
>
</el-input>
</
template
>
</template>
<
template
v-else
>
<el-input
@
keyup
.
native=
"checkInteger(childItem,'UnitPrice')"
class=
'w60 tcenter'
@
input=
"calculationPrice(subItem)"
v-model=
'childItem.UnitPrice'
:disabled=
"IsEditHotel==0?true:false"
>
</el-input>
</
template
>
</td>
</td>
<!-- 免减人数 -->
<!-- 免减人数 -->
<td>
<td>
...
@@ -583,7 +596,16 @@
...
@@ -583,7 +596,16 @@
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
NewHotelId
=
ckedObj
.
ID
;
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
NewHotelId
=
ckedObj
.
ID
;
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
PayStyle
=
ckedObj
.
PayStyle
;
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
PayStyle
=
ckedObj
.
PayStyle
;
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
PayStyleExt
=
ckedObj
.
PayStyle
;
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
PayStyleExt
=
ckedObj
.
PayStyle
;
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
OrderDetailsList
.
forEach
(
subItem
=>
{
this
.
list
[
this
.
findex
].
HotelOrderList
[
this
.
childIndex
].
OrderDetailsList
.
forEach
((
subItem
,
subIndex
)
=>
{
//判断是否有库存价格
if
(
subIndex
==
1
&&
ckedObj
.
CostPrice
>
0
)
{
subItem
.
IsHaveStockPrice
=
1
;
}
else
{
subItem
.
IsHaveStockPrice
=
0
;
}
subItem
.
UnitPrice
=
ckedObj
.
CostPrice
;
subItem
.
UnitPrice
=
ckedObj
.
CostPrice
;
subItem
.
RebateRatio
=
ckedObj
.
RebateRatio
;
subItem
.
RebateRatio
=
ckedObj
.
RebateRatio
;
});
});
...
@@ -732,9 +754,8 @@
...
@@ -732,9 +754,8 @@
ID
:
subItem
.
NewHotelId
ID
:
subItem
.
NewHotelId
});
});
//默认成日元
//默认成日元
if
(
subItem
.
CurrencyId
==
0
)
if
(
subItem
.
CurrencyId
==
0
)
{
{
subItem
.
CurrencyId
=
3
;
subItem
.
CurrencyId
=
3
;
}
}
this
.
calculationPrice
(
subItem
);
this
.
calculationPrice
(
subItem
);
subItem
.
OrderDetailsList
.
forEach
((
x
,
index1
)
=>
{
subItem
.
OrderDetailsList
.
forEach
((
x
,
index1
)
=>
{
...
@@ -774,7 +795,7 @@
...
@@ -774,7 +795,7 @@
return
item
.
ID
===
obj
.
CurrencyId
;
//筛选出匹配数据
return
item
.
ID
===
obj
.
CurrencyId
;
//筛选出匹配数据
});
});
}
}
//日元
//日元
let
jpaObj
=
this
.
allCurrencyList
.
find
(
item
=>
{
let
jpaObj
=
this
.
allCurrencyList
.
find
(
item
=>
{
return
item
.
ID
===
3
;
//筛选出匹配数据
return
item
.
ID
===
3
;
//筛选出匹配数据
...
@@ -805,13 +826,12 @@
...
@@ -805,13 +826,12 @@
else
if
(
currentObj
.
ID
==
3
)
{
else
if
(
currentObj
.
ID
==
3
)
{
obj
.
NewTotalPrice
=
""
;
obj
.
NewTotalPrice
=
""
;
}
else
{
}
else
{
if
(
currentObj
.
CurrentRate
>
1
)
if
(
currentObj
.
CurrentRate
>
1
)
{
{
obj
.
NewTotalPrice
=
currentObj
.
Name
+
":"
+
((
totalPrice
*
jpaObj
.
PayRate
)
/
currentObj
.
CurrentRate
)
obj
.
NewTotalPrice
=
currentObj
.
Name
+
":"
+
((
totalPrice
*
jpaObj
.
PayRate
)
/
currentObj
.
CurrentRate
).
toFixed
(
2
);
.
toFixed
(
2
);
}
}
else
{
else
obj
.
NewTotalPrice
=
currentObj
.
Name
+
":"
+
((
totalPrice
*
jpaObj
.
PayRate
)
*
currentObj
.
CurrentRate
)
{
.
toFixed
(
2
);
obj
.
NewTotalPrice
=
currentObj
.
Name
+
":"
+
((
totalPrice
*
jpaObj
.
PayRate
)
*
currentObj
.
CurrentRate
).
toFixed
(
2
);
}
}
}
}
}
else
{
}
else
{
...
...
src/components/SalesModule/demandInquiry.vue
View file @
ce94c200
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
placeholder=
"请选择"
placeholder=
"请选择"
v-for=
"item in AppCoustomer"
v-for=
"item in AppCoustomer"
:key=
"item.customerId"
:key=
"item.customerId"
:label=
"
item.customerName"
:label=
"
`$
{item.customerName}(${item.contact})`"
:value="item.customerId">
:value="item.customerId">
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -197,8 +197,10 @@ export default {
...
@@ -197,8 +197,10 @@ export default {
},
},
getAppCoustomer
(){
// 获取客户列表
getAppCoustomer
(){
// 获取客户列表
this
.
apipost
(
'app_get_my_select_coustomer'
,{},
res
=>
{
this
.
apipost
(
'app_get_my_select_coustomer'
,{},
res
=>
{
// console.log(res,"safaf")
if
(
res
.
data
.
resultCode
==
1
){
if
(
res
.
data
.
resultCode
==
1
){
this
.
AppCoustomer
=
res
.
data
.
data
;
this
.
AppCoustomer
=
res
.
data
.
data
;
// console.log("this.AppCoustomer",this.AppCoustomer)
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
this
.
$message
.
error
(
res
.
data
.
message
)
}
}
...
...
src/components/SalesModule/groupTourOrder.vue
View file @
ce94c200
...
@@ -736,9 +736,9 @@
...
@@ -736,9 +736,9 @@
}
}
.GO_Contract
{
.GO_Contract
{
color
:
blue
;
color
:
blue
;
display
:
block
;
display
:
inline-
block
;
cursor
:
pointer
;
cursor
:
pointer
;
ma
x-width
:
20
0px
;
ma
rgin-right
:
2
0px
;
}
}
.needfenshu
{
.needfenshu
{
margin-top
:
10px
;
margin-top
:
10px
;
...
@@ -1846,8 +1846,14 @@
...
@@ -1846,8 +1846,14 @@
</span>
</span>
</div>
</div>
<span
v-if=
"item.contractNum==''"
class=
"GO_Contract"
@
click=
"goContract(item)"
>
领取合同
</span>
<!--
<div
v-if=
"item.ContractNum.length==0"
>
<span
v-else
class=
"GO_Contract"
@
click=
"goContract(item)"
>
{{
item
.
contractNum
}}
</span>
<span
class=
"GO_Contract"
@
click=
"goContract(item,
{})">领取合同
</span>
</div>
-->
<!--
<div
v-else
>
<span
v-for=
"sItem in childItem.ContractNum"
class=
"GO_Contract"
@
click=
"goContract(item,sItem)"
>
{{
sItem
.
Client_Name
+
''
+
sItem
.
ContractNum
}}
</span>
</div>
-->
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -2394,11 +2400,12 @@
...
@@ -2394,11 +2400,12 @@
});
});
},
},
//跳转至领取合同
//跳转至领取合同
goContract
(
item
){
goContract
(
item
,
sItem
){
let
routeData
=
this
.
$router
.
resolve
({
let
routeData
=
this
.
$router
.
resolve
({
name
:
'TravelContractNew'
,
name
:
'TravelContractNew'
,
query
:
{
query
:
{
TCID
:
item
.
tcid
,
TCID
:
item
.
tcid
,
guestId
:
sItem
.
GuestId
,
orderID
:
item
.
orderId
,
orderID
:
item
.
orderId
,
blank
:
'y'
blank
:
'y'
}
}
...
...
src/components/SalesModule/groupTourOrderByTuan.vue
View file @
ce94c200
...
@@ -871,9 +871,9 @@
...
@@ -871,9 +871,9 @@
}
}
.GO_Contract
{
.GO_Contract
{
color
:
blue
;
color
:
blue
;
display
:
block
;
display
:
inline-
block
;
cursor
:
pointer
;
cursor
:
pointer
;
ma
x-width
:
20
0px
;
ma
rgin-right
:
2
0px
;
}
}
.SQguestList
{
.SQguestList
{
display
:
flex
;
display
:
flex
;
...
...
src/components/ShoppingStore/ShoppingReimbursement.vue
View file @
ce94c200
...
@@ -23,6 +23,12 @@
...
@@ -23,6 +23,12 @@
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li>
<span>
<em>
合团号
</em>
<el-input
v-model=
'msg.CombinationNum'
></el-input>
</span>
</li>
<li>
<li>
<span>
<span>
<em>
团号
</em>
<em>
团号
</em>
...
@@ -80,7 +86,7 @@
...
@@ -80,7 +86,7 @@
{{
subItem
.
StartCityNames
}}
{{
subItem
.
StartCityNames
}}
</td>
</td>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
{{
subItem
.
TCNUMS
}}
{{
subItem
.
TCNUMS
}}
(
{{
subItem
.
TCID
}}
)
</td>
</td>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
{{
subItem
.
LeaderName
}}
{{
subItem
.
LeaderName
}}
...
@@ -94,7 +100,7 @@
...
@@ -94,7 +100,7 @@
{{
subItem
.
StartCityNames
}}
{{
subItem
.
StartCityNames
}}
</td>
</td>
<td>
<td>
{{
subItem
.
TCNUMS
}}
{{
subItem
.
TCNUMS
}}
(
{{
subItem
.
TCID
}}
)
</td>
</td>
<td>
<td>
{{
subItem
.
LeaderName
}}
{{
subItem
.
LeaderName
}}
...
@@ -147,7 +153,8 @@
...
@@ -147,7 +153,8 @@
</div>
</div>
</td>
</td>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
<td
:rowspan=
"outItem.rowspanCount"
v-if=
"index==0&&subIndex==0"
>
<p
style=
"cursor: pointer;color:blue;"
@
click=
"isShowFinaceDailog=true,CurrentOutItem=outItem"
>
生成单据
</p>
<p
style=
"cursor: pointer;color:blue;"
@
click=
"isShowFinaceDailog=true,CurrentOutItem=outItem"
>
生成单据
</p>
<p
style=
"cursor: pointer;color:blue;margin-top:5px;"
<p
style=
"cursor: pointer;color:blue;margin-top:5px;"
@
click=
"goHuiZhi(outItem.TCIDs, item.LeaderName, item.GuideName, item.StartCityNames, item.TCNUMS)"
>
@
click=
"goHuiZhi(outItem.TCIDs, item.LeaderName, item.GuideName, item.StartCityNames, item.TCNUMS)"
>
选择购物店
</p>
选择购物店
</p>
...
@@ -210,14 +217,15 @@
...
@@ -210,14 +217,15 @@
<
template
>
<
template
>
<el-form
label-width=
"100px"
>
<el-form
label-width=
"100px"
>
<el-form-item
label=
"付款方式"
>
<el-form-item
label=
"付款方式"
>
<el-select
v-model=
"PayType"
>
<el-select
v-model=
"PayType"
>
<el-option
label=
"常规付款"
:value=
"1"
:key=
"1"
></el-option>
<el-option
label=
"常规付款"
:value=
"1"
:key=
"1"
></el-option>
<el-option
label=
"资金池付款"
:value=
"2"
:key=
"2"
></el-option>
<el-option
label=
"资金池付款"
:value=
"2"
:key=
"2"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"isShowFinaceDailog=false,CurrentOutItem=
{}">
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"isShowFinaceDailog=false,CurrentOutItem=
{}">
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"CreateBill()"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"CreateBill()"
>
{{
$t
(
'pub.sureBtn'
)
}}
</button>
</div>
</div>
</
template
>
</
template
>
...
@@ -229,7 +237,7 @@
...
@@ -229,7 +237,7 @@
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
PayType
:
1
,
//付款方式
PayType
:
1
,
//付款方式
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
8
,
pageSize
:
8
,
...
@@ -241,16 +249,18 @@
...
@@ -241,16 +249,18 @@
EndDate
:
''
,
EndDate
:
''
,
currentPage
:
1
,
currentPage
:
1
,
total
:
0
,
total
:
0
,
CombinationNum
:
""
,
//合团号
TCNUM
:
""
,
//团号
},
},
LineList
:
[],
LineList
:
[],
LineTeamList
:
[],
LineTeamList
:
[],
shopDataList
:
[],
shopDataList
:
[],
CreateHandBillList
:
[],
CreateHandBillList
:
[],
zhuanjiaoBox
:
false
,
zhuanjiaoBox
:
false
,
isShowFinaceDailog
:
false
,
//是否显示生成财务单据对话框
isShowFinaceDailog
:
false
,
//是否显示生成财务单据对话框
CreateHandBillID
:
''
,
CreateHandBillID
:
''
,
CreateHandObj
:
{},
CreateHandObj
:
{},
CurrentOutItem
:
{}
//当前选中的团
CurrentOutItem
:
{}
//当前选中的团
}
}
},
},
methods
:
{
methods
:
{
...
@@ -425,17 +435,27 @@
...
@@ -425,17 +435,27 @@
var
nMsg
=
{
var
nMsg
=
{
TCIDs
:
that
.
CurrentOutItem
.
TCIDs
,
TCIDs
:
that
.
CurrentOutItem
.
TCIDs
,
PayType
:
that
.
PayType
,
PayType
:
that
.
PayType
,
uid
:
that
.
getLocalStorage
().
EmployeeId
uid
:
that
.
getLocalStorage
().
EmployeeId
};
};
let
fileName
=
"生成["
+
that
.
CurrentOutItem
.
NewCombinationNum
+
"]购物店数据.xls"
;
that
.
apipost
(
"dmcstatistics_post_CheckShopDetailsDMCRate"
,
nMsg
,
res
=>
{
that
.
GetLocalFile
(
"dmcstatistics_post_ShopCreateBillAndExport"
,
nMsg
,
fileName
,
if
(
res
.
data
.
resultCode
==
1
)
{
res
=>
{
if
(
res
.
data
.
data
==
0
)
{
that
.
loading
=
false
;
that
.
Error
(
"请检查汇率有为0的数据,请先在【操作】里面修改汇率再生成财务单据!"
);
this
.
isShowFinaceDailog
=
false
;
that
.
loading
=
false
;
that
.
Success
(
"导入成功!"
);
that
.
isShowFinaceDailog
=
false
;
that
.
getList
();
}
else
{
});
let
fileName
=
"生成["
+
that
.
CurrentOutItem
.
NewCombinationNum
+
"]购物店数据.xls"
;
that
.
GetLocalFile
(
"dmcstatistics_post_ShopCreateBillAndExport"
,
nMsg
,
fileName
,
res
=>
{
that
.
loading
=
false
;
this
.
isShowFinaceDailog
=
false
;
that
.
Success
(
"导入成功!"
);
that
.
getList
();
});
}
}
});
});
});
},
},
},
},
...
@@ -448,8 +468,9 @@
...
@@ -448,8 +468,9 @@
"-"
+
"-"
+
myDate
.
getDate
();
myDate
.
getDate
();
this
.
msg
.
StartDate
=
nowDate
;
this
.
msg
.
StartDate
=
nowDate
;
// this.msg.StartDate='';
this
.
msg
.
LineId
=
14
;
//默认日本线
// this.msg.TCNUM='NRTCA08190613A';
// this.msg.StartDate = '';
// this.msg.TCNUM = 'NRTCA07190704A';
this
.
getLineList
();
this
.
getLineList
();
this
.
getList
();
this
.
getList
();
},
},
...
@@ -464,7 +485,6 @@
...
@@ -464,7 +485,6 @@
.more_td
>
div
{
.more_td
>
div
{
height
:
40px
;
height
:
40px
;
/*line-height: 40px;*/
border-bottom
:
1px
solid
rgb
(
204
,
204
,
204
);
border-bottom
:
1px
solid
rgb
(
204
,
204
,
204
);
}
}
...
...
src/components/ShoppingStore/ShoppingReimbursementDetails.vue
View file @
ce94c200
...
@@ -10,14 +10,14 @@
...
@@ -10,14 +10,14 @@
<div
style=
"width: 100%; overflow-x: auto;padding-bottom: 10px; "
>
<div
style=
"width: 100%; overflow-x: auto;padding-bottom: 10px; "
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"roomReservationsTalbe"
v-loading=
"loading"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"roomReservationsTalbe"
v-loading=
"loading"
>
<tr>
<tr>
<th
colspan=
"
6
"
>
导游操作
</th>
<th
colspan=
"
5
"
>
导游操作
</th>
<th
colspan=
"8"
>
地接OP
</th>
<th
colspan=
"8"
>
地接OP
</th>
</tr>
</tr>
<tr>
<tr>
<th
width=
"120"
style=
"display:none;"
>
进店团号
</th>
<th
width=
"120"
style=
"display:none;"
>
进店团号
</th>
<th
width=
"180"
>
店名
</th>
<th
width=
"180"
>
店名
</th>
<th
width=
"90"
>
公司
</th>
<th
width=
"90"
>
公司
</th>
<th
width=
"120"
>
进店时间
</th>
<th
width=
"120"
style=
"display:none"
>
进店时间
</th>
<th
width=
"80"
>
进店人数
</th>
<th
width=
"80"
>
进店人数
</th>
<th
width=
"100"
>
总金额
</th>
<th
width=
"100"
>
总金额
</th>
<th
width=
"100"
>
佣金领取状况
</th>
<th
width=
"100"
>
佣金领取状况
</th>
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
{{
subItem
.
BName
}}
{{
subItem
.
BName
}}
<span
@
click=
"DeleteItem(subItem)"
style=
"color:blue;cursor:pointer;text-decoration:underline;"
>
删除
</span>
<span
@
click=
"DeleteItem(subItem)"
style=
"color:blue;cursor:pointer;text-decoration:underline;"
>
删除
</span>
</td>
</td>
<td
class=
"more_td"
v-if=
"subIndex==0"
:rowspan=
"item.ShopDetailsList.length"
>
<td
class=
"more_td"
v-if=
"subIndex==0"
:rowspan=
"item.ShopDetailsList.length"
style=
"display:none"
>
<el-input
v-model=
"item.ShopDetailsList[0].EnterTime"
placeholder=
"2019-01-01"
<el-input
v-model=
"item.ShopDetailsList[0].EnterTime"
placeholder=
"2019-01-01"
@
change=
"formatDateTime(item.ShopDetailsList[0].EnterTime,item)"
></el-input>
@
change=
"formatDateTime(item.ShopDetailsList[0].EnterTime,item)"
></el-input>
<!--EnterTime 进店时间-->
<!--EnterTime 进店时间-->
...
...
src/components/TravelContractDetail.vue
View file @
ce94c200
...
@@ -304,16 +304,16 @@
...
@@ -304,16 +304,16 @@
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"TD_MainContent"
>
<div
class=
"TD_MainContent"
v-loading=
"pdfLoading"
>
<div
class=
"container-fluid"
>
<div
class=
"container-fluid"
>
<div
class=
"block mtop15"
>
<div
class=
"block mtop15"
>
<div
class=
"blockTitle"
>
<div
class=
"blockTitle"
>
<span
class=
"icon"
><i
class=
"iconfont icon-wenjian"
></i></span>
<span
class=
"icon"
><i
class=
"iconfont icon-wenjian"
></i></span>
<h2>
合同详情
<h2>
合同详情
<span>
<span>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"dataList.status==1"
@
click=
"getinvalid()"
value=
"作废"
/>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"dataList.status==1"
@
click=
"getinvalid()"
value=
"作废"
style=
"display:none;"
/>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"dataList.companySignature==''"
@
click=
"isShowFade=true,GetQrCode()"
value=
"客户签字"
/>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"dataList.companySignature==''"
@
click=
"isShowFade=true,GetQrCode()"
value=
"客户签字"
/>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"dataList.companySignature!=''"
value=
"下载"
@
click=
"toContractPDF(dataList.contractNum)"
/>
<input
type=
"button"
class=
"TCbtn-info"
v-if=
"dataList.companySignature!=''"
value=
"下载"
@
click=
"toContractPDF(dataList.contractNum)"
/>
</span>
</span>
</h2>
</h2>
</div>
</div>
...
@@ -858,7 +858,8 @@
...
@@ -858,7 +858,8 @@
//查询参数
//查询参数
msg
:
{
msg
:
{
TCID
:
0
,
TCID
:
0
,
orderID
:
0
orderID
:
0
,
guestId
:
0
},
},
//数据源
//数据源
dataList
:
[],
dataList
:
[],
...
@@ -910,6 +911,7 @@
...
@@ -910,6 +911,7 @@
let
urlObj
=
this
.
domainManager
();
let
urlObj
=
this
.
domainManager
();
let
msg
=
{
let
msg
=
{
TCID
:
this
.
$route
.
query
.
TCID
,
TCID
:
this
.
$route
.
query
.
TCID
,
GuestId
:
this
.
msg
.
guestId
,
orderID
:
this
.
$route
.
query
.
orderID
,
orderID
:
this
.
$route
.
query
.
orderID
,
};
};
this
.
pdfLoading
=
true
;
this
.
pdfLoading
=
true
;
...
@@ -923,6 +925,7 @@
...
@@ -923,6 +925,7 @@
"msg"
:
msg
"msg"
:
msg
}
}
}).
then
(
res
=>
{
}).
then
(
res
=>
{
this
.
pdfLoading
=
false
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
let
sign
=
title
+
"V2"
let
sign
=
title
+
"V2"
const
a
=
document
.
createElement
(
'a'
);
const
a
=
document
.
createElement
(
'a'
);
...
@@ -933,7 +936,6 @@
...
@@ -933,7 +936,6 @@
}
else
{
}
else
{
this
.
Error
(
'PDF获取失败'
);
this
.
Error
(
'PDF获取失败'
);
}
}
this
.
pdfLoading
=
false
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
})
})
...
@@ -1411,6 +1413,7 @@
...
@@ -1411,6 +1413,7 @@
mounted
()
{
mounted
()
{
this
.
msg
.
TCID
=
this
.
$route
.
query
.
TCID
;
this
.
msg
.
TCID
=
this
.
$route
.
query
.
TCID
;
this
.
msg
.
orderID
=
this
.
$route
.
query
.
orderID
;
this
.
msg
.
orderID
=
this
.
$route
.
query
.
orderID
;
this
.
msg
.
guestId
=
this
.
$route
.
query
.
guestId
;
this
.
getList
();
this
.
getList
();
this
.
GetTrip
(
0
,
this
.
msg
.
TCID
);
this
.
GetTrip
(
0
,
this
.
msg
.
TCID
);
}
}
...
...
src/components/TravelContractNew.vue
View file @
ce94c200
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
View file @
ce94c200
...
@@ -122,21 +122,30 @@
...
@@ -122,21 +122,30 @@
},
},
//保存数据
//保存数据
SaveData
()
{
SaveData
()
{
var
currencyNumList
=
[];
if
(
this
.
CurrencyNumberListExt
!=
null
&&
this
.
CurrencyNumberListExt
.
length
>
0
)
{
this
.
CurrencyNumberListExt
.
forEach
((
item
,
index
)
=>
{
item
.
currencyNumberList
.
forEach
(
subItem
=>
{
currencyNumList
.
push
(
subItem
);
});
});
}
var
nObj
=
{
var
nObj
=
{
config
:
this
.
postData
,
config
:
this
.
postData
,
dayCostPriceList
:
this
.
dayCostPriceList
,
dayCostPriceList
:
this
.
dayCostPriceList
,
otherPrice
:
this
.
otherPrice
,
otherPrice
:
this
.
otherPrice
,
teamPrice
:
this
.
teamPrice
,
teamPrice
:
this
.
teamPrice
,
CostCurrencyList
:
this
.
CostCurrencyList
,
CostCurrencyList
:
this
.
CostCurrencyList
,
CostNumberList
:
this
.
CostNumberList
CostNumberList
:
this
.
CostNumberList
,
CurrencyNumberListExt
:
currencyNumList
};
};
console
.
log
(
"请求参数"
,
nObj
);
this
.
apipost
(
this
.
apipost
(
"travel_post_SetConfigOffer_V2"
,
nObj
,
"travel_post_SetConfigOffer_V2"
,
nObj
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
date
.
message
);
this
.
Success
(
res
.
data
.
message
);
this
.
goUrl
(
'newQuotation'
);
this
.
goUrl
(
'newQuotation'
);
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
@@ -161,9 +170,38 @@
...
@@ -161,9 +170,38 @@
"travel_get_GetMyTravelInfo_V2"
,
"travel_get_GetMyTravelInfo_V2"
,
msg
,
msg
,
res
=>
{
res
=>
{
console
.
log
(
"res.data.data"
,
res
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
var
tempData
=
res
.
data
.
data
;
if
(
tempData
.
ID
&&
tempData
.
ID
>
0
)
{
this
.
postData
.
ID
=
tempData
.
ID
;
}
if
(
tempData
.
LineId
&&
tempData
.
LineId
>
0
)
{
this
.
postData
.
LineId
=
tempData
.
LineId
;
}
if
(
tempData
.
LineteamId
&&
tempData
.
LineteamId
>
0
)
{
this
.
postData
.
LineteamId
=
tempData
.
LineteamId
;
}
if
(
tempData
.
CSeat
&&
tempData
.
CSeat
>
0
)
{
this
.
postData
.
CSeat
=
tempData
.
CSeat
;
}
if
(
tempData
.
FSeat
&&
tempData
.
FSeat
>
0
)
{
this
.
postData
.
FSeat
=
tempData
.
FSeat
;
}
if
(
tempData
.
YSeat
&&
tempData
.
YSeat
>
0
)
{
this
.
postData
.
YSeat
=
tempData
.
YSeat
;
}
if
(
tempData
.
LowNum
&&
tempData
.
LowNum
>
0
)
{
this
.
postData
.
LowNum
=
tempData
.
LowNum
;
}
if
(
tempData
.
Title
&&
tempData
.
Title
!=
''
)
{
this
.
postData
.
Title
=
tempData
.
Title
;
}
if
(
tempData
.
DayNum
&&
tempData
.
DayNum
>
0
)
{
this
.
postData
.
DayNum
=
tempData
.
DayNum
;
}
if
(
tempData
.
NightNum
&&
tempData
.
NightNum
>
0
)
{
this
.
postData
.
NightNum
=
tempData
.
NightNum
;
}
this
.
LineList
=
tempData
.
LineList
;
this
.
LineList
=
tempData
.
LineList
;
if
(
tempData
.
dayCostPriceList
&&
tempData
.
dayCostPriceList
!=
null
&&
tempData
.
dayCostPriceList
.
length
>
if
(
tempData
.
dayCostPriceList
&&
tempData
.
dayCostPriceList
!=
null
&&
tempData
.
dayCostPriceList
.
length
>
0
)
{
0
)
{
...
@@ -175,21 +213,31 @@
...
@@ -175,21 +213,31 @@
if
(
tempData
.
teamPrice
)
{
if
(
tempData
.
teamPrice
)
{
this
.
teamPrice
=
tempData
.
teamPrice
;
this
.
teamPrice
=
tempData
.
teamPrice
;
}
}
if
(
tempData
.
CostNumberList
&&
tempData
.
CostNumberList
!=
null
&&
tempData
.
CostNumberList
.
length
>
0
)
{
this
.
CostNumberList
=
tempData
.
CostNumberList
;
}
if
(
tempData
.
CostCurrencyList
&&
tempData
.
CostCurrencyList
!=
null
&&
tempData
.
CostCurrencyList
.
length
>
0
)
{
this
.
CostCurrencyList
=
tempData
.
CostCurrencyList
;
}
if
(
tempData
.
CurrencyNumberListExt
&&
tempData
.
CurrencyNumberListExt
!=
null
&&
tempData
.
CurrencyNumberListExt
.
length
>
0
)
{
this
.
CurrencyNumberListExt
=
tempData
.
CurrencyNumberListExt
;
}
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
},
},
err
=>
{}
err
=>
{}
);
);
}
},
},
},
created
()
{
created
()
{
this
.
getPostData
();
this
.
getPostData
();
},
},
components
:
{
components
:
{
DirectQuotation
:
DirectQuotation
DirectQuotation
:
DirectQuotation
}
}
};
};
</
script
>
</
script
>
\ No newline at end of file
src/components/TravelManager/TravelNewQuotation/newQuotation.vue
View file @
ce94c200
...
@@ -139,47 +139,20 @@
...
@@ -139,47 +139,20 @@
<div>
{{
item
.
CreateUserName
}}
</div>
<div>
{{
item
.
CreateUserName
}}
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<span
v-if=
"item.TravelState==2"
class=
"retract opbd"
@
click=
"revokeInfo(item.ID)"
>
<span
class=
"openGroup opbd"
@
click=
"goToOpenTravel('TravelManager2',item.ID,item.OpenState)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"待审核"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-chehui"
></i>
</el-tooltip>
</span>
<span
class=
"openGroup opbd"
v-if=
"item.TravelState==3&&item.OpenState==2"
@
click=
"goToOpenTravel('TravelManager',item.ID,item.OpenState)"
>
开
开
</span>
</span>
<span
class=
"openGroup opbd"
v-if=
"item.TravelState==3&&item.OpenState==2"
>
<span
class=
"bianji opbd"
@
click=
"goUrl('QuotationNewPrice',item.ID,false)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看报价单"
placement=
"top-start"
popper-class=
"max-w250"
>
<span
@
click=
"goSubInfo('QuotationDetails',item.ID)"
>
查
</span>
</el-tooltip>
</span>
<span
class=
"openGroup opbd"
v-if=
"item.TravelState==5"
@
click=
"changeState(item.ID)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"提交审核"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-img_bdsc"
></i>
</el-tooltip>
</span>
<span
class=
"bianji opbd"
@
click=
"goUrl('MakeQuotation',item.ID,false)"
v-if=
"item.TravelState==4||item.TravelState==1||item.TravelState==5"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
popper-class=
"max-w250"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bianji-smal"
></i>
<i
class=
"iconfont icon-bianji-smal"
></i>
</el-tooltip>
</el-tooltip>
</span>
</span>
<span
class=
"openGroup opbd"
@
click=
"goUrl('MakeQuotation',item.ID,true)"
>
<span
class=
"QT-delete opbd"
@
click=
"delQuotation(item.ID)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"复制"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-copy"
></i>
</el-tooltip>
</span>
<span
class=
"openGroup opbd"
@
click=
"goUrlBo('CoastCountPage')"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"报价单"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-web-icon-"
></i>
</el-tooltip>
</span>
<span
class=
"QT-delete opbd"
@
click=
"delQuotation(item.ID)"
v-if=
"item.TravelState==4||item.TravelState==1||item.TravelState==5"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
popper-class=
"max-w250"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-shanchu"
></i>
<i
class=
"iconfont icon-shanchu"
></i>
</el-tooltip>
</el-tooltip>
</span>
</span>
</div>
</div>
</div>
</div>
</li>
</li>
...
@@ -295,7 +268,7 @@
...
@@ -295,7 +268,7 @@
//初始化表格数据
//初始化表格数据
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
"travel_get_GetTravelOfferPageList"
,
this
.
queryData
,
res
=>
{
this
.
apipost
(
"travel_get_GetTravelOfferPageList
_V2
"
,
this
.
queryData
,
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryData
.
total
=
res
.
data
.
data
.
count
;
this
.
queryData
.
total
=
res
.
data
.
data
.
count
;
...
@@ -467,7 +440,8 @@
...
@@ -467,7 +440,8 @@
name
:
path
,
name
:
path
,
query
:
{
query
:
{
configId
:
configId
,
configId
:
configId
,
openState
:
openState
openState
:
openState
,
isOffer
:
1
}
}
});
});
}
else
{
}
else
{
...
...
src/components/administrative/ElectronicAudit.vue
View file @
ce94c200
...
@@ -160,6 +160,7 @@ export default {
...
@@ -160,6 +160,7 @@ export default {
name
:
'TravelContractDetail'
,
name
:
'TravelContractDetail'
,
query
:
{
query
:
{
TCID
:
item
.
tcid
,
TCID
:
item
.
tcid
,
guestId
:
item
.
guestId
,
orderID
:
item
.
orderId
,
orderID
:
item
.
orderId
,
blank
:
"y"
,
blank
:
"y"
,
}
}
...
...
src/components/clientConfirm.vue
View file @
ce94c200
...
@@ -276,11 +276,11 @@
...
@@ -276,11 +276,11 @@
<
template
>
<
template
>
<div
class=
"dic_content"
:class=
"dialogVisible?'CisHideen':''"
>
<div
class=
"dic_content"
:class=
"dialogVisible?'CisHideen':''"
>
<!-- 签字 -->
<!-- 签字 -->
<div
v-show=
"signShow"
class=
"signSpan"
>
<div
v-show=
"signShow
&&dataList.companySignature!=''
"
class=
"signSpan"
>
<div
@
click=
"goUrl"
class=
"sign"
>
<div
@
click=
"goUrl"
class=
"sign"
>
<!--
<span><span
class=
"sp1"
></span></p>
-->
<!--
<span><span
class=
"sp1"
></span></p>
-->
<p><span
style=
"font-size:3rem"
class=
"iconfont icon-qianming"
></span></p>
<p><span
style=
"font-size:3rem"
class=
"iconfont icon-qianming"
></span></p>
<span
style=
"font-size:2rem"
>
签字
</span>
<span
style=
"font-size:2rem"
>
签字
</span>
</div>
</div>
</div>
</div>
<!-- 开始进入弹窗 -->
<!-- 开始进入弹窗 -->
...
@@ -1522,7 +1522,8 @@
...
@@ -1522,7 +1522,8 @@
//查询参数
//查询参数
msg
:{
msg
:{
TCID
:
0
,
TCID
:
0
,
orderID
:
0
orderID
:
0
,
guestId
:
0
},
},
//数据源
//数据源
dataList
:[],
dataList
:[],
...
@@ -2077,6 +2078,7 @@
...
@@ -2077,6 +2078,7 @@
mounted
()
{
mounted
()
{
this
.
msg
.
TCID
=
this
.
$route
.
query
.
TCID
;
this
.
msg
.
TCID
=
this
.
$route
.
query
.
TCID
;
this
.
msg
.
orderID
=
this
.
$route
.
query
.
orderID
;
this
.
msg
.
orderID
=
this
.
$route
.
query
.
orderID
;
this
.
msg
.
guestId
=
this
.
$route
.
query
.
guestId
;
var
h
=
window
.
screen
.
height
;
var
h
=
window
.
screen
.
height
;
var
cHeight
=
document
.
getElementsByClassName
(
"CliSignDiv"
)[
0
];
var
cHeight
=
document
.
getElementsByClassName
(
"CliSignDiv"
)[
0
];
cHeight
.
style
.
height
=
900
+
'px'
;
cHeight
.
style
.
height
=
900
+
'px'
;
...
...
src/components/commonPage/commonShouSun.vue
View file @
ce94c200
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
<tr>
<tr>
<td>
<td>
<
template
v-if=
"Type==2"
>
<
template
v-if=
"Type==2"
>
<el-input
class=
"w135"
v-model=
"dataList.LossTicketMoney"
@
keyup
.
native=
"checkPrice(dataList,'LossTicketMoney'),getTotalSun(dataList)"
placeholder=
"请输入"
type=
"text"
></el-input>
<el-input
class=
"w135"
v-model=
"dataList.LossTicketMoney"
@
keyup
.
native=
"checkPrice(dataList,'LossTicketMoney'
,true
),getTotalSun(dataList)"
placeholder=
"请输入"
type=
"text"
></el-input>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<span
v-if=
"dataList.TicketIsSet==1"
>
{{
dataList
.
LossTicketMoney
}}
</span>
<span
v-if=
"dataList.TicketIsSet==1"
>
{{
dataList
.
LossTicketMoney
}}
</span>
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
</td>
</td>
<td>
<td>
<
template
v-if=
"Type==3"
>
<
template
v-if=
"Type==3"
>
<el-input
class=
"w135"
v-model=
"dataList.LossVisaMoney"
@
keyup
.
native=
"checkPrice(dataList,'LossVisaMoney'),getTotalSun(dataList)"
placeholder=
"请输入"
type=
"text"
></el-input>
<el-input
class=
"w135"
v-model=
"dataList.LossVisaMoney"
@
keyup
.
native=
"checkPrice(dataList,'LossVisaMoney'
,true
),getTotalSun(dataList)"
placeholder=
"请输入"
type=
"text"
></el-input>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<span
v-if=
"dataList.VisaIsSet==1"
>
{{
dataList
.
LossVisaMoney
}}
</span>
<span
v-if=
"dataList.VisaIsSet==1"
>
{{
dataList
.
LossVisaMoney
}}
</span>
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
</td>
</td>
<td>
<td>
<
template
v-if=
"Type==4"
>
<
template
v-if=
"Type==4"
>
<el-input
class=
"w135"
v-model=
"dataList.LossDiJieMoney"
@
keyup
.
native=
"checkPrice(dataList,'LossDiJieMoney'),getTotalSun(dataList)"
placeholder=
"请输入"
type=
"text"
></el-input>
<el-input
class=
"w135"
v-model=
"dataList.LossDiJieMoney"
@
keyup
.
native=
"checkPrice(dataList,'LossDiJieMoney'
,true
),getTotalSun(dataList)"
placeholder=
"请输入"
type=
"text"
></el-input>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<span
v-if=
"dataList.DiJieIsSet==1"
>
{{
dataList
.
LossDiJieMoney
}}
</span>
<span
v-if=
"dataList.DiJieIsSet==1"
>
{{
dataList
.
LossDiJieMoney
}}
</span>
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
</td>
</td>
<td>
<td>
<
template
v-if=
"Type==1"
>
<
template
v-if=
"Type==1"
>
<el-input
class=
"w135"
v-model=
"dataList.LossOPMoney"
@
keyup
.
native=
"checkPrice(dataList,'LossOPMoney'),getTotalSun(dataList)"
placeholder=
"请输入"
type=
"text"
></el-input>
<el-input
class=
"w135"
v-model=
"dataList.LossOPMoney"
@
keyup
.
native=
"checkPrice(dataList,'LossOPMoney'
,true
),getTotalSun(dataList)"
placeholder=
"请输入"
type=
"text"
></el-input>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<span
v-if=
"dataList.OPIsSet==1"
>
{{
dataList
.
LossOPMoney
}}
</span>
<span
v-if=
"dataList.OPIsSet==1"
>
{{
dataList
.
LossOPMoney
}}
</span>
...
...
src/components/index.vue
View file @
ce94c200
...
@@ -1412,12 +1412,13 @@ export default {
...
@@ -1412,12 +1412,13 @@ export default {
};
};
document
.
addEventListener
(
visibilityChangeEvent
,
onVisibilityChange
);
document
.
addEventListener
(
visibilityChangeEvent
,
onVisibilityChange
);
// console.log('initIM',this.firstMenuList.indexOf('IM'))
// console.log('initIM',this.firstMenuList.indexOf('IM'))
if
(
!
localStorage
.
menu
)
if
(
!
localStorage
.
menu
){
this
.
$store
.
dispatch
(
"connect"
);
//this.$store.dispatch("connect");
else
{
let
aaa
=
0
}
else
{
this
.
firstMenuList
=
JSON
.
parse
(
localStorage
.
menu
)
this
.
firstMenuList
=
JSON
.
parse
(
localStorage
.
menu
)
if
(
this
.
firstMenuList
.
indexOf
(
'IM'
)
!=-
1
){
if
(
this
.
firstMenuList
.
indexOf
(
'IM'
)
!=-
1
){
this
.
$store
.
dispatch
(
"connect"
);
//
this.$store.dispatch("connect");
}
}
}
}
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
userInfo
=
this
.
getLocalStorage
();
...
...
src/components/leaderPay2.vue
View file @
ce94c200
...
@@ -1725,7 +1725,7 @@
...
@@ -1725,7 +1725,7 @@
}
}
Diningdest
[
i
].
row
=
row
Diningdest
[
i
].
row
=
row
}
}
console
.
log
(
Diningdest
)
//
console.log(Diningdest)
this
.
DiningDataList
=
this
.
unique
(
Diningdest
,
'id'
);
this
.
DiningDataList
=
this
.
unique
(
Diningdest
,
'id'
);
// this.DiningDataList = Diningdest
// this.DiningDataList = Diningdest
//票
//票
...
@@ -1735,7 +1735,7 @@
...
@@ -1735,7 +1735,7 @@
ScenicList
.
push
(
res
.
data
.
data
.
ScenicList
[
i
].
ScenicStatisticsList
[
o
])
ScenicList
.
push
(
res
.
data
.
data
.
ScenicList
[
i
].
ScenicStatisticsList
[
o
])
}
}
}
}
console
.
log
(
ScenicList
)
//
console.log(ScenicList)
var
Scenicmap
=
{},
var
Scenicmap
=
{},
Scenicdest
=
[];
Scenicdest
=
[];
for
(
var
i
=
0
;
i
<
ScenicList
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
ScenicList
.
length
;
i
++
)
{
...
@@ -1783,24 +1783,38 @@
...
@@ -1783,24 +1783,38 @@
HotelList
.
push
(
res
.
data
.
data
.
HotelOrderListReport
[
i
].
HotelOrderList
[
o
])
HotelList
.
push
(
res
.
data
.
data
.
HotelOrderListReport
[
i
].
HotelOrderList
[
o
])
}
}
}
}
var
Hotelmap
=
{},
var
Hotelmap
=
{},
Hotelmap2
=
{},
Hoteldest
=
[];
Hoteldest
=
[];
for
(
var
i
=
0
;
i
<
HotelList
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
HotelList
.
length
;
i
++
)
{
var
ai
=
HotelList
[
i
];
var
ai
=
HotelList
[
i
];
if
(
!
Hotelmap
[
ai
.
CheckInDateStr
])
{
if
(
!
Hotelmap
[
ai
.
CheckInDateStr
])
{
Hoteldest
.
push
({
Hoteldest
.
push
({
CheckInDateStr
:
ai
.
CheckInDateStr
,
CheckInDateStr
:
ai
.
CheckInDateStr
,
NewHotelId
:
ai
.
NewHotelId
,
NewHotelId
:
ai
.
NewHotelId
,
data
:
[
ai
]
data
:
[
ai
]
});
});
Hotelmap
[
ai
.
CheckInDateStr
]
=
ai
;
Hotelmap
[
ai
.
CheckInDateStr
]
=
ai
;
}
else
{
Hotelmap2
[
ai
.
NewHotelId
]
=
ai
;
}
else
if
(
Hotelmap
[
ai
.
CheckInDateStr
]
&&
!
Hotelmap2
[
ai
.
NewHotelId
])
{
Hoteldest
.
push
({
CheckInDateStr
:
ai
.
CheckInDateStr
,
NewHotelId
:
ai
.
NewHotelId
,
data
:
[
ai
]
});
Hotelmap2
[
ai
.
NewHotelId
]
=
ai
;
}
else
{
for
(
var
j
=
0
;
j
<
Hoteldest
.
length
;
j
++
)
{
for
(
var
j
=
0
;
j
<
Hoteldest
.
length
;
j
++
)
{
var
dj
=
Hoteldest
[
j
];
var
dj
=
Hoteldest
[
j
];
if
(
dj
.
CheckInDateStr
==
ai
.
CheckInDateStr
&&
dj
.
NewHotelId
==
ai
.
NewHotelId
)
{
if
(
dj
.
CheckInDateStr
==
ai
.
CheckInDateStr
&&
dj
.
NewHotelId
==
ai
.
NewHotelId
)
{
dj
.
data
.
push
(
ai
);
dj
.
data
.
push
(
ai
);
break
;
break
;
}
}
}
}
}
}
}
}
...
@@ -1811,7 +1825,8 @@
...
@@ -1811,7 +1825,8 @@
}
}
Hoteldest
[
i
].
row
=
row
Hoteldest
[
i
].
row
=
row
}
}
this
.
HotelDataList
=
Hoteldest
this
.
HotelDataList
=
Hoteldest
;
console
.
log
(
"this.HotelDataList"
,
this
.
HotelDataList
)
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
...
...
src/components/newTravelmanager/TravelGroupControl/TravelManager2.vue
View file @
ce94c200
...
@@ -84,8 +84,9 @@
...
@@ -84,8 +84,9 @@
},
},
data
()
{
data
()
{
return
{
return
{
IsShowBtn
:
false
,
//是否显示按钮
IsShowBtn
:
false
,
//是否显示按钮
ConfigId
:
0
,
//地址栏查询参数
ConfigId
:
0
,
//地址栏查询参数
IsHaveOffer
:
0
,
//是否有报价单
NewConfigId
:
""
,
//configID加密后的字符串【预览使用】
NewConfigId
:
""
,
//configID加密后的字符串【预览使用】
TCNUM
:
''
,
//团控列表传过来的tcnum
TCNUM
:
''
,
//团控列表传过来的tcnum
NoticeParameters
:
{
NoticeParameters
:
{
...
@@ -135,7 +136,7 @@
...
@@ -135,7 +136,7 @@
IsUpdateHotel
:
0
,
IsUpdateHotel
:
0
,
OpenTeamDescribe
:
""
,
//开团备注
OpenTeamDescribe
:
""
,
//开团备注
IsOpenHotel
:
0
,
//0可以添加删除酒店,1-不能修改酒店信息
IsOpenHotel
:
0
,
//0可以添加删除酒店,1-不能修改酒店信息
DayNum
:
0
,
//行程天数
DayNum
:
0
,
//行程天数
},
},
//行程
//行程
FeatureData
:
{
FeatureData
:
{
...
@@ -238,10 +239,13 @@
...
@@ -238,10 +239,13 @@
/*获取组件配置信息【回调方法】*/
/*获取组件配置信息【回调方法】*/
getConfig
(
configObj
)
{
getConfig
(
configObj
)
{
this
.
PostConfig
=
configObj
;
this
.
PostConfig
=
configObj
;
this
.
NoticeParameters
.
ConfigId
=
this
.
PostConfig
.
ConfigId
;
//没有报价单根据线路设置直采和非直采方式生成线路行程
this
.
NoticeParameters
.
CountryID
=
this
.
PostConfig
.
CountryID
;
if
(
this
.
IsHaveOffer
==
0
)
{
this
.
NoticeParameters
.
IsDirect
=
this
.
PostConfig
.
IsDirect
;
this
.
NoticeParameters
.
ConfigId
=
this
.
PostConfig
.
ConfigId
;
this
.
NoticeParameters
.
LineId
=
this
.
PostConfig
.
LineId
;
this
.
NoticeParameters
.
CountryID
=
this
.
PostConfig
.
CountryID
;
this
.
NoticeParameters
.
IsDirect
=
this
.
PostConfig
.
IsDirect
;
this
.
NoticeParameters
.
LineId
=
this
.
PostConfig
.
LineId
;
}
if
(
this
.
ConfigId
==
0
)
{
if
(
this
.
ConfigId
==
0
)
{
this
.
FeatureData
.
LineName
=
this
.
PostConfig
.
LineName
;
this
.
FeatureData
.
LineName
=
this
.
PostConfig
.
LineName
;
this
.
FeatureData
.
Subtitle
=
this
.
PostConfig
.
LineTeamName
;
this
.
FeatureData
.
Subtitle
=
this
.
PostConfig
.
LineTeamName
;
...
@@ -370,11 +374,10 @@
...
@@ -370,11 +374,10 @@
if
(
TripFeature
.
FeatureType
>=
4
)
{
if
(
TripFeature
.
FeatureType
>=
4
)
{
var
htmlObj
=
document
.
getElementById
(
"newFeatureBox"
);
var
htmlObj
=
document
.
getElementById
(
"newFeatureBox"
);
if
(
htmlObj
&&
htmlObj
.
innerHTML
!=
null
&&
htmlObj
.
innerHTML
!=
""
)
{}
else
{
if
(
htmlObj
&&
htmlObj
.
innerHTML
!=
null
&&
htmlObj
.
innerHTML
!=
""
)
{}
else
{
//更新行程特色
//更新行程特色
if
(
this
.
journeyList
.
IsUpdateTrip
==
1
)
if
(
this
.
journeyList
.
IsUpdateTrip
==
1
)
{
{
this
.
MsgBus
.
$emit
(
'comUpTravel'
);
this
.
MsgBus
.
$emit
(
'comUpTravel'
);
}
}
}
}
}
}
...
@@ -404,7 +407,6 @@
...
@@ -404,7 +407,6 @@
}
}
basicData
.
TeamType
=
this
.
TeamType
;
basicData
.
TeamType
=
this
.
TeamType
;
basicData
.
IsUpdateHotel
=
this
.
PostConfig
.
IsUpdateHotel
;
basicData
.
IsUpdateHotel
=
this
.
PostConfig
.
IsUpdateHotel
;
this
.
apipost
(
this
.
apipost
(
"travel_post_SetTravelConfigInfo"
,
"travel_post_SetTravelConfigInfo"
,
basicData
,
basicData
,
...
@@ -686,7 +688,7 @@
...
@@ -686,7 +688,7 @@
this
.
PostConfig
.
VideoStr
=
tempData
.
VideoStr
;
this
.
PostConfig
.
VideoStr
=
tempData
.
VideoStr
;
this
.
PostConfig
.
OpenTeamDescribe
=
tempData
.
OpenTeamDescribe
;
this
.
PostConfig
.
OpenTeamDescribe
=
tempData
.
OpenTeamDescribe
;
this
.
PostConfig
.
IsOpenHotel
=
tempData
.
IsOpenHotel
;
this
.
PostConfig
.
IsOpenHotel
=
tempData
.
IsOpenHotel
;
this
.
PostConfig
.
DayNum
=
tempData
.
DayNum
;
//行程天数
this
.
PostConfig
.
DayNum
=
tempData
.
DayNum
;
//行程天数
this
.
NoticeParameters
.
ConfigId
=
tempData
.
ConfigId
;
this
.
NoticeParameters
.
ConfigId
=
tempData
.
ConfigId
;
...
@@ -709,6 +711,8 @@
...
@@ -709,6 +711,8 @@
this
.
PostConfig
.
IsSubstitution
=
tempData
.
IsSubstitution
;
this
.
PostConfig
.
IsSubstitution
=
tempData
.
IsSubstitution
;
this
.
PostConfig
.
IsDirect
=
tempData
.
IsDirect
;
this
.
PostConfig
.
IsDirect
=
tempData
.
IsDirect
;
this
.
PostConfig
.
PriceIsDirect
=
tempData
.
PriceIsDirect
;
this
.
PostConfig
.
PriceIsDirect
=
tempData
.
PriceIsDirect
;
//是否有报价单
this
.
IsHaveOffer
=
tempData
.
IsHaveOffer
;
if
(
tempData
.
FlightList
!=
null
)
{
if
(
tempData
.
FlightList
!=
null
)
{
this
.
PostConfig
.
FlightList
=
tempData
.
FlightList
;
this
.
PostConfig
.
FlightList
=
tempData
.
FlightList
;
...
@@ -753,7 +757,7 @@
...
@@ -753,7 +757,7 @@
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
this
.
loading
=
false
;
this
.
loading
=
false
;
this
.
IsShowBtn
=
true
;
this
.
IsShowBtn
=
true
;
},
},
err
=>
{}
err
=>
{}
);
);
...
@@ -784,7 +788,7 @@
...
@@ -784,7 +788,7 @@
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
this
.
loading
=
false
;
this
.
loading
=
false
;
this
.
IsShowBtn
=
true
;
this
.
IsShowBtn
=
true
;
},
},
err
=>
{}
err
=>
{}
);
);
...
...
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