This commit is contained in:
zzy
2023-04-17 16:01:46 +08:00
parent 7da913090d
commit 21c1ea7551
7 changed files with 57 additions and 17 deletions
+3 -3
View File
@@ -341,8 +341,8 @@ const content = ref()
onMounted(
() => {
data.value = JSON.parse(localStorage.getItem('itemData') as string)
// getreferencedata()
text();
getreferencedata()
// text();
}
)
async function text() {
@@ -420,7 +420,7 @@ function setOfferings(mockRes: any) {
{ info: keepTwoDecimalStr(poReallocationCap) },
{ info: "-", info2s: [has_data(ipoShares?.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,')), has_data(poSharesFinal?.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,')), has_data(ioOfferSharesFinal?.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,'))], table: clawback },
{ info: has_data(overallPoShares?.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,')), info2: has_data(overallIoShares?.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,')), },
{ info: has_data(upsizeOption) },
{ info: has_data(upsizeOption.toFixed(2),"%") },
{ info: "-" },
{ info: keepTwoDecimalStr(overallotOption) },
{ table: denomTable }