kts-component-invoice-operate 3.2.29 → 3.2.31

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 (23) hide show
  1. package/dist/Invoice/InvoiceController/InvoiceControllerState/AutoComplete/index.d.ts +1 -1
  2. package/dist/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.d.ts +1 -1
  3. package/dist/Invoice/ui/default/GoodsList/ui/TableRow/index.d.ts +1 -0
  4. package/dist/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.d.ts +7 -0
  5. package/dist/Invoice/ui/digtal/GoodsList/ui/TableRow/index.d.ts +1 -0
  6. package/dist/index.esm.js +4604 -3793
  7. package/dist/index.js +4604 -3793
  8. package/package.json +1 -1
  9. package/src/Invoice/InvoiceController/InvoiceControllerState/AutoComplete/index.ts +1 -1
  10. package/src/Invoice/_test/endowCode/index.tsx +1 -1
  11. package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +12 -11
  12. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.less +18 -0
  13. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.tsx +143 -4
  14. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.tsx +15 -5
  15. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +1 -1
  16. package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.less +14 -0
  17. package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.tsx +22 -3
  18. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/index.tsx +8 -0
  19. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.less +21 -0
  20. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.tsx +187 -0
  21. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/svg/I001.svg +1 -0
  22. package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.less +14 -0
  23. package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.tsx +18 -5
@@ -8,5 +8,5 @@ export default class AutoComplete {
8
8
  /** 统一社会信用代码/纳税人识别号 */
9
9
  onBuyerTaxIdSearch?: (searchText: string) => Promise<any[]>;
10
10
  /** 商品编码自动补全 */
11
- onItemCodeSearch?: (searchText: string) => Promise<any[]>;
11
+ onItemCodeSearch?: (searchText: string, itemName: any) => Promise<any[]>;
12
12
  }
@@ -3,5 +3,5 @@ import './index.less';
3
3
  export default function ItemCodeInput(props: {
4
4
  onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
5
5
  value?: string;
6
- shorthand?: string;
6
+ record: any;
7
7
  }): JSX.Element;
@@ -1,2 +1,3 @@
1
1
  /// <reference types="react" />
2
+ import './index.less';
2
3
  export default function TableRow(props: any): JSX.Element;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { IGood } from '../../../../../../../..';
3
+ import './index.less';
4
+ export interface IDragProps {
5
+ record: IGood;
6
+ }
7
+ export default function Drag(props: IDragProps): JSX.Element;
@@ -1,2 +1,3 @@
1
1
  /// <reference types="react" />
2
+ import './index.less';
2
3
  export default function TableRow(props: any): JSX.Element;