fix: 加料库存状态展示实际库存数量
This commit is contained in:
@@ -35,7 +35,7 @@ function getRuleText() {
|
||||
}
|
||||
|
||||
function getStockText(stock: number) {
|
||||
return stock <= 20 ? '偏少' : '充足';
|
||||
return stock <= 20 ? `偏少(${stock})` : `充足(${stock})`;
|
||||
}
|
||||
|
||||
function getStockClass(stock: number) {
|
||||
|
||||
Reference in New Issue
Block a user