Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
8e147465
Commit
8e147465
authored
Apr 08, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款单详情优化
parent
2c38ca26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
18 deletions
+30
-18
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+30
-18
No files found.
src/views/ecw/financial/receiptDetail.vue
View file @
8e147465
...
...
@@ -668,24 +668,6 @@ export default {
this
.
wiffRemark
=
''
this
.
wiffShow
=
true
}
,
writeOffClick
(){
if
(
!
this
.
wiffRemark
){
this
.
$modal
.
msgError
(
this
.
$t
(
'
请输入申请理由
'
));
return
}
this
.
$modal
.
confirm
(
this
.
$t
(
'
您确认要反核销吗
'
)
+
'
?
'
)
.
then
(()
=>
{
financeReceiptWriteOffNo
({
receiptId
:
this
.
id
,
receiptNo
:
this
.
form
.
receiptNo
,
remark
:
this
.
wiffRemark
}
).
then
(
res
=>
{
this
.
getList
();
this
.
$message
.
success
(
this
.
$t
(
"
提交成功
"
));
this
.
wiffShow
=
false
// this.$store.dispatch('tagsView/delCurrentView')
}
);
}
)
.
catch
(()
=>
{
this
.
wiffShow
=
false
}
);
}
,
WriteOffProportion
(){
let
total
=
0
if
(
!
this
.
form
.
receiptAccountList
)
return
0
...
...
@@ -824,6 +806,18 @@ export default {
this
.
form
.
receiptAccountList
[
index
]
=
{...
row
}
}
,
setWriteOffAmount
()
{
var
pointArr
=
[]
var
regs
=
/^
[
0-9
]
+
\d
*
(\.\d
*
)?
$|^0
?\.\d
*
[
0-9
]\d
*$/
;
if
(
this
.
addForm
.
amount
&&!
regs
.
test
(
this
.
addForm
.
amount
)){
this
.
addForm
.
amount
=
''
this
.
$modal
.
msgError
(
this
.
$t
(
'
输入金额不对
'
));
}
else
{
pointArr
=
this
.
addForm
.
amount
.
split
(
'
.
'
)
if
(
pointArr
.
length
>
1
&&
pointArr
[
1
]){
this
.
addForm
.
amount
=
Math
.
round
(
this
.
addForm
.
amount
*
100
)
/
100
}
}
this
.
$set
(
this
.
addForm
,
'
writeOffAmount
'
,
NP
.
times
(
this
.
addForm
.
rate
||
0
,
this
.
addForm
.
amount
||
0
))
}
,
getCurrencyLabel
(
id
){
...
...
@@ -935,6 +929,24 @@ export default {
this
.
reason
=
''
this
.
dialogVisible
=
true
}
,
writeOffClick
(){
if
(
!
this
.
wiffRemark
){
this
.
$modal
.
msgError
(
this
.
$t
(
'
请输入申请理由
'
));
return
}
this
.
$modal
.
confirm
(
this
.
$t
(
'
您确认要反核销吗
'
)
+
'
?
'
)
.
then
(()
=>
{
financeReceiptWriteOffNo
({
receiptId
:
this
.
id
,
receiptNo
:
this
.
form
.
receiptNo
,
remark
:
this
.
wiffRemark
}
).
then
(
res
=>
{
this
.
getReceiptInfoData
();
this
.
$message
.
success
(
this
.
$t
(
"
提交成功
"
));
this
.
wiffShow
=
false
// this.$store.dispatch('tagsView/delCurrentView')
}
);
}
)
.
catch
(()
=>
{
this
.
wiffShow
=
false
}
);
}
,
//显示取消审核弹窗
detailClickCancel
(
type
){
this
.
detailIndex
=
type
...
...
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