This commit is contained in:
mazengfei
2026-01-15 10:28:26 +08:00
parent 196cacfe5a
commit cc22921e3e
3 changed files with 2 additions and 2 deletions
@@ -128,7 +128,7 @@ data class SearchGoodsInfo(
val defZero = 0.toDouble()
val num = when (purchaseUnitName) {
"千克", "公斤" -> 2
"" -> 1
"" -> 2
else -> 0
}
if (purchaseValue == null || purchaseValue == defZero || consumeValue.isNullOrBlank()) {