feat:增加金钱验证类型和输入框
This commit is contained in:
parent
5e713b7fc2
commit
ebeab9658f
@ -9,6 +9,7 @@ import com.flyfish.framework.domain.base.Qo;
|
||||
import com.flyfish.framework.domain.base.Vo;
|
||||
import com.flyfish.framework.utils.ReflectionUtils;
|
||||
import com.flyfish.framework.utils.StringFormats;
|
||||
import com.flyfish.framework.validation.annotations.Money;
|
||||
import lombok.Data;
|
||||
import lombok.val;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
@ -182,6 +183,13 @@ public class BeanProperty {
|
||||
}
|
||||
}
|
||||
break;
|
||||
case NUMBER:
|
||||
if (null != field) {
|
||||
if (annotations.isPresent(Money.class) && !property.extra.containsKey("component")) {
|
||||
property.extra.put("component", "money-input");
|
||||
}
|
||||
}
|
||||
break;
|
||||
case LIST:
|
||||
if (null != field) {
|
||||
// 是附件,展现附件列表
|
||||
|
Loading…
Reference in New Issue
Block a user