添加净值率判断
This commit is contained in:
@@ -85,10 +85,10 @@ data class GoodsAddParam(
|
||||
|
||||
val netRateStr: String
|
||||
get() {
|
||||
if (netRate == null || netRate == 0f) {
|
||||
return ""
|
||||
return if (netRate == null || netRate == 0f) {
|
||||
""
|
||||
} else {
|
||||
return netRate!!.toFormattedString()
|
||||
netRate!!.toFormattedString(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user