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
2a4ddb5d
Commit
2a4ddb5d
authored
Nov 07, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发票详情
parent
7061f027
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
19 deletions
+32
-19
invoicesManagerDetail.vue
src/components/FinancialModule/invoicesManagerDetail.vue
+32
-19
No files found.
src/components/FinancialModule/invoicesManagerDetail.vue
View file @
2a4ddb5d
...
...
@@ -518,6 +518,8 @@
export
default
{
data
()
{
return
{
crmOrderObj
:
null
,
InvoiceApplyType
:
0
,
detail
:
{},
orderList
:
{},
loading
:
true
,
...
...
@@ -652,13 +654,13 @@
blank
:
'y'
,
tab
:
''
}
if
(
this
.
$route
.
query
.
InvoiceApplyType
){
if
(
this
.
$route
.
query
.
InvoiceApplyType
==
1
)
query2
.
OrderType
=
2
// 团队
if
(
this
.
$route
.
query
.
InvoiceApplyType
==
2
)
query2
.
OrderType
=
6
// 签证
if
(
this
.
$route
.
query
.
InvoiceApplyType
==
4
)
query2
.
OrderType
=
1
// 机票
if
(
this
.
$route
.
query
.
InvoiceApplyType
==
5
)
query2
.
OrderType
=
5
// 车
if
(
this
.
$route
.
query
.
InvoiceApplyType
==
6
)
query2
.
OrderType
=
3
// 酒店
if
(
this
.
$route
.
query
.
InvoiceApplyType
==
7
)
query2
.
OrderType
=
4
// 门票
if
(
this
.
InvoiceApplyType
){
if
(
this
.
InvoiceApplyType
==
1
)
query2
.
OrderType
=
2
// 团队
if
(
this
.
InvoiceApplyType
==
2
)
query2
.
OrderType
=
6
// 签证
if
(
this
.
InvoiceApplyType
==
4
)
query2
.
OrderType
=
1
// 机票
if
(
this
.
InvoiceApplyType
==
5
)
query2
.
OrderType
=
5
// 车
if
(
this
.
InvoiceApplyType
==
6
)
query2
.
OrderType
=
3
// 酒店
if
(
this
.
InvoiceApplyType
==
7
)
query2
.
OrderType
=
4
// 门票
}
else
{
query2
.
OrderType
=
2
}
...
...
@@ -673,7 +675,7 @@
blank
:
'y'
,
tab
:
'报名统计'
}
if
(
this
.
$route
.
query
.
InvoiceApplyType
&&
this
.
$route
.
query
.
InvoiceApplyType
==
4
){
if
(
this
.
InvoiceApplyType
&&
this
.
InvoiceApplyType
==
4
){
query
.
tab
=
'单机票详情'
this
.
$router
.
push
({
name
:
'CRMTicketOrderOP'
,
...
...
@@ -697,7 +699,7 @@
})
},
goSaleFinacial
:
function
()
{
// 跳转销售财务单据
if
(
this
.
$route
.
query
.
InvoiceApplyType
&&
this
.
$route
.
query
.
InvoiceApplyType
==
4
)
{
if
(
this
.
InvoiceApplyType
&&
this
.
InvoiceApplyType
==
4
)
{
this
.
$router
.
push
({
name
:
'CRMTicketOrderOP'
,
query
:
{
...
...
@@ -750,7 +752,7 @@
},
null
)
},
getDetail
:
function
(
id
)
{
// 获取详情
let
InvoiceApplyType
=
this
.
$route
.
query
.
InvoiceApplyType
?
this
.
$route
.
query
.
InvoiceApplyType
:
1
let
InvoiceApplyType
=
this
.
InvoiceApplyType
?
this
.
InvoiceApplyType
:
1
this
.
apipost
(
'InvoiceApply_get_GetDetails'
,
{
ID
:
id
,
InvoiceApplyType
:
InvoiceApplyType
...
...
@@ -775,15 +777,15 @@
done
();
},
getOrderDetail
:
function
()
{
// 获取交易信息详情
// let OrderResource = this.
$route.query.
InvoiceApplyType ? 10 : 8
// let OrderResource = this.InvoiceApplyType ? 10 : 8
let
OrderResource
=
8
//团队订
if
(
this
.
$route
.
query
.
InvoiceApplyType
){
if
(
this
.
$route
.
query
.
InvoiceApplyType
==
1
)
OrderResource
=
8
// 团队
if
(
this
.
$route
.
query
.
InvoiceApplyType
==
2
)
OrderResource
=
10
// 签证
if
(
this
.
$route
.
query
.
InvoiceApplyType
==
4
)
OrderResource
=
12
// 机票
if
(
this
.
$route
.
query
.
InvoiceApplyType
==
5
)
OrderResource
=
5
// 车
if
(
this
.
$route
.
query
.
InvoiceApplyType
==
6
)
OrderResource
=
1
// 酒店
if
(
this
.
$route
.
query
.
InvoiceApplyType
==
7
)
OrderResource
=
3
// 门票
if
(
this
.
InvoiceApplyType
){
if
(
this
.
InvoiceApplyType
==
1
)
OrderResource
=
8
// 团队
if
(
this
.
InvoiceApplyType
==
2
)
OrderResource
=
10
// 签证
if
(
this
.
InvoiceApplyType
==
4
)
OrderResource
=
12
// 机票
if
(
this
.
InvoiceApplyType
==
5
)
OrderResource
=
5
// 车
if
(
this
.
InvoiceApplyType
==
6
)
OrderResource
=
1
// 酒店
if
(
this
.
InvoiceApplyType
==
7
)
OrderResource
=
3
// 门票
}
this
.
apipost
(
'InvoiceApply_get_GetOrderFinanceList'
,
{
...
...
@@ -817,7 +819,18 @@
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
EmployeeId
=
userInfo
.
EmployeeId
;
let
id
=
this
.
$route
.
query
.
id
let
id
if
(
this
.
$route
.
query
.
id
){
id
=
this
.
$route
.
query
.
id
}
if
(
this
.
$route
.
query
.
InvoiceApplyType
){
this
.
InvoiceApplyType
=
this
.
InvoiceApplyType
}
if
(
this
.
$route
.
query
.
crmOrderObj
){
this
.
crmOrderObj
=
JSON
.
parse
(
this
.
$route
.
query
.
crmOrderObj
)
this
.
InvoiceApplyType
=
this
.
crmOrderObj
.
InvoiceApplyType
id
=
this
.
crmOrderObj
.
id
}
//是否显示审核按钮
this
.
noDetail
=
this
.
$route
.
query
.
noDetail
?
true
:
false
this
.
msg
.
ID
=
id
...
...
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