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
c09c8a70
Commit
c09c8a70
authored
Jul 14, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款单修复2.2
parent
85c662e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+6
-1
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+3
-3
No files found.
src/views/ecw/financial/creatCollection.vue
View file @
c09c8a70
...
@@ -1522,6 +1522,7 @@ export default {
...
@@ -1522,6 +1522,7 @@ export default {
}
}
this
.
saveBtnLoading
=
true
this
.
saveBtnLoading
=
true
params
.
receiptAccountList
.
splice
(
params
.
receiptAccountList
.
length
-
1
,
1
)
params
.
receiptAccountList
.
splice
(
params
.
receiptAccountList
.
length
-
1
,
1
)
if
(
this
.
id
&&
this
.
id
!=
0
)
{
if
(
this
.
id
&&
this
.
id
!=
0
)
{
// if(params.state==0) params.state = 1
// if(params.state==0) params.state = 1
params
.
updateType
=
1
params
.
updateType
=
1
...
@@ -1587,7 +1588,11 @@ export default {
...
@@ -1587,7 +1588,11 @@ export default {
}
,
}
,
//清空数据
//清空数据
removeData
(){
removeData
(){
console
.
log
(
this
.
form
)
this
.
id
=
0
this
.
flag
=
false
this
.
discountForm
=
{
author
:
''
}
this
.
$refs
.
customer
.
reset
()
this
.
$refs
.
customer
.
reset
()
this
.
list
=
[]
this
.
list
=
[]
for
(
var
i
in
this
.
form
){
for
(
var
i
in
this
.
form
){
...
...
src/views/ecw/financial/receiptDetail.vue
View file @
c09c8a70
...
@@ -469,7 +469,7 @@
...
@@ -469,7 +469,7 @@
<
template
slot
=
"
label
"
>
<
template
slot
=
"
label
"
>
{{
$t
(
'
兑核销基准币种金额
'
)
}}
(
{{
getCurrencyLabel
(
showCurrencyId
)
}}
)
{{
$t
(
'
兑核销基准币种金额
'
)
}}
(
{{
getCurrencyLabel
(
showCurrencyId
)
}}
)
<
/template
>
<
/template
>
<
span
>
{{
addForm
.
writeOffAmount
?
parseFloat
(
addForm
.
writeOffAmount
).
toFixed
(
6
):
''
}}
<
/span
>
<
span
>
{{
addForm
.
writeOffAmount
?
parseFloat
(
addForm
.
writeOffAmount
).
toFixed
(
2
):
''
}}
<
/span
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
<
el
-
form
-
item
:
label
=
"
$t('水单附件')
"
:
label
=
"
$t('水单附件')
"
...
@@ -838,7 +838,7 @@ export default {
...
@@ -838,7 +838,7 @@ export default {
this
.
addForm
.
amount
=
''
this
.
addForm
.
amount
=
''
this
.
$modal
.
msgError
(
this
.
$t
(
'
输入金额不对
'
));
this
.
$modal
.
msgError
(
this
.
$t
(
'
输入金额不对
'
));
}
else
{
}
else
{
if
(
this
.
addForm
.
amount
.
indexOf
(
'
.
'
)
>-
1
){
if
(
this
.
addForm
&&
this
.
addForm
.
amount
&&
this
.
addForm
.
amount
.
indexOf
(
'
.
'
)
>-
1
){
pointArr
=
this
.
addForm
.
amount
.
split
(
'
.
'
)
pointArr
=
this
.
addForm
.
amount
.
split
(
'
.
'
)
if
(
pointArr
.
length
>
1
&&
pointArr
[
1
]){
if
(
pointArr
.
length
>
1
&&
pointArr
[
1
]){
this
.
addForm
.
amount
=
Math
.
round
(
this
.
addForm
.
amount
*
100
)
/
100
this
.
addForm
.
amount
=
Math
.
round
(
this
.
addForm
.
amount
*
100
)
/
100
...
@@ -1117,7 +1117,7 @@ export default {
...
@@ -1117,7 +1117,7 @@ export default {
...
v
,
...
v
,
amountDate
:
this
.
parseTime
(
v
.
amountDate
,
'
{y
}
-{m
}
-{d
}
'
),
amountDate
:
this
.
parseTime
(
v
.
amountDate
,
'
{y
}
-{m
}
-{d
}
'
),
accountNo
:
+
v
.
accountNo
,
accountNo
:
+
v
.
accountNo
,
rate
:
parseFloat
(
v
.
rate
)
.
toFixed
(
6
)
,
rate
:
parseFloat
(
v
.
rate
),
attr
:
v
.
attr
?
v
.
attr
.
split
(
'
,
'
).
map
(
t
=>
({
name
:
t
.
slice
(
t
.
lastIndexOf
(
'
/
'
)
+
1
),
url
:
t
}
))
:
[]
attr
:
v
.
attr
?
v
.
attr
.
split
(
'
,
'
).
map
(
t
=>
({
name
:
t
.
slice
(
t
.
lastIndexOf
(
'
/
'
)
+
1
),
url
:
t
}
))
:
[]
}
))
}
))
// this.calculation()
// this.calculation()
...
...
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