feat(inject): 实现库存数量小于等于0时红色闪烁提醒- 在 main.css 中添加了 flashOpacity 动画样式
- 在 inject.js 中实现了 rowClassName 方法,为符合条件的行添加 flash-opacity 类 - 在多个 Vue 组件中为库存数量列添加了 flash: 1 属性,以触发闪烁效果
This commit is contained in:
@@ -9,7 +9,7 @@ export default {
|
||||
{label: "重点单品", prop: "goodsName"},
|
||||
{label: "当日目标", prop: "targetNum", width: 70},
|
||||
{label: "销售数量", prop: "saleNum", width: 70},
|
||||
{label: "库存数量", prop: "stockNum", width: 70},
|
||||
{label: "库存数量", prop: "stockNum", width: 70, flash: 1},
|
||||
{label: "预计销售数量", prop: "preSaleNum", width: 70},
|
||||
{label: "提醒", custom: 1, width: 70, align: 'center', prop: "remind"},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user