kts-component-invoice-operate 3.2.53 → 3.2.55

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