Commit fe393efb authored by 沈翠玲's avatar 沈翠玲

还款审批bug修复

parent e76b0003
...@@ -312,6 +312,7 @@ ...@@ -312,6 +312,7 @@
repayStatus: 'pending', repayStatus: 'pending',
applyAmount: Decimal(form.totalRepayAmount).sub(Decimal(other)), applyAmount: Decimal(form.totalRepayAmount).sub(Decimal(other)),
}); });
splitdata.value[i]['applyAmount'] = Decimal(form.totalRepayAmount).sub(Decimal(other))
} else { } else {
list.push({ list.push({
period: i + 1, period: i + 1,
...@@ -319,9 +320,10 @@ ...@@ -319,9 +320,10 @@
repayStatus: 'pending', repayStatus: 'pending',
applyAmount: crash, applyAmount: crash,
}); });
splitdata.value[i]['applyAmount'] = crash
} }
} }
splitdata.value = list; splitdata.value = splitdata.value;
}; };
const options = ref([ const options = ref([
]); ]);
...@@ -495,6 +497,10 @@ ...@@ -495,6 +497,10 @@
console.log('currentDetail', currentDetail.value, caselist); console.log('currentDetail', currentDetail.value, caselist);
form.totalRepayAmount = 0; form.totalRepayAmount = 0;
form.images = []; form.images = [];
form.totalPeriod = detail.totalPeriod
form.applyDate = detail.applyDate
form.firstApplyDate = detail.firstApplyDate
form.effectiveTime = detail.effectiveTime
mypictureRef.value?.clearFiles() mypictureRef.value?.clearFiles()
form.remainingAmount = 0; form.remainingAmount = 0;
form.images = detail.images form.images = detail.images
......
...@@ -552,6 +552,7 @@ ...@@ -552,6 +552,7 @@
// 去除分页控件,toolbar控件 // 去除分页控件,toolbar控件
return { return {
height: 'auto', height: 'auto',
'min-height': 'auto',
toolbarConfig: { enabled: false }, toolbarConfig: { enabled: false },
columns: [ columns: [
{ type: 'seq', width: 50, title: '序号' }, { type: 'seq', width: 50, title: '序号' },
...@@ -680,7 +681,7 @@ ...@@ -680,7 +681,7 @@
.Content { .Content {
height: calc(100% - 50px); height: calc(100% - 50px);
.idea-box { .idea-box {
height: calc(100% - 24px); height: calc(100% - 100px);
display: flex; display: flex;
} }
.left-idea { .left-idea {
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
</div> </div>
<div class="number-right"> <div class="number-right">
<p>预计收回金额</p> <p>预计收回金额</p>
<p>¥{{ statisis.unAmount }}</p> <p>¥{{ statisis1.unAmount }}</p>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
</div> </div>
<div class="number-right"> <div class="number-right">
<p>预计收回金额</p> <p>预计收回金额</p>
<p>¥{{ statisis.unAmount }}</p> <p>¥{{ statisis1.unAmount }}</p>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment