Commit c22f5fa6 by zhangxw

bug修复

1 parent a5b91cca
......@@ -110,7 +110,7 @@ export const handleGradeData = (dataFromApi, salePeriodList = []) => {
_gradeObj.gradeConfigList.push({
maxPrice: NP.divide(maxPrice || 0, 1000000),
minPrice: NP.divide(minPrice || 0, 1000000),
priceCoefficient,
priceCoefficient: priceCoefficient.toFixed(16).replace(/\.?0+$/, ''),
computeFlag,
id
})
......@@ -126,7 +126,7 @@ export const handleGradeData = (dataFromApi, salePeriodList = []) => {
let arr = []
salePeriodList?.forEach(it => {
let _obj = gradeConfigList.find(o => o.servicePeriod == it && NP.divide(o.minPrice || 0, 1000000) == item.minPrice && NP.divide(o.maxPrice || 0, 1000000) == item.maxPrice)
arr.push({ id: _obj?.id, servicePeriod: it, shelfCost: _obj?.shelfCost, salesCost: _obj?.salesCost })
arr.push({ id: _obj?.id, servicePeriod: it, shelfCost: _obj?.shelfCost.toFixed(16).replace(/\.?0+$/, ''), salesCost: _obj?.salesCost.toFixed(16).replace(/\.?0+$/, '') })
})
item.childSalePeriodData = arr
})
......
......@@ -26,6 +26,10 @@
{{ item.content }}
</el-timeline-item>
</el-timeline>
<div class="noData" v-if="operationRecordData.length == 0">
<img class="noDataImg" :src="url" v-if="url" alt="" />
<div>暂无数据</div>
</div>
</div>
</GLDialog>
</div>
......@@ -34,11 +38,13 @@
<script>
import * as dayjs from 'dayjs'
import utils from '../../util/util'
import url from '@/assets/empty.png'
export default {
name: 'equityList',
components: {},
data() {
return {
url,
isdestroy: true,
size: 'small',
buttonList: [
......@@ -344,5 +350,12 @@ export default {
background: #5850ff !important;
}
}
.noData{
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
padding: 104px;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!