rev:1、盘点单不能查询管控库存2、报表幅宽小数点保留1位数

This commit is contained in:
2025-05-12 16:15:05 +08:00
parent 1fc76a5042
commit e4ecd9dd34
4 changed files with 12 additions and 2 deletions

View File

@@ -169,6 +169,15 @@ function CRUD(options) {
}
return parseFloat(row[column.property]).toFixed(0)
},
/**
* 格式化数据保留1位小数
*/
formatNum1(row, column) {
if (!row[column.property]) {
return 0
}
return parseFloat(row[column.property]).toFixed(1)
},
/**
* 格式化数据保留2位小数
*/