Commit e8034817 authored by XieZhiXiong's avatar XieZhiXiong

chore: 调整税点类型为number

parent 52690262
...@@ -146,7 +146,7 @@ const MemberDocCategory: React.FC<DocCategoryProps> = (props: DocCategoryProps) ...@@ -146,7 +146,7 @@ const MemberDocCategory: React.FC<DocCategoryProps> = (props: DocCategoryProps)
month: month ? `${month}` : '', month: month ? `${month}` : '',
monthDay: monthDay ? `${monthDay}` : '', monthDay: monthDay ? `${monthDay}` : '',
days: days ? `${days}` : '', days: days ? `${days}` : '',
taxPoint: taxPoint, taxPoint: +taxPoint,
...rest ...rest
})), })),
}); });
......
...@@ -149,7 +149,7 @@ export interface FormValueType extends Omit<ValueType, ('maxAmount' | 'categorie ...@@ -149,7 +149,7 @@ export interface FormValueType extends Omit<ValueType, ('maxAmount' | 'categorie
/** /**
* 税点,只要百分比的分子部分,不要转换为小数 * 税点,只要百分比的分子部分,不要转换为小数
*/ */
taxPoint: string, taxPoint: number,
}[], }[],
} }
......
...@@ -145,7 +145,7 @@ interface FormValueType extends Omit<ValueType, ('maxAmount' | 'categories')> { ...@@ -145,7 +145,7 @@ interface FormValueType extends Omit<ValueType, ('maxAmount' | 'categories')> {
/** /**
* 税点,只要百分比的分子部分,不要转换为小数 * 税点,只要百分比的分子部分,不要转换为小数
*/ */
taxPoint: string, taxPoint: number,
}[], }[],
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment