kts-component-invoice-operate 3.2.181-3 → 3.2.181-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 (58) hide show
  1. package/dist/Invoice/InvoiceController/InvoiceControllerState/AutoComplete/index.d.ts +1 -0
  2. package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.d.ts +1 -0
  3. package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ImportGoods/index.d.ts +1 -0
  4. package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.d.ts +2 -0
  5. package/dist/Invoice/InvoiceController/index.d.ts +8 -0
  6. package/dist/Invoice/ui/default/GoodsList/ui/BatchImportRows/index.d.ts +3 -0
  7. package/dist/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.d.ts +1 -1
  8. package/dist/Invoice/ui/default/ImportBatchGoodsDrawer/index.d.ts +3 -0
  9. package/dist/Invoice/ui/digtal/GoodsList/ui/BatchImportRows/index.d.ts +3 -0
  10. package/dist/Invoice/ui/digtal/ImportBatchGoodsDrawer/index.d.ts +3 -0
  11. package/dist/index.esm.js +1691 -510
  12. package/dist/index.js +1679 -498
  13. package/docs-dist/static/download.18f10f45.svg +1 -0
  14. package/docs-dist/static/upload.d7ea1893.svg +1 -0
  15. package/docs-dist/umi.css +1 -1
  16. package/docs-dist/umi.js +1 -1
  17. package/package.json +1 -1
  18. package/src/Invoice/InvoiceController/InvoiceControllerState/AutoComplete/index.ts +2 -0
  19. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.ts +2 -0
  20. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ImportGoods/index.ts +1 -0
  21. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +2 -1
  22. package/src/Invoice/InvoiceController/fns/importGoodsDrawer.ts +2 -3
  23. package/src/Invoice/InvoiceController/index.ts +13 -1
  24. package/src/Invoice/_test/importGoods/index.tsx +1 -1
  25. package/src/Invoice/index.tsx +4 -3
  26. package/src/Invoice/tools/calculate/index.ts +1 -1
  27. package/src/Invoice/ui/default/Buyer/ui/BuyerNameInput/index.tsx +1 -2
  28. package/src/Invoice/ui/default/GoodsList/hook/useColumns/autoFillFn/index.ts +92 -36
  29. package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +116 -19
  30. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx +4 -1
  31. package/src/Invoice/ui/default/GoodsList/index.tsx +8 -7
  32. package/src/Invoice/ui/default/GoodsList/ui/BatchImportRows/index.tsx +50 -0
  33. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +449 -139
  34. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +3 -3
  35. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/index.tsx +1 -1
  36. package/src/Invoice/ui/default/ImportBatchGoodsDrawer/icon/download.svg +1 -0
  37. package/src/Invoice/ui/default/ImportBatchGoodsDrawer/icon/gogo.svg +1 -0
  38. package/src/Invoice/ui/default/ImportBatchGoodsDrawer/icon/sigh.svg +1 -0
  39. package/src/Invoice/ui/default/ImportBatchGoodsDrawer/icon/upload.svg +1 -0
  40. package/src/Invoice/ui/default/ImportBatchGoodsDrawer/index.module.less +65 -0
  41. package/src/Invoice/ui/default/ImportBatchGoodsDrawer/index.tsx +69 -0
  42. package/src/Invoice/ui/default/ImportGoodsDrawer/index.tsx +27 -14
  43. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/index.tsx +9 -0
  44. package/src/Invoice/ui/digtal/GoodsList/index.tsx +4 -1
  45. package/src/Invoice/ui/digtal/GoodsList/ui/BatchImportRows/index.tsx +49 -0
  46. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +9 -2
  47. package/src/Invoice/ui/digtal/ImportBatchGoodsDrawer/icon/download.svg +1 -0
  48. package/src/Invoice/ui/digtal/ImportBatchGoodsDrawer/icon/gogo.svg +1 -0
  49. package/src/Invoice/ui/digtal/ImportBatchGoodsDrawer/icon/sigh.svg +1 -0
  50. package/src/Invoice/ui/digtal/ImportBatchGoodsDrawer/icon/upload.svg +1 -0
  51. package/src/Invoice/ui/digtal/ImportBatchGoodsDrawer/index.module.less +65 -0
  52. package/src/Invoice/ui/digtal/ImportBatchGoodsDrawer/index.tsx +69 -0
  53. package/src/Invoice/ui/digtal/Stakeholder/index.tsx +48 -28
  54. /package/docs-dist/static/{arrowDown.a1cbf0d8.svg → arrowDown.22c7885c.svg} +0 -0
  55. /package/docs-dist/static/{arrowUp.4c482054.svg → arrowUp.d707a3e4.svg} +0 -0
  56. /package/docs-dist/static/{fork.5431267d.svg → fork.43eb4ffa.svg} +0 -0
  57. /package/docs-dist/static/{plus.4fd1af30.svg → plus.0e60e9ea.svg} +0 -0
  58. /package/docs-dist/static/{plus.44013ce3.svg → plus.384f41d9.svg} +0 -0
@@ -8,6 +8,7 @@ export default class AutoComplete {
8
8
  onBuyerNameSearch?: (searchText: string) => Promise<any[]>;
9
9
  /** 统一社会信用代码/纳税人识别号 */
10
10
  onBuyerTaxIdSearch?: (searchText: string) => Promise<any[]>;
11
+ onBuyerCodeSearch?: (searchText: string) => Promise<any[]>;
11
12
  /** 销售方名称自动补全 */
12
13
  onSupplierNameSearch?: (searchText: string) => Promise<any[]>;
13
14
  /** 统一社会信用代码/纳税人识别号 */
@@ -56,4 +56,5 @@ export default interface IGood {
56
56
  productName?: string;
57
57
  /** 孩子 */
58
58
  children?: IGood[];
59
+ referenceLines?: any[];
59
60
  }
@@ -18,4 +18,5 @@ export default class ImportGoods<ColumnType = any> {
18
18
  topExpand?: React.ReactNode;
19
19
  /** 导入时校验函数 */
20
20
  verifyFn: (record: any) => Promise<boolean>;
21
+ isVisibleBatchImportDrawer: boolean;
21
22
  }
@@ -24,6 +24,8 @@ export default class GoodsListState {
24
24
  isAddRow: boolean;
25
25
  /** 是否可以删除行 */
26
26
  isRemRow: boolean;
27
+ /** 批量删除 */
28
+ isBatchRemRow: boolean;
27
29
  /** 是否含税 */
28
30
  isTaxIncluded: boolean;
29
31
  /**
@@ -55,4 +55,12 @@ export default class InvoiceController extends InvoiceControllerForm {
55
55
  /** 商品列表配置器 */
56
56
  setColumnsConfig?: (columns: any[]) => any[];
57
57
  addProductionByTax?: (params: any) => Promise<any>;
58
+ /** 下载申请单明细模版 */
59
+ downloadApplicationTempalte?: () => Promise<any>;
60
+ /** 上传申请单明细 */
61
+ importdApplicationLines?: (e: any, type: string) => Promise<any>;
62
+ /** 下载发票明细模版 */
63
+ downloadInvoiceTempalte?: () => Promise<any>;
64
+ /** 上传发票明细 */
65
+ importInvoiceLines?: (e: any, type: string) => Promise<any>;
58
66
  }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const _default: () => JSX.Element;
3
+ export default _default;
@@ -9,6 +9,6 @@
9
9
  import './index.less';
10
10
  declare const _default: () => {
11
11
  menuItem: JSX.Element | undefined;
12
- drawer: JSX.Element;
12
+ button: JSX.Element;
13
13
  };
14
14
  export default _default;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const _default: () => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const _default: () => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const _default: () => JSX.Element;
3
+ export default _default;