4/3 代码优化1.0

dev2.5_scan
wangwei 3 months ago
parent f1178e4472
commit 40e77ece8e

@ -24,13 +24,13 @@
<div class="table-cell count">{{ scope.row.count }}</div> <div class="table-cell count">{{ scope.row.count }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="应扫码数量" prop="scanActCount" :min-width="120" width="180"> <el-table-column label="应扫码数量" prop="scanActCount" :min-width="120" width="200">
<template v-slot="scope"> <template v-slot="scope">
<div v-if="scope.row.autoTagStatus === 2" class="table-cell warning"> <div v-if="scope.row.autoTagStatus === 2" class="table-cell warning">
无需扫码 无需扫码
</div> </div>
<div v-else :class="getScanCountClass(scope.row)" class="table-cell"> <div v-else :class="getScanCountClass(scope.row)" class="table-cell">
{{ scope.row.scanCount }}/200 {{ scope.row.scanCount }}/{{ scope.row.shouldCount }}
</div> </div>
</template> </template>
</el-table-column> </el-table-column>

Loading…
Cancel
Save