kts-component-invoice-operate 3.2.113 → 3.2.115

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 (205) 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 +9 -9
  8. package/dist/index.esm.js +6260 -8719
  9. package/dist/index.js +6260 -8719
  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 +554 -554
  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 +95 -95
  30. package/src/Invoice/InvoiceController/InvoiceControllerState/AutoComplete/index.ts +20 -20
  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 +86 -86
  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/itemBlur.ts +40 -40
  49. package/src/Invoice/InvoiceController/fns/mergeDetails.ts +201 -201
  50. package/src/Invoice/InvoiceController/fns/mergeDiscount.ts +35 -35
  51. package/src/Invoice/InvoiceController/fns/saveEditGood.ts +24 -24
  52. package/src/Invoice/InvoiceController/fns/setEditGood.ts +16 -16
  53. package/src/Invoice/InvoiceController/fns/setGoods.ts +10 -10
  54. package/src/Invoice/InvoiceController/fns/updateInvoiceNo.ts +8 -8
  55. package/src/Invoice/InvoiceController/index.ts +81 -81
  56. package/src/Invoice/_test/buyerNameSearch/index.tsx +42 -42
  57. package/src/Invoice/_test/deduction/index.tsx +935 -935
  58. package/src/Invoice/_test/draft/index.tsx +40 -40
  59. package/src/Invoice/_test/easiest/index.tsx +5 -5
  60. package/src/Invoice/_test/endowCode/index.tsx +1158 -1158
  61. package/src/Invoice/_test/goodsMenuExpand/index.tsx +32 -32
  62. package/src/Invoice/_test/importBuyer/index.tsx +74 -74
  63. package/src/Invoice/_test/importGoods/index.tsx +1197 -1197
  64. package/src/Invoice/_test/invoiceType/index.tsx +59 -59
  65. package/src/Invoice/_test/isInvoiceNo/index.tsx +12 -12
  66. package/src/Invoice/_test/replaceHead/index.tsx +22 -22
  67. package/src/Invoice/_test/retrieveData/index.tsx +22 -22
  68. package/src/Invoice/_test/seller/index.tsx +28 -28
  69. package/src/Invoice/_test/setDataSource/index.tsx +73 -73
  70. package/src/Invoice/_test/unit/index.tsx +19 -19
  71. package/src/Invoice/index.less +29 -29
  72. package/src/Invoice/index.md +53 -53
  73. package/src/Invoice/index.tsx +167 -167
  74. package/src/Invoice/tools/calculate/index.ts +124 -124
  75. package/src/Invoice/tools/coolingFn/index.ts +17 -17
  76. package/src/Invoice/tools/evaluate/index.ts +7 -7
  77. package/src/Invoice/tools/idGenerator/index.ts +2 -2
  78. package/src/Invoice/tools/itemName/index.ts +55 -55
  79. package/src/Invoice/tools/lazyFn/index.ts +19 -19
  80. package/src/Invoice/tools/mounting/index.ts +13 -13
  81. package/src/Invoice/tools/strringFn/index.ts +40 -40
  82. package/src/Invoice/tools/useToGenerateId/index.ts +8 -8
  83. package/src/Invoice/ui/default/AddComparisonDrawer/index.tsx +149 -149
  84. package/src/Invoice/ui/default/Buyer/index.less +219 -219
  85. package/src/Invoice/ui/default/Buyer/index.tsx +114 -114
  86. package/src/Invoice/ui/default/Buyer/ui/BuyerNameInput/index.tsx +166 -166
  87. package/src/Invoice/ui/default/Buyer/ui/ImportBuyerButton/index.tsx +21 -21
  88. package/src/Invoice/ui/default/EndowCodeDrawer/index.less +8 -8
  89. package/src/Invoice/ui/default/EndowCodeDrawer/index.tsx +543 -543
  90. package/src/Invoice/ui/default/GoodsList/hook/useColumns/autoFillFn/index.ts +533 -533
  91. package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +687 -687
  92. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.less +20 -20
  93. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.tsx +205 -205
  94. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.less +18 -18
  95. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.tsx +47 -47
  96. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.less +17 -17
  97. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +88 -88
  98. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowEditButton/index.tsx +30 -30
  99. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/_useAddComparison/index.tsx +43 -43
  100. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.tsx +118 -118
  101. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx +41 -41
  102. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.tsx +25 -25
  103. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/index.less +13 -13
  104. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +98 -98
  105. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowSaveButton/index.tsx +14 -14
  106. package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/TitleText/index.tsx +20 -20
  107. package/src/Invoice/ui/default/GoodsList/hook/useDeduction/index.tsx +24 -24
  108. package/src/Invoice/ui/default/GoodsList/hook/useOnRow/index.tsx +39 -39
  109. package/src/Invoice/ui/default/GoodsList/hook/useRowSelection/index.tsx +114 -114
  110. package/src/Invoice/ui/default/GoodsList/hook/useWindowClick/index.tsx +23 -23
  111. package/src/Invoice/ui/default/GoodsList/index.less +179 -179
  112. package/src/Invoice/ui/default/GoodsList/index.tsx +205 -205
  113. package/src/Invoice/ui/default/GoodsList/ui/AddRowButton/index.tsx +65 -65
  114. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.less +21 -21
  115. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +244 -244
  116. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useCommodityComparisonButton/index.tsx +75 -75
  117. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +69 -69
  118. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useEndowCodeButton/index.tsx +65 -65
  119. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useMergeDetails/index.tsx +91 -91
  120. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useMergeDiscount/index.tsx +36 -36
  121. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useSalesDiscount/index.tsx +109 -109
  122. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useSalesGifts/index.tsx +88 -88
  123. package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/index.tsx +37 -37
  124. package/src/Invoice/ui/default/GoodsList/ui/DescribeSwitch/index.tsx +36 -36
  125. package/src/Invoice/ui/default/GoodsList/ui/Search/index.less +10 -10
  126. package/src/Invoice/ui/default/GoodsList/ui/Search/index.tsx +52 -52
  127. package/src/Invoice/ui/default/GoodsList/ui/Statistics/index.less +18 -18
  128. package/src/Invoice/ui/default/GoodsList/ui/Statistics/index.tsx +113 -113
  129. package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.less +28 -28
  130. package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.tsx +57 -57
  131. package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.less +38 -38
  132. package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.tsx +108 -108
  133. package/src/Invoice/ui/default/GoodsList/ui/TableVirtual.o/index.less +44 -44
  134. package/src/Invoice/ui/default/GoodsList/ui/TableVirtual.o/index.tsx +96 -96
  135. package/src/Invoice/ui/default/GoodsList/ui/TaxIncludedSwitch/index.tsx +30 -30
  136. package/src/Invoice/ui/default/ImportBuyerDrawer/index.tsx +75 -75
  137. package/src/Invoice/ui/default/ImportGoodsDrawer/index.tsx +198 -201
  138. package/src/Invoice/ui/default/InvoiceHeader/index.less +68 -68
  139. package/src/Invoice/ui/default/InvoiceHeader/index.tsx +246 -246
  140. package/src/Invoice/ui/default/Seller/index.less +113 -113
  141. package/src/Invoice/ui/default/Seller/index.tsx +98 -98
  142. package/src/Invoice/ui/default/Sign/index.less +14 -14
  143. package/src/Invoice/ui/default/Sign/index.tsx +71 -71
  144. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/autoFillFn/index.ts +519 -519
  145. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/index.tsx +650 -650
  146. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/svg/plus.svg +11 -11
  147. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.less +20 -20
  148. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.tsx +205 -205
  149. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/ItemNameInput/index.less +9 -9
  150. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +77 -77
  151. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowEditButton/index.tsx +30 -30
  152. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/_useAddComparison/index.tsx +43 -43
  153. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.tsx +76 -76
  154. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx +41 -41
  155. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.tsx +34 -34
  156. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/index.less +13 -13
  157. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +98 -98
  158. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowSaveButton/index.tsx +14 -14
  159. package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/TitleText/index.tsx +20 -20
  160. package/src/Invoice/ui/digtal/GoodsList/hook/useOnRow/index.tsx +39 -39
  161. package/src/Invoice/ui/digtal/GoodsList/hook/useRowSelection/index.tsx +121 -121
  162. package/src/Invoice/ui/digtal/GoodsList/hook/useWindowClick/index.tsx +23 -23
  163. package/src/Invoice/ui/digtal/GoodsList/index.less +56 -56
  164. package/src/Invoice/ui/digtal/GoodsList/index.tsx +180 -180
  165. package/src/Invoice/ui/digtal/GoodsList/ui/AddRowButton/index.tsx +65 -65
  166. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +339 -339
  167. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/svg/add.svg +11 -11
  168. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useCommodityComparisonButton/index.tsx +75 -75
  169. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +50 -50
  170. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useEmptyRefill/index.tsx +35 -35
  171. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useEndowCodeButton/index.tsx +82 -82
  172. package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useReselectInvoiceType/index.tsx +57 -57
  173. package/src/Invoice/ui/digtal/GoodsList/ui/DescribeSwitch/index.tsx +36 -36
  174. package/src/Invoice/ui/digtal/GoodsList/ui/Search/index.less +11 -11
  175. package/src/Invoice/ui/digtal/GoodsList/ui/Search/index.tsx +50 -50
  176. package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/index.less +53 -53
  177. package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/index.tsx +99 -99
  178. package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/svg/fork.svg +11 -11
  179. package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.less +28 -28
  180. package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.tsx +53 -53
  181. package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual/index.less +38 -38
  182. package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual/index.tsx +108 -108
  183. package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual.o/index.less +44 -44
  184. package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual.o/index.tsx +96 -96
  185. package/src/Invoice/ui/digtal/GoodsList/ui/TaxIncludedSwitch/index.tsx +30 -30
  186. package/src/Invoice/ui/digtal/InvoiceHeader/index.less +57 -57
  187. package/src/Invoice/ui/digtal/InvoiceHeader/index.tsx +77 -77
  188. package/src/Invoice/ui/digtal/Sign/index.less +48 -48
  189. package/src/Invoice/ui/digtal/Sign/index.tsx +99 -99
  190. package/src/Invoice/ui/digtal/Stakeholder/index.less +90 -75
  191. package/src/Invoice/ui/digtal/Stakeholder/index.tsx +394 -394
  192. package/src/Invoice/ui/digtal/Stakeholder/svg/arrowDown.svg +2 -2
  193. package/src/Invoice/ui/digtal/Stakeholder/svg/arrowUp.svg +2 -2
  194. package/src/Invoice/ui/digtal/Stakeholder/svg/plus.svg +11 -11
  195. package/src/InvoiceTypeModal/_test/easiest/index.tsx +31 -31
  196. package/src/InvoiceTypeModal/index.less +7 -7
  197. package/src/InvoiceTypeModal/index.md +5 -5
  198. package/src/InvoiceTypeModal/index.tsx +153 -153
  199. package/src/TaxClassificationCodeModal/_test/easiest/index.tsx +177 -177
  200. package/src/TaxClassificationCodeModal/index.md +6 -6
  201. package/src/TaxClassificationCodeModal/index.tsx +74 -74
  202. package/src/index.ts +12 -12
  203. package/tsconfig.json +31 -31
  204. package/typings.d.ts +3 -3
  205. package/yarn.e.lock +14331 -14331
@@ -1,554 +1,554 @@
1
-
2
- import React from 'react';
3
- import { Button } from 'kts-components-antd-x3/lib/radio';
4
- import { Invoice } from '../../../..';
5
- import { IGetBuyerListOption } from '../../../../Invoice/InvoiceController/InvoiceControllerState/BuyerState';
6
-
7
- const InvoiceController = Invoice.InvoiceController
8
-
9
- export default () => {
10
-
11
- // 初始化控制器
12
- const controller = React.useMemo(() => new MyInvoiceController(), []);
13
-
14
- return (
15
- <>
16
- <Button style={{ marginBottom: 10 }} onClick={async () => { console.log('===> 当前组件状态', await controller.validateFields()); }} >获取数据</Button>
17
- <Invoice controller={controller} invoiceType='digtal' />
18
- </>
19
- );
20
- };
21
-
22
- // 重写 购买方 的数据源,实现 ‘获取 购买方 列表’ 方法
23
- class MyInvoiceController extends InvoiceController {
24
- constructor() {
25
- super();
26
-
27
- this.state.autoComplete.onItemNameBlur = async (value: any) => {
28
- console.log(value, 'onBuyerNameBlur - Blur');
29
-
30
- return [
31
- {
32
- "taxCategoryCode": "1030206030000000000",
33
- "productName": "醋及醋代用品",
34
- "shorthand": "调味品",
35
- "id": null,
36
- "specification": null,
37
- "createTime": null,
38
- "status": 1,
39
- "versionCode": "48.0",
40
- "version": "32.0",
41
- "startTime": "20190401",
42
- "endTime": null,
43
- "cargo": null,
44
- "desc": null,
45
- "taxRate": "13%",
46
- "keyword": "食醋、米醋、酒醋、啤酒醋、麦芽醋、酒精醋、水果醋、醋精",
47
- "summarizedItem": "N",
48
- "countCode": null,
49
- "customsItem": null,
50
- "updateTime": null,
51
- "hzx": null,
52
- "children": null,
53
- "vatspecialManagement": "",
54
- "pid": "1030206000000000000",
55
- "vatpolicyBasis": null,
56
- "vatspecialManagementCode": "",
57
- "gstpolicyBasisCode": null,
58
- "gstspecialManagement": null,
59
- "gstpolicyBasis": null
60
- }
61
- ]
62
- };
63
-
64
- this.state.autoComplete.onItemNameSearch = async (value: any) => {
65
- console.log(value, 'onItemNameSearch - Search');
66
-
67
- const data = [
68
- {
69
- "taxCategoryCode": "1090111090000000000",
70
- "productName": "苹果",
71
- "name": null,
72
- "productCode": "0003",
73
- "shorthand": "小型起重设备",
74
- "id": "10881474649024102400167947617243",
75
- "specification": null,
76
- "categoryId": "10688389540499947520167487266471",
77
- "categoryName": "水果",
78
- "internalNumber": null,
79
- "taxCategoryName": "轻小型起重设备配套件",
80
- "referenceAmount": null,
81
- "priceAmount": 200.00000000000000000000,
82
- "taxId": null,
83
- "taxRate": null,
84
- "unitId": null,
85
- "unitName": null,
86
- "taxExemptionType": null,
87
- "enjoyPreferentialPolicies": 0,
88
- "preferentialPoliciesType": null,
89
- "productStatus": 1,
90
- "specialGoodsMark": "",
91
- "createTime": "2023-03-22 17:09:32",
92
- "updateTime": "2023-03-22 17:09:32"
93
- }
94
- ];
95
-
96
- return data.map((item: any) =>{
97
- return {
98
- ...data,
99
- itemName:item.productName,
100
- taxClassificationCode:item.taxCategoryCode,
101
- itemModelName:item.specification,
102
- shorthand:item.shorthand,
103
- priceIncludeTax:item.priceAmount,
104
- unit:item.unitName,
105
- taxRate:item.taxRate,
106
- }
107
- })
108
- };
109
- }
110
-
111
- // 重写 的 获取商品列表
112
- getGoodsList = this.pipeline<IGetBuyerListOption>(async (state, option) => {
113
- if (!option) return;
114
-
115
- // 初始化测试数据
116
- const dataSource = await getMok(option.pagination.current)
117
-
118
- // 设置分页数据
119
- state.goodsListState.importGoods.pagination = {
120
- ...option.pagination,
121
- pageSize: 20,
122
- total: 80,
123
- };
124
-
125
- // 设置列表数据
126
- state.goodsListState.importGoods.dataSource = dataSource;
127
- });
128
- }
129
-
130
- // const getMok = async (current: number = 1) => {
131
- // const dataSource: any[] = [];
132
- // for (let i = 0; i < 20; i++) {
133
- // const p = i + 20 * (current - 1);
134
- // dataSource.push({
135
- // itemType: `商品分类${p}`,
136
- // itemNo: `商品编码${p}`,
137
- // itemName: `商品名称${p}`,
138
- // shorthand: `前缀${p}`,
139
- // itemModelName: `规格型号${p}`,
140
- // unit: `计量单位${p}`,
141
- // priceIncludeTax: p,
142
- // priceExcludeTax: p,
143
- // taxClassificationCode: `税收分类编码${p}`,
144
- // affix: `附加信息${p}`,
145
- // });
146
- // }
147
- // return dataSource;
148
- // }
149
-
150
-
151
- const getMok = async (current: number = 1) => {
152
- return [
153
- {
154
- "attributeVOList": null,
155
- "brandName": null,
156
- "buyGroupCode": null,
157
- "buyGroupId": null,
158
- "buyGroupName": null,
159
- "categoryId": 2073,
160
- "categoryName": "通用",
161
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
162
- "createTime": "2021-09-10 15:45:43.0",
163
- "enjoyPreferentialPolicies": 0,
164
- "factoryCode": null,
165
- "factoryId": null,
166
- "factoryName": null,
167
- "id": 146200,
168
- "internalNumber": "发动机盖",
169
- "isUalityInspection": null,
170
- "name": "发动机ABC",
171
- "preferentialPoliciesType": null,
172
- "priceAmount": 50,
173
- "procurementCycle": 0,
174
- "shorthand": "发动机",
175
- "specification": "abc",
176
- "spuCode": "6000001738252675",
177
- "status": 1,
178
- "taxCategoryCode": "1090102040000000000",
179
- "taxExemptionType": "",
180
- "taxId": 11,
181
- "taxRate": 13,
182
- "unitId": 30,
183
- "unitName": "件",
184
- "itemType": "通用",
185
- "itemNo": "6000001738252675",
186
- "itemName": "发动机ABC",
187
- "itemModelName": "abc",
188
- "unit": "件",
189
- "priceIncludeTax": 50,
190
- "priceExcludeTax": 50,
191
- "taxClassificationCode": "1090102040000000000"
192
- },
193
- {
194
- "attributeVOList": null,
195
- "brandName": "丹东一号",
196
- "buyGroupCode": null,
197
- "buyGroupId": null,
198
- "buyGroupName": null,
199
- "categoryId": 2073,
200
- "categoryName": "通用",
201
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
202
- "createTime": "2021-09-02 14:59:52.0",
203
- "enjoyPreferentialPolicies": 0,
204
- "factoryCode": null,
205
- "factoryId": null,
206
- "factoryName": null,
207
- "id": 146199,
208
- "internalNumber": null,
209
- "isUalityInspection": null,
210
- "name": "aaaa",
211
- "preferentialPoliciesType": null,
212
- "priceAmount": 0,
213
- "procurementCycle": 0,
214
- "shorthand": "活牲畜",
215
- "specification": null,
216
- "spuCode": "6000001311479375",
217
- "status": 1,
218
- "taxCategoryCode": "1010301010000000000",
219
- "taxExemptionType": "1",
220
- "taxId": 1,
221
- "taxRate": 0,
222
- "unitId": null,
223
- "unitName": null,
224
- "itemType": "通用",
225
- "itemNo": "6000001311479375",
226
- "itemName": "aaaa",
227
- "itemModelName": null,
228
- "unit": null,
229
- "priceIncludeTax": 0,
230
- "priceExcludeTax": 0,
231
- "taxClassificationCode": "1010301010000000000"
232
- },
233
- {
234
- "attributeVOList": null,
235
- "brandName": "丹东一号",
236
- "buyGroupCode": null,
237
- "buyGroupId": null,
238
- "buyGroupName": null,
239
- "categoryId": 246,
240
- "categoryName": "分类cc>1",
241
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
242
- "createTime": "2020-12-28 18:23:55.0",
243
- "enjoyPreferentialPolicies": 0,
244
- "factoryCode": null,
245
- "factoryId": null,
246
- "factoryName": null,
247
- "id": 146131,
248
- "internalNumber": null,
249
- "isUalityInspection": null,
250
- "name": "AAAA",
251
- "preferentialPoliciesType": null,
252
- "priceAmount": null,
253
- "procurementCycle": 0,
254
- "shorthand": null,
255
- "specification": "1234EFF",
256
- "spuCode": "6000002120658581",
257
- "status": 1,
258
- "taxCategoryCode": null,
259
- "taxExemptionType": null,
260
- "taxId": null,
261
- "taxRate": 0,
262
- "unitId": 362,
263
- "unitName": "年",
264
- "itemType": "分类cc>1",
265
- "itemNo": "6000002120658581",
266
- "itemName": "AAAA",
267
- "itemModelName": "1234EFF",
268
- "unit": "年",
269
- "priceIncludeTax": 0,
270
- "priceExcludeTax": 0,
271
- "taxClassificationCode": null
272
- },
273
- {
274
- "attributeVOList": null,
275
- "brandName": null,
276
- "buyGroupCode": null,
277
- "buyGroupId": null,
278
- "buyGroupName": null,
279
- "categoryId": 2073,
280
- "categoryName": "通用",
281
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
282
- "createTime": "2020-12-15 10:14:14.0",
283
- "enjoyPreferentialPolicies": 0,
284
- "factoryCode": null,
285
- "factoryId": null,
286
- "factoryName": null,
287
- "id": 146129,
288
- "internalNumber": null,
289
- "isUalityInspection": null,
290
- "name": "服务费",
291
- "preferentialPoliciesType": null,
292
- "priceAmount": null,
293
- "procurementCycle": 0,
294
- "shorthand": "软件",
295
- "specification": null,
296
- "spuCode": "6000001474077629",
297
- "status": 1,
298
- "taxCategoryCode": "1060301020100000000",
299
- "taxExemptionType": null,
300
- "taxId": null,
301
- "taxRate": 0,
302
- "unitId": null,
303
- "unitName": null,
304
- "itemType": "通用",
305
- "itemNo": "6000001474077629",
306
- "itemName": "服务费",
307
- "itemModelName": null,
308
- "unit": null,
309
- "priceIncludeTax": 0,
310
- "priceExcludeTax": 0,
311
- "taxClassificationCode": "1060301020100000000"
312
- },
313
- {
314
- "attributeVOList": null,
315
- "brandName": "丹东一号",
316
- "buyGroupCode": null,
317
- "buyGroupId": null,
318
- "buyGroupName": null,
319
- "categoryId": 2073,
320
- "categoryName": "通用",
321
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
322
- "createTime": "2020-10-30 15:07:05.0",
323
- "enjoyPreferentialPolicies": 0,
324
- "factoryCode": null,
325
- "factoryId": null,
326
- "factoryName": null,
327
- "id": 145809,
328
- "internalNumber": "0987",
329
- "isUalityInspection": null,
330
- "name": "中科",
331
- "preferentialPoliciesType": null,
332
- "priceAmount": 1000,
333
- "procurementCycle": 0,
334
- "shorthand": "糖料",
335
- "specification": "12",
336
- "spuCode": "6000001168374126",
337
- "status": 1,
338
- "taxCategoryCode": "1010107010000000000",
339
- "taxExemptionType": "3",
340
- "taxId": 1,
341
- "taxRate": 0,
342
- "unitId": 32,
343
- "unitName": "把",
344
- "itemType": "通用",
345
- "itemNo": "6000001168374126",
346
- "itemName": "中科",
347
- "itemModelName": "12",
348
- "unit": "把",
349
- "priceIncludeTax": 1000,
350
- "priceExcludeTax": 1000,
351
- "taxClassificationCode": "1010107010000000000"
352
- },
353
- {
354
- "attributeVOList": null,
355
- "brandName": null,
356
- "buyGroupCode": null,
357
- "buyGroupId": null,
358
- "buyGroupName": null,
359
- "categoryId": 1862,
360
- "categoryName": "通用",
361
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
362
- "createTime": "2019-03-22 11:06:53.0",
363
- "enjoyPreferentialPolicies": 0,
364
- "factoryCode": null,
365
- "factoryId": null,
366
- "factoryName": null,
367
- "id": 144321,
368
- "internalNumber": "4302111",
369
- "isUalityInspection": 0,
370
- "name": "农用化肥2",
371
- "preferentialPoliciesType": "",
372
- "priceAmount": 90,
373
- "procurementCycle": 0,
374
- "shorthand": "肥料",
375
- "specification": "HLHF-211",
376
- "spuCode": "1000019000000056",
377
- "status": 1,
378
- "taxCategoryCode": "1000000000000000000",
379
- "taxExemptionType": null,
380
- "taxId": null,
381
- "taxRate": 0,
382
- "unitId": 11,
383
- "unitName": "包",
384
- "itemType": "通用",
385
- "itemNo": "1000019000000056",
386
- "itemName": "农用化肥2",
387
- "itemModelName": "HLHF-211",
388
- "unit": "包",
389
- "priceIncludeTax": 90,
390
- "priceExcludeTax": 90,
391
- "taxClassificationCode": "1000000000000000000"
392
- },
393
- {
394
- "attributeVOList": null,
395
- "brandName": null,
396
- "buyGroupCode": null,
397
- "buyGroupId": null,
398
- "buyGroupName": null,
399
- "categoryId": 1862,
400
- "categoryName": "通用",
401
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
402
- "createTime": "2019-03-22 11:06:52.0",
403
- "enjoyPreferentialPolicies": 0,
404
- "factoryCode": null,
405
- "factoryId": null,
406
- "factoryName": null,
407
- "id": 144320,
408
- "internalNumber": "4302111",
409
- "isUalityInspection": 0,
410
- "name": "园林轻化肥",
411
- "preferentialPoliciesType": "",
412
- "priceAmount": null,
413
- "procurementCycle": null,
414
- "shorthand": "肥料",
415
- "specification": "HLHF-211",
416
- "spuCode": "1000019000000055",
417
- "status": 1,
418
- "taxCategoryCode": "233WD5FG00911",
419
- "taxExemptionType": null,
420
- "taxId": null,
421
- "taxRate": 0,
422
- "unitId": 11,
423
- "unitName": "包",
424
- "itemType": "通用",
425
- "itemNo": "1000019000000055",
426
- "itemName": "园林轻化肥",
427
- "itemModelName": "HLHF-211",
428
- "unit": "包",
429
- "priceIncludeTax": 0,
430
- "priceExcludeTax": 0,
431
- "taxClassificationCode": "233WD5FG00911"
432
- },
433
- {
434
- "attributeVOList": null,
435
- "brandName": null,
436
- "buyGroupCode": null,
437
- "buyGroupId": null,
438
- "buyGroupName": null,
439
- "categoryId": 1862,
440
- "categoryName": "通用",
441
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
442
- "createTime": "2019-03-06 16:06:16.0",
443
- "enjoyPreferentialPolicies": 0,
444
- "factoryCode": null,
445
- "factoryId": null,
446
- "factoryName": null,
447
- "id": 101211,
448
- "internalNumber": "4302111",
449
- "isUalityInspection": 0,
450
- "name": "营养土壤",
451
- "preferentialPoliciesType": "",
452
- "priceAmount": null,
453
- "procurementCycle": null,
454
- "shorthand": "肥料",
455
- "specification": "HLHF-211",
456
- "spuCode": "1000019000000053",
457
- "status": 1,
458
- "taxCategoryCode": "233WD5FG00911",
459
- "taxExemptionType": null,
460
- "taxId": null,
461
- "taxRate": 0,
462
- "unitId": 11,
463
- "unitName": "包",
464
- "itemType": "通用",
465
- "itemNo": "1000019000000053",
466
- "itemName": "营养土壤",
467
- "itemModelName": "HLHF-211",
468
- "unit": "包",
469
- "priceIncludeTax": 0,
470
- "priceExcludeTax": 0,
471
- "taxClassificationCode": "233WD5FG00911"
472
- },
473
- {
474
- "attributeVOList": null,
475
- "brandName": null,
476
- "buyGroupCode": null,
477
- "buyGroupId": null,
478
- "buyGroupName": null,
479
- "categoryId": 1862,
480
- "categoryName": "通用",
481
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
482
- "createTime": "2019-03-06 16:06:16.0",
483
- "enjoyPreferentialPolicies": 0,
484
- "factoryCode": null,
485
- "factoryId": null,
486
- "factoryName": null,
487
- "id": 101212,
488
- "internalNumber": "4302111",
489
- "isUalityInspection": 0,
490
- "name": "植物营养液",
491
- "preferentialPoliciesType": "",
492
- "priceAmount": null,
493
- "procurementCycle": null,
494
- "shorthand": "肥料",
495
- "specification": "HLHF-211",
496
- "spuCode": "1000019000000054",
497
- "status": 1,
498
- "taxCategoryCode": "233WD5FG00911",
499
- "taxExemptionType": null,
500
- "taxId": null,
501
- "taxRate": 0,
502
- "unitId": 11,
503
- "unitName": "包",
504
- "itemType": "通用",
505
- "itemNo": "1000019000000054",
506
- "itemName": "植物营养液",
507
- "itemModelName": "HLHF-211",
508
- "unit": "包",
509
- "priceIncludeTax": 0,
510
- "priceExcludeTax": 0,
511
- "taxClassificationCode": "233WD5FG00911"
512
- },
513
- {
514
- "attributeVOList": null,
515
- "brandName": null,
516
- "buyGroupCode": null,
517
- "buyGroupId": null,
518
- "buyGroupName": null,
519
- "categoryId": 1862,
520
- "categoryName": "通用",
521
- "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
522
- "createTime": "2019-03-05 18:15:59.0",
523
- "enjoyPreferentialPolicies": 0,
524
- "factoryCode": null,
525
- "factoryId": null,
526
- "factoryName": null,
527
- "id": 101203,
528
- "internalNumber": "4353245243",
529
- "isUalityInspection": 0,
530
- "name": "医用棉布纱布条",
531
- "preferentialPoliciesType": "",
532
- "priceAmount": null,
533
- "procurementCycle": null,
534
- "shorthand": "布料",
535
- "specification": "ZC11D-006",
536
- "spuCode": "6000000804084562",
537
- "status": 1,
538
- "taxCategoryCode": "1234567890123456789",
539
- "taxExemptionType": null,
540
- "taxId": 5,
541
- "taxRate": 3,
542
- "unitId": 3,
543
- "unitName": "米",
544
- "itemType": "通用",
545
- "itemNo": "6000000804084562",
546
- "itemName": "医用棉布纱布条",
547
- "itemModelName": "ZC11D-006",
548
- "unit": "米",
549
- "priceIncludeTax": 0,
550
- "priceExcludeTax": 0,
551
- "taxClassificationCode": "1234567890123456789",
552
- }
553
- ]
554
- }
1
+
2
+ import React from 'react';
3
+ import { Button } from 'kts-components-antd-x3/lib/radio';
4
+ import { Invoice } from '../../../..';
5
+ import { IGetBuyerListOption } from '../../../../Invoice/InvoiceController/InvoiceControllerState/BuyerState';
6
+
7
+ const InvoiceController = Invoice.InvoiceController
8
+
9
+ export default () => {
10
+
11
+ // 初始化控制器
12
+ const controller = React.useMemo(() => new MyInvoiceController(), []);
13
+
14
+ return (
15
+ <>
16
+ <Button style={{ marginBottom: 10 }} onClick={async () => { console.log('===> 当前组件状态', await controller.validateFields()); }} >获取数据</Button>
17
+ <Invoice controller={controller} invoiceType='digtal' />
18
+ </>
19
+ );
20
+ };
21
+
22
+ // 重写 购买方 的数据源,实现 ‘获取 购买方 列表’ 方法
23
+ class MyInvoiceController extends InvoiceController {
24
+ constructor() {
25
+ super();
26
+
27
+ this.state.autoComplete.onItemNameBlur = async (value: any) => {
28
+ console.log(value, 'onBuyerNameBlur - Blur');
29
+
30
+ return [
31
+ {
32
+ "taxCategoryCode": "1030206030000000000",
33
+ "productName": "醋及醋代用品",
34
+ "shorthand": "调味品",
35
+ "id": null,
36
+ "specification": null,
37
+ "createTime": null,
38
+ "status": 1,
39
+ "versionCode": "48.0",
40
+ "version": "32.0",
41
+ "startTime": "20190401",
42
+ "endTime": null,
43
+ "cargo": null,
44
+ "desc": null,
45
+ "taxRate": "13%",
46
+ "keyword": "食醋、米醋、酒醋、啤酒醋、麦芽醋、酒精醋、水果醋、醋精",
47
+ "summarizedItem": "N",
48
+ "countCode": null,
49
+ "customsItem": null,
50
+ "updateTime": null,
51
+ "hzx": null,
52
+ "children": null,
53
+ "vatspecialManagement": "",
54
+ "pid": "1030206000000000000",
55
+ "vatpolicyBasis": null,
56
+ "vatspecialManagementCode": "",
57
+ "gstpolicyBasisCode": null,
58
+ "gstspecialManagement": null,
59
+ "gstpolicyBasis": null
60
+ }
61
+ ]
62
+ };
63
+
64
+ this.state.autoComplete.onItemNameSearch = async (value: any) => {
65
+ console.log(value, 'onItemNameSearch - Search');
66
+
67
+ const data = [
68
+ {
69
+ "taxCategoryCode": "1090111090000000000",
70
+ "productName": "苹果",
71
+ "name": null,
72
+ "productCode": "0003",
73
+ "shorthand": "小型起重设备",
74
+ "id": "10881474649024102400167947617243",
75
+ "specification": null,
76
+ "categoryId": "10688389540499947520167487266471",
77
+ "categoryName": "水果",
78
+ "internalNumber": null,
79
+ "taxCategoryName": "轻小型起重设备配套件",
80
+ "referenceAmount": null,
81
+ "priceAmount": 200.00000000000000000000,
82
+ "taxId": null,
83
+ "taxRate": null,
84
+ "unitId": null,
85
+ "unitName": null,
86
+ "taxExemptionType": null,
87
+ "enjoyPreferentialPolicies": 0,
88
+ "preferentialPoliciesType": null,
89
+ "productStatus": 1,
90
+ "specialGoodsMark": "",
91
+ "createTime": "2023-03-22 17:09:32",
92
+ "updateTime": "2023-03-22 17:09:32"
93
+ }
94
+ ];
95
+
96
+ return data.map((item: any) =>{
97
+ return {
98
+ ...data,
99
+ itemName:item.productName,
100
+ taxClassificationCode:item.taxCategoryCode,
101
+ itemModelName:item.specification,
102
+ shorthand:item.shorthand,
103
+ priceIncludeTax:item.priceAmount,
104
+ unit:item.unitName,
105
+ taxRate:item.taxRate,
106
+ }
107
+ })
108
+ };
109
+ }
110
+
111
+ // 重写 的 获取商品列表
112
+ getGoodsList = this.pipeline<IGetBuyerListOption>(async (state, option) => {
113
+ if (!option) return;
114
+
115
+ // 初始化测试数据
116
+ const dataSource = await getMok(option.pagination.current)
117
+
118
+ // 设置分页数据
119
+ state.goodsListState.importGoods.pagination = {
120
+ ...option.pagination,
121
+ pageSize: 20,
122
+ total: 80,
123
+ };
124
+
125
+ // 设置列表数据
126
+ state.goodsListState.importGoods.dataSource = dataSource;
127
+ });
128
+ }
129
+
130
+ // const getMok = async (current: number = 1) => {
131
+ // const dataSource: any[] = [];
132
+ // for (let i = 0; i < 20; i++) {
133
+ // const p = i + 20 * (current - 1);
134
+ // dataSource.push({
135
+ // itemType: `商品分类${p}`,
136
+ // itemNo: `商品编码${p}`,
137
+ // itemName: `商品名称${p}`,
138
+ // shorthand: `前缀${p}`,
139
+ // itemModelName: `规格型号${p}`,
140
+ // unit: `计量单位${p}`,
141
+ // priceIncludeTax: p,
142
+ // priceExcludeTax: p,
143
+ // taxClassificationCode: `税收分类编码${p}`,
144
+ // affix: `附加信息${p}`,
145
+ // });
146
+ // }
147
+ // return dataSource;
148
+ // }
149
+
150
+
151
+ const getMok = async (current: number = 1) => {
152
+ return [
153
+ {
154
+ "attributeVOList": null,
155
+ "brandName": null,
156
+ "buyGroupCode": null,
157
+ "buyGroupId": null,
158
+ "buyGroupName": null,
159
+ "categoryId": 2073,
160
+ "categoryName": "通用",
161
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
162
+ "createTime": "2021-09-10 15:45:43.0",
163
+ "enjoyPreferentialPolicies": 0,
164
+ "factoryCode": null,
165
+ "factoryId": null,
166
+ "factoryName": null,
167
+ "id": 146200,
168
+ "internalNumber": "发动机盖",
169
+ "isUalityInspection": null,
170
+ "name": "发动机ABC",
171
+ "preferentialPoliciesType": null,
172
+ "priceAmount": 50,
173
+ "procurementCycle": 0,
174
+ "shorthand": "发动机",
175
+ "specification": "abc",
176
+ "spuCode": "6000001738252675",
177
+ "status": 1,
178
+ "taxCategoryCode": "1090102040000000000",
179
+ "taxExemptionType": "",
180
+ "taxId": 11,
181
+ "taxRate": 13,
182
+ "unitId": 30,
183
+ "unitName": "件",
184
+ "itemType": "通用",
185
+ "itemNo": "6000001738252675",
186
+ "itemName": "发动机ABC",
187
+ "itemModelName": "abc",
188
+ "unit": "件",
189
+ "priceIncludeTax": 50,
190
+ "priceExcludeTax": 50,
191
+ "taxClassificationCode": "1090102040000000000"
192
+ },
193
+ {
194
+ "attributeVOList": null,
195
+ "brandName": "丹东一号",
196
+ "buyGroupCode": null,
197
+ "buyGroupId": null,
198
+ "buyGroupName": null,
199
+ "categoryId": 2073,
200
+ "categoryName": "通用",
201
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
202
+ "createTime": "2021-09-02 14:59:52.0",
203
+ "enjoyPreferentialPolicies": 0,
204
+ "factoryCode": null,
205
+ "factoryId": null,
206
+ "factoryName": null,
207
+ "id": 146199,
208
+ "internalNumber": null,
209
+ "isUalityInspection": null,
210
+ "name": "aaaa",
211
+ "preferentialPoliciesType": null,
212
+ "priceAmount": 0,
213
+ "procurementCycle": 0,
214
+ "shorthand": "活牲畜",
215
+ "specification": null,
216
+ "spuCode": "6000001311479375",
217
+ "status": 1,
218
+ "taxCategoryCode": "1010301010000000000",
219
+ "taxExemptionType": "1",
220
+ "taxId": 1,
221
+ "taxRate": 0,
222
+ "unitId": null,
223
+ "unitName": null,
224
+ "itemType": "通用",
225
+ "itemNo": "6000001311479375",
226
+ "itemName": "aaaa",
227
+ "itemModelName": null,
228
+ "unit": null,
229
+ "priceIncludeTax": 0,
230
+ "priceExcludeTax": 0,
231
+ "taxClassificationCode": "1010301010000000000"
232
+ },
233
+ {
234
+ "attributeVOList": null,
235
+ "brandName": "丹东一号",
236
+ "buyGroupCode": null,
237
+ "buyGroupId": null,
238
+ "buyGroupName": null,
239
+ "categoryId": 246,
240
+ "categoryName": "分类cc>1",
241
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
242
+ "createTime": "2020-12-28 18:23:55.0",
243
+ "enjoyPreferentialPolicies": 0,
244
+ "factoryCode": null,
245
+ "factoryId": null,
246
+ "factoryName": null,
247
+ "id": 146131,
248
+ "internalNumber": null,
249
+ "isUalityInspection": null,
250
+ "name": "AAAA",
251
+ "preferentialPoliciesType": null,
252
+ "priceAmount": null,
253
+ "procurementCycle": 0,
254
+ "shorthand": null,
255
+ "specification": "1234EFF",
256
+ "spuCode": "6000002120658581",
257
+ "status": 1,
258
+ "taxCategoryCode": null,
259
+ "taxExemptionType": null,
260
+ "taxId": null,
261
+ "taxRate": 0,
262
+ "unitId": 362,
263
+ "unitName": "年",
264
+ "itemType": "分类cc>1",
265
+ "itemNo": "6000002120658581",
266
+ "itemName": "AAAA",
267
+ "itemModelName": "1234EFF",
268
+ "unit": "年",
269
+ "priceIncludeTax": 0,
270
+ "priceExcludeTax": 0,
271
+ "taxClassificationCode": null
272
+ },
273
+ {
274
+ "attributeVOList": null,
275
+ "brandName": null,
276
+ "buyGroupCode": null,
277
+ "buyGroupId": null,
278
+ "buyGroupName": null,
279
+ "categoryId": 2073,
280
+ "categoryName": "通用",
281
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
282
+ "createTime": "2020-12-15 10:14:14.0",
283
+ "enjoyPreferentialPolicies": 0,
284
+ "factoryCode": null,
285
+ "factoryId": null,
286
+ "factoryName": null,
287
+ "id": 146129,
288
+ "internalNumber": null,
289
+ "isUalityInspection": null,
290
+ "name": "服务费",
291
+ "preferentialPoliciesType": null,
292
+ "priceAmount": null,
293
+ "procurementCycle": 0,
294
+ "shorthand": "软件",
295
+ "specification": null,
296
+ "spuCode": "6000001474077629",
297
+ "status": 1,
298
+ "taxCategoryCode": "1060301020100000000",
299
+ "taxExemptionType": null,
300
+ "taxId": null,
301
+ "taxRate": 0,
302
+ "unitId": null,
303
+ "unitName": null,
304
+ "itemType": "通用",
305
+ "itemNo": "6000001474077629",
306
+ "itemName": "服务费",
307
+ "itemModelName": null,
308
+ "unit": null,
309
+ "priceIncludeTax": 0,
310
+ "priceExcludeTax": 0,
311
+ "taxClassificationCode": "1060301020100000000"
312
+ },
313
+ {
314
+ "attributeVOList": null,
315
+ "brandName": "丹东一号",
316
+ "buyGroupCode": null,
317
+ "buyGroupId": null,
318
+ "buyGroupName": null,
319
+ "categoryId": 2073,
320
+ "categoryName": "通用",
321
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
322
+ "createTime": "2020-10-30 15:07:05.0",
323
+ "enjoyPreferentialPolicies": 0,
324
+ "factoryCode": null,
325
+ "factoryId": null,
326
+ "factoryName": null,
327
+ "id": 145809,
328
+ "internalNumber": "0987",
329
+ "isUalityInspection": null,
330
+ "name": "中科",
331
+ "preferentialPoliciesType": null,
332
+ "priceAmount": 1000,
333
+ "procurementCycle": 0,
334
+ "shorthand": "糖料",
335
+ "specification": "12",
336
+ "spuCode": "6000001168374126",
337
+ "status": 1,
338
+ "taxCategoryCode": "1010107010000000000",
339
+ "taxExemptionType": "3",
340
+ "taxId": 1,
341
+ "taxRate": 0,
342
+ "unitId": 32,
343
+ "unitName": "把",
344
+ "itemType": "通用",
345
+ "itemNo": "6000001168374126",
346
+ "itemName": "中科",
347
+ "itemModelName": "12",
348
+ "unit": "把",
349
+ "priceIncludeTax": 1000,
350
+ "priceExcludeTax": 1000,
351
+ "taxClassificationCode": "1010107010000000000"
352
+ },
353
+ {
354
+ "attributeVOList": null,
355
+ "brandName": null,
356
+ "buyGroupCode": null,
357
+ "buyGroupId": null,
358
+ "buyGroupName": null,
359
+ "categoryId": 1862,
360
+ "categoryName": "通用",
361
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
362
+ "createTime": "2019-03-22 11:06:53.0",
363
+ "enjoyPreferentialPolicies": 0,
364
+ "factoryCode": null,
365
+ "factoryId": null,
366
+ "factoryName": null,
367
+ "id": 144321,
368
+ "internalNumber": "4302111",
369
+ "isUalityInspection": 0,
370
+ "name": "农用化肥2",
371
+ "preferentialPoliciesType": "",
372
+ "priceAmount": 90,
373
+ "procurementCycle": 0,
374
+ "shorthand": "肥料",
375
+ "specification": "HLHF-211",
376
+ "spuCode": "1000019000000056",
377
+ "status": 1,
378
+ "taxCategoryCode": "1000000000000000000",
379
+ "taxExemptionType": null,
380
+ "taxId": null,
381
+ "taxRate": 0,
382
+ "unitId": 11,
383
+ "unitName": "包",
384
+ "itemType": "通用",
385
+ "itemNo": "1000019000000056",
386
+ "itemName": "农用化肥2",
387
+ "itemModelName": "HLHF-211",
388
+ "unit": "包",
389
+ "priceIncludeTax": 90,
390
+ "priceExcludeTax": 90,
391
+ "taxClassificationCode": "1000000000000000000"
392
+ },
393
+ {
394
+ "attributeVOList": null,
395
+ "brandName": null,
396
+ "buyGroupCode": null,
397
+ "buyGroupId": null,
398
+ "buyGroupName": null,
399
+ "categoryId": 1862,
400
+ "categoryName": "通用",
401
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
402
+ "createTime": "2019-03-22 11:06:52.0",
403
+ "enjoyPreferentialPolicies": 0,
404
+ "factoryCode": null,
405
+ "factoryId": null,
406
+ "factoryName": null,
407
+ "id": 144320,
408
+ "internalNumber": "4302111",
409
+ "isUalityInspection": 0,
410
+ "name": "园林轻化肥",
411
+ "preferentialPoliciesType": "",
412
+ "priceAmount": null,
413
+ "procurementCycle": null,
414
+ "shorthand": "肥料",
415
+ "specification": "HLHF-211",
416
+ "spuCode": "1000019000000055",
417
+ "status": 1,
418
+ "taxCategoryCode": "233WD5FG00911",
419
+ "taxExemptionType": null,
420
+ "taxId": null,
421
+ "taxRate": 0,
422
+ "unitId": 11,
423
+ "unitName": "包",
424
+ "itemType": "通用",
425
+ "itemNo": "1000019000000055",
426
+ "itemName": "园林轻化肥",
427
+ "itemModelName": "HLHF-211",
428
+ "unit": "包",
429
+ "priceIncludeTax": 0,
430
+ "priceExcludeTax": 0,
431
+ "taxClassificationCode": "233WD5FG00911"
432
+ },
433
+ {
434
+ "attributeVOList": null,
435
+ "brandName": null,
436
+ "buyGroupCode": null,
437
+ "buyGroupId": null,
438
+ "buyGroupName": null,
439
+ "categoryId": 1862,
440
+ "categoryName": "通用",
441
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
442
+ "createTime": "2019-03-06 16:06:16.0",
443
+ "enjoyPreferentialPolicies": 0,
444
+ "factoryCode": null,
445
+ "factoryId": null,
446
+ "factoryName": null,
447
+ "id": 101211,
448
+ "internalNumber": "4302111",
449
+ "isUalityInspection": 0,
450
+ "name": "营养土壤",
451
+ "preferentialPoliciesType": "",
452
+ "priceAmount": null,
453
+ "procurementCycle": null,
454
+ "shorthand": "肥料",
455
+ "specification": "HLHF-211",
456
+ "spuCode": "1000019000000053",
457
+ "status": 1,
458
+ "taxCategoryCode": "233WD5FG00911",
459
+ "taxExemptionType": null,
460
+ "taxId": null,
461
+ "taxRate": 0,
462
+ "unitId": 11,
463
+ "unitName": "包",
464
+ "itemType": "通用",
465
+ "itemNo": "1000019000000053",
466
+ "itemName": "营养土壤",
467
+ "itemModelName": "HLHF-211",
468
+ "unit": "包",
469
+ "priceIncludeTax": 0,
470
+ "priceExcludeTax": 0,
471
+ "taxClassificationCode": "233WD5FG00911"
472
+ },
473
+ {
474
+ "attributeVOList": null,
475
+ "brandName": null,
476
+ "buyGroupCode": null,
477
+ "buyGroupId": null,
478
+ "buyGroupName": null,
479
+ "categoryId": 1862,
480
+ "categoryName": "通用",
481
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
482
+ "createTime": "2019-03-06 16:06:16.0",
483
+ "enjoyPreferentialPolicies": 0,
484
+ "factoryCode": null,
485
+ "factoryId": null,
486
+ "factoryName": null,
487
+ "id": 101212,
488
+ "internalNumber": "4302111",
489
+ "isUalityInspection": 0,
490
+ "name": "植物营养液",
491
+ "preferentialPoliciesType": "",
492
+ "priceAmount": null,
493
+ "procurementCycle": null,
494
+ "shorthand": "肥料",
495
+ "specification": "HLHF-211",
496
+ "spuCode": "1000019000000054",
497
+ "status": 1,
498
+ "taxCategoryCode": "233WD5FG00911",
499
+ "taxExemptionType": null,
500
+ "taxId": null,
501
+ "taxRate": 0,
502
+ "unitId": 11,
503
+ "unitName": "包",
504
+ "itemType": "通用",
505
+ "itemNo": "1000019000000054",
506
+ "itemName": "植物营养液",
507
+ "itemModelName": "HLHF-211",
508
+ "unit": "包",
509
+ "priceIncludeTax": 0,
510
+ "priceExcludeTax": 0,
511
+ "taxClassificationCode": "233WD5FG00911"
512
+ },
513
+ {
514
+ "attributeVOList": null,
515
+ "brandName": null,
516
+ "buyGroupCode": null,
517
+ "buyGroupId": null,
518
+ "buyGroupName": null,
519
+ "categoryId": 1862,
520
+ "categoryName": "通用",
521
+ "companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
522
+ "createTime": "2019-03-05 18:15:59.0",
523
+ "enjoyPreferentialPolicies": 0,
524
+ "factoryCode": null,
525
+ "factoryId": null,
526
+ "factoryName": null,
527
+ "id": 101203,
528
+ "internalNumber": "4353245243",
529
+ "isUalityInspection": 0,
530
+ "name": "医用棉布纱布条",
531
+ "preferentialPoliciesType": "",
532
+ "priceAmount": null,
533
+ "procurementCycle": null,
534
+ "shorthand": "布料",
535
+ "specification": "ZC11D-006",
536
+ "spuCode": "6000000804084562",
537
+ "status": 1,
538
+ "taxCategoryCode": "1234567890123456789",
539
+ "taxExemptionType": null,
540
+ "taxId": 5,
541
+ "taxRate": 3,
542
+ "unitId": 3,
543
+ "unitName": "米",
544
+ "itemType": "通用",
545
+ "itemNo": "6000000804084562",
546
+ "itemName": "医用棉布纱布条",
547
+ "itemModelName": "ZC11D-006",
548
+ "unit": "米",
549
+ "priceIncludeTax": 0,
550
+ "priceExcludeTax": 0,
551
+ "taxClassificationCode": "1234567890123456789",
552
+ }
553
+ ]
554
+ }