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
3648b8dc
Commit
3648b8dc
authored
Dec 18, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
ffe235c6
4c82a0ca
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1088 additions
and
913 deletions
+1088
-913
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+818
-794
TravelContractConfirm.vue
src/components/TravelContractConfirm.vue
+6
-4
TravelContractDetail.vue
src/components/TravelContractDetail.vue
+20
-2
TravelContractView.vue
src/components/TravelContractView.vue
+5
-3
ContractManage.vue
src/components/administrative/ContractManage.vue
+57
-46
ElectronicAudit.vue
src/components/administrative/ElectronicAudit.vue
+87
-30
BusInfo.vue
src/components/busManagement/BusInfo.vue
+94
-33
TravelConfig.vue
...ents/newTravelmanager/TravelGroupControl/TravelConfig.vue
+1
-1
No files found.
src/components/LeaderManagement/leaderReimbursement.vue
View file @
3648b8dc
...
@@ -112,6 +112,19 @@
...
@@ -112,6 +112,19 @@
</td>
</td>
<td>
<td>
{{item.AirportPickUpStr}}
{{item.AirportPickUpStr}}
<
template
v-if=
"item.AirportPickUp==15 && item.MergeList && item.MergeList.length>0"
v-for=
"(subItem,subIndex) in item.MergeList"
>
<div
:key=
"subIndex"
style=
"color:blue;white-space:nowrap;cursor:pointer;text-decoration:underline;"
@
click=
"GoToLeader(subItem)"
>
套车团号:
{{
subItem
.
MTCNUM
}}
(
{{
subItem
.
MTCID
}}
)
</div>
</
template
>
<
template
v-if=
"item.MergePlanList && item.MergePlanList.length>0"
v-for=
"(subItem,subIndex) in item.MergePlanList"
>
<div
:key=
"subIndex"
style=
"color:blue;white-space:nowrap;cursor:pointer;text-decoration:underline;"
@
click=
"GoToLeader(subItem)"
>
被套车团号:
{{
subItem
.
MTCNUM
}}
(
{{
subItem
.
TCIDs
}}
)
</div>
</
template
>
</td>
</td>
<td>
<td>
{{item.CostPrice >= 0
&&
item.CostPrice !== null ? moneyFormat(item.CostPrice) : ''}}
{{item.CostPrice >= 0
&&
item.CostPrice !== null ? moneyFormat(item.CostPrice) : ''}}
...
@@ -124,7 +137,7 @@
...
@@ -124,7 +137,7 @@
<span
v-else-if=
"item.PayType === 6"
>
合团公司支付
</span>
<span
v-else-if=
"item.PayType === 6"
>
合团公司支付
</span>
<span
v-else-if=
"item.PayType === 8"
>
酒店接送
</span>
<span
v-else-if=
"item.PayType === 8"
>
酒店接送
</span>
<span
v-else
></span>
<span
v-else
></span>
<br/>
<br
/>
<span
v-show=
"item.PayType==6"
>
付款团号:{{item.PayTypeTCNUM}}
</span>
<span
v-show=
"item.PayType==6"
>
付款团号:{{item.PayTypeTCNUM}}
</span>
</td>
</td>
<td>
<td>
...
@@ -228,7 +241,8 @@
...
@@ -228,7 +241,8 @@
</
template
>
</
template
>
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
style=
"text-align:left; "
>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
style=
"text-align:left; "
>
<a
target=
"_blank"
v-if=
"subItem.ContractUrl!==''"
:href=
"subItem.ContractUrl"
style=
"text-decoration: underline; cursor: pointer;color:red"
>
查看手配书
</a>
<a
target=
"_blank"
v-if=
"subItem.ContractUrl!==''"
:href=
"subItem.ContractUrl"
style=
"text-decoration: underline; cursor: pointer;color:red"
>
查看手配书
</a>
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
style=
"text-align:left;color:red; "
>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
style=
"text-align:left;color:red; "
>
{{subItem.HotelName!=subItem.NewHotelName?""+subItem.NewHotelName:""}}
{{subItem.HotelName!=subItem.NewHotelName?""+subItem.NewHotelName:""}}
...
@@ -367,12 +381,12 @@
...
@@ -367,12 +381,12 @@
<span
v-else-if=
"subItem.DMCPayType === 9"
>
月结
</span>
<span
v-else-if=
"subItem.DMCPayType === 9"
>
月结
</span>
<span
v-else-if=
"subItem.DMCPayType === 11"
>
刷卡
</span>
<span
v-else-if=
"subItem.DMCPayType === 11"
>
刷卡
</span>
<span
v-else-if=
"subItem.DMCPayType === 10"
>
领队导游垫付
</span>
<span
v-else-if=
"subItem.DMCPayType === 10"
>
领队导游垫付
</span>
<br/>
<br
/>
<span
v-show=
"subItem.DMCPayType==6"
>
付款团号:{{subItem.PayTypeTCNUM}}
</span>
<span
v-show=
"subItem.DMCPayType==6"
>
付款团号:{{subItem.PayTypeTCNUM}}
</span>
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
<span>
{{subItem.SupplierName}}
<span>
{{subItem.SupplierName}}
<br/>
<br
/>
<
template
v-if=
"subItem.SupplierPayType !== 0"
>
<
template
v-if=
"subItem.SupplierPayType !== 0"
>
<span
v-if=
"subItem.SupplierPayType == 1"
>
<span
v-if=
"subItem.SupplierPayType == 1"
>
现付
现付
...
@@ -698,10 +712,9 @@
...
@@ -698,10 +712,9 @@
<
template
v-for=
"leadr in cur.LeaderGetPriceArr"
v-if=
" leadr.TCNUMS == item.TCNUMS"
>
<
template
v-for=
"leadr in cur.LeaderGetPriceArr"
v-if=
" leadr.TCNUMS == item.TCNUMS"
>
<input
type=
"button"
v-if=
"item.TeamType == 1 && index2==0"
value=
"日当费"
class=
"normalBtn"
<input
type=
"button"
v-if=
"item.TeamType == 1 && index2==0"
value=
"日当费"
class=
"normalBtn"
@
click=
"goZhiDan(item, 2)"
/>
@
click=
"goZhiDan(item, 2)"
/>
<template
v-if=
"item.hideZDBtn && ContractUrlCount == 0"
>
<template
v-if=
"item.hideZDBtn && ContractUrlCount == 0"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"currencyTypeObj[leadr.CurrencyId]"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"currencyTypeObj[leadr.CurrencyId]"
placement=
"top"
>
<input
type=
"button"
value=
"制单"
class=
"normalBtn"
<input
type=
"button"
value=
"制单"
class=
"normalBtn"
@
click=
"goZhiDan(item,0,leadr,cur)"
/>
@
click=
"goZhiDan(item,0,leadr,cur)"
/>
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
<
template
v-else-if=
"ContractUrlCount !== 0 && index2==0"
>
<
template
v-else-if=
"ContractUrlCount !== 0 && index2==0"
>
...
@@ -801,9 +814,11 @@
...
@@ -801,9 +814,11 @@
</template>
</template>
<
script
>
<
script
>
import
commonHotelInfo
from
"../commonPage/commonHotelInfo.vue"
;
import
commonHotelInfo
from
"../commonPage/commonHotelInfo.vue"
;
import
{
constants
}
from
"os"
;
import
{
export
default
{
constants
}
from
"os"
;
export
default
{
data
()
{
data
()
{
return
{
return
{
isUpdate
:
"false"
,
isUpdate
:
"false"
,
...
@@ -851,6 +866,20 @@ export default {
...
@@ -851,6 +866,20 @@ export default {
commonHotelInfo
commonHotelInfo
},
},
methods
:
{
methods
:
{
GoToLeader
(
obj
)
{
this
.
$router
.
push
({
name
:
'leaderReimbursement'
,
query
:
{
"id"
:
obj
.
TCIDs
,
NewCombinationNum
:
obj
.
DMCNum
,
isUpdate
:
true
,
OutBranchId
:
0
,
blank
:
'y'
,
tab
:
'用款计划'
,
lineId
:
0
}
})
},
// 20190815 新增领款单据重新生成自动带上计算后的金额
// 20190815 新增领款单据重新生成自动带上计算后的金额
goFncEditUrl
(
url
,
crId
,
frId
)
{
goFncEditUrl
(
url
,
crId
,
frId
)
{
let
obj
=
{};
let
obj
=
{};
...
@@ -864,15 +893,15 @@ export default {
...
@@ -864,15 +893,15 @@ export default {
if
(
crId
==
1
)
{
if
(
crId
==
1
)
{
//人民币
//人民币
calcPrice
=
calcPrice
=
parseInt
(
price
/
1000
)
>
0
parseInt
(
price
/
1000
)
>
0
?
?
parseInt
(
price
/
1000
)
*
1000
parseInt
(
price
/
1000
)
*
1000
:
:
parseInt
(
price
);
parseInt
(
price
);
}
else
{
}
else
{
// 其他
// 其他
calcPrice
=
calcPrice
=
parseInt
(
price
/
10000
)
>
0
parseInt
(
price
/
10000
)
>
0
?
?
parseInt
(
price
/
10000
)
*
10000
parseInt
(
price
/
10000
)
*
10000
:
:
parseInt
(
price
);
parseInt
(
price
);
}
}
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
url
,
name
:
url
,
...
@@ -939,8 +968,7 @@ export default {
...
@@ -939,8 +968,7 @@ export default {
financeinfo_post_GetList
()
{
financeinfo_post_GetList
()
{
// 币种类型
// 币种类型
this
.
apipost
(
this
.
apipost
(
"financeinfo_post_GetList"
,
"financeinfo_post_GetList"
,
{
{
Name
:
""
Name
:
""
},
},
res
=>
{
res
=>
{
...
@@ -949,8 +977,7 @@ export default {
...
@@ -949,8 +977,7 @@ export default {
data
.
forEach
(
item
=>
{
data
.
forEach
(
item
=>
{
this
.
currencyTypeObj
[
item
.
ID
]
=
item
.
Name
;
this
.
currencyTypeObj
[
item
.
ID
]
=
item
.
Name
;
});
});
}
else
{
}
else
{}
}
},
},
err
=>
{}
err
=>
{}
);
);
...
@@ -979,8 +1006,7 @@ export default {
...
@@ -979,8 +1006,7 @@ export default {
},
},
getzhuijiaList
()
{
getzhuijiaList
()
{
this
.
apipost
(
this
.
apipost
(
"Financial_post_GetTravelFinanceReplenishList"
,
"Financial_post_GetTravelFinanceReplenishList"
,
{
{
TravelReplenish
:
this
.
$route
.
query
.
id
TravelReplenish
:
this
.
$route
.
query
.
id
},
},
res
=>
{
res
=>
{
...
@@ -991,10 +1017,9 @@ export default {
...
@@ -991,10 +1017,9 @@ export default {
err
=>
{}
err
=>
{}
);
);
},
},
getHangingAccountByTCIDList
:
function
()
{
getHangingAccountByTCIDList
:
function
()
{
this
.
apipost
(
this
.
apipost
(
"Financial_post_GetHangingAccountByTCIDList"
,
"Financial_post_GetHangingAccountByTCIDList"
,
{
{
TCIDs
:
this
.
$route
.
query
.
id
TCIDs
:
this
.
$route
.
query
.
id
},
},
res
=>
{
res
=>
{
...
@@ -1005,7 +1030,7 @@ export default {
...
@@ -1005,7 +1030,7 @@ export default {
err
=>
{}
err
=>
{}
);
);
},
},
goFncUrl
:
function
(
path
,
id
)
{
goFncUrl
:
function
(
path
,
id
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
path
,
name
:
path
,
query
:
{
query
:
{
...
@@ -1014,7 +1039,7 @@ export default {
...
@@ -1014,7 +1039,7 @@ export default {
}
}
});
});
},
},
goHotelDetail
:
function
(
id
,
num
,
TCNUM
,
path
)
{
goHotelDetail
:
function
(
id
,
num
,
TCNUM
,
path
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
path
,
name
:
path
,
query
:
{
query
:
{
...
@@ -1025,7 +1050,7 @@ export default {
...
@@ -1025,7 +1050,7 @@ export default {
}
}
});
});
},
},
goZhiDan2
:
function
(
obj
,
type
,
leadr
,
cur
)
{
goZhiDan2
:
function
(
obj
,
type
,
leadr
,
cur
)
{
let
TCIDARR
=
[
obj
.
TCIDS
];
let
TCIDARR
=
[
obj
.
TCIDS
];
let
orderObj
=
{
let
orderObj
=
{
OrderID
:
0
,
OrderID
:
0
,
...
@@ -1060,7 +1085,7 @@ export default {
...
@@ -1060,7 +1085,7 @@ export default {
}
}
});
});
},
},
goZhiDan
:
function
(
obj
,
num
,
leadr
,
cur
)
{
goZhiDan
:
function
(
obj
,
num
,
leadr
,
cur
)
{
if
(
!
num
)
{
if
(
!
num
)
{
let
totailMoney
=
Number
(
leadr
.
LeaderGetPriceT
)
+
Number
(
cur
.
yiLing
);
let
totailMoney
=
Number
(
leadr
.
LeaderGetPriceT
)
+
Number
(
cur
.
yiLing
);
if
(
totailMoney
>
leadr
.
PlanPrice
)
if
(
totailMoney
>
leadr
.
PlanPrice
)
...
@@ -1071,8 +1096,7 @@ export default {
...
@@ -1071,8 +1096,7 @@ export default {
if
(
this
.
list
.
hotelNoSureInfo
!==
""
)
{
if
(
this
.
list
.
hotelNoSureInfo
!==
""
)
{
this
.
$confirm
(
this
.
$confirm
(
`
${
this
.
list
.
hotelNoSureInfo
}
,是否去制单?`
,
`
${
this
.
list
.
hotelNoSureInfo
}
,是否去制单?`
,
this
.
$t
(
"tips.tips"
),
this
.
$t
(
"tips.tips"
),
{
{
confirmButtonText
:
this
.
$t
(
"pub.sureBtn"
),
confirmButtonText
:
this
.
$t
(
"pub.sureBtn"
),
cancelButtonText
:
this
.
$t
(
"pub.cancelBtn"
),
cancelButtonText
:
this
.
$t
(
"pub.cancelBtn"
),
type
:
"warning"
type
:
"warning"
...
@@ -1262,8 +1286,7 @@ export default {
...
@@ -1262,8 +1286,7 @@ export default {
getNav
()
{
getNav
()
{
let
_this
=
this
;
let
_this
=
this
;
this
.
apipost
(
this
.
apipost
(
"dmcstatistics_post_GetHotelStaticsByTCIDs"
,
"dmcstatistics_post_GetHotelStaticsByTCIDs"
,
{
{
TCIDs
:
this
.
$route
.
query
.
id
TCIDs
:
this
.
$route
.
query
.
id
},
},
res
=>
{
res
=>
{
...
@@ -1349,8 +1372,7 @@ export default {
...
@@ -1349,8 +1372,7 @@ export default {
},
},
getTotalNav
()
{
getTotalNav
()
{
this
.
apipost
(
this
.
apipost
(
"dmcstatistics_post_GetNewPlanTotalPrice_V2"
,
"dmcstatistics_post_GetNewPlanTotalPrice_V2"
,
{
{
TCIDs
:
this
.
$route
.
query
.
id
TCIDs
:
this
.
$route
.
query
.
id
},
},
res
=>
{
res
=>
{
...
@@ -1405,67 +1427,68 @@ export default {
...
@@ -1405,67 +1427,68 @@ export default {
this
.
getzhuijiaList
();
this
.
getzhuijiaList
();
this
.
financeinfo_post_GetList
();
this
.
financeinfo_post_GetList
();
}
}
};
};
</
script
>
</
script
>
<
style
>
<
style
>
.leaderReimbursementTableNav
{
.leaderReimbursementTableNav
{
background
:
#d6cece
;
background
:
#d6cece
;
width
:
100%
;
width
:
100%
;
margin
:
20px
0
;
margin
:
20px
0
;
}
}
.leaderReimbursementTableNav
tr
th
{
.leaderReimbursementTableNav
tr
th
{
background
:
#e6e6e6
;
background
:
#e6e6e6
;
height
:
40px
;
height
:
40px
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#333
;
color
:
#333
;
}
}
.leaderReimbursementTableNav
tr
{
.leaderReimbursementTableNav
tr
{
background
:
#fff
;
background
:
#fff
;
text-align
:
center
;
text-align
:
center
;
height
:
40px
;
height
:
40px
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.leaderReimbursementTableNav
tr
td
{
.leaderReimbursementTableNav
tr
td
{
background
:
#fff
;
background
:
#fff
;
text-align
:
center
;
text-align
:
center
;
height
:
20px
;
height
:
20px
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.leaderReimbursementTableNav
._go_detail
p
{
.leaderReimbursementTableNav
._go_detail
p
{
cursor
:
pointer
;
cursor
:
pointer
;
line-height
:
25px
;
line-height
:
25px
;
}
}
.leaderReimbursementTable
{
.leaderReimbursementTable
{
width
:
100%
;
width
:
100%
;
margin
:
20px
0
;
margin
:
20px
0
;
border-collapse
:
collapse
;
border-collapse
:
collapse
;
}
}
.leaderReimbursementTable
tr
th
{
.leaderReimbursementTable
tr
th
{
background
:
#e6e6e6
;
background
:
#e6e6e6
;
height
:
40px
;
height
:
40px
;
font-size
:
13px
;
font-size
:
13px
;
color
:
#333
;
color
:
#333
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
text-align
:
center
;
text-align
:
center
;
}
}
.leaderReimbursementTable
tr
td
{
.leaderReimbursementTable
tr
td
{
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
line-height
:
25px
;
line-height
:
25px
;
height
:
25px
;
height
:
25px
;
font-size
:
12px
;
font-size
:
12px
;
background
:
#fff
;
background
:
#fff
;
text-align
:
center
;
text-align
:
center
;
}
}
.leader2Btn
{
.leader2Btn
{
color
:
#fff
;
color
:
#fff
;
padding
:
0
15px
;
padding
:
0
15px
;
height
:
30px
;
height
:
30px
;
...
@@ -1473,191 +1496,192 @@ export default {
...
@@ -1473,191 +1496,192 @@ export default {
border
:
1px
solid
#e95252
;
border
:
1px
solid
#e95252
;
cursor
:
pointer
;
cursor
:
pointer
;
border-radius
:
15px
;
border-radius
:
15px
;
}
}
.Receipt_box
{
.Receipt_box
{
padding
:
15px
;
padding
:
15px
;
color
:
#c94052
;
color
:
#c94052
;
width
:
614px
;
width
:
614px
;
background-color
:
rgba
(
242
,
242
,
242
,
1
);
background-color
:
rgba
(
242
,
242
,
242
,
1
);
border
:
1px
solid
rgba
(
228
,
228
,
228
,
1
);
border
:
1px
solid
rgba
(
228
,
228
,
228
,
1
);
}
}
.Receipt_box.color_blur
{
.Receipt_box.color_blur
{
color
:
#106baf
;
color
:
#106baf
;
}
}
.Receipt_box.color_blur
.rb_stit
span
{
.Receipt_box.color_blur
.rb_stit
span
{
display
:
inline-block
;
display
:
inline-block
;
border-bottom
:
2px
solid
#106baf
;
border-bottom
:
2px
solid
#106baf
;
padding
:
0
20px
;
padding
:
0
20px
;
}
}
.rb_tit
{
.rb_tit
{
font-size
:
18px
;
font-size
:
18px
;
text-align
:
center
;
text-align
:
center
;
}
}
.rb_stit
{
.rb_stit
{
font-size
:
14px
;
font-size
:
14px
;
text-align
:
center
;
text-align
:
center
;
}
}
.rb_stit
span
{
.rb_stit
span
{
display
:
inline-block
;
display
:
inline-block
;
border-bottom
:
2px
solid
#c94052
;
border-bottom
:
2px
solid
#c94052
;
padding
:
0
20px
;
padding
:
0
20px
;
}
}
.rb_top_row
{
.rb_top_row
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.rb_top_row
span
._r_name
{
.rb_top_row
span
._r_name
{
color
:
#333333
;
color
:
#333333
;
}
}
.rb_top_row
span
._r_bold
{
.rb_top_row
span
._r_bold
{
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.rb_top_row
._r_time
span
{
.rb_top_row
._r_time
span
{
color
:
#333333
;
color
:
#333333
;
}
}
._r_mb5
{
._r_mb5
{
margin-bottom
:
5px
;
margin-bottom
:
5px
;
}
}
.Receipt_table
{
.Receipt_table
{
width
:
100%
;
width
:
100%
;
font-size
:
14px
;
font-size
:
14px
;
text-align
:
center
;
text-align
:
center
;
}
}
.Receipt_table
.th
{
.Receipt_table
.th
{
font-weight
:
200
!important
;
font-weight
:
200
!important
;
}
}
._r_mt10
{
._r_mt10
{
margin-top
:
10px
;
margin-top
:
10px
;
}
}
._bg__
{
._bg__
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
2px
8px
;
padding
:
2px
8px
;
color
:
white
;
color
:
white
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
._bg_red
{
._bg_red
{
background-color
:
#e95252
;
background-color
:
#e95252
;
}
}
._bg_green
{
._bg_green
{
background-color
:
#2bb87c
;
background-color
:
#2bb87c
;
}
}
.text_d
{
.text_d
{
text-decoration
:
underline
;
text-decoration
:
underline
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.PingFangSC
{
.PingFangSC
{
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.Bill_par
{
.Bill_par
{
position
:
relative
;
position
:
relative
;
}
}
tr
._item_list
{
tr
._item_list
{
border-bottom
:
1px
solid
#e5e5e5
;
border-bottom
:
1px
solid
#e5e5e5
;
height
:
78px
;
height
:
78px
;
}
}
tr
._item_list
td
{
tr
._item_list
td
{
border-bottom
:
1px
solid
#e5e5e5
;
border-bottom
:
1px
solid
#e5e5e5
;
padding
:
10px
;
padding
:
10px
;
}
}
/* tr._t_head th{border-top: 1px solid #e5e5e5;} */
/* tr._t_head th{border-top: 1px solid #e5e5e5;} */
tr
._item_list
td
:first-child
{
tr
._item_list
td
:first-child
{
border-left
:
1px
solid
#e5e5e5
;
border-left
:
1px
solid
#e5e5e5
;
}
}
tr
._item_list
td
:last-child
{
tr
._item_list
td
:last-child
{
border-right
:
1px
solid
#e5e5e5
;
border-right
:
1px
solid
#e5e5e5
;
}
}
._head_img
{
._head_img
{
width
:
28px
;
width
:
28px
;
height
:
28px
;
height
:
28px
;
border-radius
:
50%
;
border-radius
:
50%
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
._btn_group
{
._btn_group
{
font-size
:
14px
;
font-size
:
14px
;
}
}
.icon-daiqueren
{
.icon-daiqueren
{
color
:
#4bca81
;
color
:
#4bca81
;
}
}
.icon-yiqueren
{
.icon-yiqueren
{
color
:
#4bca81
;
color
:
#4bca81
;
}
}
.icon-yiquxiao
{
.icon-yiquxiao
{
color
:
#959595
;
color
:
#959595
;
}
}
.icon-shenhebohui
{
.icon-shenhebohui
{
color
:
#e95252
;
color
:
#e95252
;
}
}
.icon-icon-zancun
{
.icon-icon-zancun
{
color
:
#ff9c01
;
color
:
#ff9c01
;
}
}
.singeRowTable
tr
:hover
{
.singeRowTable
tr
:hover
{
background-color
:
white
;
background-color
:
white
;
}
}
._TradeWayList
{
._TradeWayList
{
padding
:
5px
10px
;
padding
:
5px
10px
;
background-color
:
#eeeeee
;
background-color
:
#eeeeee
;
border-radius
:
4px
;
border-radius
:
4px
;
margin
:
10px
0
;
margin
:
10px
0
;
width
:
230px
;
width
:
230px
;
}
}
._bold
{
._bold
{
font-weight
:
bold
;
font-weight
:
bold
;
}
}
._bank_name
,
._bank_name
,
._bank_type
{
._bank_type
{
display
:
inline-block
;
display
:
inline-block
;
background-color
:
#333333
;
background-color
:
#333333
;
color
:
white
;
color
:
white
;
padding
:
2px
4px
;
padding
:
2px
4px
;
border-radius
:
4px
;
border-radius
:
4px
;
margin-left
:
10px
;
margin-left
:
10px
;
}
}
._bank_name
{
._bank_name
{
margin-left
:
10px
;
margin-left
:
10px
;
}
}
._bank_type
{
._bank_type
{
background-color
:
#2aaef2
;
background-color
:
#2aaef2
;
}
}
._bank_type2
{
._bank_type2
{
background-color
:
#ff9c01
;
background-color
:
#ff9c01
;
}
}
</
style
>
</
style
>
src/components/TravelContractConfirm.vue
View file @
3648b8dc
...
@@ -987,7 +987,7 @@
...
@@ -987,7 +987,7 @@
<el-col
:span=
"12"
>
乙方签字(盖章):
</el-col>
<el-col
:span=
"12"
>
乙方签字(盖章):
</el-col>
<el-col
:span=
"12"
style=
"position:relative;"
>
<el-col
:span=
"12"
style=
"position:relative;"
>
{{CtObj.TravelAgency_Name}}
{{CtObj.TravelAgency_Name}}
<img
class=
"signImg"
style=
"position:absolute;right:0;"
src=
"../assets/img/dzht/zhang.png"
alt=
""
/>
<img
class=
"signImg"
v-if=
"CtObj.IsTravelAgencySignature==1"
style=
"position:absolute;right:0;"
src=
"../assets/img/dzht/zhang.png"
alt=
""
/>
</el-col>
</el-col>
</el-row>
</el-row>
</li>
</li>
...
@@ -1394,7 +1394,7 @@
...
@@ -1394,7 +1394,7 @@
<li
>
<li
>
<el-row>
<el-row>
<el-col
:span=
"12"
>
出境社盖章:
</el-col>
<el-col
:span=
"12"
>
出境社盖章:
</el-col>
<el-col
:span=
"12"
style=
"position:relative;"
><img
class=
"signImg"
style=
"position:absolute;right:0;"
src=
"../assets/img/dzht/zhang.png"
alt=
""
/></el-col>
<el-col
:span=
"12"
style=
"position:relative;"
><img
class=
"signImg"
v-if=
"CtObj.IsTravelAgencySignature==1"
style=
"position:absolute;right:0;"
src=
"../assets/img/dzht/zhang.png"
alt=
""
/></el-col>
</el-row>
</el-row>
</li>
</li>
<li>
<li>
...
@@ -1534,7 +1534,7 @@
...
@@ -1534,7 +1534,7 @@
<li
style=
"position:relative;"
>
<li
style=
"position:relative;"
>
<el-row>
<el-row>
<el-col
:span=
"12"
>
旅行社:(盖章)
</el-col>
<el-col
:span=
"12"
>
旅行社:(盖章)
</el-col>
<el-col
:span=
"12"
><img
style=
"width:120px;position:absolute;right:0;"
src=
"../assets/img/dzht/zhang.png"
alt=
""
/></el-col>
<el-col
:span=
"12"
><img
style=
"width:120px;position:absolute;right:0;"
v-if=
"CtObj.IsTravelAgencySignature==1"
src=
"../assets/img/dzht/zhang.png"
alt=
""
/></el-col>
</el-row>
</el-row>
</li>
</li>
<li>
<li>
...
@@ -1955,7 +1955,7 @@
...
@@ -1955,7 +1955,7 @@
<el-col
:span=
"12"
>
乙方签字(盖章):
</el-col>
<el-col
:span=
"12"
>
乙方签字(盖章):
</el-col>
<el-col
:span=
"12"
style=
"position:relative;"
>
<el-col
:span=
"12"
style=
"position:relative;"
>
{{CtObj.TravelAgency_Name}}
{{CtObj.TravelAgency_Name}}
<img
class=
"signImg"
style=
"position:absolute;right:0;"
src=
"../assets/img/dzht/zhang.png"
alt=
""
/>
<img
class=
"signImg"
style=
"position:absolute;right:0;"
v-if=
"CtObj.IsTravelAgencySignature==1"
src=
"../assets/img/dzht/zhang.png"
alt=
""
/>
</el-col>
</el-col>
</el-row>
</el-row>
</li>
</li>
...
@@ -3199,6 +3199,7 @@
...
@@ -3199,6 +3199,7 @@
TripType
:
0
,
//行程类型(0-简易行程,1-标准行程)
TripType
:
0
,
//行程类型(0-简易行程,1-标准行程)
Tourists_Sign
:
''
,
Tourists_Sign
:
''
,
CreateTimeStr
:
""
,
CreateTimeStr
:
""
,
IsTravelAgencySignature
:
0
//判断是否盖章
},
},
};
};
},
},
...
@@ -3351,6 +3352,7 @@
...
@@ -3351,6 +3352,7 @@
this
.
CtObj
.
PickUpTotalPrice
=
tempObj
.
PickUpTotalPrice
;
this
.
CtObj
.
PickUpTotalPrice
=
tempObj
.
PickUpTotalPrice
;
this
.
CtObj
.
VisaTotalPrice
=
tempObj
.
VisaTotalPrice
;
this
.
CtObj
.
VisaTotalPrice
=
tempObj
.
VisaTotalPrice
;
this
.
CtObj
.
Tourists_Sign
=
tempObj
.
Tourists_Sign
;
this
.
CtObj
.
Tourists_Sign
=
tempObj
.
Tourists_Sign
;
this
.
CtObj
.
IsTravelAgencySignature
=
tempObj
.
IsTravelAgencySignature
;
this
.
CtObj
.
TicketAndHotelTotalPrice
=
this
.
CtObj
.
TicketAndHotelTotalPrice
=
tempObj
.
TicketAndHotelTotalPrice
;
tempObj
.
TicketAndHotelTotalPrice
;
if
(
if
(
...
...
src/components/TravelContractDetail.vue
View file @
3648b8dc
...
@@ -576,7 +576,7 @@
...
@@ -576,7 +576,7 @@
</td>
</td>
<td>
<td>
<span>
{{
dataList
.
company
}}
</span>
<span>
{{
dataList
.
company
}}
</span>
<img
class=
"esealDiv"
src=
'../assets/img/dzht/zhang.png'
alt=
""
/>
<img
class=
"esealDiv"
v-if=
"isShowZhang==1"
src=
'../assets/img/dzht/zhang.png'
alt=
""
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -874,7 +874,8 @@
...
@@ -874,7 +874,8 @@
returnArriveCityName
:
''
,
returnArriveCityName
:
''
,
tripList
:[],
tripList
:[],
//交通
//交通
trifficList
:[]
trifficList
:[],
isShowZhang
:
0
,
};
};
},
},
methods
:
{
methods
:
{
...
@@ -957,6 +958,21 @@
...
@@ -957,6 +958,21 @@
getDayAddOne
(
day
,
num
){
getDayAddOne
(
day
,
num
){
return
moment
(
day
).
add
(
num
,
'days'
).
format
(
'YYYY-MM-DD'
)
return
moment
(
day
).
add
(
num
,
'days'
).
format
(
'YYYY-MM-DD'
)
},
},
//获取是否显示公司章
getShow
(
ID
){
if
(
ID
!=
null
&&
ID
!=
undefined
){
let
msg
=
{
ID
:
ID
}
this
.
apipost
(
"travelcontract_post_GetContractService"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
isShowZhang
=
res
.
data
.
data
.
IsTravelAgencySignature
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
});
}
},
//获取大写
//获取大写
getTotalNum
(
num
)
{
getTotalNum
(
num
)
{
switch
(
num
)
{
switch
(
num
)
{
...
@@ -1415,7 +1431,9 @@
...
@@ -1415,7 +1431,9 @@
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
.
msg
.
guestId
=
this
.
$route
.
query
.
guestId
;
let
TID
=
this
.
$route
.
query
.
ID
;
this
.
getList
();
this
.
getList
();
this
.
getShow
(
this
.
TID
);
this
.
GetTrip
(
0
,
this
.
msg
.
TCID
);
this
.
GetTrip
(
0
,
this
.
msg
.
TCID
);
}
}
};
};
...
...
src/components/TravelContractView.vue
View file @
3648b8dc
...
@@ -785,7 +785,7 @@
...
@@ -785,7 +785,7 @@
<td>
受托方(旅行社)签章:
</td>
<td>
受托方(旅行社)签章:
</td>
<td
style=
"position:relative;"
>
<td
style=
"position:relative;"
>
<font>
{{CtObj.TravelAgency_Name}}
</font>
<font>
{{CtObj.TravelAgency_Name}}
</font>
<img
src=
"../assets/img/dzht/zhang.png"
alt=
""
<img
src=
"../assets/img/dzht/zhang.png"
v-if=
"CtObj.IsTravelAgencySignature==1"
alt=
""
style=
"width:120px;heigth:120px;position:absolute;top:0;"
/>
style=
"width:120px;heigth:120px;position:absolute;top:0;"
/>
</td>
</td>
</tr>
</tr>
...
@@ -1265,7 +1265,7 @@
...
@@ -1265,7 +1265,7 @@
</td>
</td>
<td
style=
"width:15%"
>
出境社盖章:
</td>
<td
style=
"width:15%"
>
出境社盖章:
</td>
<td
style=
"width:35%;position:relative;"
>
<td
style=
"width:35%;position:relative;"
>
<img
src=
"../assets/img/dzht/zhang.png"
alt=
""
<img
src=
"../assets/img/dzht/zhang.png"
v-if=
"CtObj.IsTravelAgencySignature==1"
alt=
""
style=
"width:120px;heigth:120px;position:absolute;top:0;"
/>
style=
"width:120px;heigth:120px;position:absolute;top:0;"
/>
</td>
</td>
</tr>
</tr>
...
@@ -1712,7 +1712,7 @@
...
@@ -1712,7 +1712,7 @@
<td>
乙方签字(盖章)
</td>
<td>
乙方签字(盖章)
</td>
<td
style=
"position:relative;"
>
<td
style=
"position:relative;"
>
<font>
{{CtObj.TravelAgency_Name}}
</font>
<font>
{{CtObj.TravelAgency_Name}}
</font>
<img
src=
"../assets/img/dzht/zhang.png"
alt=
""
style=
"width:120px;heigth:120px;position:absolute;top:0;"
/>
<img
src=
"../assets/img/dzht/zhang.png"
v-if=
"CtObj.IsTravelAgencySignature==1"
alt=
""
style=
"width:120px;heigth:120px;position:absolute;top:0;"
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -2034,6 +2034,7 @@
...
@@ -2034,6 +2034,7 @@
TripType
:
0
,
//行程类型(0-简易行程,1-标准行程)
TripType
:
0
,
//行程类型(0-简易行程,1-标准行程)
Tourists_Sign
:
''
,
Tourists_Sign
:
''
,
CreateTimeStr
:
""
,
CreateTimeStr
:
""
,
IsTravelAgencySignature
:
0
//是否盖章
},
},
};
};
},
},
...
@@ -2176,6 +2177,7 @@
...
@@ -2176,6 +2177,7 @@
this
.
CtObj
.
PickUpTotalPrice
=
tempObj
.
PickUpTotalPrice
;
this
.
CtObj
.
PickUpTotalPrice
=
tempObj
.
PickUpTotalPrice
;
this
.
CtObj
.
VisaTotalPrice
=
tempObj
.
VisaTotalPrice
;
this
.
CtObj
.
VisaTotalPrice
=
tempObj
.
VisaTotalPrice
;
this
.
CtObj
.
Tourists_Sign
=
tempObj
.
Tourists_Sign
;
this
.
CtObj
.
Tourists_Sign
=
tempObj
.
Tourists_Sign
;
this
.
CtObj
.
IsTravelAgencySignature
=
tempObj
.
IsTravelAgencySignature
;
this
.
CtObj
.
TicketAndHotelTotalPrice
=
this
.
CtObj
.
TicketAndHotelTotalPrice
=
tempObj
.
TicketAndHotelTotalPrice
;
tempObj
.
TicketAndHotelTotalPrice
;
if
(
if
(
...
...
src/components/administrative/ContractManage.vue
View file @
3648b8dc
...
@@ -3,32 +3,35 @@
...
@@ -3,32 +3,35 @@
background-color
:
#fff
!important
;
background-color
:
#fff
!important
;
color
:
#e95252
!important
;
color
:
#e95252
!important
;
border-color
:
#e95252
!important
;
border-color
:
#e95252
!important
;
}
}
.ContractManage
.query-box
.el-button--primary
:focus
,
.ContractManage
.query-box
.el-button--primary
:focus
,
.query-box
.el-button--primary
:hover
{
.query-box
.el-button--primary
:hover
{
background-color
:
#fff
!important
;
background-color
:
#fff
!important
;
color
:
#e95252
!important
;
color
:
#e95252
!important
;
border-color
:
#e95252
!important
;
border-color
:
#e95252
!important
;
}
}
.ContractManage
.query-box
.el-button
{
.ContractManage
.query-box
.el-button
{
border-radius
:
16px
;
border-radius
:
16px
;
height
:
30px
;
height
:
30px
;
position
:
relative
;
position
:
relative
;
top
:
5px
;
top
:
5px
;
}
}
.ContractManage
.query-box
.el-button
i
{
.ContractManage
.query-box
.el-button
i
{
color
:
#e95252
;
color
:
#e95252
;
}
}
.ContractManage
.query-box
.el-button
span
{
.ContractManage
.query-box
.el-button
span
{
position
:
relative
;
position
:
relative
;
top
:
-3px
;
top
:
-3px
;
}
}
.ContractManage
.el-button
+
.el-button
{
margin-left
:
0
!important
;
.ContractManage
.el-button
+
.el-button
{
}
margin-left
:
0
!important
;
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -109,7 +112,7 @@
...
@@ -109,7 +112,7 @@
resetPageIndex();
resetPageIndex();
"
/>
"
/>
<el-dropdown
@
command=
"getImport"
>
<el-dropdown
@
command=
"getImport"
>
<el-button
type=
"primary"
@
click=
"goContract('onedayTripContract', 0, '一日游合同')"
>
一日游合同
<el-button
type=
"primary"
@
click=
"goContract('onedayTripContract', 0, '一日游合同')"
>
一日游合同
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</el-button>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
...
@@ -133,6 +136,7 @@
...
@@ -133,6 +136,7 @@
<th
width=
"100"
>
合同状态
</th>
<th
width=
"100"
>
合同状态
</th>
<th
width=
"100"
>
创建人
</th>
<th
width=
"100"
>
创建人
</th>
<th
width=
"120"
>
创建时间
</th>
<th
width=
"120"
>
创建时间
</th>
<th
width=
"120"
>
是否盖章
</th>
<th
width=
"130"
>
操作
</th>
<th
width=
"130"
>
操作
</th>
</tr>
</tr>
<tr
v-for=
"(item, index) in dataList"
:key=
"index"
>
<tr
v-for=
"(item, index) in dataList"
:key=
"index"
>
...
@@ -150,7 +154,11 @@
...
@@ -150,7 +154,11 @@
</
template
>
</
template
>
</td>
</td>
<td>
{{ item.T_ContractNum }}
</td>
<td>
{{ item.T_ContractNum }}
</td>
<td>
{{ item.Tourists_Name }}
</td>
<td
style=
"text-align:left"
>
<span
v-if=
"item.Tourists_Sign!=''"
style=
"color:green;"
>
【已签字】
</span>
<span
v-else
style=
"color:red;"
>
【未签字】
</span>
{{ item.Tourists_Name }}
</td>
<td>
{{ item.TravelAgency_Name }}
</td>
<td>
{{ item.TravelAgency_Name }}
</td>
<td>
{{ item.TravelAgency_DealMan }}
</td>
<td>
{{ item.TravelAgency_DealMan }}
</td>
<td>
{{ item.C_TCNUM }}
</td>
<td>
{{ item.C_TCNUM }}
</td>
...
@@ -158,8 +166,11 @@
...
@@ -158,8 +166,11 @@
<td>
{{ item.StatusStr }}
</td>
<td>
{{ item.StatusStr }}
</td>
<td>
{{ item.CreateByName }}
</td>
<td>
{{ item.CreateByName }}
</td>
<td>
{{ item.CreateTimeStr }}
</td>
<td>
{{ item.CreateTimeStr }}
</td>
<td>
<span
v-if=
"item.IsTravelAgencySignature==0"
>
未盖章
</span>
<span
v-if=
"item.IsTravelAgencySignature==1"
style=
"color:green;"
>
已盖章
</span></td>
<td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
v-if=
"item.Status==0||item.Status==3"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
v-if=
"item.Status==0||item.Status==3"
>
<
template
v-if=
"item.CType == 3"
>
<
template
v-if=
"item.CType == 3"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
<el-button
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"goContract('onedayTripContract', item.ID, '一日游合同')"
></el-button>
@
click=
"goContract('onedayTripContract', item.ID, '一日游合同')"
></el-button>
...
@@ -186,14 +197,16 @@
...
@@ -186,14 +197,16 @@
<el-button
type=
"info"
icon=
"el-icon-upload2"
circle
@
click=
"SubmitContract(item)"
></el-button>
<el-button
type=
"info"
icon=
"el-icon-upload2"
circle
@
click=
"SubmitContract(item)"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
v-if=
"item.Status==2"
effect=
"dark"
content=
"复制链接发送给客户"
>
<el-tooltip
class=
"item"
v-if=
"item.Status==2"
effect=
"dark"
content=
"复制链接发送给客户"
>
<el-button
type=
"info"
icon=
"iconfont icon-copy-l"
circle
@
click=
"CopyUrl(item)"
style=
"padding:4px;background-color:#9266f9;border-color:#9266f9;"
></el-button>
<el-button
type=
"info"
icon=
"iconfont icon-copy-l"
circle
@
click=
"CopyUrl(item)"
style=
"padding:4px;background-color:#9266f9;border-color:#9266f9;"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"取消"
placement=
"top-start"
v-if=
"item.Status==0"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"取消"
placement=
"top-start"
v-if=
"item.Status==0"
>
<el-button
type=
"danger"
icon=
"el-icon-close"
circle
@
click=
"DeleteContract(item)"
></el-button>
<el-button
type=
"danger"
icon=
"el-icon-close"
circle
@
click=
"DeleteContract(item)"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top-start"
>
<el-button
type=
"danger"
icon=
"iconfont icon-chakan"
circle
@
click=
"ViewContract(item)"
style=
"padding:4px;"
></el-button>
<el-button
type=
"danger"
icon=
"iconfont icon-chakan"
circle
@
click=
"ViewContract(item)"
style=
"padding:4px;"
></el-button>
</el-tooltip>
</el-tooltip>
</td>
</td>
</tr>
</tr>
...
@@ -291,21 +304,21 @@
...
@@ -291,21 +304,21 @@
});
});
},
},
//复制URL
//复制URL
CopyUrl
(
item
){
CopyUrl
(
item
)
{
var
oInput
=
document
.
createElement
(
'input'
);
var
oInput
=
document
.
createElement
(
'input'
);
oInput
.
value
=
item
.
Url
;
oInput
.
value
=
item
.
Url
;
document
.
body
.
appendChild
(
oInput
);
document
.
body
.
appendChild
(
oInput
);
oInput
.
select
();
// 选择对象
oInput
.
select
();
// 选择对象
document
.
execCommand
(
"Copy"
);
// 执行浏览器复制命令
document
.
execCommand
(
"Copy"
);
// 执行浏览器复制命令
oInput
.
className
=
'oInput'
;
oInput
.
className
=
'oInput'
;
oInput
.
style
.
display
=
'none'
;
oInput
.
style
.
display
=
'none'
;
this
.
Info
(
"复制成功!"
);
this
.
Info
(
"复制成功!"
);
},
},
//跳转
//跳转
getImport
(
command
)
{
getImport
(
command
)
{
if
(
command
==
1
)
{
if
(
command
==
1
)
{
this
.
goContract
(
'DomesticTravelcontract'
,
0
,
'境内旅游合同'
);
this
.
goContract
(
'DomesticTravelcontract'
,
0
,
'境内旅游合同'
);
}
else
if
(
command
==
2
)
{
}
else
if
(
command
==
2
)
{
this
.
goContract
(
'SingleContract'
,
0
,
'单项委托合同'
);
this
.
goContract
(
'SingleContract'
,
0
,
'单项委托合同'
);
}
}
},
},
...
@@ -376,15 +389,14 @@
...
@@ -376,15 +389,14 @@
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
dataList
.
forEach
(
x
=>
{
this
.
dataList
.
forEach
(
x
=>
{
let
Url
=
""
;
let
Url
=
""
;
if
(
this
.
isOnline
()){
if
(
this
.
isOnline
())
{
Url
=
window
.
location
.
hostname
+
'/#/TravelContractConfirm?ContractId='
+
x
.
ID
;
Url
=
window
.
location
.
hostname
+
'/#/TravelContractConfirm?ContractId='
+
x
.
ID
;
}
}
else
{
else
{
Url
=
window
.
location
.
hostname
+
":8080/"
+
'#/TravelContractConfirm?ContractId='
+
x
.
ID
;
Url
=
window
.
location
.
hostname
+
":8080/"
+
'#/TravelContractConfirm?ContractId='
+
x
.
ID
;
}
}
x
.
Url
=
Url
;
x
.
Url
=
Url
;
})
})
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
}
else
{
...
@@ -402,8 +414,7 @@
...
@@ -402,8 +414,7 @@
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
this
.
getList
();
},
},
ViewContract
(
item
)
ViewContract
(
item
)
{
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
"TravelContractView"
,
name
:
"TravelContractView"
,
query
:
{
query
:
{
...
...
src/components/administrative/ElectronicAudit.vue
View file @
3648b8dc
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
</span>
</span>
</li>
</li>
<li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"查询"
@
click=
"getList()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"查询"
@
click=
"getList
OutTract(),resetOutPage
()"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -116,27 +116,32 @@
...
@@ -116,27 +116,32 @@
<th>
出发日期
</th>
<th>
出发日期
</th>
<th>
返回日期
</th>
<th>
返回日期
</th>
<th>
状态
</th>
<th>
状态
</th>
<th>
是否盖章
</th>
<th
width=
"200"
>
操作
</th>
<th
width=
"200"
>
操作
</th>
</tr>
</tr>
<tr
v-for=
"item in dataListOut"
>
<tr
v-for=
"item in dataListOut"
>
<td>
{{
item
.
c
ontractNum
}}
</td>
<td>
{{
item
.
C
ontractNum
}}
</td>
<td>
{{
item
.
o
rderId
}}
</td>
<td>
{{
item
.
O
rderId
}}
</td>
<td>
{{
item
.
tcid
}}
</td>
<td>
{{
item
.
TCID
}}
</td>
<td>
{{
item
.
p
roductName
}}
</td>
<td>
{{
item
.
P
roductName
}}
</td>
<td>
<td>
<template
v-if=
"item.
s
tartDate!=null"
>
<template
v-if=
"item.
S
tartDate!=null"
>
{{
getDate
(
item
.
s
tartDate
)
}}
{{
getDate
(
item
.
S
tartDate
)
}}
</
template
>
</
template
>
</td>
</td>
<td>
<td>
<
template
v-if=
"item.
r
eturnDate!=null"
>
<
template
v-if=
"item.
R
eturnDate!=null"
>
{{
getDate
(
item
.
r
eturnDate
)
}}
{{
getDate
(
item
.
R
eturnDate
)
}}
</
template
>
</
template
>
</td>
</td>
<td>
<td>
<span
v-if=
"item.auditContract==3"
style=
"color:red;"
>
已驳回
</span>
<span
v-if=
"item.AuditContract==3"
style=
"color:red;"
>
已驳回
</span>
<span
v-if=
"item.auditContract==1"
style=
"color:blue;"
>
待审核
</span>
<span
v-if=
"item.AuditContract==1"
style=
"color:blue;"
>
待审核
</span>
<span
v-if=
"item.auditContract==2"
style=
"color:green;"
>
审核通过
</span>
<span
v-if=
"item.AuditContract==2"
style=
"color:green;"
>
审核通过
</span>
</td>
<td>
<span
v-if=
"item.IsTravelAgencySignature==0"
>
未盖章
</span>
<span
v-if=
"item.IsTravelAgencySignature==1"
style=
"color:green;"
>
已盖章
</span>
</td>
</td>
<td>
<td>
<el-row>
<el-row>
...
@@ -144,9 +149,14 @@
...
@@ -144,9 +149,14 @@
<el-button
type=
"primary"
icon=
"iconfont icon-shenpi"
@
click=
"AuditElec(item,2)"
circle
></el-button>
<el-button
type=
"primary"
icon=
"iconfont icon-shenpi"
@
click=
"AuditElec(item,2)"
circle
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"驳回"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"驳回"
placement=
"top-start"
>
<el-button
type=
"danger"
v-if=
"item.
a
uditContract!=3"
icon=
"iconfont icon-shenhebohui"
<el-button
type=
"danger"
v-if=
"item.
A
uditContract!=3"
icon=
"iconfont icon-shenhebohui"
@
click=
"AuditElec(item,3)"
circle
></el-button>
@
click=
"AuditElec(item,3)"
circle
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
v-if=
"item.IsTravelAgencySignature==0"
content=
"盖章"
placement=
"top-start"
>
<el-button
type=
"success"
icon=
"iconfont icon-gaizhang"
circle
@
click=
"OutGaiZhang(item.Id)"
style=
"padding:4px;"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top-start"
>
<el-button
type=
"danger"
icon=
"iconfont icon-chakan"
@
click=
"goToDetail(item)"
circle
></el-button>
<el-button
type=
"danger"
icon=
"iconfont icon-chakan"
@
click=
"goToDetail(item)"
circle
></el-button>
</el-tooltip>
</el-tooltip>
...
@@ -158,6 +168,9 @@
...
@@ -158,6 +168,9 @@
<i
class=
"iconfont icon-kong"
style=
"font-size:100px;"
></i>
<i
class=
"iconfont icon-kong"
style=
"font-size:100px;"
></i>
<p>
{{$t("active.ld_noData")}}
</p>
<p>
{{$t("active.ld_noData")}}
</p>
</div>
</div>
<el-pagination
background
@
current-change=
"handleOutChange"
:current-page
.
sync=
"currentPage2"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msgOut.PageSize"
:total=
"total2"
>
</el-pagination>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -252,6 +265,7 @@
...
@@ -252,6 +265,7 @@
<th
width=
"100"
>
合同状态
</th>
<th
width=
"100"
>
合同状态
</th>
<th
width=
"100"
>
创建人
</th>
<th
width=
"100"
>
创建人
</th>
<th
width=
"120"
>
创建时间
</th>
<th
width=
"120"
>
创建时间
</th>
<th
width=
"80"
>
是否盖章
</th>
<th
width=
"130"
>
操作
</th>
<th
width=
"130"
>
操作
</th>
</tr>
</tr>
<tr
v-for=
"(item, index) in dataList"
:key=
"index"
>
<tr
v-for=
"(item, index) in dataList"
:key=
"index"
>
...
@@ -281,6 +295,10 @@
...
@@ -281,6 +295,10 @@
</td>
</td>
<td>
{{ item.CreateByName }}
</td>
<td>
{{ item.CreateByName }}
</td>
<td>
{{ item.CreateTimeStr }}
</td>
<td>
{{ item.CreateTimeStr }}
</td>
<td>
<span
v-if=
"item.IsTravelAgencySignature==0"
>
未盖章
</span>
<span
v-if=
"item.IsTravelAgencySignature==1"
style=
"color:green;"
>
已盖章
</span>
</td>
<td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"审核通过"
placement=
"top-start"
v-if=
"item.Status==1"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"审核通过"
placement=
"top-start"
v-if=
"item.Status==1"
>
<el-button
type=
"primary"
icon=
"iconfont icon-shenpi"
circle
@
click=
"SubmitContract(item,2)"
></el-button>
<el-button
type=
"primary"
icon=
"iconfont icon-shenpi"
circle
@
click=
"SubmitContract(item,2)"
></el-button>
...
@@ -289,6 +307,10 @@
...
@@ -289,6 +307,10 @@
<el-button
type=
"info"
icon=
"iconfont icon-shenhebohui"
circle
@
click=
"SubmitContract(item,3)"
>
<el-button
type=
"info"
icon=
"iconfont icon-shenhebohui"
circle
@
click=
"SubmitContract(item,3)"
>
</el-button>
</el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
v-if=
"item.IsTravelAgencySignature==0"
content=
"盖章"
placement=
"top-start"
>
<el-button
type=
"success"
icon=
"iconfont icon-gaizhang"
circle
@
click=
"GaiZhang(item.ID)"
style=
"padding:4px;"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top-start"
>
<el-button
type=
"danger"
icon=
"iconfont icon-chakan"
circle
@
click=
"ViewContract(item)"
<el-button
type=
"danger"
icon=
"iconfont icon-chakan"
circle
@
click=
"ViewContract(item)"
style=
"padding:4px;"
></el-button>
style=
"padding:4px;"
></el-button>
...
@@ -296,7 +318,7 @@
...
@@ -296,7 +318,7 @@
</td>
</td>
</tr>
</tr>
</table>
</table>
<el-pagination
background
@
current-change=
"handle
Curren
tChange"
:current-page
.
sync=
"currentPage"
<el-pagination
background
@
current-change=
"handle
Ou
tChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"total"
>
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"total"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
@@ -316,7 +338,9 @@
...
@@ -316,7 +338,9 @@
Tcid
:
''
,
Tcid
:
''
,
StartDate
:
''
,
StartDate
:
''
,
ReturnDate
:
''
,
ReturnDate
:
''
,
AuditContract
:
''
AuditContract
:
''
,
PageIndex
:
1
,
PageSize
:
15
},
},
dataListOut
:
[],
dataListOut
:
[],
loadingOut
:
false
,
loadingOut
:
false
,
...
@@ -340,7 +364,9 @@
...
@@ -340,7 +364,9 @@
activeName
:
'1'
,
activeName
:
'1'
,
//ContractMange参数
//ContractMange参数
total
:
0
,
total
:
0
,
total2
:
0
,
currentPage
:
1
,
currentPage
:
1
,
currentPage2
:
1
,
dataList
:
[],
dataList
:
[],
loading
:
false
,
//页面加载
loading
:
false
,
//页面加载
msg
:
{
msg
:
{
...
@@ -396,38 +422,30 @@
...
@@ -396,38 +422,30 @@
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'TravelContractDetail'
,
name
:
'TravelContractDetail'
,
query
:
{
query
:
{
TCID
:
item
.
tcid
,
TCID
:
item
.
TCID
,
guestId
:
item
.
guestId
,
guestId
:
item
.
GuestId
,
orderID
:
item
.
orderId
,
orderID
:
item
.
OrderId
,
ID
:
item
.
Id
,
blank
:
"y"
,
blank
:
"y"
,
}
}
});
});
},
},
getListOutTract
()
{
getListOutTract
()
{
this
.
loadingOut
=
true
;
this
.
loadingOut
=
true
;
//travelcontract_post_GetContractPageListService
this
.
apipost
(
"travelcontract_post_GetContractPageListService"
,
this
.
msgOut
,
res
=>
{
this
.
apipost
(
"travelcontract_post_GetContractPageListService"
,
this
.
msgOut
,
res
=>
{
this
.
loadingOut
=
false
;
this
.
loadingOut
=
false
;
console
.
log
(
res
,
'ressss'
);
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
console
.
log
(
res
,
'ressss'
);
this
.
dataListOut
=
res
.
data
.
data
.
pageData
;
this
.
dataListOut
=
res
.
data
.
data
.
pageData
;
this
.
total2
=
res
.
data
.
data
.
count
;
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
});
});
// this.apiJavaPost("/api/contract/auditContract", this.msgOut, res => {
// this.loadingOut = false;
// if (res.data.resultCode === 1) {
// this.dataListOut = res.data.data;
// } else {
// this.Error(res.data.message);
// }
// }, null);
},
},
//审核通过或者驳回
//审核通过或者驳回
AuditElec
(
item
,
type
)
{
AuditElec
(
item
,
type
)
{
item
.
a
uditContract
=
type
;
item
.
A
uditContract
=
type
;
this
.
apiJavaPost
(
"/api/contract/dosaveOrUpdate"
,
item
,
res
=>
{
this
.
apiJavaPost
(
"/api/contract/dosaveOrUpdate"
,
item
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
...
@@ -497,10 +515,19 @@
...
@@ -497,10 +515,19 @@
this
.
msg
.
pageIndex
=
1
;
this
.
msg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
this
.
currentPage
=
1
;
},
},
resetOutPage
()
{
this
.
msgOut
.
PageIndex
=
1
;
this
.
currentPage2
=
1
;
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
this
.
getList
();
},
},
handleOutChange
(
val
){
this
.
msgOut
.
PageIndex
=
val
;
this
.
getListOutTract
();
},
ViewContract
(
item
)
{
ViewContract
(
item
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
"TravelContractView"
,
name
:
"TravelContractView"
,
...
@@ -511,6 +538,36 @@
...
@@ -511,6 +538,36 @@
}
}
});
});
},
},
//其他合同盖章
GaiZhang
(
ID
){
let
msg
=
{
ID
:
ID
,
Status
:
1
}
this
.
apipost
(
"travelcontract_post_UpdateTravelContractSignatureService"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
});
},
//出境合同盖章
OutGaiZhang
(
ID
){
let
msg
=
{
ID
:
ID
,
Status
:
1
}
this
.
apipost
(
"travelcontract_post_UpdateContractSignatureService"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getListOutTract
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
});
},
},
},
mounted
()
{
mounted
()
{
this
.
getListOutTract
();
this
.
getListOutTract
();
...
...
src/components/busManagement/BusInfo.vue
View file @
3648b8dc
...
@@ -174,7 +174,7 @@
...
@@ -174,7 +174,7 @@
<th>
{{
$t
(
'visa.v_tuanhao'
)
}}
</th>
<th>
{{
$t
(
'visa.v_tuanhao'
)
}}
</th>
<th>
{{
$t
(
'visa.v_hangban'
)
}}
</th>
<th>
{{
$t
(
'visa.v_hangban'
)
}}
</th>
</tr>
</tr>
<tr
v-for=
"
item in CommonList
"
>
<tr
v-for=
"
(item,index) in CommonList"
:key=
"index
"
>
<td>
{{
item
.
InOut
}}
</td>
<td>
{{
item
.
InOut
}}
</td>
<td>
{{
item
.
GuestNum
}}
</td>
<td>
{{
item
.
GuestNum
}}
</td>
<td>
{{
item
.
TotalSeat
}}
</td>
<td>
{{
item
.
TotalSeat
}}
</td>
...
@@ -184,7 +184,7 @@
...
@@ -184,7 +184,7 @@
<p
class=
"busInfoP"
@
click=
"goUrlT('TravelControlList',item.TCNUM,'团控列表')"
>
{{
item
.
TCNUM
}}
</p>
<p
class=
"busInfoP"
@
click=
"goUrlT('TravelControlList',item.TCNUM,'团控列表')"
>
{{
item
.
TCNUM
}}
</p>
</td>
</td>
<td>
<td>
<div
v-for=
"
subItem in item.FlightList
"
>
<div
v-for=
"
(subItem,subIndex) in item.FlightList"
:key=
"subIndex
"
>
<span
style=
"height:25px; line-height:25px;"
>
<span
style=
"height:25px; line-height:25px;"
>
<a
style=
"color: #ff0066;font-weight: bold;"
>
{{
subItem
.
Flight_number
}}
</a>
{{
subItem
.
FlightDateStr
}}
<a
style=
"color: #ff0066;font-weight: bold;"
>
{{
subItem
.
Flight_number
}}
</a>
{{
subItem
.
FlightDateStr
}}
{{
subItem
.
Departure_time
}}
{{
subItem
.
dName
}}
{{
subItem
.
TicketArrivalTime
}}
{{
subItem
.
aName
}}
{{
subItem
.
Departure_time
}}
{{
subItem
.
dName
}}
{{
subItem
.
TicketArrivalTime
}}
{{
subItem
.
aName
}}
...
@@ -204,8 +204,8 @@
...
@@ -204,8 +204,8 @@
</td>
</td>
<td>
{{
$t
(
'ground.huisongfei'
)
}}
</td>
<td>
{{
$t
(
'ground.huisongfei'
)
}}
</td>
<td
colspan=
"4"
align=
"left"
style=
"padding-left:5px;"
>
<td
colspan=
"4"
align=
"left"
style=
"padding-left:5px;"
>
<el-input
v-model=
"PostData.BackFee"
@
keyup
.
native=
"checkPrice(PostData,'BackFee')"
:placeholder=
"$t('ground.shuruhsf')"
<el-input
v-model=
"PostData.BackFee"
@
keyup
.
native=
"checkPrice(PostData,'BackFee')"
maxlength=
"10"
class=
'w135'
></el-input>
:placeholder=
"$t('ground.shuruhsf')"
maxlength=
"10"
class=
'w135'
></el-input>
</td>
</td>
</tr>
</tr>
</tfoot>
</tfoot>
...
@@ -213,16 +213,16 @@
...
@@ -213,16 +213,16 @@
<div
style=
"width: 100%; overflow-x: auto;margin-top:20px;"
class=
"ownScrollbarStyle"
>
<div
style=
"width: 100%; overflow-x: auto;margin-top:20px;"
class=
"ownScrollbarStyle"
>
<el-form
:rules=
"rules"
>
<el-form
:rules=
"rules"
>
<el-table
:data=
"PlanTableData"
style=
"width:100%"
border
v-loading=
'loading'
>
<el-table
:data=
"PlanTableData"
style=
"width:100%"
border
v-loading=
'loading'
>
<el-table-column
fixed
:label=
"$t('pub.date')"
prop=
"UseTimeStr"
min-width=
"1
1
0"
></el-table-column>
<el-table-column
fixed
:label=
"$t('pub.date')"
prop=
"UseTimeStr"
min-width=
"1
0
0"
></el-table-column>
<el-table-column
fixed
:label=
"$t('hotel.hotel_name')"
prop=
"HotelName"
min-width=
"200"
></el-table-column>
<el-table-column
fixed
:label=
"$t('hotel.hotel_name')"
prop=
"HotelName"
min-width=
"200"
></el-table-column>
<el-table-column
fixed
:label=
"$t('sm.yongchejihua')"
min-width=
"18
5
"
>
<el-table-column
fixed
:label=
"$t('sm.yongchejihua')"
min-width=
"18
0
"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<!--
{{
scope
.
$index
+
1
}}
-->
<!--
{{
scope
.
$index
+
1
}}
-->
<div
v-for=
"(subItem,subIndex) in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<div
v-for=
"(subItem,subIndex) in scope.row.BusPlanOrderList"
class=
"comBTM"
:key=
"subIndex"
>
<em>
<em>
<!--接机送机-->
<!--接机送机-->
<el-select
class=
"w1
20"
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"subItem.AirportPickUp"
:disabled=
"forbidInput
"
<el-select
class=
"w1
00"
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"subItem.AirportPickUp
"
@
change=
"getBusPrice(subItem)"
>
:disabled=
"forbidInput"
@
change=
"getBusPrice(subItem)"
>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
v-for=
"childitem in BusAirportPickUpList"
:key=
"childitem.Id"
:label=
"childitem.Name"
<el-option
v-for=
"childitem in BusAirportPickUpList"
:key=
"childitem.Id"
:label=
"childitem.Name"
:value=
"childitem.Id"
>
:value=
"childitem.Id"
>
...
@@ -239,6 +239,33 @@
...
@@ -239,6 +239,33 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"套团团号"
min-width=
"230"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"(subItem,subIndex) in scope.row.BusPlanOrderList"
class=
"comBTM"
:key=
"subIndex"
>
<template
v-if=
"subItem.AirportPickUp==15"
>
<div
v-for=
"(childItem,childIndex) in subItem.MergeList"
:key=
"childIndex"
>
<em>
<!--@change="GetTravelPrice(subItem)"-->
<el-select
filterable
style=
"margin-bottom:5px;"
class=
"w170"
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"childItem.MTCID"
@
visible-change=
"GetPriceList(subItem)"
@
change=
"GetPriceChange(subItem,childItem)"
>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
v-for=
"pItem in subItem.PriceList"
:key=
"pItem.TCID"
:label=
"pItem.TCNUM"
:value=
"pItem.TCID"
></el-option>
</el-select>
</em>
<span
style=
"display:inline-block;margin-left:5px;"
>
<a
@
click=
"DeleteMergeSubItem(subItem.MergeList,childIndex)"
style=
"color:blue;cursor:pointer"
>
{{
$t
(
'system.table_delete'
)
}}
</a>
</span>
</div>
<span
style=
"display:inline-block;margin-left:5px;"
>
<a
@
click=
"AddMergeSubItem(subItem.MergeList)"
style=
"color:blue;cursor:pointer"
>
{{
$t
(
'fnc.tianjia'
)
}}
</a>
</span>
</
template
>
</div>
</template>
</el-table-column>
<el-table-column
:label=
"$t('ground.sijiName')"
min-width=
"120"
>
<el-table-column
:label=
"$t('ground.sijiName')"
min-width=
"120"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
...
@@ -274,8 +301,8 @@
...
@@ -274,8 +301,8 @@
<el-table-column
:label=
"$t('ground.busType')"
min-width=
"150"
>
<el-table-column
:label=
"$t('ground.busType')"
min-width=
"150"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-select
filterable
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"subItem.BusType"
:disabled=
"forbidInput"
<el-select
filterable
:placeholder=
"$t('pub.pleaseSel')"
v-model=
"subItem.BusType"
@
change=
'getBusPrice(subItem)'
>
:disabled=
"forbidInput"
@
change=
'getBusPrice(subItem)'
>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
v-for=
"item in BusTypeList"
:key=
"item.Id"
:label=
"item.newName"
:value=
"item.Id"
>
<el-option
v-for=
"item in BusTypeList"
:key=
"item.Id"
:label=
"item.newName"
:value=
"item.Id"
>
</el-option>
</el-option>
...
@@ -283,7 +310,7 @@
...
@@ -283,7 +310,7 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('fnc.fkfangshi')"
min-width=
"1
5
0"
>
<el-table-column
:label=
"$t('fnc.fkfangshi')"
min-width=
"1
3
0"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-select
class=
'sel'
v-model=
'subItem.PayType'
:disabled=
"isShowBtn==1||IsEditBus==0?true:false"
<el-select
class=
'sel'
v-model=
'subItem.PayType'
:disabled=
"isShowBtn==1||IsEditBus==0?true:false"
...
@@ -299,27 +326,20 @@
...
@@ -299,27 +326,20 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('ground.htzfth')"
min-width=
"150"
>
<
template
slot-scope=
"scope"
>
<el-table-column
:label=
"$t('ground.dingtuanhao')"
min-width=
"180"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-input
class=
'w120'
type=
"text"
v-model=
'subItem.PayTypeTCNUM'
v-show=
"subItem.PayType==6"
>
</el-input>
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('ground.dingtuanhao')"
min-width=
"215"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"comBTM"
v-for=
"(subItem,subIndex) in scope.row.BusPlanOrderList"
>
<div
class=
"comBTM"
v-for=
"(subItem,subIndex) in scope.row.BusPlanOrderList"
>
<template
v-if=
"scope.$index==0&&subIndex==0"
>
<template
v-if=
"scope.$index==0&&subIndex==0"
>
<i
class=
"iconfont icon-tongshang"
style=
"opacity:0;filter:alpha(opacity=0); "
></i>
<i
class=
"iconfont icon-tongshang"
style=
"opacity:0;filter:alpha(opacity=0); "
></i>
<el-input
class=
'w1
50
'
type=
"text"
v-model=
"subItem.BookGroup"
></el-input>
<el-input
class=
'w1
35
'
type=
"text"
v-model=
"subItem.BookGroup"
></el-input>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('ground.tongshang')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('ground.tongshang')"
placement=
"top"
>
<i
class=
"iconfont icon-tongshang"
style=
"cursor:pointer;"
<i
class=
"iconfont icon-tongshang"
style=
"cursor:pointer;"
@
click=
"getBeforeInfo(scope.$index,subIndex),getBusPrice(subItem)"
></i>
@
click=
"getBeforeInfo(scope.$index,subIndex),getBusPrice(subItem)"
></i>
</el-tooltip>
</el-tooltip>
<el-input
class=
'w1
50
'
type=
"text"
v-model=
"subItem.BookGroup"
></el-input>
<el-input
class=
'w1
35
'
type=
"text"
v-model=
"subItem.BookGroup"
></el-input>
</
template
>
</
template
>
</div>
</div>
</template>
</template>
...
@@ -332,7 +352,8 @@
...
@@ -332,7 +352,8 @@
<span
class=
"subName"
:class=
"
{'spanCked':childItem.AccommodationType==subItem.Id}"
<span
class=
"subName"
:class=
"
{'spanCked':childItem.AccommodationType==subItem.Id}"
@click="AccommodationCLick(subItem.Id,childItem)">
{{
subItem
.
Name
}}
</span>
@click="AccommodationCLick(subItem.Id,childItem)">
{{
subItem
.
Name
}}
</span>
<span
v-if=
"subItem.Id==1 && childItem.AccommodationType==1"
>
<span
v-if=
"subItem.Id==1 && childItem.AccommodationType==1"
>
<el-input
style=
"margin-top:13px;"
v-model=
"childItem.AccommodationRemark"
:placeholder=
"$t('ground.qsrwsdz')"
>
<el-input
style=
"margin-top:13px;"
v-model=
"childItem.AccommodationRemark"
:placeholder=
"$t('ground.qsrwsdz')"
>
</el-input>
</el-input>
</span>
</span>
</span>
</span>
...
@@ -346,11 +367,12 @@
...
@@ -346,11 +367,12 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('ground.gsfeiyong')"
min-width=
"1
4
0"
>
<el-table-column
:label=
"$t('ground.gsfeiyong')"
min-width=
"1
2
0"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-input
v-model=
"subItem.HighSpeedPrice"
@
keyup
.
native=
"checkPrice(subItem,'HighSpeedPrice')"
<el-input
v-model=
"subItem.HighSpeedPrice"
@
keyup
.
native=
"checkPrice(subItem,'HighSpeedPrice')"
:placeholder=
"$t('ground.qsrfyong')"
:disabled=
"isShowBtn==1||IsEditBus==0?true:false"
class=
'w135'
></el-input>
:placeholder=
"$t('ground.qsrfyong')"
:disabled=
"isShowBtn==1||IsEditBus==0?true:false"
class=
'w100'
>
</el-input>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -358,7 +380,7 @@
...
@@ -358,7 +380,7 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div>
<div>
<div
v-for=
"(subItem,index) in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<div
v-for=
"(subItem,index) in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-select
class=
'sel w1
35
'
v-model=
'subItem.HighSpeedPayType'
:placeholder=
"$t('pub.pleaseSel')"
<el-select
class=
'sel w1
20
'
v-model=
'subItem.HighSpeedPayType'
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"PayTypeChange(subItem)"
:disabled=
"isShowBtn==1||IsEditBus==0?true:false"
>
@
change=
"PayTypeChange(subItem)"
:disabled=
"isShowBtn==1||IsEditBus==0?true:false"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'0'
></el-option>
<el-option
:label=
"$t('ground.xianfu')"
:value=
'1'
></el-option>
<el-option
:label=
"$t('ground.xianfu')"
:value=
'1'
></el-option>
...
@@ -372,7 +394,7 @@
...
@@ -372,7 +394,7 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('ground.UsePCount')"
min-width=
"
10
0"
>
<el-table-column
:label=
"$t('ground.UsePCount')"
min-width=
"
8
0"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-input
v-model=
"subItem.UseNum"
@
keyup
.
native=
"checkPrice(subItem,'UseNum')"
<el-input
v-model=
"subItem.UseNum"
@
keyup
.
native=
"checkPrice(subItem,'UseNum')"
...
@@ -380,11 +402,12 @@
...
@@ -380,11 +402,12 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('ground.cbenjia')"
min-width=
"1
4
0"
>
<el-table-column
:label=
"$t('ground.cbenjia')"
min-width=
"1
2
0"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"comBTM"
>
<el-input
v-model=
"subItem.CostPrice"
:disabled=
"isShowBtn==1||IsEditBus==0?true:false"
<el-input
v-model=
"subItem.CostPrice"
:disabled=
"isShowBtn==1||IsEditBus==0?true:false"
@
keyup
.
native=
"checkPrice(subItem,'CostPrice')"
:placeholder=
"$t('ground.qingshurcbj')"
class=
"w135"
></el-input>
@
keyup
.
native=
"checkPrice(subItem,'CostPrice')"
:placeholder=
"$t('ground.qingshurcbj')"
class=
"w100"
>
</el-input>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -395,14 +418,14 @@
...
@@ -395,14 +418,14 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('ground.park')"
min-width=
"
10
0"
>
<el-table-column
:label=
"$t('ground.park')"
min-width=
"
7
0"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"park_List comBTM"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"park_List comBTM"
>
{{
subItem
.
IsHavearking
==
'0'
?
'无'
:
'有'
}}
{{
subItem
.
IsHavearking
==
'0'
?
'无'
:
'有'
}}
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('ground.xiaoji')"
min-width=
"
10
0"
>
<el-table-column
:label=
"$t('ground.xiaoji')"
min-width=
"
8
0"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"park_List comBTM"
>
<div
v-for=
"subItem in scope.row.BusPlanOrderList"
class=
"park_List comBTM"
>
{{
subItem
.
CostPrice
*
(
Number
(
subItem
.
TransferNum
)
+
1
)
+
Number
(
subItem
.
HighSpeedPrice
)
}}
{{
subItem
.
CostPrice
*
(
Number
(
subItem
.
TransferNum
)
+
1
)
+
Number
(
subItem
.
HighSpeedPrice
)
}}
...
@@ -552,6 +575,44 @@
...
@@ -552,6 +575,44 @@
};
};
},
},
methods
:
{
methods
:
{
//获取团期列表
GetPriceList
(
obj
)
{
this
.
apipost
(
"bus_get_GetBusTravelPriceList"
,
{
StartDate
:
this
.
parametersData
.
StartDate
,
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
obj
.
PriceList
=
res
.
data
.
data
;
}
},
null
);
},
GetPriceChange
(
obj
,
childItem
)
{
var
pObj
=
obj
.
PriceList
.
find
(
qitem
=>
{
return
qitem
.
TCID
===
childItem
.
MTCID
;
});
if
(
pObj
)
{
childItem
.
MTCNUM
=
pObj
.
TCNUM
;
}
},
//删除拼团
DeleteMergeSubItem
(
list
,
index
)
{
list
.
splice
(
index
,
1
);
},
//添加拼团
AddMergeSubItem
(
list
)
{
list
.
push
({
ID
:
0
,
PlanId
:
0
,
MTCID
:
0
,
MTCNUM
:
""
});
},
PayTypeChange
(
obj
)
{
PayTypeChange
(
obj
)
{
if
(
obj
.
PayType
==
7
)
{
if
(
obj
.
PayType
==
7
)
{
obj
.
CostPrice
=
0
;
obj
.
CostPrice
=
0
;
...
@@ -613,7 +674,7 @@
...
@@ -613,7 +674,7 @@
}
}
},
},
AddSubItem
(
item
)
{
AddSubItem
(
item
)
{
let
msg
=
Object
.
assign
({},
item
.
BusPlanOrderList
[
0
]
);
let
msg
=
JSON
.
parse
(
JSON
.
stringify
(
item
.
BusPlanOrderList
[
0
])
);
msg
.
Id
=
0
;
msg
.
Id
=
0
;
item
.
BusPlanOrderList
.
push
(
msg
);
item
.
BusPlanOrderList
.
push
(
msg
);
},
},
...
...
src/components/newTravelmanager/TravelGroupControl/TravelConfig.vue
View file @
3648b8dc
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
<span
class=
"TMTitle"
>
<span
class=
"TMTitle"
>
<i></i>
{{
$t
(
'sm.jichushezhi'
)
}}
<span
class=
"TC_tcnum"
>
{{
TCNUM
}}
</span>
<i></i>
{{
$t
(
'sm.jichushezhi'
)
}}
<span
class=
"TC_tcnum"
>
{{
TCNUM
}}
</span>
</span>
</span>
<span
class=
"TC_OneKeyUp"
@
click
.
stop=
"travelUploadFile"
>
{{
$t
(
'sm.yijiansc'
)
}}
</span>
<span
class=
"TC_OneKeyUp"
@
click
.
stop=
"travelUploadFile"
style=
"display:none;"
>
{{
$t
(
'sm.yijiansc'
)
}}
</span>
<span
class=
"foldList"
@
click=
"fold"
v-if=
"isFold==''"
>
{{
$t
(
'sm.djzd'
)
}}
</span>
<span
class=
"foldList"
@
click=
"fold"
v-if=
"isFold==''"
>
{{
$t
(
'sm.djzd'
)
}}
</span>
<span
class=
"foldList"
@
click=
"fold"
v-if=
"isFold==1"
>
{{
$t
(
'sm.djzk'
)
}}
</span>
<span
class=
"foldList"
@
click=
"fold"
v-if=
"isFold==1"
>
{{
$t
(
'sm.djzk'
)
}}
</span>
<div
class=
"Travel_Nav"
>
<div
class=
"Travel_Nav"
>
...
...
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