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
e370cfae
Commit
e370cfae
authored
Apr 08, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d94ce28e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
4 deletions
+56
-4
ComplaintsDetail.vue
src/components/Complaints/ComplaintsDetail.vue
+56
-4
No files found.
src/components/Complaints/ComplaintsDetail.vue
View file @
e370cfae
...
...
@@ -166,7 +166,10 @@
text-decoration
:
underline
;
color
:
#E95252
;
}
.CD_dealResultf
:hover
{
text-decoration
:
underline
;
color
:
#E95252
;
}
.CD_ListLi
li
{
border
:
1px
solid
#ccc
;
padding
:
4px
8px
;
...
...
@@ -237,8 +240,16 @@
<li
v-if=
"ComplainInfo.DisposeStatus===4&&(getLocalStorage().EmployeeId===ComplainInfo.CreateBy || getLocalStorage().EmployeeId===ComplainDetial[ComplainDetial.length-1].CreateBy||authority.indexOf('S_Complain_Finance')!=-1)"
>
<span>
立即制单:
</span>
<span
v-for=
"compensation in ComplainCompensation"
class=
"CD_dealResult"
href=
"javascript:void(0)"
@
click=
"setFinance(compensation)"
>
{{
compensation
.
CompensateMoney
}}
</span>
<span
style=
"width:auto;"
v-for=
"compensation in ComplainCompensation"
><span
style=
"width:auto;cursor: pointer;"
class=
"CD_dealResult"
>
{{
compensation
.
CompensateMoney
}}
</span>
<span
style=
"width:auto;cursor: pointer;"
class=
"CD_dealResultf"
@
click=
"setFinance(compensation)"
>
付款单
</span>
<span
style=
"width:auto;cursor: pointer;"
class=
"CD_dealResultf"
@
click=
"setFinanceYL(compensation)"
>
原路退款
</span>
</span>
</li>
<li
v-if=
"ComplainInfo.DisposeStatus===4&&getLocalStorage().EmployeeId===ComplainDetial[ComplainDetial.length-1].CreateBy"
>
...
...
@@ -627,6 +638,41 @@
})
}
},
//设置财务单据
setFinanceYL
(
compensation
)
{
let
id
=
[
252
];
//团费原路退款
//TODO跳转到财务单据
if
(
compensation
.
FinanceID
===
0
)
{
var
TCArr
=
[
this
.
PriceInfo
.
TCID
]
let
orderObj
=
{
OrderID
:
this
.
PriceInfo
.
OrderId
,
OrderSource
:
11
,
Obj
:
{},
SourceID
:
compensation
.
ID
,
TCIDList
:
TCArr
}
this
.
$router
.
push
({
name
:
'ChoiceAddFinancialDocuments'
,
query
:
{
Type
:
1
,
templateID
:
JSON
.
stringify
(
id
),
companyID
:
this
.
PriceInfo
.
OutBranchId
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
)
}
})
}
else
if
(
compensation
.
FinanceID
>
0
)
{
this
.
$router
.
push
({
name
:
'FinancialDocumentsDetail'
,
query
:
{
id
:
compensation
.
FinanceID
,
blank
:
'y'
,
tab
:
this
.
$t
(
'objFill.documentparticulars'
)
}
})
}
},
//保存结果
saveResult
()
{
...
...
@@ -737,7 +783,13 @@
getBackMoney
()
{
let
money
=
0
this
.
ComplainCompensation
.
forEach
(
x
=>
{
money
+=
x
.
BackMoney
if
(
x
.
BackMoney
<
0
){
money
+=
(
x
.
BackMoney
*-
1
)
}
else
{
money
+=
x
.
BackMoney
}
})
return
money
},
...
...
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