|
@@ -108,6 +108,7 @@ class EquipDetailVM(
|
|
|
when {
|
|
|
info.dataType.equals("BOOLEAN") -> {
|
|
|
if (CommonUtils.IsNull(info.options)) {
|
|
|
+ info.options = ArrayList()
|
|
|
info.options.add(Options("off", "否"))
|
|
|
info.options.add(Options("on", "是"))
|
|
|
}
|
|
@@ -122,7 +123,7 @@ class EquipDetailVM(
|
|
|
info.inputType = "double"
|
|
|
}
|
|
|
info.dataType.equals("INTEGER") -> {
|
|
|
- info.inputType = "setpper"
|
|
|
+ info.inputType = "text"
|
|
|
}
|
|
|
else -> {
|
|
|
info.inputType = "text"
|