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
49678a0e
Commit
49678a0e
authored
Aug 11, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款单银行明细优化
parent
c8c3e149
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
bankDetail.vue
src/views/ecw/financial/bankDetail.vue
+3
-2
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+1
-2
No files found.
src/views/ecw/financial/bankDetail.vue
View file @
49678a0e
...
...
@@ -13,7 +13,7 @@
</div>
</el-form-item>
<el-form-item
:label=
"$t('收款账户')"
prop=
"accountNo"
>
<span>
{{ addForm.accountNo
+
'('+addForm.accountName+')' }}
</span>
<span>
{{ addForm.accountNo
}}{{
'('+addForm.accountName+')' }}
</span>
</el-form-item>
<el-form-item
:label=
"$t('实收日期')"
prop=
"amountDate"
>
<span>
{{ addForm.amountDate }}
</span>
...
...
@@ -114,11 +114,12 @@
this
.
detailed
=
res
.
data
.
map
(
v
=>
({
...
v
,
amountDate
:
this
.
parseTime
(
v
.
amountDate
,
'
{y}-{m}-{d}
'
),
accountNo
:
+
v
.
accountNo
,
rate
:
parseFloat
(
v
.
rate
).
toFixed
(
2
),
attr
:
v
.
attr
?
v
.
attr
.
split
(
'
,
'
).
map
(
t
=>
({
name
:
t
.
slice
(
t
.
lastIndexOf
(
'
/
'
)
+
1
),
url
:
t
}))
:
[]
}))
console
.
log
(
this
.
detailed
)
this
.
addForm
=
this
.
detailed
.
find
((
itt
)
=>
itt
.
id
==
this
.
bankId
);
console
.
log
(
this
.
addForm
)
this
.
handleAddReceiptItem
()
})
},
...
...
src/views/ecw/financial/receiptDetail.vue
View file @
49678a0e
...
...
@@ -399,7 +399,7 @@
<
el
-
select
v
-
if
=
"
!isView
"
v
-
model
=
"
addForm.accountId
"
:
placeholder
=
"
$t('请选择收款账户')
"
style
=
"
width: 220px
"
@
change
=
"
accountChange
"
>
<
el
-
option
v
-
for
=
"
item in bankData
"
:
key
=
"
item.id
"
:
label
=
"
item.baAccountName + '(' + item.baAccountNum + ')'
"
:
value
=
"
item.id
"
/>
<
/el-select
>
<
span
v
-
else
>
{{
addForm
.
accountNo
+
'
(
'
+
addForm
.
accountName
+
'
)
'
}}
<
/span
>
<
span
v
-
else
>
{{
addForm
.
accountNo
}}
{{
'
(
'
+
addForm
.
accountName
+
'
)
'
}}
<
/span
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('实收日期')
"
...
...
@@ -1119,7 +1119,6 @@ export default {
this
.
detailed
=
res
.
data
.
map
(
v
=>
({
...
v
,
amountDate
:
this
.
parseTime
(
v
.
amountDate
,
'
{y
}
-{m
}
-{d
}
'
),
accountNo
:
+
v
.
accountNo
,
rate
:
parseFloat
(
v
.
rate
),
attr
:
v
.
attr
?
v
.
attr
.
split
(
'
,
'
).
map
(
t
=>
({
name
:
t
.
slice
(
t
.
lastIndexOf
(
'
/
'
)
+
1
),
url
:
t
}
))
:
[]
}
))
...
...
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