kts-component-invoice-operate 3.2.257 → 3.2.258

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 (289) hide show
  1. package/.dumi/theme/builtins/API.tsx +66 -66
  2. package/.editorconfig +16 -16
  3. package/.fatherrc.ts +4 -4
  4. package/.prettierignore +7 -7
  5. package/.prettierrc +11 -11
  6. package/.umirc.ts +8 -8
  7. package/.vscode/settings.json +13 -13
  8. package/BRANCH.md +4 -4
  9. package/README.md +12 -12
  10. package/dist/Invoice/ui/digtal/Stakeholder/index.d.ts +2 -0
  11. package/dist/index.esm.js +16 -6
  12. package/dist/index.js +16 -6
  13. package/docs/index.md +5 -5
  14. package/docs-dist/404.html +33 -33
  15. package/docs-dist/index.html +33 -33
  16. package/docs-dist/static/arrowDown.22c7885c.svg +3 -0
  17. package/docs-dist/static/arrowDown.a1cbf0d8.svg +2 -2
  18. package/docs-dist/static/arrowUp.4c482054.svg +2 -2
  19. package/docs-dist/static/arrowUp.d707a3e4.svg +3 -0
  20. package/docs-dist/static/download.18f10f45.svg +1 -0
  21. package/docs-dist/static/fork.43eb4ffa.svg +12 -0
  22. package/docs-dist/static/fork.5431267d.svg +11 -11
  23. package/docs-dist/static/plus.0e60e9ea.svg +12 -0
  24. package/docs-dist/static/plus.384f41d9.svg +12 -0
  25. package/docs-dist/static/plus.44013ce3.svg +11 -11
  26. package/docs-dist/static/plus.4fd1af30.svg +11 -11
  27. package/docs-dist/static/upload.d7ea1893.svg +1 -0
  28. package/docs-dist/umi.css +18 -18
  29. package/index.html +12 -12
  30. package/package.json +62 -62
  31. package/src/Invoice/Invoice-digtal/_test/architecture/index.tsx +21 -21
  32. package/src/Invoice/Invoice-digtal/_test/disabled/index.tsx +40 -40
  33. package/src/Invoice/Invoice-digtal/_test/easiest/index.tsx +214 -214
  34. package/src/Invoice/Invoice-digtal/_test/freight/index.tsx +14592 -14580
  35. package/src/Invoice/Invoice-digtal/_test/header/index.tsx +84 -84
  36. package/src/Invoice/Invoice-digtal/_test/importGoods/index.tsx +1635 -1635
  37. package/src/Invoice/Invoice-digtal/_test/importStakeholder/index.tsx +18 -18
  38. package/src/Invoice/Invoice-digtal/_test/lineCredit/index.tsx +19 -19
  39. package/src/Invoice/Invoice-digtal/_test/pay/index.tsx +14644 -14644
  40. package/src/Invoice/Invoice-digtal/_test/prefab/index.tsx +150 -150
  41. package/src/Invoice/Invoice-digtal/_test/readOnly/index.tsx +55 -55
  42. package/src/Invoice/Invoice-digtal/_test/realEstateInfo/index.tsx +83 -83
  43. package/src/Invoice/Invoice-digtal/_test/realEstateSales/index.tsx +76 -76
  44. package/src/Invoice/Invoice-digtal/_test/stakeholder/index.tsx +12 -12
  45. package/src/Invoice/Invoice-digtal/_test/typeSelection/index.tsx +29 -29
  46. package/src/Invoice/Invoice-digtal/index.md +46 -46
  47. package/src/Invoice/InvoiceController/InvoiceControllerForm/index.ts +117 -117
  48. package/src/Invoice/InvoiceController/InvoiceControllerState/AutoComplete/index.ts +26 -26
  49. package/src/Invoice/InvoiceController/InvoiceControllerState/BuyerState/index.tsx +88 -88
  50. package/src/Invoice/InvoiceController/InvoiceControllerState/FreightListState/IColumnsReplenish/index.ts +10 -10
  51. package/src/Invoice/InvoiceController/InvoiceControllerState/FreightListState/IGood/index.ts +33 -33
  52. package/src/Invoice/InvoiceController/InvoiceControllerState/FreightListState/ImportGoods/index.ts +81 -81
  53. package/src/Invoice/InvoiceController/InvoiceControllerState/FreightListState/index.ts +39 -39
  54. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/Drag/index.ts +15 -15
  55. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/EndowCode/index.tsx +104 -104
  56. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IColumnsReplenish/index.ts +10 -10
  57. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.ts +93 -93
  58. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ImportGoods/index.ts +84 -84
  59. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/LineAttributeType/index.ts +7 -7
  60. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ProductComparison/index.ts +9 -9
  61. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +150 -150
  62. package/src/Invoice/InvoiceController/InvoiceControllerState/PayListState/IColumnsReplenish/index.ts +10 -10
  63. package/src/Invoice/InvoiceController/InvoiceControllerState/PayListState/IGood/index.ts +35 -35
  64. package/src/Invoice/InvoiceController/InvoiceControllerState/PayListState/ImportGoods/index.ts +81 -81
  65. package/src/Invoice/InvoiceController/InvoiceControllerState/PayListState/index.ts +39 -39
  66. package/src/Invoice/InvoiceController/InvoiceControllerState/Stakeholder/index.ts +13 -13
  67. package/src/Invoice/InvoiceController/InvoiceControllerState/index.ts +76 -76
  68. package/src/Invoice/InvoiceController/fns/addFreight.ts +11 -11
  69. package/src/Invoice/InvoiceController/fns/addGood.ts +11 -11
  70. package/src/Invoice/InvoiceController/fns/addGoodDiscount.ts +126 -126
  71. package/src/Invoice/InvoiceController/fns/addGoodDiscountV2.ts +86 -86
  72. package/src/Invoice/InvoiceController/fns/addPay.ts +11 -11
  73. package/src/Invoice/InvoiceController/fns/delFreight.ts +38 -38
  74. package/src/Invoice/InvoiceController/fns/delGood.ts +41 -41
  75. package/src/Invoice/InvoiceController/fns/delPay.ts +38 -38
  76. package/src/Invoice/InvoiceController/fns/getGoodsSearch.ts +26 -26
  77. package/src/Invoice/InvoiceController/fns/importGoodsDrawer.ts +86 -86
  78. package/src/Invoice/InvoiceController/fns/itemBlur.ts +47 -47
  79. package/src/Invoice/InvoiceController/fns/mergeDetails.ts +201 -201
  80. package/src/Invoice/InvoiceController/fns/mergeDiscount.ts +35 -35
  81. package/src/Invoice/InvoiceController/fns/saveEditFreight.ts +24 -24
  82. package/src/Invoice/InvoiceController/fns/saveEditGood.ts +24 -24
  83. package/src/Invoice/InvoiceController/fns/saveEditPay.ts +23 -23
  84. package/src/Invoice/InvoiceController/fns/setEditFreight.ts +16 -16
  85. package/src/Invoice/InvoiceController/fns/setEditGood.ts +16 -16
  86. package/src/Invoice/InvoiceController/fns/setEditPay.ts +16 -16
  87. package/src/Invoice/InvoiceController/fns/setFreight.ts +10 -10
  88. package/src/Invoice/InvoiceController/fns/setGoods.ts +10 -10
  89. package/src/Invoice/InvoiceController/fns/setPay.ts +10 -10
  90. package/src/Invoice/InvoiceController/fns/updateInvoiceNo.ts +8 -8
  91. package/src/Invoice/InvoiceController/index.ts +127 -127
  92. package/src/Invoice/_test/buyerNameSearch/index.tsx +42 -42
  93. package/src/Invoice/_test/children/index.tsx +214 -214
  94. package/src/Invoice/_test/deduction/index.tsx +956 -956
  95. package/src/Invoice/_test/draft/index.tsx +40 -40
  96. package/src/Invoice/_test/easiest/index.tsx +5 -5
  97. package/src/Invoice/_test/endowCode/index.tsx +1158 -1158
  98. package/src/Invoice/_test/goodsMenuExpand/index.tsx +32 -32
  99. package/src/Invoice/_test/importBuyer/index.tsx +75 -75
  100. package/src/Invoice/_test/importGoods/index.tsx +1375 -1375
  101. package/src/Invoice/_test/invoiceType/index.tsx +59 -59
  102. package/src/Invoice/_test/isInvoiceNo/index.tsx +12 -12
  103. package/src/Invoice/_test/replaceHead/index.tsx +22 -22
  104. package/src/Invoice/_test/retrieveData/index.tsx +22 -22
  105. package/src/Invoice/_test/seller/index.tsx +28 -28
  106. package/src/Invoice/_test/setDataSource/index.tsx +73 -73
  107. package/src/Invoice/_test/unit/index.tsx +19 -19
  108. package/src/Invoice/index.less +31 -31
  109. package/src/Invoice/index.md +56 -56
  110. package/src/Invoice/index.tsx +211 -211
  111. package/src/Invoice/tools/calculate/index.ts +144 -144
  112. package/src/Invoice/tools/coolingFn/index.ts +17 -17
  113. package/src/Invoice/tools/evaluate/index.ts +7 -7
  114. package/src/Invoice/tools/idGenerator/index.ts +2 -2
  115. package/src/Invoice/tools/itemName/index.ts +55 -55
  116. package/src/Invoice/tools/lazyFn/index.ts +19 -19
  117. package/src/Invoice/tools/mounting/index.ts +13 -13
  118. package/src/Invoice/tools/strringFn/index.ts +40 -40
  119. package/src/Invoice/tools/useToGenerateId/index.ts +12 -12
  120. package/src/Invoice/tools/utils/index.ts +1 -1
  121. package/src/Invoice/tools/utils/money/index.ts +20 -20
  122. package/src/Invoice/ui/default/AddComparisonDrawer/index.tsx +149 -149
  123. package/src/Invoice/ui/default/Buyer/index.less +219 -219
  124. package/src/Invoice/ui/default/Buyer/index.tsx +114 -114
  125. package/src/Invoice/ui/default/Buyer/ui/BuyerNameInput/index.tsx +166 -166
  126. package/src/Invoice/ui/default/Buyer/ui/ImportBuyerButton/index.tsx +21 -21
  127. package/src/Invoice/ui/default/EndowCodeDrawer/index.less +8 -8
  128. package/src/Invoice/ui/default/EndowCodeDrawer/index.tsx +620 -620
  129. package/src/Invoice/ui/default/GoodsList/hook/useColumns/autoFillFn/index.ts +690 -690
  130. package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +773 -773
  131. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.less +20 -20
  132. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.tsx +205 -205
  133. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Expand/index.tsx +57 -57
  134. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.less +18 -18
  135. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.tsx +49 -49
  136. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.less +17 -17
  137. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +91 -91
  138. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowEditButton/index.tsx +30 -30
  139. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/_useAddComparison/index.tsx +43 -43
  140. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.tsx +118 -118
  141. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/dist/index.js +32 -32
  142. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx +41 -41
  143. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.tsx +25 -25
  144. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/index.less +13 -13
  145. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +99 -99
  146. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowSaveButton/index.tsx +14 -14
  147. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/TitleText/index.tsx +20 -20
  148. package/src/Invoice/ui/default/GoodsList/hook/useDeduction/index.tsx +24 -24
  149. package/src/Invoice/ui/default/GoodsList/hook/useOnRow/index.tsx +52 -52
  150. package/src/Invoice/ui/default/GoodsList/hook/useRowSelection/index.tsx +120 -120
  151. package/src/Invoice/ui/default/GoodsList/hook/useWindowClick/index.tsx +23 -23
  152. package/src/Invoice/ui/default/GoodsList/index.less +185 -185
  153. package/src/Invoice/ui/default/GoodsList/index.tsx +207 -207
  154. package/src/Invoice/ui/default/GoodsList/ui/AddRowButton/index.tsx +72 -72
  155. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.less +21 -21
  156. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +244 -244
  157. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useCommodityComparisonButton/index.tsx +75 -75
  158. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +69 -69
  159. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useEndowCodeButton/index.tsx +65 -65
  160. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useMergeDetails/index.tsx +91 -91
  161. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useMergeDiscount/index.tsx +36 -36
  162. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useSalesDiscount/index.tsx +109 -109
  163. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useSalesGifts/index.tsx +94 -94
  164. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/index.tsx +37 -37
  165. package/src/Invoice/ui/default/GoodsList/ui/DescribeSwitch/index.tsx +36 -36
  166. package/src/Invoice/ui/default/GoodsList/ui/Search/index.less +10 -10
  167. package/src/Invoice/ui/default/GoodsList/ui/Search/index.tsx +52 -52
  168. package/src/Invoice/ui/default/GoodsList/ui/Statistics/index.less +18 -18
  169. package/src/Invoice/ui/default/GoodsList/ui/Statistics/index.tsx +114 -114
  170. package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.less +40 -40
  171. package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.tsx +71 -71
  172. package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.less +38 -38
  173. package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.tsx +130 -130
  174. package/src/Invoice/ui/default/GoodsList/ui/TableVirtual.o/index.less +44 -44
  175. package/src/Invoice/ui/default/GoodsList/ui/TableVirtual.o/index.tsx +96 -96
  176. package/src/Invoice/ui/default/GoodsList/ui/TaxIncludedSwitch/index.tsx +31 -31
  177. package/src/Invoice/ui/default/ImportBuyerDrawer/index.tsx +75 -75
  178. package/src/Invoice/ui/default/ImportGoodsDrawer/index.tsx +207 -207
  179. package/src/Invoice/ui/default/InvoiceHeader/index.less +68 -68
  180. package/src/Invoice/ui/default/InvoiceHeader/index.tsx +246 -246
  181. package/src/Invoice/ui/default/MeiTanModal/index.less +39 -39
  182. package/src/Invoice/ui/default/MeiTanModal/index.tsx +165 -165
  183. package/src/Invoice/ui/default/Seller/index.less +113 -113
  184. package/src/Invoice/ui/default/Seller/index.tsx +98 -98
  185. package/src/Invoice/ui/default/Sign/index.less +14 -14
  186. package/src/Invoice/ui/default/Sign/index.tsx +71 -71
  187. package/src/Invoice/ui/digtal/Architecture/index.less +22 -22
  188. package/src/Invoice/ui/digtal/Architecture/index.tsx +227 -227
  189. package/src/Invoice/ui/digtal/FreightList/hook/useColumns/dist/index.js +616 -616
  190. package/src/Invoice/ui/digtal/FreightList/hook/useColumns/index.tsx +246 -246
  191. package/src/Invoice/ui/digtal/FreightList/hook/useColumns/ui/TitleText/index.tsx +20 -20
  192. package/src/Invoice/ui/digtal/FreightList/hook/useOnRow/index.tsx +37 -37
  193. package/src/Invoice/ui/digtal/FreightList/hook/useRowSelection/index.tsx +119 -119
  194. package/src/Invoice/ui/digtal/FreightList/hook/useWindowClick/index.tsx +23 -23
  195. package/src/Invoice/ui/digtal/FreightList/index.less +72 -72
  196. package/src/Invoice/ui/digtal/FreightList/index.tsx +129 -129
  197. package/src/Invoice/ui/digtal/FreightList/ui/AddRowButton/index.tsx +74 -74
  198. package/src/Invoice/ui/digtal/FreightList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +50 -50
  199. package/src/Invoice/ui/digtal/FreightList/ui/BulkMenu/hooks/useEmptyRefill/index.tsx +36 -36
  200. package/src/Invoice/ui/digtal/FreightList/ui/TableRow/index.less +28 -28
  201. package/src/Invoice/ui/digtal/FreightList/ui/TableRow/index.tsx +20 -20
  202. package/src/Invoice/ui/digtal/FreightList/ui/TableVirtual/index.less +38 -38
  203. package/src/Invoice/ui/digtal/FreightList/ui/TableVirtual/index.tsx +108 -108
  204. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/autoFillFn/index.ts +690 -690
  205. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/dist/index.js +616 -616
  206. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/index.tsx +720 -720
  207. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/svg/plus.svg +11 -11
  208. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.less +20 -20
  209. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.tsx +205 -205
  210. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/ItemNameInput/index.less +9 -9
  211. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +87 -87
  212. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowEditButton/index.tsx +30 -30
  213. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/_useAddComparison/index.tsx +43 -43
  214. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.tsx +76 -76
  215. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx +41 -41
  216. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.tsx +34 -34
  217. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/index.less +13 -13
  218. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +98 -98
  219. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowSaveButton/index.tsx +14 -14
  220. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/TitleText/index.tsx +20 -20
  221. package/src/Invoice/ui/digtal/GoodsList/hook/useOnRow/index.tsx +51 -51
  222. package/src/Invoice/ui/digtal/GoodsList/hook/useRowSelection/index.tsx +121 -121
  223. package/src/Invoice/ui/digtal/GoodsList/hook/useWindowClick/index.tsx +23 -23
  224. package/src/Invoice/ui/digtal/GoodsList/index.less +56 -56
  225. package/src/Invoice/ui/digtal/GoodsList/index.tsx +181 -181
  226. package/src/Invoice/ui/digtal/GoodsList/ui/AddRowButton/index.tsx +87 -87
  227. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +340 -340
  228. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/svg/add.svg +11 -11
  229. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useCommodityComparisonButton/index.tsx +75 -75
  230. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +50 -50
  231. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useEmptyRefill/index.tsx +37 -37
  232. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useEndowCodeButton/index.tsx +82 -82
  233. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useReselectInvoiceType/index.tsx +57 -57
  234. package/src/Invoice/ui/digtal/GoodsList/ui/DescribeSwitch/index.tsx +36 -36
  235. package/src/Invoice/ui/digtal/GoodsList/ui/Search/index.less +11 -11
  236. package/src/Invoice/ui/digtal/GoodsList/ui/Search/index.tsx +60 -60
  237. package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/index.less +53 -53
  238. package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/index.tsx +100 -100
  239. package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/svg/fork.svg +11 -11
  240. package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.less +28 -28
  241. package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.tsx +52 -52
  242. package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual/index.less +38 -38
  243. package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual/index.tsx +113 -113
  244. package/src/Invoice/ui/digtal/GoodsList/ui/TaxIncludedSwitch/index.tsx +34 -34
  245. package/src/Invoice/ui/digtal/InvoiceHeader/index.less +57 -57
  246. package/src/Invoice/ui/digtal/InvoiceHeader/index.tsx +77 -77
  247. package/src/Invoice/ui/digtal/PayList/hook/useColumns/dist/index.js +616 -616
  248. package/src/Invoice/ui/digtal/PayList/hook/useColumns/index.tsx +168 -168
  249. package/src/Invoice/ui/digtal/PayList/hook/useColumns/ui/TitleText/index.tsx +20 -20
  250. package/src/Invoice/ui/digtal/PayList/hook/useOnRow/index.tsx +37 -37
  251. package/src/Invoice/ui/digtal/PayList/hook/useRowSelection/index.tsx +119 -119
  252. package/src/Invoice/ui/digtal/PayList/hook/useWindowClick/index.tsx +19 -19
  253. package/src/Invoice/ui/digtal/PayList/index.less +72 -72
  254. package/src/Invoice/ui/digtal/PayList/index.tsx +132 -132
  255. package/src/Invoice/ui/digtal/PayList/ui/AddRowButton/index.tsx +74 -74
  256. package/src/Invoice/ui/digtal/PayList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +50 -50
  257. package/src/Invoice/ui/digtal/PayList/ui/BulkMenu/hooks/useEmptyRefill/index.tsx +36 -36
  258. package/src/Invoice/ui/digtal/PayList/ui/TableRow/index.less +28 -28
  259. package/src/Invoice/ui/digtal/PayList/ui/TableRow/index.tsx +20 -20
  260. package/src/Invoice/ui/digtal/PayList/ui/TableVirtual/index.less +38 -38
  261. package/src/Invoice/ui/digtal/PayList/ui/TableVirtual/index.tsx +108 -108
  262. package/src/Invoice/ui/digtal/RealEstateInfo/index.less +21 -21
  263. package/src/Invoice/ui/digtal/RealEstateInfo/index.tsx +451 -451
  264. package/src/Invoice/ui/digtal/RealEstateSales/index.less +21 -21
  265. package/src/Invoice/ui/digtal/RealEstateSales/index.tsx +301 -301
  266. package/src/Invoice/ui/digtal/Sign/index.less +48 -48
  267. package/src/Invoice/ui/digtal/Sign/index.tsx +99 -99
  268. package/src/Invoice/ui/digtal/StakeFarmerholder/index.less +99 -99
  269. package/src/Invoice/ui/digtal/StakeFarmerholder/index.tsx +1102 -1102
  270. package/src/Invoice/ui/digtal/StakeFarmerholder/svg/arrowDown.svg +2 -2
  271. package/src/Invoice/ui/digtal/StakeFarmerholder/svg/arrowUp.svg +2 -2
  272. package/src/Invoice/ui/digtal/StakeFarmerholder/svg/plus.svg +11 -11
  273. package/src/Invoice/ui/digtal/Stakeholder/index.less +99 -99
  274. package/src/Invoice/ui/digtal/Stakeholder/index.tsx +458 -453
  275. package/src/Invoice/ui/digtal/Stakeholder/svg/arrowDown.svg +2 -2
  276. package/src/Invoice/ui/digtal/Stakeholder/svg/arrowUp.svg +2 -2
  277. package/src/Invoice/ui/digtal/Stakeholder/svg/plus.svg +11 -11
  278. package/src/InvoiceTypeModal/_test/easiest/index.tsx +31 -31
  279. package/src/InvoiceTypeModal/dist/index.js +92 -92
  280. package/src/InvoiceTypeModal/index.less +7 -7
  281. package/src/InvoiceTypeModal/index.md +5 -5
  282. package/src/InvoiceTypeModal/index.tsx +161 -161
  283. package/src/TaxClassificationCodeModal/_test/easiest/index.tsx +184 -184
  284. package/src/TaxClassificationCodeModal/index.less +17 -17
  285. package/src/TaxClassificationCodeModal/index.md +6 -6
  286. package/src/TaxClassificationCodeModal/index.tsx +152 -152
  287. package/src/index.ts +13 -13
  288. package/tsconfig.json +31 -31
  289. package/typings.d.ts +3 -3
@@ -1,1635 +1,1635 @@
1
-
2
- import React from 'react';
3
- import { Button } from 'kts-components-antd-x3/lib/radio';
4
- import { Invoice } from '../../../..';
5
- import { IGetBuyerListOption } from '../../../../Invoice/InvoiceController/InvoiceControllerState/BuyerState';
6
-
7
- const InvoiceController = Invoice.InvoiceController
8
-
9
- export default () => {
10
-
11
- // 初始化控制器
12
- const controller = React.useMemo(() => new MyInvoiceController(), []);
13
-
14
- React.useEffect(() => {
15
- controller.run(async s => {
16
- // 设置数量单价计算小数位
17
- s.calculatingDigits = 13;
18
-
19
- // 设置数量金额计算小数位
20
- s.priceIntegerDigit = 14;
21
-
22
- s.goodsListState.isRecalculateWhenSwitchTax = true;
23
- })
24
- }, [controller])
25
-
26
- return (
27
- <>
28
- <Button style={{ marginBottom: 10 }} onClick={async () => { console.log('===> 当前组件状态', await controller.validateFields()); }} >获取数据</Button>
29
- <Invoice controller={controller} invoiceType='digtal' />
30
- </>
31
- );
32
- };
33
-
34
- // 重写 购买方 的数据源,实现 ‘获取 购买方 列表’ 方法
35
- class MyInvoiceController extends InvoiceController {
36
- constructor() {
37
- super();
38
-
39
- this.state.autoComplete.onItemNameBlur = async (value: any) => {
40
- console.log(value, 'onBuyerNameBlur - Blur');
41
-
42
- return [
43
- // {
44
- // "taxCategoryCode": "1030206030000000000",
45
- // "productName": "醋及醋代用品",
46
- // "shorthand": "调味品",
47
- // "id": null,
48
- // "specification": null,
49
- // "createTime": null,
50
- // "status": 1,
51
- // "versionCode": "48.0",
52
- // "version": "32.0",
53
- // "startTime": "20190401",
54
- // "endTime": null,
55
- // "cargo": null,
56
- // "desc": null,
57
- // "taxRate": "13%",
58
- // "keyword": "食醋、米醋、酒醋、啤酒醋、麦芽醋、酒精醋、水果醋、醋精",
59
- // "summarizedItem": "N",
60
- // "countCode": null,
61
- // "customsItem": null,
62
- // "updateTime": null,
63
- // "hzx": null,
64
- // "children": null,
65
- // "vatspecialManagement": "",
66
- // "pid": "1030206000000000000",
67
- // "vatpolicyBasis": null,
68
- // "vatspecialManagementCode": "",
69
- // "gstpolicyBasisCode": null,
70
- // "gstspecialManagement": null,
71
- // "gstpolicyBasis": null
72
- // },
73
- {
74
- "attributeVOList": null,
75
- "productName": '原煤',
76
- "name": null,
77
- "productCode": "0003",
78
- "shorthand": "小型起重设备",
79
- "id": "10881474649024102400167947617243",
80
- "specification": null,
81
- "categoryId": "10688389540499947520167487266471",
82
- "categoryName": "水果",
83
- "internalNumber": null,
84
- "taxCategoryName": "轻小型起重设备配套件",
85
- "referenceAmount": null,
86
- "priceAmount": 200.000,
87
- "taxId": null,
88
- "taxRate": null,
89
- "brandName": null,
90
- "buyGroupCode": null,
91
- "buyGroupId": null,
92
- "buyGroupName": null,
93
- "categoryId": 2073,
94
- "categoryName": "通用",
95
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
96
- "createTime": "2021-09-10 15:45:43.0",
97
- "enjoyPreferentialPolicies": 0,
98
- "factoryCode": null,
99
- "factoryId": null,
100
- "factoryName": null,
101
- "id": 146200,
102
- "internalNumber": "发动机盖",
103
- "isUalityInspection": null,
104
- "name": "原煤",
105
- "preferentialPoliciesType": null,
106
- "priceAmount": 50,
107
- "procurementCycle": 0,
108
- "shorthand": "煤炭",
109
- "specification": "abc",
110
- "spuCode": "6000001738252675",
111
- "status": 1,
112
- "taxCategoryCode": "1020101000000000000",
113
- "taxExemptionType": "",
114
- "taxId": 11,
115
- "taxRate": null,
116
- "unitId": 30,
117
- "unitName": "件",
118
- "itemType": "通用",
119
- "itemNo": "6000001738252675",
120
- "itemName": "原煤",
121
- "itemCode": "123123",
122
- "itemModelName": "abc",
123
- "unit": "件",
124
- "priceIncludeTax": 50,
125
- "priceExcludeTax": 50,
126
- "taxClassificationCode": "1020101000000000000"
127
- },
128
- ]
129
- };
130
-
131
- this.state.autoComplete.onItemNameSearch = async (value: any) => {
132
- console.log('===> onItemNameSearch')
133
- const data = [
134
- {
135
- "attributeVOList": null,
136
- "productName": '原煤',
137
- "brandName": null,
138
- "buyGroupCode": null,
139
- "buyGroupId": null,
140
- "buyGroupName": null,
141
- "categoryId": 2073,
142
- "categoryName": "通用",
143
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
144
- "createTime": "2021-09-10 15:45:43.0",
145
- "enjoyPreferentialPolicies": 0,
146
- "factoryCode": null,
147
- "factoryId": null,
148
- "factoryName": null,
149
- "id": 146200,
150
- "internalNumber": "发动机盖",
151
- "isUalityInspection": null,
152
- "name": "原煤",
153
- "preferentialPoliciesType": null,
154
- "priceAmount": 50,
155
- "procurementCycle": 0,
156
- "shorthand": "发动机",
157
- "specification": "abc",
158
- "spuCode": "6000001738252675",
159
- "status": 1,
160
- "taxCategoryCode": "1020101000000000000",
161
- "taxExemptionType": "",
162
- "taxId": 11,
163
- "taxRate": null,
164
- "unitId": 30,
165
- "unitName": "件",
166
- "itemType": "通用",
167
- "itemNo": "6000001738252675",
168
- "itemName": "原煤",
169
- "itemCode": "123123",
170
- "itemModelName": "abc",
171
- "unit": "件",
172
- "priceIncludeTax": 50,
173
- "priceExcludeTax": 50,
174
- "taxClassificationCode": "1020101000000000000"
175
- },
176
- {
177
- "taxCategoryCode": "1090111090000000000",
178
- "productName": "uuuuuu",
179
- "name": null,
180
- "productCode": "0003",
181
- "shorthand": "小型起重设备",
182
- "id": "10881474649024102400167947617243",
183
- "specification": 1,
184
- "categoryId": "10688389540499947520167487266471",
185
- "categoryName": "水果",
186
- "internalNumber": 1,
187
- "taxCategoryName": "轻小型起重设备配套件",
188
- "referenceAmount": 1,
189
- "priceAmount": 200.00000000000000000000,
190
- "taxId": null,
191
- "taxRate": 1,
192
- "unitId": null,
193
- "unitName": null,
194
- "taxExemptionType": null,
195
- "enjoyPreferentialPolicies": 0,
196
- "preferentialPoliciesType": null,
197
- "productStatus": 1,
198
- "specialGoodsMark": "",
199
- "lineAmountIncludeTax":1,
200
- "lineAmountExcludeTax":2,
201
- "taxAmount":2,
202
- "createTime": "2023-03-22 17:09:32",
203
- "updateTime": "2023-03-22 17:09:32"
204
- },{
205
- "taxCategoryCode": "1090111090000000000",
206
- "productName": "苹果",
207
- "name": null,
208
- "productCode": "0003",
209
- "shorthand": "小型起重设备",
210
- "id": "10881474649024102400167947617243",
211
- "specification": null,
212
- "categoryId": "10688389540499947520167487266471",
213
- "categoryName": "水果",
214
- "internalNumber": null,
215
- "taxCategoryName": "轻小型起重设备配套件",
216
- "referenceAmount": null,
217
- "priceAmount": 200.00000000000000000000,
218
- "taxId": null,
219
- "taxRate": null,
220
- "unitId": null,
221
- "unitName": null,
222
- "taxExemptionType": null,
223
- "enjoyPreferentialPolicies": 0,
224
- "preferentialPoliciesType": null,
225
- "productStatus": 1,
226
- "specialGoodsMark": "",
227
- "createTime": "2023-03-22 17:09:32",
228
- "updateTime": "2023-03-22 17:09:32"
229
- },{
230
- "taxCategoryCode": "1090111090000000000",
231
- "productName": "苹果",
232
- "name": null,
233
- "productCode": "0003",
234
- "shorthand": "小型起重设备",
235
- "id": "10881474649024102400167947617243",
236
- "specification": null,
237
- "categoryId": "10688389540499947520167487266471",
238
- "categoryName": "水果",
239
- "internalNumber": null,
240
- "taxCategoryName": "轻小型起重设备配套件",
241
- "referenceAmount": null,
242
- "priceAmount": 200.00000000000000000000,
243
- "taxId": null,
244
- "taxRate": null,
245
- "unitId": null,
246
- "unitName": null,
247
- "taxExemptionType": null,
248
- "enjoyPreferentialPolicies": 0,
249
- "preferentialPoliciesType": null,
250
- "productStatus": 1,
251
- "specialGoodsMark": "",
252
- "createTime": "2023-03-22 17:09:32",
253
- "updateTime": "2023-03-22 17:09:32"
254
- },{
255
- "taxCategoryCode": "1090111090000000000",
256
- "productName": "zzzzz",
257
- "name": null,
258
- "productCode": "0003",
259
- "shorthand": "小型起重设备",
260
- "id": "10881474649024102400167947617243",
261
- "specification": null,
262
- "categoryId": "10688389540499947520167487266471",
263
- "categoryName": "水果",
264
- "internalNumber": null,
265
- "taxCategoryName": "轻小型起重设备配套件",
266
- "referenceAmount": null,
267
- "priceAmount": 200.00000000000000000000,
268
- "taxId": null,
269
- "taxRate": null,
270
- "unitId": null,
271
- "unitName": null,
272
- "taxExemptionType": null,
273
- "enjoyPreferentialPolicies": 0,
274
- "preferentialPoliciesType": null,
275
- "productStatus": 1,
276
- "specialGoodsMark": "",
277
- "createTime": "2023-03-22 17:09:32",
278
- "updateTime": "2023-03-22 17:09:32"
279
- },{
280
- "taxCategoryCode": "1090111090000000000",
281
- "productName": "cccccc",
282
- "name": null,
283
- "productCode": "0003",
284
- "shorthand": "小型起重设备",
285
- "id": "10881474649024102400167947617243",
286
- "specification": null,
287
- "categoryId": "10688389540499947520167487266471",
288
- "categoryName": "水果",
289
- "internalNumber": null,
290
- "taxCategoryName": "轻小型起重设备配套件",
291
- "referenceAmount": null,
292
- "priceAmount": 200.00000000000000000000,
293
- "taxId": null,
294
- "taxRate": null,
295
- "unitId": null,
296
- "unitName": null,
297
- "taxExemptionType": null,
298
- "enjoyPreferentialPolicies": 0,
299
- "preferentialPoliciesType": null,
300
- "productStatus": 1,
301
- "specialGoodsMark": "",
302
- "createTime": "2023-03-22 17:09:32",
303
- "updateTime": "2023-03-22 17:09:32"
304
- },{
305
- "taxCategoryCode": "1090111090000000000",
306
- "productName": "qqqqqq",
307
- "name": null,
308
- "productCode": "0003",
309
- "shorthand": "小型起重设备",
310
- "id": "10881474649024102400167947617243",
311
- "specification": null,
312
- "categoryId": "10688389540499947520167487266471",
313
- "categoryName": "水果",
314
- "internalNumber": null,
315
- "taxCategoryName": "轻小型起重设备配套件",
316
- "referenceAmount": null,
317
- "priceAmount": 200.00000000000000000000,
318
- "taxId": null,
319
- "taxRate": null,
320
- "unitId": null,
321
- "unitName": null,
322
- "taxExemptionType": null,
323
- "enjoyPreferentialPolicies": 0,
324
- "preferentialPoliciesType": null,
325
- "productStatus": 1,
326
- "specialGoodsMark": "",
327
- "createTime": "2023-03-22 17:09:32",
328
- "updateTime": "2023-03-22 17:09:32"
329
- },{
330
- "taxCategoryCode": "1090111090000000000",
331
- "productName": "wwwww",
332
- "name": null,
333
- "productCode": "0003",
334
- "shorthand": "小型起重设备",
335
- "id": "10881474649024102400167947617243",
336
- "specification": null,
337
- "categoryId": "10688389540499947520167487266471",
338
- "categoryName": "水果",
339
- "internalNumber": null,
340
- "taxCategoryName": "轻小型起重设备配套件",
341
- "referenceAmount": null,
342
- "priceAmount": 200.00000000000000000000,
343
- "taxId": null,
344
- "taxRate": null,
345
- "unitId": null,
346
- "unitName": null,
347
- "taxExemptionType": null,
348
- "enjoyPreferentialPolicies": 0,
349
- "preferentialPoliciesType": null,
350
- "productStatus": 1,
351
- "specialGoodsMark": "",
352
- "createTime": "2023-03-22 17:09:32",
353
- "updateTime": "2023-03-22 17:09:32"
354
- },{
355
- "taxCategoryCode": "1090111090000000000",
356
- "productName": "eeeee",
357
- "name": null,
358
- "productCode": "0003",
359
- "shorthand": "小型起重设备",
360
- "id": "10881474649024102400167947617243",
361
- "specification": null,
362
- "categoryId": "10688389540499947520167487266471",
363
- "categoryName": "水果",
364
- "internalNumber": null,
365
- "taxCategoryName": "轻小型起重设备配套件",
366
- "referenceAmount": null,
367
- "priceAmount": 200.00000000000000000000,
368
- "taxId": null,
369
- "taxRate": null,
370
- "unitId": null,
371
- "unitName": null,
372
- "taxExemptionType": null,
373
- "enjoyPreferentialPolicies": 0,
374
- "preferentialPoliciesType": null,
375
- "productStatus": 1,
376
- "specialGoodsMark": "",
377
- "createTime": "2023-03-22 17:09:32",
378
- "updateTime": "2023-03-22 17:09:32"
379
- },{
380
- "taxCategoryCode": "1090111090000000000",
381
- "productName": "rrrrrr",
382
- "name": null,
383
- "productCode": "0003",
384
- "shorthand": "小型起重设备",
385
- "id": "10881474649024102400167947617243",
386
- "specification": null,
387
- "categoryId": "10688389540499947520167487266471",
388
- "categoryName": "水果",
389
- "internalNumber": null,
390
- "taxCategoryName": "轻小型起重设备配套件",
391
- "referenceAmount": null,
392
- "priceAmount": 200.00000000000000000000,
393
- "taxId": null,
394
- "taxRate": null,
395
- "unitId": null,
396
- "unitName": null,
397
- "taxExemptionType": null,
398
- "enjoyPreferentialPolicies": 0,
399
- "preferentialPoliciesType": null,
400
- "productStatus": 1,
401
- "specialGoodsMark": "",
402
- "createTime": "2023-03-22 17:09:32",
403
- "updateTime": "2023-03-22 17:09:32"
404
- },{
405
- "taxCategoryCode": "1090111090000000000",
406
- "productName": "tttttt",
407
- "name": null,
408
- "productCode": "0003",
409
- "shorthand": "小型起重设备",
410
- "id": "10881474649024102400167947617243",
411
- "specification": null,
412
- "categoryId": "10688389540499947520167487266471",
413
- "categoryName": "水果",
414
- "internalNumber": null,
415
- "taxCategoryName": "轻小型起重设备配套件",
416
- "referenceAmount": null,
417
- "priceAmount": 200.00000000000000000000,
418
- "taxId": null,
419
- "taxRate": null,
420
- "unitId": null,
421
- "unitName": null,
422
- "taxExemptionType": null,
423
- "enjoyPreferentialPolicies": 0,
424
- "preferentialPoliciesType": null,
425
- "productStatus": 1,
426
- "specialGoodsMark": "",
427
- "createTime": "2023-03-22 17:09:32",
428
- "updateTime": "2023-03-22 17:09:32"
429
- },{
430
- "taxCategoryCode": "1090111090000000000",
431
- "productName": "yyyy",
432
- "name": null,
433
- "productCode": "0003",
434
- "shorthand": "小型起重设备",
435
- "id": "10881474649024102400167947617243",
436
- "specification": null,
437
- "categoryId": "10688389540499947520167487266471",
438
- "categoryName": "水果",
439
- "internalNumber": null,
440
- "taxCategoryName": "轻小型起重设备配套件",
441
- "referenceAmount": null,
442
- "priceAmount": 200.00000000000000000000,
443
- "taxId": null,
444
- "taxRate": null,
445
- "unitId": null,
446
- "unitName": null,
447
- "taxExemptionType": null,
448
- "enjoyPreferentialPolicies": 0,
449
- "preferentialPoliciesType": null,
450
- "productStatus": 1,
451
- "specialGoodsMark": "",
452
- "createTime": "2023-03-22 17:09:32",
453
- "updateTime": "2023-03-22 17:09:32"
454
- },{
455
- "taxCategoryCode": "1090111090000000000",
456
- "productName": "uuuuu",
457
- "name": null,
458
- "productCode": "0003",
459
- "shorthand": "小型起重设备",
460
- "id": "10881474649024102400167947617243",
461
- "specification": null,
462
- "categoryId": "10688389540499947520167487266471",
463
- "categoryName": "水果",
464
- "internalNumber": null,
465
- "taxCategoryName": "轻小型起重设备配套件",
466
- "referenceAmount": null,
467
- "priceAmount": 200.00000000000000000000,
468
- "taxId": null,
469
- "taxRate": null,
470
- "unitId": null,
471
- "unitName": null,
472
- "taxExemptionType": null,
473
- "enjoyPreferentialPolicies": 0,
474
- "preferentialPoliciesType": null,
475
- "productStatus": 1,
476
- "specialGoodsMark": "",
477
- "createTime": "2023-03-22 17:09:32",
478
- "updateTime": "2023-03-22 17:09:32"
479
- },{
480
- "taxCategoryCode": "1090111090000000000",
481
- "productName": "iiiiii",
482
- "name": null,
483
- "productCode": "0003",
484
- "shorthand": "小型起重设备",
485
- "id": "10881474649024102400167947617243",
486
- "specification": null,
487
- "categoryId": "10688389540499947520167487266471",
488
- "categoryName": "水果",
489
- "internalNumber": null,
490
- "taxCategoryName": "轻小型起重设备配套件",
491
- "referenceAmount": null,
492
- "priceAmount": 200.00000000000000000000,
493
- "taxId": null,
494
- "taxRate": null,
495
- "unitId": null,
496
- "unitName": null,
497
- "taxExemptionType": null,
498
- "enjoyPreferentialPolicies": 0,
499
- "preferentialPoliciesType": null,
500
- "productStatus": 1,
501
- "specialGoodsMark": "",
502
- "createTime": "2023-03-22 17:09:32",
503
- "updateTime": "2023-03-22 17:09:32"
504
- }
505
- ];
506
-
507
- return data.map((item: any) =>{
508
- return {
509
- ...item,
510
- itemName:item.productName,
511
- taxClassificationCode:item.taxCategoryCode,
512
- itemModelName:item.specification,
513
- shorthand:item.shorthand,
514
- priceIncludeTax:item.priceAmount,
515
- unit:item.unitName,
516
- taxRate:item.taxRate,
517
- }
518
- })
519
- };
520
- this.state.goodsListState.endowCode.onSearchTaxClassificationCode = async (value: any) => {
521
- console.log(value, 'value-onSearchTaxClassificationCode');
522
-
523
- if(value === '1020199000000000000') {
524
- return [
525
- {
526
- "taxCategoryCode": "1020199000000000000",
527
- "productName": "其他煤炭",
528
- "shorthand": "其他煤炭",
529
- "id": null,
530
- "specification": null,
531
- "createTime": "Tue Jun 20 14:55:37 CST 2023",
532
- "status": 1,
533
- "versionCode": "48.0",
534
- "version": "32.0",
535
- "startTime": "20190401",
536
- "endTime": null,
537
- "cargo": null,
538
- "desc": null,
539
- "taxRate": "",
540
- "keyword": "金融服务",
541
- "summarizedItem": "Y",
542
- "countCode": null,
543
- "customsItem": null,
544
- "updateTime": "Tue Jun 20 14:55:37 CST 2023",
545
- "hzx": "Y",
546
- "children": null,
547
- "vatspecialManagement": "",
548
- "pid": "3000000000000000000",
549
- "vatpolicyBasis": null,
550
- "vatspecialManagementCode": "",
551
- "gstpolicyBasisCode": null,
552
- "gstspecialManagement": null,
553
- "gstpolicyBasis": null
554
- },
555
- ]
556
- }
557
- return [
558
- {
559
- "taxCategoryCode": "1030206030000000000",
560
- "productName": "醋及醋代用品",
561
- "shorthand": "调味品",
562
- "id": null,
563
- "specification": null,
564
- "createTime": null,
565
- "status": 1,
566
- "versionCode": "48.0",
567
- "version": "32.0",
568
- "startTime": "20190401",
569
- "endTime": null,
570
- "cargo": null,
571
- "desc": null,
572
- "taxRate": "13%",
573
- "keyword": "食醋、米醋、酒醋、啤酒醋、麦芽醋、酒精醋、水果醋、醋精",
574
- "summarizedItem": "N",
575
- "countCode": null,
576
- "customsItem": null,
577
- "updateTime": null,
578
- "hzx": null,
579
- "children": null,
580
- "vatspecialManagement": "",
581
- "pid": "1030206000000000000",
582
- "vatpolicyBasis": null,
583
- "vatspecialManagementCode": "",
584
- "gstpolicyBasisCode": null,
585
- "gstspecialManagement": null,
586
- "gstpolicyBasis": null
587
- }
588
- ]
589
- };
590
-
591
- this.state.goodsListState.endowCode.onLoadTaxClassificationCode = async (value: any) => {
592
- console.log(value, 'value-onSearchTaxClassificationCode');
593
- if(value === '1020199000000000000') {
594
- return [
595
- {
596
- "taxCategoryCode": "1020199000000000000",
597
- "productName": "其他煤炭",
598
- "shorthand": "其他煤炭",
599
- "id": null,
600
- "specification": null,
601
- "createTime": "Tue Jun 20 14:55:37 CST 2023",
602
- "status": 1,
603
- "versionCode": "48.0",
604
- "version": "32.0",
605
- "startTime": "20190401",
606
- "endTime": null,
607
- "cargo": null,
608
- "desc": null,
609
- "taxRate": "",
610
- "keyword": "金融服务",
611
- "summarizedItem": "Y",
612
- "countCode": null,
613
- "customsItem": null,
614
- "updateTime": "Tue Jun 20 14:55:37 CST 2023",
615
- "hzx": "Y",
616
- "children": null,
617
- "vatspecialManagement": "",
618
- "pid": "3000000000000000000",
619
- "vatpolicyBasis": null,
620
- "vatspecialManagementCode": "",
621
- "gstpolicyBasisCode": null,
622
- "gstspecialManagement": null,
623
- "gstpolicyBasis": null
624
- },
625
- ]
626
- }
627
- if(value === '3000000000000000000') {
628
- return [
629
- {
630
- "taxCategoryCode": "3060000000000000000",
631
- "productName": "金融服务",
632
- "shorthand": "金融服务",
633
- "id": null,
634
- "specification": null,
635
- "createTime": "Tue Jun 20 14:55:37 CST 2023",
636
- "status": 1,
637
- "versionCode": "48.0",
638
- "version": "32.0",
639
- "startTime": "20190401",
640
- "endTime": null,
641
- "cargo": null,
642
- "desc": null,
643
- "taxRate": "",
644
- "keyword": "金融服务",
645
- "summarizedItem": "Y",
646
- "countCode": null,
647
- "customsItem": null,
648
- "updateTime": "Tue Jun 20 14:55:37 CST 2023",
649
- "hzx": "Y",
650
- "children": null,
651
- "vatspecialManagement": "",
652
- "pid": "3000000000000000000",
653
- "vatpolicyBasis": null,
654
- "vatspecialManagementCode": "",
655
- "gstpolicyBasisCode": null,
656
- "gstspecialManagement": null,
657
- "gstpolicyBasis": null
658
- },
659
- {
660
- "taxCategoryCode": "3070000000000000000",
661
- "productName": "生活服务",
662
- "shorthand": "生活服务",
663
- "id": null,
664
- "specification": null,
665
- "createTime": "Tue Jun 20 14:57:32 CST 2023",
666
- "status": 1,
667
- "versionCode": "48.0",
668
- "version": "32.0",
669
- "startTime": "20190401",
670
- "endTime": null,
671
- "cargo": null,
672
- "desc": null,
673
- "taxRate": "",
674
- "keyword": "",
675
- "summarizedItem": "Y",
676
- "countCode": null,
677
- "customsItem": null,
678
- "updateTime": "Tue Jun 20 14:57:32 CST 2023",
679
- "hzx": "Y",
680
- "children": null,
681
- "vatspecialManagement": "",
682
- "pid": "3000000000000000000",
683
- "vatpolicyBasis": null,
684
- "vatspecialManagementCode": "",
685
- "gstpolicyBasisCode": null,
686
- "gstspecialManagement": null,
687
- "gstpolicyBasis": null
688
- },
689
- {
690
- "taxCategoryCode": "3030000000000000000",
691
- "productName": "电信服务",
692
- "shorthand": "电信服务",
693
- "id": null,
694
- "specification": null,
695
- "createTime": "Tue Jun 20 14:56:43 CST 2023",
696
- "status": 1,
697
- "versionCode": "48.0",
698
- "version": "32.0",
699
- "startTime": "20190401",
700
- "endTime": null,
701
- "cargo": null,
702
- "desc": null,
703
- "taxRate": "",
704
- "keyword": "电信服务",
705
- "summarizedItem": "Y",
706
- "countCode": null,
707
- "customsItem": null,
708
- "updateTime": "Tue Jun 20 14:56:43 CST 2023",
709
- "hzx": "Y",
710
- "children": null,
711
- "vatspecialManagement": "",
712
- "pid": "3000000000000000000",
713
- "vatpolicyBasis": null,
714
- "vatspecialManagementCode": "",
715
- "gstpolicyBasisCode": null,
716
- "gstspecialManagement": null,
717
- "gstpolicyBasis": null
718
- },
719
- {
720
- "taxCategoryCode": "3020000000000000000",
721
- "productName": "邮政服务",
722
- "shorthand": "邮政服务",
723
- "id": null,
724
- "specification": null,
725
- "createTime": "Tue Jun 20 14:56:38 CST 2023",
726
- "status": 1,
727
- "versionCode": "48.0",
728
- "version": "32.0",
729
- "startTime": "20190401",
730
- "endTime": null,
731
- "cargo": null,
732
- "desc": null,
733
- "taxRate": "",
734
- "keyword": "",
735
- "summarizedItem": "Y",
736
- "countCode": null,
737
- "customsItem": null,
738
- "updateTime": "Tue Jun 20 14:56:38 CST 2023",
739
- "hzx": "Y",
740
- "children": null,
741
- "vatspecialManagement": "",
742
- "pid": "3000000000000000000",
743
- "vatpolicyBasis": null,
744
- "vatspecialManagementCode": "",
745
- "gstpolicyBasisCode": null,
746
- "gstspecialManagement": null,
747
- "gstpolicyBasis": null
748
- },
749
- {
750
- "taxCategoryCode": "3010000000000000000",
751
- "productName": "交通运输服务",
752
- "shorthand": "运输服务",
753
- "id": null,
754
- "specification": null,
755
- "createTime": "Tue Jun 20 14:56:17 CST 2023",
756
- "status": 1,
757
- "versionCode": "48.0",
758
- "version": "32.0",
759
- "startTime": "20190401",
760
- "endTime": null,
761
- "cargo": null,
762
- "desc": null,
763
- "taxRate": "",
764
- "keyword": "交通运输",
765
- "summarizedItem": "Y",
766
- "countCode": null,
767
- "customsItem": null,
768
- "updateTime": "Tue Jun 20 14:56:17 CST 2023",
769
- "hzx": "Y",
770
- "children": null,
771
- "vatspecialManagement": "",
772
- "pid": "3000000000000000000",
773
- "vatpolicyBasis": null,
774
- "vatspecialManagementCode": "",
775
- "gstpolicyBasisCode": null,
776
- "gstspecialManagement": null,
777
- "gstpolicyBasis": null
778
- },
779
- {
780
- "taxCategoryCode": "3050000000000000000",
781
- "productName": "建筑服务",
782
- "shorthand": "建筑服务",
783
- "id": null,
784
- "specification": null,
785
- "createTime": "Tue Jun 20 14:55:29 CST 2023",
786
- "status": 1,
787
- "versionCode": "48.0",
788
- "version": "32.0",
789
- "startTime": "20190401",
790
- "endTime": null,
791
- "cargo": null,
792
- "desc": null,
793
- "taxRate": "",
794
- "keyword": "",
795
- "summarizedItem": "Y",
796
- "countCode": null,
797
- "customsItem": null,
798
- "updateTime": "Tue Jun 20 14:55:29 CST 2023",
799
- "hzx": "Y",
800
- "children": null,
801
- "vatspecialManagement": "",
802
- "pid": "3000000000000000000",
803
- "vatpolicyBasis": null,
804
- "vatspecialManagementCode": "",
805
- "gstpolicyBasisCode": null,
806
- "gstspecialManagement": null,
807
- "gstpolicyBasis": null
808
- },
809
- {
810
- "taxCategoryCode": "3040000000000000000",
811
- "productName": "现代服务",
812
- "shorthand": "现代服务",
813
- "id": null,
814
- "specification": null,
815
- "createTime": "Tue Jun 20 14:54:17 CST 2023",
816
- "status": 1,
817
- "versionCode": "48.0",
818
- "version": "32.0",
819
- "startTime": "20190401",
820
- "endTime": null,
821
- "cargo": null,
822
- "desc": null,
823
- "taxRate": "",
824
- "keyword": "",
825
- "summarizedItem": "Y",
826
- "countCode": null,
827
- "customsItem": null,
828
- "updateTime": "Tue Jun 20 14:54:17 CST 2023",
829
- "hzx": "Y",
830
- "children": null,
831
- "vatspecialManagement": "",
832
- "pid": "3000000000000000000",
833
- "vatpolicyBasis": null,
834
- "vatspecialManagementCode": "",
835
- "gstpolicyBasisCode": null,
836
- "gstspecialManagement": null,
837
- "gstpolicyBasis": null
838
- }
839
- ]
840
- } else if(value === '3060000000000000000') {
841
- return [
842
- {
843
- "taxCategoryCode": "3060100000000000000",
844
- "productName": "贷款服务",
845
- "shorthand": "金融服务",
846
- "id": null,
847
- "specification": null,
848
- "createTime": "Tue Jun 20 14:56:02 CST 2023",
849
- "status": 1,
850
- "versionCode": "48.0",
851
- "version": "32.0",
852
- "startTime": "20190401",
853
- "endTime": null,
854
- "cargo": null,
855
- "desc": null,
856
- "taxRate": "",
857
- "keyword": "贷款",
858
- "summarizedItem": "Y",
859
- "countCode": null,
860
- "customsItem": null,
861
- "updateTime": "Tue Jun 20 14:56:02 CST 2023",
862
- "hzx": "Y",
863
- "children": null,
864
- "vatspecialManagement": "",
865
- "pid": "3060000000000000000",
866
- "vatpolicyBasis": null,
867
- "vatspecialManagementCode": "",
868
- "gstpolicyBasisCode": null,
869
- "gstspecialManagement": null,
870
- "gstpolicyBasis": null
871
- },
872
- {
873
- "taxCategoryCode": "3060200000000000000",
874
- "productName": "直接收费金融服务",
875
- "shorthand": "金融服务",
876
- "id": null,
877
- "specification": null,
878
- "createTime": "Tue Jun 20 14:56:13 CST 2023",
879
- "status": 1,
880
- "versionCode": "48.0",
881
- "version": "32.0",
882
- "startTime": "20190401",
883
- "endTime": null,
884
- "cargo": null,
885
- "desc": null,
886
- "taxRate": "6%",
887
- "keyword": "货币兑换、账户管理、电子银行、信用卡、信用证、财务担保、资产管理、信托管理、基金管理、金融商品交易、资金结算、资金清算、金融支付",
888
- "summarizedItem": "N",
889
- "countCode": null,
890
- "customsItem": null,
891
- "updateTime": "Tue Jun 20 14:56:13 CST 2023",
892
- "hzx": "N",
893
- "children": null,
894
- "vatspecialManagement": "",
895
- "pid": "3060000000000000000",
896
- "vatpolicyBasis": null,
897
- "vatspecialManagementCode": "",
898
- "gstpolicyBasisCode": null,
899
- "gstspecialManagement": null,
900
- "gstpolicyBasis": null
901
- },
902
- {
903
- "taxCategoryCode": "3060300000000000000",
904
- "productName": "保险服务",
905
- "shorthand": "金融服务",
906
- "id": null,
907
- "specification": null,
908
- "createTime": "Tue Jun 20 14:55:47 CST 2023",
909
- "status": 1,
910
- "versionCode": "48.0",
911
- "version": "32.0",
912
- "startTime": "20190401",
913
- "endTime": null,
914
- "cargo": null,
915
- "desc": null,
916
- "taxRate": "",
917
- "keyword": "",
918
- "summarizedItem": "Y",
919
- "countCode": null,
920
- "customsItem": null,
921
- "updateTime": "Tue Jun 20 14:55:47 CST 2023",
922
- "hzx": "Y",
923
- "children": null,
924
- "vatspecialManagement": "",
925
- "pid": "3060000000000000000",
926
- "vatpolicyBasis": null,
927
- "vatspecialManagementCode": "",
928
- "gstpolicyBasisCode": null,
929
- "gstspecialManagement": null,
930
- "gstpolicyBasis": null
931
- },
932
- {
933
- "taxCategoryCode": "3060400000000000000",
934
- "productName": "金融商品转让",
935
- "shorthand": "金融服务",
936
- "id": null,
937
- "specification": null,
938
- "createTime": "Tue Jun 20 14:54:38 CST 2023",
939
- "status": 1,
940
- "versionCode": "48.0",
941
- "version": "32.0",
942
- "startTime": "20190401",
943
- "endTime": null,
944
- "cargo": null,
945
- "desc": null,
946
- "taxRate": "",
947
- "keyword": "金融商品转让",
948
- "summarizedItem": "Y",
949
- "countCode": null,
950
- "customsItem": null,
951
- "updateTime": "Tue Jun 20 14:54:38 CST 2023",
952
- "hzx": "Y",
953
- "children": null,
954
- "vatspecialManagement": "",
955
- "pid": "3060000000000000000",
956
- "vatpolicyBasis": null,
957
- "vatspecialManagementCode": "",
958
- "gstpolicyBasisCode": null,
959
- "gstspecialManagement": null,
960
- "gstpolicyBasis": null
961
- }
962
- ]
963
- }else {
964
- return [
965
- {
966
- "taxCategoryCode": "3000000000000000000",
967
- "productName": "销售服务",
968
- "shorthand": "销售服务",
969
- "id": null,
970
- "specification": null,
971
- "createTime": "Tue Jun 20 14:56:46 CST 2023",
972
- "status": 1,
973
- "versionCode": "48.0",
974
- "version": "32.0",
975
- "startTime": "20190401",
976
- "endTime": null,
977
- "cargo": null,
978
- "desc": null,
979
- "taxRate": "",
980
- "keyword": "",
981
- "summarizedItem": "Y",
982
- "countCode": null,
983
- "customsItem": null,
984
- "updateTime": "Tue Jun 20 14:56:46 CST 2023",
985
- "hzx": "Y",
986
- "children": null,
987
- "vatspecialManagement": "",
988
- "pid": "0",
989
- "vatpolicyBasis": null,
990
- "vatspecialManagementCode": "",
991
- "gstpolicyBasisCode": null,
992
- "gstspecialManagement": null,
993
- "gstpolicyBasis": null
994
- },
995
- {
996
- "taxCategoryCode": "5000000000000000000",
997
- "productName": "不动产",
998
- "shorthand": "不动产",
999
- "id": null,
1000
- "specification": null,
1001
- "createTime": "Tue Jun 20 14:56:59 CST 2023",
1002
- "status": 1,
1003
- "versionCode": "48.0",
1004
- "version": "32.0",
1005
- "startTime": "20190401",
1006
- "endTime": null,
1007
- "cargo": null,
1008
- "desc": null,
1009
- "taxRate": "",
1010
- "keyword": "",
1011
- "summarizedItem": "Y",
1012
- "countCode": null,
1013
- "customsItem": null,
1014
- "updateTime": "Tue Jun 20 14:56:59 CST 2023",
1015
- "hzx": "Y",
1016
- "children": null,
1017
- "vatspecialManagement": "",
1018
- "pid": "0",
1019
- "vatpolicyBasis": null,
1020
- "vatspecialManagementCode": "",
1021
- "gstpolicyBasisCode": null,
1022
- "gstspecialManagement": null,
1023
- "gstpolicyBasis": null
1024
- },
1025
- {
1026
- "taxCategoryCode": "4000000000000000000",
1027
- "productName": "无形资产",
1028
- "shorthand": "无形资产",
1029
- "id": null,
1030
- "specification": null,
1031
- "createTime": "Tue Jun 20 14:53:36 CST 2023",
1032
- "status": 1,
1033
- "versionCode": "48.0",
1034
- "version": "32.0",
1035
- "startTime": "20190401",
1036
- "endTime": null,
1037
- "cargo": null,
1038
- "desc": null,
1039
- "taxRate": "",
1040
- "keyword": "",
1041
- "summarizedItem": "Y",
1042
- "countCode": null,
1043
- "customsItem": null,
1044
- "updateTime": "Tue Jun 20 14:53:36 CST 2023",
1045
- "hzx": "Y",
1046
- "children": null,
1047
- "vatspecialManagement": "",
1048
- "pid": "0",
1049
- "vatpolicyBasis": null,
1050
- "vatspecialManagementCode": "",
1051
- "gstpolicyBasisCode": null,
1052
- "gstspecialManagement": null,
1053
- "gstpolicyBasis": null
1054
- },
1055
- {
1056
- "taxCategoryCode": "1000000000000000000",
1057
- "productName": "货物",
1058
- "shorthand": "货物",
1059
- "id": null,
1060
- "specification": null,
1061
- "createTime": "Tue Jun 20 14:56:26 CST 2023",
1062
- "status": 1,
1063
- "versionCode": "48.0",
1064
- "version": "32.0",
1065
- "startTime": "20190401",
1066
- "endTime": null,
1067
- "cargo": null,
1068
- "desc": null,
1069
- "taxRate": "",
1070
- "keyword": "",
1071
- "summarizedItem": "Y",
1072
- "countCode": null,
1073
- "customsItem": null,
1074
- "updateTime": "Tue Jun 20 14:56:26 CST 2023",
1075
- "hzx": "Y",
1076
- "children": null,
1077
- "vatspecialManagement": "",
1078
- "pid": "0",
1079
- "vatpolicyBasis": null,
1080
- "vatspecialManagementCode": "",
1081
- "gstpolicyBasisCode": null,
1082
- "gstspecialManagement": null,
1083
- "gstpolicyBasis": null
1084
- },
1085
- {
1086
- "taxCategoryCode": "2000000000000000000",
1087
- "productName": "劳务",
1088
- "shorthand": "劳务",
1089
- "id": null,
1090
- "specification": null,
1091
- "createTime": "Tue Jun 20 14:56:38 CST 2023",
1092
- "status": 1,
1093
- "versionCode": "48.0",
1094
- "version": "32.0",
1095
- "startTime": "20190401",
1096
- "endTime": null,
1097
- "cargo": null,
1098
- "desc": null,
1099
- "taxRate": "",
1100
- "keyword": "",
1101
- "summarizedItem": "Y",
1102
- "countCode": null,
1103
- "customsItem": null,
1104
- "updateTime": "Tue Jun 20 14:56:38 CST 2023",
1105
- "hzx": "Y",
1106
- "children": null,
1107
- "vatspecialManagement": "",
1108
- "pid": "0",
1109
- "vatpolicyBasis": null,
1110
- "vatspecialManagementCode": "",
1111
- "gstpolicyBasisCode": null,
1112
- "gstspecialManagement": null,
1113
- "gstpolicyBasis": null
1114
- },
1115
- {
1116
- "taxCategoryCode": "6000000000000000000",
1117
- "productName": "未发生销售行为的不征税项目",
1118
- "shorthand": "不征税项目",
1119
- "id": null,
1120
- "specification": null,
1121
- "createTime": "Tue Jun 20 14:55:06 CST 2023",
1122
- "status": 1,
1123
- "versionCode": "48.0",
1124
- "version": "32.0",
1125
- "startTime": "20190401",
1126
- "endTime": null,
1127
- "cargo": null,
1128
- "desc": null,
1129
- "taxRate": "",
1130
- "keyword": "",
1131
- "summarizedItem": "Y",
1132
- "countCode": null,
1133
- "customsItem": null,
1134
- "updateTime": "Tue Jun 20 14:55:06 CST 2023",
1135
- "hzx": "Y",
1136
- "children": null,
1137
- "vatspecialManagement": "",
1138
- "pid": "0",
1139
- "vatpolicyBasis": null,
1140
- "vatspecialManagementCode": "",
1141
- "gstpolicyBasisCode": null,
1142
- "gstspecialManagement": null,
1143
- "gstpolicyBasis": null
1144
- }
1145
- ]
1146
- }
1147
- };
1148
-
1149
- }
1150
-
1151
- // 重写 的 获取商品列表
1152
- getGoodsList = this.pipeline<IGetBuyerListOption>(async (state, option) => {
1153
- if (!option) return;
1154
-
1155
- // 初始化测试数据
1156
- const dataSource = await getMok(option.pagination.current)
1157
-
1158
- // 设置分页数据
1159
- state.goodsListState.importGoods.pagination = {
1160
- ...option.pagination,
1161
- pageSize: 20,
1162
- total: 80,
1163
- };
1164
-
1165
- // 设置列表数据
1166
- state.goodsListState.importGoods.dataSource = dataSource;
1167
- });
1168
- }
1169
-
1170
- // const getMok = async (current: number = 1) => {
1171
- // const dataSource: any[] = [];
1172
- // for (let i = 0; i < 20; i++) {
1173
- // const p = i + 20 * (current - 1);
1174
- // dataSource.push({
1175
- // itemType: `商品分类${p}`,
1176
- // itemNo: `商品编码${p}`,
1177
- // itemName: `商品名称${p}`,
1178
- // shorthand: `前缀${p}`,
1179
- // itemModelName: `规格型号${p}`,
1180
- // unit: `计量单位${p}`,
1181
- // priceIncludeTax: p,
1182
- // priceExcludeTax: p,
1183
- // taxClassificationCode: `税收分类编码${p}`,
1184
- // affix: `附加信息${p}`,
1185
- // });
1186
- // }
1187
- // return dataSource;
1188
- // }
1189
-
1190
-
1191
- const getMok = async (current: number = 1) => {
1192
- return [
1193
- {
1194
- "attributeVOList": null,
1195
- "brandName": null,
1196
- "buyGroupCode": null,
1197
- "buyGroupId": null,
1198
- "buyGroupName": null,
1199
- "categoryId": 2073,
1200
- "categoryName": "通用",
1201
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1202
- "createTime": "2021-09-10 15:45:43.0",
1203
- "enjoyPreferentialPolicies": 0,
1204
- "factoryCode": null,
1205
- "factoryId": null,
1206
- "factoryName": null,
1207
- "id": 146200,
1208
- "internalNumber": "发动机盖",
1209
- "isUalityInspection": null,
1210
- "name": "原煤",
1211
- "preferentialPoliciesType": null,
1212
- "priceAmount": 50,
1213
- "procurementCycle": 0,
1214
- "shorthand": "发动机",
1215
- "specification": "abc",
1216
- "spuCode": "6000001738252675",
1217
- "status": 1,
1218
- "taxCategoryCode": "1020101000000000000",
1219
- "taxExemptionType": "",
1220
- "taxId": 11,
1221
- "taxRate": null,
1222
- "unitId": 30,
1223
- "unitName": "件",
1224
- "itemType": "通用",
1225
- "itemNo": "6000001738252675",
1226
- "itemName": "原煤",
1227
- "itemCode": "123123",
1228
- "itemModelName": "abc",
1229
- "unit": "件",
1230
- "priceIncludeTax": 50,
1231
- "priceExcludeTax": 50,
1232
- "taxClassificationCode": "1020101000000000000"
1233
- },
1234
- {
1235
- "attributeVOList": null,
1236
- "brandName": null,
1237
- "buyGroupCode": null,
1238
- "buyGroupId": null,
1239
- "buyGroupName": null,
1240
- "categoryId": 2073,
1241
- "categoryName": "通用",
1242
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1243
- "createTime": "2021-09-10 15:45:43.0",
1244
- "enjoyPreferentialPolicies": 0,
1245
- "factoryCode": null,
1246
- "factoryId": null,
1247
- "factoryName": null,
1248
- "id": 146200,
1249
- "internalNumber": "发动机盖",
1250
- "isUalityInspection": null,
1251
- "name": "发动机ABC",
1252
- "preferentialPoliciesType": null,
1253
- "priceAmount": 50,
1254
- "procurementCycle": 0,
1255
- "shorthand": "发动机",
1256
- "specification": "abc",
1257
- "spuCode": "6000001738252675",
1258
- "status": 1,
1259
- "taxCategoryCode": "1090102040000000000",
1260
- "taxExemptionType": "",
1261
- "taxId": 11,
1262
- "taxRate": 13,
1263
- "unitId": 30,
1264
- "unitName": "件",
1265
- "itemType": "通用",
1266
- "itemNo": "6000001738252675",
1267
- "itemName": "发动机ABC",
1268
- "itemModelName": "abc",
1269
- "unit": "件",
1270
- "priceIncludeTax": 50,
1271
- "priceExcludeTax": 50,
1272
- "taxClassificationCode": "1090102040000000000"
1273
- },
1274
- {
1275
- "attributeVOList": null,
1276
- "brandName": "丹东一号",
1277
- "buyGroupCode": null,
1278
- "buyGroupId": null,
1279
- "buyGroupName": null,
1280
- "categoryId": 2073,
1281
- "categoryName": "通用",
1282
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1283
- "createTime": "2021-09-02 14:59:52.0",
1284
- "enjoyPreferentialPolicies": 0,
1285
- "factoryCode": null,
1286
- "factoryId": null,
1287
- "factoryName": null,
1288
- "id": 146199,
1289
- "internalNumber": null,
1290
- "isUalityInspection": null,
1291
- "name": "aaaa",
1292
- "preferentialPoliciesType": null,
1293
- "priceAmount": 0,
1294
- "procurementCycle": 0,
1295
- "shorthand": "活牲畜",
1296
- "specification": null,
1297
- "spuCode": "6000001311479375",
1298
- "status": 1,
1299
- "taxCategoryCode": "1010301010000000000",
1300
- "taxExemptionType": "1",
1301
- "taxId": 1,
1302
- "taxRate": 0,
1303
- "unitId": null,
1304
- "unitName": null,
1305
- "itemType": "通用",
1306
- "itemNo": "6000001311479375",
1307
- "itemName": "aaaa",
1308
- "itemModelName": null,
1309
- "unit": null,
1310
- "priceIncludeTax": 0,
1311
- "priceExcludeTax": 0,
1312
- "taxClassificationCode": "1010301010000000000"
1313
- },
1314
- {
1315
- "attributeVOList": null,
1316
- "brandName": "丹东一号",
1317
- "buyGroupCode": null,
1318
- "buyGroupId": null,
1319
- "buyGroupName": null,
1320
- "categoryId": 246,
1321
- "categoryName": "分类cc>1",
1322
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1323
- "createTime": "2020-12-28 18:23:55.0",
1324
- "enjoyPreferentialPolicies": 0,
1325
- "factoryCode": null,
1326
- "factoryId": null,
1327
- "factoryName": null,
1328
- "id": 146131,
1329
- "internalNumber": null,
1330
- "isUalityInspection": null,
1331
- "name": "AAAA",
1332
- "preferentialPoliciesType": null,
1333
- "priceAmount": null,
1334
- "procurementCycle": 0,
1335
- "shorthand": null,
1336
- "specification": "1234EFF",
1337
- "spuCode": "6000002120658581",
1338
- "status": 1,
1339
- "taxCategoryCode": null,
1340
- "taxExemptionType": null,
1341
- "taxId": null,
1342
- "taxRate": 0,
1343
- "unitId": 362,
1344
- "unitName": "年",
1345
- "itemType": "分类cc>1",
1346
- "itemNo": "6000002120658581",
1347
- "itemName": "AAAA",
1348
- "itemModelName": "1234EFF",
1349
- "unit": "年",
1350
- "priceIncludeTax": 0,
1351
- "priceExcludeTax": 0,
1352
- "taxClassificationCode": null
1353
- },
1354
- {
1355
- "attributeVOList": null,
1356
- "brandName": null,
1357
- "buyGroupCode": null,
1358
- "buyGroupId": null,
1359
- "buyGroupName": null,
1360
- "categoryId": 2073,
1361
- "categoryName": "通用",
1362
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1363
- "createTime": "2020-12-15 10:14:14.0",
1364
- "enjoyPreferentialPolicies": 0,
1365
- "factoryCode": null,
1366
- "factoryId": null,
1367
- "factoryName": null,
1368
- "id": 146129,
1369
- "internalNumber": null,
1370
- "isUalityInspection": null,
1371
- "name": "服务费",
1372
- "preferentialPoliciesType": null,
1373
- "priceAmount": null,
1374
- "procurementCycle": 0,
1375
- "shorthand": "软件",
1376
- "specification": null,
1377
- "spuCode": "6000001474077629",
1378
- "status": 1,
1379
- "taxCategoryCode": "1060301020100000000",
1380
- "taxExemptionType": null,
1381
- "taxId": null,
1382
- "taxRate": 0,
1383
- "unitId": null,
1384
- "unitName": null,
1385
- "itemType": "通用",
1386
- "itemNo": "6000001474077629",
1387
- "itemName": "服务费",
1388
- "itemModelName": null,
1389
- "unit": null,
1390
- "priceIncludeTax": 0,
1391
- "priceExcludeTax": 0,
1392
- "taxClassificationCode": "1060301020100000000"
1393
- },
1394
- {
1395
- "attributeVOList": null,
1396
- "brandName": "丹东一号",
1397
- "buyGroupCode": null,
1398
- "buyGroupId": null,
1399
- "buyGroupName": null,
1400
- "categoryId": 2073,
1401
- "categoryName": "通用",
1402
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1403
- "createTime": "2020-10-30 15:07:05.0",
1404
- "enjoyPreferentialPolicies": 0,
1405
- "factoryCode": null,
1406
- "factoryId": null,
1407
- "factoryName": null,
1408
- "id": 145809,
1409
- "internalNumber": "0987",
1410
- "isUalityInspection": null,
1411
- "name": "中科",
1412
- "preferentialPoliciesType": null,
1413
- "priceAmount": 1000,
1414
- "procurementCycle": 0,
1415
- "shorthand": "糖料",
1416
- "specification": "12",
1417
- "spuCode": "6000001168374126",
1418
- "status": 1,
1419
- "taxCategoryCode": "1010107010000000000",
1420
- "taxExemptionType": "3",
1421
- "taxId": 1,
1422
- "taxRate": 0,
1423
- "unitId": 32,
1424
- "unitName": "把",
1425
- "itemType": "通用",
1426
- "itemNo": "6000001168374126",
1427
- "itemName": "中科",
1428
- "itemModelName": "12",
1429
- "unit": "把",
1430
- "priceIncludeTax": 1000,
1431
- "priceExcludeTax": 1000,
1432
- "taxClassificationCode": "1010107010000000000"
1433
- },
1434
- {
1435
- "attributeVOList": null,
1436
- "brandName": null,
1437
- "buyGroupCode": null,
1438
- "buyGroupId": null,
1439
- "buyGroupName": null,
1440
- "categoryId": 1862,
1441
- "categoryName": "通用",
1442
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1443
- "createTime": "2019-03-22 11:06:53.0",
1444
- "enjoyPreferentialPolicies": 0,
1445
- "factoryCode": null,
1446
- "factoryId": null,
1447
- "factoryName": null,
1448
- "id": 144321,
1449
- "internalNumber": "4302111",
1450
- "isUalityInspection": 0,
1451
- "name": "农用化肥2",
1452
- "preferentialPoliciesType": "",
1453
- "priceAmount": 90,
1454
- "procurementCycle": 0,
1455
- "shorthand": "肥料",
1456
- "specification": "HLHF-211",
1457
- "spuCode": "1000019000000056",
1458
- "status": 1,
1459
- "taxCategoryCode": "1000000000000000000",
1460
- "taxExemptionType": null,
1461
- "taxId": null,
1462
- "taxRate": 0,
1463
- "unitId": 11,
1464
- "unitName": "包",
1465
- "itemType": "通用",
1466
- "itemNo": "1000019000000056",
1467
- "itemName": "农用化肥2",
1468
- "itemModelName": "HLHF-211",
1469
- "unit": "包",
1470
- "priceIncludeTax": 90,
1471
- "priceExcludeTax": 90,
1472
- "taxClassificationCode": "1000000000000000000"
1473
- },
1474
- {
1475
- "attributeVOList": null,
1476
- "brandName": null,
1477
- "buyGroupCode": null,
1478
- "buyGroupId": null,
1479
- "buyGroupName": null,
1480
- "categoryId": 1862,
1481
- "categoryName": "通用",
1482
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1483
- "createTime": "2019-03-22 11:06:52.0",
1484
- "enjoyPreferentialPolicies": 0,
1485
- "factoryCode": null,
1486
- "factoryId": null,
1487
- "factoryName": null,
1488
- "id": 144320,
1489
- "internalNumber": "4302111",
1490
- "isUalityInspection": 0,
1491
- "name": "园林轻化肥",
1492
- "preferentialPoliciesType": "",
1493
- "priceAmount": null,
1494
- "procurementCycle": null,
1495
- "shorthand": "肥料",
1496
- "specification": "HLHF-211",
1497
- "spuCode": "1000019000000055",
1498
- "status": 1,
1499
- "taxCategoryCode": "233WD5FG00911",
1500
- "taxExemptionType": null,
1501
- "taxId": null,
1502
- "taxRate": 0,
1503
- "unitId": 11,
1504
- "unitName": "包",
1505
- "itemType": "通用",
1506
- "itemNo": "1000019000000055",
1507
- "itemName": "园林轻化肥",
1508
- "itemModelName": "HLHF-211",
1509
- "unit": "包",
1510
- "priceIncludeTax": 0,
1511
- "priceExcludeTax": 0,
1512
- "taxClassificationCode": "233WD5FG00911"
1513
- },
1514
- {
1515
- "attributeVOList": null,
1516
- "brandName": null,
1517
- "buyGroupCode": null,
1518
- "buyGroupId": null,
1519
- "buyGroupName": null,
1520
- "categoryId": 1862,
1521
- "categoryName": "通用",
1522
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1523
- "createTime": "2019-03-06 16:06:16.0",
1524
- "enjoyPreferentialPolicies": 0,
1525
- "factoryCode": null,
1526
- "factoryId": null,
1527
- "factoryName": null,
1528
- "id": 101211,
1529
- "internalNumber": "4302111",
1530
- "isUalityInspection": 0,
1531
- "name": "营养土壤",
1532
- "preferentialPoliciesType": "",
1533
- "priceAmount": null,
1534
- "procurementCycle": null,
1535
- "shorthand": "肥料",
1536
- "specification": "HLHF-211",
1537
- "spuCode": "1000019000000053",
1538
- "status": 1,
1539
- "taxCategoryCode": "233WD5FG00911",
1540
- "taxExemptionType": null,
1541
- "taxId": null,
1542
- "taxRate": 0,
1543
- "unitId": 11,
1544
- "unitName": "包",
1545
- "itemType": "通用",
1546
- "itemNo": "1000019000000053",
1547
- "itemName": "营养土壤",
1548
- "itemModelName": "HLHF-211",
1549
- "unit": "包",
1550
- "priceIncludeTax": 0,
1551
- "priceExcludeTax": 0,
1552
- "taxClassificationCode": "233WD5FG00911"
1553
- },
1554
- {
1555
- "attributeVOList": null,
1556
- "brandName": null,
1557
- "buyGroupCode": null,
1558
- "buyGroupId": null,
1559
- "buyGroupName": null,
1560
- "categoryId": 1862,
1561
- "categoryName": "通用",
1562
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1563
- "createTime": "2019-03-06 16:06:16.0",
1564
- "enjoyPreferentialPolicies": 0,
1565
- "factoryCode": null,
1566
- "factoryId": null,
1567
- "factoryName": null,
1568
- "id": 101212,
1569
- "internalNumber": "4302111",
1570
- "isUalityInspection": 0,
1571
- "name": "植物营养液",
1572
- "preferentialPoliciesType": "",
1573
- "priceAmount": null,
1574
- "procurementCycle": null,
1575
- "shorthand": "肥料",
1576
- "specification": "HLHF-211",
1577
- "spuCode": "1000019000000054",
1578
- "status": 1,
1579
- "taxCategoryCode": "233WD5FG00911",
1580
- "taxExemptionType": null,
1581
- "taxId": null,
1582
- "taxRate": 0,
1583
- "unitId": 11,
1584
- "unitName": "包",
1585
- "itemType": "通用",
1586
- "itemNo": "1000019000000054",
1587
- "itemName": "植物营养液",
1588
- "itemModelName": "HLHF-211",
1589
- "unit": "包",
1590
- "priceIncludeTax": 0,
1591
- "priceExcludeTax": 0,
1592
- "taxClassificationCode": "233WD5FG00911"
1593
- },
1594
- {
1595
- "attributeVOList": null,
1596
- "brandName": null,
1597
- "buyGroupCode": null,
1598
- "buyGroupId": null,
1599
- "buyGroupName": null,
1600
- "categoryId": 1862,
1601
- "categoryName": "通用",
1602
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1603
- "createTime": "2019-03-05 18:15:59.0",
1604
- "enjoyPreferentialPolicies": 0,
1605
- "factoryCode": null,
1606
- "factoryId": null,
1607
- "factoryName": null,
1608
- "id": 101203,
1609
- "internalNumber": "4353245243",
1610
- "isUalityInspection": 0,
1611
- "name": "医用棉布纱布条",
1612
- "preferentialPoliciesType": "",
1613
- "priceAmount": null,
1614
- "procurementCycle": null,
1615
- "shorthand": "布料",
1616
- "specification": "ZC11D-006",
1617
- "spuCode": "6000000804084562",
1618
- "status": 1,
1619
- "taxCategoryCode": "1234567890123456789",
1620
- "taxExemptionType": null,
1621
- "taxId": 5,
1622
- "taxRate": 3,
1623
- "unitId": 3,
1624
- "unitName": "米",
1625
- "itemType": "通用",
1626
- "itemNo": "6000000804084562",
1627
- "itemName": "医用棉布纱布条",
1628
- "itemModelName": "ZC11D-006",
1629
- "unit": "米",
1630
- "priceIncludeTax": 0,
1631
- "priceExcludeTax": 0,
1632
- "taxClassificationCode": "1234567890123456789",
1633
- }
1634
- ]
1635
- }
1
+
2
+ import React from 'react';
3
+ import { Button } from 'kts-components-antd-x3/lib/radio';
4
+ import { Invoice } from '../../../..';
5
+ import { IGetBuyerListOption } from '../../../../Invoice/InvoiceController/InvoiceControllerState/BuyerState';
6
+
7
+ const InvoiceController = Invoice.InvoiceController
8
+
9
+ export default () => {
10
+
11
+ // 初始化控制器
12
+ const controller = React.useMemo(() => new MyInvoiceController(), []);
13
+
14
+ React.useEffect(() => {
15
+ controller.run(async s => {
16
+ // 设置数量单价计算小数位
17
+ s.calculatingDigits = 13;
18
+
19
+ // 设置数量金额计算小数位
20
+ s.priceIntegerDigit = 14;
21
+
22
+ s.goodsListState.isRecalculateWhenSwitchTax = true;
23
+ })
24
+ }, [controller])
25
+
26
+ return (
27
+ <>
28
+ <Button style={{ marginBottom: 10 }} onClick={async () => { console.log('===> 当前组件状态', await controller.validateFields()); }} >获取数据</Button>
29
+ <Invoice controller={controller} invoiceType='digtal' />
30
+ </>
31
+ );
32
+ };
33
+
34
+ // 重写 购买方 的数据源,实现 ‘获取 购买方 列表’ 方法
35
+ class MyInvoiceController extends InvoiceController {
36
+ constructor() {
37
+ super();
38
+
39
+ this.state.autoComplete.onItemNameBlur = async (value: any) => {
40
+ console.log(value, 'onBuyerNameBlur - Blur');
41
+
42
+ return [
43
+ // {
44
+ // "taxCategoryCode": "1030206030000000000",
45
+ // "productName": "醋及醋代用品",
46
+ // "shorthand": "调味品",
47
+ // "id": null,
48
+ // "specification": null,
49
+ // "createTime": null,
50
+ // "status": 1,
51
+ // "versionCode": "48.0",
52
+ // "version": "32.0",
53
+ // "startTime": "20190401",
54
+ // "endTime": null,
55
+ // "cargo": null,
56
+ // "desc": null,
57
+ // "taxRate": "13%",
58
+ // "keyword": "食醋、米醋、酒醋、啤酒醋、麦芽醋、酒精醋、水果醋、醋精",
59
+ // "summarizedItem": "N",
60
+ // "countCode": null,
61
+ // "customsItem": null,
62
+ // "updateTime": null,
63
+ // "hzx": null,
64
+ // "children": null,
65
+ // "vatspecialManagement": "",
66
+ // "pid": "1030206000000000000",
67
+ // "vatpolicyBasis": null,
68
+ // "vatspecialManagementCode": "",
69
+ // "gstpolicyBasisCode": null,
70
+ // "gstspecialManagement": null,
71
+ // "gstpolicyBasis": null
72
+ // },
73
+ {
74
+ "attributeVOList": null,
75
+ "productName": '原煤',
76
+ "name": null,
77
+ "productCode": "0003",
78
+ "shorthand": "小型起重设备",
79
+ "id": "10881474649024102400167947617243",
80
+ "specification": null,
81
+ "categoryId": "10688389540499947520167487266471",
82
+ "categoryName": "水果",
83
+ "internalNumber": null,
84
+ "taxCategoryName": "轻小型起重设备配套件",
85
+ "referenceAmount": null,
86
+ "priceAmount": 200.000,
87
+ "taxId": null,
88
+ "taxRate": null,
89
+ "brandName": null,
90
+ "buyGroupCode": null,
91
+ "buyGroupId": null,
92
+ "buyGroupName": null,
93
+ "categoryId": 2073,
94
+ "categoryName": "通用",
95
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
96
+ "createTime": "2021-09-10 15:45:43.0",
97
+ "enjoyPreferentialPolicies": 0,
98
+ "factoryCode": null,
99
+ "factoryId": null,
100
+ "factoryName": null,
101
+ "id": 146200,
102
+ "internalNumber": "发动机盖",
103
+ "isUalityInspection": null,
104
+ "name": "原煤",
105
+ "preferentialPoliciesType": null,
106
+ "priceAmount": 50,
107
+ "procurementCycle": 0,
108
+ "shorthand": "煤炭",
109
+ "specification": "abc",
110
+ "spuCode": "6000001738252675",
111
+ "status": 1,
112
+ "taxCategoryCode": "1020101000000000000",
113
+ "taxExemptionType": "",
114
+ "taxId": 11,
115
+ "taxRate": null,
116
+ "unitId": 30,
117
+ "unitName": "件",
118
+ "itemType": "通用",
119
+ "itemNo": "6000001738252675",
120
+ "itemName": "原煤",
121
+ "itemCode": "123123",
122
+ "itemModelName": "abc",
123
+ "unit": "件",
124
+ "priceIncludeTax": 50,
125
+ "priceExcludeTax": 50,
126
+ "taxClassificationCode": "1020101000000000000"
127
+ },
128
+ ]
129
+ };
130
+
131
+ this.state.autoComplete.onItemNameSearch = async (value: any) => {
132
+ console.log('===> onItemNameSearch')
133
+ const data = [
134
+ {
135
+ "attributeVOList": null,
136
+ "productName": '原煤',
137
+ "brandName": null,
138
+ "buyGroupCode": null,
139
+ "buyGroupId": null,
140
+ "buyGroupName": null,
141
+ "categoryId": 2073,
142
+ "categoryName": "通用",
143
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
144
+ "createTime": "2021-09-10 15:45:43.0",
145
+ "enjoyPreferentialPolicies": 0,
146
+ "factoryCode": null,
147
+ "factoryId": null,
148
+ "factoryName": null,
149
+ "id": 146200,
150
+ "internalNumber": "发动机盖",
151
+ "isUalityInspection": null,
152
+ "name": "原煤",
153
+ "preferentialPoliciesType": null,
154
+ "priceAmount": 50,
155
+ "procurementCycle": 0,
156
+ "shorthand": "发动机",
157
+ "specification": "abc",
158
+ "spuCode": "6000001738252675",
159
+ "status": 1,
160
+ "taxCategoryCode": "1020101000000000000",
161
+ "taxExemptionType": "",
162
+ "taxId": 11,
163
+ "taxRate": null,
164
+ "unitId": 30,
165
+ "unitName": "件",
166
+ "itemType": "通用",
167
+ "itemNo": "6000001738252675",
168
+ "itemName": "原煤",
169
+ "itemCode": "123123",
170
+ "itemModelName": "abc",
171
+ "unit": "件",
172
+ "priceIncludeTax": 50,
173
+ "priceExcludeTax": 50,
174
+ "taxClassificationCode": "1020101000000000000"
175
+ },
176
+ {
177
+ "taxCategoryCode": "1090111090000000000",
178
+ "productName": "uuuuuu",
179
+ "name": null,
180
+ "productCode": "0003",
181
+ "shorthand": "小型起重设备",
182
+ "id": "10881474649024102400167947617243",
183
+ "specification": 1,
184
+ "categoryId": "10688389540499947520167487266471",
185
+ "categoryName": "水果",
186
+ "internalNumber": 1,
187
+ "taxCategoryName": "轻小型起重设备配套件",
188
+ "referenceAmount": 1,
189
+ "priceAmount": 200.00000000000000000000,
190
+ "taxId": null,
191
+ "taxRate": 1,
192
+ "unitId": null,
193
+ "unitName": null,
194
+ "taxExemptionType": null,
195
+ "enjoyPreferentialPolicies": 0,
196
+ "preferentialPoliciesType": null,
197
+ "productStatus": 1,
198
+ "specialGoodsMark": "",
199
+ "lineAmountIncludeTax":1,
200
+ "lineAmountExcludeTax":2,
201
+ "taxAmount":2,
202
+ "createTime": "2023-03-22 17:09:32",
203
+ "updateTime": "2023-03-22 17:09:32"
204
+ },{
205
+ "taxCategoryCode": "1090111090000000000",
206
+ "productName": "苹果",
207
+ "name": null,
208
+ "productCode": "0003",
209
+ "shorthand": "小型起重设备",
210
+ "id": "10881474649024102400167947617243",
211
+ "specification": null,
212
+ "categoryId": "10688389540499947520167487266471",
213
+ "categoryName": "水果",
214
+ "internalNumber": null,
215
+ "taxCategoryName": "轻小型起重设备配套件",
216
+ "referenceAmount": null,
217
+ "priceAmount": 200.00000000000000000000,
218
+ "taxId": null,
219
+ "taxRate": null,
220
+ "unitId": null,
221
+ "unitName": null,
222
+ "taxExemptionType": null,
223
+ "enjoyPreferentialPolicies": 0,
224
+ "preferentialPoliciesType": null,
225
+ "productStatus": 1,
226
+ "specialGoodsMark": "",
227
+ "createTime": "2023-03-22 17:09:32",
228
+ "updateTime": "2023-03-22 17:09:32"
229
+ },{
230
+ "taxCategoryCode": "1090111090000000000",
231
+ "productName": "苹果",
232
+ "name": null,
233
+ "productCode": "0003",
234
+ "shorthand": "小型起重设备",
235
+ "id": "10881474649024102400167947617243",
236
+ "specification": null,
237
+ "categoryId": "10688389540499947520167487266471",
238
+ "categoryName": "水果",
239
+ "internalNumber": null,
240
+ "taxCategoryName": "轻小型起重设备配套件",
241
+ "referenceAmount": null,
242
+ "priceAmount": 200.00000000000000000000,
243
+ "taxId": null,
244
+ "taxRate": null,
245
+ "unitId": null,
246
+ "unitName": null,
247
+ "taxExemptionType": null,
248
+ "enjoyPreferentialPolicies": 0,
249
+ "preferentialPoliciesType": null,
250
+ "productStatus": 1,
251
+ "specialGoodsMark": "",
252
+ "createTime": "2023-03-22 17:09:32",
253
+ "updateTime": "2023-03-22 17:09:32"
254
+ },{
255
+ "taxCategoryCode": "1090111090000000000",
256
+ "productName": "zzzzz",
257
+ "name": null,
258
+ "productCode": "0003",
259
+ "shorthand": "小型起重设备",
260
+ "id": "10881474649024102400167947617243",
261
+ "specification": null,
262
+ "categoryId": "10688389540499947520167487266471",
263
+ "categoryName": "水果",
264
+ "internalNumber": null,
265
+ "taxCategoryName": "轻小型起重设备配套件",
266
+ "referenceAmount": null,
267
+ "priceAmount": 200.00000000000000000000,
268
+ "taxId": null,
269
+ "taxRate": null,
270
+ "unitId": null,
271
+ "unitName": null,
272
+ "taxExemptionType": null,
273
+ "enjoyPreferentialPolicies": 0,
274
+ "preferentialPoliciesType": null,
275
+ "productStatus": 1,
276
+ "specialGoodsMark": "",
277
+ "createTime": "2023-03-22 17:09:32",
278
+ "updateTime": "2023-03-22 17:09:32"
279
+ },{
280
+ "taxCategoryCode": "1090111090000000000",
281
+ "productName": "cccccc",
282
+ "name": null,
283
+ "productCode": "0003",
284
+ "shorthand": "小型起重设备",
285
+ "id": "10881474649024102400167947617243",
286
+ "specification": null,
287
+ "categoryId": "10688389540499947520167487266471",
288
+ "categoryName": "水果",
289
+ "internalNumber": null,
290
+ "taxCategoryName": "轻小型起重设备配套件",
291
+ "referenceAmount": null,
292
+ "priceAmount": 200.00000000000000000000,
293
+ "taxId": null,
294
+ "taxRate": null,
295
+ "unitId": null,
296
+ "unitName": null,
297
+ "taxExemptionType": null,
298
+ "enjoyPreferentialPolicies": 0,
299
+ "preferentialPoliciesType": null,
300
+ "productStatus": 1,
301
+ "specialGoodsMark": "",
302
+ "createTime": "2023-03-22 17:09:32",
303
+ "updateTime": "2023-03-22 17:09:32"
304
+ },{
305
+ "taxCategoryCode": "1090111090000000000",
306
+ "productName": "qqqqqq",
307
+ "name": null,
308
+ "productCode": "0003",
309
+ "shorthand": "小型起重设备",
310
+ "id": "10881474649024102400167947617243",
311
+ "specification": null,
312
+ "categoryId": "10688389540499947520167487266471",
313
+ "categoryName": "水果",
314
+ "internalNumber": null,
315
+ "taxCategoryName": "轻小型起重设备配套件",
316
+ "referenceAmount": null,
317
+ "priceAmount": 200.00000000000000000000,
318
+ "taxId": null,
319
+ "taxRate": null,
320
+ "unitId": null,
321
+ "unitName": null,
322
+ "taxExemptionType": null,
323
+ "enjoyPreferentialPolicies": 0,
324
+ "preferentialPoliciesType": null,
325
+ "productStatus": 1,
326
+ "specialGoodsMark": "",
327
+ "createTime": "2023-03-22 17:09:32",
328
+ "updateTime": "2023-03-22 17:09:32"
329
+ },{
330
+ "taxCategoryCode": "1090111090000000000",
331
+ "productName": "wwwww",
332
+ "name": null,
333
+ "productCode": "0003",
334
+ "shorthand": "小型起重设备",
335
+ "id": "10881474649024102400167947617243",
336
+ "specification": null,
337
+ "categoryId": "10688389540499947520167487266471",
338
+ "categoryName": "水果",
339
+ "internalNumber": null,
340
+ "taxCategoryName": "轻小型起重设备配套件",
341
+ "referenceAmount": null,
342
+ "priceAmount": 200.00000000000000000000,
343
+ "taxId": null,
344
+ "taxRate": null,
345
+ "unitId": null,
346
+ "unitName": null,
347
+ "taxExemptionType": null,
348
+ "enjoyPreferentialPolicies": 0,
349
+ "preferentialPoliciesType": null,
350
+ "productStatus": 1,
351
+ "specialGoodsMark": "",
352
+ "createTime": "2023-03-22 17:09:32",
353
+ "updateTime": "2023-03-22 17:09:32"
354
+ },{
355
+ "taxCategoryCode": "1090111090000000000",
356
+ "productName": "eeeee",
357
+ "name": null,
358
+ "productCode": "0003",
359
+ "shorthand": "小型起重设备",
360
+ "id": "10881474649024102400167947617243",
361
+ "specification": null,
362
+ "categoryId": "10688389540499947520167487266471",
363
+ "categoryName": "水果",
364
+ "internalNumber": null,
365
+ "taxCategoryName": "轻小型起重设备配套件",
366
+ "referenceAmount": null,
367
+ "priceAmount": 200.00000000000000000000,
368
+ "taxId": null,
369
+ "taxRate": null,
370
+ "unitId": null,
371
+ "unitName": null,
372
+ "taxExemptionType": null,
373
+ "enjoyPreferentialPolicies": 0,
374
+ "preferentialPoliciesType": null,
375
+ "productStatus": 1,
376
+ "specialGoodsMark": "",
377
+ "createTime": "2023-03-22 17:09:32",
378
+ "updateTime": "2023-03-22 17:09:32"
379
+ },{
380
+ "taxCategoryCode": "1090111090000000000",
381
+ "productName": "rrrrrr",
382
+ "name": null,
383
+ "productCode": "0003",
384
+ "shorthand": "小型起重设备",
385
+ "id": "10881474649024102400167947617243",
386
+ "specification": null,
387
+ "categoryId": "10688389540499947520167487266471",
388
+ "categoryName": "水果",
389
+ "internalNumber": null,
390
+ "taxCategoryName": "轻小型起重设备配套件",
391
+ "referenceAmount": null,
392
+ "priceAmount": 200.00000000000000000000,
393
+ "taxId": null,
394
+ "taxRate": null,
395
+ "unitId": null,
396
+ "unitName": null,
397
+ "taxExemptionType": null,
398
+ "enjoyPreferentialPolicies": 0,
399
+ "preferentialPoliciesType": null,
400
+ "productStatus": 1,
401
+ "specialGoodsMark": "",
402
+ "createTime": "2023-03-22 17:09:32",
403
+ "updateTime": "2023-03-22 17:09:32"
404
+ },{
405
+ "taxCategoryCode": "1090111090000000000",
406
+ "productName": "tttttt",
407
+ "name": null,
408
+ "productCode": "0003",
409
+ "shorthand": "小型起重设备",
410
+ "id": "10881474649024102400167947617243",
411
+ "specification": null,
412
+ "categoryId": "10688389540499947520167487266471",
413
+ "categoryName": "水果",
414
+ "internalNumber": null,
415
+ "taxCategoryName": "轻小型起重设备配套件",
416
+ "referenceAmount": null,
417
+ "priceAmount": 200.00000000000000000000,
418
+ "taxId": null,
419
+ "taxRate": null,
420
+ "unitId": null,
421
+ "unitName": null,
422
+ "taxExemptionType": null,
423
+ "enjoyPreferentialPolicies": 0,
424
+ "preferentialPoliciesType": null,
425
+ "productStatus": 1,
426
+ "specialGoodsMark": "",
427
+ "createTime": "2023-03-22 17:09:32",
428
+ "updateTime": "2023-03-22 17:09:32"
429
+ },{
430
+ "taxCategoryCode": "1090111090000000000",
431
+ "productName": "yyyy",
432
+ "name": null,
433
+ "productCode": "0003",
434
+ "shorthand": "小型起重设备",
435
+ "id": "10881474649024102400167947617243",
436
+ "specification": null,
437
+ "categoryId": "10688389540499947520167487266471",
438
+ "categoryName": "水果",
439
+ "internalNumber": null,
440
+ "taxCategoryName": "轻小型起重设备配套件",
441
+ "referenceAmount": null,
442
+ "priceAmount": 200.00000000000000000000,
443
+ "taxId": null,
444
+ "taxRate": null,
445
+ "unitId": null,
446
+ "unitName": null,
447
+ "taxExemptionType": null,
448
+ "enjoyPreferentialPolicies": 0,
449
+ "preferentialPoliciesType": null,
450
+ "productStatus": 1,
451
+ "specialGoodsMark": "",
452
+ "createTime": "2023-03-22 17:09:32",
453
+ "updateTime": "2023-03-22 17:09:32"
454
+ },{
455
+ "taxCategoryCode": "1090111090000000000",
456
+ "productName": "uuuuu",
457
+ "name": null,
458
+ "productCode": "0003",
459
+ "shorthand": "小型起重设备",
460
+ "id": "10881474649024102400167947617243",
461
+ "specification": null,
462
+ "categoryId": "10688389540499947520167487266471",
463
+ "categoryName": "水果",
464
+ "internalNumber": null,
465
+ "taxCategoryName": "轻小型起重设备配套件",
466
+ "referenceAmount": null,
467
+ "priceAmount": 200.00000000000000000000,
468
+ "taxId": null,
469
+ "taxRate": null,
470
+ "unitId": null,
471
+ "unitName": null,
472
+ "taxExemptionType": null,
473
+ "enjoyPreferentialPolicies": 0,
474
+ "preferentialPoliciesType": null,
475
+ "productStatus": 1,
476
+ "specialGoodsMark": "",
477
+ "createTime": "2023-03-22 17:09:32",
478
+ "updateTime": "2023-03-22 17:09:32"
479
+ },{
480
+ "taxCategoryCode": "1090111090000000000",
481
+ "productName": "iiiiii",
482
+ "name": null,
483
+ "productCode": "0003",
484
+ "shorthand": "小型起重设备",
485
+ "id": "10881474649024102400167947617243",
486
+ "specification": null,
487
+ "categoryId": "10688389540499947520167487266471",
488
+ "categoryName": "水果",
489
+ "internalNumber": null,
490
+ "taxCategoryName": "轻小型起重设备配套件",
491
+ "referenceAmount": null,
492
+ "priceAmount": 200.00000000000000000000,
493
+ "taxId": null,
494
+ "taxRate": null,
495
+ "unitId": null,
496
+ "unitName": null,
497
+ "taxExemptionType": null,
498
+ "enjoyPreferentialPolicies": 0,
499
+ "preferentialPoliciesType": null,
500
+ "productStatus": 1,
501
+ "specialGoodsMark": "",
502
+ "createTime": "2023-03-22 17:09:32",
503
+ "updateTime": "2023-03-22 17:09:32"
504
+ }
505
+ ];
506
+
507
+ return data.map((item: any) =>{
508
+ return {
509
+ ...item,
510
+ itemName:item.productName,
511
+ taxClassificationCode:item.taxCategoryCode,
512
+ itemModelName:item.specification,
513
+ shorthand:item.shorthand,
514
+ priceIncludeTax:item.priceAmount,
515
+ unit:item.unitName,
516
+ taxRate:item.taxRate,
517
+ }
518
+ })
519
+ };
520
+ this.state.goodsListState.endowCode.onSearchTaxClassificationCode = async (value: any) => {
521
+ console.log(value, 'value-onSearchTaxClassificationCode');
522
+
523
+ if(value === '1020199000000000000') {
524
+ return [
525
+ {
526
+ "taxCategoryCode": "1020199000000000000",
527
+ "productName": "其他煤炭",
528
+ "shorthand": "其他煤炭",
529
+ "id": null,
530
+ "specification": null,
531
+ "createTime": "Tue Jun 20 14:55:37 CST 2023",
532
+ "status": 1,
533
+ "versionCode": "48.0",
534
+ "version": "32.0",
535
+ "startTime": "20190401",
536
+ "endTime": null,
537
+ "cargo": null,
538
+ "desc": null,
539
+ "taxRate": "",
540
+ "keyword": "金融服务",
541
+ "summarizedItem": "Y",
542
+ "countCode": null,
543
+ "customsItem": null,
544
+ "updateTime": "Tue Jun 20 14:55:37 CST 2023",
545
+ "hzx": "Y",
546
+ "children": null,
547
+ "vatspecialManagement": "",
548
+ "pid": "3000000000000000000",
549
+ "vatpolicyBasis": null,
550
+ "vatspecialManagementCode": "",
551
+ "gstpolicyBasisCode": null,
552
+ "gstspecialManagement": null,
553
+ "gstpolicyBasis": null
554
+ },
555
+ ]
556
+ }
557
+ return [
558
+ {
559
+ "taxCategoryCode": "1030206030000000000",
560
+ "productName": "醋及醋代用品",
561
+ "shorthand": "调味品",
562
+ "id": null,
563
+ "specification": null,
564
+ "createTime": null,
565
+ "status": 1,
566
+ "versionCode": "48.0",
567
+ "version": "32.0",
568
+ "startTime": "20190401",
569
+ "endTime": null,
570
+ "cargo": null,
571
+ "desc": null,
572
+ "taxRate": "13%",
573
+ "keyword": "食醋、米醋、酒醋、啤酒醋、麦芽醋、酒精醋、水果醋、醋精",
574
+ "summarizedItem": "N",
575
+ "countCode": null,
576
+ "customsItem": null,
577
+ "updateTime": null,
578
+ "hzx": null,
579
+ "children": null,
580
+ "vatspecialManagement": "",
581
+ "pid": "1030206000000000000",
582
+ "vatpolicyBasis": null,
583
+ "vatspecialManagementCode": "",
584
+ "gstpolicyBasisCode": null,
585
+ "gstspecialManagement": null,
586
+ "gstpolicyBasis": null
587
+ }
588
+ ]
589
+ };
590
+
591
+ this.state.goodsListState.endowCode.onLoadTaxClassificationCode = async (value: any) => {
592
+ console.log(value, 'value-onSearchTaxClassificationCode');
593
+ if(value === '1020199000000000000') {
594
+ return [
595
+ {
596
+ "taxCategoryCode": "1020199000000000000",
597
+ "productName": "其他煤炭",
598
+ "shorthand": "其他煤炭",
599
+ "id": null,
600
+ "specification": null,
601
+ "createTime": "Tue Jun 20 14:55:37 CST 2023",
602
+ "status": 1,
603
+ "versionCode": "48.0",
604
+ "version": "32.0",
605
+ "startTime": "20190401",
606
+ "endTime": null,
607
+ "cargo": null,
608
+ "desc": null,
609
+ "taxRate": "",
610
+ "keyword": "金融服务",
611
+ "summarizedItem": "Y",
612
+ "countCode": null,
613
+ "customsItem": null,
614
+ "updateTime": "Tue Jun 20 14:55:37 CST 2023",
615
+ "hzx": "Y",
616
+ "children": null,
617
+ "vatspecialManagement": "",
618
+ "pid": "3000000000000000000",
619
+ "vatpolicyBasis": null,
620
+ "vatspecialManagementCode": "",
621
+ "gstpolicyBasisCode": null,
622
+ "gstspecialManagement": null,
623
+ "gstpolicyBasis": null
624
+ },
625
+ ]
626
+ }
627
+ if(value === '3000000000000000000') {
628
+ return [
629
+ {
630
+ "taxCategoryCode": "3060000000000000000",
631
+ "productName": "金融服务",
632
+ "shorthand": "金融服务",
633
+ "id": null,
634
+ "specification": null,
635
+ "createTime": "Tue Jun 20 14:55:37 CST 2023",
636
+ "status": 1,
637
+ "versionCode": "48.0",
638
+ "version": "32.0",
639
+ "startTime": "20190401",
640
+ "endTime": null,
641
+ "cargo": null,
642
+ "desc": null,
643
+ "taxRate": "",
644
+ "keyword": "金融服务",
645
+ "summarizedItem": "Y",
646
+ "countCode": null,
647
+ "customsItem": null,
648
+ "updateTime": "Tue Jun 20 14:55:37 CST 2023",
649
+ "hzx": "Y",
650
+ "children": null,
651
+ "vatspecialManagement": "",
652
+ "pid": "3000000000000000000",
653
+ "vatpolicyBasis": null,
654
+ "vatspecialManagementCode": "",
655
+ "gstpolicyBasisCode": null,
656
+ "gstspecialManagement": null,
657
+ "gstpolicyBasis": null
658
+ },
659
+ {
660
+ "taxCategoryCode": "3070000000000000000",
661
+ "productName": "生活服务",
662
+ "shorthand": "生活服务",
663
+ "id": null,
664
+ "specification": null,
665
+ "createTime": "Tue Jun 20 14:57:32 CST 2023",
666
+ "status": 1,
667
+ "versionCode": "48.0",
668
+ "version": "32.0",
669
+ "startTime": "20190401",
670
+ "endTime": null,
671
+ "cargo": null,
672
+ "desc": null,
673
+ "taxRate": "",
674
+ "keyword": "",
675
+ "summarizedItem": "Y",
676
+ "countCode": null,
677
+ "customsItem": null,
678
+ "updateTime": "Tue Jun 20 14:57:32 CST 2023",
679
+ "hzx": "Y",
680
+ "children": null,
681
+ "vatspecialManagement": "",
682
+ "pid": "3000000000000000000",
683
+ "vatpolicyBasis": null,
684
+ "vatspecialManagementCode": "",
685
+ "gstpolicyBasisCode": null,
686
+ "gstspecialManagement": null,
687
+ "gstpolicyBasis": null
688
+ },
689
+ {
690
+ "taxCategoryCode": "3030000000000000000",
691
+ "productName": "电信服务",
692
+ "shorthand": "电信服务",
693
+ "id": null,
694
+ "specification": null,
695
+ "createTime": "Tue Jun 20 14:56:43 CST 2023",
696
+ "status": 1,
697
+ "versionCode": "48.0",
698
+ "version": "32.0",
699
+ "startTime": "20190401",
700
+ "endTime": null,
701
+ "cargo": null,
702
+ "desc": null,
703
+ "taxRate": "",
704
+ "keyword": "电信服务",
705
+ "summarizedItem": "Y",
706
+ "countCode": null,
707
+ "customsItem": null,
708
+ "updateTime": "Tue Jun 20 14:56:43 CST 2023",
709
+ "hzx": "Y",
710
+ "children": null,
711
+ "vatspecialManagement": "",
712
+ "pid": "3000000000000000000",
713
+ "vatpolicyBasis": null,
714
+ "vatspecialManagementCode": "",
715
+ "gstpolicyBasisCode": null,
716
+ "gstspecialManagement": null,
717
+ "gstpolicyBasis": null
718
+ },
719
+ {
720
+ "taxCategoryCode": "3020000000000000000",
721
+ "productName": "邮政服务",
722
+ "shorthand": "邮政服务",
723
+ "id": null,
724
+ "specification": null,
725
+ "createTime": "Tue Jun 20 14:56:38 CST 2023",
726
+ "status": 1,
727
+ "versionCode": "48.0",
728
+ "version": "32.0",
729
+ "startTime": "20190401",
730
+ "endTime": null,
731
+ "cargo": null,
732
+ "desc": null,
733
+ "taxRate": "",
734
+ "keyword": "",
735
+ "summarizedItem": "Y",
736
+ "countCode": null,
737
+ "customsItem": null,
738
+ "updateTime": "Tue Jun 20 14:56:38 CST 2023",
739
+ "hzx": "Y",
740
+ "children": null,
741
+ "vatspecialManagement": "",
742
+ "pid": "3000000000000000000",
743
+ "vatpolicyBasis": null,
744
+ "vatspecialManagementCode": "",
745
+ "gstpolicyBasisCode": null,
746
+ "gstspecialManagement": null,
747
+ "gstpolicyBasis": null
748
+ },
749
+ {
750
+ "taxCategoryCode": "3010000000000000000",
751
+ "productName": "交通运输服务",
752
+ "shorthand": "运输服务",
753
+ "id": null,
754
+ "specification": null,
755
+ "createTime": "Tue Jun 20 14:56:17 CST 2023",
756
+ "status": 1,
757
+ "versionCode": "48.0",
758
+ "version": "32.0",
759
+ "startTime": "20190401",
760
+ "endTime": null,
761
+ "cargo": null,
762
+ "desc": null,
763
+ "taxRate": "",
764
+ "keyword": "交通运输",
765
+ "summarizedItem": "Y",
766
+ "countCode": null,
767
+ "customsItem": null,
768
+ "updateTime": "Tue Jun 20 14:56:17 CST 2023",
769
+ "hzx": "Y",
770
+ "children": null,
771
+ "vatspecialManagement": "",
772
+ "pid": "3000000000000000000",
773
+ "vatpolicyBasis": null,
774
+ "vatspecialManagementCode": "",
775
+ "gstpolicyBasisCode": null,
776
+ "gstspecialManagement": null,
777
+ "gstpolicyBasis": null
778
+ },
779
+ {
780
+ "taxCategoryCode": "3050000000000000000",
781
+ "productName": "建筑服务",
782
+ "shorthand": "建筑服务",
783
+ "id": null,
784
+ "specification": null,
785
+ "createTime": "Tue Jun 20 14:55:29 CST 2023",
786
+ "status": 1,
787
+ "versionCode": "48.0",
788
+ "version": "32.0",
789
+ "startTime": "20190401",
790
+ "endTime": null,
791
+ "cargo": null,
792
+ "desc": null,
793
+ "taxRate": "",
794
+ "keyword": "",
795
+ "summarizedItem": "Y",
796
+ "countCode": null,
797
+ "customsItem": null,
798
+ "updateTime": "Tue Jun 20 14:55:29 CST 2023",
799
+ "hzx": "Y",
800
+ "children": null,
801
+ "vatspecialManagement": "",
802
+ "pid": "3000000000000000000",
803
+ "vatpolicyBasis": null,
804
+ "vatspecialManagementCode": "",
805
+ "gstpolicyBasisCode": null,
806
+ "gstspecialManagement": null,
807
+ "gstpolicyBasis": null
808
+ },
809
+ {
810
+ "taxCategoryCode": "3040000000000000000",
811
+ "productName": "现代服务",
812
+ "shorthand": "现代服务",
813
+ "id": null,
814
+ "specification": null,
815
+ "createTime": "Tue Jun 20 14:54:17 CST 2023",
816
+ "status": 1,
817
+ "versionCode": "48.0",
818
+ "version": "32.0",
819
+ "startTime": "20190401",
820
+ "endTime": null,
821
+ "cargo": null,
822
+ "desc": null,
823
+ "taxRate": "",
824
+ "keyword": "",
825
+ "summarizedItem": "Y",
826
+ "countCode": null,
827
+ "customsItem": null,
828
+ "updateTime": "Tue Jun 20 14:54:17 CST 2023",
829
+ "hzx": "Y",
830
+ "children": null,
831
+ "vatspecialManagement": "",
832
+ "pid": "3000000000000000000",
833
+ "vatpolicyBasis": null,
834
+ "vatspecialManagementCode": "",
835
+ "gstpolicyBasisCode": null,
836
+ "gstspecialManagement": null,
837
+ "gstpolicyBasis": null
838
+ }
839
+ ]
840
+ } else if(value === '3060000000000000000') {
841
+ return [
842
+ {
843
+ "taxCategoryCode": "3060100000000000000",
844
+ "productName": "贷款服务",
845
+ "shorthand": "金融服务",
846
+ "id": null,
847
+ "specification": null,
848
+ "createTime": "Tue Jun 20 14:56:02 CST 2023",
849
+ "status": 1,
850
+ "versionCode": "48.0",
851
+ "version": "32.0",
852
+ "startTime": "20190401",
853
+ "endTime": null,
854
+ "cargo": null,
855
+ "desc": null,
856
+ "taxRate": "",
857
+ "keyword": "贷款",
858
+ "summarizedItem": "Y",
859
+ "countCode": null,
860
+ "customsItem": null,
861
+ "updateTime": "Tue Jun 20 14:56:02 CST 2023",
862
+ "hzx": "Y",
863
+ "children": null,
864
+ "vatspecialManagement": "",
865
+ "pid": "3060000000000000000",
866
+ "vatpolicyBasis": null,
867
+ "vatspecialManagementCode": "",
868
+ "gstpolicyBasisCode": null,
869
+ "gstspecialManagement": null,
870
+ "gstpolicyBasis": null
871
+ },
872
+ {
873
+ "taxCategoryCode": "3060200000000000000",
874
+ "productName": "直接收费金融服务",
875
+ "shorthand": "金融服务",
876
+ "id": null,
877
+ "specification": null,
878
+ "createTime": "Tue Jun 20 14:56:13 CST 2023",
879
+ "status": 1,
880
+ "versionCode": "48.0",
881
+ "version": "32.0",
882
+ "startTime": "20190401",
883
+ "endTime": null,
884
+ "cargo": null,
885
+ "desc": null,
886
+ "taxRate": "6%",
887
+ "keyword": "货币兑换、账户管理、电子银行、信用卡、信用证、财务担保、资产管理、信托管理、基金管理、金融商品交易、资金结算、资金清算、金融支付",
888
+ "summarizedItem": "N",
889
+ "countCode": null,
890
+ "customsItem": null,
891
+ "updateTime": "Tue Jun 20 14:56:13 CST 2023",
892
+ "hzx": "N",
893
+ "children": null,
894
+ "vatspecialManagement": "",
895
+ "pid": "3060000000000000000",
896
+ "vatpolicyBasis": null,
897
+ "vatspecialManagementCode": "",
898
+ "gstpolicyBasisCode": null,
899
+ "gstspecialManagement": null,
900
+ "gstpolicyBasis": null
901
+ },
902
+ {
903
+ "taxCategoryCode": "3060300000000000000",
904
+ "productName": "保险服务",
905
+ "shorthand": "金融服务",
906
+ "id": null,
907
+ "specification": null,
908
+ "createTime": "Tue Jun 20 14:55:47 CST 2023",
909
+ "status": 1,
910
+ "versionCode": "48.0",
911
+ "version": "32.0",
912
+ "startTime": "20190401",
913
+ "endTime": null,
914
+ "cargo": null,
915
+ "desc": null,
916
+ "taxRate": "",
917
+ "keyword": "",
918
+ "summarizedItem": "Y",
919
+ "countCode": null,
920
+ "customsItem": null,
921
+ "updateTime": "Tue Jun 20 14:55:47 CST 2023",
922
+ "hzx": "Y",
923
+ "children": null,
924
+ "vatspecialManagement": "",
925
+ "pid": "3060000000000000000",
926
+ "vatpolicyBasis": null,
927
+ "vatspecialManagementCode": "",
928
+ "gstpolicyBasisCode": null,
929
+ "gstspecialManagement": null,
930
+ "gstpolicyBasis": null
931
+ },
932
+ {
933
+ "taxCategoryCode": "3060400000000000000",
934
+ "productName": "金融商品转让",
935
+ "shorthand": "金融服务",
936
+ "id": null,
937
+ "specification": null,
938
+ "createTime": "Tue Jun 20 14:54:38 CST 2023",
939
+ "status": 1,
940
+ "versionCode": "48.0",
941
+ "version": "32.0",
942
+ "startTime": "20190401",
943
+ "endTime": null,
944
+ "cargo": null,
945
+ "desc": null,
946
+ "taxRate": "",
947
+ "keyword": "金融商品转让",
948
+ "summarizedItem": "Y",
949
+ "countCode": null,
950
+ "customsItem": null,
951
+ "updateTime": "Tue Jun 20 14:54:38 CST 2023",
952
+ "hzx": "Y",
953
+ "children": null,
954
+ "vatspecialManagement": "",
955
+ "pid": "3060000000000000000",
956
+ "vatpolicyBasis": null,
957
+ "vatspecialManagementCode": "",
958
+ "gstpolicyBasisCode": null,
959
+ "gstspecialManagement": null,
960
+ "gstpolicyBasis": null
961
+ }
962
+ ]
963
+ }else {
964
+ return [
965
+ {
966
+ "taxCategoryCode": "3000000000000000000",
967
+ "productName": "销售服务",
968
+ "shorthand": "销售服务",
969
+ "id": null,
970
+ "specification": null,
971
+ "createTime": "Tue Jun 20 14:56:46 CST 2023",
972
+ "status": 1,
973
+ "versionCode": "48.0",
974
+ "version": "32.0",
975
+ "startTime": "20190401",
976
+ "endTime": null,
977
+ "cargo": null,
978
+ "desc": null,
979
+ "taxRate": "",
980
+ "keyword": "",
981
+ "summarizedItem": "Y",
982
+ "countCode": null,
983
+ "customsItem": null,
984
+ "updateTime": "Tue Jun 20 14:56:46 CST 2023",
985
+ "hzx": "Y",
986
+ "children": null,
987
+ "vatspecialManagement": "",
988
+ "pid": "0",
989
+ "vatpolicyBasis": null,
990
+ "vatspecialManagementCode": "",
991
+ "gstpolicyBasisCode": null,
992
+ "gstspecialManagement": null,
993
+ "gstpolicyBasis": null
994
+ },
995
+ {
996
+ "taxCategoryCode": "5000000000000000000",
997
+ "productName": "不动产",
998
+ "shorthand": "不动产",
999
+ "id": null,
1000
+ "specification": null,
1001
+ "createTime": "Tue Jun 20 14:56:59 CST 2023",
1002
+ "status": 1,
1003
+ "versionCode": "48.0",
1004
+ "version": "32.0",
1005
+ "startTime": "20190401",
1006
+ "endTime": null,
1007
+ "cargo": null,
1008
+ "desc": null,
1009
+ "taxRate": "",
1010
+ "keyword": "",
1011
+ "summarizedItem": "Y",
1012
+ "countCode": null,
1013
+ "customsItem": null,
1014
+ "updateTime": "Tue Jun 20 14:56:59 CST 2023",
1015
+ "hzx": "Y",
1016
+ "children": null,
1017
+ "vatspecialManagement": "",
1018
+ "pid": "0",
1019
+ "vatpolicyBasis": null,
1020
+ "vatspecialManagementCode": "",
1021
+ "gstpolicyBasisCode": null,
1022
+ "gstspecialManagement": null,
1023
+ "gstpolicyBasis": null
1024
+ },
1025
+ {
1026
+ "taxCategoryCode": "4000000000000000000",
1027
+ "productName": "无形资产",
1028
+ "shorthand": "无形资产",
1029
+ "id": null,
1030
+ "specification": null,
1031
+ "createTime": "Tue Jun 20 14:53:36 CST 2023",
1032
+ "status": 1,
1033
+ "versionCode": "48.0",
1034
+ "version": "32.0",
1035
+ "startTime": "20190401",
1036
+ "endTime": null,
1037
+ "cargo": null,
1038
+ "desc": null,
1039
+ "taxRate": "",
1040
+ "keyword": "",
1041
+ "summarizedItem": "Y",
1042
+ "countCode": null,
1043
+ "customsItem": null,
1044
+ "updateTime": "Tue Jun 20 14:53:36 CST 2023",
1045
+ "hzx": "Y",
1046
+ "children": null,
1047
+ "vatspecialManagement": "",
1048
+ "pid": "0",
1049
+ "vatpolicyBasis": null,
1050
+ "vatspecialManagementCode": "",
1051
+ "gstpolicyBasisCode": null,
1052
+ "gstspecialManagement": null,
1053
+ "gstpolicyBasis": null
1054
+ },
1055
+ {
1056
+ "taxCategoryCode": "1000000000000000000",
1057
+ "productName": "货物",
1058
+ "shorthand": "货物",
1059
+ "id": null,
1060
+ "specification": null,
1061
+ "createTime": "Tue Jun 20 14:56:26 CST 2023",
1062
+ "status": 1,
1063
+ "versionCode": "48.0",
1064
+ "version": "32.0",
1065
+ "startTime": "20190401",
1066
+ "endTime": null,
1067
+ "cargo": null,
1068
+ "desc": null,
1069
+ "taxRate": "",
1070
+ "keyword": "",
1071
+ "summarizedItem": "Y",
1072
+ "countCode": null,
1073
+ "customsItem": null,
1074
+ "updateTime": "Tue Jun 20 14:56:26 CST 2023",
1075
+ "hzx": "Y",
1076
+ "children": null,
1077
+ "vatspecialManagement": "",
1078
+ "pid": "0",
1079
+ "vatpolicyBasis": null,
1080
+ "vatspecialManagementCode": "",
1081
+ "gstpolicyBasisCode": null,
1082
+ "gstspecialManagement": null,
1083
+ "gstpolicyBasis": null
1084
+ },
1085
+ {
1086
+ "taxCategoryCode": "2000000000000000000",
1087
+ "productName": "劳务",
1088
+ "shorthand": "劳务",
1089
+ "id": null,
1090
+ "specification": null,
1091
+ "createTime": "Tue Jun 20 14:56:38 CST 2023",
1092
+ "status": 1,
1093
+ "versionCode": "48.0",
1094
+ "version": "32.0",
1095
+ "startTime": "20190401",
1096
+ "endTime": null,
1097
+ "cargo": null,
1098
+ "desc": null,
1099
+ "taxRate": "",
1100
+ "keyword": "",
1101
+ "summarizedItem": "Y",
1102
+ "countCode": null,
1103
+ "customsItem": null,
1104
+ "updateTime": "Tue Jun 20 14:56:38 CST 2023",
1105
+ "hzx": "Y",
1106
+ "children": null,
1107
+ "vatspecialManagement": "",
1108
+ "pid": "0",
1109
+ "vatpolicyBasis": null,
1110
+ "vatspecialManagementCode": "",
1111
+ "gstpolicyBasisCode": null,
1112
+ "gstspecialManagement": null,
1113
+ "gstpolicyBasis": null
1114
+ },
1115
+ {
1116
+ "taxCategoryCode": "6000000000000000000",
1117
+ "productName": "未发生销售行为的不征税项目",
1118
+ "shorthand": "不征税项目",
1119
+ "id": null,
1120
+ "specification": null,
1121
+ "createTime": "Tue Jun 20 14:55:06 CST 2023",
1122
+ "status": 1,
1123
+ "versionCode": "48.0",
1124
+ "version": "32.0",
1125
+ "startTime": "20190401",
1126
+ "endTime": null,
1127
+ "cargo": null,
1128
+ "desc": null,
1129
+ "taxRate": "",
1130
+ "keyword": "",
1131
+ "summarizedItem": "Y",
1132
+ "countCode": null,
1133
+ "customsItem": null,
1134
+ "updateTime": "Tue Jun 20 14:55:06 CST 2023",
1135
+ "hzx": "Y",
1136
+ "children": null,
1137
+ "vatspecialManagement": "",
1138
+ "pid": "0",
1139
+ "vatpolicyBasis": null,
1140
+ "vatspecialManagementCode": "",
1141
+ "gstpolicyBasisCode": null,
1142
+ "gstspecialManagement": null,
1143
+ "gstpolicyBasis": null
1144
+ }
1145
+ ]
1146
+ }
1147
+ };
1148
+
1149
+ }
1150
+
1151
+ // 重写 的 获取商品列表
1152
+ getGoodsList = this.pipeline<IGetBuyerListOption>(async (state, option) => {
1153
+ if (!option) return;
1154
+
1155
+ // 初始化测试数据
1156
+ const dataSource = await getMok(option.pagination.current)
1157
+
1158
+ // 设置分页数据
1159
+ state.goodsListState.importGoods.pagination = {
1160
+ ...option.pagination,
1161
+ pageSize: 20,
1162
+ total: 80,
1163
+ };
1164
+
1165
+ // 设置列表数据
1166
+ state.goodsListState.importGoods.dataSource = dataSource;
1167
+ });
1168
+ }
1169
+
1170
+ // const getMok = async (current: number = 1) => {
1171
+ // const dataSource: any[] = [];
1172
+ // for (let i = 0; i < 20; i++) {
1173
+ // const p = i + 20 * (current - 1);
1174
+ // dataSource.push({
1175
+ // itemType: `商品分类${p}`,
1176
+ // itemNo: `商品编码${p}`,
1177
+ // itemName: `商品名称${p}`,
1178
+ // shorthand: `前缀${p}`,
1179
+ // itemModelName: `规格型号${p}`,
1180
+ // unit: `计量单位${p}`,
1181
+ // priceIncludeTax: p,
1182
+ // priceExcludeTax: p,
1183
+ // taxClassificationCode: `税收分类编码${p}`,
1184
+ // affix: `附加信息${p}`,
1185
+ // });
1186
+ // }
1187
+ // return dataSource;
1188
+ // }
1189
+
1190
+
1191
+ const getMok = async (current: number = 1) => {
1192
+ return [
1193
+ {
1194
+ "attributeVOList": null,
1195
+ "brandName": null,
1196
+ "buyGroupCode": null,
1197
+ "buyGroupId": null,
1198
+ "buyGroupName": null,
1199
+ "categoryId": 2073,
1200
+ "categoryName": "通用",
1201
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1202
+ "createTime": "2021-09-10 15:45:43.0",
1203
+ "enjoyPreferentialPolicies": 0,
1204
+ "factoryCode": null,
1205
+ "factoryId": null,
1206
+ "factoryName": null,
1207
+ "id": 146200,
1208
+ "internalNumber": "发动机盖",
1209
+ "isUalityInspection": null,
1210
+ "name": "原煤",
1211
+ "preferentialPoliciesType": null,
1212
+ "priceAmount": 50,
1213
+ "procurementCycle": 0,
1214
+ "shorthand": "发动机",
1215
+ "specification": "abc",
1216
+ "spuCode": "6000001738252675",
1217
+ "status": 1,
1218
+ "taxCategoryCode": "1020101000000000000",
1219
+ "taxExemptionType": "",
1220
+ "taxId": 11,
1221
+ "taxRate": null,
1222
+ "unitId": 30,
1223
+ "unitName": "件",
1224
+ "itemType": "通用",
1225
+ "itemNo": "6000001738252675",
1226
+ "itemName": "原煤",
1227
+ "itemCode": "123123",
1228
+ "itemModelName": "abc",
1229
+ "unit": "件",
1230
+ "priceIncludeTax": 50,
1231
+ "priceExcludeTax": 50,
1232
+ "taxClassificationCode": "1020101000000000000"
1233
+ },
1234
+ {
1235
+ "attributeVOList": null,
1236
+ "brandName": null,
1237
+ "buyGroupCode": null,
1238
+ "buyGroupId": null,
1239
+ "buyGroupName": null,
1240
+ "categoryId": 2073,
1241
+ "categoryName": "通用",
1242
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1243
+ "createTime": "2021-09-10 15:45:43.0",
1244
+ "enjoyPreferentialPolicies": 0,
1245
+ "factoryCode": null,
1246
+ "factoryId": null,
1247
+ "factoryName": null,
1248
+ "id": 146200,
1249
+ "internalNumber": "发动机盖",
1250
+ "isUalityInspection": null,
1251
+ "name": "发动机ABC",
1252
+ "preferentialPoliciesType": null,
1253
+ "priceAmount": 50,
1254
+ "procurementCycle": 0,
1255
+ "shorthand": "发动机",
1256
+ "specification": "abc",
1257
+ "spuCode": "6000001738252675",
1258
+ "status": 1,
1259
+ "taxCategoryCode": "1090102040000000000",
1260
+ "taxExemptionType": "",
1261
+ "taxId": 11,
1262
+ "taxRate": 13,
1263
+ "unitId": 30,
1264
+ "unitName": "件",
1265
+ "itemType": "通用",
1266
+ "itemNo": "6000001738252675",
1267
+ "itemName": "发动机ABC",
1268
+ "itemModelName": "abc",
1269
+ "unit": "件",
1270
+ "priceIncludeTax": 50,
1271
+ "priceExcludeTax": 50,
1272
+ "taxClassificationCode": "1090102040000000000"
1273
+ },
1274
+ {
1275
+ "attributeVOList": null,
1276
+ "brandName": "丹东一号",
1277
+ "buyGroupCode": null,
1278
+ "buyGroupId": null,
1279
+ "buyGroupName": null,
1280
+ "categoryId": 2073,
1281
+ "categoryName": "通用",
1282
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1283
+ "createTime": "2021-09-02 14:59:52.0",
1284
+ "enjoyPreferentialPolicies": 0,
1285
+ "factoryCode": null,
1286
+ "factoryId": null,
1287
+ "factoryName": null,
1288
+ "id": 146199,
1289
+ "internalNumber": null,
1290
+ "isUalityInspection": null,
1291
+ "name": "aaaa",
1292
+ "preferentialPoliciesType": null,
1293
+ "priceAmount": 0,
1294
+ "procurementCycle": 0,
1295
+ "shorthand": "活牲畜",
1296
+ "specification": null,
1297
+ "spuCode": "6000001311479375",
1298
+ "status": 1,
1299
+ "taxCategoryCode": "1010301010000000000",
1300
+ "taxExemptionType": "1",
1301
+ "taxId": 1,
1302
+ "taxRate": 0,
1303
+ "unitId": null,
1304
+ "unitName": null,
1305
+ "itemType": "通用",
1306
+ "itemNo": "6000001311479375",
1307
+ "itemName": "aaaa",
1308
+ "itemModelName": null,
1309
+ "unit": null,
1310
+ "priceIncludeTax": 0,
1311
+ "priceExcludeTax": 0,
1312
+ "taxClassificationCode": "1010301010000000000"
1313
+ },
1314
+ {
1315
+ "attributeVOList": null,
1316
+ "brandName": "丹东一号",
1317
+ "buyGroupCode": null,
1318
+ "buyGroupId": null,
1319
+ "buyGroupName": null,
1320
+ "categoryId": 246,
1321
+ "categoryName": "分类cc>1",
1322
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1323
+ "createTime": "2020-12-28 18:23:55.0",
1324
+ "enjoyPreferentialPolicies": 0,
1325
+ "factoryCode": null,
1326
+ "factoryId": null,
1327
+ "factoryName": null,
1328
+ "id": 146131,
1329
+ "internalNumber": null,
1330
+ "isUalityInspection": null,
1331
+ "name": "AAAA",
1332
+ "preferentialPoliciesType": null,
1333
+ "priceAmount": null,
1334
+ "procurementCycle": 0,
1335
+ "shorthand": null,
1336
+ "specification": "1234EFF",
1337
+ "spuCode": "6000002120658581",
1338
+ "status": 1,
1339
+ "taxCategoryCode": null,
1340
+ "taxExemptionType": null,
1341
+ "taxId": null,
1342
+ "taxRate": 0,
1343
+ "unitId": 362,
1344
+ "unitName": "年",
1345
+ "itemType": "分类cc>1",
1346
+ "itemNo": "6000002120658581",
1347
+ "itemName": "AAAA",
1348
+ "itemModelName": "1234EFF",
1349
+ "unit": "年",
1350
+ "priceIncludeTax": 0,
1351
+ "priceExcludeTax": 0,
1352
+ "taxClassificationCode": null
1353
+ },
1354
+ {
1355
+ "attributeVOList": null,
1356
+ "brandName": null,
1357
+ "buyGroupCode": null,
1358
+ "buyGroupId": null,
1359
+ "buyGroupName": null,
1360
+ "categoryId": 2073,
1361
+ "categoryName": "通用",
1362
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1363
+ "createTime": "2020-12-15 10:14:14.0",
1364
+ "enjoyPreferentialPolicies": 0,
1365
+ "factoryCode": null,
1366
+ "factoryId": null,
1367
+ "factoryName": null,
1368
+ "id": 146129,
1369
+ "internalNumber": null,
1370
+ "isUalityInspection": null,
1371
+ "name": "服务费",
1372
+ "preferentialPoliciesType": null,
1373
+ "priceAmount": null,
1374
+ "procurementCycle": 0,
1375
+ "shorthand": "软件",
1376
+ "specification": null,
1377
+ "spuCode": "6000001474077629",
1378
+ "status": 1,
1379
+ "taxCategoryCode": "1060301020100000000",
1380
+ "taxExemptionType": null,
1381
+ "taxId": null,
1382
+ "taxRate": 0,
1383
+ "unitId": null,
1384
+ "unitName": null,
1385
+ "itemType": "通用",
1386
+ "itemNo": "6000001474077629",
1387
+ "itemName": "服务费",
1388
+ "itemModelName": null,
1389
+ "unit": null,
1390
+ "priceIncludeTax": 0,
1391
+ "priceExcludeTax": 0,
1392
+ "taxClassificationCode": "1060301020100000000"
1393
+ },
1394
+ {
1395
+ "attributeVOList": null,
1396
+ "brandName": "丹东一号",
1397
+ "buyGroupCode": null,
1398
+ "buyGroupId": null,
1399
+ "buyGroupName": null,
1400
+ "categoryId": 2073,
1401
+ "categoryName": "通用",
1402
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1403
+ "createTime": "2020-10-30 15:07:05.0",
1404
+ "enjoyPreferentialPolicies": 0,
1405
+ "factoryCode": null,
1406
+ "factoryId": null,
1407
+ "factoryName": null,
1408
+ "id": 145809,
1409
+ "internalNumber": "0987",
1410
+ "isUalityInspection": null,
1411
+ "name": "中科",
1412
+ "preferentialPoliciesType": null,
1413
+ "priceAmount": 1000,
1414
+ "procurementCycle": 0,
1415
+ "shorthand": "糖料",
1416
+ "specification": "12",
1417
+ "spuCode": "6000001168374126",
1418
+ "status": 1,
1419
+ "taxCategoryCode": "1010107010000000000",
1420
+ "taxExemptionType": "3",
1421
+ "taxId": 1,
1422
+ "taxRate": 0,
1423
+ "unitId": 32,
1424
+ "unitName": "把",
1425
+ "itemType": "通用",
1426
+ "itemNo": "6000001168374126",
1427
+ "itemName": "中科",
1428
+ "itemModelName": "12",
1429
+ "unit": "把",
1430
+ "priceIncludeTax": 1000,
1431
+ "priceExcludeTax": 1000,
1432
+ "taxClassificationCode": "1010107010000000000"
1433
+ },
1434
+ {
1435
+ "attributeVOList": null,
1436
+ "brandName": null,
1437
+ "buyGroupCode": null,
1438
+ "buyGroupId": null,
1439
+ "buyGroupName": null,
1440
+ "categoryId": 1862,
1441
+ "categoryName": "通用",
1442
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1443
+ "createTime": "2019-03-22 11:06:53.0",
1444
+ "enjoyPreferentialPolicies": 0,
1445
+ "factoryCode": null,
1446
+ "factoryId": null,
1447
+ "factoryName": null,
1448
+ "id": 144321,
1449
+ "internalNumber": "4302111",
1450
+ "isUalityInspection": 0,
1451
+ "name": "农用化肥2",
1452
+ "preferentialPoliciesType": "",
1453
+ "priceAmount": 90,
1454
+ "procurementCycle": 0,
1455
+ "shorthand": "肥料",
1456
+ "specification": "HLHF-211",
1457
+ "spuCode": "1000019000000056",
1458
+ "status": 1,
1459
+ "taxCategoryCode": "1000000000000000000",
1460
+ "taxExemptionType": null,
1461
+ "taxId": null,
1462
+ "taxRate": 0,
1463
+ "unitId": 11,
1464
+ "unitName": "包",
1465
+ "itemType": "通用",
1466
+ "itemNo": "1000019000000056",
1467
+ "itemName": "农用化肥2",
1468
+ "itemModelName": "HLHF-211",
1469
+ "unit": "包",
1470
+ "priceIncludeTax": 90,
1471
+ "priceExcludeTax": 90,
1472
+ "taxClassificationCode": "1000000000000000000"
1473
+ },
1474
+ {
1475
+ "attributeVOList": null,
1476
+ "brandName": null,
1477
+ "buyGroupCode": null,
1478
+ "buyGroupId": null,
1479
+ "buyGroupName": null,
1480
+ "categoryId": 1862,
1481
+ "categoryName": "通用",
1482
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1483
+ "createTime": "2019-03-22 11:06:52.0",
1484
+ "enjoyPreferentialPolicies": 0,
1485
+ "factoryCode": null,
1486
+ "factoryId": null,
1487
+ "factoryName": null,
1488
+ "id": 144320,
1489
+ "internalNumber": "4302111",
1490
+ "isUalityInspection": 0,
1491
+ "name": "园林轻化肥",
1492
+ "preferentialPoliciesType": "",
1493
+ "priceAmount": null,
1494
+ "procurementCycle": null,
1495
+ "shorthand": "肥料",
1496
+ "specification": "HLHF-211",
1497
+ "spuCode": "1000019000000055",
1498
+ "status": 1,
1499
+ "taxCategoryCode": "233WD5FG00911",
1500
+ "taxExemptionType": null,
1501
+ "taxId": null,
1502
+ "taxRate": 0,
1503
+ "unitId": 11,
1504
+ "unitName": "包",
1505
+ "itemType": "通用",
1506
+ "itemNo": "1000019000000055",
1507
+ "itemName": "园林轻化肥",
1508
+ "itemModelName": "HLHF-211",
1509
+ "unit": "包",
1510
+ "priceIncludeTax": 0,
1511
+ "priceExcludeTax": 0,
1512
+ "taxClassificationCode": "233WD5FG00911"
1513
+ },
1514
+ {
1515
+ "attributeVOList": null,
1516
+ "brandName": null,
1517
+ "buyGroupCode": null,
1518
+ "buyGroupId": null,
1519
+ "buyGroupName": null,
1520
+ "categoryId": 1862,
1521
+ "categoryName": "通用",
1522
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1523
+ "createTime": "2019-03-06 16:06:16.0",
1524
+ "enjoyPreferentialPolicies": 0,
1525
+ "factoryCode": null,
1526
+ "factoryId": null,
1527
+ "factoryName": null,
1528
+ "id": 101211,
1529
+ "internalNumber": "4302111",
1530
+ "isUalityInspection": 0,
1531
+ "name": "营养土壤",
1532
+ "preferentialPoliciesType": "",
1533
+ "priceAmount": null,
1534
+ "procurementCycle": null,
1535
+ "shorthand": "肥料",
1536
+ "specification": "HLHF-211",
1537
+ "spuCode": "1000019000000053",
1538
+ "status": 1,
1539
+ "taxCategoryCode": "233WD5FG00911",
1540
+ "taxExemptionType": null,
1541
+ "taxId": null,
1542
+ "taxRate": 0,
1543
+ "unitId": 11,
1544
+ "unitName": "包",
1545
+ "itemType": "通用",
1546
+ "itemNo": "1000019000000053",
1547
+ "itemName": "营养土壤",
1548
+ "itemModelName": "HLHF-211",
1549
+ "unit": "包",
1550
+ "priceIncludeTax": 0,
1551
+ "priceExcludeTax": 0,
1552
+ "taxClassificationCode": "233WD5FG00911"
1553
+ },
1554
+ {
1555
+ "attributeVOList": null,
1556
+ "brandName": null,
1557
+ "buyGroupCode": null,
1558
+ "buyGroupId": null,
1559
+ "buyGroupName": null,
1560
+ "categoryId": 1862,
1561
+ "categoryName": "通用",
1562
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1563
+ "createTime": "2019-03-06 16:06:16.0",
1564
+ "enjoyPreferentialPolicies": 0,
1565
+ "factoryCode": null,
1566
+ "factoryId": null,
1567
+ "factoryName": null,
1568
+ "id": 101212,
1569
+ "internalNumber": "4302111",
1570
+ "isUalityInspection": 0,
1571
+ "name": "植物营养液",
1572
+ "preferentialPoliciesType": "",
1573
+ "priceAmount": null,
1574
+ "procurementCycle": null,
1575
+ "shorthand": "肥料",
1576
+ "specification": "HLHF-211",
1577
+ "spuCode": "1000019000000054",
1578
+ "status": 1,
1579
+ "taxCategoryCode": "233WD5FG00911",
1580
+ "taxExemptionType": null,
1581
+ "taxId": null,
1582
+ "taxRate": 0,
1583
+ "unitId": 11,
1584
+ "unitName": "包",
1585
+ "itemType": "通用",
1586
+ "itemNo": "1000019000000054",
1587
+ "itemName": "植物营养液",
1588
+ "itemModelName": "HLHF-211",
1589
+ "unit": "包",
1590
+ "priceIncludeTax": 0,
1591
+ "priceExcludeTax": 0,
1592
+ "taxClassificationCode": "233WD5FG00911"
1593
+ },
1594
+ {
1595
+ "attributeVOList": null,
1596
+ "brandName": null,
1597
+ "buyGroupCode": null,
1598
+ "buyGroupId": null,
1599
+ "buyGroupName": null,
1600
+ "categoryId": 1862,
1601
+ "categoryName": "通用",
1602
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
1603
+ "createTime": "2019-03-05 18:15:59.0",
1604
+ "enjoyPreferentialPolicies": 0,
1605
+ "factoryCode": null,
1606
+ "factoryId": null,
1607
+ "factoryName": null,
1608
+ "id": 101203,
1609
+ "internalNumber": "4353245243",
1610
+ "isUalityInspection": 0,
1611
+ "name": "医用棉布纱布条",
1612
+ "preferentialPoliciesType": "",
1613
+ "priceAmount": null,
1614
+ "procurementCycle": null,
1615
+ "shorthand": "布料",
1616
+ "specification": "ZC11D-006",
1617
+ "spuCode": "6000000804084562",
1618
+ "status": 1,
1619
+ "taxCategoryCode": "1234567890123456789",
1620
+ "taxExemptionType": null,
1621
+ "taxId": 5,
1622
+ "taxRate": 3,
1623
+ "unitId": 3,
1624
+ "unitName": "米",
1625
+ "itemType": "通用",
1626
+ "itemNo": "6000000804084562",
1627
+ "itemName": "医用棉布纱布条",
1628
+ "itemModelName": "ZC11D-006",
1629
+ "unit": "米",
1630
+ "priceIncludeTax": 0,
1631
+ "priceExcludeTax": 0,
1632
+ "taxClassificationCode": "1234567890123456789",
1633
+ }
1634
+ ]
1635
+ }