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

fix(mis): 计费调整精确到分 #1236

Merged
merged 3 commits into from
May 6, 2024
Merged

Conversation

cuvalign
Copy link
Contributor

@cuvalign cuvalign commented May 1, 2024

涉及到金额的显示页面,全部只展示到分,涉及到金额的输入页面,全部限制为只允许输入精确到分。涉及到金额的导出,也全部只展示到分。

  1. 仪表盘:
    a. 账户信息:“可用余额”;
  2. 用户空间:
    a. 已结束的作业: “作业计费合计”、“作业计费”、“详情-作业计费”;
    b. 集群和分区信息:“单价”;
    c. 操作日志中,操作内容相关;
  3. 账户管理:
    a. 账户信息:“账户余额”、“封锁阈值”;
    b. 已结束的作业: “作业计费合计”、“作业计费”、“详情-作业计费”;
    c. 用户管理:“已用额度/用户限额”、“限额管理-当前已使用/总限额”、“限额管理-修改限额至”;
    d. 充值记录:“合计”、“交费金额”;
    e. 消费记录:“合计”、“扣费金额”;
  4. 租户管理
    a. 租户信息:“租户余额”、“默认账户封锁阈值”、“设置默认账户封锁阈值”;
    b. 作业价格表: “单价(元)”、“设置计费价格-单价(元)”;
    c. 已结束的作业:“租户计费"、"平台计费”、详情中的“租户计费"、"平台计费”、“租户计费合计”、“平台计费合计”;
    d. 账户列表中所有金额相关;
    e. 白名单账户列表所有金额相关;
    f. 账户充值限制只能充值金额精确到分;
    g. 账户充值记录、租户充值记录、账户消费记录、操作日志所有金额相关;
  5. 平台管理:
    a. 作业计费价格表、租户列表、账户列表所有金额相关;
    b. 充值记录、账户消费记录、操作日志所有金额相关;
    c. 平台数据统计:消费列,金额显示精确到分:消费/充值金额,可视图表金额显示精确到分,坐标轴动态tick动态精确到分。

Copy link

changeset-bot bot commented May 1, 2024

⚠️ No Changeset found

Latest commit: 8d7cbad

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkuhpc-review-bot pkuhpc-review-bot bot added the Code-ReviewRequested Code Review Requested label May 1, 2024
@pkuhpc-review-bot pkuhpc-review-bot bot requested a review from ddadaal May 1, 2024 01:19
Copy link
Member

@ddadaal ddadaal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style是用于代码风格、不涉及功能的,这个就是一个正常的fix

apps/mis-web/src/pageComponents/admin/DataBarChart.tsx Outdated Show resolved Hide resolved
apps/mis-web/src/pageComponents/admin/DataBarChart.tsx Outdated Show resolved Hide resolved
@pkuhpc-review-bot pkuhpc-review-bot bot added Code-ChangeRequested and removed Code-ReviewRequested Code Review Requested labels May 5, 2024
@cuvalign cuvalign changed the title style(mis): 计费调整精确到分 fix(mis): 计费调整精确到分 May 6, 2024
@cuvalign cuvalign requested a review from ddadaal May 6, 2024 02:53
@pkuhpc-review-bot pkuhpc-review-bot bot added Code-ReviewRequested Code Review Requested and removed Code-ChangeRequested labels May 6, 2024
@pkuhpc-review-bot pkuhpc-review-bot bot added Code-Approved Code Review approved ReadyForMerge Ready for merge and removed Code-ReviewRequested Code Review Requested labels May 6, 2024
@ddadaal ddadaal merged commit 5a8a09a into master May 6, 2024
9 checks passed
@ddadaal ddadaal deleted the fix-price-precision-adjustment branch May 6, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code-Approved Code Review approved ReadyForMerge Ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants