优化
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user