Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
何远江
yishuju-ui
Commits
5a64f8ac
Commit
5a64f8ac
authored
Jan 24, 2025
by
tanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部分金额调整
parent
6e4129a8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
20 deletions
+8
-20
index.vue
src/views/business-approval/reduction-apply/index.vue
+2
-14
reduceDrawer.vue
src/views/property/case-detail/components/reduceDrawer.vue
+6
-6
No files found.
src/views/business-approval/reduction-apply/index.vue
View file @
5a64f8ac
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
return
<>
{
row
.
reduceRecords
.
map
((
v
)
=>
v
.
loan
.
caseId
).
join
(
','
)}
<
/>
;
return
<>
{
row
.
reduceRecords
.
map
((
v
)
=>
v
.
loan
.
caseId
).
join
(
','
)}
<
/>
;
},
},
},
},
width
:
8
0
,
width
:
12
0
,
},
},
{
{
field
:
'borrower.name'
,
field
:
'borrower.name'
,
...
@@ -95,15 +95,9 @@
...
@@ -95,15 +95,9 @@
search
:
{
el
:
'input'
,
key
:
'borrower'
},
search
:
{
el
:
'input'
,
key
:
'borrower'
},
width
:
90
,
width
:
90
,
},
},
{
field
:
'reduceAmount'
,
title
:
'减免金额'
,
search
:
{
el
:
'input'
},
width
:
80
,
},
{
{
field
:
'totalReduceAmount'
,
field
:
'totalReduceAmount'
,
title
:
'减免金额
(总计)
'
,
title
:
'减免金额'
,
search
:
{
el
:
'input'
},
search
:
{
el
:
'input'
},
width
:
120
,
width
:
120
,
},
},
...
@@ -163,12 +157,6 @@
...
@@ -163,12 +157,6 @@
},
},
},
},
},
},
{
field
:
'id'
,
title
:
'减免申请ID'
,
search
:
{
el
:
'input'
},
width
:
100
,
},
{
{
field
:
'applyDate'
,
field
:
'applyDate'
,
title
:
'减免申请时间'
,
title
:
'减免申请时间'
,
...
...
src/views/property/case-detail/components/reduceDrawer.vue
View file @
5a64f8ac
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
class=
"w-full"
label=
"应还金额:"
prop=
"relation"
>
<el-form-item
class=
"w-full"
label=
"应还金额:"
prop=
"relation"
>
<div>
<div>
<p>
{{
form
.
totalPay
Amount
}}
</p>
<p>
{{
form
.
remaining
Amount
}}
</p>
<p
class=
"text-red-600 leading-3"
>
*应还金额
</p>
<p
class=
"text-red-600 leading-3"
>
*应还金额
</p>
</div>
</div>
</el-form-item>
</el-form-item>
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
totalReduceAmount
:
0
,
totalReduceAmount
:
0
,
totalNumber
:
''
,
totalNumber
:
''
,
reduceType
:
'settle'
,
reduceType
:
'settle'
,
totalPay
Amount
:
0
,
remaining
Amount
:
0
,
applyDate
:
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
applyDate
:
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
});
});
const
selectdList
=
ref
([]);
const
selectdList
=
ref
([]);
...
@@ -167,10 +167,10 @@
...
@@ -167,10 +167,10 @@
const
changeNum
=
(
row
)
=>
{
const
changeNum
=
(
row
)
=>
{
row
.
payAmount
=
row
.
loan
.
remainingAmount
-
row
.
reduceAmount
;
row
.
payAmount
=
row
.
loan
.
remainingAmount
-
row
.
reduceAmount
;
form
.
totalReduceAmount
=
0
;
form
.
totalReduceAmount
=
0
;
form
.
totalPay
Amount
=
0
;
form
.
remaining
Amount
=
0
;
tabledata
.
value
.
forEach
((
item
)
=>
{
tabledata
.
value
.
forEach
((
item
)
=>
{
form
.
totalReduceAmount
+=
Number
(
item
.
reduceAmount
)
||
0
;
form
.
totalReduceAmount
+=
Number
(
item
.
reduceAmount
)
||
0
;
form
.
totalPay
Amount
+=
Number
(
item
.
payAmount
)
||
0
;
form
.
remaining
Amount
+=
Number
(
item
.
payAmount
)
||
0
;
});
});
};
};
const
openModal
=
(
detail
,
caselist
)
=>
{
const
openModal
=
(
detail
,
caselist
)
=>
{
...
@@ -178,13 +178,13 @@
...
@@ -178,13 +178,13 @@
currentDetail
.
value
=
detail
;
currentDetail
.
value
=
detail
;
console
.
log
(
'currentDetail'
,
currentDetail
.
value
,
caselist
);
console
.
log
(
'currentDetail'
,
currentDetail
.
value
,
caselist
);
form
.
totalReduceAmount
=
0
;
form
.
totalReduceAmount
=
0
;
form
.
totalPay
Amount
=
0
;
form
.
remaining
Amount
=
0
;
const
list
=
[];
const
list
=
[];
caselist
.
forEach
((
item
)
=>
{
caselist
.
forEach
((
item
)
=>
{
const
payAmount
=
Number
(
item
.
remainingAmount
)
||
0
;
const
payAmount
=
Number
(
item
.
remainingAmount
)
||
0
;
list
.
push
({
reduceAmount
:
Number
(
item
.
reduceAmount
)
||
0
,
payAmount
:
payAmount
,
loan
:
item
});
list
.
push
({
reduceAmount
:
Number
(
item
.
reduceAmount
)
||
0
,
payAmount
:
payAmount
,
loan
:
item
});
form
.
totalReduceAmount
+=
Number
(
item
.
reduceAmount
)
||
0
;
form
.
totalReduceAmount
+=
Number
(
item
.
reduceAmount
)
||
0
;
form
.
totalPay
Amount
+=
payAmount
;
form
.
remaining
Amount
+=
payAmount
;
});
});
tabledata
.
value
=
list
;
tabledata
.
value
=
list
;
form
.
totalNumber
=
caselist
.
length
;
form
.
totalNumber
=
caselist
.
length
;
...
...
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