fix:修复

20240912_adapter
chenhc 3 months ago
parent 85ec2acc29
commit bee12ef67e

@ -27,14 +27,14 @@
<el-card class="slot-card"> <el-card class="slot-card">
<p style="font-size: 12px;fontWeight: bold">{{ slot.name }}</p> <p style="font-size: 12px;fontWeight: bold">{{ slot.name }}</p>
<span :style="{ <span :style="{
color: slot.reCount <= 0? 'red': slot.reCount <= slot.remindCount?'orange':'green' , color: slot.reCount <= 0 ?'orange':'green' ,
fontSize: '12px', fontSize: '12px',
fontWeight: 'bold', fontWeight: 'bold',
position: 'absolute', position: 'absolute',
bottom: 0, bottom: 0,
right: 0, right: 0,
margin: '10px' margin: '10px'
}">{{ slot.reCount <= 0? '无库存': slot.reCount <= slot.remindCount?'低库存':'正常' }} }">{{ slot.reCount <= 0 ?'低库存':'正常' }}
</span> </span>
</el-card> </el-card>
</div> </div>

Loading…
Cancel
Save