kts-component-invoice-operate 3.2.174 → 3.2.176
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/dist/Invoice/Invoice-digtal/_test/architecture/index.d.ts +4 -0
- package/dist/Invoice/Invoice-digtal/_test/freight/index.d.ts +4 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/FreightListState/IColumnsReplenish/index.d.ts +6 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/FreightListState/IGood/index.d.ts +23 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/FreightListState/ImportGoods/index.d.ts +21 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/FreightListState/index.d.ts +31 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/index.d.ts +5 -0
- package/dist/Invoice/InvoiceController/fns/addFreight.d.ts +6 -0
- package/dist/Invoice/InvoiceController/fns/delFreight.d.ts +6 -0
- package/dist/Invoice/InvoiceController/fns/saveEditFreight.d.ts +6 -0
- package/dist/Invoice/InvoiceController/fns/setEditFreight.d.ts +6 -0
- package/dist/Invoice/InvoiceController/fns/setFreight.d.ts +6 -0
- package/dist/Invoice/InvoiceController/index.d.ts +10 -0
- package/dist/Invoice/index.d.ts +4 -0
- package/dist/Invoice/ui/digtal/Architecture/index.d.ts +15 -0
- package/dist/Invoice/ui/digtal/FreightList/hook/useColumns/index.d.ts +3 -0
- package/dist/Invoice/ui/digtal/FreightList/hook/useColumns/ui/TitleText/index.d.ts +8 -0
- package/dist/Invoice/ui/digtal/FreightList/hook/useOnRow/index.d.ts +8 -0
- package/dist/Invoice/ui/digtal/FreightList/hook/useRowSelection/index.d.ts +8 -0
- package/dist/Invoice/ui/digtal/FreightList/hook/useWindowClick/index.d.ts +8 -0
- package/dist/Invoice/ui/digtal/FreightList/index.d.ts +9 -0
- package/dist/Invoice/ui/digtal/FreightList/ui/AddRowButton/index.d.ts +3 -0
- package/dist/Invoice/ui/digtal/FreightList/ui/BulkMenu/hooks/useDelRowButton/index.d.ts +6 -0
- package/dist/Invoice/ui/digtal/FreightList/ui/BulkMenu/hooks/useEmptyRefill/index.d.ts +6 -0
- package/dist/Invoice/ui/digtal/FreightList/ui/TableRow/index.d.ts +3 -0
- package/dist/Invoice/ui/digtal/FreightList/ui/TableVirtual/index.d.ts +4 -0
- package/dist/index.esm.js +1896 -52
- package/dist/index.js +1896 -52
- package/package.json +3 -3
- package/src/Invoice/Invoice-digtal/_test/architecture/index.tsx +22 -0
- package/src/Invoice/Invoice-digtal/_test/freight/index.tsx +14564 -0
- package/src/Invoice/Invoice-digtal/index.md +7 -1
- package/src/Invoice/InvoiceController/InvoiceControllerState/FreightListState/IColumnsReplenish/index.ts +10 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/FreightListState/IGood/index.ts +33 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/FreightListState/ImportGoods/index.ts +81 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/FreightListState/index.ts +40 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/index.ts +6 -0
- package/src/Invoice/InvoiceController/fns/addFreight.ts +11 -0
- package/src/Invoice/InvoiceController/fns/delFreight.ts +38 -0
- package/src/Invoice/InvoiceController/fns/saveEditFreight.ts +24 -0
- package/src/Invoice/InvoiceController/fns/setEditFreight.ts +16 -0
- package/src/Invoice/InvoiceController/fns/setFreight.ts +11 -0
- package/src/Invoice/InvoiceController/index.ts +20 -1
- package/src/Invoice/index.tsx +8 -1
- package/src/Invoice/tools/useToGenerateId/index.ts +2 -0
- package/src/Invoice/ui/default/EndowCodeDrawer/index.tsx +10 -11
- package/src/Invoice/ui/digtal/Architecture/index.less +15 -0
- package/src/Invoice/ui/digtal/Architecture/index.tsx +166 -0
- package/src/Invoice/ui/digtal/FreightList/hook/useColumns/dist/index.js +616 -0
- package/src/Invoice/ui/digtal/FreightList/hook/useColumns/index.tsx +246 -0
- package/src/Invoice/ui/digtal/FreightList/hook/useColumns/ui/TitleText/index.tsx +20 -0
- package/src/Invoice/ui/digtal/FreightList/hook/useOnRow/index.tsx +37 -0
- package/src/Invoice/ui/digtal/FreightList/hook/useRowSelection/index.tsx +120 -0
- package/src/Invoice/ui/digtal/FreightList/hook/useWindowClick/index.tsx +23 -0
- package/src/Invoice/ui/digtal/FreightList/index.less +74 -0
- package/src/Invoice/ui/digtal/FreightList/index.tsx +108 -0
- package/src/Invoice/ui/digtal/FreightList/ui/AddRowButton/index.tsx +65 -0
- package/src/Invoice/ui/digtal/FreightList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +50 -0
- package/src/Invoice/ui/digtal/FreightList/ui/BulkMenu/hooks/useEmptyRefill/index.tsx +37 -0
- package/src/Invoice/ui/digtal/FreightList/ui/TableRow/index.less +29 -0
- package/src/Invoice/ui/digtal/FreightList/ui/TableRow/index.tsx +21 -0
- package/src/Invoice/ui/digtal/FreightList/ui/TableVirtual/index.less +39 -0
- package/src/Invoice/ui/digtal/FreightList/ui/TableVirtual/index.tsx +109 -0
- package/src/Invoice/ui/digtal/GoodsList/index.tsx +0 -1
- package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.tsx +0 -1
- package/src/TaxClassificationCodeModal/index.less +0 -8
- package/src/TaxClassificationCodeModal/index.tsx +4 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "kts-component-invoice-operate",
|
|
3
|
-
"version": "3.2.
|
|
2
|
+
"name": "kts-component-invoice-operate",
|
|
3
|
+
"version": "3.2.176",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "dumi dev --max-old-space-size=6096",
|
|
6
6
|
"start": "dumi dev",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"kts-components-antd-x3": "^3.26.20-5",
|
|
35
35
|
"kts-components-antd-x4": "5.0.0",
|
|
36
36
|
"kts-components-antd-x4-v4": "npm:kts-components-antd-x4@^4.0.3",
|
|
37
|
-
"kts-xui": "^2.1.
|
|
37
|
+
"kts-xui": "^2.1.79",
|
|
38
38
|
"mathjs": "^9.4.2",
|
|
39
39
|
"next": "^11.0.1",
|
|
40
40
|
"nzh": "^1.0.4",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Invoice from '../../..';
|
|
3
|
+
import moment from 'moment';
|
|
4
|
+
import 'antd/dist/antd.css';
|
|
5
|
+
|
|
6
|
+
export default () => {
|
|
7
|
+
|
|
8
|
+
const controller = React.useMemo(() => new Invoice.InvoiceController(), []);
|
|
9
|
+
|
|
10
|
+
React.useEffect(() => {
|
|
11
|
+
controller.run(async s => {
|
|
12
|
+
})
|
|
13
|
+
}, [])
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<Invoice
|
|
17
|
+
invoiceType='digtal'
|
|
18
|
+
controller={controller}
|
|
19
|
+
specialInfor={<Invoice.Architecture />}
|
|
20
|
+
/>
|
|
21
|
+
)
|
|
22
|
+
};
|