kts-component-invoice-operate 1.2.20 → 2.0.0

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 (88) hide show
  1. package/d.dio +2 -69
  2. package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/{EndowCode.d.ts → EndowCode/index.d.ts} +2 -2
  3. package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/{IGood.d.ts → IGood/index.d.ts} +15 -5
  4. package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/{ImportGoods.d.ts → ImportGoods/index.d.ts} +0 -0
  5. package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/{LineAttributeType.d.ts → LineAttributeType/index.d.ts} +0 -0
  6. package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ProductComparison/index.d.ts +7 -0
  7. package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.d.ts +7 -0
  8. package/dist/Invoice/InvoiceController/fns/addGood.d.ts +1 -1
  9. package/dist/Invoice/InvoiceController/fns/addGoodDiscount.d.ts +1 -1
  10. package/dist/Invoice/InvoiceController/fns/delGood.d.ts +1 -1
  11. package/dist/Invoice/InvoiceController/fns/saveEditGood.d.ts +1 -1
  12. package/dist/Invoice/InvoiceController/fns/setEditGood.d.ts +1 -1
  13. package/dist/Invoice/InvoiceController/fns/setGoods.d.ts +1 -1
  14. package/dist/Invoice/InvoiceController/fns/updateInvoiceNo.d.ts +1 -1
  15. package/dist/Invoice/_test/buyerNameSearch/index.d.ts +1 -0
  16. package/dist/Invoice/_test/deduction/index.d.ts +1 -0
  17. package/dist/Invoice/_test/draft/index.d.ts +1 -0
  18. package/dist/Invoice/_test/easiest/index.d.ts +1 -0
  19. package/dist/Invoice/_test/endowCode/index.d.ts +1 -0
  20. package/dist/Invoice/_test/goodsMenuExpand/index.d.ts +1 -0
  21. package/dist/Invoice/_test/importBuyer/index.d.ts +1 -0
  22. package/dist/Invoice/_test/importGoods/index.d.ts +1 -0
  23. package/dist/Invoice/_test/invoiceType/index.d.ts +1 -0
  24. package/dist/Invoice/_test/isInvoiceNo/index.d.ts +1 -0
  25. package/dist/Invoice/_test/replaceHead/index.d.ts +1 -0
  26. package/dist/Invoice/_test/retrieveData/index.d.ts +1 -0
  27. package/dist/Invoice/_test/seller/index.d.ts +1 -0
  28. package/dist/Invoice/_test/setDataSource/index.d.ts +1 -0
  29. package/dist/Invoice/_test/unit/index.d.ts +1 -0
  30. package/dist/Invoice/index.d.ts +1 -1
  31. package/dist/Invoice/tools/coolingFn/index.d.ts +1 -1
  32. package/dist/Invoice/tools/itemName/index.d.ts +14 -0
  33. package/dist/Invoice/tools/lazyFn/index.d.ts +1 -1
  34. package/dist/Invoice/ui/AddComparisonDrawer/index.d.ts +3 -0
  35. package/dist/Invoice/ui/Buyer/ui/BuyerNameInput/index.d.ts +1 -0
  36. package/dist/Invoice/ui/Buyer/ui/ImportBuyerButton/index.d.ts +1 -0
  37. package/dist/Invoice/ui/EndowCodeDrawer/index.d.ts +1 -0
  38. package/dist/Invoice/ui/GoodsList/hook/useColumns/autoFillFn/index.d.ts +2 -0
  39. package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowEditButton/index.d.ts +1 -0
  40. package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddComparison/index.d.ts +5 -0
  41. package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.d.ts +1 -0
  42. package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.d.ts +1 -0
  43. package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.d.ts +1 -0
  44. package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/index.d.ts +1 -0
  45. package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowSaveButton/index.d.ts +1 -0
  46. package/dist/Invoice/ui/GoodsList/hook/useRowSelection/index.d.ts +1 -0
  47. package/dist/Invoice/ui/GoodsList/ui/AddRowButton/index.d.ts +1 -0
  48. package/dist/Invoice/ui/GoodsList/ui/CommodityComparisonButton/index.d.ts +3 -0
  49. package/dist/Invoice/ui/GoodsList/ui/DelRowButton/index.d.ts +1 -0
  50. package/dist/Invoice/ui/GoodsList/ui/DescribeSwitch/index.d.ts +3 -0
  51. package/dist/Invoice/ui/GoodsList/ui/EndowCodeButton/index.d.ts +1 -0
  52. package/dist/Invoice/ui/GoodsList/ui/Statistics/index.d.ts +1 -0
  53. package/dist/Invoice/ui/GoodsList/ui/TableRow/index.d.ts +1 -0
  54. package/dist/Invoice/ui/GoodsList/ui/TableVirtual/index.d.ts +1 -0
  55. package/dist/Invoice/ui/GoodsList/ui/TaxIncludedSwitch/index.d.ts +1 -0
  56. package/dist/Invoice/ui/ImportBuyerDrawer/index.d.ts +1 -0
  57. package/dist/Invoice/ui/ImportGoodsDrawer/index.d.ts +1 -0
  58. package/dist/index.d.ts +1 -0
  59. package/dist/index.esm.js +1740 -626
  60. package/dist/index.js +1739 -625
  61. package/docs/index.md +2 -2
  62. package/docs-dist/umi.js +1 -1
  63. package/package.json +4 -1
  64. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/{EndowCode.tsx → EndowCode/index.tsx} +3 -3
  65. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/{IGood.ts → IGood/index.ts} +20 -5
  66. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/{ImportGoods.ts → ImportGoods/index.ts} +0 -0
  67. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/{LineAttributeType.ts → LineAttributeType/index.ts} +0 -0
  68. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ProductComparison/index.ts +10 -0
  69. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +12 -2
  70. package/src/Invoice/InvoiceController/fns/addGoodDiscount.ts +4 -3
  71. package/src/Invoice/_test/importGoods/index.tsx +21 -3
  72. package/src/Invoice/index.tsx +5 -1
  73. package/src/Invoice/tools/itemName/index.ts +48 -0
  74. package/src/Invoice/ui/AddComparisonDrawer/index.tsx +179 -0
  75. package/src/Invoice/ui/EndowCodeDrawer/index.tsx +23 -28
  76. package/src/Invoice/ui/GoodsList/hook/useColumns/autoFillFn/index.ts +21 -24
  77. package/src/Invoice/ui/GoodsList/hook/useColumns/index.tsx +71 -29
  78. package/src/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddComparison/index.tsx +39 -0
  79. package/src/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +5 -2
  80. package/src/Invoice/ui/GoodsList/index.less +34 -37
  81. package/src/Invoice/ui/GoodsList/index.tsx +8 -0
  82. package/src/Invoice/ui/GoodsList/ui/AddDiscountRowButton/index.tsx +6 -16
  83. package/src/Invoice/ui/GoodsList/ui/CommodityComparisonButton/index.tsx +74 -0
  84. package/src/Invoice/ui/GoodsList/ui/DescribeSwitch/index.tsx +37 -0
  85. package/src/Invoice/ui/GoodsList/ui/TaxIncludedSwitch/index.tsx +2 -2
  86. package/src/Invoice/ui/ImportGoodsDrawer/index.tsx +70 -18
  87. package/src/index.ts +1 -0
  88. package/yarn.o.lock +14800 -0
package/docs/index.md CHANGED
@@ -1,5 +1,5 @@
1
- # 发票编辑组件
1
+ # 发票编辑组件-
2
2
 
3
3
  npm 地址:https://www.npmjs.com/package/kts-component-invoice-operate
4
4
 
5
- ### 版本 1.2.19
5
+ ### 版本 2.0.x