kts-component-invoice-operate 3.2.82 → 3.2.84

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 (204) 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/README.md +8 -8
  8. package/dist/index.esm.js +651 -618
  9. package/dist/index.js +651 -618
  10. package/docs/index.md +5 -5
  11. package/docs-dist/static/arrowDown.a1cbf0d8.svg +2 -2
  12. package/docs-dist/static/arrowUp.4c482054.svg +2 -2
  13. package/docs-dist/static/fork.5431267d.svg +11 -11
  14. package/docs-dist/static/plus.44013ce3.svg +11 -11
  15. package/docs-dist/static/plus.4fd1af30.svg +11 -11
  16. package/index.html +12 -12
  17. package/package.json +61 -61
  18. package/src/Invoice/Invoice-digtal/_test/disabled/index.tsx +38 -38
  19. package/src/Invoice/Invoice-digtal/_test/easiest/index.tsx +16 -16
  20. package/src/Invoice/Invoice-digtal/_test/header/index.tsx +84 -84
  21. package/src/Invoice/Invoice-digtal/_test/importGoods/index.tsx +470 -470
  22. package/src/Invoice/Invoice-digtal/_test/importStakeholder/index.tsx +17 -17
  23. package/src/Invoice/Invoice-digtal/_test/lineCredit/index.tsx +20 -20
  24. package/src/Invoice/Invoice-digtal/_test/prefab/index.tsx +150 -150
  25. package/src/Invoice/Invoice-digtal/_test/readOnly/index.tsx +42 -42
  26. package/src/Invoice/Invoice-digtal/_test/stakeholder/index.tsx +12 -12
  27. package/src/Invoice/Invoice-digtal/_test/typeSelection/index.tsx +29 -29
  28. package/src/Invoice/Invoice-digtal/index.md +30 -30
  29. package/src/Invoice/InvoiceController/InvoiceControllerForm/index.ts +94 -94
  30. package/src/Invoice/InvoiceController/InvoiceControllerState/AutoComplete/index.ts +17 -17
  31. package/src/Invoice/InvoiceController/InvoiceControllerState/BuyerState/index.tsx +88 -88
  32. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/Drag/index.ts +15 -15
  33. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/EndowCode/index.tsx +104 -104
  34. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IColumnsReplenish/index.ts +10 -10
  35. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.ts +78 -78
  36. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ImportGoods/index.ts +80 -80
  37. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/LineAttributeType/index.ts +7 -7
  38. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ProductComparison/index.ts +9 -9
  39. package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +113 -113
  40. package/src/Invoice/InvoiceController/InvoiceControllerState/Stakeholder/index.ts +13 -13
  41. package/src/Invoice/InvoiceController/InvoiceControllerState/index.ts +65 -65
  42. package/src/Invoice/InvoiceController/fns/addGood.ts +11 -11
  43. package/src/Invoice/InvoiceController/fns/addGoodDiscount.ts +126 -126
  44. package/src/Invoice/InvoiceController/fns/addGoodDiscountV2.ts +85 -85
  45. package/src/Invoice/InvoiceController/fns/delGood.ts +41 -41
  46. package/src/Invoice/InvoiceController/fns/getGoodsSearch.ts +26 -26
  47. package/src/Invoice/InvoiceController/fns/importGoodsDrawer.ts +79 -79
  48. package/src/Invoice/InvoiceController/fns/mergeDetails.ts +165 -165
  49. package/src/Invoice/InvoiceController/fns/mergeDiscount.ts +28 -28
  50. package/src/Invoice/InvoiceController/fns/saveEditGood.ts +24 -24
  51. package/src/Invoice/InvoiceController/fns/setEditGood.ts +16 -16
  52. package/src/Invoice/InvoiceController/fns/setGoods.ts +10 -10
  53. package/src/Invoice/InvoiceController/fns/updateInvoiceNo.ts +8 -8
  54. package/src/Invoice/InvoiceController/index.ts +77 -77
  55. package/src/Invoice/_test/buyerNameSearch/index.tsx +42 -42
  56. package/src/Invoice/_test/deduction/index.tsx +935 -935
  57. package/src/Invoice/_test/draft/index.tsx +40 -40
  58. package/src/Invoice/_test/easiest/index.tsx +5 -5
  59. package/src/Invoice/_test/endowCode/index.tsx +1126 -1071
  60. package/src/Invoice/_test/goodsMenuExpand/index.tsx +32 -32
  61. package/src/Invoice/_test/importBuyer/index.tsx +74 -74
  62. package/src/Invoice/_test/importGoods/index.tsx +516 -1078
  63. package/src/Invoice/_test/invoiceType/index.tsx +59 -59
  64. package/src/Invoice/_test/isInvoiceNo/index.tsx +12 -12
  65. package/src/Invoice/_test/replaceHead/index.tsx +22 -22
  66. package/src/Invoice/_test/retrieveData/index.tsx +22 -22
  67. package/src/Invoice/_test/seller/index.tsx +28 -28
  68. package/src/Invoice/_test/setDataSource/index.tsx +66 -66
  69. package/src/Invoice/_test/unit/index.tsx +19 -19
  70. package/src/Invoice/index.less +29 -29
  71. package/src/Invoice/index.md +53 -53
  72. package/src/Invoice/index.tsx +165 -165
  73. package/src/Invoice/tools/calculate/index.ts +112 -112
  74. package/src/Invoice/tools/coolingFn/index.ts +17 -17
  75. package/src/Invoice/tools/evaluate/index.ts +7 -7
  76. package/src/Invoice/tools/idGenerator/index.ts +2 -2
  77. package/src/Invoice/tools/itemName/index.ts +55 -55
  78. package/src/Invoice/tools/lazyFn/index.ts +19 -19
  79. package/src/Invoice/tools/mounting/index.ts +13 -13
  80. package/src/Invoice/tools/strringFn/index.ts +40 -40
  81. package/src/Invoice/tools/useToGenerateId/index.ts +8 -8
  82. package/src/Invoice/ui/default/AddComparisonDrawer/index.tsx +149 -149
  83. package/src/Invoice/ui/default/Buyer/index.less +219 -219
  84. package/src/Invoice/ui/default/Buyer/index.tsx +114 -114
  85. package/src/Invoice/ui/default/Buyer/ui/BuyerNameInput/index.tsx +166 -166
  86. package/src/Invoice/ui/default/Buyer/ui/ImportBuyerButton/index.tsx +21 -21
  87. package/src/Invoice/ui/default/EndowCodeDrawer/index.less +8 -8
  88. package/src/Invoice/ui/default/EndowCodeDrawer/index.tsx +543 -543
  89. package/src/Invoice/ui/default/GoodsList/hook/useColumns/autoFillFn/index.ts +533 -533
  90. package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +686 -664
  91. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.less +20 -20
  92. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.tsx +205 -205
  93. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.less +18 -18
  94. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.tsx +47 -47
  95. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.less +17 -17
  96. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +75 -75
  97. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowEditButton/index.tsx +30 -30
  98. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/_useAddComparison/index.tsx +43 -43
  99. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.tsx +76 -76
  100. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx +45 -45
  101. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.tsx +38 -38
  102. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/index.less +13 -13
  103. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +98 -98
  104. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowSaveButton/index.tsx +14 -14
  105. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/TitleText/index.tsx +20 -20
  106. package/src/Invoice/ui/default/GoodsList/hook/useDeduction/index.tsx +24 -24
  107. package/src/Invoice/ui/default/GoodsList/hook/useOnRow/index.tsx +39 -39
  108. package/src/Invoice/ui/default/GoodsList/hook/useRowSelection/index.tsx +114 -111
  109. package/src/Invoice/ui/default/GoodsList/hook/useWindowClick/index.tsx +23 -23
  110. package/src/Invoice/ui/default/GoodsList/index.less +179 -179
  111. package/src/Invoice/ui/default/GoodsList/index.tsx +205 -205
  112. package/src/Invoice/ui/default/GoodsList/ui/AddRowButton/index.tsx +65 -65
  113. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.less +21 -21
  114. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +244 -244
  115. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useCommodityComparisonButton/index.tsx +75 -75
  116. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +69 -69
  117. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useEndowCodeButton/index.tsx +65 -65
  118. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useMergeDetails/index.tsx +91 -91
  119. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useMergeDiscount/index.tsx +36 -36
  120. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useSalesDiscount/index.tsx +109 -110
  121. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useSalesGifts/index.tsx +75 -75
  122. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/index.tsx +37 -37
  123. package/src/Invoice/ui/default/GoodsList/ui/DescribeSwitch/index.tsx +36 -36
  124. package/src/Invoice/ui/default/GoodsList/ui/Search/index.less +10 -10
  125. package/src/Invoice/ui/default/GoodsList/ui/Search/index.tsx +52 -52
  126. package/src/Invoice/ui/default/GoodsList/ui/Statistics/index.less +18 -18
  127. package/src/Invoice/ui/default/GoodsList/ui/Statistics/index.tsx +109 -109
  128. package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.less +28 -28
  129. package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.tsx +57 -57
  130. package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.less +38 -38
  131. package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.tsx +108 -108
  132. package/src/Invoice/ui/default/GoodsList/ui/TableVirtual.o/index.less +44 -44
  133. package/src/Invoice/ui/default/GoodsList/ui/TableVirtual.o/index.tsx +96 -96
  134. package/src/Invoice/ui/default/GoodsList/ui/TaxIncludedSwitch/index.tsx +30 -30
  135. package/src/Invoice/ui/default/ImportBuyerDrawer/index.tsx +75 -75
  136. package/src/Invoice/ui/default/ImportGoodsDrawer/index.tsx +201 -201
  137. package/src/Invoice/ui/default/InvoiceHeader/index.less +68 -68
  138. package/src/Invoice/ui/default/InvoiceHeader/index.tsx +246 -246
  139. package/src/Invoice/ui/default/Seller/index.less +113 -113
  140. package/src/Invoice/ui/default/Seller/index.tsx +98 -98
  141. package/src/Invoice/ui/default/Sign/index.less +14 -14
  142. package/src/Invoice/ui/default/Sign/index.tsx +71 -71
  143. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/autoFillFn/index.ts +519 -519
  144. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/index.tsx +648 -648
  145. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/svg/plus.svg +11 -11
  146. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.less +20 -20
  147. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.tsx +205 -205
  148. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/ItemNameInput/index.less +9 -9
  149. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +50 -50
  150. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowEditButton/index.tsx +30 -30
  151. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/_useAddComparison/index.tsx +43 -43
  152. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.tsx +76 -76
  153. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx +41 -41
  154. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.tsx +34 -34
  155. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/index.less +13 -13
  156. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +98 -98
  157. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowSaveButton/index.tsx +14 -14
  158. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/TitleText/index.tsx +20 -20
  159. package/src/Invoice/ui/digtal/GoodsList/hook/useOnRow/index.tsx +39 -39
  160. package/src/Invoice/ui/digtal/GoodsList/hook/useRowSelection/index.tsx +121 -121
  161. package/src/Invoice/ui/digtal/GoodsList/hook/useWindowClick/index.tsx +23 -23
  162. package/src/Invoice/ui/digtal/GoodsList/index.less +56 -56
  163. package/src/Invoice/ui/digtal/GoodsList/index.tsx +180 -180
  164. package/src/Invoice/ui/digtal/GoodsList/ui/AddRowButton/index.tsx +65 -65
  165. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +339 -339
  166. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/svg/add.svg +11 -11
  167. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useCommodityComparisonButton/index.tsx +75 -75
  168. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +50 -50
  169. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useEmptyRefill/index.tsx +35 -35
  170. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useEndowCodeButton/index.tsx +82 -82
  171. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useReselectInvoiceType/index.tsx +57 -57
  172. package/src/Invoice/ui/digtal/GoodsList/ui/DescribeSwitch/index.tsx +36 -36
  173. package/src/Invoice/ui/digtal/GoodsList/ui/Search/index.less +11 -11
  174. package/src/Invoice/ui/digtal/GoodsList/ui/Search/index.tsx +50 -50
  175. package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/index.less +53 -53
  176. package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/index.tsx +99 -99
  177. package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/svg/fork.svg +11 -11
  178. package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.less +28 -28
  179. package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.tsx +53 -53
  180. package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual/index.less +38 -38
  181. package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual/index.tsx +108 -108
  182. package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual.o/index.less +44 -44
  183. package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual.o/index.tsx +96 -96
  184. package/src/Invoice/ui/digtal/GoodsList/ui/TaxIncludedSwitch/index.tsx +30 -30
  185. package/src/Invoice/ui/digtal/InvoiceHeader/index.less +57 -57
  186. package/src/Invoice/ui/digtal/InvoiceHeader/index.tsx +77 -77
  187. package/src/Invoice/ui/digtal/Sign/index.less +48 -48
  188. package/src/Invoice/ui/digtal/Sign/index.tsx +99 -99
  189. package/src/Invoice/ui/digtal/Stakeholder/index.less +75 -75
  190. package/src/Invoice/ui/digtal/Stakeholder/index.tsx +394 -394
  191. package/src/Invoice/ui/digtal/Stakeholder/svg/arrowDown.svg +2 -2
  192. package/src/Invoice/ui/digtal/Stakeholder/svg/arrowUp.svg +2 -2
  193. package/src/Invoice/ui/digtal/Stakeholder/svg/plus.svg +11 -11
  194. package/src/InvoiceTypeModal/_test/easiest/index.tsx +31 -31
  195. package/src/InvoiceTypeModal/index.less +7 -7
  196. package/src/InvoiceTypeModal/index.md +5 -5
  197. package/src/InvoiceTypeModal/index.tsx +153 -153
  198. package/src/TaxClassificationCodeModal/_test/easiest/index.tsx +177 -177
  199. package/src/TaxClassificationCodeModal/index.md +6 -6
  200. package/src/TaxClassificationCodeModal/index.tsx +67 -67
  201. package/src/index.ts +12 -12
  202. package/tsconfig.json +31 -31
  203. package/typings.d.ts +3 -3
  204. package/yarn.e.lock +14331 -14331
@@ -1,1072 +1,1127 @@
1
- import React from 'react';
2
- import Invoice from '../..';
3
- import idGenerator from '../../tools/idGenerator';
4
- import { LineAttributeType } from '../../InvoiceController';
5
- import { Button, Switch } from 'kts-components-antd-x3';
6
-
7
- export default () => {
8
- const controller1 = React.useMemo(() => new MyController1(), []);
9
-
10
- const controller2 = React.useMemo(() => new MyController2(), []);
11
-
12
- const [controller, setController] = React.useState(controller1)
13
-
14
- const onClick1 = React.useCallback(() => {
15
- controller.pipeline(async (s) => {
16
- s.goodsListState.goodsList = goodsList.slice();
17
- })();
18
- }, [controller]);
19
-
20
- const onClick5 = React.useCallback(() => {
21
- controller.pipeline(async (s) => {
22
- s.goodsListState.goodsList = goodsList.slice(0, 500);
23
- })();
24
- }, [controller]);
25
-
26
- const onClick2 = React.useCallback(() => {
27
- controller.pipeline(async (s) => {
28
- s.goodsListState.goodsList = lines.map(e => {
29
- return {
30
- $index: idGenerator(),
31
- ...e,
32
- }
33
- });
34
- })();
35
- }, [controller]);
36
-
37
- const onClick6 = React.useCallback(async () => {
38
- console.log('===> 当前组件状态', await controller.validateFields());
39
- }, []);
40
-
41
- return (
42
- <div>
43
- <Button onClick={onClick1} style={{ marginBottom: 20 }}>
44
- 载入1W数据
45
- </Button>
46
- <Button onClick={onClick5} style={{ marginBottom: 20 }}>
47
- 载入500数据
48
- </Button>
49
- <Button onClick={onClick2} style={{ marginBottom: 20 }}>
50
- 模拟生成数据
51
- </Button>
52
- <Button onClick={onClick6} style={{ marginBottom: 10 }}>获取数据</Button>
53
- <Switch checkedChildren="预制" unCheckedChildren="默认" onChange={e => { e ? setController(controller2) : setController(controller1) }} ></Switch>
54
- <Button onClick={controller.pipeline(async s => { s.goodsListState.endowCode.getReadOnlyTaxRate = s.goodsListState.endowCode.readOnlyTaxRateMap.DRAFT })} >税率(草稿)</Button>
55
- <Button onClick={controller.pipeline(async s => { s.goodsListState.endowCode.getReadOnlyTaxRate = () => true })} >税率(预制)</Button>
56
- <Invoice controller={controller} />
57
- </div>
58
- );
59
- };
60
-
61
- // 税收分类编码列表
62
- class MyController1 extends Invoice.InvoiceController {
63
-
64
- constructor() {
65
- super()
66
- this.state.model = 'default'
67
- this.state.goodsListState.isMergeDetails = true;
68
- this.state.goodsListState.drag.isStart = true;
69
- this.state.goodsListState.columnshide = [];
70
- }
71
-
72
- getTaxCategoryCodeList = this.pipeline(async (s) => {
73
- console.log('===> 准备赋码的货物索引列表', s.goodsListState.endowCode.endowcodeGoodIndex);
74
- s.goodsListState.endowCode.getTaxCategoryCodeTree = async (taxCategoryCode?: string | undefined, val?: string | undefined) => {
75
- if (!taxCategoryCode && !val) return [];
76
- return moke.map(e => {
77
- return {
78
- label: `${e.taxCategoryCode}-${e.shorthand}`,
79
- shorthand: e.shorthand,
80
- id: e.taxCategoryCode,
81
- pid: e.pid
82
- }
83
- })
84
- };;
85
- });
86
- }
87
-
88
-
89
- class MyController2 extends Invoice.InvoiceController {
90
-
91
- constructor() {
92
- super()
93
- this.state.model = 'prefab'
94
- this.state.goodsListState.isMergeDetails = true;
95
- this.state.goodsListState.drag.isStart = true;
96
- this.state.goodsListState.columnshide = [];
97
- }
98
-
99
- getTaxCategoryCodeList = this.pipeline(async (s) => {
100
- console.log('===> 准备赋码的货物索引列表', s.goodsListState.endowCode.endowcodeGoodIndex);
101
-
102
- s.goodsListState.endowCode.getTaxCategoryCodeList = async (value) => {
103
- console.log('===>搜索条件', value);
104
- return [
105
- { label: '3040201990000000000/aaa/bbb', value: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
106
- { label: '3040201990000000001/aaa/bbb', value: '3040201990000000001', taxRate: 3, shorthand: 'aaa' },
107
- { label: '3040201990000000002/aaa/bbb', value: '3040201990000000002', taxRate: 3, shorthand: 'aaa' },
108
- { label: '3040201990000000003/aaa/bbb', value: '3040201990000000003', taxRate: 3, shorthand: 'aaa' },
109
- { label: '3040201990000000004/aaa/bbb', value: '3040201990000000004', taxRate: 3, shorthand: 'aaa' },
110
- { label: '3040201990000000005/aaa/bbb', value: '3040201990000000005', taxRate: 3, shorthand: 'aaa' },
111
- { label: '3040201990000000006/aaa/bbb', value: '3040201990000000006', taxRate: 3, shorthand: 'aaa' },
112
- { label: '3040201990000000007/aaa/bbb', value: '3040201990000000007', taxRate: 3, shorthand: 'aaa' },
113
- { label: '3040201990000000008/aaa/bbb', value: '3040201990000000008', taxRate: 3, shorthand: 'aaa' },
114
- { label: '3040201990000000009/aaa/bbb', value: '3040201990000000009', taxRate: 3, shorthand: 'aaa' },
115
- { label: '3040201990000000010/aaa/bbb', value: '3040201990000000010', taxRate: 3, shorthand: 'aaa' },
116
- { label: '3040201990000000011/aaa/bbb', value: '3040201990000000011', taxRate: 3, shorthand: 'aaa' },
117
- ]
118
- };
119
- });
120
- }
121
-
122
- const goodsList: any[] = [];
123
- for (let i = 0; i <= 10000; i++) {
124
- goodsList.push({
125
- $index: idGenerator(),
126
- itemName: `项目名称${i}`,
127
- lineAttribute: LineAttributeType.正常,
128
- lineAmountExcludeTax: 9.99,
129
- lineAmountIncludeTax: 10.29,
130
- taxRate: 3,
131
- taxAmount: 0.3,
132
- });
133
- }
134
-
135
- const lines: any[] = [
136
- {
137
- "serialNumber": "1714491422279110656",
138
- "lineNumber": 1,
139
- "taxCode": "3070401000000000000",
140
- "taxName": "信息技术服务",
141
- "specification": null,
142
- "itemName": "技术服务费",
143
- "itemCode": "",
144
- "unit": "",
145
- "quantity": 1.0000000000001,
146
- "taxRate": 0.06,
147
- "priceExcludeTax": 5,
148
- "priceIncludeTax": 5.3,
149
- "amountTax": 0.3,
150
- "lineAmountExcludeTax": 5,
151
- "lineAmountIncludeTax": 5.3,
152
- "lineAttribute": LineAttributeType.被折扣行,
153
- "discountGroup": "1714491422291693568",
154
- "favouredPolicyMark": false,
155
- "favouredPolicyName": null,
156
- "zeroTaxRateFlag": null,
157
- "referenceLines": null,
158
- "version": 0
159
- },
160
- {
161
- "serialNumber": "1714491422279110656",
162
- "lineNumber": 2,
163
- "taxCode": "3070401000000000000",
164
- "taxName": "信息技术服务",
165
- "specification": "",
166
- "itemName": "技术服务费",
167
- "itemCode": "",
168
- "unit": "",
169
- "quantity": null,
170
- "taxRate": 0.06,
171
- "priceExcludeTax": null,
172
- "priceIncludeTax": null,
173
- "amountTax": -0.06,
174
- "lineAmountExcludeTax": 5,
175
- "lineAmountIncludeTax": 5.3,
176
- "lineAttribute": LineAttributeType.折扣行,
177
- "discountGroup": "1714491422291693568",
178
- "favouredPolicyMark": false,
179
- "favouredPolicyName": null,
180
- "zeroTaxRateFlag": null,
181
- "referenceLines": null,
182
- "version": 0
183
- },
184
- {
185
- "serialNumber": "1714491422279110656",
186
- "lineNumber": 3,
187
- "taxCode": "3070401000000000000",
188
- "taxName": "信息技术服务",
189
- "specification": null,
190
- "itemName": "技术服务费",
191
- "itemCode": null,
192
- "unit": "",
193
- "quantity": 1,
194
- "taxRate": 0.06,
195
- "priceExcludeTax": 2,
196
- "priceIncludeTax": 2.12,
197
- "amountTax": 0.12,
198
- "lineAmountExcludeTax": 5,
199
- "lineAmountIncludeTax": 5.3,
200
- "lineAttribute": LineAttributeType.正常,
201
- "discountGroup": null,
202
- "favouredPolicyMark": false,
203
- "favouredPolicyName": null,
204
- "zeroTaxRateFlag": null,
205
- "referenceLines": null,
206
- "version": 0
207
- }
208
- ]
209
-
210
- const moke = [
211
- {
212
- "bbh": "34.0",
213
- "createTime": "2019-09-12 08:54:16.0",
214
- "gjz": "稻谷、早籼稻、晚籼稻、中籼稻、粳稻、糯稻",
215
- "gxsj": "20200601",
216
- "hzx": "N",
217
- "id": 50550,
218
- "pid": "1010101000000000000",
219
- "productName": "稻谷",
220
- "qysj": "20190401",
221
- "shorthand": "谷物",
222
- "sm": "包括早籼稻、晚籼稻、中籼稻、粳稻、糯稻、其他稻谷。",
223
- "specification": null,
224
- "ssflbbh": "32.0",
225
- "statusDesc": null,
226
- "taxCategoryCode": "1010101010000000000",
227
- "updateTime": "2021-08-17 15:12:33.0",
228
- "zzssl": "9%",
229
- "zzstsgl": "免税",
230
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
231
- },
232
- {
233
- "bbh": "34.0",
234
- "createTime": "2019-09-12 08:54:16.0",
235
- "gjz": "小麦、硬质小麦、软质小麦",
236
- "gxsj": "20200601",
237
- "hzx": "N",
238
- "id": 50551,
239
- "pid": "1010101000000000000",
240
- "productName": "小麦",
241
- "qysj": "20190401",
242
- "shorthand": "谷物",
243
- "sm": "包括硬质小麦、软质小麦、其他小麦。",
244
- "specification": null,
245
- "ssflbbh": "32.0",
246
- "statusDesc": null,
247
- "taxCategoryCode": "1010101020000000000",
248
- "updateTime": "2021-08-17 15:12:22.0",
249
- "zzssl": "9%",
250
- "zzstsgl": "免税",
251
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
252
- },
253
- {
254
- "bbh": "34.0",
255
- "createTime": "2019-09-12 08:54:16.0",
256
- "gjz": "玉米、白玉米、黄玉米、糯玉米、甜玉米",
257
- "gxsj": "20200601",
258
- "hzx": "N",
259
- "id": 50552,
260
- "pid": "1010101000000000000",
261
- "productName": "玉米",
262
- "qysj": "20190401",
263
- "shorthand": "谷物",
264
- "sm": "包括白玉米、黄玉米、糯玉米、甜玉米、其他玉米。",
265
- "specification": null,
266
- "ssflbbh": "32.0",
267
- "statusDesc": null,
268
- "taxCategoryCode": "1010101030000000000",
269
- "updateTime": "2021-08-17 15:12:27.0",
270
- "zzssl": "9%",
271
- "zzstsgl": "免税",
272
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)、《财政部、国家税务总局关于免征蔬菜流通环节增值税有关问题的通知》(财税〔2011〕137号)"
273
- },
274
- {
275
- "bbh": "34.0",
276
- "createTime": "2019-09-12 08:54:16.0",
277
- "gjz": "谷子、硬谷子、糯谷子",
278
- "gxsj": "20200601",
279
- "hzx": "N",
280
- "id": 50553,
281
- "pid": "1010101000000000000",
282
- "productName": "谷子",
283
- "qysj": "20190401",
284
- "shorthand": "谷物",
285
- "sm": "包括硬谷子、糯谷子、其他谷子。",
286
- "specification": null,
287
- "ssflbbh": "32.0",
288
- "statusDesc": null,
289
- "taxCategoryCode": "1010101040000000000",
290
- "updateTime": "2021-08-17 15:12:12.0",
291
- "zzssl": "9%",
292
- "zzstsgl": "免税",
293
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
294
- },
295
- {
296
- "bbh": "34.0",
297
- "createTime": "2019-09-12 08:54:16.0",
298
- "gjz": "高粱、红粒高粱、白粒高粱、糯高粱",
299
- "gxsj": "20200601",
300
- "hzx": "N",
301
- "id": 50554,
302
- "pid": "1010101000000000000",
303
- "productName": "高粱",
304
- "qysj": "20190401",
305
- "shorthand": "谷物",
306
- "sm": "包括红粒高粱、白粒高粱、糯高粱、其他高粱。",
307
- "specification": null,
308
- "ssflbbh": "32.0",
309
- "statusDesc": null,
310
- "taxCategoryCode": "1010101050000000000",
311
- "updateTime": "2021-08-17 15:12:30.0",
312
- "zzssl": "9%",
313
- "zzstsgl": "免税",
314
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
315
- },
316
- {
317
- "bbh": "34.0",
318
- "createTime": "2019-09-12 08:54:16.0",
319
- "gjz": "大麦、裸大麦、皮大麦",
320
- "gxsj": "20200601",
321
- "hzx": "N",
322
- "id": 50555,
323
- "pid": "1010101000000000000",
324
- "productName": "大麦",
325
- "qysj": "20190401",
326
- "shorthand": "谷物",
327
- "sm": "包括裸大麦、皮大麦。",
328
- "specification": null,
329
- "ssflbbh": "32.0",
330
- "statusDesc": null,
331
- "taxCategoryCode": "1010101060000000000",
332
- "updateTime": "2021-08-17 15:12:08.0",
333
- "zzssl": "9%",
334
- "zzstsgl": "免税",
335
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
336
- },
337
- {
338
- "bbh": "34.0",
339
- "createTime": "2019-09-12 08:54:16.0",
340
- "gjz": "裸燕麦、皮燕麦",
341
- "gxsj": "20200601",
342
- "hzx": "N",
343
- "id": 50556,
344
- "pid": "1010101000000000000",
345
- "productName": "燕麦",
346
- "qysj": "20190401",
347
- "shorthand": "谷物",
348
- "sm": "包括裸燕麦、皮燕麦。",
349
- "specification": null,
350
- "ssflbbh": "32.0",
351
- "statusDesc": null,
352
- "taxCategoryCode": "1010101070000000000",
353
- "updateTime": "2021-08-17 15:12:29.0",
354
- "zzssl": "9%",
355
- "zzstsgl": "免税",
356
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
357
- },
358
- {
359
- "bbh": "34.0",
360
- "createTime": "2019-09-12 08:54:16.0",
361
- "gjz": "黑麦",
362
- "gxsj": "20200601",
363
- "hzx": "N",
364
- "id": 50557,
365
- "pid": "1010101000000000000",
366
- "productName": "黑麦",
367
- "qysj": "20190401",
368
- "shorthand": "谷物",
369
- "sm": "",
370
- "specification": null,
371
- "ssflbbh": "32.0",
372
- "statusDesc": null,
373
- "taxCategoryCode": "1010101080000000000",
374
- "updateTime": "2021-08-17 15:12:11.0",
375
- "zzssl": "9%",
376
- "zzstsgl": "免税",
377
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
378
- },
379
- {
380
- "bbh": "34.0",
381
- "createTime": "2019-09-12 08:54:16.0",
382
- "gjz": "荞麦、甜荞麦、苦荞麦",
383
- "gxsj": "20200601",
384
- "hzx": "N",
385
- "id": 50558,
386
- "pid": "1010101000000000000",
387
- "productName": "荞麦",
388
- "qysj": "20190401",
389
- "shorthand": "谷物",
390
- "sm": "包括甜荞麦、苦荞麦。",
391
- "specification": null,
392
- "ssflbbh": "32.0",
393
- "statusDesc": null,
394
- "taxCategoryCode": "1010101090000000000",
395
- "updateTime": "2021-08-17 15:12:30.0",
396
- "zzssl": "9%",
397
- "zzstsgl": "免税",
398
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
399
- },
400
- {
401
- "bbh": "34.0",
402
- "createTime": "2019-09-12 08:54:16.0",
403
- "gjz": "糜子、硬糜子、糯糜子、紫米、薏苡",
404
- "gxsj": "20200601",
405
- "hzx": "N",
406
- "id": 50559,
407
- "pid": "1010101000000000000",
408
- "productName": "其他谷物",
409
- "qysj": "20190401",
410
- "shorthand": "谷物",
411
- "sm": "包括糜子(硬糜子、糯糜子)、紫米、薏苡等。",
412
- "specification": null,
413
- "ssflbbh": "32.0",
414
- "statusDesc": null,
415
- "taxCategoryCode": "1010101990000000000",
416
- "updateTime": "2021-08-17 15:12:19.0",
417
- "zzssl": "9%",
418
- "zzstsgl": "免税",
419
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
420
- },
421
- {
422
- "bbh": "34.0",
423
- "createTime": "2019-09-12 08:54:16.0",
424
- "gjz": "种用谷物、种用皮大麦、种用裸大麦、种用糯高粱、种用红粒高粱、种用白粒高粱、种用甜玉米、种用糯玉米、种用黄玉米、种用白玉米、种用硬质小麦、种用软质小麦、种用中籼稻、种用早籼稻、种用晚籼稻、种用糯稻、种用粳稻",
425
- "gxsj": "20200601",
426
- "hzx": "N",
427
- "id": 50683,
428
- "pid": "1010119000000000000",
429
- "productName": "种用谷物",
430
- "qysj": "20190401",
431
- "shorthand": "种子种苗",
432
- "sm": "包括种用硬质小麦、种用甜玉米、种用软质小麦、种用皮大麦、种用糯玉米、种用糯高粱、种用裸大麦、种用黄玉米、种用红粒高粱、种用白玉米、种用白粒高粱、其他种用玉米、其他种用小麦、其他种用高粱、种用中籼稻、种用早籼稻、种用晚籼稻、种用糯稻、种用粳稻、其他种用稻谷。",
433
- "specification": null,
434
- "ssflbbh": "32.0",
435
- "statusDesc": null,
436
- "taxCategoryCode": "1010119010000000000",
437
- "updateTime": "2021-08-17 15:12:24.0",
438
- "zzssl": "9%",
439
- "zzstsgl": "免税",
440
- "zzszcyj": "《财政部、国家税务总局关于若干农业生产资料征免增值税政策的通知》(财税〔2001〕113号)"
441
- },
442
- {
443
- "bbh": "34.0",
444
- "createTime": "2019-09-12 08:54:16.0",
445
- "gjz": "小麦粉、小麦专用粉、小麦自发粉",
446
- "gxsj": "20200601",
447
- "hzx": "N",
448
- "id": 50923,
449
- "pid": "1030101000000000000",
450
- "productName": "小麦粉",
451
- "qysj": "20190401",
452
- "shorthand": "谷物细粉",
453
- "sm": "",
454
- "specification": null,
455
- "ssflbbh": "32.0",
456
- "statusDesc": null,
457
- "taxCategoryCode": "1030101010000000000",
458
- "updateTime": "2021-08-17 15:12:14.0",
459
- "zzssl": "9%",
460
- "zzstsgl": "免税",
461
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
462
- },
463
- {
464
- "bbh": "34.0",
465
- "createTime": "2019-09-12 08:54:16.0",
466
- "gjz": "大米粉、籼米细粉、粳米细粉",
467
- "gxsj": "20200601",
468
- "hzx": "N",
469
- "id": 50924,
470
- "pid": "1030101000000000000",
471
- "productName": "大米粉",
472
- "qysj": "20190401",
473
- "shorthand": "谷物细粉",
474
- "sm": "",
475
- "specification": null,
476
- "ssflbbh": "32.0",
477
- "statusDesc": null,
478
- "taxCategoryCode": "1030101020000000000",
479
- "updateTime": "2021-08-17 15:12:08.0",
480
- "zzssl": "9%",
481
- "zzstsgl": "免税",
482
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
483
- },
484
- {
485
- "bbh": "34.0",
486
- "createTime": "2019-09-12 08:54:16.0",
487
- "gjz": "玉米细粉、糯米细粉、荞麦细粉、黑麦细粉、莜麦细粉、高粱细粉、大麦细粉",
488
- "gxsj": "20200601",
489
- "hzx": "N",
490
- "id": 50925,
491
- "pid": "1030101000000000000",
492
- "productName": "其他谷物细粉",
493
- "qysj": "20190401",
494
- "shorthand": "谷物细粉",
495
- "sm": "",
496
- "specification": null,
497
- "ssflbbh": "32.0",
498
- "statusDesc": null,
499
- "taxCategoryCode": "1030101990000000000",
500
- "updateTime": "2021-08-17 15:12:08.0",
501
- "zzssl": "9%",
502
- "zzstsgl": "免税",
503
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
504
- },
505
- {
506
- "bbh": "34.0",
507
- "createTime": "2019-09-12 08:54:16.0",
508
- "gjz": "籼米、粳米",
509
- "gxsj": "20200601",
510
- "hzx": "N",
511
- "id": 50928,
512
- "pid": "1030102010000000000",
513
- "productName": "大米",
514
- "qysj": "20190401",
515
- "shorthand": "谷物加工品",
516
- "sm": "",
517
- "specification": null,
518
- "ssflbbh": "32.0",
519
- "statusDesc": null,
520
- "taxCategoryCode": "1030102010100000000",
521
- "updateTime": "2021-08-17 15:12:11.0",
522
- "zzssl": "9%",
523
- "zzstsgl": "免税",
524
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
525
- },
526
- {
527
- "bbh": "34.0",
528
- "createTime": "2019-09-12 08:54:16.0",
529
- "gjz": "大米",
530
- "gxsj": "20200601",
531
- "hzx": "N",
532
- "id": 50929,
533
- "pid": "1030102010000000000",
534
- "productName": "小米",
535
- "qysj": "20190401",
536
- "shorthand": "谷物加工品",
537
- "sm": "",
538
- "specification": null,
539
- "ssflbbh": "32.0",
540
- "statusDesc": null,
541
- "taxCategoryCode": "1030102010200000000",
542
- "updateTime": "2021-08-17 15:12:25.0",
543
- "zzssl": "9%",
544
- "zzstsgl": "免税",
545
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
546
- },
547
- {
548
- "bbh": "34.0",
549
- "createTime": "2019-09-12 08:54:16.0",
550
- "gjz": "糯米",
551
- "gxsj": "20200601",
552
- "hzx": "N",
553
- "id": 50930,
554
- "pid": "1030102010000000000",
555
- "productName": "糯米",
556
- "qysj": "20190401",
557
- "shorthand": "谷物加工品",
558
- "sm": "",
559
- "specification": null,
560
- "ssflbbh": "32.0",
561
- "statusDesc": null,
562
- "taxCategoryCode": "1030102010300000000",
563
- "updateTime": "2021-08-17 15:12:14.0",
564
- "zzssl": "9%",
565
- "zzstsgl": "免税",
566
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
567
- },
568
- {
569
- "bbh": "34.0",
570
- "createTime": "2019-09-12 08:54:16.0",
571
- "gjz": "高粱米",
572
- "gxsj": "20200601",
573
- "hzx": "N",
574
- "id": 50931,
575
- "pid": "1030102010000000000",
576
- "productName": "高粱米",
577
- "qysj": "20190401",
578
- "shorthand": "谷物加工品",
579
- "sm": "",
580
- "specification": null,
581
- "ssflbbh": "32.0",
582
- "statusDesc": null,
583
- "taxCategoryCode": "1030102010400000000",
584
- "updateTime": "2021-08-17 15:12:13.0",
585
- "zzssl": "9%",
586
- "zzstsgl": "免税",
587
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
588
- },
589
- {
590
- "bbh": "34.0",
591
- "createTime": "2019-09-12 08:54:16.0",
592
- "gjz": "脱壳燕麦",
593
- "gxsj": "20200601",
594
- "hzx": "N",
595
- "id": 50932,
596
- "pid": "1030102010000000000",
597
- "productName": "脱壳燕麦",
598
- "qysj": "20190401",
599
- "shorthand": "谷物加工品",
600
- "sm": "指已脱壳但未去皮的燕麦。",
601
- "specification": null,
602
- "ssflbbh": "32.0",
603
- "statusDesc": null,
604
- "taxCategoryCode": "1030102010500000000",
605
- "updateTime": "2021-08-17 15:12:06.0",
606
- "zzssl": "9%",
607
- "zzstsgl": "免税",
608
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
609
- },
610
- {
611
- "bbh": "34.0",
612
- "createTime": "2019-09-12 08:54:16.0",
613
- "gjz": "脱壳青稞",
614
- "gxsj": "20200601",
615
- "hzx": "N",
616
- "id": 50933,
617
- "pid": "1030102010000000000",
618
- "productName": "脱壳青稞",
619
- "qysj": "20190401",
620
- "shorthand": "谷物加工品",
621
- "sm": "",
622
- "specification": null,
623
- "ssflbbh": "32.0",
624
- "statusDesc": null,
625
- "taxCategoryCode": "1030102010600000000",
626
- "updateTime": "2021-08-17 15:12:11.0",
627
- "zzssl": "9%",
628
- "zzstsgl": "免税",
629
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
630
- },
631
- {
632
- "bbh": "34.0",
633
- "createTime": "2019-09-12 08:54:16.0",
634
- "gjz": "珠粒大麦",
635
- "gxsj": "20200601",
636
- "hzx": "N",
637
- "id": 50934,
638
- "pid": "1030102010000000000",
639
- "productName": "珠粒大麦",
640
- "qysj": "20190401",
641
- "shorthand": "谷物加工品",
642
- "sm": "",
643
- "specification": null,
644
- "ssflbbh": "32.0",
645
- "statusDesc": null,
646
- "taxCategoryCode": "1030102010700000000",
647
- "updateTime": "2021-08-17 15:12:12.0",
648
- "zzssl": "9%",
649
- "zzstsgl": "免税",
650
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
651
- },
652
- {
653
- "bbh": "34.0",
654
- "createTime": "2019-09-12 08:54:16.0",
655
- "gjz": "",
656
- "gxsj": "20200601",
657
- "hzx": "N",
658
- "id": 50935,
659
- "pid": "1030102010000000000",
660
- "productName": "其他碾磨、脱壳谷物",
661
- "qysj": "20190401",
662
- "shorthand": "谷物加工品",
663
- "sm": "",
664
- "specification": null,
665
- "ssflbbh": "32.0",
666
- "statusDesc": null,
667
- "taxCategoryCode": "1030102019900000000",
668
- "updateTime": "2021-08-17 15:12:21.0",
669
- "zzssl": "9%",
670
- "zzstsgl": "免税",
671
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
672
- },
673
- {
674
- "bbh": "34.0",
675
- "createTime": "2019-09-12 08:54:16.0",
676
- "gjz": "小麦粗磨、大米粗磨、玉米粗磨、燕麦粗磨",
677
- "gxsj": "20200601",
678
- "hzx": "N",
679
- "id": 50936,
680
- "pid": "1030102000000000000",
681
- "productName": "粗磨谷物",
682
- "qysj": "20190401",
683
- "shorthand": "谷物加工品",
684
- "sm": "包括谷物去壳谷粉、粗粉及团粒。",
685
- "specification": null,
686
- "ssflbbh": "32.0",
687
- "statusDesc": null,
688
- "taxCategoryCode": "1030102020000000000",
689
- "updateTime": "2021-08-17 15:12:15.0",
690
- "zzssl": "9%",
691
- "zzstsgl": "免税",
692
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
693
- },
694
- {
695
- "bbh": "34.0",
696
- "createTime": "2019-09-12 08:54:16.0",
697
- "gjz": "燕麦片、大麦片、玉米片、谷物胚芽",
698
- "gxsj": "20200601",
699
- "hzx": "N",
700
- "id": 50937,
701
- "pid": "1030102000000000000",
702
- "productName": "谷物加工制品",
703
- "qysj": "20190401",
704
- "shorthand": "谷物加工品",
705
- "sm": "包括燕麦片、大麦片、玉米片,谷物胚芽等。",
706
- "specification": null,
707
- "ssflbbh": "32.0",
708
- "statusDesc": null,
709
- "taxCategoryCode": "1030102030000000000",
710
- "updateTime": "2021-08-17 15:12:19.0",
711
- "zzssl": "13%、9%",
712
- "zzstsgl": "免税",
713
- "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
714
- },
715
- {
716
- "bbh": "34.0",
717
- "createTime": "2019-09-12 08:54:16.0",
718
- "gjz": "谷物制品类罐头、甜玉米罐头、米粥罐头、米饭罐头、八宝粥罐头、蔬菜粥罐头、八宝饭罐头",
719
- "gxsj": "20200601",
720
- "hzx": "N",
721
- "id": 51065,
722
- "pid": "1030205000000000000",
723
- "productName": "谷物制品类罐头",
724
- "qysj": "20190401",
725
- "shorthand": "罐头",
726
- "sm": "指经过处理后的谷类、干果及其他原料(桂圆、枸杞、蔬菜等)装罐制成的罐头产品",
727
- "specification": null,
728
- "ssflbbh": "32.0",
729
- "statusDesc": null,
730
- "taxCategoryCode": "1030205080000000000",
731
- "updateTime": "2021-08-17 15:12:25.0",
732
- "zzssl": "13%",
733
- "zzstsgl": "",
734
- "zzszcyj": ""
735
- },
736
- {
737
- "bbh": "34.0",
738
- "createTime": "2019-09-12 08:54:16.0",
739
- "gjz": "谷物磨粉工业用筛、谷物磨粉工业用筛架、混合滚筒、分离滚筒、谷物磨粉机的滚筒、谷物磨粉机的变换器、谷物磨粉工业用机械零件",
740
- "gxsj": "20200601",
741
- "hzx": "N",
742
- "id": 53402,
743
- "pid": "1090220000000000000",
744
- "productName": "谷物磨粉工业用机械零件",
745
- "qysj": "20190401",
746
- "shorthand": "食品制造机械",
747
- "sm": "包括谷物磨粉工业用筛及筛架、混合或分离滚筒、谷物磨粉机的滚筒或变换器、其他谷物磨粉工业用机械零件",
748
- "specification": null,
749
- "ssflbbh": "32.0",
750
- "statusDesc": null,
751
- "taxCategoryCode": "1090220050000000000",
752
- "updateTime": "2021-08-17 15:12:11.0",
753
- "zzssl": "13%",
754
- "zzstsgl": "",
755
- "zzszcyj": ""
756
- },
757
- {
758
- "bbh": "34.0",
759
- "createTime": "2019-09-12 08:54:16.0",
760
- "gjz": "",
761
- "gxsj": "20200601",
762
- "hzx": "Y",
763
- "id": 50549,
764
- "pid": "1010100000000000000",
765
- "productName": "谷物",
766
- "qysj": "20190401",
767
- "shorthand": "谷物",
768
- "sm": "包括稻谷、小麦、玉米、谷子、高粱、大麦、燕麦、黑麦、荞麦、其他谷物,不包括种用谷物(详见101011901)。",
769
- "specification": null,
770
- "ssflbbh": "32.0",
771
- "statusDesc": null,
772
- "taxCategoryCode": "1010101000000000000",
773
- "updateTime": "2021-08-17 15:12:22.0",
774
- "zzssl": "",
775
- "zzstsgl": "",
776
- "zzszcyj": ""
777
- },
778
- {
779
- "bbh": "34.0",
780
- "createTime": "2019-09-12 08:54:16.0",
781
- "gjz": "种子、种苗、种用谷物、种用薯类、种用油料、种用豆类、种用饲料作物、蔬菜籽、花草种、水果籽",
782
- "gxsj": "20200601",
783
- "hzx": "Y",
784
- "id": 50682,
785
- "pid": "1010100000000000000",
786
- "productName": "种子、种苗",
787
- "qysj": "20190401",
788
- "shorthand": "种子种苗",
789
- "sm": "包括种用谷物、种用薯类、种用油料、种用豆类、种用饲料作物、蔬菜籽、花草种、水果籽及其他种子、种苗",
790
- "specification": null,
791
- "ssflbbh": "32.0",
792
- "statusDesc": null,
793
- "taxCategoryCode": "1010119000000000000",
794
- "updateTime": "2021-08-17 15:12:22.0",
795
- "zzssl": "",
796
- "zzstsgl": "",
797
- "zzszcyj": ""
798
- },
799
- {
800
- "bbh": "34.0",
801
- "createTime": "2019-09-12 08:54:16.0",
802
- "gjz": "",
803
- "gxsj": "20200601",
804
- "hzx": "Y",
805
- "id": 50922,
806
- "pid": "1030100000000000000",
807
- "productName": "谷物细粉",
808
- "qysj": "20190401",
809
- "shorthand": "谷物细粉",
810
- "sm": "",
811
- "specification": null,
812
- "ssflbbh": "32.0",
813
- "statusDesc": null,
814
- "taxCategoryCode": "1030101000000000000",
815
- "updateTime": "2021-08-17 15:12:09.0",
816
- "zzssl": "",
817
- "zzstsgl": "",
818
- "zzszcyj": ""
819
- },
820
- {
821
- "bbh": "34.0",
822
- "createTime": "2019-09-12 08:54:16.0",
823
- "gjz": "",
824
- "gxsj": "20200601",
825
- "hzx": "Y",
826
- "id": 50927,
827
- "pid": "1030102000000000000",
828
- "productName": "碾磨、脱壳谷物",
829
- "qysj": "20190401",
830
- "shorthand": "谷物加工品",
831
- "sm": "",
832
- "specification": null,
833
- "ssflbbh": "32.0",
834
- "statusDesc": null,
835
- "taxCategoryCode": "1030102010000000000",
836
- "updateTime": "2021-08-17 15:12:07.0",
837
- "zzssl": "",
838
- "zzstsgl": "",
839
- "zzszcyj": ""
840
- },
841
- {
842
- "bbh": "34.0",
843
- "createTime": "2019-09-12 08:54:16.0",
844
- "gjz": "",
845
- "gxsj": "20200601",
846
- "hzx": "Y",
847
- "id": 51057,
848
- "pid": "1030200000000000000",
849
- "productName": "罐头",
850
- "qysj": "20190401",
851
- "shorthand": "罐头",
852
- "sm": "",
853
- "specification": null,
854
- "ssflbbh": "32.0",
855
- "statusDesc": null,
856
- "taxCategoryCode": "1030205000000000000",
857
- "updateTime": "2021-08-17 15:12:13.0",
858
- "zzssl": "",
859
- "zzstsgl": "",
860
- "zzszcyj": ""
861
- },
862
- {
863
- "bbh": "34.0",
864
- "createTime": "2019-09-12 08:54:16.0",
865
- "gjz": "",
866
- "gxsj": "20200601",
867
- "hzx": "Y",
868
- "id": 53397,
869
- "pid": "1090200000000000000",
870
- "productName": "食品、饮料、烟草专用生产设备零件",
871
- "qysj": "20190401",
872
- "shorthand": "食品制造机械",
873
- "sm": "",
874
- "specification": null,
875
- "ssflbbh": "32.0",
876
- "statusDesc": null,
877
- "taxCategoryCode": "1090220000000000000",
878
- "updateTime": "2021-08-17 15:12:09.0",
879
- "zzssl": "",
880
- "zzstsgl": "",
881
- "zzszcyj": ""
882
- },
883
- {
884
- "bbh": "34.0",
885
- "createTime": "2019-09-12 08:54:16.0",
886
- "gjz": "",
887
- "gxsj": "20200601",
888
- "hzx": "Y",
889
- "id": 50548,
890
- "pid": "1010000000000000000",
891
- "productName": "农业产品",
892
- "qysj": "20190401",
893
- "shorthand": "农业产品",
894
- "sm": "",
895
- "specification": null,
896
- "ssflbbh": "32.0",
897
- "statusDesc": null,
898
- "taxCategoryCode": "1010100000000000000",
899
- "updateTime": "2021-08-17 15:12:32.0",
900
- "zzssl": "",
901
- "zzstsgl": "",
902
- "zzszcyj": ""
903
- },
904
- {
905
- "bbh": "34.0",
906
- "createTime": "2019-09-12 08:54:16.0",
907
- "gjz": "",
908
- "gxsj": "20200601",
909
- "hzx": "Y",
910
- "id": 50921,
911
- "pid": "1030000000000000000",
912
- "productName": "农副食品,动、植物油制品",
913
- "qysj": "20190401",
914
- "shorthand": "农副食品",
915
- "sm": "",
916
- "specification": null,
917
- "ssflbbh": "32.0",
918
- "statusDesc": null,
919
- "taxCategoryCode": "1030100000000000000",
920
- "updateTime": "2021-08-17 15:12:23.0",
921
- "zzssl": "",
922
- "zzstsgl": "",
923
- "zzszcyj": ""
924
- },
925
- {
926
- "bbh": "34.0",
927
- "createTime": "2019-09-12 08:54:16.0",
928
- "gjz": "",
929
- "gxsj": "20200601",
930
- "hzx": "Y",
931
- "id": 50926,
932
- "pid": "1030100000000000000",
933
- "productName": "碾磨谷物及谷物加工品",
934
- "qysj": "20190401",
935
- "shorthand": "谷物加工品",
936
- "sm": "",
937
- "specification": null,
938
- "ssflbbh": "32.0",
939
- "statusDesc": null,
940
- "taxCategoryCode": "1030102000000000000",
941
- "updateTime": "2021-08-17 15:12:20.0",
942
- "zzssl": "",
943
- "zzstsgl": "",
944
- "zzszcyj": ""
945
- },
946
- {
947
- "bbh": "34.0",
948
- "createTime": "2019-09-12 08:54:16.0",
949
- "gjz": "",
950
- "gxsj": "20200601",
951
- "hzx": "Y",
952
- "id": 51032,
953
- "pid": "1030000000000000000",
954
- "productName": "食品及加工盐",
955
- "qysj": "20190401",
956
- "shorthand": "食品",
957
- "sm": "",
958
- "specification": null,
959
- "ssflbbh": "32.0",
960
- "statusDesc": null,
961
- "taxCategoryCode": "1030200000000000000",
962
- "updateTime": "2021-08-17 15:12:30.0",
963
- "zzssl": "",
964
- "zzstsgl": "",
965
- "zzszcyj": ""
966
- },
967
- {
968
- "bbh": "34.0",
969
- "createTime": "2019-09-12 08:54:16.0",
970
- "gjz": "",
971
- "gxsj": "20200601",
972
- "hzx": "Y",
973
- "id": 53261,
974
- "pid": "1090000000000000000",
975
- "productName": "专用设备",
976
- "qysj": "20190401",
977
- "shorthand": "专用设备",
978
- "sm": "指只在一个特定产业,用来生产、加工、处理特定产品或者改变特定物质形态的机械设备及其专门配套件",
979
- "specification": null,
980
- "ssflbbh": "32.0",
981
- "statusDesc": null,
982
- "taxCategoryCode": "1090200000000000000",
983
- "updateTime": "2021-08-17 15:12:15.0",
984
- "zzssl": "",
985
- "zzstsgl": "",
986
- "zzszcyj": ""
987
- },
988
- {
989
- "bbh": "34.0",
990
- "createTime": "2019-09-12 08:54:16.0",
991
- "gjz": "",
992
- "gxsj": "20200601",
993
- "hzx": "Y",
994
- "id": 50547,
995
- "pid": "1000000000000000000",
996
- "productName": "农、林、牧、渔业类产品",
997
- "qysj": "20190401",
998
- "shorthand": "农产品",
999
- "sm": "",
1000
- "specification": null,
1001
- "ssflbbh": "32.0",
1002
- "statusDesc": null,
1003
- "taxCategoryCode": "1010000000000000000",
1004
- "updateTime": "2021-08-17 15:12:19.0",
1005
- "zzssl": "",
1006
- "zzstsgl": "",
1007
- "zzszcyj": ""
1008
- },
1009
- {
1010
- "bbh": "34.0",
1011
- "createTime": "2019-09-12 08:54:16.0",
1012
- "gjz": "",
1013
- "gxsj": "20200601",
1014
- "hzx": "Y",
1015
- "id": 50920,
1016
- "pid": "1000000000000000000",
1017
- "productName": "食品、饮料、烟、酒类产品",
1018
- "qysj": "20190401",
1019
- "shorthand": "食品类产品",
1020
- "sm": "",
1021
- "specification": null,
1022
- "ssflbbh": "32.0",
1023
- "statusDesc": null,
1024
- "taxCategoryCode": "1030000000000000000",
1025
- "updateTime": "2021-08-17 15:12:07.0",
1026
- "zzssl": "",
1027
- "zzstsgl": "",
1028
- "zzszcyj": ""
1029
- },
1030
- {
1031
- "bbh": "34.0",
1032
- "createTime": "2019-09-12 08:54:16.0",
1033
- "gjz": "",
1034
- "gxsj": "20200601",
1035
- "hzx": "Y",
1036
- "id": 53022,
1037
- "pid": "1000000000000000000",
1038
- "productName": "机械、设备类产品",
1039
- "qysj": "20190401",
1040
- "shorthand": "机械设备",
1041
- "sm": "",
1042
- "specification": null,
1043
- "ssflbbh": "32.0",
1044
- "statusDesc": null,
1045
- "taxCategoryCode": "1090000000000000000",
1046
- "updateTime": "2021-08-17 15:12:15.0",
1047
- "zzssl": "",
1048
- "zzstsgl": "",
1049
- "zzszcyj": ""
1050
- },
1051
- {
1052
- "bbh": "34.0",
1053
- "createTime": "2019-09-12 08:54:16.0",
1054
- "gjz": "",
1055
- "gxsj": "20200601",
1056
- "hzx": "Y",
1057
- "id": 50546,
1058
- "pid": "0",
1059
- "productName": "货物",
1060
- "qysj": "20190401",
1061
- "shorthand": "货物",
1062
- "sm": "",
1063
- "specification": null,
1064
- "ssflbbh": "32.0",
1065
- "statusDesc": null,
1066
- "taxCategoryCode": "1000000000000000000",
1067
- "updateTime": "2021-08-17 15:12:12.0",
1068
- "zzssl": "",
1069
- "zzstsgl": "",
1070
- "zzszcyj": ""
1071
- }
1
+ import React from 'react';
2
+ import Invoice from '../..';
3
+ import idGenerator from '../../tools/idGenerator';
4
+ import { LineAttributeType } from '../../InvoiceController';
5
+ import { Button, Switch } from 'kts-components-antd-x3';
6
+
7
+ export default () => {
8
+ const controller1 = React.useMemo(() => new MyController1(), []);
9
+
10
+ const controller2 = React.useMemo(() => new MyController2(), []);
11
+
12
+ const [controller, setController] = React.useState(controller1)
13
+
14
+ const onClick1 = React.useCallback(() => {
15
+ controller.pipeline(async (s) => {
16
+ s.goodsListState.goodsList = goodsList.slice();
17
+ })();
18
+ }, [controller]);
19
+
20
+ const onClick5 = React.useCallback(() => {
21
+ controller.pipeline(async (s) => {
22
+ s.goodsListState.goodsList = goodsList.slice(0, 500);
23
+ })();
24
+ }, [controller]);
25
+
26
+ const onClick2 = React.useCallback(() => {
27
+ controller.pipeline(async (s) => {
28
+ s.goodsListState.goodsList = lines.map(e => {
29
+ return {
30
+ $index: idGenerator(),
31
+ ...e,
32
+ }
33
+ });
34
+ })();
35
+ }, [controller]);
36
+
37
+ const onClick6 = React.useCallback(async () => {
38
+ console.log('===> 当前组件状态', await controller.validateFields());
39
+ }, []);
40
+
41
+ return (
42
+ <div>
43
+ <Button onClick={onClick1} style={{ marginBottom: 20 }}>
44
+ 载入1W数据
45
+ </Button>
46
+ <Button onClick={onClick5} style={{ marginBottom: 20 }}>
47
+ 载入500数据
48
+ </Button>
49
+ <Button onClick={onClick2} style={{ marginBottom: 20 }}>
50
+ 模拟生成数据
51
+ </Button>
52
+ <Button onClick={onClick6} style={{ marginBottom: 10 }}>获取数据</Button>
53
+ <Switch checkedChildren="预制" unCheckedChildren="默认" onChange={e => { e ? setController(controller2) : setController(controller1) }} ></Switch>
54
+ <Button onClick={controller.pipeline(async s => { s.goodsListState.endowCode.getReadOnlyTaxRate = s.goodsListState.endowCode.readOnlyTaxRateMap.DRAFT })} >税率(草稿)</Button>
55
+ <Button onClick={controller.pipeline(async s => { s.goodsListState.endowCode.getReadOnlyTaxRate = () => true })} >税率(预制)</Button>
56
+ <Invoice controller={controller} />
57
+ </div>
58
+ );
59
+ };
60
+
61
+ // 税收分类编码列表
62
+ class MyController1 extends Invoice.InvoiceController {
63
+
64
+ constructor() {
65
+ super()
66
+ this.state.model = 'default'
67
+ this.state.goodsListState.isMergeDetails = true;
68
+ this.state.goodsListState.isSalesDiscount = true;
69
+ this.state.goodsListState.drag.isStart = true;
70
+ this.state.goodsListState.columnshide = [];
71
+ }
72
+
73
+ getTaxCategoryCodeList = this.pipeline(async (s) => {
74
+ console.log('===> 准备赋码的货物索引列表', s.goodsListState.endowCode.endowcodeGoodIndex);
75
+ s.goodsListState.endowCode.getTaxCategoryCodeTree = async (taxCategoryCode?: string | undefined, val?: string | undefined) => {
76
+ if (!taxCategoryCode && !val) return [];
77
+ return moke.map(e => {
78
+ return {
79
+ label: `${e.taxCategoryCode}-${e.shorthand}`,
80
+ shorthand: e.shorthand,
81
+ id: e.taxCategoryCode,
82
+ pid: e.pid
83
+ }
84
+ })
85
+ };;
86
+ });
87
+ }
88
+
89
+
90
+ class MyController2 extends Invoice.InvoiceController {
91
+
92
+ constructor() {
93
+ super()
94
+ this.state.model = 'prefab'
95
+ this.state.goodsListState.isMergeDetails = true;
96
+ this.state.goodsListState.isSalesDiscount = true;
97
+ this.state.goodsListState.drag.isStart = true;
98
+ this.state.goodsListState.columnshide = [];
99
+ }
100
+
101
+ getTaxCategoryCodeList = this.pipeline(async (s) => {
102
+ console.log('===> 准备赋码的货物索引列表', s.goodsListState.endowCode.endowcodeGoodIndex);
103
+
104
+ s.goodsListState.endowCode.getTaxCategoryCodeList = async (value) => {
105
+ console.log('===>搜索条件', value);
106
+ return [
107
+ { label: '3040201990000000000/aaa/bbb', value: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
108
+ { label: '3040201990000000001/aaa/bbb', value: '3040201990000000001', taxRate: 3, shorthand: 'aaa' },
109
+ { label: '3040201990000000002/aaa/bbb', value: '3040201990000000002', taxRate: 3, shorthand: 'aaa' },
110
+ { label: '3040201990000000003/aaa/bbb', value: '3040201990000000003', taxRate: 3, shorthand: 'aaa' },
111
+ { label: '3040201990000000004/aaa/bbb', value: '3040201990000000004', taxRate: 3, shorthand: 'aaa' },
112
+ { label: '3040201990000000005/aaa/bbb', value: '3040201990000000005', taxRate: 3, shorthand: 'aaa' },
113
+ { label: '3040201990000000006/aaa/bbb', value: '3040201990000000006', taxRate: 3, shorthand: 'aaa' },
114
+ { label: '3040201990000000007/aaa/bbb', value: '3040201990000000007', taxRate: 3, shorthand: 'aaa' },
115
+ { label: '3040201990000000008/aaa/bbb', value: '3040201990000000008', taxRate: 3, shorthand: 'aaa' },
116
+ { label: '3040201990000000009/aaa/bbb', value: '3040201990000000009', taxRate: 3, shorthand: 'aaa' },
117
+ { label: '3040201990000000010/aaa/bbb', value: '3040201990000000010', taxRate: 3, shorthand: 'aaa' },
118
+ { label: '3040201990000000011/aaa/bbb', value: '3040201990000000011', taxRate: 3, shorthand: 'aaa' },
119
+ ]
120
+ };
121
+ });
122
+ }
123
+
124
+ const goodsList: any[] = [];
125
+ for (let i = 0; i <= 10000; i++) {
126
+ goodsList.push({
127
+ $index: idGenerator(),
128
+ itemName: `项目名称${i}`,
129
+ lineAttribute: LineAttributeType.正常,
130
+ lineAmountExcludeTax: 9.99,
131
+ lineAmountIncludeTax: 10.29,
132
+ taxRate: 3,
133
+ taxAmount: 0.3,
134
+ });
135
+ }
136
+
137
+ const lines: any[] = [
138
+ {
139
+ "serialNumber": "1714491422279110656",
140
+ "lineNumber": 1,
141
+ "taxCode": "3070401000000000000",
142
+ "taxName": "信息技术服务",
143
+ "specification": null,
144
+ "itemName": "技术服务费",
145
+ "itemCode": "",
146
+ "unit": "套",
147
+ "quantity": 1.0000000000001,
148
+ "taxRate": 0.06,
149
+ "priceExcludeTax": 5,
150
+ "priceIncludeTax": 5.3,
151
+ "amountTax": 0.3,
152
+ "lineAmountExcludeTax": 5,
153
+ "lineAmountIncludeTax": 5.3,
154
+ "lineAttribute": LineAttributeType.被折扣行,
155
+ "discountGroup": "1714491422291693568",
156
+ "favouredPolicyMark": false,
157
+ "favouredPolicyName": null,
158
+ "zeroTaxRateFlag": null,
159
+ "referenceLines": null,
160
+ "version": 0,
161
+ taxAmount:1
162
+ },
163
+ {
164
+ "serialNumber": "1714491422279110656",
165
+ "lineNumber": 2,
166
+ "taxCode": "3070401000000000000",
167
+ "taxName": "信息技术服务",
168
+ "specification": "",
169
+ "itemName": "技术服务费",
170
+ "itemCode": "",
171
+ "unit": "",
172
+ "quantity": null,
173
+ "taxRate": 0.06,
174
+ "priceExcludeTax": null,
175
+ "priceIncludeTax": null,
176
+ "amountTax": -0.06,
177
+ "lineAmountExcludeTax": 5,
178
+ "lineAmountIncludeTax": 5.3,
179
+ "lineAttribute": LineAttributeType.折扣行,
180
+ "discountGroup": "1714491422291693568",
181
+ "favouredPolicyMark": false,
182
+ "favouredPolicyName": null,
183
+ "zeroTaxRateFlag": null,
184
+ "referenceLines": null,
185
+ "version": 0,
186
+ taxAmount:1
187
+ },
188
+ {
189
+ "serialNumber": "1714491422279110656",
190
+ "lineNumber": 3,
191
+ "taxCode": "3070401000000000000",
192
+ "taxName": "信息技术服务",
193
+ "specification": null,
194
+ "itemName": "技术服务费",
195
+ "itemCode": null,
196
+ "unit": "套",
197
+ "quantity": 1,
198
+ "taxRate": 0.06,
199
+ "priceExcludeTax": 2,
200
+ "priceIncludeTax": 2.12,
201
+ "amountTax": 0.12,
202
+ "lineAmountExcludeTax": 5,
203
+ "lineAmountIncludeTax": 5.3,
204
+ "lineAttribute": LineAttributeType.正常,
205
+ "discountGroup": null,
206
+ "favouredPolicyMark": false,
207
+ "favouredPolicyName": null,
208
+ "zeroTaxRateFlag": null,
209
+ "referenceLines": null,
210
+ "version": 0,
211
+ taxAmount:1
212
+ },
213
+ {
214
+ "serialNumber": "1714491422279110656",
215
+ "lineNumber": 3,
216
+ "taxCode": "3070401000000000000",
217
+ "taxName": "信息技术服务",
218
+ "specification": null,
219
+ "itemName": "技术服务费",
220
+ "itemCode": null,
221
+ "unit": "",
222
+ "quantity": 1,
223
+ "taxRate": 0.06,
224
+ "priceExcludeTax": 2,
225
+ "priceIncludeTax": 2.12,
226
+ "amountTax": 0.12,
227
+ "lineAmountExcludeTax": 5,
228
+ "lineAmountIncludeTax": 5.3,
229
+ "lineAttribute": LineAttributeType.折让行,
230
+ "discountGroup": null,
231
+ "favouredPolicyMark": false,
232
+ "favouredPolicyName": null,
233
+ "zeroTaxRateFlag": null,
234
+ "referenceLines": null,
235
+ "version": 0,
236
+ taxAmount:1
237
+ },
238
+ {
239
+ "serialNumber": "1714491422279110656",
240
+ "lineNumber": 3,
241
+ "taxCode": "3070401000000000000",
242
+ "taxName": "信息技术服务",
243
+ "specification": null,
244
+ "itemName": "技术服务费",
245
+ "itemCode": null,
246
+ "unit": "套",
247
+ "quantity": 1,
248
+ "taxRate": 0.06,
249
+ "priceExcludeTax": 2,
250
+ "priceIncludeTax": 2.12,
251
+ "amountTax": 0.12,
252
+ "lineAmountExcludeTax": 5,
253
+ "lineAmountIncludeTax": 5.3,
254
+ "lineAttribute": LineAttributeType.折让行,
255
+ "discountGroup": null,
256
+ "favouredPolicyMark": false,
257
+ "favouredPolicyName": null,
258
+ "zeroTaxRateFlag": null,
259
+ "referenceLines": null,
260
+ "version": 0,
261
+ taxAmount:1
262
+ }
263
+ ]
264
+
265
+ const moke = [
266
+ {
267
+ "bbh": "34.0",
268
+ "createTime": "2019-09-12 08:54:16.0",
269
+ "gjz": "稻谷、早籼稻、晚籼稻、中籼稻、粳稻、糯稻",
270
+ "gxsj": "20200601",
271
+ "hzx": "N",
272
+ "id": 50550,
273
+ "pid": "1010101000000000000",
274
+ "productName": "稻谷",
275
+ "qysj": "20190401",
276
+ "shorthand": "谷物",
277
+ "sm": "包括早籼稻、晚籼稻、中籼稻、粳稻、糯稻、其他稻谷。",
278
+ "specification": null,
279
+ "ssflbbh": "32.0",
280
+ "statusDesc": null,
281
+ "taxCategoryCode": "1010101010000000000",
282
+ "updateTime": "2021-08-17 15:12:33.0",
283
+ "zzssl": "9%",
284
+ "zzstsgl": "免税",
285
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
286
+ },
287
+ {
288
+ "bbh": "34.0",
289
+ "createTime": "2019-09-12 08:54:16.0",
290
+ "gjz": "小麦、硬质小麦、软质小麦",
291
+ "gxsj": "20200601",
292
+ "hzx": "N",
293
+ "id": 50551,
294
+ "pid": "1010101000000000000",
295
+ "productName": "小麦",
296
+ "qysj": "20190401",
297
+ "shorthand": "谷物",
298
+ "sm": "包括硬质小麦、软质小麦、其他小麦。",
299
+ "specification": null,
300
+ "ssflbbh": "32.0",
301
+ "statusDesc": null,
302
+ "taxCategoryCode": "1010101020000000000",
303
+ "updateTime": "2021-08-17 15:12:22.0",
304
+ "zzssl": "9%",
305
+ "zzstsgl": "免税",
306
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
307
+ },
308
+ {
309
+ "bbh": "34.0",
310
+ "createTime": "2019-09-12 08:54:16.0",
311
+ "gjz": "玉米、白玉米、黄玉米、糯玉米、甜玉米",
312
+ "gxsj": "20200601",
313
+ "hzx": "N",
314
+ "id": 50552,
315
+ "pid": "1010101000000000000",
316
+ "productName": "玉米",
317
+ "qysj": "20190401",
318
+ "shorthand": "谷物",
319
+ "sm": "包括白玉米、黄玉米、糯玉米、甜玉米、其他玉米。",
320
+ "specification": null,
321
+ "ssflbbh": "32.0",
322
+ "statusDesc": null,
323
+ "taxCategoryCode": "1010101030000000000",
324
+ "updateTime": "2021-08-17 15:12:27.0",
325
+ "zzssl": "9%",
326
+ "zzstsgl": "免税",
327
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)、《财政部、国家税务总局关于免征蔬菜流通环节增值税有关问题的通知》(财税〔2011〕137号)"
328
+ },
329
+ {
330
+ "bbh": "34.0",
331
+ "createTime": "2019-09-12 08:54:16.0",
332
+ "gjz": "谷子、硬谷子、糯谷子",
333
+ "gxsj": "20200601",
334
+ "hzx": "N",
335
+ "id": 50553,
336
+ "pid": "1010101000000000000",
337
+ "productName": "谷子",
338
+ "qysj": "20190401",
339
+ "shorthand": "谷物",
340
+ "sm": "包括硬谷子、糯谷子、其他谷子。",
341
+ "specification": null,
342
+ "ssflbbh": "32.0",
343
+ "statusDesc": null,
344
+ "taxCategoryCode": "1010101040000000000",
345
+ "updateTime": "2021-08-17 15:12:12.0",
346
+ "zzssl": "9%",
347
+ "zzstsgl": "免税",
348
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
349
+ },
350
+ {
351
+ "bbh": "34.0",
352
+ "createTime": "2019-09-12 08:54:16.0",
353
+ "gjz": "高粱、红粒高粱、白粒高粱、糯高粱",
354
+ "gxsj": "20200601",
355
+ "hzx": "N",
356
+ "id": 50554,
357
+ "pid": "1010101000000000000",
358
+ "productName": "高粱",
359
+ "qysj": "20190401",
360
+ "shorthand": "谷物",
361
+ "sm": "包括红粒高粱、白粒高粱、糯高粱、其他高粱。",
362
+ "specification": null,
363
+ "ssflbbh": "32.0",
364
+ "statusDesc": null,
365
+ "taxCategoryCode": "1010101050000000000",
366
+ "updateTime": "2021-08-17 15:12:30.0",
367
+ "zzssl": "9%",
368
+ "zzstsgl": "免税",
369
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
370
+ },
371
+ {
372
+ "bbh": "34.0",
373
+ "createTime": "2019-09-12 08:54:16.0",
374
+ "gjz": "大麦、裸大麦、皮大麦",
375
+ "gxsj": "20200601",
376
+ "hzx": "N",
377
+ "id": 50555,
378
+ "pid": "1010101000000000000",
379
+ "productName": "大麦",
380
+ "qysj": "20190401",
381
+ "shorthand": "谷物",
382
+ "sm": "包括裸大麦、皮大麦。",
383
+ "specification": null,
384
+ "ssflbbh": "32.0",
385
+ "statusDesc": null,
386
+ "taxCategoryCode": "1010101060000000000",
387
+ "updateTime": "2021-08-17 15:12:08.0",
388
+ "zzssl": "9%",
389
+ "zzstsgl": "免税",
390
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
391
+ },
392
+ {
393
+ "bbh": "34.0",
394
+ "createTime": "2019-09-12 08:54:16.0",
395
+ "gjz": "裸燕麦、皮燕麦",
396
+ "gxsj": "20200601",
397
+ "hzx": "N",
398
+ "id": 50556,
399
+ "pid": "1010101000000000000",
400
+ "productName": "燕麦",
401
+ "qysj": "20190401",
402
+ "shorthand": "谷物",
403
+ "sm": "包括裸燕麦、皮燕麦。",
404
+ "specification": null,
405
+ "ssflbbh": "32.0",
406
+ "statusDesc": null,
407
+ "taxCategoryCode": "1010101070000000000",
408
+ "updateTime": "2021-08-17 15:12:29.0",
409
+ "zzssl": "9%",
410
+ "zzstsgl": "免税",
411
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
412
+ },
413
+ {
414
+ "bbh": "34.0",
415
+ "createTime": "2019-09-12 08:54:16.0",
416
+ "gjz": "黑麦",
417
+ "gxsj": "20200601",
418
+ "hzx": "N",
419
+ "id": 50557,
420
+ "pid": "1010101000000000000",
421
+ "productName": "黑麦",
422
+ "qysj": "20190401",
423
+ "shorthand": "谷物",
424
+ "sm": "",
425
+ "specification": null,
426
+ "ssflbbh": "32.0",
427
+ "statusDesc": null,
428
+ "taxCategoryCode": "1010101080000000000",
429
+ "updateTime": "2021-08-17 15:12:11.0",
430
+ "zzssl": "9%",
431
+ "zzstsgl": "免税",
432
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
433
+ },
434
+ {
435
+ "bbh": "34.0",
436
+ "createTime": "2019-09-12 08:54:16.0",
437
+ "gjz": "荞麦、甜荞麦、苦荞麦",
438
+ "gxsj": "20200601",
439
+ "hzx": "N",
440
+ "id": 50558,
441
+ "pid": "1010101000000000000",
442
+ "productName": "荞麦",
443
+ "qysj": "20190401",
444
+ "shorthand": "谷物",
445
+ "sm": "包括甜荞麦、苦荞麦。",
446
+ "specification": null,
447
+ "ssflbbh": "32.0",
448
+ "statusDesc": null,
449
+ "taxCategoryCode": "1010101090000000000",
450
+ "updateTime": "2021-08-17 15:12:30.0",
451
+ "zzssl": "9%",
452
+ "zzstsgl": "免税",
453
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
454
+ },
455
+ {
456
+ "bbh": "34.0",
457
+ "createTime": "2019-09-12 08:54:16.0",
458
+ "gjz": "糜子、硬糜子、糯糜子、紫米、薏苡",
459
+ "gxsj": "20200601",
460
+ "hzx": "N",
461
+ "id": 50559,
462
+ "pid": "1010101000000000000",
463
+ "productName": "其他谷物",
464
+ "qysj": "20190401",
465
+ "shorthand": "谷物",
466
+ "sm": "包括糜子(硬糜子、糯糜子)、紫米、薏苡等。",
467
+ "specification": null,
468
+ "ssflbbh": "32.0",
469
+ "statusDesc": null,
470
+ "taxCategoryCode": "1010101990000000000",
471
+ "updateTime": "2021-08-17 15:12:19.0",
472
+ "zzssl": "9%",
473
+ "zzstsgl": "免税",
474
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
475
+ },
476
+ {
477
+ "bbh": "34.0",
478
+ "createTime": "2019-09-12 08:54:16.0",
479
+ "gjz": "种用谷物、种用皮大麦、种用裸大麦、种用糯高粱、种用红粒高粱、种用白粒高粱、种用甜玉米、种用糯玉米、种用黄玉米、种用白玉米、种用硬质小麦、种用软质小麦、种用中籼稻、种用早籼稻、种用晚籼稻、种用糯稻、种用粳稻",
480
+ "gxsj": "20200601",
481
+ "hzx": "N",
482
+ "id": 50683,
483
+ "pid": "1010119000000000000",
484
+ "productName": "种用谷物",
485
+ "qysj": "20190401",
486
+ "shorthand": "种子种苗",
487
+ "sm": "包括种用硬质小麦、种用甜玉米、种用软质小麦、种用皮大麦、种用糯玉米、种用糯高粱、种用裸大麦、种用黄玉米、种用红粒高粱、种用白玉米、种用白粒高粱、其他种用玉米、其他种用小麦、其他种用高粱、种用中籼稻、种用早籼稻、种用晚籼稻、种用糯稻、种用粳稻、其他种用稻谷。",
488
+ "specification": null,
489
+ "ssflbbh": "32.0",
490
+ "statusDesc": null,
491
+ "taxCategoryCode": "1010119010000000000",
492
+ "updateTime": "2021-08-17 15:12:24.0",
493
+ "zzssl": "9%",
494
+ "zzstsgl": "免税",
495
+ "zzszcyj": "《财政部、国家税务总局关于若干农业生产资料征免增值税政策的通知》(财税〔2001〕113号)"
496
+ },
497
+ {
498
+ "bbh": "34.0",
499
+ "createTime": "2019-09-12 08:54:16.0",
500
+ "gjz": "小麦粉、小麦专用粉、小麦自发粉",
501
+ "gxsj": "20200601",
502
+ "hzx": "N",
503
+ "id": 50923,
504
+ "pid": "1030101000000000000",
505
+ "productName": "小麦粉",
506
+ "qysj": "20190401",
507
+ "shorthand": "谷物细粉",
508
+ "sm": "",
509
+ "specification": null,
510
+ "ssflbbh": "32.0",
511
+ "statusDesc": null,
512
+ "taxCategoryCode": "1030101010000000000",
513
+ "updateTime": "2021-08-17 15:12:14.0",
514
+ "zzssl": "9%",
515
+ "zzstsgl": "免税",
516
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
517
+ },
518
+ {
519
+ "bbh": "34.0",
520
+ "createTime": "2019-09-12 08:54:16.0",
521
+ "gjz": "大米粉、籼米细粉、粳米细粉",
522
+ "gxsj": "20200601",
523
+ "hzx": "N",
524
+ "id": 50924,
525
+ "pid": "1030101000000000000",
526
+ "productName": "大米粉",
527
+ "qysj": "20190401",
528
+ "shorthand": "谷物细粉",
529
+ "sm": "",
530
+ "specification": null,
531
+ "ssflbbh": "32.0",
532
+ "statusDesc": null,
533
+ "taxCategoryCode": "1030101020000000000",
534
+ "updateTime": "2021-08-17 15:12:08.0",
535
+ "zzssl": "9%",
536
+ "zzstsgl": "免税",
537
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
538
+ },
539
+ {
540
+ "bbh": "34.0",
541
+ "createTime": "2019-09-12 08:54:16.0",
542
+ "gjz": "玉米细粉、糯米细粉、荞麦细粉、黑麦细粉、莜麦细粉、高粱细粉、大麦细粉",
543
+ "gxsj": "20200601",
544
+ "hzx": "N",
545
+ "id": 50925,
546
+ "pid": "1030101000000000000",
547
+ "productName": "其他谷物细粉",
548
+ "qysj": "20190401",
549
+ "shorthand": "谷物细粉",
550
+ "sm": "",
551
+ "specification": null,
552
+ "ssflbbh": "32.0",
553
+ "statusDesc": null,
554
+ "taxCategoryCode": "1030101990000000000",
555
+ "updateTime": "2021-08-17 15:12:08.0",
556
+ "zzssl": "9%",
557
+ "zzstsgl": "免税",
558
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
559
+ },
560
+ {
561
+ "bbh": "34.0",
562
+ "createTime": "2019-09-12 08:54:16.0",
563
+ "gjz": "籼米、粳米",
564
+ "gxsj": "20200601",
565
+ "hzx": "N",
566
+ "id": 50928,
567
+ "pid": "1030102010000000000",
568
+ "productName": "大米",
569
+ "qysj": "20190401",
570
+ "shorthand": "谷物加工品",
571
+ "sm": "",
572
+ "specification": null,
573
+ "ssflbbh": "32.0",
574
+ "statusDesc": null,
575
+ "taxCategoryCode": "1030102010100000000",
576
+ "updateTime": "2021-08-17 15:12:11.0",
577
+ "zzssl": "9%",
578
+ "zzstsgl": "免税",
579
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
580
+ },
581
+ {
582
+ "bbh": "34.0",
583
+ "createTime": "2019-09-12 08:54:16.0",
584
+ "gjz": "大米",
585
+ "gxsj": "20200601",
586
+ "hzx": "N",
587
+ "id": 50929,
588
+ "pid": "1030102010000000000",
589
+ "productName": "小米",
590
+ "qysj": "20190401",
591
+ "shorthand": "谷物加工品",
592
+ "sm": "",
593
+ "specification": null,
594
+ "ssflbbh": "32.0",
595
+ "statusDesc": null,
596
+ "taxCategoryCode": "1030102010200000000",
597
+ "updateTime": "2021-08-17 15:12:25.0",
598
+ "zzssl": "9%",
599
+ "zzstsgl": "免税",
600
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
601
+ },
602
+ {
603
+ "bbh": "34.0",
604
+ "createTime": "2019-09-12 08:54:16.0",
605
+ "gjz": "糯米",
606
+ "gxsj": "20200601",
607
+ "hzx": "N",
608
+ "id": 50930,
609
+ "pid": "1030102010000000000",
610
+ "productName": "糯米",
611
+ "qysj": "20190401",
612
+ "shorthand": "谷物加工品",
613
+ "sm": "",
614
+ "specification": null,
615
+ "ssflbbh": "32.0",
616
+ "statusDesc": null,
617
+ "taxCategoryCode": "1030102010300000000",
618
+ "updateTime": "2021-08-17 15:12:14.0",
619
+ "zzssl": "9%",
620
+ "zzstsgl": "免税",
621
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
622
+ },
623
+ {
624
+ "bbh": "34.0",
625
+ "createTime": "2019-09-12 08:54:16.0",
626
+ "gjz": "高粱米",
627
+ "gxsj": "20200601",
628
+ "hzx": "N",
629
+ "id": 50931,
630
+ "pid": "1030102010000000000",
631
+ "productName": "高粱米",
632
+ "qysj": "20190401",
633
+ "shorthand": "谷物加工品",
634
+ "sm": "",
635
+ "specification": null,
636
+ "ssflbbh": "32.0",
637
+ "statusDesc": null,
638
+ "taxCategoryCode": "1030102010400000000",
639
+ "updateTime": "2021-08-17 15:12:13.0",
640
+ "zzssl": "9%",
641
+ "zzstsgl": "免税",
642
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
643
+ },
644
+ {
645
+ "bbh": "34.0",
646
+ "createTime": "2019-09-12 08:54:16.0",
647
+ "gjz": "脱壳燕麦",
648
+ "gxsj": "20200601",
649
+ "hzx": "N",
650
+ "id": 50932,
651
+ "pid": "1030102010000000000",
652
+ "productName": "脱壳燕麦",
653
+ "qysj": "20190401",
654
+ "shorthand": "谷物加工品",
655
+ "sm": "指已脱壳但未去皮的燕麦。",
656
+ "specification": null,
657
+ "ssflbbh": "32.0",
658
+ "statusDesc": null,
659
+ "taxCategoryCode": "1030102010500000000",
660
+ "updateTime": "2021-08-17 15:12:06.0",
661
+ "zzssl": "9%",
662
+ "zzstsgl": "免税",
663
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
664
+ },
665
+ {
666
+ "bbh": "34.0",
667
+ "createTime": "2019-09-12 08:54:16.0",
668
+ "gjz": "脱壳青稞",
669
+ "gxsj": "20200601",
670
+ "hzx": "N",
671
+ "id": 50933,
672
+ "pid": "1030102010000000000",
673
+ "productName": "脱壳青稞",
674
+ "qysj": "20190401",
675
+ "shorthand": "谷物加工品",
676
+ "sm": "",
677
+ "specification": null,
678
+ "ssflbbh": "32.0",
679
+ "statusDesc": null,
680
+ "taxCategoryCode": "1030102010600000000",
681
+ "updateTime": "2021-08-17 15:12:11.0",
682
+ "zzssl": "9%",
683
+ "zzstsgl": "免税",
684
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
685
+ },
686
+ {
687
+ "bbh": "34.0",
688
+ "createTime": "2019-09-12 08:54:16.0",
689
+ "gjz": "珠粒大麦",
690
+ "gxsj": "20200601",
691
+ "hzx": "N",
692
+ "id": 50934,
693
+ "pid": "1030102010000000000",
694
+ "productName": "珠粒大麦",
695
+ "qysj": "20190401",
696
+ "shorthand": "谷物加工品",
697
+ "sm": "",
698
+ "specification": null,
699
+ "ssflbbh": "32.0",
700
+ "statusDesc": null,
701
+ "taxCategoryCode": "1030102010700000000",
702
+ "updateTime": "2021-08-17 15:12:12.0",
703
+ "zzssl": "9%",
704
+ "zzstsgl": "免税",
705
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
706
+ },
707
+ {
708
+ "bbh": "34.0",
709
+ "createTime": "2019-09-12 08:54:16.0",
710
+ "gjz": "",
711
+ "gxsj": "20200601",
712
+ "hzx": "N",
713
+ "id": 50935,
714
+ "pid": "1030102010000000000",
715
+ "productName": "其他碾磨、脱壳谷物",
716
+ "qysj": "20190401",
717
+ "shorthand": "谷物加工品",
718
+ "sm": "",
719
+ "specification": null,
720
+ "ssflbbh": "32.0",
721
+ "statusDesc": null,
722
+ "taxCategoryCode": "1030102019900000000",
723
+ "updateTime": "2021-08-17 15:12:21.0",
724
+ "zzssl": "9%",
725
+ "zzstsgl": "免税",
726
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
727
+ },
728
+ {
729
+ "bbh": "34.0",
730
+ "createTime": "2019-09-12 08:54:16.0",
731
+ "gjz": "小麦粗磨、大米粗磨、玉米粗磨、燕麦粗磨",
732
+ "gxsj": "20200601",
733
+ "hzx": "N",
734
+ "id": 50936,
735
+ "pid": "1030102000000000000",
736
+ "productName": "粗磨谷物",
737
+ "qysj": "20190401",
738
+ "shorthand": "谷物加工品",
739
+ "sm": "包括谷物去壳谷粉、粗粉及团粒。",
740
+ "specification": null,
741
+ "ssflbbh": "32.0",
742
+ "statusDesc": null,
743
+ "taxCategoryCode": "1030102020000000000",
744
+ "updateTime": "2021-08-17 15:12:15.0",
745
+ "zzssl": "9%",
746
+ "zzstsgl": "免税",
747
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
748
+ },
749
+ {
750
+ "bbh": "34.0",
751
+ "createTime": "2019-09-12 08:54:16.0",
752
+ "gjz": "燕麦片、大麦片、玉米片、谷物胚芽",
753
+ "gxsj": "20200601",
754
+ "hzx": "N",
755
+ "id": 50937,
756
+ "pid": "1030102000000000000",
757
+ "productName": "谷物加工制品",
758
+ "qysj": "20190401",
759
+ "shorthand": "谷物加工品",
760
+ "sm": "包括燕麦片、大麦片、玉米片,谷物胚芽等。",
761
+ "specification": null,
762
+ "ssflbbh": "32.0",
763
+ "statusDesc": null,
764
+ "taxCategoryCode": "1030102030000000000",
765
+ "updateTime": "2021-08-17 15:12:19.0",
766
+ "zzssl": "13%、9%",
767
+ "zzstsgl": "免税",
768
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
769
+ },
770
+ {
771
+ "bbh": "34.0",
772
+ "createTime": "2019-09-12 08:54:16.0",
773
+ "gjz": "谷物制品类罐头、甜玉米罐头、米粥罐头、米饭罐头、八宝粥罐头、蔬菜粥罐头、八宝饭罐头",
774
+ "gxsj": "20200601",
775
+ "hzx": "N",
776
+ "id": 51065,
777
+ "pid": "1030205000000000000",
778
+ "productName": "谷物制品类罐头",
779
+ "qysj": "20190401",
780
+ "shorthand": "罐头",
781
+ "sm": "指经过处理后的谷类、干果及其他原料(桂圆、枸杞、蔬菜等)装罐制成的罐头产品",
782
+ "specification": null,
783
+ "ssflbbh": "32.0",
784
+ "statusDesc": null,
785
+ "taxCategoryCode": "1030205080000000000",
786
+ "updateTime": "2021-08-17 15:12:25.0",
787
+ "zzssl": "13%",
788
+ "zzstsgl": "",
789
+ "zzszcyj": ""
790
+ },
791
+ {
792
+ "bbh": "34.0",
793
+ "createTime": "2019-09-12 08:54:16.0",
794
+ "gjz": "谷物磨粉工业用筛、谷物磨粉工业用筛架、混合滚筒、分离滚筒、谷物磨粉机的滚筒、谷物磨粉机的变换器、谷物磨粉工业用机械零件",
795
+ "gxsj": "20200601",
796
+ "hzx": "N",
797
+ "id": 53402,
798
+ "pid": "1090220000000000000",
799
+ "productName": "谷物磨粉工业用机械零件",
800
+ "qysj": "20190401",
801
+ "shorthand": "食品制造机械",
802
+ "sm": "包括谷物磨粉工业用筛及筛架、混合或分离滚筒、谷物磨粉机的滚筒或变换器、其他谷物磨粉工业用机械零件",
803
+ "specification": null,
804
+ "ssflbbh": "32.0",
805
+ "statusDesc": null,
806
+ "taxCategoryCode": "1090220050000000000",
807
+ "updateTime": "2021-08-17 15:12:11.0",
808
+ "zzssl": "13%",
809
+ "zzstsgl": "",
810
+ "zzszcyj": ""
811
+ },
812
+ {
813
+ "bbh": "34.0",
814
+ "createTime": "2019-09-12 08:54:16.0",
815
+ "gjz": "",
816
+ "gxsj": "20200601",
817
+ "hzx": "Y",
818
+ "id": 50549,
819
+ "pid": "1010100000000000000",
820
+ "productName": "谷物",
821
+ "qysj": "20190401",
822
+ "shorthand": "谷物",
823
+ "sm": "包括稻谷、小麦、玉米、谷子、高粱、大麦、燕麦、黑麦、荞麦、其他谷物,不包括种用谷物(详见101011901)。",
824
+ "specification": null,
825
+ "ssflbbh": "32.0",
826
+ "statusDesc": null,
827
+ "taxCategoryCode": "1010101000000000000",
828
+ "updateTime": "2021-08-17 15:12:22.0",
829
+ "zzssl": "",
830
+ "zzstsgl": "",
831
+ "zzszcyj": ""
832
+ },
833
+ {
834
+ "bbh": "34.0",
835
+ "createTime": "2019-09-12 08:54:16.0",
836
+ "gjz": "种子、种苗、种用谷物、种用薯类、种用油料、种用豆类、种用饲料作物、蔬菜籽、花草种、水果籽",
837
+ "gxsj": "20200601",
838
+ "hzx": "Y",
839
+ "id": 50682,
840
+ "pid": "1010100000000000000",
841
+ "productName": "种子、种苗",
842
+ "qysj": "20190401",
843
+ "shorthand": "种子种苗",
844
+ "sm": "包括种用谷物、种用薯类、种用油料、种用豆类、种用饲料作物、蔬菜籽、花草种、水果籽及其他种子、种苗",
845
+ "specification": null,
846
+ "ssflbbh": "32.0",
847
+ "statusDesc": null,
848
+ "taxCategoryCode": "1010119000000000000",
849
+ "updateTime": "2021-08-17 15:12:22.0",
850
+ "zzssl": "",
851
+ "zzstsgl": "",
852
+ "zzszcyj": ""
853
+ },
854
+ {
855
+ "bbh": "34.0",
856
+ "createTime": "2019-09-12 08:54:16.0",
857
+ "gjz": "",
858
+ "gxsj": "20200601",
859
+ "hzx": "Y",
860
+ "id": 50922,
861
+ "pid": "1030100000000000000",
862
+ "productName": "谷物细粉",
863
+ "qysj": "20190401",
864
+ "shorthand": "谷物细粉",
865
+ "sm": "",
866
+ "specification": null,
867
+ "ssflbbh": "32.0",
868
+ "statusDesc": null,
869
+ "taxCategoryCode": "1030101000000000000",
870
+ "updateTime": "2021-08-17 15:12:09.0",
871
+ "zzssl": "",
872
+ "zzstsgl": "",
873
+ "zzszcyj": ""
874
+ },
875
+ {
876
+ "bbh": "34.0",
877
+ "createTime": "2019-09-12 08:54:16.0",
878
+ "gjz": "",
879
+ "gxsj": "20200601",
880
+ "hzx": "Y",
881
+ "id": 50927,
882
+ "pid": "1030102000000000000",
883
+ "productName": "碾磨、脱壳谷物",
884
+ "qysj": "20190401",
885
+ "shorthand": "谷物加工品",
886
+ "sm": "",
887
+ "specification": null,
888
+ "ssflbbh": "32.0",
889
+ "statusDesc": null,
890
+ "taxCategoryCode": "1030102010000000000",
891
+ "updateTime": "2021-08-17 15:12:07.0",
892
+ "zzssl": "",
893
+ "zzstsgl": "",
894
+ "zzszcyj": ""
895
+ },
896
+ {
897
+ "bbh": "34.0",
898
+ "createTime": "2019-09-12 08:54:16.0",
899
+ "gjz": "",
900
+ "gxsj": "20200601",
901
+ "hzx": "Y",
902
+ "id": 51057,
903
+ "pid": "1030200000000000000",
904
+ "productName": "罐头",
905
+ "qysj": "20190401",
906
+ "shorthand": "罐头",
907
+ "sm": "",
908
+ "specification": null,
909
+ "ssflbbh": "32.0",
910
+ "statusDesc": null,
911
+ "taxCategoryCode": "1030205000000000000",
912
+ "updateTime": "2021-08-17 15:12:13.0",
913
+ "zzssl": "",
914
+ "zzstsgl": "",
915
+ "zzszcyj": ""
916
+ },
917
+ {
918
+ "bbh": "34.0",
919
+ "createTime": "2019-09-12 08:54:16.0",
920
+ "gjz": "",
921
+ "gxsj": "20200601",
922
+ "hzx": "Y",
923
+ "id": 53397,
924
+ "pid": "1090200000000000000",
925
+ "productName": "食品、饮料、烟草专用生产设备零件",
926
+ "qysj": "20190401",
927
+ "shorthand": "食品制造机械",
928
+ "sm": "",
929
+ "specification": null,
930
+ "ssflbbh": "32.0",
931
+ "statusDesc": null,
932
+ "taxCategoryCode": "1090220000000000000",
933
+ "updateTime": "2021-08-17 15:12:09.0",
934
+ "zzssl": "",
935
+ "zzstsgl": "",
936
+ "zzszcyj": ""
937
+ },
938
+ {
939
+ "bbh": "34.0",
940
+ "createTime": "2019-09-12 08:54:16.0",
941
+ "gjz": "",
942
+ "gxsj": "20200601",
943
+ "hzx": "Y",
944
+ "id": 50548,
945
+ "pid": "1010000000000000000",
946
+ "productName": "农业产品",
947
+ "qysj": "20190401",
948
+ "shorthand": "农业产品",
949
+ "sm": "",
950
+ "specification": null,
951
+ "ssflbbh": "32.0",
952
+ "statusDesc": null,
953
+ "taxCategoryCode": "1010100000000000000",
954
+ "updateTime": "2021-08-17 15:12:32.0",
955
+ "zzssl": "",
956
+ "zzstsgl": "",
957
+ "zzszcyj": ""
958
+ },
959
+ {
960
+ "bbh": "34.0",
961
+ "createTime": "2019-09-12 08:54:16.0",
962
+ "gjz": "",
963
+ "gxsj": "20200601",
964
+ "hzx": "Y",
965
+ "id": 50921,
966
+ "pid": "1030000000000000000",
967
+ "productName": "农副食品,动、植物油制品",
968
+ "qysj": "20190401",
969
+ "shorthand": "农副食品",
970
+ "sm": "",
971
+ "specification": null,
972
+ "ssflbbh": "32.0",
973
+ "statusDesc": null,
974
+ "taxCategoryCode": "1030100000000000000",
975
+ "updateTime": "2021-08-17 15:12:23.0",
976
+ "zzssl": "",
977
+ "zzstsgl": "",
978
+ "zzszcyj": ""
979
+ },
980
+ {
981
+ "bbh": "34.0",
982
+ "createTime": "2019-09-12 08:54:16.0",
983
+ "gjz": "",
984
+ "gxsj": "20200601",
985
+ "hzx": "Y",
986
+ "id": 50926,
987
+ "pid": "1030100000000000000",
988
+ "productName": "碾磨谷物及谷物加工品",
989
+ "qysj": "20190401",
990
+ "shorthand": "谷物加工品",
991
+ "sm": "",
992
+ "specification": null,
993
+ "ssflbbh": "32.0",
994
+ "statusDesc": null,
995
+ "taxCategoryCode": "1030102000000000000",
996
+ "updateTime": "2021-08-17 15:12:20.0",
997
+ "zzssl": "",
998
+ "zzstsgl": "",
999
+ "zzszcyj": ""
1000
+ },
1001
+ {
1002
+ "bbh": "34.0",
1003
+ "createTime": "2019-09-12 08:54:16.0",
1004
+ "gjz": "",
1005
+ "gxsj": "20200601",
1006
+ "hzx": "Y",
1007
+ "id": 51032,
1008
+ "pid": "1030000000000000000",
1009
+ "productName": "食品及加工盐",
1010
+ "qysj": "20190401",
1011
+ "shorthand": "食品",
1012
+ "sm": "",
1013
+ "specification": null,
1014
+ "ssflbbh": "32.0",
1015
+ "statusDesc": null,
1016
+ "taxCategoryCode": "1030200000000000000",
1017
+ "updateTime": "2021-08-17 15:12:30.0",
1018
+ "zzssl": "",
1019
+ "zzstsgl": "",
1020
+ "zzszcyj": ""
1021
+ },
1022
+ {
1023
+ "bbh": "34.0",
1024
+ "createTime": "2019-09-12 08:54:16.0",
1025
+ "gjz": "",
1026
+ "gxsj": "20200601",
1027
+ "hzx": "Y",
1028
+ "id": 53261,
1029
+ "pid": "1090000000000000000",
1030
+ "productName": "专用设备",
1031
+ "qysj": "20190401",
1032
+ "shorthand": "专用设备",
1033
+ "sm": "指只在一个特定产业,用来生产、加工、处理特定产品或者改变特定物质形态的机械设备及其专门配套件",
1034
+ "specification": null,
1035
+ "ssflbbh": "32.0",
1036
+ "statusDesc": null,
1037
+ "taxCategoryCode": "1090200000000000000",
1038
+ "updateTime": "2021-08-17 15:12:15.0",
1039
+ "zzssl": "",
1040
+ "zzstsgl": "",
1041
+ "zzszcyj": ""
1042
+ },
1043
+ {
1044
+ "bbh": "34.0",
1045
+ "createTime": "2019-09-12 08:54:16.0",
1046
+ "gjz": "",
1047
+ "gxsj": "20200601",
1048
+ "hzx": "Y",
1049
+ "id": 50547,
1050
+ "pid": "1000000000000000000",
1051
+ "productName": "农、林、牧、渔业类产品",
1052
+ "qysj": "20190401",
1053
+ "shorthand": "农产品",
1054
+ "sm": "",
1055
+ "specification": null,
1056
+ "ssflbbh": "32.0",
1057
+ "statusDesc": null,
1058
+ "taxCategoryCode": "1010000000000000000",
1059
+ "updateTime": "2021-08-17 15:12:19.0",
1060
+ "zzssl": "",
1061
+ "zzstsgl": "",
1062
+ "zzszcyj": ""
1063
+ },
1064
+ {
1065
+ "bbh": "34.0",
1066
+ "createTime": "2019-09-12 08:54:16.0",
1067
+ "gjz": "",
1068
+ "gxsj": "20200601",
1069
+ "hzx": "Y",
1070
+ "id": 50920,
1071
+ "pid": "1000000000000000000",
1072
+ "productName": "食品、饮料、烟、酒类产品",
1073
+ "qysj": "20190401",
1074
+ "shorthand": "食品类产品",
1075
+ "sm": "",
1076
+ "specification": null,
1077
+ "ssflbbh": "32.0",
1078
+ "statusDesc": null,
1079
+ "taxCategoryCode": "1030000000000000000",
1080
+ "updateTime": "2021-08-17 15:12:07.0",
1081
+ "zzssl": "",
1082
+ "zzstsgl": "",
1083
+ "zzszcyj": ""
1084
+ },
1085
+ {
1086
+ "bbh": "34.0",
1087
+ "createTime": "2019-09-12 08:54:16.0",
1088
+ "gjz": "",
1089
+ "gxsj": "20200601",
1090
+ "hzx": "Y",
1091
+ "id": 53022,
1092
+ "pid": "1000000000000000000",
1093
+ "productName": "机械、设备类产品",
1094
+ "qysj": "20190401",
1095
+ "shorthand": "机械设备",
1096
+ "sm": "",
1097
+ "specification": null,
1098
+ "ssflbbh": "32.0",
1099
+ "statusDesc": null,
1100
+ "taxCategoryCode": "1090000000000000000",
1101
+ "updateTime": "2021-08-17 15:12:15.0",
1102
+ "zzssl": "",
1103
+ "zzstsgl": "",
1104
+ "zzszcyj": ""
1105
+ },
1106
+ {
1107
+ "bbh": "34.0",
1108
+ "createTime": "2019-09-12 08:54:16.0",
1109
+ "gjz": "",
1110
+ "gxsj": "20200601",
1111
+ "hzx": "Y",
1112
+ "id": 50546,
1113
+ "pid": "0",
1114
+ "productName": "货物",
1115
+ "qysj": "20190401",
1116
+ "shorthand": "货物",
1117
+ "sm": "",
1118
+ "specification": null,
1119
+ "ssflbbh": "32.0",
1120
+ "statusDesc": null,
1121
+ "taxCategoryCode": "1000000000000000000",
1122
+ "updateTime": "2021-08-17 15:12:12.0",
1123
+ "zzssl": "",
1124
+ "zzstsgl": "",
1125
+ "zzszcyj": ""
1126
+ }
1072
1127
  ].map(e => ({ ...e, "zeroTaxRateFlag": 'dddddd' }))