@nickeylin/antd-mobile-pro 2.0.3 → 2.1.1
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/cjs/components/index.d.ts +1 -0
- package/dist/cjs/components/index.js +3 -0
- package/dist/cjs/components/input-captcha/input-captcha.d.ts +1 -1
- package/dist/cjs/components/pro-calendar/index.d.ts +10 -0
- package/dist/cjs/components/pro-calendar/index.js +42 -0
- package/dist/cjs/components/pro-calendar/pro-calendar.d.ts +37 -0
- package/dist/cjs/components/pro-calendar/pro-calendar.js +173 -0
- package/dist/cjs/components/pro-calendar/style.less +105 -0
- package/dist/cjs/components/pro-calendar/utils.d.ts +32 -0
- package/dist/cjs/components/pro-calendar/utils.js +175 -0
- package/dist/cjs/components/pro-calendar-picker/index.d.ts +3 -2
- package/dist/cjs/components/pro-calendar-picker/index.js +3 -2
- package/dist/cjs/components/pro-calendar-picker/pro-calendar-picker.d.ts +13 -0
- package/dist/cjs/components/pro-calendar-picker/pro-calendar-picker.js +141 -0
- package/dist/cjs/components/pro-calendar-picker/style.less +38 -0
- package/dist/cjs/components/pro-form/pro-form-item-calendar-picker.d.ts +1 -1
- package/dist/cjs/components/pro-form/pro-form-item-calendar-picker.js +12 -6
- package/dist/cjs/components/pro-list/pro-list.d.ts +2 -1
- package/dist/cjs/components/styles/global.less +6 -0
- package/dist/cjs/components/tree-picker/index.d.ts +1 -1
- package/dist/cjs/components/tree-picker/tree-picker.d.ts +1 -1
- package/dist/cjs/locales/base.d.ts +4 -0
- package/dist/cjs/locales/en-US.d.ts +4 -0
- package/dist/es/components/index.d.ts +1 -0
- package/dist/es/components/index.js +1 -0
- package/dist/es/components/input-captcha/input-captcha.d.ts +1 -1
- package/dist/es/components/pro-calendar/index.d.ts +10 -0
- package/dist/es/components/pro-calendar/index.js +8 -0
- package/dist/es/components/pro-calendar/pro-calendar.d.ts +37 -0
- package/dist/es/components/pro-calendar/pro-calendar.js +138 -0
- package/dist/es/components/pro-calendar/style.less +105 -0
- package/dist/es/components/pro-calendar/utils.d.ts +32 -0
- package/dist/es/components/pro-calendar/utils.js +138 -0
- package/dist/es/components/pro-calendar-picker/index.d.ts +3 -2
- package/dist/es/components/pro-calendar-picker/index.js +2 -1
- package/dist/es/components/pro-calendar-picker/pro-calendar-picker.d.ts +13 -0
- package/dist/es/components/pro-calendar-picker/pro-calendar-picker.js +124 -0
- package/dist/es/components/pro-calendar-picker/style.less +38 -0
- package/dist/es/components/pro-form/pro-form-item-calendar-picker.d.ts +1 -1
- package/dist/es/components/pro-form/pro-form-item-calendar-picker.js +8 -8
- package/dist/es/components/pro-list/pro-list.d.ts +2 -1
- package/dist/es/components/styles/global.less +6 -0
- package/dist/es/components/tree-picker/index.d.ts +1 -1
- package/dist/es/components/tree-picker/tree-picker.d.ts +1 -1
- package/dist/es/locales/base.d.ts +4 -0
- package/dist/es/locales/en-US.d.ts +4 -0
- package/dist/umd/antd-mobile-pro.min.css +1 -1
- package/dist/umd/antd-mobile-pro.min.js +1 -1
- package/package.json +5 -3
- package/dist/cjs/types/index.d.ts +0 -2
- package/dist/cjs/types/service/approve-outline.d.ts +0 -89
- package/dist/cjs/types/service/bpm.d.ts +0 -241
- package/dist/cjs/types/service/common.d.ts +0 -90
- package/dist/es/types/index.d.ts +0 -2
- package/dist/es/types/service/approve-outline.d.ts +0 -89
- package/dist/es/types/service/bpm.d.ts +0 -241
- package/dist/es/types/service/common.d.ts +0 -90
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nickeylin/antd-mobile-pro",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Components for mobile.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"@types/testing-library__jest-dom": "^5.14.5",
|
|
52
52
|
"@umijs/lint": "^4.0.0",
|
|
53
53
|
"animated-scroll-to": "^2.3.0",
|
|
54
|
+
"antd-mobile": "^5.42.3",
|
|
54
55
|
"cross-env": "^7.0.3",
|
|
55
56
|
"dumi": "^2.2.13",
|
|
56
57
|
"dumi-theme-mobile": "^2.1.2",
|
|
@@ -73,7 +74,7 @@
|
|
|
73
74
|
"peerDependencies": {
|
|
74
75
|
"@nickeylin/rc-utils": "^2.0.1",
|
|
75
76
|
"ahooks": "^3.7.8",
|
|
76
|
-
"antd-mobile": "^5.
|
|
77
|
+
"antd-mobile": "^5.42.3",
|
|
77
78
|
"antd-mobile-icons": "^0.3.0",
|
|
78
79
|
"classnames": "^2.5.1",
|
|
79
80
|
"dayjs": "^1.11.10",
|
|
@@ -81,7 +82,8 @@
|
|
|
81
82
|
"react-dom": ">=16.9.0"
|
|
82
83
|
},
|
|
83
84
|
"publishConfig": {
|
|
84
|
-
"access": "public"
|
|
85
|
+
"access": "public",
|
|
86
|
+
"registry": "https://registry.npmjs.org"
|
|
85
87
|
},
|
|
86
88
|
"authors": [
|
|
87
89
|
"Nick <nickey91.lean@gmail.com>"
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from 'antd-mobile';
|
|
2
|
-
|
|
3
|
-
declare global {
|
|
4
|
-
declare namespace Service {
|
|
5
|
-
namespace ApproveOutline {
|
|
6
|
-
interface BaseDataType {
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated use `label` instead
|
|
9
|
-
*/
|
|
10
|
-
key?: string;
|
|
11
|
-
value: string | number;
|
|
12
|
-
|
|
13
|
-
label?: string;
|
|
14
|
-
color?: ButtonProps['color'];
|
|
15
|
-
}
|
|
16
|
-
interface StringData extends BaseDataType {
|
|
17
|
-
value: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface NumberData extends BaseDataType {
|
|
21
|
-
value: number;
|
|
22
|
-
thousands?: boolean;
|
|
23
|
-
digits?: number;
|
|
24
|
-
symbol?: string;
|
|
25
|
-
symbolPosition?: 'start' | 'end';
|
|
26
|
-
preset?: 'money';
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
type DataType = StringData | NumberData;
|
|
30
|
-
|
|
31
|
-
/** 流程审批单据详情行项目 */
|
|
32
|
-
interface ApproveOutlineDataItem {
|
|
33
|
-
properties: { key: string; value: string }[];
|
|
34
|
-
attachments?: null;
|
|
35
|
-
itemTitle?: string; // '机票信息';
|
|
36
|
-
items?: ApproveOutlineDataItem[];
|
|
37
|
-
tile?: false;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* 流程审批通用单据详情
|
|
41
|
-
*/
|
|
42
|
-
interface ApproveOutlineData {
|
|
43
|
-
businessDocIds?: string[];
|
|
44
|
-
head?: { key: string; value: string }[];
|
|
45
|
-
items?: ApproveOutlineDataItem[];
|
|
46
|
-
haveDetail?: true;
|
|
47
|
-
headTitle?: string; // "商旅结算单:(Q000)四川虹信软件股份有限公司-2022-02"
|
|
48
|
-
invoiceDocIds?: null | string[];
|
|
49
|
-
invoiceItems?: InvoiceItem[];
|
|
50
|
-
shareOrderDocIds?: null | string[];
|
|
51
|
-
tags?: (TagProps & { title: string })[];
|
|
52
|
-
linkList?: {
|
|
53
|
-
/**
|
|
54
|
-
* 显示的文字
|
|
55
|
-
*/
|
|
56
|
-
key: string;
|
|
57
|
-
/**
|
|
58
|
-
* 链接地址
|
|
59
|
-
*/
|
|
60
|
-
value: string;
|
|
61
|
-
}[];
|
|
62
|
-
attachments?: {
|
|
63
|
-
infos: {
|
|
64
|
-
/**
|
|
65
|
-
* 附件id
|
|
66
|
-
*/
|
|
67
|
-
docId: string;
|
|
68
|
-
/**
|
|
69
|
-
* 附件类型
|
|
70
|
-
*/
|
|
71
|
-
documentType?: string; //附件类型
|
|
72
|
-
/**
|
|
73
|
-
* 附件名称
|
|
74
|
-
*/
|
|
75
|
-
fileName?: string; //附件名称
|
|
76
|
-
/**
|
|
77
|
-
* 附件大小
|
|
78
|
-
*/
|
|
79
|
-
fileSize?: number; //附件大小
|
|
80
|
-
}[];
|
|
81
|
-
/**
|
|
82
|
-
* 附件分类名称,默认为“附件”
|
|
83
|
-
*/
|
|
84
|
-
title?: string;
|
|
85
|
-
}[];
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
import { TagProps } from 'antd-mobile';
|
|
2
|
-
|
|
3
|
-
declare global {
|
|
4
|
-
declare namespace Service {
|
|
5
|
-
namespace BPM {
|
|
6
|
-
interface Organization {
|
|
7
|
-
id: string;
|
|
8
|
-
code: string;
|
|
9
|
-
name: string;
|
|
10
|
-
shortName: string;
|
|
11
|
-
refCode: string;
|
|
12
|
-
nodeLevel: number;
|
|
13
|
-
codePath: string;
|
|
14
|
-
namePath: string;
|
|
15
|
-
parentId: null | string;
|
|
16
|
-
rank: number;
|
|
17
|
-
tenantCode: string;
|
|
18
|
-
frozen: boolean;
|
|
19
|
-
children: Organization[];
|
|
20
|
-
creatorId: null;
|
|
21
|
-
creatorAccount: null;
|
|
22
|
-
creatorName: null;
|
|
23
|
-
createdDate: null;
|
|
24
|
-
lastEditorId: null;
|
|
25
|
-
lastEditorAccount: null;
|
|
26
|
-
lastEditorName: null;
|
|
27
|
-
lastEditedDate: null;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface Employee {
|
|
31
|
-
id: string;
|
|
32
|
-
code: string;
|
|
33
|
-
userName: string;
|
|
34
|
-
frozen: boolean;
|
|
35
|
-
createAdmin: boolean;
|
|
36
|
-
email: null | string;
|
|
37
|
-
organizationId: string;
|
|
38
|
-
organizationCode: string;
|
|
39
|
-
organizationName: string;
|
|
40
|
-
organizationCodePath: string;
|
|
41
|
-
organizationNamePath: string;
|
|
42
|
-
positionCode?: string;
|
|
43
|
-
positionId?: string;
|
|
44
|
-
positionName?: string;
|
|
45
|
-
remark?: string;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
interface Executor
|
|
49
|
-
extends Pick<
|
|
50
|
-
Employee,
|
|
51
|
-
| 'id'
|
|
52
|
-
| 'code'
|
|
53
|
-
| 'organizationId'
|
|
54
|
-
| 'organizationCode'
|
|
55
|
-
| 'organizationName'
|
|
56
|
-
| 'positionCode'
|
|
57
|
-
| 'positionId'
|
|
58
|
-
| 'positionName'
|
|
59
|
-
| 'remark'
|
|
60
|
-
> {
|
|
61
|
-
name: string;
|
|
62
|
-
}
|
|
63
|
-
type ExecutorType = 'RadioBox' | 'CheckBox' | 'ReadOnly';
|
|
64
|
-
|
|
65
|
-
interface NextNodeInfo {
|
|
66
|
-
allowChooseInstancy: boolean;
|
|
67
|
-
chooseExecutorType: ExecutorType;
|
|
68
|
-
chooseTypeRemark: string;
|
|
69
|
-
executorList?: Executor[];
|
|
70
|
-
executorType: string | 'AnyOne';
|
|
71
|
-
executorTypeRemark: string;
|
|
72
|
-
id: string;
|
|
73
|
-
manualSelected: false;
|
|
74
|
-
name: string; // '部门领导审批';
|
|
75
|
-
nodeType: string; // 'Approve';
|
|
76
|
-
nodeTypeRemark: string; // '审批任务';
|
|
77
|
-
solidifyNode: boolean;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
interface UsualOpinion {
|
|
81
|
-
id: string;
|
|
82
|
-
businessModuleId?: string;
|
|
83
|
-
businessModuleName?: string;
|
|
84
|
-
businessEntityId?: string;
|
|
85
|
-
businessEntityName?: string;
|
|
86
|
-
flowTypeId?: string;
|
|
87
|
-
flowTypeName?: string;
|
|
88
|
-
code: string; // 'TY001';
|
|
89
|
-
opinion: string; // '同意';
|
|
90
|
-
rank: number;
|
|
91
|
-
tenantCode: string; // 'RCSIT';
|
|
92
|
-
private: boolean;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
interface TaskBusiness {
|
|
96
|
-
businessCode: string; // R000001632
|
|
97
|
-
businessEntityName: string; // 费用报销单
|
|
98
|
-
businessId: string; // 62525B0A-C250-11ED-BD09-0242C0A84419
|
|
99
|
-
businessModelRemark: string; // 【Q000】报销 (制单人:田一怡)
|
|
100
|
-
businessMoney: string; // 2115.00
|
|
101
|
-
businessName: string; // 费用报销单
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
interface TaskActionButton {
|
|
105
|
-
executeButton: string;
|
|
106
|
-
executeButtonRemark: string;
|
|
107
|
-
disagreeChooseReturnOrNot: false;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
interface TaskHead
|
|
111
|
-
extends Pick<
|
|
112
|
-
TaskBusiness,
|
|
113
|
-
'businessCode' | 'businessId' | 'businessModelRemark' | 'businessName'
|
|
114
|
-
> {
|
|
115
|
-
allowApproveAttachments: null | string[];
|
|
116
|
-
|
|
117
|
-
createFlowTime: string; // 2024-03-16 10:37:15
|
|
118
|
-
createFlowUserAccount: string;
|
|
119
|
-
createFlowUserName: string;
|
|
120
|
-
currentAuditScenesCode: null;
|
|
121
|
-
currentAuditScenesName: null;
|
|
122
|
-
currentShowLastAuditInfo: false;
|
|
123
|
-
defaultOpinion: null | string;
|
|
124
|
-
executeButtonList: null | TaskActionButton[];
|
|
125
|
-
flowInstanceId: string; // 1950148B-E33E-11EE-B430-A27E7C17739C
|
|
126
|
-
flowName: string; // 费用报销-智能接单-需比对
|
|
127
|
-
labelReason: null | string;
|
|
128
|
-
lastDocumentList: null | string[];
|
|
129
|
-
lastStepExecutionTime: null | string;
|
|
130
|
-
lastStepOpinion: null | string;
|
|
131
|
-
lastStepStartTime: null | string;
|
|
132
|
-
lastStepUserAccount: null | string;
|
|
133
|
-
lastStepUserName: null | string;
|
|
134
|
-
opinionList: null | UsualOpinion[];
|
|
135
|
-
phoneUrl: string; // Beimbursement
|
|
136
|
-
serviceName: string;
|
|
137
|
-
solidifyFlow: null | boolean;
|
|
138
|
-
taskName: null | string;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
interface DicisionNode {
|
|
142
|
-
chooseDicisionType: 'RadioBox' | 'ReadOnly';
|
|
143
|
-
chooseTypeRemark: string;
|
|
144
|
-
id: string;
|
|
145
|
-
name: string;
|
|
146
|
-
nodeType: string;
|
|
147
|
-
nodeTypeRemark: string;
|
|
148
|
-
select: boolean;
|
|
149
|
-
defaultChoose: boolean;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/** 流程审批单据详情行项目 */
|
|
153
|
-
interface ApproveOutlineDataItem {
|
|
154
|
-
properties: { key: string; value: string }[];
|
|
155
|
-
attachments?: null;
|
|
156
|
-
itemTitle?: string; // '机票信息';
|
|
157
|
-
items?: ApproveOutlineDataItem[];
|
|
158
|
-
tile?: false;
|
|
159
|
-
}
|
|
160
|
-
interface ApproveOutlineDataHead {
|
|
161
|
-
key: string;
|
|
162
|
-
value: string;
|
|
163
|
-
/**
|
|
164
|
-
* 详细信息类型,可选,不设置表示无详细信息。配置后,将以 popup 方式弹出详细信息。可选值:DEFAULT,LINK。
|
|
165
|
-
*/
|
|
166
|
-
detailType?: 'DEFAULT' | 'LINK';
|
|
167
|
-
/**
|
|
168
|
-
* detailType设为DEFAULT时,将按照待办的“移动端处理url”方式解析;LINK时,将通过iframe加载,再以popup方式展示该链接的内容。
|
|
169
|
-
*/
|
|
170
|
-
detailUrl?: string;
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* 流程审批通用单据详情
|
|
174
|
-
*/
|
|
175
|
-
interface ApproveOutlineData {
|
|
176
|
-
businessDocIds?: string[];
|
|
177
|
-
head?: ApproveOutlineDataHead[];
|
|
178
|
-
items?: ApproveOutlineDataItem[];
|
|
179
|
-
haveDetail?: true;
|
|
180
|
-
headTitle?: string; // "商旅结算单:(Q000)四川虹信软件股份有限公司-2022-02"
|
|
181
|
-
invoiceDocIds?: null | string[];
|
|
182
|
-
invoiceItems?: InvoiceItem[];
|
|
183
|
-
shareOrderDocIds?: null | string[];
|
|
184
|
-
tags?: (TagProps & { title: string })[];
|
|
185
|
-
linkList?: {
|
|
186
|
-
/**
|
|
187
|
-
* 显示的文字
|
|
188
|
-
*/
|
|
189
|
-
key: string;
|
|
190
|
-
/**
|
|
191
|
-
* 链接地址
|
|
192
|
-
*/
|
|
193
|
-
value: string;
|
|
194
|
-
}[];
|
|
195
|
-
attachments?: {
|
|
196
|
-
infos: {
|
|
197
|
-
/**
|
|
198
|
-
* 附件id
|
|
199
|
-
*/
|
|
200
|
-
docId: string;
|
|
201
|
-
/**
|
|
202
|
-
* 附件类型
|
|
203
|
-
*/
|
|
204
|
-
documentType?: string; //附件类型
|
|
205
|
-
/**
|
|
206
|
-
* 附件名称
|
|
207
|
-
*/
|
|
208
|
-
fileName?: string; //附件名称
|
|
209
|
-
/**
|
|
210
|
-
* 附件大小
|
|
211
|
-
*/
|
|
212
|
-
fileSize?: number; //附件大小
|
|
213
|
-
}[];
|
|
214
|
-
/**
|
|
215
|
-
* 附件分类名称,默认为“附件”
|
|
216
|
-
*/
|
|
217
|
-
title?: string;
|
|
218
|
-
}[];
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
interface FlowType {
|
|
222
|
-
flowDefinitionKey: string;
|
|
223
|
-
flowDefinitionName: string;
|
|
224
|
-
flowDefinitionId: string;
|
|
225
|
-
flowTypeName: string;
|
|
226
|
-
flowTypeId: string;
|
|
227
|
-
solidifyFlow?: boolean;
|
|
228
|
-
appointExecutorAtStart: boolean;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* 流程初始节点信息
|
|
233
|
-
*/
|
|
234
|
-
interface UsableFlowListData {
|
|
235
|
-
usableFlowList: FlowType[];
|
|
236
|
-
nodeListOfFirstUsableFlow: NextNodeInfo[];
|
|
237
|
-
solidifyFlow?: boolean;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
declare namespace Service {
|
|
2
|
-
namespace FindByPage {
|
|
3
|
-
type SortType = 'ASC' | 'DESC';
|
|
4
|
-
interface SortOrder {
|
|
5
|
-
direction: SortType;
|
|
6
|
-
property: string;
|
|
7
|
-
}
|
|
8
|
-
type FilterOperator =
|
|
9
|
-
| 'EQ'
|
|
10
|
-
| 'NE'
|
|
11
|
-
| 'LK'
|
|
12
|
-
| 'NC'
|
|
13
|
-
| 'LLK'
|
|
14
|
-
| 'BN'
|
|
15
|
-
| 'RLK'
|
|
16
|
-
| 'EN'
|
|
17
|
-
| 'BT'
|
|
18
|
-
| 'GT'
|
|
19
|
-
| 'LT'
|
|
20
|
-
| 'GE'
|
|
21
|
-
| 'LE'
|
|
22
|
-
| 'IN'
|
|
23
|
-
| 'BK'
|
|
24
|
-
| 'NB'
|
|
25
|
-
| 'NU'
|
|
26
|
-
| 'NN'
|
|
27
|
-
| 'PLT'
|
|
28
|
-
| 'PLE';
|
|
29
|
-
interface Filter {
|
|
30
|
-
fieldName: string;
|
|
31
|
-
fieldType?: string;
|
|
32
|
-
operator?: FilterOperator;
|
|
33
|
-
value: any;
|
|
34
|
-
}
|
|
35
|
-
interface RequestParams {
|
|
36
|
-
filters?: Filter[];
|
|
37
|
-
quickSearchProperties?: string[];
|
|
38
|
-
quickSearchValue?: string;
|
|
39
|
-
sortOrders?: SortOrder[];
|
|
40
|
-
[key: string]: any;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
interface ResponseData<T = any> {
|
|
44
|
-
page: number;
|
|
45
|
-
/** 总条数 */
|
|
46
|
-
records: number;
|
|
47
|
-
rows: T[];
|
|
48
|
-
summaryInfo: null;
|
|
49
|
-
/** 总分页数量 */
|
|
50
|
-
total: number;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
interface InvoiceItem {
|
|
54
|
-
amount: number;
|
|
55
|
-
billingDate: string;
|
|
56
|
-
buyerName: string;
|
|
57
|
-
buyerTaxCode: string;
|
|
58
|
-
checkCode: null;
|
|
59
|
-
createdDate: string;
|
|
60
|
-
creatorAccount: string;
|
|
61
|
-
creatorId: string;
|
|
62
|
-
creatorName: string;
|
|
63
|
-
deleted: 0 | 1;
|
|
64
|
-
edmCutDocId: string;
|
|
65
|
-
edmDocId: string;
|
|
66
|
-
id: string;
|
|
67
|
-
inputMode: string;
|
|
68
|
-
inputModeEnumRemark: string;
|
|
69
|
-
inspectionWarn: null;
|
|
70
|
-
invoiceCode: null;
|
|
71
|
-
invoiceNumber: string;
|
|
72
|
-
invoiceState: null;
|
|
73
|
-
invoiceTypeCode: string;
|
|
74
|
-
invoiceTypeName: string;
|
|
75
|
-
itemNo: null;
|
|
76
|
-
lastEditedDate: string;
|
|
77
|
-
lastEditorAccount: string;
|
|
78
|
-
lastEditorId: string;
|
|
79
|
-
lastEditorName: string;
|
|
80
|
-
notes: null;
|
|
81
|
-
requestId: string;
|
|
82
|
-
sellerName: string;
|
|
83
|
-
sellerTaxCode: string;
|
|
84
|
-
sourceId: string;
|
|
85
|
-
tax: number;
|
|
86
|
-
taxAmount: number;
|
|
87
|
-
taxRate: number;
|
|
88
|
-
tenantCode: string;
|
|
89
|
-
}
|
|
90
|
-
}
|
package/dist/es/types/index.d.ts
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from 'antd-mobile';
|
|
2
|
-
|
|
3
|
-
declare global {
|
|
4
|
-
declare namespace Service {
|
|
5
|
-
namespace ApproveOutline {
|
|
6
|
-
interface BaseDataType {
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated use `label` instead
|
|
9
|
-
*/
|
|
10
|
-
key?: string;
|
|
11
|
-
value: string | number;
|
|
12
|
-
|
|
13
|
-
label?: string;
|
|
14
|
-
color?: ButtonProps['color'];
|
|
15
|
-
}
|
|
16
|
-
interface StringData extends BaseDataType {
|
|
17
|
-
value: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface NumberData extends BaseDataType {
|
|
21
|
-
value: number;
|
|
22
|
-
thousands?: boolean;
|
|
23
|
-
digits?: number;
|
|
24
|
-
symbol?: string;
|
|
25
|
-
symbolPosition?: 'start' | 'end';
|
|
26
|
-
preset?: 'money';
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
type DataType = StringData | NumberData;
|
|
30
|
-
|
|
31
|
-
/** 流程审批单据详情行项目 */
|
|
32
|
-
interface ApproveOutlineDataItem {
|
|
33
|
-
properties: { key: string; value: string }[];
|
|
34
|
-
attachments?: null;
|
|
35
|
-
itemTitle?: string; // '机票信息';
|
|
36
|
-
items?: ApproveOutlineDataItem[];
|
|
37
|
-
tile?: false;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* 流程审批通用单据详情
|
|
41
|
-
*/
|
|
42
|
-
interface ApproveOutlineData {
|
|
43
|
-
businessDocIds?: string[];
|
|
44
|
-
head?: { key: string; value: string }[];
|
|
45
|
-
items?: ApproveOutlineDataItem[];
|
|
46
|
-
haveDetail?: true;
|
|
47
|
-
headTitle?: string; // "商旅结算单:(Q000)四川虹信软件股份有限公司-2022-02"
|
|
48
|
-
invoiceDocIds?: null | string[];
|
|
49
|
-
invoiceItems?: InvoiceItem[];
|
|
50
|
-
shareOrderDocIds?: null | string[];
|
|
51
|
-
tags?: (TagProps & { title: string })[];
|
|
52
|
-
linkList?: {
|
|
53
|
-
/**
|
|
54
|
-
* 显示的文字
|
|
55
|
-
*/
|
|
56
|
-
key: string;
|
|
57
|
-
/**
|
|
58
|
-
* 链接地址
|
|
59
|
-
*/
|
|
60
|
-
value: string;
|
|
61
|
-
}[];
|
|
62
|
-
attachments?: {
|
|
63
|
-
infos: {
|
|
64
|
-
/**
|
|
65
|
-
* 附件id
|
|
66
|
-
*/
|
|
67
|
-
docId: string;
|
|
68
|
-
/**
|
|
69
|
-
* 附件类型
|
|
70
|
-
*/
|
|
71
|
-
documentType?: string; //附件类型
|
|
72
|
-
/**
|
|
73
|
-
* 附件名称
|
|
74
|
-
*/
|
|
75
|
-
fileName?: string; //附件名称
|
|
76
|
-
/**
|
|
77
|
-
* 附件大小
|
|
78
|
-
*/
|
|
79
|
-
fileSize?: number; //附件大小
|
|
80
|
-
}[];
|
|
81
|
-
/**
|
|
82
|
-
* 附件分类名称,默认为“附件”
|
|
83
|
-
*/
|
|
84
|
-
title?: string;
|
|
85
|
-
}[];
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|