feat: 更新发行申请表单,添加订阅开始和结束时间字段,优化日期验证逻辑

This commit is contained in:
2025-12-21 03:42:45 +07:00
parent fcaf7db923
commit 101554ef5e
9 changed files with 175 additions and 97 deletions

View File

@@ -9,7 +9,7 @@ import Done from "./done.vue";
import IssuePeriod from "./issue-period.vue";
const { t } = useI18n();
const { data: categories, onFetchResponse } = await safeClient(() => client.api.rwa.issuance.categories.get());
const { data: categories, onFetchResponse } = await safeClient(() => client.api.rwa.category.categories.get());
const step = useRouteQuery<number>("step", 1, { transform: v => Number(v), mode: "push" });
const initialData: RwaIssuanceProductBody = {
@@ -23,7 +23,8 @@ const initialData: RwaIssuanceProductBody = {
editionName: "",
launchDate: new Date(),
perUserLimit: "",
subscriptionDeadline: new Date(),
subscriptionStartDate: new Date(),
subscriptionEndDate: new Date(),
totalSupply: "",
unitPrice: "",
dividendRate: "",