kts-component-invoice-operate 3.2.92 → 3.2.94
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.
- package/.dumi/theme/builtins/API.tsx +66 -66
- package/.editorconfig +16 -16
- package/.fatherrc.ts +4 -4
- package/.prettierignore +7 -7
- package/.prettierrc +11 -11
- package/.umirc.ts +8 -8
- package/README.md +9 -9
- package/dist/index.esm.js +567 -567
- package/dist/index.js +567 -567
- package/docs/index.md +5 -5
- package/docs-dist/static/arrowDown.a1cbf0d8.svg +2 -2
- package/docs-dist/static/arrowUp.4c482054.svg +2 -2
- package/docs-dist/static/fork.5431267d.svg +11 -11
- package/docs-dist/static/plus.44013ce3.svg +11 -11
- package/docs-dist/static/plus.4fd1af30.svg +11 -11
- package/index.html +12 -12
- package/package.json +61 -61
- package/src/Invoice/Invoice-digtal/_test/disabled/index.tsx +38 -38
- package/src/Invoice/Invoice-digtal/_test/easiest/index.tsx +16 -16
- package/src/Invoice/Invoice-digtal/_test/header/index.tsx +84 -84
- package/src/Invoice/Invoice-digtal/_test/importGoods/index.tsx +470 -470
- package/src/Invoice/Invoice-digtal/_test/importStakeholder/index.tsx +17 -17
- package/src/Invoice/Invoice-digtal/_test/lineCredit/index.tsx +20 -20
- package/src/Invoice/Invoice-digtal/_test/prefab/index.tsx +150 -150
- package/src/Invoice/Invoice-digtal/_test/readOnly/index.tsx +42 -42
- package/src/Invoice/Invoice-digtal/_test/stakeholder/index.tsx +12 -12
- package/src/Invoice/Invoice-digtal/_test/typeSelection/index.tsx +29 -29
- package/src/Invoice/Invoice-digtal/index.md +30 -30
- package/src/Invoice/InvoiceController/InvoiceControllerForm/index.ts +95 -95
- package/src/Invoice/InvoiceController/InvoiceControllerState/AutoComplete/index.ts +17 -17
- package/src/Invoice/InvoiceController/InvoiceControllerState/BuyerState/index.tsx +88 -88
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/Drag/index.ts +15 -15
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/EndowCode/index.tsx +104 -104
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IColumnsReplenish/index.ts +10 -10
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.ts +78 -78
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ImportGoods/index.ts +80 -80
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/LineAttributeType/index.ts +7 -7
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ProductComparison/index.ts +9 -9
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +113 -113
- package/src/Invoice/InvoiceController/InvoiceControllerState/Stakeholder/index.ts +13 -13
- package/src/Invoice/InvoiceController/InvoiceControllerState/index.ts +65 -65
- package/src/Invoice/InvoiceController/fns/addGood.ts +11 -11
- package/src/Invoice/InvoiceController/fns/addGoodDiscount.ts +126 -126
- package/src/Invoice/InvoiceController/fns/addGoodDiscountV2.ts +86 -85
- package/src/Invoice/InvoiceController/fns/delGood.ts +41 -41
- package/src/Invoice/InvoiceController/fns/getGoodsSearch.ts +26 -26
- package/src/Invoice/InvoiceController/fns/importGoodsDrawer.ts +79 -79
- package/src/Invoice/InvoiceController/fns/mergeDetails.ts +165 -165
- package/src/Invoice/InvoiceController/fns/mergeDiscount.ts +28 -28
- package/src/Invoice/InvoiceController/fns/saveEditGood.ts +24 -24
- package/src/Invoice/InvoiceController/fns/setEditGood.ts +16 -16
- package/src/Invoice/InvoiceController/fns/setGoods.ts +10 -10
- package/src/Invoice/InvoiceController/fns/updateInvoiceNo.ts +8 -8
- package/src/Invoice/InvoiceController/index.ts +77 -77
- package/src/Invoice/_test/buyerNameSearch/index.tsx +42 -42
- package/src/Invoice/_test/deduction/index.tsx +935 -935
- package/src/Invoice/_test/draft/index.tsx +40 -40
- package/src/Invoice/_test/easiest/index.tsx +5 -5
- package/src/Invoice/_test/endowCode/index.tsx +1156 -1155
- package/src/Invoice/_test/goodsMenuExpand/index.tsx +32 -32
- package/src/Invoice/_test/importBuyer/index.tsx +74 -74
- package/src/Invoice/_test/importGoods/index.tsx +516 -1078
- package/src/Invoice/_test/invoiceType/index.tsx +59 -59
- package/src/Invoice/_test/isInvoiceNo/index.tsx +12 -12
- package/src/Invoice/_test/replaceHead/index.tsx +22 -22
- package/src/Invoice/_test/retrieveData/index.tsx +22 -22
- package/src/Invoice/_test/seller/index.tsx +28 -28
- package/src/Invoice/_test/setDataSource/index.tsx +66 -66
- package/src/Invoice/_test/unit/index.tsx +19 -19
- package/src/Invoice/index.less +29 -29
- package/src/Invoice/index.md +53 -53
- package/src/Invoice/index.tsx +167 -167
- package/src/Invoice/tools/calculate/index.ts +112 -112
- package/src/Invoice/tools/coolingFn/index.ts +17 -17
- package/src/Invoice/tools/evaluate/index.ts +7 -7
- package/src/Invoice/tools/idGenerator/index.ts +2 -2
- package/src/Invoice/tools/itemName/index.ts +55 -55
- package/src/Invoice/tools/lazyFn/index.ts +19 -19
- package/src/Invoice/tools/mounting/index.ts +13 -13
- package/src/Invoice/tools/strringFn/index.ts +40 -40
- package/src/Invoice/tools/useToGenerateId/index.ts +8 -8
- package/src/Invoice/ui/default/AddComparisonDrawer/index.tsx +149 -149
- package/src/Invoice/ui/default/Buyer/index.less +219 -219
- package/src/Invoice/ui/default/Buyer/index.tsx +114 -114
- package/src/Invoice/ui/default/Buyer/ui/BuyerNameInput/index.tsx +166 -166
- package/src/Invoice/ui/default/Buyer/ui/ImportBuyerButton/index.tsx +21 -21
- package/src/Invoice/ui/default/EndowCodeDrawer/index.less +8 -8
- package/src/Invoice/ui/default/EndowCodeDrawer/index.tsx +543 -543
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/autoFillFn/index.ts +533 -533
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +686 -686
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.less +20 -20
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.tsx +205 -205
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.less +18 -18
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.tsx +47 -47
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.less +17 -17
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +75 -75
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowEditButton/index.tsx +30 -30
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/_useAddComparison/index.tsx +43 -43
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.tsx +118 -118
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx +41 -41
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.tsx +25 -25
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/index.less +13 -13
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +98 -98
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowSaveButton/index.tsx +14 -14
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/TitleText/index.tsx +20 -20
- package/src/Invoice/ui/default/GoodsList/hook/useDeduction/index.tsx +24 -24
- package/src/Invoice/ui/default/GoodsList/hook/useOnRow/index.tsx +39 -39
- package/src/Invoice/ui/default/GoodsList/hook/useRowSelection/index.tsx +114 -114
- package/src/Invoice/ui/default/GoodsList/hook/useWindowClick/index.tsx +23 -23
- package/src/Invoice/ui/default/GoodsList/index.less +179 -179
- package/src/Invoice/ui/default/GoodsList/index.tsx +205 -205
- package/src/Invoice/ui/default/GoodsList/ui/AddRowButton/index.tsx +65 -65
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.less +21 -21
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +244 -244
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useCommodityComparisonButton/index.tsx +75 -75
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +69 -69
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useEndowCodeButton/index.tsx +65 -65
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useMergeDetails/index.tsx +91 -91
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useMergeDiscount/index.tsx +36 -36
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useSalesDiscount/index.tsx +109 -109
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useSalesGifts/index.tsx +88 -88
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/index.tsx +37 -37
- package/src/Invoice/ui/default/GoodsList/ui/DescribeSwitch/index.tsx +36 -36
- package/src/Invoice/ui/default/GoodsList/ui/Search/index.less +10 -10
- package/src/Invoice/ui/default/GoodsList/ui/Search/index.tsx +52 -52
- package/src/Invoice/ui/default/GoodsList/ui/Statistics/index.less +18 -18
- package/src/Invoice/ui/default/GoodsList/ui/Statistics/index.tsx +113 -113
- package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.less +28 -28
- package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.tsx +57 -57
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.less +38 -38
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.tsx +108 -108
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual.o/index.less +44 -44
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual.o/index.tsx +96 -96
- package/src/Invoice/ui/default/GoodsList/ui/TaxIncludedSwitch/index.tsx +30 -30
- package/src/Invoice/ui/default/ImportBuyerDrawer/index.tsx +75 -75
- package/src/Invoice/ui/default/ImportGoodsDrawer/index.tsx +201 -201
- package/src/Invoice/ui/default/InvoiceHeader/index.less +68 -68
- package/src/Invoice/ui/default/InvoiceHeader/index.tsx +246 -246
- package/src/Invoice/ui/default/Seller/index.less +113 -113
- package/src/Invoice/ui/default/Seller/index.tsx +98 -98
- package/src/Invoice/ui/default/Sign/index.less +14 -14
- package/src/Invoice/ui/default/Sign/index.tsx +71 -71
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/autoFillFn/index.ts +519 -519
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/index.tsx +648 -648
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/svg/plus.svg +11 -11
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.less +20 -20
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.tsx +205 -205
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/ItemNameInput/index.less +9 -9
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +50 -50
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowEditButton/index.tsx +30 -30
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/_useAddComparison/index.tsx +43 -43
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.tsx +76 -76
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx +41 -41
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.tsx +34 -34
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/index.less +13 -13
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +98 -98
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowSaveButton/index.tsx +14 -14
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/TitleText/index.tsx +20 -20
- package/src/Invoice/ui/digtal/GoodsList/hook/useOnRow/index.tsx +39 -39
- package/src/Invoice/ui/digtal/GoodsList/hook/useRowSelection/index.tsx +121 -121
- package/src/Invoice/ui/digtal/GoodsList/hook/useWindowClick/index.tsx +23 -23
- package/src/Invoice/ui/digtal/GoodsList/index.less +56 -56
- package/src/Invoice/ui/digtal/GoodsList/index.tsx +180 -180
- package/src/Invoice/ui/digtal/GoodsList/ui/AddRowButton/index.tsx +65 -65
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +339 -339
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/svg/add.svg +11 -11
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useCommodityComparisonButton/index.tsx +75 -75
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +50 -50
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useEmptyRefill/index.tsx +35 -35
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useEndowCodeButton/index.tsx +82 -82
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useReselectInvoiceType/index.tsx +57 -57
- package/src/Invoice/ui/digtal/GoodsList/ui/DescribeSwitch/index.tsx +36 -36
- package/src/Invoice/ui/digtal/GoodsList/ui/Search/index.less +11 -11
- package/src/Invoice/ui/digtal/GoodsList/ui/Search/index.tsx +50 -50
- package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/index.less +53 -53
- package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/index.tsx +99 -99
- package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/svg/fork.svg +11 -11
- package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.less +28 -28
- package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.tsx +53 -53
- package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual/index.less +38 -38
- package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual/index.tsx +108 -108
- package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual.o/index.less +44 -44
- package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual.o/index.tsx +96 -96
- package/src/Invoice/ui/digtal/GoodsList/ui/TaxIncludedSwitch/index.tsx +30 -30
- package/src/Invoice/ui/digtal/InvoiceHeader/index.less +57 -57
- package/src/Invoice/ui/digtal/InvoiceHeader/index.tsx +77 -77
- package/src/Invoice/ui/digtal/Sign/index.less +48 -48
- package/src/Invoice/ui/digtal/Sign/index.tsx +99 -99
- package/src/Invoice/ui/digtal/Stakeholder/index.less +75 -75
- package/src/Invoice/ui/digtal/Stakeholder/index.tsx +394 -394
- package/src/Invoice/ui/digtal/Stakeholder/svg/arrowDown.svg +2 -2
- package/src/Invoice/ui/digtal/Stakeholder/svg/arrowUp.svg +2 -2
- package/src/Invoice/ui/digtal/Stakeholder/svg/plus.svg +11 -11
- package/src/InvoiceTypeModal/_test/easiest/index.tsx +31 -31
- package/src/InvoiceTypeModal/index.less +7 -7
- package/src/InvoiceTypeModal/index.md +5 -5
- package/src/InvoiceTypeModal/index.tsx +153 -153
- package/src/TaxClassificationCodeModal/_test/easiest/index.tsx +177 -177
- package/src/TaxClassificationCodeModal/index.md +6 -6
- package/src/TaxClassificationCodeModal/index.tsx +74 -74
- package/src/index.ts +12 -12
- package/tsconfig.json +31 -31
- package/typings.d.ts +3 -3
- package/yarn.e.lock +14331 -14331
|
@@ -1,471 +1,471 @@
|
|
|
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
|
-
|
|
28
|
-
// 重写 的 获取商品列表
|
|
29
|
-
getGoodsList = this.pipeline<IGetBuyerListOption>(async (state, option) => {
|
|
30
|
-
if (!option) return;
|
|
31
|
-
|
|
32
|
-
// 初始化测试数据
|
|
33
|
-
const dataSource = await getMok(option.pagination.current)
|
|
34
|
-
|
|
35
|
-
// 设置分页数据
|
|
36
|
-
state.goodsListState.importGoods.pagination = {
|
|
37
|
-
...option.pagination,
|
|
38
|
-
pageSize: 20,
|
|
39
|
-
total: 80,
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
// 设置列表数据
|
|
43
|
-
state.goodsListState.importGoods.dataSource = dataSource;
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// const getMok = async (current: number = 1) => {
|
|
48
|
-
// const dataSource: any[] = [];
|
|
49
|
-
// for (let i = 0; i < 20; i++) {
|
|
50
|
-
// const p = i + 20 * (current - 1);
|
|
51
|
-
// dataSource.push({
|
|
52
|
-
// itemType: `商品分类${p}`,
|
|
53
|
-
// itemNo: `商品编码${p}`,
|
|
54
|
-
// itemName: `商品名称${p}`,
|
|
55
|
-
// shorthand: `前缀${p}`,
|
|
56
|
-
// itemModelName: `规格型号${p}`,
|
|
57
|
-
// unit: `计量单位${p}`,
|
|
58
|
-
// priceIncludeTax: p,
|
|
59
|
-
// priceExcludeTax: p,
|
|
60
|
-
// taxClassificationCode: `税收分类编码${p}`,
|
|
61
|
-
// affix: `附加信息${p}`,
|
|
62
|
-
// });
|
|
63
|
-
// }
|
|
64
|
-
// return dataSource;
|
|
65
|
-
// }
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
const getMok = async (current: number = 1) => {
|
|
69
|
-
return [
|
|
70
|
-
{
|
|
71
|
-
"attributeVOList": null,
|
|
72
|
-
"brandName": null,
|
|
73
|
-
"buyGroupCode": null,
|
|
74
|
-
"buyGroupId": null,
|
|
75
|
-
"buyGroupName": null,
|
|
76
|
-
"categoryId": 2073,
|
|
77
|
-
"categoryName": "通用",
|
|
78
|
-
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
79
|
-
"createTime": "2021-09-10 15:45:43.0",
|
|
80
|
-
"enjoyPreferentialPolicies": 0,
|
|
81
|
-
"factoryCode": null,
|
|
82
|
-
"factoryId": null,
|
|
83
|
-
"factoryName": null,
|
|
84
|
-
"id": 146200,
|
|
85
|
-
"internalNumber": "发动机盖",
|
|
86
|
-
"isUalityInspection": null,
|
|
87
|
-
"name": "发动机ABC",
|
|
88
|
-
"preferentialPoliciesType": null,
|
|
89
|
-
"priceAmount": 50,
|
|
90
|
-
"procurementCycle": 0,
|
|
91
|
-
"shorthand": "发动机",
|
|
92
|
-
"specification": "abc",
|
|
93
|
-
"spuCode": "6000001738252675",
|
|
94
|
-
"status": 1,
|
|
95
|
-
"taxCategoryCode": "1090102040000000000",
|
|
96
|
-
"taxExemptionType": "",
|
|
97
|
-
"taxId": 11,
|
|
98
|
-
"taxRate": 13,
|
|
99
|
-
"unitId": 30,
|
|
100
|
-
"unitName": "件",
|
|
101
|
-
"itemType": "通用",
|
|
102
|
-
"itemNo": "6000001738252675",
|
|
103
|
-
"itemName": "发动机ABC",
|
|
104
|
-
"itemModelName": "abc",
|
|
105
|
-
"unit": "件",
|
|
106
|
-
"priceIncludeTax": 50,
|
|
107
|
-
"priceExcludeTax": 50,
|
|
108
|
-
"taxClassificationCode": "1090102040000000000"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"attributeVOList": null,
|
|
112
|
-
"brandName": "丹东一号",
|
|
113
|
-
"buyGroupCode": null,
|
|
114
|
-
"buyGroupId": null,
|
|
115
|
-
"buyGroupName": null,
|
|
116
|
-
"categoryId": 2073,
|
|
117
|
-
"categoryName": "通用",
|
|
118
|
-
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
119
|
-
"createTime": "2021-09-02 14:59:52.0",
|
|
120
|
-
"enjoyPreferentialPolicies": 0,
|
|
121
|
-
"factoryCode": null,
|
|
122
|
-
"factoryId": null,
|
|
123
|
-
"factoryName": null,
|
|
124
|
-
"id": 146199,
|
|
125
|
-
"internalNumber": null,
|
|
126
|
-
"isUalityInspection": null,
|
|
127
|
-
"name": "aaaa",
|
|
128
|
-
"preferentialPoliciesType": null,
|
|
129
|
-
"priceAmount": 0,
|
|
130
|
-
"procurementCycle": 0,
|
|
131
|
-
"shorthand": "活牲畜",
|
|
132
|
-
"specification": null,
|
|
133
|
-
"spuCode": "6000001311479375",
|
|
134
|
-
"status": 1,
|
|
135
|
-
"taxCategoryCode": "1010301010000000000",
|
|
136
|
-
"taxExemptionType": "1",
|
|
137
|
-
"taxId": 1,
|
|
138
|
-
"taxRate": 0,
|
|
139
|
-
"unitId": null,
|
|
140
|
-
"unitName": null,
|
|
141
|
-
"itemType": "通用",
|
|
142
|
-
"itemNo": "6000001311479375",
|
|
143
|
-
"itemName": "aaaa",
|
|
144
|
-
"itemModelName": null,
|
|
145
|
-
"unit": null,
|
|
146
|
-
"priceIncludeTax": 0,
|
|
147
|
-
"priceExcludeTax": 0,
|
|
148
|
-
"taxClassificationCode": "1010301010000000000"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"attributeVOList": null,
|
|
152
|
-
"brandName": "丹东一号",
|
|
153
|
-
"buyGroupCode": null,
|
|
154
|
-
"buyGroupId": null,
|
|
155
|
-
"buyGroupName": null,
|
|
156
|
-
"categoryId": 246,
|
|
157
|
-
"categoryName": "分类cc>1",
|
|
158
|
-
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
159
|
-
"createTime": "2020-12-28 18:23:55.0",
|
|
160
|
-
"enjoyPreferentialPolicies": 0,
|
|
161
|
-
"factoryCode": null,
|
|
162
|
-
"factoryId": null,
|
|
163
|
-
"factoryName": null,
|
|
164
|
-
"id": 146131,
|
|
165
|
-
"internalNumber": null,
|
|
166
|
-
"isUalityInspection": null,
|
|
167
|
-
"name": "AAAA",
|
|
168
|
-
"preferentialPoliciesType": null,
|
|
169
|
-
"priceAmount": null,
|
|
170
|
-
"procurementCycle": 0,
|
|
171
|
-
"shorthand": null,
|
|
172
|
-
"specification": "1234EFF",
|
|
173
|
-
"spuCode": "6000002120658581",
|
|
174
|
-
"status": 1,
|
|
175
|
-
"taxCategoryCode": null,
|
|
176
|
-
"taxExemptionType": null,
|
|
177
|
-
"taxId": null,
|
|
178
|
-
"taxRate": 0,
|
|
179
|
-
"unitId": 362,
|
|
180
|
-
"unitName": "年",
|
|
181
|
-
"itemType": "分类cc>1",
|
|
182
|
-
"itemNo": "6000002120658581",
|
|
183
|
-
"itemName": "AAAA",
|
|
184
|
-
"itemModelName": "1234EFF",
|
|
185
|
-
"unit": "年",
|
|
186
|
-
"priceIncludeTax": 0,
|
|
187
|
-
"priceExcludeTax": 0,
|
|
188
|
-
"taxClassificationCode": null
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"attributeVOList": null,
|
|
192
|
-
"brandName": null,
|
|
193
|
-
"buyGroupCode": null,
|
|
194
|
-
"buyGroupId": null,
|
|
195
|
-
"buyGroupName": null,
|
|
196
|
-
"categoryId": 2073,
|
|
197
|
-
"categoryName": "通用",
|
|
198
|
-
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
199
|
-
"createTime": "2020-12-15 10:14:14.0",
|
|
200
|
-
"enjoyPreferentialPolicies": 0,
|
|
201
|
-
"factoryCode": null,
|
|
202
|
-
"factoryId": null,
|
|
203
|
-
"factoryName": null,
|
|
204
|
-
"id": 146129,
|
|
205
|
-
"internalNumber": null,
|
|
206
|
-
"isUalityInspection": null,
|
|
207
|
-
"name": "服务费",
|
|
208
|
-
"preferentialPoliciesType": null,
|
|
209
|
-
"priceAmount": null,
|
|
210
|
-
"procurementCycle": 0,
|
|
211
|
-
"shorthand": "软件",
|
|
212
|
-
"specification": null,
|
|
213
|
-
"spuCode": "6000001474077629",
|
|
214
|
-
"status": 1,
|
|
215
|
-
"taxCategoryCode": "1060301020100000000",
|
|
216
|
-
"taxExemptionType": null,
|
|
217
|
-
"taxId": null,
|
|
218
|
-
"taxRate": 0,
|
|
219
|
-
"unitId": null,
|
|
220
|
-
"unitName": null,
|
|
221
|
-
"itemType": "通用",
|
|
222
|
-
"itemNo": "6000001474077629",
|
|
223
|
-
"itemName": "服务费",
|
|
224
|
-
"itemModelName": null,
|
|
225
|
-
"unit": null,
|
|
226
|
-
"priceIncludeTax": 0,
|
|
227
|
-
"priceExcludeTax": 0,
|
|
228
|
-
"taxClassificationCode": "1060301020100000000"
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
"attributeVOList": null,
|
|
232
|
-
"brandName": "丹东一号",
|
|
233
|
-
"buyGroupCode": null,
|
|
234
|
-
"buyGroupId": null,
|
|
235
|
-
"buyGroupName": null,
|
|
236
|
-
"categoryId": 2073,
|
|
237
|
-
"categoryName": "通用",
|
|
238
|
-
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
239
|
-
"createTime": "2020-10-30 15:07:05.0",
|
|
240
|
-
"enjoyPreferentialPolicies": 0,
|
|
241
|
-
"factoryCode": null,
|
|
242
|
-
"factoryId": null,
|
|
243
|
-
"factoryName": null,
|
|
244
|
-
"id": 145809,
|
|
245
|
-
"internalNumber": "0987",
|
|
246
|
-
"isUalityInspection": null,
|
|
247
|
-
"name": "中科",
|
|
248
|
-
"preferentialPoliciesType": null,
|
|
249
|
-
"priceAmount": 1000,
|
|
250
|
-
"procurementCycle": 0,
|
|
251
|
-
"shorthand": "糖料",
|
|
252
|
-
"specification": "12",
|
|
253
|
-
"spuCode": "6000001168374126",
|
|
254
|
-
"status": 1,
|
|
255
|
-
"taxCategoryCode": "1010107010000000000",
|
|
256
|
-
"taxExemptionType": "3",
|
|
257
|
-
"taxId": 1,
|
|
258
|
-
"taxRate": 0,
|
|
259
|
-
"unitId": 32,
|
|
260
|
-
"unitName": "把",
|
|
261
|
-
"itemType": "通用",
|
|
262
|
-
"itemNo": "6000001168374126",
|
|
263
|
-
"itemName": "中科",
|
|
264
|
-
"itemModelName": "12",
|
|
265
|
-
"unit": "把",
|
|
266
|
-
"priceIncludeTax": 1000,
|
|
267
|
-
"priceExcludeTax": 1000,
|
|
268
|
-
"taxClassificationCode": "1010107010000000000"
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
"attributeVOList": null,
|
|
272
|
-
"brandName": null,
|
|
273
|
-
"buyGroupCode": null,
|
|
274
|
-
"buyGroupId": null,
|
|
275
|
-
"buyGroupName": null,
|
|
276
|
-
"categoryId": 1862,
|
|
277
|
-
"categoryName": "通用",
|
|
278
|
-
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
279
|
-
"createTime": "2019-03-22 11:06:53.0",
|
|
280
|
-
"enjoyPreferentialPolicies": 0,
|
|
281
|
-
"factoryCode": null,
|
|
282
|
-
"factoryId": null,
|
|
283
|
-
"factoryName": null,
|
|
284
|
-
"id": 144321,
|
|
285
|
-
"internalNumber": "4302111",
|
|
286
|
-
"isUalityInspection": 0,
|
|
287
|
-
"name": "农用化肥2",
|
|
288
|
-
"preferentialPoliciesType": "",
|
|
289
|
-
"priceAmount": 90,
|
|
290
|
-
"procurementCycle": 0,
|
|
291
|
-
"shorthand": "肥料",
|
|
292
|
-
"specification": "HLHF-211",
|
|
293
|
-
"spuCode": "1000019000000056",
|
|
294
|
-
"status": 1,
|
|
295
|
-
"taxCategoryCode": "1000000000000000000",
|
|
296
|
-
"taxExemptionType": null,
|
|
297
|
-
"taxId": null,
|
|
298
|
-
"taxRate": 0,
|
|
299
|
-
"unitId": 11,
|
|
300
|
-
"unitName": "包",
|
|
301
|
-
"itemType": "通用",
|
|
302
|
-
"itemNo": "1000019000000056",
|
|
303
|
-
"itemName": "农用化肥2",
|
|
304
|
-
"itemModelName": "HLHF-211",
|
|
305
|
-
"unit": "包",
|
|
306
|
-
"priceIncludeTax": 90,
|
|
307
|
-
"priceExcludeTax": 90,
|
|
308
|
-
"taxClassificationCode": "1000000000000000000"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"attributeVOList": null,
|
|
312
|
-
"brandName": null,
|
|
313
|
-
"buyGroupCode": null,
|
|
314
|
-
"buyGroupId": null,
|
|
315
|
-
"buyGroupName": null,
|
|
316
|
-
"categoryId": 1862,
|
|
317
|
-
"categoryName": "通用",
|
|
318
|
-
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
319
|
-
"createTime": "2019-03-22 11:06:52.0",
|
|
320
|
-
"enjoyPreferentialPolicies": 0,
|
|
321
|
-
"factoryCode": null,
|
|
322
|
-
"factoryId": null,
|
|
323
|
-
"factoryName": null,
|
|
324
|
-
"id": 144320,
|
|
325
|
-
"internalNumber": "4302111",
|
|
326
|
-
"isUalityInspection": 0,
|
|
327
|
-
"name": "园林轻化肥",
|
|
328
|
-
"preferentialPoliciesType": "",
|
|
329
|
-
"priceAmount": null,
|
|
330
|
-
"procurementCycle": null,
|
|
331
|
-
"shorthand": "肥料",
|
|
332
|
-
"specification": "HLHF-211",
|
|
333
|
-
"spuCode": "1000019000000055",
|
|
334
|
-
"status": 1,
|
|
335
|
-
"taxCategoryCode": "233WD5FG00911",
|
|
336
|
-
"taxExemptionType": null,
|
|
337
|
-
"taxId": null,
|
|
338
|
-
"taxRate": 0,
|
|
339
|
-
"unitId": 11,
|
|
340
|
-
"unitName": "包",
|
|
341
|
-
"itemType": "通用",
|
|
342
|
-
"itemNo": "1000019000000055",
|
|
343
|
-
"itemName": "园林轻化肥",
|
|
344
|
-
"itemModelName": "HLHF-211",
|
|
345
|
-
"unit": "包",
|
|
346
|
-
"priceIncludeTax": 0,
|
|
347
|
-
"priceExcludeTax": 0,
|
|
348
|
-
"taxClassificationCode": "233WD5FG00911"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"attributeVOList": null,
|
|
352
|
-
"brandName": null,
|
|
353
|
-
"buyGroupCode": null,
|
|
354
|
-
"buyGroupId": null,
|
|
355
|
-
"buyGroupName": null,
|
|
356
|
-
"categoryId": 1862,
|
|
357
|
-
"categoryName": "通用",
|
|
358
|
-
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
359
|
-
"createTime": "2019-03-06 16:06:16.0",
|
|
360
|
-
"enjoyPreferentialPolicies": 0,
|
|
361
|
-
"factoryCode": null,
|
|
362
|
-
"factoryId": null,
|
|
363
|
-
"factoryName": null,
|
|
364
|
-
"id": 101211,
|
|
365
|
-
"internalNumber": "4302111",
|
|
366
|
-
"isUalityInspection": 0,
|
|
367
|
-
"name": "营养土壤",
|
|
368
|
-
"preferentialPoliciesType": "",
|
|
369
|
-
"priceAmount": null,
|
|
370
|
-
"procurementCycle": null,
|
|
371
|
-
"shorthand": "肥料",
|
|
372
|
-
"specification": "HLHF-211",
|
|
373
|
-
"spuCode": "1000019000000053",
|
|
374
|
-
"status": 1,
|
|
375
|
-
"taxCategoryCode": "233WD5FG00911",
|
|
376
|
-
"taxExemptionType": null,
|
|
377
|
-
"taxId": null,
|
|
378
|
-
"taxRate": 0,
|
|
379
|
-
"unitId": 11,
|
|
380
|
-
"unitName": "包",
|
|
381
|
-
"itemType": "通用",
|
|
382
|
-
"itemNo": "1000019000000053",
|
|
383
|
-
"itemName": "营养土壤",
|
|
384
|
-
"itemModelName": "HLHF-211",
|
|
385
|
-
"unit": "包",
|
|
386
|
-
"priceIncludeTax": 0,
|
|
387
|
-
"priceExcludeTax": 0,
|
|
388
|
-
"taxClassificationCode": "233WD5FG00911"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
"attributeVOList": null,
|
|
392
|
-
"brandName": null,
|
|
393
|
-
"buyGroupCode": null,
|
|
394
|
-
"buyGroupId": null,
|
|
395
|
-
"buyGroupName": null,
|
|
396
|
-
"categoryId": 1862,
|
|
397
|
-
"categoryName": "通用",
|
|
398
|
-
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
399
|
-
"createTime": "2019-03-06 16:06:16.0",
|
|
400
|
-
"enjoyPreferentialPolicies": 0,
|
|
401
|
-
"factoryCode": null,
|
|
402
|
-
"factoryId": null,
|
|
403
|
-
"factoryName": null,
|
|
404
|
-
"id": 101212,
|
|
405
|
-
"internalNumber": "4302111",
|
|
406
|
-
"isUalityInspection": 0,
|
|
407
|
-
"name": "植物营养液",
|
|
408
|
-
"preferentialPoliciesType": "",
|
|
409
|
-
"priceAmount": null,
|
|
410
|
-
"procurementCycle": null,
|
|
411
|
-
"shorthand": "肥料",
|
|
412
|
-
"specification": "HLHF-211",
|
|
413
|
-
"spuCode": "1000019000000054",
|
|
414
|
-
"status": 1,
|
|
415
|
-
"taxCategoryCode": "233WD5FG00911",
|
|
416
|
-
"taxExemptionType": null,
|
|
417
|
-
"taxId": null,
|
|
418
|
-
"taxRate": 0,
|
|
419
|
-
"unitId": 11,
|
|
420
|
-
"unitName": "包",
|
|
421
|
-
"itemType": "通用",
|
|
422
|
-
"itemNo": "1000019000000054",
|
|
423
|
-
"itemName": "植物营养液",
|
|
424
|
-
"itemModelName": "HLHF-211",
|
|
425
|
-
"unit": "包",
|
|
426
|
-
"priceIncludeTax": 0,
|
|
427
|
-
"priceExcludeTax": 0,
|
|
428
|
-
"taxClassificationCode": "233WD5FG00911"
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
"attributeVOList": null,
|
|
432
|
-
"brandName": null,
|
|
433
|
-
"buyGroupCode": null,
|
|
434
|
-
"buyGroupId": null,
|
|
435
|
-
"buyGroupName": null,
|
|
436
|
-
"categoryId": 1862,
|
|
437
|
-
"categoryName": "通用",
|
|
438
|
-
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
439
|
-
"createTime": "2019-03-05 18:15:59.0",
|
|
440
|
-
"enjoyPreferentialPolicies": 0,
|
|
441
|
-
"factoryCode": null,
|
|
442
|
-
"factoryId": null,
|
|
443
|
-
"factoryName": null,
|
|
444
|
-
"id": 101203,
|
|
445
|
-
"internalNumber": "4353245243",
|
|
446
|
-
"isUalityInspection": 0,
|
|
447
|
-
"name": "医用棉布纱布条",
|
|
448
|
-
"preferentialPoliciesType": "",
|
|
449
|
-
"priceAmount": null,
|
|
450
|
-
"procurementCycle": null,
|
|
451
|
-
"shorthand": "布料",
|
|
452
|
-
"specification": "ZC11D-006",
|
|
453
|
-
"spuCode": "6000000804084562",
|
|
454
|
-
"status": 1,
|
|
455
|
-
"taxCategoryCode": "1234567890123456789",
|
|
456
|
-
"taxExemptionType": null,
|
|
457
|
-
"taxId": 5,
|
|
458
|
-
"taxRate": 3,
|
|
459
|
-
"unitId": 3,
|
|
460
|
-
"unitName": "米",
|
|
461
|
-
"itemType": "通用",
|
|
462
|
-
"itemNo": "6000000804084562",
|
|
463
|
-
"itemName": "医用棉布纱布条",
|
|
464
|
-
"itemModelName": "ZC11D-006",
|
|
465
|
-
"unit": "米",
|
|
466
|
-
"priceIncludeTax": 0,
|
|
467
|
-
"priceExcludeTax": 0,
|
|
468
|
-
"taxClassificationCode": "1234567890123456789"
|
|
469
|
-
}
|
|
470
|
-
]
|
|
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
|
+
|
|
28
|
+
// 重写 的 获取商品列表
|
|
29
|
+
getGoodsList = this.pipeline<IGetBuyerListOption>(async (state, option) => {
|
|
30
|
+
if (!option) return;
|
|
31
|
+
|
|
32
|
+
// 初始化测试数据
|
|
33
|
+
const dataSource = await getMok(option.pagination.current)
|
|
34
|
+
|
|
35
|
+
// 设置分页数据
|
|
36
|
+
state.goodsListState.importGoods.pagination = {
|
|
37
|
+
...option.pagination,
|
|
38
|
+
pageSize: 20,
|
|
39
|
+
total: 80,
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
// 设置列表数据
|
|
43
|
+
state.goodsListState.importGoods.dataSource = dataSource;
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// const getMok = async (current: number = 1) => {
|
|
48
|
+
// const dataSource: any[] = [];
|
|
49
|
+
// for (let i = 0; i < 20; i++) {
|
|
50
|
+
// const p = i + 20 * (current - 1);
|
|
51
|
+
// dataSource.push({
|
|
52
|
+
// itemType: `商品分类${p}`,
|
|
53
|
+
// itemNo: `商品编码${p}`,
|
|
54
|
+
// itemName: `商品名称${p}`,
|
|
55
|
+
// shorthand: `前缀${p}`,
|
|
56
|
+
// itemModelName: `规格型号${p}`,
|
|
57
|
+
// unit: `计量单位${p}`,
|
|
58
|
+
// priceIncludeTax: p,
|
|
59
|
+
// priceExcludeTax: p,
|
|
60
|
+
// taxClassificationCode: `税收分类编码${p}`,
|
|
61
|
+
// affix: `附加信息${p}`,
|
|
62
|
+
// });
|
|
63
|
+
// }
|
|
64
|
+
// return dataSource;
|
|
65
|
+
// }
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
const getMok = async (current: number = 1) => {
|
|
69
|
+
return [
|
|
70
|
+
{
|
|
71
|
+
"attributeVOList": null,
|
|
72
|
+
"brandName": null,
|
|
73
|
+
"buyGroupCode": null,
|
|
74
|
+
"buyGroupId": null,
|
|
75
|
+
"buyGroupName": null,
|
|
76
|
+
"categoryId": 2073,
|
|
77
|
+
"categoryName": "通用",
|
|
78
|
+
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
79
|
+
"createTime": "2021-09-10 15:45:43.0",
|
|
80
|
+
"enjoyPreferentialPolicies": 0,
|
|
81
|
+
"factoryCode": null,
|
|
82
|
+
"factoryId": null,
|
|
83
|
+
"factoryName": null,
|
|
84
|
+
"id": 146200,
|
|
85
|
+
"internalNumber": "发动机盖",
|
|
86
|
+
"isUalityInspection": null,
|
|
87
|
+
"name": "发动机ABC",
|
|
88
|
+
"preferentialPoliciesType": null,
|
|
89
|
+
"priceAmount": 50,
|
|
90
|
+
"procurementCycle": 0,
|
|
91
|
+
"shorthand": "发动机",
|
|
92
|
+
"specification": "abc",
|
|
93
|
+
"spuCode": "6000001738252675",
|
|
94
|
+
"status": 1,
|
|
95
|
+
"taxCategoryCode": "1090102040000000000",
|
|
96
|
+
"taxExemptionType": "",
|
|
97
|
+
"taxId": 11,
|
|
98
|
+
"taxRate": 13,
|
|
99
|
+
"unitId": 30,
|
|
100
|
+
"unitName": "件",
|
|
101
|
+
"itemType": "通用",
|
|
102
|
+
"itemNo": "6000001738252675",
|
|
103
|
+
"itemName": "发动机ABC",
|
|
104
|
+
"itemModelName": "abc",
|
|
105
|
+
"unit": "件",
|
|
106
|
+
"priceIncludeTax": 50,
|
|
107
|
+
"priceExcludeTax": 50,
|
|
108
|
+
"taxClassificationCode": "1090102040000000000"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"attributeVOList": null,
|
|
112
|
+
"brandName": "丹东一号",
|
|
113
|
+
"buyGroupCode": null,
|
|
114
|
+
"buyGroupId": null,
|
|
115
|
+
"buyGroupName": null,
|
|
116
|
+
"categoryId": 2073,
|
|
117
|
+
"categoryName": "通用",
|
|
118
|
+
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
119
|
+
"createTime": "2021-09-02 14:59:52.0",
|
|
120
|
+
"enjoyPreferentialPolicies": 0,
|
|
121
|
+
"factoryCode": null,
|
|
122
|
+
"factoryId": null,
|
|
123
|
+
"factoryName": null,
|
|
124
|
+
"id": 146199,
|
|
125
|
+
"internalNumber": null,
|
|
126
|
+
"isUalityInspection": null,
|
|
127
|
+
"name": "aaaa",
|
|
128
|
+
"preferentialPoliciesType": null,
|
|
129
|
+
"priceAmount": 0,
|
|
130
|
+
"procurementCycle": 0,
|
|
131
|
+
"shorthand": "活牲畜",
|
|
132
|
+
"specification": null,
|
|
133
|
+
"spuCode": "6000001311479375",
|
|
134
|
+
"status": 1,
|
|
135
|
+
"taxCategoryCode": "1010301010000000000",
|
|
136
|
+
"taxExemptionType": "1",
|
|
137
|
+
"taxId": 1,
|
|
138
|
+
"taxRate": 0,
|
|
139
|
+
"unitId": null,
|
|
140
|
+
"unitName": null,
|
|
141
|
+
"itemType": "通用",
|
|
142
|
+
"itemNo": "6000001311479375",
|
|
143
|
+
"itemName": "aaaa",
|
|
144
|
+
"itemModelName": null,
|
|
145
|
+
"unit": null,
|
|
146
|
+
"priceIncludeTax": 0,
|
|
147
|
+
"priceExcludeTax": 0,
|
|
148
|
+
"taxClassificationCode": "1010301010000000000"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"attributeVOList": null,
|
|
152
|
+
"brandName": "丹东一号",
|
|
153
|
+
"buyGroupCode": null,
|
|
154
|
+
"buyGroupId": null,
|
|
155
|
+
"buyGroupName": null,
|
|
156
|
+
"categoryId": 246,
|
|
157
|
+
"categoryName": "分类cc>1",
|
|
158
|
+
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
159
|
+
"createTime": "2020-12-28 18:23:55.0",
|
|
160
|
+
"enjoyPreferentialPolicies": 0,
|
|
161
|
+
"factoryCode": null,
|
|
162
|
+
"factoryId": null,
|
|
163
|
+
"factoryName": null,
|
|
164
|
+
"id": 146131,
|
|
165
|
+
"internalNumber": null,
|
|
166
|
+
"isUalityInspection": null,
|
|
167
|
+
"name": "AAAA",
|
|
168
|
+
"preferentialPoliciesType": null,
|
|
169
|
+
"priceAmount": null,
|
|
170
|
+
"procurementCycle": 0,
|
|
171
|
+
"shorthand": null,
|
|
172
|
+
"specification": "1234EFF",
|
|
173
|
+
"spuCode": "6000002120658581",
|
|
174
|
+
"status": 1,
|
|
175
|
+
"taxCategoryCode": null,
|
|
176
|
+
"taxExemptionType": null,
|
|
177
|
+
"taxId": null,
|
|
178
|
+
"taxRate": 0,
|
|
179
|
+
"unitId": 362,
|
|
180
|
+
"unitName": "年",
|
|
181
|
+
"itemType": "分类cc>1",
|
|
182
|
+
"itemNo": "6000002120658581",
|
|
183
|
+
"itemName": "AAAA",
|
|
184
|
+
"itemModelName": "1234EFF",
|
|
185
|
+
"unit": "年",
|
|
186
|
+
"priceIncludeTax": 0,
|
|
187
|
+
"priceExcludeTax": 0,
|
|
188
|
+
"taxClassificationCode": null
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"attributeVOList": null,
|
|
192
|
+
"brandName": null,
|
|
193
|
+
"buyGroupCode": null,
|
|
194
|
+
"buyGroupId": null,
|
|
195
|
+
"buyGroupName": null,
|
|
196
|
+
"categoryId": 2073,
|
|
197
|
+
"categoryName": "通用",
|
|
198
|
+
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
199
|
+
"createTime": "2020-12-15 10:14:14.0",
|
|
200
|
+
"enjoyPreferentialPolicies": 0,
|
|
201
|
+
"factoryCode": null,
|
|
202
|
+
"factoryId": null,
|
|
203
|
+
"factoryName": null,
|
|
204
|
+
"id": 146129,
|
|
205
|
+
"internalNumber": null,
|
|
206
|
+
"isUalityInspection": null,
|
|
207
|
+
"name": "服务费",
|
|
208
|
+
"preferentialPoliciesType": null,
|
|
209
|
+
"priceAmount": null,
|
|
210
|
+
"procurementCycle": 0,
|
|
211
|
+
"shorthand": "软件",
|
|
212
|
+
"specification": null,
|
|
213
|
+
"spuCode": "6000001474077629",
|
|
214
|
+
"status": 1,
|
|
215
|
+
"taxCategoryCode": "1060301020100000000",
|
|
216
|
+
"taxExemptionType": null,
|
|
217
|
+
"taxId": null,
|
|
218
|
+
"taxRate": 0,
|
|
219
|
+
"unitId": null,
|
|
220
|
+
"unitName": null,
|
|
221
|
+
"itemType": "通用",
|
|
222
|
+
"itemNo": "6000001474077629",
|
|
223
|
+
"itemName": "服务费",
|
|
224
|
+
"itemModelName": null,
|
|
225
|
+
"unit": null,
|
|
226
|
+
"priceIncludeTax": 0,
|
|
227
|
+
"priceExcludeTax": 0,
|
|
228
|
+
"taxClassificationCode": "1060301020100000000"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"attributeVOList": null,
|
|
232
|
+
"brandName": "丹东一号",
|
|
233
|
+
"buyGroupCode": null,
|
|
234
|
+
"buyGroupId": null,
|
|
235
|
+
"buyGroupName": null,
|
|
236
|
+
"categoryId": 2073,
|
|
237
|
+
"categoryName": "通用",
|
|
238
|
+
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
239
|
+
"createTime": "2020-10-30 15:07:05.0",
|
|
240
|
+
"enjoyPreferentialPolicies": 0,
|
|
241
|
+
"factoryCode": null,
|
|
242
|
+
"factoryId": null,
|
|
243
|
+
"factoryName": null,
|
|
244
|
+
"id": 145809,
|
|
245
|
+
"internalNumber": "0987",
|
|
246
|
+
"isUalityInspection": null,
|
|
247
|
+
"name": "中科",
|
|
248
|
+
"preferentialPoliciesType": null,
|
|
249
|
+
"priceAmount": 1000,
|
|
250
|
+
"procurementCycle": 0,
|
|
251
|
+
"shorthand": "糖料",
|
|
252
|
+
"specification": "12",
|
|
253
|
+
"spuCode": "6000001168374126",
|
|
254
|
+
"status": 1,
|
|
255
|
+
"taxCategoryCode": "1010107010000000000",
|
|
256
|
+
"taxExemptionType": "3",
|
|
257
|
+
"taxId": 1,
|
|
258
|
+
"taxRate": 0,
|
|
259
|
+
"unitId": 32,
|
|
260
|
+
"unitName": "把",
|
|
261
|
+
"itemType": "通用",
|
|
262
|
+
"itemNo": "6000001168374126",
|
|
263
|
+
"itemName": "中科",
|
|
264
|
+
"itemModelName": "12",
|
|
265
|
+
"unit": "把",
|
|
266
|
+
"priceIncludeTax": 1000,
|
|
267
|
+
"priceExcludeTax": 1000,
|
|
268
|
+
"taxClassificationCode": "1010107010000000000"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"attributeVOList": null,
|
|
272
|
+
"brandName": null,
|
|
273
|
+
"buyGroupCode": null,
|
|
274
|
+
"buyGroupId": null,
|
|
275
|
+
"buyGroupName": null,
|
|
276
|
+
"categoryId": 1862,
|
|
277
|
+
"categoryName": "通用",
|
|
278
|
+
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
279
|
+
"createTime": "2019-03-22 11:06:53.0",
|
|
280
|
+
"enjoyPreferentialPolicies": 0,
|
|
281
|
+
"factoryCode": null,
|
|
282
|
+
"factoryId": null,
|
|
283
|
+
"factoryName": null,
|
|
284
|
+
"id": 144321,
|
|
285
|
+
"internalNumber": "4302111",
|
|
286
|
+
"isUalityInspection": 0,
|
|
287
|
+
"name": "农用化肥2",
|
|
288
|
+
"preferentialPoliciesType": "",
|
|
289
|
+
"priceAmount": 90,
|
|
290
|
+
"procurementCycle": 0,
|
|
291
|
+
"shorthand": "肥料",
|
|
292
|
+
"specification": "HLHF-211",
|
|
293
|
+
"spuCode": "1000019000000056",
|
|
294
|
+
"status": 1,
|
|
295
|
+
"taxCategoryCode": "1000000000000000000",
|
|
296
|
+
"taxExemptionType": null,
|
|
297
|
+
"taxId": null,
|
|
298
|
+
"taxRate": 0,
|
|
299
|
+
"unitId": 11,
|
|
300
|
+
"unitName": "包",
|
|
301
|
+
"itemType": "通用",
|
|
302
|
+
"itemNo": "1000019000000056",
|
|
303
|
+
"itemName": "农用化肥2",
|
|
304
|
+
"itemModelName": "HLHF-211",
|
|
305
|
+
"unit": "包",
|
|
306
|
+
"priceIncludeTax": 90,
|
|
307
|
+
"priceExcludeTax": 90,
|
|
308
|
+
"taxClassificationCode": "1000000000000000000"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"attributeVOList": null,
|
|
312
|
+
"brandName": null,
|
|
313
|
+
"buyGroupCode": null,
|
|
314
|
+
"buyGroupId": null,
|
|
315
|
+
"buyGroupName": null,
|
|
316
|
+
"categoryId": 1862,
|
|
317
|
+
"categoryName": "通用",
|
|
318
|
+
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
319
|
+
"createTime": "2019-03-22 11:06:52.0",
|
|
320
|
+
"enjoyPreferentialPolicies": 0,
|
|
321
|
+
"factoryCode": null,
|
|
322
|
+
"factoryId": null,
|
|
323
|
+
"factoryName": null,
|
|
324
|
+
"id": 144320,
|
|
325
|
+
"internalNumber": "4302111",
|
|
326
|
+
"isUalityInspection": 0,
|
|
327
|
+
"name": "园林轻化肥",
|
|
328
|
+
"preferentialPoliciesType": "",
|
|
329
|
+
"priceAmount": null,
|
|
330
|
+
"procurementCycle": null,
|
|
331
|
+
"shorthand": "肥料",
|
|
332
|
+
"specification": "HLHF-211",
|
|
333
|
+
"spuCode": "1000019000000055",
|
|
334
|
+
"status": 1,
|
|
335
|
+
"taxCategoryCode": "233WD5FG00911",
|
|
336
|
+
"taxExemptionType": null,
|
|
337
|
+
"taxId": null,
|
|
338
|
+
"taxRate": 0,
|
|
339
|
+
"unitId": 11,
|
|
340
|
+
"unitName": "包",
|
|
341
|
+
"itemType": "通用",
|
|
342
|
+
"itemNo": "1000019000000055",
|
|
343
|
+
"itemName": "园林轻化肥",
|
|
344
|
+
"itemModelName": "HLHF-211",
|
|
345
|
+
"unit": "包",
|
|
346
|
+
"priceIncludeTax": 0,
|
|
347
|
+
"priceExcludeTax": 0,
|
|
348
|
+
"taxClassificationCode": "233WD5FG00911"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"attributeVOList": null,
|
|
352
|
+
"brandName": null,
|
|
353
|
+
"buyGroupCode": null,
|
|
354
|
+
"buyGroupId": null,
|
|
355
|
+
"buyGroupName": null,
|
|
356
|
+
"categoryId": 1862,
|
|
357
|
+
"categoryName": "通用",
|
|
358
|
+
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
359
|
+
"createTime": "2019-03-06 16:06:16.0",
|
|
360
|
+
"enjoyPreferentialPolicies": 0,
|
|
361
|
+
"factoryCode": null,
|
|
362
|
+
"factoryId": null,
|
|
363
|
+
"factoryName": null,
|
|
364
|
+
"id": 101211,
|
|
365
|
+
"internalNumber": "4302111",
|
|
366
|
+
"isUalityInspection": 0,
|
|
367
|
+
"name": "营养土壤",
|
|
368
|
+
"preferentialPoliciesType": "",
|
|
369
|
+
"priceAmount": null,
|
|
370
|
+
"procurementCycle": null,
|
|
371
|
+
"shorthand": "肥料",
|
|
372
|
+
"specification": "HLHF-211",
|
|
373
|
+
"spuCode": "1000019000000053",
|
|
374
|
+
"status": 1,
|
|
375
|
+
"taxCategoryCode": "233WD5FG00911",
|
|
376
|
+
"taxExemptionType": null,
|
|
377
|
+
"taxId": null,
|
|
378
|
+
"taxRate": 0,
|
|
379
|
+
"unitId": 11,
|
|
380
|
+
"unitName": "包",
|
|
381
|
+
"itemType": "通用",
|
|
382
|
+
"itemNo": "1000019000000053",
|
|
383
|
+
"itemName": "营养土壤",
|
|
384
|
+
"itemModelName": "HLHF-211",
|
|
385
|
+
"unit": "包",
|
|
386
|
+
"priceIncludeTax": 0,
|
|
387
|
+
"priceExcludeTax": 0,
|
|
388
|
+
"taxClassificationCode": "233WD5FG00911"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"attributeVOList": null,
|
|
392
|
+
"brandName": null,
|
|
393
|
+
"buyGroupCode": null,
|
|
394
|
+
"buyGroupId": null,
|
|
395
|
+
"buyGroupName": null,
|
|
396
|
+
"categoryId": 1862,
|
|
397
|
+
"categoryName": "通用",
|
|
398
|
+
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
399
|
+
"createTime": "2019-03-06 16:06:16.0",
|
|
400
|
+
"enjoyPreferentialPolicies": 0,
|
|
401
|
+
"factoryCode": null,
|
|
402
|
+
"factoryId": null,
|
|
403
|
+
"factoryName": null,
|
|
404
|
+
"id": 101212,
|
|
405
|
+
"internalNumber": "4302111",
|
|
406
|
+
"isUalityInspection": 0,
|
|
407
|
+
"name": "植物营养液",
|
|
408
|
+
"preferentialPoliciesType": "",
|
|
409
|
+
"priceAmount": null,
|
|
410
|
+
"procurementCycle": null,
|
|
411
|
+
"shorthand": "肥料",
|
|
412
|
+
"specification": "HLHF-211",
|
|
413
|
+
"spuCode": "1000019000000054",
|
|
414
|
+
"status": 1,
|
|
415
|
+
"taxCategoryCode": "233WD5FG00911",
|
|
416
|
+
"taxExemptionType": null,
|
|
417
|
+
"taxId": null,
|
|
418
|
+
"taxRate": 0,
|
|
419
|
+
"unitId": 11,
|
|
420
|
+
"unitName": "包",
|
|
421
|
+
"itemType": "通用",
|
|
422
|
+
"itemNo": "1000019000000054",
|
|
423
|
+
"itemName": "植物营养液",
|
|
424
|
+
"itemModelName": "HLHF-211",
|
|
425
|
+
"unit": "包",
|
|
426
|
+
"priceIncludeTax": 0,
|
|
427
|
+
"priceExcludeTax": 0,
|
|
428
|
+
"taxClassificationCode": "233WD5FG00911"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"attributeVOList": null,
|
|
432
|
+
"brandName": null,
|
|
433
|
+
"buyGroupCode": null,
|
|
434
|
+
"buyGroupId": null,
|
|
435
|
+
"buyGroupName": null,
|
|
436
|
+
"categoryId": 1862,
|
|
437
|
+
"categoryName": "通用",
|
|
438
|
+
"companyId": "41daec4c-baa2-451f-b756-e26067b8657c",
|
|
439
|
+
"createTime": "2019-03-05 18:15:59.0",
|
|
440
|
+
"enjoyPreferentialPolicies": 0,
|
|
441
|
+
"factoryCode": null,
|
|
442
|
+
"factoryId": null,
|
|
443
|
+
"factoryName": null,
|
|
444
|
+
"id": 101203,
|
|
445
|
+
"internalNumber": "4353245243",
|
|
446
|
+
"isUalityInspection": 0,
|
|
447
|
+
"name": "医用棉布纱布条",
|
|
448
|
+
"preferentialPoliciesType": "",
|
|
449
|
+
"priceAmount": null,
|
|
450
|
+
"procurementCycle": null,
|
|
451
|
+
"shorthand": "布料",
|
|
452
|
+
"specification": "ZC11D-006",
|
|
453
|
+
"spuCode": "6000000804084562",
|
|
454
|
+
"status": 1,
|
|
455
|
+
"taxCategoryCode": "1234567890123456789",
|
|
456
|
+
"taxExemptionType": null,
|
|
457
|
+
"taxId": 5,
|
|
458
|
+
"taxRate": 3,
|
|
459
|
+
"unitId": 3,
|
|
460
|
+
"unitName": "米",
|
|
461
|
+
"itemType": "通用",
|
|
462
|
+
"itemNo": "6000000804084562",
|
|
463
|
+
"itemName": "医用棉布纱布条",
|
|
464
|
+
"itemModelName": "ZC11D-006",
|
|
465
|
+
"unit": "米",
|
|
466
|
+
"priceIncludeTax": 0,
|
|
467
|
+
"priceExcludeTax": 0,
|
|
468
|
+
"taxClassificationCode": "1234567890123456789",
|
|
469
|
+
}
|
|
470
|
+
]
|
|
471
471
|
}
|