Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amount组件能否支持数字为负数 #510

Closed
zhixinpeng opened this issue Jul 24, 2019 · 2 comments
Closed

Amount组件能否支持数字为负数 #510

zhixinpeng opened this issue Jul 24, 2019 · 2 comments
Assignees
Labels
optimizing Optimize performance or experience

Comments

@zhixinpeng
Copy link

Recurring Steps

显示金融大写中文,设置值为负数时

Expectant Behaviors

显示完整的字段,比如 负壹仟壹佰

Actual Behaviors

只会显示小数点后面的几位

@xxyan0205
Copy link
Collaborator

是什么使用场景?目前大写数字一般是用于一些票据上金额的大写

@zhixinpeng
Copy link
Author

首先我们公司这个需求确实很奇怪,就是把输入金额数字转化为大写中文。而不是用在票据上。且不说是否应该显示负数,传入负数时,大写中文只显示小数点后面几位也有些奇怪。这边你们可以实现一下大写负,或者对负数做一下处理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimizing Optimize performance or experience
Projects
None yet
Development

No branches or pull requests

2 participants