kts-component-invoice-operate 3.2.119 → 3.2.121-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,3 +38,11 @@ export declare function countPrice(amount: string | number, quantity: string | n
38
38
  * @returns 数量
39
39
  */
40
40
  export declare function countQuantity(amount: string | number, price: string | number, calculatingDigits?: number): number | undefined | '';
41
+ /**
42
+ * 将数值转化为非科学计数法的字符串,忽略小数多余的0
43
+ * 无法转化的返回空字符串
44
+ * @param value 数值或字符串
45
+ * @param precision 精度
46
+ * @returns 字符串
47
+ */
48
+ export declare function nonScientificNotation(value: number | string | undefined, precision?: number): string;
@@ -33,3 +33,5 @@ export declare const onSaveEditGood: (...par: any[]) => void;
33
33
  export declare const endowCode: (controller: InvoiceController, goods: IGood) => Promise<void>;
34
34
  /** 修改了 项目名称 */
35
35
  export declare const onChangeItemName: (controller: InvoiceController, form: WrappedFormUtils<any>, record: IGood) => Promise<void>;
36
+ /** 修改了 切换了税率 */
37
+ export declare const onChangeSwitchTax: (controller: InvoiceController, isTaxIncluded: boolean) => Promise<void>;