供应统计报表

This commit is contained in:
bb_pan 2025-08-24 19:44:26 +08:00
parent 2c8f2dfa30
commit 3226b3ce4f
1 changed files with 3 additions and 3 deletions

View File

@ -79,12 +79,12 @@
<el-table-column label="总保有量" align="center" prop="allNum" :show-overflow-tooltip="true" />
<el-table-column label="总在用工程明细" align="center" prop="allUsNum" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span v-if="scope.row.usNum > 0" class="clickText" @click="openUserRecords(scope.row)">
{{ scope.row.usNum }}
<span v-if="scope.row.allUsNum > 0" class="clickText" @click="openUserRecords(scope.row)">
{{ scope.row.allUsNum }}
</span>
<!-- 否则直接显示数字 -->
<span v-else>
{{ scope.row.usNum }}
{{ scope.row.allUsNum }}
</span>
</template>
</el-table-column>