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
b28dede8
Commit
b28dede8
authored
Feb 27, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
106c74b0
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
182 additions
and
63 deletions
+182
-63
callDrawer.vue
...s/business-approval/audit-apply/components/callDrawer.vue
+18
-1
splitDrawer.vue
...iness-approval/by-stages-apply/components/splitDrawer.vue
+22
-0
reduceDrawer.vue
...ness-approval/reduction-apply/components/reduceDrawer.vue
+27
-12
index.vue
src/views/business-approval/repayment-approve/index.vue
+2
-1
callDrawer.vue
src/views/property/audit-manage/components/callDrawer.vue
+18
-1
callDrawer.vue
src/views/property/case-detail/components/callDrawer.vue
+7
-1
reduceDrawer.vue
src/views/property/case-detail/components/reduceDrawer.vue
+40
-4
returnModal.vue
src/views/property/case-detail/components/returnModal.vue
+6
-7
splitDrawer.vue
src/views/property/case-detail/components/splitDrawer.vue
+6
-0
index.vue
src/views/property/import/index.vue
+0
-9
index.vue
src/views/property/repair-manage/index.vue
+18
-26
callDrawer.vue
src/views/workplace/audit/components/callDrawer.vue
+18
-1
No files found.
src/views/business-approval/audit-apply/components/callDrawer.vue
View file @
b28dede8
...
@@ -256,7 +256,7 @@
...
@@ -256,7 +256,7 @@
import
dayjs
from
'dayjs'
;
import
dayjs
from
'dayjs'
;
import
{
computed
,
inject
}
from
'vue'
;
import
{
computed
,
inject
}
from
'vue'
;
import
{
reactive
,
ref
}
from
'vue'
;
import
{
reactive
,
ref
}
from
'vue'
;
import
{
ElInputNumber
,
ElMessage
}
from
'element-plus'
;
import
{
ElInputNumber
,
ElMessage
,
ElTag
}
from
'element-plus'
;
import
{
Upload
,
Download
}
from
'@element-plus/icons-vue'
;
import
{
Upload
,
Download
}
from
'@element-plus/icons-vue'
;
import
{
getAppEnvConfig
}
from
'@/utils/env'
;
import
{
getAppEnvConfig
}
from
'@/utils/env'
;
import
{
saveTrackRecord
}
from
'@/api/property'
;
import
{
saveTrackRecord
}
from
'@/api/property'
;
...
@@ -426,34 +426,51 @@
...
@@ -426,34 +426,51 @@
},
},
},
},
},
},
{
field
:
'mergerCase'
,
title
:
'是否共案处理'
,
showOverflow
:
'tooltip'
,
width
:
120
,
slots
:
{
default
:
({
row
})
=>
{
return
<
ElTag
>
{
row
.
mergerCase
==
'Y'
?
'是'
:
'否'
}
<
/ElTag>
;
},
},
},
{
{
field
:
'product'
,
field
:
'product'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
title
:
'产品'
,
title
:
'产品'
,
},
},
{
{
field
:
'loanPlatform.name'
,
field
:
'loanPlatform.name'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
120
,
title
:
'借款平台'
,
title
:
'借款平台'
,
},
},
{
{
field
:
'commissionAmount'
,
field
:
'commissionAmount'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
120
,
title
:
'委案金额'
,
title
:
'委案金额'
,
},
},
{
{
field
:
'sumReductionAmount'
,
field
:
'sumReductionAmount'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
120
,
title
:
'累计减免金额'
,
title
:
'累计减免金额'
,
},
},
{
{
field
:
'sumRepayAmount'
,
field
:
'sumRepayAmount'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
120
,
title
:
'累计还款金额'
,
title
:
'累计还款金额'
,
},
},
{
{
field
:
'remainingAmount'
,
field
:
'remainingAmount'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
120
,
title
:
'剩余待还金额'
,
title
:
'剩余待还金额'
,
},
},
],
],
...
...
src/views/business-approval/by-stages-apply/components/splitDrawer.vue
View file @
b28dede8
...
@@ -491,6 +491,28 @@
...
@@ -491,6 +491,28 @@
width
:
230
,
width
:
230
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
{
field
:
'mergerCase'
,
title
:
'是否共案处理'
,
showOverflow
:
'tooltip'
,
width
:
120
,
slots
:
{
default
:
({
row
})
=>
{
return
<
ElTag
>
{
row
.
mergerCase
==
'Y'
?
'是'
:
'否'
}
<
/ElTag>
;
},
},
},
{
field
:
'canStages'
,
title
:
'分期是否可修改'
,
showOverflow
:
'tooltip'
,
width
:
120
,
slots
:
{
default
:
({
row
})
=>
{
return
<
ElTag
>
{
row
.
canStages
==
'Y'
?
'是'
:
'否'
}
<
/ElTag>
;
},
},
},
{
{
field
:
'product'
,
field
:
'product'
,
title
:
'产品'
,
title
:
'产品'
,
...
...
src/views/business-approval/reduction-apply/components/reduceDrawer.vue
View file @
b28dede8
...
@@ -97,14 +97,9 @@
...
@@ -97,14 +97,9 @@
form.totalNumber
form.totalNumber
}}
</el-form-item>
}}
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
class=
"w-full"
label=
"应还金额:"
prop=
"relation"
>
{{ form.remainingAmount }}
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
class=
"w-full"
label=
"减免原因:"
prop=
"code"
>
<el-form-item
class=
"w-full"
label=
"减免原因:"
prop=
"code"
>
<el-input
v-model=
"form.
applyDate"
/>
<el-input
v-model=
"form.
reason"
disabled
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
...
@@ -114,7 +109,12 @@
...
@@ -114,7 +109,12 @@
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
class=
"w-full"
label=
"备注:"
prop=
"code"
>
<el-form-item
class=
"w-full"
label=
"备注:"
prop=
"code"
>
<el-input
v-model=
"form.applyDate"
/>
<el-input
v-model=
"form.remark"
disabled
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
class=
"w-full"
label=
"应还金额:"
prop=
"relation"
>
{{ form.remainingAmount }}
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
...
@@ -200,7 +200,7 @@
...
@@ -200,7 +200,7 @@
import
{
computed
}
from
'vue'
;
import
{
computed
}
from
'vue'
;
import
{
reactive
,
ref
}
from
'vue'
;
import
{
reactive
,
ref
}
from
'vue'
;
import
{
saveReduce
}
from
'@/api/property'
;
import
{
saveReduce
}
from
'@/api/property'
;
import
{
ElMessage
}
from
'element-plus'
;
import
{
ElMessage
,
ElTag
}
from
'element-plus'
;
import
{
Download
,
ZoomIn
}
from
'@element-plus/icons-vue'
;
import
{
Download
,
ZoomIn
}
from
'@element-plus/icons-vue'
;
import
{
onMounted
}
from
'vue'
;
import
{
onMounted
}
from
'vue'
;
import
{
watch
}
from
'vue'
;
import
{
watch
}
from
'vue'
;
...
@@ -222,6 +222,8 @@
...
@@ -222,6 +222,8 @@
const
form
=
reactive
({
const
form
=
reactive
({
totalReduceAmount
:
0
,
totalReduceAmount
:
0
,
totalNumber
:
''
,
totalNumber
:
''
,
reason
:
''
,
remark
:
''
,
images
:
[],
images
:
[],
reduceType
:
'settle'
,
reduceType
:
'settle'
,
commissionAmount
:
0
,
commissionAmount
:
0
,
...
@@ -336,6 +338,17 @@
...
@@ -336,6 +338,17 @@
},
},
}
}
},
},
{
field
:
'mergerCase'
,
title
:
'是否共案处理'
,
showOverflow
:
'tooltip'
,
width
:
120
,
slots
:
{
default
:
({
row
})
=>
{
return
<
ElTag
>
{
row
.
loan
.
mergerCase
==
'Y'
?
'是'
:
'否'
}
<
/ElTag>
;
},
},
},
{
{
field
:
'loan.product'
,
field
:
'loan.product'
,
width
:
100
,
width
:
100
,
...
@@ -416,9 +429,12 @@
...
@@ -416,9 +429,12 @@
showModal
.
value
=
true
;
showModal
.
value
=
true
;
currentDetail
.
value
=
detail
;
currentDetail
.
value
=
detail
;
form
.
totalReduceAmount
=
detail
.
totalReduceAmount
;
form
.
totalReduceAmount
=
detail
.
totalReduceAmount
;
form
.
remark
=
detail
.
remark
;
form
.
reason
=
detail
.
reason
;
form
.
remainingAmount
=
Decimal
(
detail
.
remainingAmount
).
sub
(
Decimal
(
detail
.
totalReduceAmount
));
form
.
remainingAmount
=
Decimal
(
detail
.
remainingAmount
).
sub
(
Decimal
(
detail
.
totalReduceAmount
));
form
.
applyDate
=
detail
.
applyDate
form
.
applyDate
=
detail
.
applyDate
const
list
=
[];
const
list
=
[];
form
[
'commissionAmount'
]
=
0
form
.
images
=
detail
.
images
form
.
images
=
detail
.
images
?
detail
.
images
.
map
((
v
)
=>
({
?
detail
.
images
.
map
((
v
)
=>
({
name
:
v
.
slice
(
v
.
lastIndexOf
(
'/'
)
+
1
,
v
.
length
),
name
:
v
.
slice
(
v
.
lastIndexOf
(
'/'
)
+
1
,
v
.
length
),
...
@@ -434,7 +450,7 @@
...
@@ -434,7 +450,7 @@
setTimeout
(()
=>
{
setTimeout
(()
=>
{
if
(
ProTableRef
.
value
.
element
)
{
if
(
ProTableRef
.
value
.
element
)
{
ProTableRef
.
value
.
element
.
setAllCheckboxRow
(
true
);
ProTableRef
.
value
.
element
.
setAllCheckboxRow
(
true
);
selectdList
.
value
=
list
;
selectdList
.
value
=
case
list
;
}
}
},
500
);
},
500
);
};
};
...
@@ -448,16 +464,15 @@
...
@@ -448,16 +464,15 @@
images
=
images
.
map
((
v
)
=>
{
images
=
images
.
map
((
v
)
=>
{
return
v
.
replace
(
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
,
''
);
return
v
.
replace
(
envs
.
VITE_GLOB_API_URL_PREFIX
+
'/sys/static/'
,
''
);
});
});
console
.
log
(
'remainingAmount'
,
form
)
const
params
=
{
const
params
=
{
borrower
:
currentDetail
.
value
.
borrower
,
...
currentDetail
.
value
,
askForStatus
:
'Pending'
,
askForStatus
:
'Pending'
,
flowStatus
:
type
,
flowStatus
:
type
,
...
form
,
...
form
,
images
:
images
.
length
>
0
?
images
:
null
,
images
:
images
.
length
>
0
?
images
:
null
,
reduceRecords
:
list
,
reduceRecords
:
list
,
};
};
delete
params
.
id
;
delete
params
.
cpe
;
saveReduce
(
params
).
then
((
res
)
=>
{
saveReduce
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
ElMessage
.
success
({
ElMessage
.
success
({
...
...
src/views/business-approval/repayment-approve/index.vue
View file @
b28dede8
...
@@ -126,9 +126,10 @@
...
@@ -126,9 +126,10 @@
showModal
.
value
=
true
;
showModal
.
value
=
true
;
};
};
const
submitForm
=
async
(
type
)
=>
{
const
submitForm
=
async
(
type
)
=>
{
const
ids
=
selectdList
.
value
.
map
((
v
)
=>
v
.
id
).
join
(
','
);
const
ids
=
selectdList
.
value
.
map
((
v
)
=>
v
.
id
).
join
(
','
);
await
repayRecordFlowStatusByIds
({
await
repayRecordFlowStatusByIds
({
ids
:
ids
,
ids
:
(
currentRow
.
value
&&
currentRow
.
value
.
id
)
?
currentRow
.
value
.
id
:
ids
,
flowStatus
:
type
,
flowStatus
:
type
,
});
});
...
...
src/views/property/audit-manage/components/callDrawer.vue
View file @
b28dede8
...
@@ -256,7 +256,7 @@
...
@@ -256,7 +256,7 @@
import
dayjs
from
'dayjs'
;
import
dayjs
from
'dayjs'
;
import
{
computed
,
inject
}
from
'vue'
;
import
{
computed
,
inject
}
from
'vue'
;
import
{
reactive
,
ref
}
from
'vue'
;
import
{
reactive
,
ref
}
from
'vue'
;
import
{
ElInputNumber
,
ElMessage
}
from
'element-plus'
;
import
{
ElInputNumber
,
ElMessage
,
ElTag
}
from
'element-plus'
;
import
{
Upload
,
Download
}
from
'@element-plus/icons-vue'
;
import
{
Upload
,
Download
}
from
'@element-plus/icons-vue'
;
import
{
getAppEnvConfig
}
from
'@/utils/env'
;
import
{
getAppEnvConfig
}
from
'@/utils/env'
;
import
{
saveTrackRecord
}
from
'@/api/property'
;
import
{
saveTrackRecord
}
from
'@/api/property'
;
...
@@ -426,33 +426,50 @@
...
@@ -426,33 +426,50 @@
},
},
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
{
field
:
'mergerCase'
,
title
:
'是否共案处理'
,
showOverflow
:
'tooltip'
,
width
:
120
,
slots
:
{
default
:
({
row
})
=>
{
return
<
ElTag
>
{
row
.
mergerCase
==
'Y'
?
'是'
:
'否'
}
<
/ElTag>
;
},
},
},
{
{
field
:
'product'
,
field
:
'product'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
title
:
'产品'
,
title
:
'产品'
,
},
},
{
{
field
:
'loanPlatform.name'
,
field
:
'loanPlatform.name'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
title
:
'借款平台'
,
title
:
'借款平台'
,
},
},
{
{
field
:
'commissionAmount'
,
field
:
'commissionAmount'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
title
:
'委案金额'
,
title
:
'委案金额'
,
},
},
{
{
field
:
'sumReductionAmount'
,
field
:
'sumReductionAmount'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
120
,
title
:
'累计减免金额'
,
title
:
'累计减免金额'
,
},
},
{
{
field
:
'sumRepayAmount'
,
field
:
'sumRepayAmount'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
120
,
title
:
'累计还款金额'
,
title
:
'累计还款金额'
,
},
},
{
{
field
:
'remainingAmount'
,
field
:
'remainingAmount'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
title
:
'剩余待还金额'
,
title
:
'剩余待还金额'
,
},
},
...
...
src/views/property/case-detail/components/callDrawer.vue
View file @
b28dede8
...
@@ -427,7 +427,7 @@
...
@@ -427,7 +427,7 @@
field
:
'mergerCase'
,
field
:
'mergerCase'
,
title
:
'是否共案处理'
,
title
:
'是否共案处理'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
1
0
0
,
width
:
1
2
0
,
slots
:
{
slots
:
{
default
:
({
row
})
=>
{
default
:
({
row
})
=>
{
return
<
ElTag
>
{
row
.
mergerCase
==
'Y'
?
'是'
:
'否'
}
<
/ElTag>
;
return
<
ElTag
>
{
row
.
mergerCase
==
'Y'
?
'是'
:
'否'
}
<
/ElTag>
;
...
@@ -437,31 +437,37 @@
...
@@ -437,31 +437,37 @@
{
{
field
:
'product'
,
field
:
'product'
,
title
:
'产品'
,
title
:
'产品'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
{
{
field
:
'loanPlatform.name'
,
field
:
'loanPlatform.name'
,
title
:
'借款平台'
,
title
:
'借款平台'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
{
{
field
:
'commissionAmount'
,
field
:
'commissionAmount'
,
title
:
'委案金额'
,
title
:
'委案金额'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
{
{
field
:
'sumReductionAmount'
,
field
:
'sumReductionAmount'
,
title
:
'累计减免金额'
,
title
:
'累计减免金额'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
{
{
field
:
'sumRepayAmount'
,
field
:
'sumRepayAmount'
,
title
:
'累计还款金额'
,
title
:
'累计还款金额'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
{
{
field
:
'remainingAmount'
,
field
:
'remainingAmount'
,
title
:
'剩余待还金额'
,
title
:
'剩余待还金额'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
],
],
...
...
src/views/property/case-detail/components/reduceDrawer.vue
View file @
b28dede8
...
@@ -2,12 +2,13 @@
...
@@ -2,12 +2,13 @@
<el-drawer
<el-drawer
v-model=
"showModal"
v-model=
"showModal"
title=
"减免申请"
title=
"减免申请"
class=
"overflow-hidden1"
:size=
"800"
:size=
"800"
@
close=
"showModal = false"
@
close=
"showModal = false"
direction=
"rtl"
direction=
"rtl"
:before-close=
"onHide"
:before-close=
"onHide"
>
>
<div
class=
"h-full overflow-
auto
flex-col flex mydrawer"
>
<div
class=
"h-full overflow-
hidden
flex-col flex mydrawer"
>
<el-form
<el-form
ref=
"formRef"
ref=
"formRef"
inline
inline
...
@@ -17,6 +18,16 @@
...
@@ -17,6 +18,16 @@
label-position=
"left"
label-position=
"left"
>
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
class=
"w-full"
label=
"姓名:"
prop=
"name"
label-width=
"120px"
>
{{
currentDetail
?.
borrower
?.
name
}}
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
class=
"w-full"
label=
"证件号:"
prop=
"name"
label-width=
"120px"
>
{{
currentDetail
?.
borrower
?.
idCard
}}
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
class=
"w-full"
label=
"减免截止时间:"
prop=
"code"
>
<el-form-item
class=
"w-full"
label=
"减免截止时间:"
prop=
"code"
>
<el-date-picker
v-model=
"form.applyDate"
type=
"datetime"
/>
<el-date-picker
v-model=
"form.applyDate"
type=
"datetime"
/>
...
@@ -37,6 +48,21 @@
...
@@ -37,6 +48,21 @@
form
.
totalNumber
form
.
totalNumber
}}
</el-form-item>
}}
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
class=
"w-full"
label=
"减免原因:"
prop=
"code"
>
<el-input
v-model=
"form.reason"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
class=
"w-full"
label=
"委案金额:"
prop=
"relation"
>
{{
form
.
commissionAmount
}}
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
class=
"w-full"
label=
"备注:"
prop=
"code"
>
<el-input
v-model=
"form.remark"
/>
</el-form-item>
</el-col>
<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>
...
@@ -149,7 +175,10 @@
...
@@ -149,7 +175,10 @@
totalNumber
:
''
,
totalNumber
:
''
,
images
:
[],
images
:
[],
reduceType
:
'settle'
,
reduceType
:
'settle'
,
reason
:
''
,
remark
:
''
,
remainingAmount
:
0
,
remainingAmount
:
0
,
commissionAmount
:
0
,
applyDate
:
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
applyDate
:
dayjs
().
format
(
'YYYY-MM-DD HH:mm:ss'
),
});
});
const
props
=
defineProps
({
const
props
=
defineProps
({
...
@@ -161,6 +190,7 @@
...
@@ -161,6 +190,7 @@
form
.
totalNumber
=
row
.
records
.
length
;
form
.
totalNumber
=
row
.
records
.
length
;
form
.
totalReduceAmount
=
0
;
form
.
totalReduceAmount
=
0
;
form
.
remainingAmount
=
0
;
form
.
remainingAmount
=
0
;
form
[
'commissionAmount'
]
=
0
selectdList
.
value
.
forEach
((
item
)
=>
{
selectdList
.
value
.
forEach
((
item
)
=>
{
form
.
totalReduceAmount
=
Decimal
(
form
.
totalReduceAmount
).
add
(
form
.
totalReduceAmount
=
Decimal
(
form
.
totalReduceAmount
).
add
(
Decimal
(
Number
(
item
.
reduceAmount
)
||
0
)
Decimal
(
Number
(
item
.
reduceAmount
)
||
0
)
...
@@ -168,6 +198,7 @@
...
@@ -168,6 +198,7 @@
form
.
remainingAmount
=
Decimal
(
form
.
remainingAmount
).
add
(
form
.
remainingAmount
=
Decimal
(
form
.
remainingAmount
).
add
(
Decimal
(
Number
(
item
.
payAmount
)
||
0
)
Decimal
(
Number
(
item
.
payAmount
)
||
0
)
);
);
form
[
'commissionAmount'
]
=
Decimal
(
form
[
'commissionAmount'
]).
add
(
Decimal
(
item
?.
loan
?.
commissionAmount
))
});
});
};
};
const
handlePictureCardPreview
=
(
uploadFile
)
=>
{
const
handlePictureCardPreview
=
(
uploadFile
)
=>
{
...
@@ -176,7 +207,6 @@
...
@@ -176,7 +207,6 @@
};
};
// 判断文件类型,图片预览,文件下载
// 判断文件类型,图片预览,文件下载
const
updataIf
=
(
e
)
=>
{
const
updataIf
=
(
e
)
=>
{
console
.
log
(
'eeee'
,
e
)
if
(
e
.
fileName
)
{
if
(
e
.
fileName
)
{
if
(
e
.
fileName
.
split
(
'.'
)[
1
]
===
'png'
||
e
.
fileName
.
split
(
'.'
)[
1
]
===
'jpeg'
||
e
.
fileName
.
split
(
'.'
)[
1
]
===
'jpg'
)
{
if
(
e
.
fileName
.
split
(
'.'
)[
1
]
===
'png'
||
e
.
fileName
.
split
(
'.'
)[
1
]
===
'jpeg'
||
e
.
fileName
.
split
(
'.'
)[
1
]
===
'jpg'
)
{
return
false
return
false
...
@@ -218,6 +248,7 @@
...
@@ -218,6 +248,7 @@
}
}
form
.
totalReduceAmount
=
0
;
form
.
totalReduceAmount
=
0
;
form
.
remainingAmount
=
0
;
form
.
remainingAmount
=
0
;
form
.
commissionAmount
=
0
;
selectdList
.
value
.
forEach
((
item
)
=>
{
selectdList
.
value
.
forEach
((
item
)
=>
{
form
.
totalReduceAmount
=
Decimal
(
form
.
totalReduceAmount
).
add
(
form
.
totalReduceAmount
=
Decimal
(
form
.
totalReduceAmount
).
add
(
Decimal
(
Number
(
item
.
reduceAmount
)
||
0
)
Decimal
(
Number
(
item
.
reduceAmount
)
||
0
)
...
@@ -225,6 +256,7 @@
...
@@ -225,6 +256,7 @@
form
.
remainingAmount
=
Decimal
(
form
.
remainingAmount
).
add
(
form
.
remainingAmount
=
Decimal
(
form
.
remainingAmount
).
add
(
Decimal
(
Number
(
item
.
payAmount
)
||
0
)
Decimal
(
Number
(
item
.
payAmount
)
||
0
)
);
);
form
[
'commissionAmount'
]
=
Decimal
(
form
[
'commissionAmount'
]).
add
(
Decimal
(
item
?.
loan
?.
commissionAmount
))
});
});
};
};
const
currentDetail
=
ref
({});
const
currentDetail
=
ref
({});
...
@@ -264,7 +296,7 @@
...
@@ -264,7 +296,7 @@
field
:
'mergerCase'
,
field
:
'mergerCase'
,
title
:
'是否共案处理'
,
title
:
'是否共案处理'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
1
0
0
,
width
:
1
2
0
,
slots
:
{
slots
:
{
default
:
({
row
})
=>
{
default
:
({
row
})
=>
{
return
<
ElTag
>
{
row
.
loan
.
mergerCase
==
'Y'
?
'是'
:
'否'
}
<
/ElTag>
;
return
<
ElTag
>
{
row
.
loan
.
mergerCase
==
'Y'
?
'是'
:
'否'
}
<
/ElTag>
;
...
@@ -351,6 +383,9 @@
...
@@ -351,6 +383,9 @@
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
.
commissionAmount
=
0
;
form
.
remark
=
''
form
.
reason
=
''
form
.
remainingAmount
=
0
;
form
.
remainingAmount
=
0
;
const
list
=
[];
const
list
=
[];
form
.
images
=
[];
form
.
images
=
[];
...
@@ -361,6 +396,7 @@
...
@@ -361,6 +396,7 @@
form
.
totalReduceAmount
=
Decimal
(
form
.
totalReduceAmount
).
add
(
form
.
totalReduceAmount
=
Decimal
(
form
.
totalReduceAmount
).
add
(
Decimal
(
Number
(
item
.
reduceAmount
)
||
0
)
Decimal
(
Number
(
item
.
reduceAmount
)
||
0
)
);
);
form
[
'commissionAmount'
]
=
Decimal
(
form
[
'commissionAmount'
]).
add
(
Decimal
(
item
.
commissionAmount
))
form
.
remainingAmount
=
Decimal
(
form
.
remainingAmount
).
add
(
Decimal
(
payAmount
));
form
.
remainingAmount
=
Decimal
(
form
.
remainingAmount
).
add
(
Decimal
(
payAmount
));
});
});
tabledata
.
value
=
list
;
tabledata
.
value
=
list
;
...
@@ -428,4 +464,4 @@
...
@@ -428,4 +464,4 @@
font-size
:
12px
;
font-size
:
12px
;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/property/case-detail/components/returnModal.vue
View file @
b28dede8
...
@@ -216,19 +216,18 @@
...
@@ -216,19 +216,18 @@
});
});
const
radio
=
ref
(
0
);
const
radio
=
ref
(
0
);
const
validaterealRepayAmount
=
(
rule
,
value
,
callback
)
=>
{
const
validaterealRepayAmount
=
(
rule
,
value
,
callback
)
=>
{
if
(
if
(
currentType
.
value
===
'结清减免还款'
&&
Number
(
value
)
!==
Number
(
Decimal
(
currentInfo
.
value
.
remainingAmount
).
sub
(
currentInfo
.
value
.
totalReduceAmount
))
&&
Number
(
value
)
!==
Number
(
Decimal
(
currentInfo
.
value
.
remainingAmount
).
sub
(
currentInfo
.
value
.
totalReduceAmount
))
currentType
.
value
===
'结清减免还款'
)
{
)
{
callback
(
new
Error
(
'*金额必须等于应还金额'
));
callback
(
new
Error
(
'*金额必须等于应还金额'
));
}
else
if
(
}
else
if
(
Number
(
value
)
>
Number
(
currentInfo
.
value
.
remainingAmount
)
&&
currentType
.
value
===
'直接还款'
&&
currentType
.
value
===
'直接还款'
Number
(
value
)
>
Number
(
currentInfo
.
value
.
remainingAmount
)
)
{
)
{
callback
(
new
Error
(
'*金额必须小于应还金额'
));
callback
(
new
Error
(
'*金额必须小于应还金额'
));
}
else
if
(
}
else
if
(
Number
(
value
)
!==
Number
(
currentInfo
.
value
.
applyAmount
)
&&
currentType
.
value
===
'分期还款'
&&
currentType
.
value
===
'分期还款'
Number
(
value
)
!==
Number
(
currentInfo
.
value
.
applyAmount
)
)
{
)
{
callback
(
new
Error
(
'*金额必须等于应还金额'
));
callback
(
new
Error
(
'*金额必须等于应还金额'
));
}
else
{
}
else
{
...
...
src/views/property/case-detail/components/splitDrawer.vue
View file @
b28dede8
...
@@ -425,31 +425,37 @@
...
@@ -425,31 +425,37 @@
{
{
field
:
'product'
,
field
:
'product'
,
title
:
'产品'
,
title
:
'产品'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
{
{
field
:
'loanPlatform.name'
,
field
:
'loanPlatform.name'
,
title
:
'借款平台'
,
title
:
'借款平台'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
{
{
field
:
'commissionAmount'
,
field
:
'commissionAmount'
,
title
:
'委案金额'
,
title
:
'委案金额'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
{
{
field
:
'sumReductionAmount'
,
field
:
'sumReductionAmount'
,
title
:
'累计减免金额'
,
title
:
'累计减免金额'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
{
{
field
:
'sumRepayAmount'
,
field
:
'sumRepayAmount'
,
title
:
'累计还款金额'
,
title
:
'累计还款金额'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
{
{
field
:
'remainingAmount'
,
field
:
'remainingAmount'
,
title
:
'剩余待还金额'
,
title
:
'剩余待还金额'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
],
],
...
...
src/views/property/import/index.vue
View file @
b28dede8
...
@@ -259,15 +259,6 @@
...
@@ -259,15 +259,6 @@
},
},
},
},
},
},
{
field
:
'code'
,
title
:
'资产类型'
,
enum
:
options
,
width
:
100
,
showOverflow
:
'tooltip'
,
search
:
{
el
:
'select'
,
props
:
{
filterable
:
true
}
},
fieldNames
:
{
label
:
'genderLabel'
,
value
:
'genderValue'
},
},
{
{
field
:
'totalCaseNum'
,
field
:
'totalCaseNum'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
...
...
src/views/property/repair-manage/index.vue
View file @
b28dede8
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
import
{
getTenantPage
}
from
'@/api/tenant'
;
import
{
getTenantPage
}
from
'@/api/tenant'
;
import
citydata
from
'../../../assets/citydata'
;
import
citydata
from
'../../../assets/citydata'
;
import
{
getPlatformPage
}
from
'@/api/platform'
;
import
{
getPlatformPage
}
from
'@/api/platform'
;
import
{
VxeTextEllipsis
,
VxeTooltip
}
from
'vxe-pc-ui'
;
const
uploadRef
=
ref
();
const
uploadRef
=
ref
();
...
@@ -160,6 +161,7 @@
...
@@ -160,6 +161,7 @@
{
{
field
:
'loanPlatform.name'
,
field
:
'loanPlatform.name'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
visible
:
false
,
enum
:
()
=>
getPlatformPage
({
current
:
1
,
size
:
999999999
,
status
:
'enable'
}),
enum
:
()
=>
getPlatformPage
({
current
:
1
,
size
:
999999999
,
status
:
'enable'
}),
search
:
{
el
:
'select'
,
props
:
{
filterable
:
true
},
key
:
'loanPlatform'
,
labelWidth
:
105
},
search
:
{
el
:
'select'
,
props
:
{
filterable
:
true
},
key
:
'loanPlatform'
,
labelWidth
:
105
},
fieldNames
:
{
label
:
'name'
,
value
:
'id'
},
fieldNames
:
{
label
:
'name'
,
value
:
'id'
},
...
@@ -169,6 +171,7 @@
...
@@ -169,6 +171,7 @@
{
{
field
:
'commissionAmount'
,
field
:
'commissionAmount'
,
title
:
'委案金额'
,
title
:
'委案金额'
,
visible
:
false
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
80
,
width
:
80
,
search
:
{
render
:
({
searchParam
})
=>
{
search
:
{
render
:
({
searchParam
})
=>
{
...
@@ -182,7 +185,7 @@
...
@@ -182,7 +185,7 @@
},
props
:
{
clearable
:
true
},
labelWidth
:
105
},
},
props
:
{
clearable
:
true
},
labelWidth
:
105
},
},
},
{
{
field
:
'age'
,
field
:
'
borrower.
age'
,
title
:
'年龄'
,
title
:
'年龄'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
80
,
width
:
80
,
...
@@ -231,6 +234,7 @@
...
@@ -231,6 +234,7 @@
title
:
'时间'
,
title
:
'时间'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
130
,
width
:
130
,
visible
:
false
,
search
:
{
search
:
{
el
:
'date-picker'
,
el
:
'date-picker'
,
props
:
{
type
:
'daterange'
,
valueFormat
:
'YYYY-MM-DD'
},
props
:
{
type
:
'daterange'
,
valueFormat
:
'YYYY-MM-DD'
},
...
@@ -249,18 +253,6 @@
...
@@ -249,18 +253,6 @@
// labelWidth: 105,
// labelWidth: 105,
// },
// },
},
},
{
field
:
'newName'
,
title
:
'联系人姓名'
,
showOverflow
:
'tooltip'
,
width
:
140
,
search
:
{
el
:
'input'
,
props
:
{
clearable
:
true
},
key
:
'name'
,
labelWidth
:
105
,
},
},
{
{
field
:
'oldPhone'
,
field
:
'oldPhone'
,
title
:
'修复前联系方式'
,
title
:
'修复前联系方式'
,
...
@@ -299,19 +291,19 @@
...
@@ -299,19 +291,19 @@
);
);
},
},
},
},
{
//
{
title
:
'CPE'
,
//
title: 'CPE',
showOverflow
:
'tooltip'
,
//
showOverflow: 'tooltip',
width
:
60
,
//
width: 60,
slots
:
{
//
slots: {
default
:
({
row
})
=>
{
//
default: ({ row }) => {
return
(
//
return (
<>
{
row
.
cpe
?.
username
}
<
/
>
//
<>
{
row
.
cpe
?.
username
}
<
/
>
);
//
);
},
//
},
},
//
},
search
:
{
el
:
'input'
,
props
:
{
clearable
:
true
},
key
:
'cpeName'
,
labelWidth
:
105
},
//
search: { el: 'input', props: { clearable: true }, key: 'cpeName', labelWidth: 105 },
},
//
},
{
{
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
slots
:
{
slots
:
{
...
...
src/views/workplace/audit/components/callDrawer.vue
View file @
b28dede8
...
@@ -256,7 +256,7 @@
...
@@ -256,7 +256,7 @@
import
dayjs
from
'dayjs'
;
import
dayjs
from
'dayjs'
;
import
{
computed
,
inject
}
from
'vue'
;
import
{
computed
,
inject
}
from
'vue'
;
import
{
reactive
,
ref
}
from
'vue'
;
import
{
reactive
,
ref
}
from
'vue'
;
import
{
ElInputNumber
,
ElMessage
}
from
'element-plus'
;
import
{
ElInputNumber
,
ElMessage
,
ElTag
}
from
'element-plus'
;
import
{
Upload
,
Download
}
from
'@element-plus/icons-vue'
;
import
{
Upload
,
Download
}
from
'@element-plus/icons-vue'
;
import
{
getAppEnvConfig
}
from
'@/utils/env'
;
import
{
getAppEnvConfig
}
from
'@/utils/env'
;
import
{
saveTrackRecord
}
from
'@/api/property'
;
import
{
saveTrackRecord
}
from
'@/api/property'
;
...
@@ -433,34 +433,51 @@
...
@@ -433,34 +433,51 @@
},
},
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
},
},
{
field
:
'mergerCase'
,
title
:
'是否共案处理'
,
showOverflow
:
'tooltip'
,
width
:
120
,
slots
:
{
default
:
({
row
})
=>
{
return
<
ElTag
>
{
row
.
mergerCase
==
'Y'
?
'是'
:
'否'
}
<
/ElTag>
;
},
},
},
{
{
field
:
'product'
,
field
:
'product'
,
width
:
120
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
title
:
'产品'
,
title
:
'产品'
,
},
},
{
{
field
:
'loanPlatform.name'
,
field
:
'loanPlatform.name'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
120
,
title
:
'借款平台'
,
title
:
'借款平台'
,
},
},
{
{
field
:
'commissionAmount'
,
field
:
'commissionAmount'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
120
,
title
:
'委案金额'
,
title
:
'委案金额'
,
},
},
{
{
field
:
'sumReductionAmount'
,
field
:
'sumReductionAmount'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
120
,
title
:
'累计减免金额'
,
title
:
'累计减免金额'
,
},
},
{
{
field
:
'sumRepayAmount'
,
field
:
'sumRepayAmount'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
120
,
title
:
'累计还款金额'
,
title
:
'累计还款金额'
,
},
},
{
{
field
:
'remainingAmount'
,
field
:
'remainingAmount'
,
showOverflow
:
'tooltip'
,
showOverflow
:
'tooltip'
,
width
:
120
,
title
:
'剩余待还金额'
,
title
:
'剩余待还金额'
,
},
},
],
],
...
...
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