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
d6ae3149
Commit
d6ae3149
authored
Feb 13, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
案件分派
parent
038fde16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
allocationModal.vue
...s/property/case-allocation/components/allocationModal.vue
+15
-15
No files found.
src/views/property/case-allocation/components/allocationModal.vue
View file @
d6ae3149
...
...
@@ -326,21 +326,21 @@
step
.
value
=
0
;
};
const
saveFrom
=
()
=>
{
//
if (currentAllBtn.value === 'CASE') {
// const sum = tabledata.value.reduce((pre, cur) => pre + cur.caseNum
, 0);
//
if (Number(sum) !== Number(statisis.value.unCaseNum))
//
return ElMessage.warning({
//
message: '总数与待分派案件数不一致',
//
plain: true,
//
});
//
} else if (currentAllBtn.value === 'BORROWER') {
// const sum = tabledata.value.reduce((pre, cur) => pre + cur.borrowerNum
, 0);
//
if (Number(sum) !== Number(statisis.value.unCustomerNum))
//
return ElMessage.warning({
//
message: '总数与待分派案人数不一致',
//
plain: true,
//
});
//
}
if
(
currentAllBtn
.
value
===
'CASE'
)
{
const
sum
=
tabledata
.
value
.
reduce
((
pre
,
cur
)
=>
Decimal
(
pre
).
add
(
Decimal
(
cur
.
caseNum
))
,
0
);
if
(
Number
(
sum
)
!==
Number
(
statisis
.
value
.
unCaseNum
))
return
ElMessage
.
warning
({
message
:
'总数与待分派案件数不一致'
,
plain
:
true
,
});
}
else
if
(
currentAllBtn
.
value
===
'BORROWER'
)
{
const
sum
=
tabledata
.
value
.
reduce
((
pre
,
cur
)
=>
Decimal
(
pre
).
add
(
Decimal
(
cur
.
borrowerNum
))
,
0
);
if
(
Number
(
sum
)
!==
Number
(
statisis
.
value
.
unCustomerNum
))
return
ElMessage
.
warning
({
message
:
'总数与待分派案人数不一致'
,
plain
:
true
,
});
}
changeDistributeCpe
({
records
:
tabledata
.
value
,
distributeType
:
currentAllBtn
.
value
,
...
...
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