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
8929ed0a
Commit
8929ed0a
authored
Mar 05, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
f118d779
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
137 additions
and
83 deletions
+137
-83
SupplierHandFee.vue
src/components/Hotel/SupplierHandFee.vue
+75
-31
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+62
-52
No files found.
src/components/Hotel/SupplierHandFee.vue
View file @
8929ed0a
<
style
>
.SupplierTable
td
{
padding
:
0
5px
;
text-align
:
center
!important
;
.SupplierTable
td
{
padding
:
0
5px
;
text-align
:
center
!important
;
}
.SupplierTable
.linkStr
{
color
:
blue
;
text-decoration
:
underline
;
cursor
:
pointer
;
}
</
style
>
<
template
>
<div
class=
"flexOne SupplierHandeFee"
>
...
...
@@ -51,9 +58,15 @@
<template
v-for=
"(subItem,subIndex) in item.SubList"
>
<tr
:key=
"subIndex"
>
<td>
{{
subItem
.
OutBranchName
}}
</td>
<td>
{{
subItem
.
TCNUM
}}
(
{{
subItem
.
TCID
}}
)
</td>
<td
v-if=
"subIndex==0"
:rowspan=
"item.SubList.length"
>
{{
item
.
DMCNum
}}
</td>
<td>
{{
subItem
.
GuestNum
}}
</td>
<td><span
class=
"linkStr"
@
click=
"gotoDmcTable(subItem)"
>
{{
subItem
.
TCNUM
}}
(
{{
subItem
.
TCID
}}
)
</span>
</td>
<td
v-if=
"subIndex==0"
:rowspan=
"item.SubList.length"
>
<span
class=
"linkStr"
@
click=
"gotoDmcTable(subItem)"
>
{{
item
.
DMCNum
}}
</span>
</td>
<td>
<span
class=
"linkStr"
@
click=
"goUrlT(subItem)"
>
{{
subItem
.
GuestNum
}}
</span>
</td>
<td>
{{
subItem
.
UnitPrice
}}
</td>
<td
style=
"text-align:left!important;"
>
<span
style=
"color:red;"
>
{{
subItem
.
DayCount
}}
泊
</span>
...
...
@@ -68,7 +81,7 @@
<
template
v-if=
"subItem.Frids!=''"
>
{{
subItem
.
RMBMoney
}}
</
template
>
</td>
<td>
{{subItem.Frids}}
<a
v-if=
"subItem.Frids!=''"
class=
"linkStr"
@
click=
"goFncUrl(subItem.Frids)"
>
{{subItem.Frids}}
</a>
</td>
<td
v-if=
"subIndex==0"
:rowspan=
"item.SubList.length"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"生成单据"
placement=
"top-start"
>
...
...
@@ -113,26 +126,56 @@
},
filters
:
{},
methods
:
{
//生成手配费单据
CreateSupplierBill
(
item
)
{
var
that
=
this
;
this
.
Confirm
(
"是否要生成财务单据?"
,
function
()
{
that
.
loading
=
true
;
that
.
apipost
(
"dmcstatistics_get_CreateDmcSupplierHotelBillService"
,
{
TCID
:
item
.
TCIDS
,
Supplier
:
that
.
msg
.
Supplier
,
QMonthStr
:
that
.
msg
.
QMonthStr
,
},
res
=>
{
that
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
'生成单据成功!'
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
data
);
}
},
null
);
});
goUrlT
(
item
)
{
this
.
$router
.
push
({
name
:
"RegistrationList"
,
query
:
{
"id"
:
item
.
TCID
,
blank
:
'y'
,
tab
:
"报名清单"
}
})
},
goFncUrl
(
frid
)
{
this
.
$router
.
push
({
name
:
"FinancialDocumentsDetail"
,
query
:
{
id
:
frid
,
blank
:
"y"
,
tab
:
"单据详情"
}
});
},
gotoDmcTable
(
item
)
{
this
.
$router
.
push
({
name
:
"dmcTotalTable"
,
query
:
{
TCNUM
:
item
.
TCNUM
,
blank
:
"y"
,
tab
:
"详情"
}
});
},
//生成手配费单据
CreateSupplierBill
(
item
)
{
var
that
=
this
;
this
.
Confirm
(
"是否要生成财务单据?"
,
function
()
{
that
.
loading
=
true
;
that
.
apipost
(
"dmcstatistics_get_CreateDmcSupplierHotelBillService"
,
{
TCID
:
item
.
TCIDS
,
Supplier
:
that
.
msg
.
Supplier
,
QMonthStr
:
that
.
msg
.
QMonthStr
,
},
res
=>
{
that
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
'生成单据成功!'
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
data
);
}
},
null
);
});
},
//报价单下载
DownLoadFile
()
{
...
...
@@ -145,12 +188,12 @@
return
;
}
var
SupplierName
=
''
this
.
SupplierList
.
forEach
(
x
=>
{
if
(
this
.
msg
.
Supplier
==
x
.
ID
)
{
SupplierName
=
x
.
Name
this
.
SupplierList
.
forEach
(
x
=>
{
if
(
this
.
msg
.
Supplier
==
x
.
ID
)
{
SupplierName
=
x
.
Name
}
})
var
fileName
=
SupplierName
+
this
.
msg
.
QMonthStr
+
".xls"
;
var
fileName
=
SupplierName
+
this
.
msg
.
QMonthStr
+
".xls"
;
this
.
loading
=
true
;
this
.
GetLocalFile
(
"dmc_get_DowmLoadDmcSupplierHote"
,
this
.
msg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
...
...
@@ -166,6 +209,7 @@
this
.
Error
(
'请选择供应商'
);
return
;
}
this
.
msg
.
PageIndex
=
1
;
this
.
getList
();
},
//获取数据
...
...
src/components/dmc/manager/dmcTotalTable.vue
View file @
8929ed0a
...
...
@@ -144,8 +144,8 @@
</ul>
</div>
<div
class=
"mt10 fz14 color333 dmcTotalIconStyle"
>
{{
$t
(
'ground.yiqueding'
)
}}
:
<span
style=
"color:#4BCA81 ;"
>
√
</span>
{{
$t
(
'ground.daiqueding'
)
}}
:
<span
style=
"color: #E95252;"
>
O
</span>
{{
$t
(
'salesModule.NotDeal'
)
}}
:
<span
style=
"color:#E95252 ;"
>
X
</span>
{{
$t
(
'ground.yiqueding'
)
}}
:
<span
style=
"color:#4BCA81 ;"
>
√
</span>
{{
$t
(
'ground.daiqueding'
)
}}
:
<span
style=
"color:
#E95252;"
>
O
</span>
{{
$t
(
'salesModule.NotDeal'
)
}}
:
<span
style=
"color:
#E95252 ;"
>
X
</span>
</div>
<div
style=
"width: 100%; overflow-x: auto;padding-bottom: 10px; margin-top: 10px; "
class=
"ownScrollbarStyle"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
...
...
@@ -232,7 +232,8 @@
</tr>
</table>
<el-button
slot=
"reference"
class=
"normalBtn mt5 restaurantDetails"
style=
'height:20px; padding: 0 8px; background: #2AAEF2; border-color: #2AAEF2;'
>
{{
$t
(
'fnc.xiangqing'
)
}}
</el-button>
style=
'height:20px; padding: 0 8px; background: #2AAEF2; border-color: #2AAEF2;'
>
{{
$t
(
'fnc.xiangqing'
)
}}
</el-button>
</el-popover>
</div>
</td>
...
...
@@ -262,14 +263,16 @@
</td>
<td>
<div
class=
"link"
>
<p
v-if=
'!item.LeaderName'
@
click=
"goUrlT('RegistrationList',item.TCID,'报名清单')"
>
{{
$t
(
'ground.peizhilingdui'
)
}}
</p>
<p
v-if=
'!item.LeaderName'
@
click=
"goUrlT('RegistrationList',item.TCID,'报名清单')"
>
{{
$t
(
'ground.peizhilingdui'
)
}}
</p>
<p
v-else
@
click=
"goUrlT('RegistrationList',item.TCID,'报名清单')"
>
{{
item
.
LeaderName
}}{{
getLeaderTypeStr
(
item
.
LeaderGuidClass
)
}}
</p>
</div>
</td>
<td>
<div
class=
"link"
>
<p
v-if=
'!item.GuideName'
@
click=
"goUrlT('leaderArrangement',item.TCID,'带团安排')"
>
{{
$t
(
'ground.daituananpai'
)
}}
</p>
<p
v-if=
'!item.GuideName'
@
click=
"goUrlT('leaderArrangement',item.TCID,'带团安排')"
>
{{
$t
(
'ground.daituananpai'
)
}}
</p>
<p
v-else
@
click=
"goUrlT('leaderArrangement',item.TCID,'带团安排')"
>
{{
item
.
GuideName
}}
</p>
</div>
</td>
...
...
@@ -281,12 +284,13 @@
</td>
<td>
<!--"goUrlT('TravelPassengerList2',item.TCID,'旅客名单') @click="goRoomTip()" -->
<div
class=
"fz16 fbold linkspan"
>
<div
class=
"fz16 fbold linkspan"
>
<span
style=
"color: #4BCA81;"
v-if=
"item.HouseResult==1"
>
√
</span>
<span
class=
"colorE95252"
v-else
>
{{
item
.
HouseResult
==
'-1'
?
"x"
:
"O"
}}
</span>
</div>
<p
v-if=
"item.FenFangUrl!=''"
>
<a
style=
"cursor:pointer;color:blue;"
title=
"点击下载已上传的分房表文件"
v-if=
"item.FenFangUrl && item.FenFangUrl!=''"
:href=
"item.FenFangUrl"
>
{{
$t
(
'op.FFBDowmLoad'
)
}}
</a>
<a
style=
"cursor:pointer;color:blue;"
title=
"点击下载已上传的分房表文件"
v-if=
"item.FenFangUrl && item.FenFangUrl!=''"
:href=
"item.FenFangUrl"
>
{{
$t
(
'op.FFBDowmLoad'
)
}}
</a>
</p>
</td>
<td>
...
...
@@ -330,7 +334,8 @@
<commonHotelInfo
:HotelObj=
"item.PriceHotelResult"
:showHotelObj=
"showHotelObj"
:TCID=
"item.TCID"
:DMCNum=
"item.DMCNum"
:TCNUM=
"item.TCNUMS"
@
SetShouPeiShu=
"SetShouPeiShu(item.TCID,item.ShouPeiStatus)"
></commonHotelInfo>
<span
slot=
"reference"
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
{{
$t
(
'ground.jiudianxinxi'
)
}}
</span>
<span
slot=
"reference"
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
{{
$t
(
'ground.jiudianxinxi'
)
}}
</span>
</el-popover>
</p>
</td>
...
...
@@ -502,15 +507,18 @@
<td
colspan=
"23"
style=
"text-align: left!important;padding:0 20px;"
>
<div
class=
"link"
>
<p
@
click=
"getJourney(item)"
style=
"padding-top:4px;"
>
{{
item
.
Title
}}
</p>
<div
class=
"colorE95252"
style=
"padding-top:5px;padding-bottom:4px;font-size:13px;"
>
{{
$t
(
'op.DJBZTH'
)
}}
:
<span
style=
"font-weight:bold"
>
{{
outItem
.
PriceCommonList
[
index
].
DMCNum
}}
</span>
<div
class=
"colorE95252"
style=
"padding-top:5px;padding-bottom:4px;font-size:13px;"
>
{{
$t
(
'op.DJBZTH'
)
}}
:
<span
style=
"font-weight:bold"
>
{{
outItem
.
PriceCommonList
[
index
].
DMCNum
}}
</span>
</div>
<div
v-show=
"outItem.PriceCommonList[index].OPInnerRemark!=''"
class=
"colorE95252"
style=
"padding-top:5px;padding-bottom:4px;font-size:13px;"
>
{{
$t
(
'Operation.Op_remark'
)
}}
:
{{
outItem
.
PriceCommonList
[
index
].
OPInnerRemark
}}
</div>
style=
"padding-top:5px;padding-bottom:4px;font-size:13px;"
>
{{
$t
(
'Operation.Op_remark'
)
}}
:
{{
outItem
.
PriceCommonList
[
index
].
OPInnerRemark
}}
</div>
<div
v-show=
"outItem.PriceCommonList[index].OPRemark!=''"
class=
"colorE95252"
style=
"padding-top:5px;padding-bottom:4px;font-size:13px;"
>
{{
$t
(
'Operation.Op_duiwaiRemark'
)
}}
:
{{
outItem
.
PriceCommonList
[
index
].
OPRemark
}}
</div>
style=
"padding-top:5px;padding-bottom:4px;font-size:13px;"
>
{{
$t
(
'Operation.Op_duiwaiRemark'
)
}}
:
{{
outItem
.
PriceCommonList
[
index
].
OPRemark
}}
</div>
<div
v-show=
"outItem.PriceCommonList[index].DMCRemark!=''"
class=
"colorE95252"
style=
"padding-top:5px;padding-bottom:4px;font-size:13px;"
>
{{
$t
(
'Operation.Op_dijieRemark'
)
}}
:
{{
outItem
.
PriceCommonList
[
index
].
DMCRemark
}}
style=
"padding-top:5px;padding-bottom:4px;font-size:13px;"
>
{{
$t
(
'Operation.Op_dijieRemark'
)
}}
:
{{
outItem
.
PriceCommonList
[
index
].
DMCRemark
}}
</div>
<div
v-show=
"outItem.PriceCommonList[index].SupplierRemarks!=''"
class=
"colorE95252"
style=
"padding-top:5px;padding-bottom:4px;font-size:13px;"
>
...
...
@@ -531,7 +539,8 @@
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
"total"
></el-pagination>
<el-dialog
custom-class=
'w450'
:title=
"$t('Operation.Op_tripDownLoad')"
:visible
.
sync=
"travelControlTripLayerShow"
center
>
<el-dialog
custom-class=
'w450'
:title=
"$t('Operation.Op_tripDownLoad')"
:visible
.
sync=
"travelControlTripLayerShow"
center
>
<tripDownLoadCommon
ref=
"tripDownLoadCommon"
:tripObj=
"tripObj"
@
headCallBack=
"hideTripDown"
:downType=
"2"
>
</tripDownLoadCommon>
</el-dialog>
...
...
@@ -600,7 +609,7 @@
remarkString
:
''
,
SupplierRemarks
:
''
,
IsBookTeam
:
0
,
IsSure
:
0
,
IsSure
:
0
,
},
queryCommonData
:
{
//公司数据
...
...
@@ -729,9 +738,7 @@
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
getList
();
}
else
if
(
res
.
data
.
resultCode
==
2
)
{
}
else
if
(
res
.
data
.
resultCode
==
2
)
{
that
.
Confirm
(
res
.
data
.
message
,
function
()
{
that
.
NumObj
.
IsSure
=
1
;
that
.
apipost
(
...
...
@@ -746,8 +753,7 @@
err
=>
{}
);
});
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
...
...
@@ -877,7 +883,7 @@
}
})
},
goUrlF
(
path
,
obj
,
lineId
,
outItem
,
title
)
{
goUrlF
(
path
,
obj
,
lineId
,
outItem
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
...
...
@@ -943,14 +949,14 @@
})
},
//跳转用款计划
goUrlYongKuan
(
path
,
obj
,
outItem
,
title
){
goUrlYongKuan
(
path
,
obj
,
outItem
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
"id"
:
outItem
.
TCIDS
,
NewCombinationNum
:
outItem
.
NewCombinationNum
,
isUpdate
:
true
,
OutBranchId
:
obj
.
OutBranchId
,
OutBranchId
:
obj
.
OutBranchId
,
blank
:
'y'
,
tab
:
title
,
lineId
:
outItem
.
PriceCommonList
[
0
].
LineId
...
...
@@ -1182,6 +1188,9 @@
},
mounted
()
{
this
.
GetAuth
();
if
(
this
.
$route
.
query
.
TCNUM
)
{
this
.
msg
.
TCNUM
=
this
.
$route
.
query
.
TCNUM
;
}
else
{
let
myDate
=
new
Date
();
let
nowDate
=
myDate
.
getFullYear
()
+
...
...
@@ -1190,6 +1199,7 @@
"-"
+
myDate
.
getDate
();
this
.
msg
.
StartDate
=
nowDate
;
}
this
.
getLineList
();
this
.
getList
();
this
.
getCompanyList
();
...
...
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