kts-component-invoice-operate 3.1.13 → 3.1.15
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.
- package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.d.ts +2 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/index.d.ts +1 -1
- package/dist/Invoice/tools/itemName/index.d.ts +2 -0
- package/dist/Invoice/ui/GoodsList/hook/useColumns/autoFillFn/index.d.ts +2 -2
- package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/ItemNameInput/index.d.ts +1 -0
- package/dist/index.esm.js +377 -339
- package/dist/index.js +377 -339
- package/package.json +1 -1
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.ts +3 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/index.ts +1 -1
- package/src/Invoice/InvoiceController/fns/saveEditGood.ts +1 -1
- package/src/Invoice/tools/itemName/index.ts +9 -0
- package/src/Invoice/ui/EndowCodeDrawer/index.tsx +3 -17
- package/src/Invoice/ui/GoodsList/hook/useColumns/autoFillFn/index.ts +90 -85
- package/src/Invoice/ui/GoodsList/hook/useColumns/index.tsx +6 -4
- package/src/Invoice/ui/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +3 -18
- package/src/Invoice/ui/ImportGoodsDrawer/index.tsx +17 -19
|
@@ -12,3 +12,5 @@ export declare const getItemName: (value: ISN) => string;
|
|
|
12
12
|
export declare const setFull: (name?: string, full?: string) => string | undefined;
|
|
13
13
|
/** 设置简称 */
|
|
14
14
|
export declare const setShorthand: (name?: string, shorthand?: string) => string | undefined;
|
|
15
|
+
/** 组合全称加简称 */
|
|
16
|
+
export declare const getItemNameWithShorthand: (value: ISN) => string;
|
|
@@ -24,9 +24,9 @@ export declare const onChangeTaxRate: (...par: any[]) => void;
|
|
|
24
24
|
/** 小规模纳税人 1% 和 3% 自动赋码免税 */
|
|
25
25
|
export declare function dutyFree(controller: InvoiceController, taxRate: number, form: WrappedFormUtils<any>, record: IGood): number | undefined;
|
|
26
26
|
/** 含税 => 更新(不含税) */
|
|
27
|
-
export declare const updateUnitPriceExcludingTax: (controller: InvoiceController, form: WrappedFormUtils, record: IGood) =>
|
|
27
|
+
export declare const updateUnitPriceExcludingTax: (controller: InvoiceController, form: WrappedFormUtils, record: IGood) => Promise<unknown>;
|
|
28
28
|
/** 不含税 => 更新(含税) */
|
|
29
|
-
export declare const updateUnitPriceTax: (controller: InvoiceController, form: WrappedFormUtils, record: IGood) =>
|
|
29
|
+
export declare const updateUnitPriceTax: (controller: InvoiceController, form: WrappedFormUtils, record: IGood) => Promise<unknown>;
|
|
30
30
|
/** 保存到编辑货物 */
|
|
31
31
|
export declare const onSaveEditGood: (...par: any[]) => void;
|
|
32
32
|
/** 单调赋码 */
|