kts-component-invoice-operate 1.2.11 → 1.2.15
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/d.dio +77 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/EndowCode.d.ts +4 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/index.d.ts +8 -0
- package/dist/index.esm.js +5809 -87
- package/dist/index.js +5809 -87
- package/package.json +2 -2
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/EndowCode.tsx +3 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/index.ts +10 -1
- package/src/Invoice/_test/endowCode/index.tsx +8 -3
- package/src/Invoice/ui/EndowCodeDrawer/index.tsx +7 -7
- package/src/Invoice/ui/GoodsList/hook/useColumns/autoFillFn/index.ts +38 -4
- package/src/Invoice/ui/GoodsList/index.tsx +5 -0
- package/src/Invoice/ui/InvoiceHeader/index.less +2 -2
package/d.dio
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<mxfile host="65bd71144e">
|
|
2
|
+
<diagram id="w7p1MQGa3Cr9dDrN48fI" name="第 1 页">
|
|
3
|
+
<mxGraphModel dx="966" dy="284" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
|
4
|
+
<root>
|
|
5
|
+
<mxCell id="0"/>
|
|
6
|
+
<mxCell id="1" parent="0"/>
|
|
7
|
+
<mxCell id="5" style="edgeStyle=none;html=1;" edge="1" parent="1" source="3" target="4">
|
|
8
|
+
<mxGeometry relative="1" as="geometry"/>
|
|
9
|
+
</mxCell>
|
|
10
|
+
<mxCell id="3" value="Schema 编辑器" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
11
|
+
<mxGeometry x="105" y="10" width="110" height="40" as="geometry"/>
|
|
12
|
+
</mxCell>
|
|
13
|
+
<mxCell id="7" style="edgeStyle=none;html=1;" edge="1" parent="1" source="4" target="12">
|
|
14
|
+
<mxGeometry relative="1" as="geometry">
|
|
15
|
+
<mxPoint x="260" y="200" as="targetPoint"/>
|
|
16
|
+
</mxGeometry>
|
|
17
|
+
</mxCell>
|
|
18
|
+
<mxCell id="24" style="edgeStyle=none;html=1;" edge="1" parent="1" source="4" target="25">
|
|
19
|
+
<mxGeometry relative="1" as="geometry">
|
|
20
|
+
<mxPoint x="720" y="120" as="targetPoint"/>
|
|
21
|
+
</mxGeometry>
|
|
22
|
+
</mxCell>
|
|
23
|
+
<mxCell id="4" value="schema Data" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
24
|
+
<mxGeometry x="105" y="100" width="110" height="40" as="geometry"/>
|
|
25
|
+
</mxCell>
|
|
26
|
+
<mxCell id="8" value="表格" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
27
|
+
<mxGeometry x="10" y="340" width="100" height="30" as="geometry"/>
|
|
28
|
+
</mxCell>
|
|
29
|
+
<mxCell id="9" value="表单" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
30
|
+
<mxGeometry x="130" y="340" width="100" height="30" as="geometry"/>
|
|
31
|
+
</mxCell>
|
|
32
|
+
<mxCell id="10" value="详情" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
33
|
+
<mxGeometry x="250" y="340" width="100" height="30" as="geometry"/>
|
|
34
|
+
</mxCell>
|
|
35
|
+
<mxCell id="11" value="编辑" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
36
|
+
<mxGeometry x="370" y="340" width="100" height="30" as="geometry"/>
|
|
37
|
+
</mxCell>
|
|
38
|
+
<mxCell id="13" style="edgeStyle=none;html=1;" edge="1" parent="1" source="12" target="8">
|
|
39
|
+
<mxGeometry relative="1" as="geometry"/>
|
|
40
|
+
</mxCell>
|
|
41
|
+
<mxCell id="15" style="edgeStyle=none;html=1;" edge="1" parent="1" source="12" target="9">
|
|
42
|
+
<mxGeometry relative="1" as="geometry"/>
|
|
43
|
+
</mxCell>
|
|
44
|
+
<mxCell id="16" style="edgeStyle=none;html=1;" edge="1" parent="1" source="12" target="10">
|
|
45
|
+
<mxGeometry relative="1" as="geometry"/>
|
|
46
|
+
</mxCell>
|
|
47
|
+
<mxCell id="17" style="edgeStyle=none;html=1;" edge="1" parent="1" source="12" target="11">
|
|
48
|
+
<mxGeometry relative="1" as="geometry"/>
|
|
49
|
+
</mxCell>
|
|
50
|
+
<mxCell id="21" style="edgeStyle=none;html=1;" edge="1" parent="1" source="12" target="20">
|
|
51
|
+
<mxGeometry relative="1" as="geometry"/>
|
|
52
|
+
</mxCell>
|
|
53
|
+
<mxCell id="12" value="schema 解析器" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
54
|
+
<mxGeometry x="10" y="180" width="300" height="50" as="geometry"/>
|
|
55
|
+
</mxCell>
|
|
56
|
+
<mxCell id="19" style="edgeStyle=none;html=1;" edge="1" parent="1" source="18" target="12">
|
|
57
|
+
<mxGeometry relative="1" as="geometry"/>
|
|
58
|
+
</mxCell>
|
|
59
|
+
<mxCell id="18" value="业务方 schema 解析器" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
60
|
+
<mxGeometry x="460" y="180" width="140" height="50" as="geometry"/>
|
|
61
|
+
</mxCell>
|
|
62
|
+
<mxCell id="20" value="搜索" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
63
|
+
<mxGeometry x="500" y="340" width="100" height="30" as="geometry"/>
|
|
64
|
+
</mxCell>
|
|
65
|
+
<mxCell id="23" style="edgeStyle=none;html=1;" edge="1" parent="1" source="22" target="3">
|
|
66
|
+
<mxGeometry relative="1" as="geometry"/>
|
|
67
|
+
</mxCell>
|
|
68
|
+
<mxCell id="22" value="<h1><span style="font-size: 12px ; font-weight: 400">字段,规则</span></h1>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1">
|
|
69
|
+
<mxGeometry x="293" y="10" width="130" height="40" as="geometry"/>
|
|
70
|
+
</mxCell>
|
|
71
|
+
<mxCell id="25" value="平台统一管理" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
|
72
|
+
<mxGeometry x="500" y="100" width="100" height="40" as="geometry"/>
|
|
73
|
+
</mxCell>
|
|
74
|
+
</root>
|
|
75
|
+
</mxGraphModel>
|
|
76
|
+
</diagram>
|
|
77
|
+
</mxfile>
|
|
@@ -3,6 +3,14 @@ import BuyerState from './BuyerState';
|
|
|
3
3
|
export default class InvoiceControllerState {
|
|
4
4
|
/** 组件模式 */
|
|
5
5
|
model: 'default' | 'prefab';
|
|
6
|
+
/**
|
|
7
|
+
* 企业类型
|
|
8
|
+
* 01 一般纳税人
|
|
9
|
+
* 05 转登记纳税人
|
|
10
|
+
* 04 代开企业
|
|
11
|
+
* 08 小规模纳税人
|
|
12
|
+
* */
|
|
13
|
+
en: '01' | '05' | '04' | '08';
|
|
6
14
|
/** 购买方 */
|
|
7
15
|
buyerState: BuyerState;
|
|
8
16
|
/** 货物信息 */
|