kts-component-invoice-operate 3.2.179 → 3.2.181-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.
Files changed (31) hide show
  1. package/dist/Invoice/InvoiceController/index.d.ts +1 -0
  2. package/dist/Invoice/ui/digtal/GoodsList/hook/useColumns/autoFillFn/index.d.ts +2 -0
  3. package/dist/Invoice/ui/digtal/StakeFarmerholder/index.d.ts +3 -0
  4. package/dist/Invoice/ui/digtal/Stakeholder/index.d.ts +5 -0
  5. package/dist/index.esm.js +758 -319
  6. package/dist/index.js +757 -318
  7. package/package.json +1 -1
  8. package/src/Invoice/Invoice-digtal/_test/easiest/index.tsx +163 -3
  9. package/src/Invoice/Invoice-digtal/_test/readOnly/index.tsx +1 -1
  10. package/src/Invoice/Invoice-digtal/index.md +9 -7
  11. package/src/Invoice/InvoiceController/index.ts +2 -0
  12. package/src/Invoice/index.tsx +8 -1
  13. package/src/Invoice/tools/calculate/index.ts +13 -1
  14. package/src/Invoice/ui/default/EndowCodeDrawer/index.less +1 -1
  15. package/src/Invoice/ui/default/EndowCodeDrawer/index.tsx +62 -16
  16. package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +8 -7
  17. package/src/Invoice/ui/default/GoodsList/ui/Statistics/index.tsx +2 -2
  18. package/src/Invoice/ui/digtal/Architecture/index.less +8 -4
  19. package/src/Invoice/ui/digtal/Architecture/index.tsx +31 -20
  20. package/src/Invoice/ui/digtal/FreightList/hook/useRowSelection/index.tsx +1 -1
  21. package/src/Invoice/ui/digtal/FreightList/index.less +1 -2
  22. package/src/Invoice/ui/digtal/FreightList/index.tsx +2 -2
  23. package/src/Invoice/ui/digtal/FreightList/ui/AddRowButton/index.tsx +16 -6
  24. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/autoFillFn/index.ts +50 -6
  25. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/index.tsx +61 -18
  26. package/src/Invoice/ui/digtal/GoodsList/ui/AddRowButton/index.tsx +16 -6
  27. package/src/Invoice/ui/digtal/GoodsList/ui/Search/index.tsx +14 -4
  28. package/src/Invoice/ui/digtal/StakeFarmerholder/index.tsx +49 -8
  29. package/src/Invoice/ui/digtal/Stakeholder/index.tsx +52 -13
  30. package/src/TaxClassificationCodeModal/index.less +8 -0
  31. package/src/TaxClassificationCodeModal/index.tsx +20 -9
@@ -54,4 +54,5 @@ export default class InvoiceController extends InvoiceControllerForm {
54
54
  getGoodsTaxRateList?: (taxClassificationCode: string) => Promise<number[] | undefined | null>;
55
55
  /** 商品列表配置器 */
56
56
  setColumnsConfig?: (columns: any[]) => any[];
57
+ addProductionByTax?: (params: any) => Promise<any>;
57
58
  }
@@ -21,6 +21,8 @@ export declare const onChangeLineAmountIncludeTax: (...par: any[]) => void;
21
21
  export declare const onChangeLineAmountExcludeTax: (...par: any[]) => void;
22
22
  /** 税率 */
23
23
  export declare const onChangeTaxRate: (...par: any[]) => void;
24
+ /** 税额 */
25
+ export declare const onChangeTaxAmount: (...par: any[]) => void;
24
26
  /** 小规模纳税人 1% 和 3% 自动赋码免税 */
25
27
  export declare function dutyFree(controller: InvoiceController, taxRate: number, form: WrappedFormUtils<any>, record: IGood): number | undefined;
26
28
  /** 含税 => 更新(不含税) */
@@ -14,6 +14,9 @@ export interface IStakeholder {
14
14
  isNaturalPerson?: boolean;
15
15
  /** 是否展开 */
16
16
  isExpand?: boolean;
17
+ leqi?: boolean;
18
+ riskData?: any;
19
+ invoiceMarkCallback?: (value: any) => void;
17
20
  }
18
21
  /** 农产品干系人 */
19
22
  declare const _default: React.FunctionComponent<IStakeholder>;
@@ -14,6 +14,11 @@ export interface IStakeholder {
14
14
  isNaturalPerson?: boolean;
15
15
  /** 是否展开 */
16
16
  isExpand?: boolean;
17
+ /** 购方,销方银行信息 勾选按钮是否显示 **/
18
+ leqi?: boolean;
19
+ /** 购方,销方地址电话 勾选按钮是否显示 **/
20
+ riskData?: boolean;
21
+ invoiceMarkCallback?: (value: any) => void;
17
22
  }
18
23
  /** 干系人 */
19
24
  declare const _default: React.FunctionComponent<IStakeholder>;