kts-component-invoice-operate 3.2.239 → 3.2.241

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 (67) hide show
  1. package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.d.ts +0 -1
  2. package/dist/Invoice/InvoiceController/InvoiceControllerState/index.d.ts +0 -2
  3. package/dist/Invoice/InvoiceController/index.d.ts +0 -6
  4. package/dist/Invoice/index.d.ts +0 -2
  5. package/dist/index.esm.js +2749 -5772
  6. package/dist/index.js +2748 -5771
  7. package/package.json +1 -1
  8. package/src/Invoice/Invoice-digtal/_test/easiest/index.tsx +8 -40
  9. package/src/Invoice/Invoice-digtal/_test/freight/index.tsx +17 -23
  10. package/src/Invoice/Invoice-digtal/_test/realEstateInfo/index.tsx +0 -47
  11. package/src/Invoice/Invoice-digtal/index.md +6 -7
  12. package/src/Invoice/InvoiceController/InvoiceControllerForm/index.ts +0 -11
  13. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.ts +0 -2
  14. package/src/Invoice/InvoiceController/InvoiceControllerState/index.ts +0 -3
  15. package/src/Invoice/InvoiceController/index.ts +0 -21
  16. package/src/Invoice/index.tsx +0 -3
  17. package/src/Invoice/tools/useToGenerateId/index.ts +0 -2
  18. package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +7 -0
  19. package/src/Invoice/ui/digtal/RealEstateInfo/index.tsx +37 -246
  20. package/src/Invoice/ui/digtal/StakeFarmerholder/index.less +1 -1
  21. package/src/Invoice/ui/digtal/StakeFarmerholder/index.tsx +204 -809
  22. package/dist/Invoice/Invoice-digtal/_test/pay/index.d.ts +0 -4
  23. package/dist/Invoice/InvoiceController/InvoiceControllerState/PayListState/IColumnsReplenish/index.d.ts +0 -6
  24. package/dist/Invoice/InvoiceController/InvoiceControllerState/PayListState/IGood/index.d.ts +0 -12
  25. package/dist/Invoice/InvoiceController/InvoiceControllerState/PayListState/ImportGoods/index.d.ts +0 -21
  26. package/dist/Invoice/InvoiceController/InvoiceControllerState/PayListState/index.d.ts +0 -31
  27. package/dist/Invoice/InvoiceController/fns/addPay.d.ts +0 -6
  28. package/dist/Invoice/InvoiceController/fns/delPay.d.ts +0 -6
  29. package/dist/Invoice/InvoiceController/fns/saveEditPay.d.ts +0 -6
  30. package/dist/Invoice/InvoiceController/fns/setEditPay.d.ts +0 -6
  31. package/dist/Invoice/InvoiceController/fns/setPay.d.ts +0 -6
  32. package/dist/Invoice/ui/digtal/PayList/hook/useColumns/index.d.ts +0 -3
  33. package/dist/Invoice/ui/digtal/PayList/hook/useColumns/ui/TitleText/index.d.ts +0 -8
  34. package/dist/Invoice/ui/digtal/PayList/hook/useOnRow/index.d.ts +0 -8
  35. package/dist/Invoice/ui/digtal/PayList/hook/useRowSelection/index.d.ts +0 -8
  36. package/dist/Invoice/ui/digtal/PayList/hook/useWindowClick/index.d.ts +0 -5
  37. package/dist/Invoice/ui/digtal/PayList/index.d.ts +0 -18
  38. package/dist/Invoice/ui/digtal/PayList/ui/AddRowButton/index.d.ts +0 -3
  39. package/dist/Invoice/ui/digtal/PayList/ui/BulkMenu/hooks/useDelRowButton/index.d.ts +0 -6
  40. package/dist/Invoice/ui/digtal/PayList/ui/BulkMenu/hooks/useEmptyRefill/index.d.ts +0 -6
  41. package/dist/Invoice/ui/digtal/PayList/ui/TableRow/index.d.ts +0 -3
  42. package/dist/Invoice/ui/digtal/PayList/ui/TableVirtual/index.d.ts +0 -4
  43. package/src/Invoice/Invoice-digtal/_test/pay/index.tsx +0 -14637
  44. package/src/Invoice/InvoiceController/InvoiceControllerState/PayListState/IColumnsReplenish/index.ts +0 -10
  45. package/src/Invoice/InvoiceController/InvoiceControllerState/PayListState/IGood/index.ts +0 -35
  46. package/src/Invoice/InvoiceController/InvoiceControllerState/PayListState/ImportGoods/index.ts +0 -81
  47. package/src/Invoice/InvoiceController/InvoiceControllerState/PayListState/index.ts +0 -40
  48. package/src/Invoice/InvoiceController/fns/addPay.ts +0 -11
  49. package/src/Invoice/InvoiceController/fns/delPay.ts +0 -38
  50. package/src/Invoice/InvoiceController/fns/saveEditPay.ts +0 -23
  51. package/src/Invoice/InvoiceController/fns/setEditPay.ts +0 -16
  52. package/src/Invoice/InvoiceController/fns/setPay.ts +0 -11
  53. package/src/Invoice/ui/digtal/PayList/hook/useColumns/dist/index.js +0 -616
  54. package/src/Invoice/ui/digtal/PayList/hook/useColumns/index.tsx +0 -168
  55. package/src/Invoice/ui/digtal/PayList/hook/useColumns/ui/TitleText/index.tsx +0 -20
  56. package/src/Invoice/ui/digtal/PayList/hook/useOnRow/index.tsx +0 -37
  57. package/src/Invoice/ui/digtal/PayList/hook/useRowSelection/index.tsx +0 -120
  58. package/src/Invoice/ui/digtal/PayList/hook/useWindowClick/index.tsx +0 -19
  59. package/src/Invoice/ui/digtal/PayList/index.less +0 -73
  60. package/src/Invoice/ui/digtal/PayList/index.tsx +0 -132
  61. package/src/Invoice/ui/digtal/PayList/ui/AddRowButton/index.tsx +0 -75
  62. package/src/Invoice/ui/digtal/PayList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +0 -50
  63. package/src/Invoice/ui/digtal/PayList/ui/BulkMenu/hooks/useEmptyRefill/index.tsx +0 -37
  64. package/src/Invoice/ui/digtal/PayList/ui/TableRow/index.less +0 -29
  65. package/src/Invoice/ui/digtal/PayList/ui/TableRow/index.tsx +0 -21
  66. package/src/Invoice/ui/digtal/PayList/ui/TableVirtual/index.less +0 -39
  67. package/src/Invoice/ui/digtal/PayList/ui/TableVirtual/index.tsx +0 -109
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import 'antd/dist/antd.css';
3
- declare const _default: () => JSX.Element;
4
- export default _default;
@@ -1,6 +0,0 @@
1
- /** 商品表格补充配置 */
2
- import { ValidationRule } from "kts-components-antd-x3/lib/form";
3
- export default interface IColumnsReplenish {
4
- /** 补充的规则 */
5
- rules: ValidationRule[];
6
- }
@@ -1,12 +0,0 @@
1
- export default interface IGood {
2
- /** 数据索引 */
3
- $index: string;
4
- /** 序号 */
5
- sortNumber?: number;
6
- /** 运输工具种类列表 */
7
- vehicleList?: any[] | null;
8
- /** 运输工具种类 */
9
- vehicle?: string;
10
- channel: string;
11
- number: string;
12
- }
@@ -1,21 +0,0 @@
1
- import { ColumnProps } from 'kts-components-antd-x3/lib/Table/interface';
2
- import { PaginationConfig } from 'kts-components-antd-x3/lib/Table';
3
- import React from 'react';
4
- export interface IGetGoodsListOption {
5
- /** 分页数据 */
6
- pagination: PaginationConfig;
7
- }
8
- export default class ImportGoods<ColumnType = any> {
9
- /** 表头 */
10
- columns: ColumnProps<ColumnType>[];
11
- /** 货物列表 */
12
- dataSource: ColumnType[];
13
- /** 分页数据 */
14
- pagination: PaginationConfig;
15
- /** 是否显示导入 */
16
- isVisibleDrawer: boolean;
17
- /** 顶部扩展 */
18
- topExpand?: React.ReactNode;
19
- /** 导入时校验函数 */
20
- verifyFn: (record: any) => Promise<boolean>;
21
- }
@@ -1,31 +0,0 @@
1
- import IGood from './IGood';
2
- import { WrappedFormUtils } from 'kts-components-antd-x3/lib/form/Form';
3
- export default class PayListState {
4
- /** 产品最大数 */
5
- goodMax?: number;
6
- /** 正在编辑的货物 */
7
- editGood?: IGood;
8
- /** 是否可以添加行 */
9
- isAddRow: boolean;
10
- /** 是否可以删除行 */
11
- isRemRow: boolean;
12
- /** 货物字典 */
13
- goodsMap: Map<string, IGood>;
14
- /** 被编辑行的form对象 */
15
- form?: WrappedFormUtils;
16
- /** 运输工具种类列表 */
17
- vehicleTypeList: any[];
18
- /** 货物列表 */
19
- goodsList: IGood[];
20
- /** 列表选中的货物索引列表 */
21
- selectedGoodIndex: string[];
22
- /** 地区 */
23
- area: any[];
24
- addressFieldNames: IFieldNames;
25
- }
26
- interface IFieldNames {
27
- label: string;
28
- value: string;
29
- children: string;
30
- }
31
- export {};
@@ -1,6 +0,0 @@
1
- import { InvoiceControllerState } from '..';
2
- /**
3
- * 添加的付款
4
- */
5
- declare const _default: (state: InvoiceControllerState, options?: any) => Promise<any>;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { InvoiceControllerState } from '..';
2
- /**
3
- * 删除一个付款行
4
- */
5
- declare const _default: (state: InvoiceControllerState, $index?: string) => Promise<void>;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { InvoiceControllerState } from '..';
2
- /**
3
- * 保存正在编辑的支付信息
4
- */
5
- declare const _default: (state: InvoiceControllerState) => Promise<void>;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { InvoiceControllerState } from '..';
2
- /**
3
- * 设置当前的编辑的付款信息
4
- */
5
- declare const _default: (state: InvoiceControllerState, newEditGood?: any) => Promise<void>;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import { InvoiceControllerState, IGood } from '..';
2
- /**
3
- * 设置单个商品的付款信息
4
- */
5
- declare const _default: (state: InvoiceControllerState, options?: IGood) => Promise<void>;
6
- export default _default;
@@ -1,3 +0,0 @@
1
- import { WrappedFormUtils } from 'kts-components-antd-x3/lib/form/Form';
2
- declare const _default: (form: WrappedFormUtils) => any[];
3
- export default _default;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { ValidationRule } from 'kts-components-antd-x3/lib/form';
3
- declare const _default: (props: {
4
- children?: React.ReactNode;
5
- required?: boolean;
6
- rules?: ValidationRule[];
7
- }) => JSX.Element;
8
- export default _default;
@@ -1,8 +0,0 @@
1
- /**
2
- * 表格行事件
3
- */
4
- import IGood from '../../../../../InvoiceController/InvoiceControllerState/PayListState/IGood';
5
- declare const _default: () => {
6
- onClick: (record: IGood) => Promise<void>;
7
- };
8
- export default _default;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- declare const _default: () => {
3
- columnWidth: number;
4
- columnTitle: JSX.Element;
5
- onSelect: (record: any, selected: any) => Promise<void>;
6
- selectedRowKeys: string[];
7
- } | undefined;
8
- export default _default;
@@ -1,5 +0,0 @@
1
- import { InvoiceController } from "../../../../../..";
2
- /**
3
- * 点击组件外部 保存正在编辑的支付
4
- */
5
- export default function useWindowClick(controller: InvoiceController): void;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface IGoodsListProps {
4
- /** 产品最大数 */
5
- goodMax?: number;
6
- addressOptions?: any[];
7
- /**
8
- * 支付方式枚举
9
- */
10
- vehicleTypeList: any[];
11
- /**
12
- * 地址数据字段名
13
- */
14
- fieldNames?: any;
15
- }
16
- export default class PayList extends React.Component<IGoodsListProps> {
17
- render(): JSX.Element;
18
- }
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const _default: () => JSX.Element;
3
- export default _default;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- declare const _default: () => {
3
- button: JSX.Element;
4
- menuItem: JSX.Element;
5
- };
6
- export default _default;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- /** 清空重填 */
3
- declare const _default: () => {
4
- button: JSX.Element;
5
- };
6
- export default _default;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- export default function TableRow(props: any): JSX.Element;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { TableProps } from "kts-xui";
3
- import './index.less';
4
- export default function <T extends object = any>(props: TableProps<T>): JSX.Element;