Browse Source

update

master
wanggang 1 year ago
parent
commit
c5d72b9e11
  1. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/table/index.js

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/table/index.js

@ -18,7 +18,7 @@ export default {
</template>
</template>
<div class="cell el-table__cell" :class="key" v-else-if="!item.hidden">
<div class="cell">{{item.title}} <template v-if="data.length&&item.reduce">:{{data.map(o=>o[key]).reduce(item.reduce)}}</template></div>
<div class="cell">{{item.title}} <template v-if="data.length&&item.reduce">:{{Math.round(100*data.map(o=>o[key]).reduce(item.reduce))/100}}</template></div>
</div>
</template>
</div>

Loading…
Cancel
Save