|
|
@@ -102,7 +102,8 @@
|
|
|
<el-table-column prop="rightsCount" label="发放数量" align="center"></el-table-column>
|
|
|
<el-table-column prop="packagePrice" label="总价" align="center">
|
|
|
<template #default="scope">
|
|
|
- <div>{{ new Decimal(scope.row.packagePrice || scope.row.contractRate).times(scope.row.rightsCount).toFixed(2) }}
|
|
|
+ <div>{{ new Decimal(scope.row.packagePrice ||
|
|
|
+ scope.row.contractRate).times(scope.row.rightsCount).toFixed(2) }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -124,7 +125,8 @@
|
|
|
</div>
|
|
|
<div class="totalItem">
|
|
|
<span>剩余金额:</span>
|
|
|
- <span style="color: #FF8C21">{{ EquitiesInfo?.insFeeOrders?.remainingAmount || 0 }}</span>
|
|
|
+ <span style="color: #FF8C21">{{
|
|
|
+ new Decimal(EquitiesInfo?.insFeeOrders?.availableAmount ?? 0).minus(totalPriceCount) }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -365,7 +367,7 @@ const handleSubmit = (bool) => {
|
|
|
totalPriceCount: totalPriceCount.value
|
|
|
})
|
|
|
}).finally(() => (loading.value = false, emit('initDetail')))
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
ElMessage({
|
|
|
message: res1.msg,
|
|
|
type: 'warning'
|