Commit 2333927a779ab84b6b55b9cd0348a046ee7ee49a
1 parent
795fbf6d
feat: 开票详情弹窗样式调整
Showing
9 changed files
with
3038 additions
and
361 deletions
.idea/.name
0 → 100644
1 | +front_project | ... | ... |
.idea/UniappTool.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<project version="4"> | |
3 | + <component name="cn.fjdmy.uniapp.UniappProjectDataService"> | |
4 | + <option name="generalBasePath" value="$PROJECT_DIR$" /> | |
5 | + <option name="manifestPath" value="$PROJECT_DIR$/manifest.json" /> | |
6 | + <option name="pagesPath" value="$PROJECT_DIR$/pages.json" /> | |
7 | + <option name="scanNum" value="1" /> | |
8 | + <option name="type" value="store" /> | |
9 | + </component> | |
10 | +</project> | ... | ... |
.idea/codeStyles/codeStyleConfig.xml
0 → 100644
.idea/rcb-settings.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<project version="4"> | |
3 | + <component name="ReactBuddyPluginProjectSettings"> | |
4 | + <option name="devServerConfigs"> | |
5 | + <DevServerState> | |
6 | + <option name="packageJsonPath" value="$PROJECT_DIR$/package.json" /> | |
7 | + <option name="scriptName" value="build" /> | |
8 | + </DevServerState> | |
9 | + </option> | |
10 | + </component> | |
11 | +</project> | ... | ... |
src/pages/Invoice/components/InvoiceDetailTable.tsx
... | ... | @@ -3,9 +3,7 @@ import { InvoiceProjectSelect } from '@/pages/Invoice/components/InvoiceProjectS |
3 | 3 | import { |
4 | 4 | ActionType, |
5 | 5 | EditableProTable, |
6 | - ProCard, | |
7 | 6 | ProColumns, |
8 | - ProFormField, | |
9 | 7 | } from '@ant-design/pro-components'; |
10 | 8 | import { useEffect, useRef, useState } from 'react'; |
11 | 9 | |
... | ... | @@ -100,7 +98,6 @@ export default ({ recordId, details, updateDetails, readOnly }) => { |
100 | 98 | return ( |
101 | 99 | <> |
102 | 100 | <EditableProTable |
103 | - headerTitle="可编辑表格" | |
104 | 101 | columns={columns} |
105 | 102 | actionRef={ref} |
106 | 103 | rowKey="tid" |
... | ... | @@ -132,12 +129,9 @@ export default ({ recordId, details, updateDetails, readOnly }) => { |
132 | 129 | }, |
133 | 130 | |
134 | 131 | onValuesChange: (record, recordList) => { |
135 | - console.log('reList' + JSON.stringify(recordList)); | |
136 | - console.log(record); | |
137 | - console.log('ip' + JSON.stringify(invoiceProject)); | |
138 | 132 | //修改recordList中tid为record.tid的元素,将它的specification属性设置为invoiceProject的specification属性 |
139 | 133 | const records = recordList.map((item) => { |
140 | - if (item.tid === record.tid) { | |
134 | + if (record && item.tid === record.tid) { | |
141 | 135 | item.projectName = |
142 | 136 | '*' + |
143 | 137 | invoiceProject.productAndServiceCatagoryAbbreviation + |
... | ... | @@ -149,12 +143,11 @@ export default ({ recordId, details, updateDetails, readOnly }) => { |
149 | 143 | } |
150 | 144 | return item; |
151 | 145 | }); |
152 | - console.log('res' + JSON.stringify(records)); | |
153 | 146 | updateDetails(records); |
154 | 147 | }, |
155 | 148 | }} |
156 | 149 | /> |
157 | - <ProCard title="表格数据" headerBordered collapsible defaultCollapsed> | |
150 | + {/*<ProCard title="表格数据" headerBordered collapsible defaultCollapsed> | |
158 | 151 | <ProFormField |
159 | 152 | ignoreFormItem |
160 | 153 | fieldProps={{ |
... | ... | @@ -166,7 +159,7 @@ export default ({ recordId, details, updateDetails, readOnly }) => { |
166 | 159 | valueType="jsonCode" |
167 | 160 | text={JSON.stringify(details)} |
168 | 161 | /> |
169 | - </ProCard> | |
162 | + </ProCard>*/} | |
170 | 163 | </> |
171 | 164 | ); |
172 | 165 | }; | ... | ... |
src/pages/Invoice/components/InvoiceRecordDetailModal.tsx
... | ... | @@ -10,9 +10,11 @@ import { |
10 | 10 | import { enumToSelect } from '@/utils'; |
11 | 11 | import { |
12 | 12 | ModalForm, |
13 | + ProCard, | |
13 | 14 | ProForm, |
14 | 15 | ProFormFieldSet, |
15 | 16 | ProFormInstance, |
17 | + ProFormList, | |
16 | 18 | ProFormSelect, |
17 | 19 | ProFormText, |
18 | 20 | ProFormTextArea, |
... | ... | @@ -22,7 +24,6 @@ import { useEffect, useRef, useState } from 'react'; |
22 | 24 | |
23 | 25 | export default ({ id, setVisible }) => { |
24 | 26 | const [readOnly, setReadOnly] = useState(true); |
25 | - const [initialValues] = useState({}); | |
26 | 27 | const [detailTableData, setDetailTableData] = useState([]); |
27 | 28 | const [payees, setPayees] = useState([]); |
28 | 29 | const [payeeNameOptions, setPayeeNameOptions] = useState([]); |
... | ... | @@ -72,7 +73,6 @@ export default ({ id, setVisible }) => { |
72 | 73 | open |
73 | 74 | title="发票详情" |
74 | 75 | formRef={formRef} |
75 | - initialValues={initialValues} | |
76 | 76 | request={async () => { |
77 | 77 | let ret = await postServiceInvoiceGetInvoiceRecord({ |
78 | 78 | query: { |
... | ... | @@ -117,14 +117,14 @@ export default ({ id, setVisible }) => { |
117 | 117 | )} |
118 | 118 | </>, |
119 | 119 | /*<Button |
120 | - type={'default'} | |
121 | - key="ok" | |
122 | - onClick={() => { | |
123 | - setVisible(false) | |
124 | - }} | |
125 | - > | |
126 | - 取消 | |
127 | - </Button>,*/ | |
120 | + type={'default'} | |
121 | + key="ok" | |
122 | + onClick={() => { | |
123 | + setVisible(false) | |
124 | + }} | |
125 | + > | |
126 | + 取消 | |
127 | + </Button>,*/ | |
128 | 128 | ]; |
129 | 129 | }, |
130 | 130 | }} |
... | ... | @@ -137,6 +137,11 @@ export default ({ id, setVisible }) => { |
137 | 137 | setVisible(false); |
138 | 138 | }, |
139 | 139 | }} |
140 | + grid={true} | |
141 | + layout="horizontal" | |
142 | + rowProps={{ | |
143 | + gutter: [0, 0], | |
144 | + }} | |
140 | 145 | submitTimeout={2000} |
141 | 146 | onFinish={async (values) => { |
142 | 147 | const result = await postServiceInvoiceModifyRecord({ |
... | ... | @@ -153,205 +158,274 @@ export default ({ id, setVisible }) => { |
153 | 158 | return true; |
154 | 159 | }} |
155 | 160 | > |
156 | - 基础信息 | |
161 | + <ProCard | |
162 | + title="基础信息" | |
163 | + bordered | |
164 | + // | |
165 | + headStyle={{}} | |
166 | + headerBordered | |
167 | + size={'small'} | |
168 | + > | |
169 | + <ProForm.Group> | |
170 | + <ProFormText | |
171 | + readonly | |
172 | + name="id" | |
173 | + label="订单批号" | |
174 | + colProps={{ | |
175 | + span: 5, | |
176 | + }} | |
177 | + tooltip="最长为 24 位" | |
178 | + placeholder="请输入名称" | |
179 | + /> | |
180 | + | |
181 | + <ProFormText | |
182 | + readonly | |
183 | + width="md" | |
184 | + colProps={{ | |
185 | + span: 5, | |
186 | + }} | |
187 | + name="createByName" | |
188 | + label="销售代表" | |
189 | + placeholder="请输入名称" | |
190 | + /> | |
191 | + <ProFormText | |
192 | + readonly | |
193 | + width="md" | |
194 | + colProps={{ | |
195 | + span: 5, | |
196 | + }} | |
197 | + name="createTime" | |
198 | + label="申请时间" | |
199 | + placeholder="请输入名称" | |
200 | + /> | |
201 | + <ProFormSelect | |
202 | + name="type" | |
203 | + label="发票类型" | |
204 | + colProps={{ | |
205 | + span: 5, | |
206 | + }} | |
207 | + readonly={readOnly} | |
208 | + request={async () => { | |
209 | + let invoiceTypeRet = await postServiceConstInvoiceType(); | |
210 | + return enumToSelect(invoiceTypeRet.data); | |
211 | + }} | |
212 | + placeholder="Please select a country" | |
213 | + rules={[ | |
214 | + { required: true, message: 'Please select your country!' }, | |
215 | + ]} | |
216 | + /> | |
217 | + <ProFormSelect | |
218 | + name="invoicingType" | |
219 | + readonly={readOnly} | |
220 | + label="开具类型" | |
221 | + colProps={{ | |
222 | + span: 4, | |
223 | + }} | |
224 | + request={async () => { | |
225 | + let invoicingTypeRet = await postServiceConstInvoicingType(); | |
226 | + let options = enumToSelect(invoicingTypeRet.data); | |
227 | + return options; | |
228 | + }} | |
229 | + placeholder="Please select a country" | |
230 | + rules={[ | |
231 | + { required: true, message: 'Please select your country!' }, | |
232 | + ]} | |
233 | + /> | |
234 | + <ProFormFieldSet | |
235 | + name="list" | |
236 | + label="子订单号" | |
237 | + transform={(value: any) => ({ | |
238 | + list: value, | |
239 | + startTime: value[0], | |
240 | + endTime: value[1], | |
241 | + })} | |
242 | + > | |
243 | + <ProFormList | |
244 | + name="subOrderIds" | |
245 | + creatorButtonProps={false} | |
246 | + itemRender={({}, { record }) => { | |
247 | + return ( | |
248 | + <> | |
249 | + <Button | |
250 | + className="pl-1 pr-0" | |
251 | + type="link" | |
252 | + target="_blank" | |
253 | + href={'/order?subOrderId=' + record} | |
254 | + > | |
255 | + {record} | |
256 | + </Button> | |
257 | + <Divider type="vertical" /> | |
258 | + </> | |
259 | + ); | |
260 | + }} | |
261 | + > | |
262 | + <ProFormText allowClear={false} width="xs" name={['name']} /> | |
263 | + </ProFormList> | |
264 | + </ProFormFieldSet> | |
265 | + </ProForm.Group> | |
266 | + </ProCard> | |
157 | 267 | <hr /> |
158 | - <ProForm.Group> | |
159 | - <ProFormText | |
160 | - readonly | |
161 | - name="id" | |
162 | - label="订单批号" | |
163 | - tooltip="最长为 24 位" | |
164 | - placeholder="请输入名称" | |
165 | - /> | |
268 | + <ProCard title="购方信息" bordered headerBordered size={'small'}> | |
269 | + <ProForm.Group> | |
270 | + <ProFormText | |
271 | + readonly={readOnly} | |
272 | + width="md" | |
273 | + colProps={{ | |
274 | + span: 8, | |
275 | + }} | |
276 | + name="partyAName" | |
277 | + label="购方名称" | |
278 | + placeholder="请输入名称" | |
279 | + /> | |
280 | + <ProFormText | |
281 | + readonly={readOnly} | |
282 | + width="md" | |
283 | + colProps={{ | |
284 | + span: 8, | |
285 | + }} | |
286 | + name="partyATaxid" | |
287 | + label="购方税号" | |
288 | + placeholder="请输入名称" | |
289 | + /> | |
290 | + <ProFormText | |
291 | + readonly={readOnly} | |
292 | + width="md" | |
293 | + colProps={{ | |
294 | + span: 8, | |
295 | + }} | |
296 | + label="开户银行" | |
297 | + name={'partyAOpenBank'} | |
298 | + placeholder="请输入名称" | |
299 | + /> | |
300 | + <ProFormText | |
301 | + readonly={readOnly} | |
302 | + width="md" | |
303 | + colProps={{ | |
304 | + span: 8, | |
305 | + }} | |
306 | + name="partyABankAccount" | |
307 | + label="银行账号" | |
308 | + placeholder="请输入名称" | |
309 | + /> | |
310 | + <ProFormText | |
311 | + readonly={readOnly} | |
312 | + width="md" | |
313 | + colProps={{ | |
314 | + span: 8, | |
315 | + }} | |
316 | + name="partyAAddress" | |
317 | + label="购方地址" | |
318 | + placeholder="请输入名称" | |
319 | + /> | |
320 | + <ProFormText | |
321 | + readonly={readOnly} | |
322 | + width="md" | |
323 | + colProps={{ | |
324 | + span: 8, | |
325 | + }} | |
326 | + name="partyAPhoneNumber" | |
327 | + label="电话" | |
328 | + placeholder="请输入名称" | |
329 | + /> | |
330 | + </ProForm.Group> | |
331 | + </ProCard> | |
332 | + <hr /> | |
333 | + <ProCard title="销方信息" bordered headerBordered size={'small'}> | |
334 | + <ProForm.Group> | |
335 | + <ProFormSelect | |
336 | + readonly={readOnly} | |
337 | + width="md" | |
338 | + name="partyBName" | |
339 | + options={payeeNameOptions} | |
340 | + onChange={(value: any) => { | |
341 | + let payee = payees.find((item: any) => { | |
342 | + return item.payeeName === value; | |
343 | + }); | |
344 | + console.log(JSON.stringify(payee)); | |
345 | + form.setFieldsValue({ | |
346 | + partyBTaxid: payee.taxId, | |
347 | + partyBBankAccount: payee.bankAccount, | |
348 | + partyBOpenBank: payee.openBank, | |
349 | + partyBAddress: payee.address, | |
350 | + partyBPhoneNumber: payee.phoneNumber, | |
351 | + }); | |
352 | + }} | |
353 | + label="销方名称" | |
354 | + colProps={{ | |
355 | + span: 8, | |
356 | + }} | |
357 | + placeholder="请输入名称" | |
358 | + /> | |
166 | 359 | |
167 | - <ProFormText | |
168 | - readonly | |
169 | - width="md" | |
170 | - name="createByName" | |
171 | - label="销售代表" | |
172 | - placeholder="请输入名称" | |
173 | - /> | |
174 | - <ProFormText | |
175 | - readonly | |
176 | - width="md" | |
177 | - name="createTime" | |
178 | - label="申请时间" | |
179 | - placeholder="请输入名称" | |
180 | - /> | |
181 | - <ProFormSelect | |
182 | - name="type" | |
183 | - label="发票类型" | |
184 | - readonly={readOnly} | |
185 | - request={async () => { | |
186 | - let invoiceTypeRet = await postServiceConstInvoiceType(); | |
187 | - return enumToSelect(invoiceTypeRet.data); | |
188 | - }} | |
189 | - placeholder="Please select a country" | |
190 | - rules={[ | |
191 | - { required: true, message: 'Please select your country!' }, | |
192 | - ]} | |
193 | - /> | |
194 | - <ProFormSelect | |
195 | - name="invoicingType" | |
196 | - readonly={readOnly} | |
197 | - label="开具类型" | |
198 | - request={async () => { | |
199 | - let invoicingTypeRet = await postServiceConstInvoicingType(); | |
200 | - let options = enumToSelect(invoicingTypeRet.data); | |
201 | - return options; | |
202 | - }} | |
203 | - placeholder="Please select a country" | |
204 | - rules={[ | |
205 | - { required: true, message: 'Please select your country!' }, | |
206 | - ]} | |
207 | - /> | |
208 | - <ProFormFieldSet | |
209 | - name="list" | |
210 | - label="子订单号" | |
211 | - transform={(value: any) => ({ | |
212 | - list: value, | |
213 | - startTime: value[0], | |
214 | - endTime: value[1], | |
215 | - })} | |
216 | - > | |
217 | - {initialValues?.subOrderIds?.map((item) => { | |
218 | - return ( | |
219 | - <> | |
220 | - <Button | |
221 | - className="pl-1 pr-0" | |
222 | - type="link" | |
223 | - target="_blank" | |
224 | - href={'/order?subOrderId=' + item} | |
225 | - > | |
226 | - {item} | |
227 | - </Button> | |
228 | - <Divider type="vertical" /> | |
229 | - </> | |
230 | - ); | |
231 | - })} | |
232 | - </ProFormFieldSet> | |
233 | - </ProForm.Group> | |
234 | - 购方信息 | |
360 | + <ProFormText | |
361 | + readonly | |
362 | + width="md" | |
363 | + name="partyBTaxid" | |
364 | + label="销方税号" | |
365 | + colProps={{ | |
366 | + span: 8, | |
367 | + }} | |
368 | + placeholder="请输入名称" | |
369 | + /> | |
370 | + <ProFormText | |
371 | + readonly | |
372 | + width="md" | |
373 | + name="partyBOpenBank" | |
374 | + label="开户银行" | |
375 | + colProps={{ | |
376 | + span: 8, | |
377 | + }} | |
378 | + placeholder="请输入名称" | |
379 | + /> | |
380 | + <ProFormText | |
381 | + readonly | |
382 | + width="md" | |
383 | + name="partyBBankAccount" | |
384 | + label="银行账号" | |
385 | + colProps={{ | |
386 | + span: 8, | |
387 | + }} | |
388 | + placeholder="请输入名称" | |
389 | + /> | |
390 | + <ProFormText | |
391 | + readonly | |
392 | + width="md" | |
393 | + colProps={{ | |
394 | + span: 8, | |
395 | + }} | |
396 | + name="partyBAddress" | |
397 | + label="销方地址" | |
398 | + placeholder="请输入名称" | |
399 | + /> | |
400 | + <ProFormText | |
401 | + readonly | |
402 | + width="md" | |
403 | + colProps={{ | |
404 | + span: 8, | |
405 | + }} | |
406 | + name="partyBPhoneNumber" | |
407 | + label="电话" | |
408 | + placeholder="请输入名称" | |
409 | + /> | |
410 | + </ProForm.Group> | |
411 | + </ProCard> | |
235 | 412 | <hr /> |
236 | - <ProForm.Group> | |
237 | - <ProFormText | |
238 | - readonly={readOnly} | |
239 | - width="md" | |
240 | - name="partyAName" | |
241 | - label="购方名称" | |
242 | - placeholder="请输入名称" | |
413 | + <ProCard title="发票明细" bordered headerBordered size={'small'}> | |
414 | + <InvoiceDetailTable | |
415 | + recordId={id} | |
416 | + details={detailTableData} | |
417 | + updateDetails={updateDetails} | |
418 | + readOnly={readOnly} | |
243 | 419 | /> |
244 | - <ProFormText | |
245 | - readonly={readOnly} | |
246 | - width="md" | |
247 | - name="partyATaxid" | |
248 | - label="购方税号" | |
249 | - placeholder="请输入名称" | |
250 | - /> | |
251 | - <ProFormText | |
252 | - readonly={readOnly} | |
253 | - width="md" | |
254 | - label="开户银行" | |
255 | - name={'partyAOpenBank'} | |
256 | - placeholder="请输入名称" | |
257 | - /> | |
258 | - <ProFormText | |
259 | - readonly={readOnly} | |
260 | - width="md" | |
261 | - name="partyABankAccount" | |
262 | - label="银行账号" | |
263 | - placeholder="请输入名称" | |
264 | - /> | |
265 | - <ProFormText | |
266 | - readonly={readOnly} | |
267 | - width="md" | |
268 | - name="partyAAddress" | |
269 | - label="购方地址" | |
270 | - placeholder="请输入名称" | |
271 | - /> | |
272 | - <ProFormText | |
273 | - readonly={readOnly} | |
274 | - width="md" | |
275 | - name="partyAPhoneNumber" | |
276 | - label="电话" | |
277 | - placeholder="请输入名称" | |
278 | - /> | |
279 | - </ProForm.Group> | |
280 | - 销方信息 | |
420 | + </ProCard> | |
281 | 421 | <hr /> |
282 | - <ProForm.Group> | |
283 | - <ProFormSelect | |
422 | + <ProCard title="备注" bordered headerBordered size={'small'}> | |
423 | + <ProFormTextArea | |
284 | 424 | readonly={readOnly} |
285 | - width="md" | |
286 | - name="partyBName" | |
287 | - options={payeeNameOptions} | |
288 | - onChange={(value: any) => { | |
289 | - let payee = payees.find((item: any) => { | |
290 | - return item.payeeName === value; | |
291 | - }); | |
292 | - console.log(JSON.stringify(payee)); | |
293 | - form.setFieldsValue({ | |
294 | - partyBTaxid: payee.taxId, | |
295 | - partyBBankAccount: payee.bankAccount, | |
296 | - partyBOpenBank: payee.openBank, | |
297 | - partyBAddress: payee.address, | |
298 | - partyBPhoneNumber: payee.phoneNumber, | |
299 | - }); | |
300 | - }} | |
301 | - label="销方名称" | |
302 | - placeholder="请输入名称" | |
303 | - /> | |
304 | - | |
305 | - <ProFormText | |
306 | - readonly | |
307 | - width="md" | |
308 | - name="partyBTaxid" | |
309 | - label="销方税号" | |
310 | - placeholder="请输入名称" | |
311 | - /> | |
312 | - <ProFormText | |
313 | - readonly | |
314 | - width="md" | |
315 | - name="partyBOpenBank" | |
316 | - label="开户银行" | |
317 | - placeholder="请输入名称" | |
425 | + name="comment" | |
426 | + placeholder="请输入备注" | |
318 | 427 | /> |
319 | - <ProFormText | |
320 | - readonly | |
321 | - width="md" | |
322 | - name="partyBBankAccount" | |
323 | - label="银行账号" | |
324 | - placeholder="请输入名称" | |
325 | - /> | |
326 | - <ProFormText | |
327 | - readonly | |
328 | - width="md" | |
329 | - name="partyBAddress" | |
330 | - label="销方地址" | |
331 | - placeholder="请输入名称" | |
332 | - /> | |
333 | - <ProFormText | |
334 | - readonly | |
335 | - width="md" | |
336 | - name="partyBPhoneNumber" | |
337 | - label="电话" | |
338 | - placeholder="请输入名称" | |
339 | - /> | |
340 | - </ProForm.Group> | |
341 | - 订单信息 | |
342 | - <hr /> | |
343 | - <InvoiceDetailTable | |
344 | - recordId={id} | |
345 | - details={detailTableData} | |
346 | - updateDetails={updateDetails} | |
347 | - readOnly={readOnly} | |
348 | - /> | |
349 | - <ProFormTextArea | |
350 | - readonly={readOnly} | |
351 | - name="comment" | |
352 | - label="备注" | |
353 | - placeholder="请输入备注" | |
354 | - /> | |
428 | + </ProCard> | |
355 | 429 | </ModalForm> |
356 | 430 | </Space> |
357 | 431 | </> | ... | ... |
src/pages/Order/components/InvoicingDrawerForm.tsx
... | ... | @@ -205,6 +205,7 @@ export default ({ dataList, mainOrder, setVisible, onClose }) => { |
205 | 205 | label="开票明细" |
206 | 206 | initialValue={dataList.map((item) => { |
207 | 207 | return { |
208 | + subOrderId: item.id, | |
208 | 209 | projectName: item.productName, |
209 | 210 | specification: item.parameters, |
210 | 211 | unit: item.unit, |
... | ... | @@ -236,6 +237,12 @@ export default ({ dataList, mainOrder, setVisible, onClose }) => { |
236 | 237 | marginBlockEnd: 8, |
237 | 238 | }} |
238 | 239 | > |
240 | + <ProFormText | |
241 | + key={'subOrderId' + listMeta.index} | |
242 | + name="subOrderId" | |
243 | + label="子订单id" | |
244 | + hidden | |
245 | + /> | |
239 | 246 | <ProFormSelect |
240 | 247 | key={'projectName' + listMeta.index} |
241 | 248 | width="md" | ... | ... |
src/services/definition.ts
... | ... | @@ -572,6 +572,221 @@ export interface ApiQueryOrderStatusCountsRequest { |
572 | 572 | uid?: number; |
573 | 573 | } |
574 | 574 | |
575 | +export interface ApplyInvoiceDto { | |
576 | + /** | |
577 | + * @description | |
578 | + * 备注 | |
579 | + */ | |
580 | + applyInvoicingNotes?: string; | |
581 | + /** | |
582 | + * @description | |
583 | + * 开票备注 | |
584 | + */ | |
585 | + comment?: string; | |
586 | + /** | |
587 | + * @description | |
588 | + * 联系人 | |
589 | + */ | |
590 | + contacts?: string; | |
591 | + /** | |
592 | + * @description | |
593 | + * 开票内容 | |
594 | + */ | |
595 | + content?: string; | |
596 | + createByName?: string; | |
597 | + /** @format date-time */ | |
598 | + createTime?: string; | |
599 | + failureReason?: string; | |
600 | + /** | |
601 | + * @description | |
602 | + * id | |
603 | + * @format int64 | |
604 | + */ | |
605 | + id?: number; | |
606 | + /** | |
607 | + * @description | |
608 | + * 发票地址 | |
609 | + */ | |
610 | + invoiceAddress?: string; | |
611 | + /** | |
612 | + * @description | |
613 | + * 发票明细 | |
614 | + */ | |
615 | + invoiceDetails?: Array<InvoiceDetail>; | |
616 | + /** | |
617 | + * @description | |
618 | + * 关联发票id | |
619 | + */ | |
620 | + invoiceId?: string; | |
621 | + /** | |
622 | + * @description | |
623 | + * 发票号码 | |
624 | + */ | |
625 | + invoiceNumber?: string; | |
626 | + /** | |
627 | + * @description | |
628 | + * 开票人 | |
629 | + */ | |
630 | + invoicingPerson?: string; | |
631 | + /** | |
632 | + * @description | |
633 | + * 开票时间 | |
634 | + * @format date-time | |
635 | + */ | |
636 | + invoicingTime?: string; | |
637 | + /** | |
638 | + * @description | |
639 | + * 开具类型 | |
640 | + */ | |
641 | + invoicingType?: string; | |
642 | + /** | |
643 | + * @description | |
644 | + * 开具类型 | |
645 | + */ | |
646 | + invoicingTypeText?: string; | |
647 | + /** @format date */ | |
648 | + invoicingdate?: string; | |
649 | + /** | |
650 | + * @description | |
651 | + * 是否加急 | |
652 | + */ | |
653 | + isUrgent?: boolean; | |
654 | + /** | |
655 | + * @description | |
656 | + * 是否加急文本 | |
657 | + */ | |
658 | + isUrgentText?: string; | |
659 | + logicDelete?: boolean; | |
660 | + /** | |
661 | + * @description | |
662 | + * 买方注册地址 | |
663 | + */ | |
664 | + partyAAddress?: string; | |
665 | + /** | |
666 | + * @description | |
667 | + * 买方开户行账号 | |
668 | + */ | |
669 | + partyABankAccount?: string; | |
670 | + /** | |
671 | + * @description | |
672 | + * 买方名称 | |
673 | + */ | |
674 | + partyAName?: string; | |
675 | + /** | |
676 | + * @description | |
677 | + * 买方开户行 | |
678 | + */ | |
679 | + partyAOpenBank?: string; | |
680 | + /** | |
681 | + * @description | |
682 | + * 买方电话号码 | |
683 | + */ | |
684 | + partyAPhoneNumber?: string; | |
685 | + /** | |
686 | + * @description | |
687 | + * 买方税号 | |
688 | + */ | |
689 | + partyATaxid?: string; | |
690 | + /** | |
691 | + * @description | |
692 | + * 抬头类型 | |
693 | + */ | |
694 | + partyAType?: string; | |
695 | + partyB?: string; | |
696 | + /** | |
697 | + * @description | |
698 | + * 卖方注册地址 | |
699 | + */ | |
700 | + partyBAddress?: string; | |
701 | + /** | |
702 | + * @description | |
703 | + * 卖方开户行账号 | |
704 | + */ | |
705 | + partyBBankAccount?: string; | |
706 | + /** | |
707 | + * @description | |
708 | + * 卖方名称 | |
709 | + */ | |
710 | + partyBName?: string; | |
711 | + /** | |
712 | + * @description | |
713 | + * 卖方开户行 | |
714 | + */ | |
715 | + partyBOpenBank?: string; | |
716 | + /** | |
717 | + * @description | |
718 | + * 卖方电话号码 | |
719 | + */ | |
720 | + partyBPhoneNumber?: string; | |
721 | + /** | |
722 | + * @description | |
723 | + * 卖方税号 | |
724 | + */ | |
725 | + partyBTaxid?: string; | |
726 | + /** | |
727 | + * @description | |
728 | + * 发票金额 | |
729 | + * @format double | |
730 | + */ | |
731 | + price?: number; | |
732 | + /** | |
733 | + * @description | |
734 | + * 接收邮箱地址 | |
735 | + */ | |
736 | + receiveEmail?: string; | |
737 | + /** | |
738 | + * @description | |
739 | + * 订单来源 | |
740 | + */ | |
741 | + salesCodes?: Array<string>; | |
742 | + /** | |
743 | + * @description | |
744 | + * 订单来源 | |
745 | + */ | |
746 | + salesCodesText?: string; | |
747 | + /** | |
748 | + * @description | |
749 | + * 开票状态 | |
750 | + */ | |
751 | + status?: string; | |
752 | + /** | |
753 | + * @description | |
754 | + * 开票状态 | |
755 | + */ | |
756 | + statusText?: string; | |
757 | + /** | |
758 | + * @description | |
759 | + * 子订单id | |
760 | + */ | |
761 | + subOrderIds?: Array<number>; | |
762 | + /** | |
763 | + * @description | |
764 | + * 关联订单 | |
765 | + */ | |
766 | + subOrders?: Array<SubOrder>; | |
767 | + /** @format double */ | |
768 | + totalPrice?: number; | |
769 | + totalPriceText?: string; | |
770 | + /** | |
771 | + * @description | |
772 | + * 开票类型 | |
773 | + */ | |
774 | + type?: string; | |
775 | + /** | |
776 | + * @description | |
777 | + * 开票类型文本 | |
778 | + */ | |
779 | + typeText?: string; | |
780 | + /** | |
781 | + * @description | |
782 | + * 用户id | |
783 | + */ | |
784 | + uid?: string; | |
785 | + updateByName?: string; | |
786 | + /** @format date-time */ | |
787 | + updateTime?: string; | |
788 | +} | |
789 | + | |
575 | 790 | export interface AuditDto { |
576 | 791 | /** |
577 | 792 | * @description |
... | ... | @@ -1030,15 +1245,388 @@ export interface InvoiceDto { |
1030 | 1245 | status?: string; |
1031 | 1246 | } |
1032 | 1247 | |
1033 | -export interface InvoiceRecordQueryRequest { | |
1248 | +export interface InvoiceRecordDto { | |
1249 | + applyInvoicingNotes?: string; | |
1250 | + /** | |
1251 | + * @description | |
1252 | + * 开票备注 | |
1253 | + */ | |
1254 | + comment?: string; | |
1255 | + /** | |
1256 | + * @description | |
1257 | + * 联系人 | |
1258 | + */ | |
1259 | + contacts?: string; | |
1260 | + /** | |
1261 | + * @description | |
1262 | + * 开票内容 | |
1263 | + */ | |
1264 | + content?: string; | |
1265 | + createByName?: string; | |
1266 | + /** @format date-time */ | |
1267 | + createTime?: string; | |
1268 | + failureReason?: string; | |
1269 | + /** | |
1270 | + * @description | |
1271 | + * id | |
1272 | + * @format int64 | |
1273 | + */ | |
1274 | + id?: number; | |
1275 | + /** | |
1276 | + * @description | |
1277 | + * 发票地址 | |
1278 | + */ | |
1279 | + invoiceAddress?: string; | |
1280 | + /** | |
1281 | + * @description | |
1282 | + * 发票明细 | |
1283 | + */ | |
1284 | + invoiceDetails?: Array<InvoiceDetail>; | |
1285 | + /** | |
1286 | + * @description | |
1287 | + * 关联发票id | |
1288 | + */ | |
1289 | + invoiceId?: string; | |
1290 | + /** | |
1291 | + * @description | |
1292 | + * 发票号码 | |
1293 | + */ | |
1294 | + invoiceNumber?: string; | |
1295 | + /** | |
1296 | + * @description | |
1297 | + * 开票人 | |
1298 | + */ | |
1299 | + invoicingPerson?: string; | |
1300 | + /** | |
1301 | + * @description | |
1302 | + * 开票时间 | |
1303 | + * @format date-time | |
1304 | + */ | |
1305 | + invoicingTime?: string; | |
1306 | + /** | |
1307 | + * @description | |
1308 | + * 开具类型 | |
1309 | + */ | |
1310 | + invoicingType?: string; | |
1311 | + /** | |
1312 | + * @description | |
1313 | + * 开具类型 | |
1314 | + */ | |
1315 | + invoicingTypeText?: string; | |
1034 | 1316 | /** @format date */ |
1317 | + invoicingdate?: string; | |
1318 | + /** | |
1319 | + * @description | |
1320 | + * 是否加急 | |
1321 | + */ | |
1322 | + isUrgent?: boolean; | |
1323 | + /** | |
1324 | + * @description | |
1325 | + * 是否加急文本 | |
1326 | + */ | |
1327 | + isUrgentText?: string; | |
1328 | + logicDelete?: boolean; | |
1329 | + /** | |
1330 | + * @description | |
1331 | + * 买方注册地址 | |
1332 | + */ | |
1333 | + partyAAddress?: string; | |
1334 | + /** | |
1335 | + * @description | |
1336 | + * 买方开户行账号 | |
1337 | + */ | |
1338 | + partyABankAccount?: string; | |
1339 | + /** | |
1340 | + * @description | |
1341 | + * 买方名称 | |
1342 | + */ | |
1343 | + partyAName?: string; | |
1344 | + /** | |
1345 | + * @description | |
1346 | + * 买方开户行 | |
1347 | + */ | |
1348 | + partyAOpenBank?: string; | |
1349 | + /** | |
1350 | + * @description | |
1351 | + * 买方电话号码 | |
1352 | + */ | |
1353 | + partyAPhoneNumber?: string; | |
1354 | + /** | |
1355 | + * @description | |
1356 | + * 买方税号 | |
1357 | + */ | |
1358 | + partyATaxid?: string; | |
1359 | + /** | |
1360 | + * @description | |
1361 | + * 抬头类型 | |
1362 | + */ | |
1363 | + partyAType?: string; | |
1364 | + partyB?: string; | |
1365 | + /** | |
1366 | + * @description | |
1367 | + * 卖方注册地址 | |
1368 | + */ | |
1369 | + partyBAddress?: string; | |
1370 | + /** | |
1371 | + * @description | |
1372 | + * 卖方开户行账号 | |
1373 | + */ | |
1374 | + partyBBankAccount?: string; | |
1375 | + /** | |
1376 | + * @description | |
1377 | + * 卖方名称 | |
1378 | + */ | |
1379 | + partyBName?: string; | |
1380 | + /** | |
1381 | + * @description | |
1382 | + * 卖方开户行 | |
1383 | + */ | |
1384 | + partyBOpenBank?: string; | |
1385 | + /** | |
1386 | + * @description | |
1387 | + * 卖方电话号码 | |
1388 | + */ | |
1389 | + partyBPhoneNumber?: string; | |
1390 | + /** | |
1391 | + * @description | |
1392 | + * 卖方税号 | |
1393 | + */ | |
1394 | + partyBTaxid?: string; | |
1395 | + /** | |
1396 | + * @description | |
1397 | + * 发票金额 | |
1398 | + * @format double | |
1399 | + */ | |
1400 | + price?: number; | |
1401 | + /** | |
1402 | + * @description | |
1403 | + * 接收邮箱地址 | |
1404 | + */ | |
1405 | + receiveEmail?: string; | |
1406 | + /** | |
1407 | + * @description | |
1408 | + * 订单来源 | |
1409 | + */ | |
1410 | + salesCodes?: Array<string>; | |
1411 | + /** | |
1412 | + * @description | |
1413 | + * 订单来源 | |
1414 | + */ | |
1415 | + salesCodesText?: string; | |
1416 | + /** | |
1417 | + * @description | |
1418 | + * 开票状态 | |
1419 | + */ | |
1420 | + status?: string; | |
1421 | + /** | |
1422 | + * @description | |
1423 | + * 开票状态 | |
1424 | + */ | |
1425 | + statusText?: string; | |
1426 | + /** | |
1427 | + * @description | |
1428 | + * 子订单id | |
1429 | + */ | |
1430 | + subOrderIds?: Array<number>; | |
1431 | + /** | |
1432 | + * @description | |
1433 | + * 关联订单 | |
1434 | + */ | |
1435 | + subOrders?: Array<SubOrder>; | |
1436 | + /** @format double */ | |
1437 | + totalPrice?: number; | |
1438 | + totalPriceText?: string; | |
1439 | + /** | |
1440 | + * @description | |
1441 | + * 开票类型 | |
1442 | + */ | |
1443 | + type?: string; | |
1444 | + /** | |
1445 | + * @description | |
1446 | + * 开票类型文本 | |
1447 | + */ | |
1448 | + typeText?: string; | |
1449 | + /** | |
1450 | + * @description | |
1451 | + * 用户id | |
1452 | + */ | |
1453 | + uid?: string; | |
1454 | + updateByName?: string; | |
1455 | + /** @format date-time */ | |
1456 | + updateTime?: string; | |
1457 | +} | |
1458 | + | |
1459 | +export interface InvoiceRecordQueryRequest { | |
1460 | + /** | |
1461 | + * @description | |
1462 | + * 联系人 | |
1463 | + */ | |
1464 | + contactsLike?: string; | |
1465 | + /** @format date-time */ | |
1035 | 1466 | createTimeGe?: string; |
1036 | - /** @format date */ | |
1467 | + /** @format date-time */ | |
1037 | 1468 | createTimeLe?: string; |
1038 | 1469 | /** @format int32 */ |
1039 | - pageNumber?: number; | |
1470 | + current?: number; | |
1471 | + /** @format int32 */ | |
1472 | + end?: number; | |
1473 | + /** | |
1474 | + * @description | |
1475 | + * id | |
1476 | + * @format int64 | |
1477 | + */ | |
1478 | + id?: number; | |
1479 | + /** | |
1480 | + * @description | |
1481 | + * IdIn | |
1482 | + */ | |
1483 | + idIn?: Array<number>; | |
1484 | + /** | |
1485 | + * @description | |
1486 | + * 关联发票id | |
1487 | + */ | |
1488 | + invoiceId?: string; | |
1489 | + /** | |
1490 | + * @description | |
1491 | + * 发票号码 | |
1492 | + */ | |
1493 | + invoiceNumber?: string; | |
1494 | + /** | |
1495 | + * @description | |
1496 | + * 发票号码 | |
1497 | + */ | |
1498 | + invoiceNumberLike?: string; | |
1499 | + /** | |
1500 | + * @description | |
1501 | + * 开票时间 | |
1502 | + * @format date-time | |
1503 | + */ | |
1504 | + invoicingTimeGe?: string; | |
1505 | + /** | |
1506 | + * @description | |
1507 | + * 开票时间 | |
1508 | + * @format date-time | |
1509 | + */ | |
1510 | + invoicingTimeLe?: string; | |
1511 | + /** | |
1512 | + * @description | |
1513 | + * 开票类型 | |
1514 | + */ | |
1515 | + invoicingType?: string; | |
1516 | + /** | |
1517 | + * @description | |
1518 | + * 是否加急 | |
1519 | + */ | |
1520 | + isUrgent?: boolean; | |
1521 | + /** | |
1522 | + * @description | |
1523 | + * 订单号 | |
1524 | + * @format int64 | |
1525 | + */ | |
1526 | + mainOrderId?: number; | |
1527 | + /** | |
1528 | + * @description | |
1529 | + * 主订单idIn | |
1530 | + */ | |
1531 | + mainOrderIdIn?: Array<number>; | |
1532 | + /** | |
1533 | + * @description | |
1534 | + * 订单号 | |
1535 | + */ | |
1536 | + mainOrderIdLike?: string; | |
1537 | + /** | |
1538 | + * @description | |
1539 | + * 是否需要构建发票明细 | |
1540 | + */ | |
1541 | + needBuildDetails?: boolean; | |
1542 | + /** | |
1543 | + * @description | |
1544 | + * 是否需要构建发票明细 | |
1545 | + */ | |
1546 | + needBuildSubOrders?: boolean; | |
1547 | + /** @format int32 */ | |
1548 | + pageSize?: number; | |
1549 | + /** | |
1550 | + * @description | |
1551 | + * 买方名称 | |
1552 | + */ | |
1553 | + partyANameLike?: string; | |
1554 | + /** | |
1555 | + * @description | |
1556 | + * 买方电话号码 | |
1557 | + */ | |
1558 | + partyAPhoneNumberLike?: string; | |
1559 | + /** | |
1560 | + * @description | |
1561 | + * 买方税号 | |
1562 | + */ | |
1563 | + partyATaxid?: string; | |
1564 | + /** | |
1565 | + * @description | |
1566 | + * 买方税号 | |
1567 | + */ | |
1568 | + partyATaxidLike?: string; | |
1569 | + partyB?: string; | |
1570 | + /** | |
1571 | + * @description | |
1572 | + * 卖方名称 | |
1573 | + */ | |
1574 | + partyBName?: string; | |
1575 | + /** | |
1576 | + * @description | |
1577 | + * 销售代表 | |
1578 | + */ | |
1579 | + salesCode?: string; | |
1580 | + /** | |
1581 | + * @description | |
1582 | + * 销售代表 | |
1583 | + */ | |
1584 | + salesCodeLike?: string; | |
1585 | + /** @format int32 */ | |
1586 | + start?: number; | |
1587 | + /** | |
1588 | + * @description | |
1589 | + * 发票状态 | |
1590 | + */ | |
1591 | + status?: string; | |
1592 | + /** | |
1593 | + * @description | |
1594 | + * 状态非空 | |
1595 | + */ | |
1596 | + statusIn?: Array<string>; | |
1597 | + /** | |
1598 | + * @description | |
1599 | + * 状态非空 | |
1600 | + */ | |
1601 | + statusIsNotNull?: boolean; | |
1602 | + /** | |
1603 | + * @description | |
1604 | + * 状态为空 | |
1605 | + */ | |
1606 | + statusIsNull?: boolean; | |
1607 | + /** | |
1608 | + * @description | |
1609 | + * 子订单 | |
1610 | + * @format int64 | |
1611 | + */ | |
1612 | + subOrderId?: number; | |
1613 | + /** | |
1614 | + * @description | |
1615 | + * 子订单idIn | |
1616 | + */ | |
1617 | + subOrderIdIn?: Array<number>; | |
1618 | + /** | |
1619 | + * @description | |
1620 | + * 子订单 | |
1621 | + */ | |
1622 | + subOrderIdLike?: string; | |
1040 | 1623 | /** @format int32 */ |
1041 | - pageSize?: number; | |
1624 | + total?: number; | |
1625 | + /** | |
1626 | + * @description | |
1627 | + * 开票类型 | |
1628 | + */ | |
1629 | + type?: string; | |
1042 | 1630 | /** |
1043 | 1631 | * @description |
1044 | 1632 | * 用户id |
... | ... | @@ -1061,6 +1649,14 @@ export interface ItemSaItem { |
1061 | 1649 | |
1062 | 1650 | export interface MainOrderqueryRequest { |
1063 | 1651 | afterInvoicingStatusIsNull?: boolean; |
1652 | + /** @format date */ | |
1653 | + createDateGe?: string; | |
1654 | + /** @format date */ | |
1655 | + createDateLe?: string; | |
1656 | + /** @format date-time */ | |
1657 | + createTimeGe?: string; | |
1658 | + /** @format date-time */ | |
1659 | + createTimeLe?: string; | |
1064 | 1660 | orderStatusNotIn?: Array<string>; |
1065 | 1661 | /** @format int32 */ |
1066 | 1662 | pageNumber?: number; |
... | ... | @@ -1805,6 +2401,198 @@ export interface QueryInvoiceDetailDto { |
1805 | 2401 | invoiceId?: number; |
1806 | 2402 | } |
1807 | 2403 | |
2404 | +export interface QueryInvoiceProjectDto { | |
2405 | + /** @format int32 */ | |
2406 | + current?: number; | |
2407 | + /** @format int32 */ | |
2408 | + end?: number; | |
2409 | + nameLike?: string; | |
2410 | + /** @format int32 */ | |
2411 | + pageSize?: number; | |
2412 | + /** @format int32 */ | |
2413 | + start?: number; | |
2414 | + /** @format int32 */ | |
2415 | + total?: number; | |
2416 | +} | |
2417 | + | |
2418 | +export interface QueryInvoiceRecordDto { | |
2419 | + /** | |
2420 | + * @description | |
2421 | + * 联系人 | |
2422 | + */ | |
2423 | + contactsLike?: string; | |
2424 | + /** @format date-time */ | |
2425 | + createTimeGe?: string; | |
2426 | + /** @format date-time */ | |
2427 | + createTimeLe?: string; | |
2428 | + /** @format int32 */ | |
2429 | + current?: number; | |
2430 | + /** @format int32 */ | |
2431 | + end?: number; | |
2432 | + /** | |
2433 | + * @description | |
2434 | + * id | |
2435 | + * @format int64 | |
2436 | + */ | |
2437 | + id?: number; | |
2438 | + /** | |
2439 | + * @description | |
2440 | + * IdIn | |
2441 | + */ | |
2442 | + idIn?: Array<number>; | |
2443 | + /** | |
2444 | + * @description | |
2445 | + * 关联发票id | |
2446 | + */ | |
2447 | + invoiceId?: string; | |
2448 | + /** | |
2449 | + * @description | |
2450 | + * 发票号码 | |
2451 | + */ | |
2452 | + invoiceNumber?: string; | |
2453 | + /** | |
2454 | + * @description | |
2455 | + * 发票号码 | |
2456 | + */ | |
2457 | + invoiceNumberLike?: string; | |
2458 | + /** | |
2459 | + * @description | |
2460 | + * 开票时间 | |
2461 | + * @format date-time | |
2462 | + */ | |
2463 | + invoicingTimeGe?: string; | |
2464 | + /** | |
2465 | + * @description | |
2466 | + * 开票时间 | |
2467 | + * @format date-time | |
2468 | + */ | |
2469 | + invoicingTimeLe?: string; | |
2470 | + /** | |
2471 | + * @description | |
2472 | + * 开票类型 | |
2473 | + */ | |
2474 | + invoicingType?: string; | |
2475 | + /** | |
2476 | + * @description | |
2477 | + * 是否加急 | |
2478 | + */ | |
2479 | + isUrgent?: boolean; | |
2480 | + /** | |
2481 | + * @description | |
2482 | + * 订单号 | |
2483 | + * @format int64 | |
2484 | + */ | |
2485 | + mainOrderId?: number; | |
2486 | + /** | |
2487 | + * @description | |
2488 | + * 主订单idIn | |
2489 | + */ | |
2490 | + mainOrderIdIn?: Array<number>; | |
2491 | + /** | |
2492 | + * @description | |
2493 | + * 订单号 | |
2494 | + */ | |
2495 | + mainOrderIdLike?: string; | |
2496 | + /** | |
2497 | + * @description | |
2498 | + * 是否需要构建发票明细 | |
2499 | + */ | |
2500 | + needBuildDetails?: boolean; | |
2501 | + /** | |
2502 | + * @description | |
2503 | + * 是否需要构建发票明细 | |
2504 | + */ | |
2505 | + needBuildSubOrders?: boolean; | |
2506 | + /** @format int32 */ | |
2507 | + pageSize?: number; | |
2508 | + /** | |
2509 | + * @description | |
2510 | + * 买方名称 | |
2511 | + */ | |
2512 | + partyANameLike?: string; | |
2513 | + /** | |
2514 | + * @description | |
2515 | + * 买方电话号码 | |
2516 | + */ | |
2517 | + partyAPhoneNumberLike?: string; | |
2518 | + /** | |
2519 | + * @description | |
2520 | + * 买方税号 | |
2521 | + */ | |
2522 | + partyATaxid?: string; | |
2523 | + /** | |
2524 | + * @description | |
2525 | + * 买方税号 | |
2526 | + */ | |
2527 | + partyATaxidLike?: string; | |
2528 | + partyB?: string; | |
2529 | + /** | |
2530 | + * @description | |
2531 | + * 卖方名称 | |
2532 | + */ | |
2533 | + partyBName?: string; | |
2534 | + /** | |
2535 | + * @description | |
2536 | + * 销售代表 | |
2537 | + */ | |
2538 | + salesCode?: string; | |
2539 | + /** | |
2540 | + * @description | |
2541 | + * 销售代表 | |
2542 | + */ | |
2543 | + salesCodeLike?: string; | |
2544 | + /** @format int32 */ | |
2545 | + start?: number; | |
2546 | + /** | |
2547 | + * @description | |
2548 | + * 发票状态 | |
2549 | + */ | |
2550 | + status?: string; | |
2551 | + /** | |
2552 | + * @description | |
2553 | + * 状态非空 | |
2554 | + */ | |
2555 | + statusIn?: Array<string>; | |
2556 | + /** | |
2557 | + * @description | |
2558 | + * 状态非空 | |
2559 | + */ | |
2560 | + statusIsNotNull?: boolean; | |
2561 | + /** | |
2562 | + * @description | |
2563 | + * 状态为空 | |
2564 | + */ | |
2565 | + statusIsNull?: boolean; | |
2566 | + /** | |
2567 | + * @description | |
2568 | + * 子订单 | |
2569 | + * @format int64 | |
2570 | + */ | |
2571 | + subOrderId?: number; | |
2572 | + /** | |
2573 | + * @description | |
2574 | + * 子订单idIn | |
2575 | + */ | |
2576 | + subOrderIdIn?: Array<number>; | |
2577 | + /** | |
2578 | + * @description | |
2579 | + * 子订单 | |
2580 | + */ | |
2581 | + subOrderIdLike?: string; | |
2582 | + /** @format int32 */ | |
2583 | + total?: number; | |
2584 | + /** | |
2585 | + * @description | |
2586 | + * 开票类型 | |
2587 | + */ | |
2588 | + type?: string; | |
2589 | + /** | |
2590 | + * @description | |
2591 | + * 用户id | |
2592 | + */ | |
2593 | + uid?: string; | |
2594 | +} | |
2595 | + | |
1808 | 2596 | export interface QueryMainOrderDto { |
1809 | 2597 | /** |
1810 | 2598 | * @description |
... | ... | @@ -1847,6 +2635,7 @@ export interface ReissueInvoiceDto { |
1847 | 2635 | /** @format int64 */ |
1848 | 2636 | invoiceId?: number; |
1849 | 2637 | notes?: string; |
2638 | + purchaser?: string; | |
1850 | 2639 | } |
1851 | 2640 | |
1852 | 2641 | export interface ResearchGroupAccountAddRequest { |
... | ... | @@ -2207,6 +2996,129 @@ export interface ShippingWarehouseChangeDto { |
2207 | 2996 | shippingWarehouse?: string; |
2208 | 2997 | } |
2209 | 2998 | |
2999 | +export interface SubOrder { | |
3000 | + afterInvoicingStatus?: string; | |
3001 | + /** @format date-time */ | |
3002 | + afterInvoicingStatusUpdateTime?: string; | |
3003 | + afterSalesAnnex?: string; | |
3004 | + afterSalesNotes?: string; | |
3005 | + afterSalesPlan?: string; | |
3006 | + annex?: string; | |
3007 | + applyInvoicingAnnex?: string; | |
3008 | + applyInvoicingNotes?: string; | |
3009 | + /** @format date-time */ | |
3010 | + applyTime?: string; | |
3011 | + /** @format int32 */ | |
3012 | + attrId?: number; | |
3013 | + checkNotes?: string; | |
3014 | + /** @format date-time */ | |
3015 | + collectMoneyTime?: string; | |
3016 | + confirmDeliverNotes?: string; | |
3017 | + confirmReissueNotes?: string; | |
3018 | + createByName?: string; | |
3019 | + /** @format date-time */ | |
3020 | + createTime?: string; | |
3021 | + /** @format date-time */ | |
3022 | + deadline?: string; | |
3023 | + ext?: string; | |
3024 | + extendField?: string; | |
3025 | + /** @format date-time */ | |
3026 | + financialReceiptIssuanceTime?: string; | |
3027 | + fullPaymentStatus?: string; | |
3028 | + /** @format double */ | |
3029 | + goodsVolume?: number; | |
3030 | + /** @format double */ | |
3031 | + goodsWeight?: number; | |
3032 | + /** @format int64 */ | |
3033 | + id?: number; | |
3034 | + image?: string; | |
3035 | + invoiceApplyUsername?: string; | |
3036 | + invoiceInformation?: string; | |
3037 | + /** @format int64 */ | |
3038 | + invoiceRecordId?: number; | |
3039 | + invoicingCheckAnnex?: string; | |
3040 | + invoicingNotes?: string; | |
3041 | + invoicingStatus?: string; | |
3042 | + /** @format date-time */ | |
3043 | + invoicingTime?: string; | |
3044 | + invoicingUrgentCause?: string; | |
3045 | + isUrgent?: boolean; | |
3046 | + kingdeeErrorMessage?: string; | |
3047 | + logicDelete?: boolean; | |
3048 | + logisticsMethod?: string; | |
3049 | + logisticsNotes?: string; | |
3050 | + /** @format int64 */ | |
3051 | + mainOrderAmountProportion?: number; | |
3052 | + /** @format int64 */ | |
3053 | + mainOrderId?: number; | |
3054 | + materialId?: string; | |
3055 | + modified?: boolean; | |
3056 | + modifiedAuditNotes?: string; | |
3057 | + modifiedAuditStatus?: string; | |
3058 | + modifiedOptFlag?: string; | |
3059 | + nextOrderStatus?: string; | |
3060 | + notes?: string; | |
3061 | + orderStatus?: string; | |
3062 | + orderStatusBeforeModify?: string; | |
3063 | + /** @format date-time */ | |
3064 | + orderStatusUpdateTime?: string; | |
3065 | + /** @format int32 */ | |
3066 | + packageNumber?: number; | |
3067 | + parameters?: string; | |
3068 | + paymentChannel?: string; | |
3069 | + paymentMethod?: string; | |
3070 | + paymentReceiptAnnex?: string; | |
3071 | + paymentReceiptNotes?: string; | |
3072 | + paymentReceiptStatus?: string; | |
3073 | + paymentStatus?: string; | |
3074 | + paymentTransactionId?: string; | |
3075 | + postAuditNotes?: string; | |
3076 | + postAuditStatus?: string; | |
3077 | + /** @format date-time */ | |
3078 | + postAuditStatusUpdateTime?: string; | |
3079 | + preAfterInvoicingStatus?: string; | |
3080 | + procureConvertNotes?: string; | |
3081 | + procureNotes?: string; | |
3082 | + /** @format date-time */ | |
3083 | + procureOrderDatetime?: string; | |
3084 | + procureOrderStatus?: string; | |
3085 | + productBelongBusiness?: string; | |
3086 | + productCode?: string; | |
3087 | + /** @format int32 */ | |
3088 | + productId?: number; | |
3089 | + productName?: string; | |
3090 | + /** @format int64 */ | |
3091 | + productPrice?: number; | |
3092 | + /** @format date-time */ | |
3093 | + productionEndTime?: string; | |
3094 | + /** @format date-time */ | |
3095 | + productionStartTime?: string; | |
3096 | + productionTimePushStatus?: string; | |
3097 | + purchaser?: string; | |
3098 | + /** @format int32 */ | |
3099 | + quantity?: number; | |
3100 | + receivingCompany?: string; | |
3101 | + reissueNotes?: string; | |
3102 | + serialNumber?: string; | |
3103 | + shippingWarehouse?: string; | |
3104 | + /** @format int64 */ | |
3105 | + subOrderPayment?: number; | |
3106 | + supplierName?: string; | |
3107 | + supplierNotes?: string; | |
3108 | + /** @format int64 */ | |
3109 | + totalPayment?: number; | |
3110 | + /** @format int32 */ | |
3111 | + uid?: number; | |
3112 | + unit?: string; | |
3113 | + unitId?: string; | |
3114 | + updateByName?: string; | |
3115 | + /** @format date-time */ | |
3116 | + updateTime?: string; | |
3117 | + urgentInvoiceAuditNotes?: string; | |
3118 | + /** @format int32 */ | |
3119 | + version?: number; | |
3120 | +} | |
3121 | + | |
2210 | 3122 | export interface SysLogQueryVO { |
2211 | 3123 | address?: string; |
2212 | 3124 | browser?: string; |
... | ... | @@ -2559,6 +3471,44 @@ export interface TsgFile { |
2559 | 3471 | writable?: boolean; |
2560 | 3472 | } |
2561 | 3473 | |
3474 | +export interface InvoiceDetail { | |
3475 | + /** @format int64 */ | |
3476 | + id?: number; | |
3477 | + /** | |
3478 | + * @description | |
3479 | + * 发票id | |
3480 | + * @format int64 | |
3481 | + */ | |
3482 | + invoiceRecordId?: number; | |
3483 | + /** | |
3484 | + * @description | |
3485 | + * 单价 | |
3486 | + * @format double | |
3487 | + */ | |
3488 | + price?: number; | |
3489 | + projectName?: string; | |
3490 | + /** @format double */ | |
3491 | + quantity?: number; | |
3492 | + /** | |
3493 | + * @description | |
3494 | + * 型号 | |
3495 | + */ | |
3496 | + specification?: string; | |
3497 | + /** @format int64 */ | |
3498 | + subOrderId?: number; | |
3499 | + /** @format double */ | |
3500 | + taxPrice?: number; | |
3501 | + /** @format double */ | |
3502 | + taxRate?: number; | |
3503 | + /** | |
3504 | + * @description | |
3505 | + * 总价 | |
3506 | + * @format double | |
3507 | + */ | |
3508 | + totalPrice?: number; | |
3509 | + unit?: string; | |
3510 | +} | |
3511 | + | |
2562 | 3512 | export interface SalesRechargePrepaymentAuditRequest { |
2563 | 3513 | /** |
2564 | 3514 | * @description | ... | ... |
src/services/request.ts
... | ... | @@ -29,6 +29,7 @@ import type { |
29 | 29 | ApiOrderEvaluatedRequest, |
30 | 30 | ApiQueryOrderDetailRequest, |
31 | 31 | ApiQueryOrderStatusCountsRequest, |
32 | + ApplyInvoiceDto, | |
32 | 33 | AuditDto, |
33 | 34 | AuditVO, |
34 | 35 | CancelInvoiceAndBankStatementDto, |
... | ... | @@ -46,6 +47,7 @@ import type { |
46 | 47 | Dto, |
47 | 48 | InventoryMaterialStockReq, |
48 | 49 | InvoiceDto, |
50 | + InvoiceRecordDto, | |
49 | 51 | InvoiceRecordQueryRequest, |
50 | 52 | MainOrderqueryRequest, |
51 | 53 | MaterialListReply, |
... | ... | @@ -78,6 +80,8 @@ import type { |
78 | 80 | QueryCustomerInformationDto, |
79 | 81 | QueryHistoryRecordDto, |
80 | 82 | QueryInvoiceDetailDto, |
83 | + QueryInvoiceProjectDto, | |
84 | + QueryInvoiceRecordDto, | |
81 | 85 | QueryMainOrderDto, |
82 | 86 | QueryReportFormsDto, |
83 | 87 | ReissueInvoiceDto, |
... | ... | @@ -8093,6 +8097,77 @@ export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => { |
8093 | 8097 | return request; |
8094 | 8098 | })(); |
8095 | 8099 | |
8100 | +/** @description request parameter type for postOrderImportImportInvoiceProject */ | |
8101 | +export interface PostOrderImportImportInvoiceProjectOption { | |
8102 | + /** | |
8103 | + * @description | |
8104 | + * file | |
8105 | + */ | |
8106 | + formData: { | |
8107 | + /** | |
8108 | + @description | |
8109 | + file */ | |
8110 | + file: File; | |
8111 | + }; | |
8112 | +} | |
8113 | + | |
8114 | +/** @description response type for postOrderImportImportInvoiceProject */ | |
8115 | +export interface PostOrderImportImportInvoiceProjectResponse { | |
8116 | + /** | |
8117 | + * @description | |
8118 | + * OK | |
8119 | + */ | |
8120 | + 200: ServerResult; | |
8121 | + /** | |
8122 | + * @description | |
8123 | + * Created | |
8124 | + */ | |
8125 | + 201: any; | |
8126 | + /** | |
8127 | + * @description | |
8128 | + * Unauthorized | |
8129 | + */ | |
8130 | + 401: any; | |
8131 | + /** | |
8132 | + * @description | |
8133 | + * Forbidden | |
8134 | + */ | |
8135 | + 403: any; | |
8136 | + /** | |
8137 | + * @description | |
8138 | + * Not Found | |
8139 | + */ | |
8140 | + 404: any; | |
8141 | +} | |
8142 | + | |
8143 | +export type PostOrderImportImportInvoiceProjectResponseSuccess = | |
8144 | + PostOrderImportImportInvoiceProjectResponse[200]; | |
8145 | +/** | |
8146 | + * @description | |
8147 | + * 导入发票项目 | |
8148 | + * @tags 导入 | |
8149 | + * @produces * | |
8150 | + * @consumes multipart/form-data | |
8151 | + */ | |
8152 | +export const postOrderImportImportInvoiceProject = /* #__PURE__ */ (() => { | |
8153 | + const method = 'post'; | |
8154 | + const url = '/order/import/importInvoiceProject'; | |
8155 | + function request( | |
8156 | + option: PostOrderImportImportInvoiceProjectOption, | |
8157 | + ): Promise<PostOrderImportImportInvoiceProjectResponseSuccess> { | |
8158 | + return requester(request.url, { | |
8159 | + method: request.method, | |
8160 | + ...option, | |
8161 | + }) as unknown as Promise<PostOrderImportImportInvoiceProjectResponseSuccess>; | |
8162 | + } | |
8163 | + | |
8164 | + /** http method */ | |
8165 | + request.method = method; | |
8166 | + /** request url */ | |
8167 | + request.url = url; | |
8168 | + return request; | |
8169 | +})(); | |
8170 | + | |
8096 | 8171 | /** @description request parameter type for postOrderImportImportWeightAndVolume */ |
8097 | 8172 | export interface PostOrderImportImportWeightAndVolumeOption { |
8098 | 8173 | /** |
... | ... | @@ -9762,22 +9837,63 @@ export const postServiceBankStatementQueryBankStatement = |
9762 | 9837 | return request; |
9763 | 9838 | })(); |
9764 | 9839 | |
9765 | -/** @description request parameter type for postServiceInvoiceAddInvoice */ | |
9766 | -export interface PostServiceInvoiceAddInvoiceOption { | |
9840 | +/** @description response type for postServiceConstAfterInvoicingInvoiceRecordStatus */ | |
9841 | +export interface PostServiceConstAfterInvoicingInvoiceRecordStatusResponse { | |
9767 | 9842 | /** |
9768 | 9843 | * @description |
9769 | - * dto | |
9844 | + * OK | |
9770 | 9845 | */ |
9771 | - body: { | |
9772 | - /** | |
9773 | - @description | |
9774 | - dto */ | |
9775 | - dto: InvoiceDto; | |
9776 | - }; | |
9846 | + 200: ServerResult; | |
9847 | + /** | |
9848 | + * @description | |
9849 | + * Created | |
9850 | + */ | |
9851 | + 201: any; | |
9852 | + /** | |
9853 | + * @description | |
9854 | + * Unauthorized | |
9855 | + */ | |
9856 | + 401: any; | |
9857 | + /** | |
9858 | + * @description | |
9859 | + * Forbidden | |
9860 | + */ | |
9861 | + 403: any; | |
9862 | + /** | |
9863 | + * @description | |
9864 | + * Not Found | |
9865 | + */ | |
9866 | + 404: any; | |
9777 | 9867 | } |
9778 | 9868 | |
9779 | -/** @description response type for postServiceInvoiceAddInvoice */ | |
9780 | -export interface PostServiceInvoiceAddInvoiceResponse { | |
9869 | +export type PostServiceConstAfterInvoicingInvoiceRecordStatusResponseSuccess = | |
9870 | + PostServiceConstAfterInvoicingInvoiceRecordStatusResponse[200]; | |
9871 | +/** | |
9872 | + * @description | |
9873 | + * 开票后的开票记录状态 | |
9874 | + * @tags front-const-controller | |
9875 | + * @produces * | |
9876 | + * @consumes application/json | |
9877 | + */ | |
9878 | +export const postServiceConstAfterInvoicingInvoiceRecordStatus = | |
9879 | + /* #__PURE__ */ (() => { | |
9880 | + const method = 'post'; | |
9881 | + const url = '/service/const/afterInvoicingInvoiceRecordStatus'; | |
9882 | + function request(): Promise<PostServiceConstAfterInvoicingInvoiceRecordStatusResponseSuccess> { | |
9883 | + return requester(request.url, { | |
9884 | + method: request.method, | |
9885 | + }) as unknown as Promise<PostServiceConstAfterInvoicingInvoiceRecordStatusResponseSuccess>; | |
9886 | + } | |
9887 | + | |
9888 | + /** http method */ | |
9889 | + request.method = method; | |
9890 | + /** request url */ | |
9891 | + request.url = url; | |
9892 | + return request; | |
9893 | + })(); | |
9894 | + | |
9895 | +/** @description response type for postServiceConstAfterInvoicingStatus */ | |
9896 | +export interface PostServiceConstAfterInvoicingStatusResponse { | |
9781 | 9897 | /** |
9782 | 9898 | * @description |
9783 | 9899 | * OK |
... | ... | @@ -9805,25 +9921,22 @@ export interface PostServiceInvoiceAddInvoiceResponse { |
9805 | 9921 | 404: any; |
9806 | 9922 | } |
9807 | 9923 | |
9808 | -export type PostServiceInvoiceAddInvoiceResponseSuccess = | |
9809 | - PostServiceInvoiceAddInvoiceResponse[200]; | |
9924 | +export type PostServiceConstAfterInvoicingStatusResponseSuccess = | |
9925 | + PostServiceConstAfterInvoicingStatusResponse[200]; | |
9810 | 9926 | /** |
9811 | 9927 | * @description |
9812 | - * 添加发票 | |
9813 | - * @tags 发票 | |
9928 | + * 申请开票后状态 | |
9929 | + * @tags front-const-controller | |
9814 | 9930 | * @produces * |
9815 | 9931 | * @consumes application/json |
9816 | 9932 | */ |
9817 | -export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { | |
9933 | +export const postServiceConstAfterInvoicingStatus = /* #__PURE__ */ (() => { | |
9818 | 9934 | const method = 'post'; |
9819 | - const url = '/service/invoice/addInvoice'; | |
9820 | - function request( | |
9821 | - option: PostServiceInvoiceAddInvoiceOption, | |
9822 | - ): Promise<PostServiceInvoiceAddInvoiceResponseSuccess> { | |
9935 | + const url = '/service/const/afterInvoicingStatus'; | |
9936 | + function request(): Promise<PostServiceConstAfterInvoicingStatusResponseSuccess> { | |
9823 | 9937 | return requester(request.url, { |
9824 | 9938 | method: request.method, |
9825 | - ...option, | |
9826 | - }) as unknown as Promise<PostServiceInvoiceAddInvoiceResponseSuccess>; | |
9939 | + }) as unknown as Promise<PostServiceConstAfterInvoicingStatusResponseSuccess>; | |
9827 | 9940 | } |
9828 | 9941 | |
9829 | 9942 | /** http method */ |
... | ... | @@ -9833,22 +9946,8 @@ export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { |
9833 | 9946 | return request; |
9834 | 9947 | })(); |
9835 | 9948 | |
9836 | -/** @description request parameter type for postServiceInvoiceCancelInvoiceAndBankStatement */ | |
9837 | -export interface PostServiceInvoiceCancelInvoiceAndBankStatementOption { | |
9838 | - /** | |
9839 | - * @description | |
9840 | - * dto | |
9841 | - */ | |
9842 | - body: { | |
9843 | - /** | |
9844 | - @description | |
9845 | - dto */ | |
9846 | - dto: CancelInvoiceAndBankStatementDto; | |
9847 | - }; | |
9848 | -} | |
9849 | - | |
9850 | -/** @description response type for postServiceInvoiceCancelInvoiceAndBankStatement */ | |
9851 | -export interface PostServiceInvoiceCancelInvoiceAndBankStatementResponse { | |
9949 | +/** @description response type for postServiceConstBeforeInvoicingInvoiceRecordStatus */ | |
9950 | +export interface PostServiceConstBeforeInvoicingInvoiceRecordStatusResponse { | |
9852 | 9951 | /** |
9853 | 9952 | * @description |
9854 | 9953 | * OK |
... | ... | @@ -9876,26 +9975,23 @@ export interface PostServiceInvoiceCancelInvoiceAndBankStatementResponse { |
9876 | 9975 | 404: any; |
9877 | 9976 | } |
9878 | 9977 | |
9879 | -export type PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess = | |
9880 | - PostServiceInvoiceCancelInvoiceAndBankStatementResponse[200]; | |
9978 | +export type PostServiceConstBeforeInvoicingInvoiceRecordStatusResponseSuccess = | |
9979 | + PostServiceConstBeforeInvoicingInvoiceRecordStatusResponse[200]; | |
9881 | 9980 | /** |
9882 | 9981 | * @description |
9883 | - * 取消发票与银行流水的关联 | |
9884 | - * @tags 发票 | |
9982 | + * 开票前的开票记录状态 | |
9983 | + * @tags front-const-controller | |
9885 | 9984 | * @produces * |
9886 | 9985 | * @consumes application/json |
9887 | 9986 | */ |
9888 | -export const postServiceInvoiceCancelInvoiceAndBankStatement = | |
9987 | +export const postServiceConstBeforeInvoicingInvoiceRecordStatus = | |
9889 | 9988 | /* #__PURE__ */ (() => { |
9890 | 9989 | const method = 'post'; |
9891 | - const url = '/service/invoice/cancelInvoiceAndBankStatement'; | |
9892 | - function request( | |
9893 | - option: PostServiceInvoiceCancelInvoiceAndBankStatementOption, | |
9894 | - ): Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess> { | |
9990 | + const url = '/service/const/beforeInvoicingInvoiceRecordStatus'; | |
9991 | + function request(): Promise<PostServiceConstBeforeInvoicingInvoiceRecordStatusResponseSuccess> { | |
9895 | 9992 | return requester(request.url, { |
9896 | 9993 | method: request.method, |
9897 | - ...option, | |
9898 | - }) as unknown as Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess>; | |
9994 | + }) as unknown as Promise<PostServiceConstBeforeInvoicingInvoiceRecordStatusResponseSuccess>; | |
9899 | 9995 | } |
9900 | 9996 | |
9901 | 9997 | /** http method */ |
... | ... | @@ -9905,22 +10001,8 @@ export const postServiceInvoiceCancelInvoiceAndBankStatement = |
9905 | 10001 | return request; |
9906 | 10002 | })(); |
9907 | 10003 | |
9908 | -/** @description request parameter type for postServiceInvoiceDeleteInvoice */ | |
9909 | -export interface PostServiceInvoiceDeleteInvoiceOption { | |
9910 | - /** | |
9911 | - * @description | |
9912 | - * dto | |
9913 | - */ | |
9914 | - body: { | |
9915 | - /** | |
9916 | - @description | |
9917 | - dto */ | |
9918 | - dto: Dto; | |
9919 | - }; | |
9920 | -} | |
9921 | - | |
9922 | -/** @description response type for postServiceInvoiceDeleteInvoice */ | |
9923 | -export interface PostServiceInvoiceDeleteInvoiceResponse { | |
10004 | +/** @description response type for postServiceConstCanApplyAfterInvoicingStatus */ | |
10005 | +export interface PostServiceConstCanApplyAfterInvoicingStatusResponse { | |
9924 | 10006 | /** |
9925 | 10007 | * @description |
9926 | 10008 | * OK |
... | ... | @@ -9948,50 +10030,34 @@ export interface PostServiceInvoiceDeleteInvoiceResponse { |
9948 | 10030 | 404: any; |
9949 | 10031 | } |
9950 | 10032 | |
9951 | -export type PostServiceInvoiceDeleteInvoiceResponseSuccess = | |
9952 | - PostServiceInvoiceDeleteInvoiceResponse[200]; | |
10033 | +export type PostServiceConstCanApplyAfterInvoicingStatusResponseSuccess = | |
10034 | + PostServiceConstCanApplyAfterInvoicingStatusResponse[200]; | |
9953 | 10035 | /** |
9954 | 10036 | * @description |
9955 | - * 删除发票 | |
9956 | - * @tags 发票 | |
10037 | + * 开具类型 | |
10038 | + * @tags front-const-controller | |
9957 | 10039 | * @produces * |
9958 | 10040 | * @consumes application/json |
9959 | 10041 | */ |
9960 | -export const postServiceInvoiceDeleteInvoice = /* #__PURE__ */ (() => { | |
9961 | - const method = 'post'; | |
9962 | - const url = '/service/invoice/deleteInvoice'; | |
9963 | - function request( | |
9964 | - option: PostServiceInvoiceDeleteInvoiceOption, | |
9965 | - ): Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess> { | |
9966 | - return requester(request.url, { | |
9967 | - method: request.method, | |
9968 | - ...option, | |
9969 | - }) as unknown as Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess>; | |
9970 | - } | |
9971 | - | |
9972 | - /** http method */ | |
9973 | - request.method = method; | |
9974 | - /** request url */ | |
9975 | - request.url = url; | |
9976 | - return request; | |
9977 | -})(); | |
10042 | +export const postServiceConstCanApplyAfterInvoicingStatus = | |
10043 | + /* #__PURE__ */ (() => { | |
10044 | + const method = 'post'; | |
10045 | + const url = '/service/const/canApplyAfterInvoicingStatus'; | |
10046 | + function request(): Promise<PostServiceConstCanApplyAfterInvoicingStatusResponseSuccess> { | |
10047 | + return requester(request.url, { | |
10048 | + method: request.method, | |
10049 | + }) as unknown as Promise<PostServiceConstCanApplyAfterInvoicingStatusResponseSuccess>; | |
10050 | + } | |
9978 | 10051 | |
9979 | -/** @description request parameter type for postServiceInvoiceFindInvoice */ | |
9980 | -export interface PostServiceInvoiceFindInvoiceOption { | |
9981 | - /** | |
9982 | - * @description | |
9983 | - * dto | |
9984 | - */ | |
9985 | - body: { | |
9986 | - /** | |
9987 | - @description | |
9988 | - dto */ | |
9989 | - dto: Dto; | |
9990 | - }; | |
9991 | -} | |
10052 | + /** http method */ | |
10053 | + request.method = method; | |
10054 | + /** request url */ | |
10055 | + request.url = url; | |
10056 | + return request; | |
10057 | + })(); | |
9992 | 10058 | |
9993 | -/** @description response type for postServiceInvoiceFindInvoice */ | |
9994 | -export interface PostServiceInvoiceFindInvoiceResponse { | |
10059 | +/** @description response type for postServiceConstGetPayeeEnum */ | |
10060 | +export interface PostServiceConstGetPayeeEnumResponse { | |
9995 | 10061 | /** |
9996 | 10062 | * @description |
9997 | 10063 | * OK |
... | ... | @@ -10019,25 +10085,22 @@ export interface PostServiceInvoiceFindInvoiceResponse { |
10019 | 10085 | 404: any; |
10020 | 10086 | } |
10021 | 10087 | |
10022 | -export type PostServiceInvoiceFindInvoiceResponseSuccess = | |
10023 | - PostServiceInvoiceFindInvoiceResponse[200]; | |
10088 | +export type PostServiceConstGetPayeeEnumResponseSuccess = | |
10089 | + PostServiceConstGetPayeeEnumResponse[200]; | |
10024 | 10090 | /** |
10025 | 10091 | * @description |
10026 | - * 不分页查询发票 | |
10027 | - * @tags 发票 | |
10092 | + * 获取收款方 | |
10093 | + * @tags front-const-controller | |
10028 | 10094 | * @produces * |
10029 | 10095 | * @consumes application/json |
10030 | 10096 | */ |
10031 | -export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { | |
10097 | +export const postServiceConstGetPayeeEnum = /* #__PURE__ */ (() => { | |
10032 | 10098 | const method = 'post'; |
10033 | - const url = '/service/invoice/findInvoice'; | |
10034 | - function request( | |
10035 | - option: PostServiceInvoiceFindInvoiceOption, | |
10036 | - ): Promise<PostServiceInvoiceFindInvoiceResponseSuccess> { | |
10099 | + const url = '/service/const/getPayeeEnum'; | |
10100 | + function request(): Promise<PostServiceConstGetPayeeEnumResponseSuccess> { | |
10037 | 10101 | return requester(request.url, { |
10038 | 10102 | method: request.method, |
10039 | - ...option, | |
10040 | - }) as unknown as Promise<PostServiceInvoiceFindInvoiceResponseSuccess>; | |
10103 | + }) as unknown as Promise<PostServiceConstGetPayeeEnumResponseSuccess>; | |
10041 | 10104 | } |
10042 | 10105 | |
10043 | 10106 | /** http method */ |
... | ... | @@ -10047,22 +10110,8 @@ export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { |
10047 | 10110 | return request; |
10048 | 10111 | })(); |
10049 | 10112 | |
10050 | -/** @description request parameter type for postServiceInvoiceInvoiceWriteOff */ | |
10051 | -export interface PostServiceInvoiceInvoiceWriteOffOption { | |
10052 | - /** | |
10053 | - * @description | |
10054 | - * dto | |
10055 | - */ | |
10056 | - body: { | |
10057 | - /** | |
10058 | - @description | |
10059 | - dto */ | |
10060 | - dto: Dto; | |
10061 | - }; | |
10062 | -} | |
10063 | - | |
10064 | -/** @description response type for postServiceInvoiceInvoiceWriteOff */ | |
10065 | -export interface PostServiceInvoiceInvoiceWriteOffResponse { | |
10113 | +/** @description response type for postServiceConstInvoiceType */ | |
10114 | +export interface PostServiceConstInvoiceTypeResponse { | |
10066 | 10115 | /** |
10067 | 10116 | * @description |
10068 | 10117 | * OK |
... | ... | @@ -10090,25 +10139,22 @@ export interface PostServiceInvoiceInvoiceWriteOffResponse { |
10090 | 10139 | 404: any; |
10091 | 10140 | } |
10092 | 10141 | |
10093 | -export type PostServiceInvoiceInvoiceWriteOffResponseSuccess = | |
10094 | - PostServiceInvoiceInvoiceWriteOffResponse[200]; | |
10142 | +export type PostServiceConstInvoiceTypeResponseSuccess = | |
10143 | + PostServiceConstInvoiceTypeResponse[200]; | |
10095 | 10144 | /** |
10096 | 10145 | * @description |
10097 | - * 发票核销 | |
10098 | - * @tags 发票 | |
10146 | + * 发票类型 | |
10147 | + * @tags front-const-controller | |
10099 | 10148 | * @produces * |
10100 | 10149 | * @consumes application/json |
10101 | 10150 | */ |
10102 | -export const postServiceInvoiceInvoiceWriteOff = /* #__PURE__ */ (() => { | |
10151 | +export const postServiceConstInvoiceType = /* #__PURE__ */ (() => { | |
10103 | 10152 | const method = 'post'; |
10104 | - const url = '/service/invoice/invoiceWriteOff'; | |
10105 | - function request( | |
10106 | - option: PostServiceInvoiceInvoiceWriteOffOption, | |
10107 | - ): Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess> { | |
10153 | + const url = '/service/const/invoiceType'; | |
10154 | + function request(): Promise<PostServiceConstInvoiceTypeResponseSuccess> { | |
10108 | 10155 | return requester(request.url, { |
10109 | 10156 | method: request.method, |
10110 | - ...option, | |
10111 | - }) as unknown as Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess>; | |
10157 | + }) as unknown as Promise<PostServiceConstInvoiceTypeResponseSuccess>; | |
10112 | 10158 | } |
10113 | 10159 | |
10114 | 10160 | /** http method */ |
... | ... | @@ -10118,14 +10164,1332 @@ export const postServiceInvoiceInvoiceWriteOff = /* #__PURE__ */ (() => { |
10118 | 10164 | return request; |
10119 | 10165 | })(); |
10120 | 10166 | |
10121 | -/** @description request parameter type for postServiceInvoiceQueryInvoice */ | |
10122 | -export interface PostServiceInvoiceQueryInvoiceOption { | |
10167 | +/** @description response type for postServiceConstInvoicingType */ | |
10168 | +export interface PostServiceConstInvoicingTypeResponse { | |
10123 | 10169 | /** |
10124 | 10170 | * @description |
10125 | - * dto | |
10171 | + * OK | |
10126 | 10172 | */ |
10127 | - body: { | |
10128 | - /** | |
10173 | + 200: ServerResult; | |
10174 | + /** | |
10175 | + * @description | |
10176 | + * Created | |
10177 | + */ | |
10178 | + 201: any; | |
10179 | + /** | |
10180 | + * @description | |
10181 | + * Unauthorized | |
10182 | + */ | |
10183 | + 401: any; | |
10184 | + /** | |
10185 | + * @description | |
10186 | + * Forbidden | |
10187 | + */ | |
10188 | + 403: any; | |
10189 | + /** | |
10190 | + * @description | |
10191 | + * Not Found | |
10192 | + */ | |
10193 | + 404: any; | |
10194 | +} | |
10195 | + | |
10196 | +export type PostServiceConstInvoicingTypeResponseSuccess = | |
10197 | + PostServiceConstInvoicingTypeResponse[200]; | |
10198 | +/** | |
10199 | + * @description | |
10200 | + * 开具类型 | |
10201 | + * @tags front-const-controller | |
10202 | + * @produces * | |
10203 | + * @consumes application/json | |
10204 | + */ | |
10205 | +export const postServiceConstInvoicingType = /* #__PURE__ */ (() => { | |
10206 | + const method = 'post'; | |
10207 | + const url = '/service/const/invoicingType'; | |
10208 | + function request(): Promise<PostServiceConstInvoicingTypeResponseSuccess> { | |
10209 | + return requester(request.url, { | |
10210 | + method: request.method, | |
10211 | + }) as unknown as Promise<PostServiceConstInvoicingTypeResponseSuccess>; | |
10212 | + } | |
10213 | + | |
10214 | + /** http method */ | |
10215 | + request.method = method; | |
10216 | + /** request url */ | |
10217 | + request.url = url; | |
10218 | + return request; | |
10219 | +})(); | |
10220 | + | |
10221 | +/** @description request parameter type for postServiceConstListInvoiceDetailNames */ | |
10222 | +export interface PostServiceConstListInvoiceDetailNamesOption { | |
10223 | + /** | |
10224 | + * @description | |
10225 | + * queryInvoiceProjectDto | |
10226 | + */ | |
10227 | + body: { | |
10228 | + /** | |
10229 | + @description | |
10230 | + queryInvoiceProjectDto */ | |
10231 | + queryInvoiceProjectDto: QueryInvoiceProjectDto; | |
10232 | + }; | |
10233 | +} | |
10234 | + | |
10235 | +/** @description response type for postServiceConstListInvoiceDetailNames */ | |
10236 | +export interface PostServiceConstListInvoiceDetailNamesResponse { | |
10237 | + /** | |
10238 | + * @description | |
10239 | + * OK | |
10240 | + */ | |
10241 | + 200: ServerResult; | |
10242 | + /** | |
10243 | + * @description | |
10244 | + * Created | |
10245 | + */ | |
10246 | + 201: any; | |
10247 | + /** | |
10248 | + * @description | |
10249 | + * Unauthorized | |
10250 | + */ | |
10251 | + 401: any; | |
10252 | + /** | |
10253 | + * @description | |
10254 | + * Forbidden | |
10255 | + */ | |
10256 | + 403: any; | |
10257 | + /** | |
10258 | + * @description | |
10259 | + * Not Found | |
10260 | + */ | |
10261 | + 404: any; | |
10262 | +} | |
10263 | + | |
10264 | +export type PostServiceConstListInvoiceDetailNamesResponseSuccess = | |
10265 | + PostServiceConstListInvoiceDetailNamesResponse[200]; | |
10266 | +/** | |
10267 | + * @description | |
10268 | + * 根据公司名获取收款方 | |
10269 | + * @tags front-const-controller | |
10270 | + * @produces * | |
10271 | + * @consumes application/json | |
10272 | + */ | |
10273 | +export const postServiceConstListInvoiceDetailNames = /* #__PURE__ */ (() => { | |
10274 | + const method = 'post'; | |
10275 | + const url = '/service/const/listInvoiceDetailNames'; | |
10276 | + function request( | |
10277 | + option: PostServiceConstListInvoiceDetailNamesOption, | |
10278 | + ): Promise<PostServiceConstListInvoiceDetailNamesResponseSuccess> { | |
10279 | + return requester(request.url, { | |
10280 | + method: request.method, | |
10281 | + ...option, | |
10282 | + }) as unknown as Promise<PostServiceConstListInvoiceDetailNamesResponseSuccess>; | |
10283 | + } | |
10284 | + | |
10285 | + /** http method */ | |
10286 | + request.method = method; | |
10287 | + /** request url */ | |
10288 | + request.url = url; | |
10289 | + return request; | |
10290 | +})(); | |
10291 | + | |
10292 | +/** @description response type for postServiceConstNotCanModifyInvoiceRecordStatus */ | |
10293 | +export interface PostServiceConstNotCanModifyInvoiceRecordStatusResponse { | |
10294 | + /** | |
10295 | + * @description | |
10296 | + * OK | |
10297 | + */ | |
10298 | + 200: ServerResult; | |
10299 | + /** | |
10300 | + * @description | |
10301 | + * Created | |
10302 | + */ | |
10303 | + 201: any; | |
10304 | + /** | |
10305 | + * @description | |
10306 | + * Unauthorized | |
10307 | + */ | |
10308 | + 401: any; | |
10309 | + /** | |
10310 | + * @description | |
10311 | + * Forbidden | |
10312 | + */ | |
10313 | + 403: any; | |
10314 | + /** | |
10315 | + * @description | |
10316 | + * Not Found | |
10317 | + */ | |
10318 | + 404: any; | |
10319 | +} | |
10320 | + | |
10321 | +export type PostServiceConstNotCanModifyInvoiceRecordStatusResponseSuccess = | |
10322 | + PostServiceConstNotCanModifyInvoiceRecordStatusResponse[200]; | |
10323 | +/** | |
10324 | + * @description | |
10325 | + * 不能修改的开票记录状态 | |
10326 | + * @tags front-const-controller | |
10327 | + * @produces * | |
10328 | + * @consumes application/json | |
10329 | + */ | |
10330 | +export const postServiceConstNotCanModifyInvoiceRecordStatus = | |
10331 | + /* #__PURE__ */ (() => { | |
10332 | + const method = 'post'; | |
10333 | + const url = '/service/const/notCanModifyInvoiceRecordStatus'; | |
10334 | + function request(): Promise<PostServiceConstNotCanModifyInvoiceRecordStatusResponseSuccess> { | |
10335 | + return requester(request.url, { | |
10336 | + method: request.method, | |
10337 | + }) as unknown as Promise<PostServiceConstNotCanModifyInvoiceRecordStatusResponseSuccess>; | |
10338 | + } | |
10339 | + | |
10340 | + /** http method */ | |
10341 | + request.method = method; | |
10342 | + /** request url */ | |
10343 | + request.url = url; | |
10344 | + return request; | |
10345 | + })(); | |
10346 | + | |
10347 | +/** @description request parameter type for getServiceInvoiceListInvoiceProject */ | |
10348 | +export interface GetServiceInvoiceListInvoiceProjectOption { | |
10349 | + /** @format int32 */ | |
10350 | + query?: { | |
10351 | + /** | |
10352 | + @format int32 */ | |
10353 | + current?: number; | |
10354 | + /** | |
10355 | + @format int32 */ | |
10356 | + end?: number; | |
10357 | + nameLike?: string; | |
10358 | + /** | |
10359 | + @format int32 */ | |
10360 | + pageSize?: number; | |
10361 | + /** | |
10362 | + @format int32 */ | |
10363 | + start?: number; | |
10364 | + /** | |
10365 | + @format int32 */ | |
10366 | + total?: number; | |
10367 | + }; | |
10368 | +} | |
10369 | + | |
10370 | +/** @description response type for getServiceInvoiceListInvoiceProject */ | |
10371 | +export interface GetServiceInvoiceListInvoiceProjectResponse { | |
10372 | + /** | |
10373 | + * @description | |
10374 | + * OK | |
10375 | + */ | |
10376 | + 200: any; | |
10377 | + /** | |
10378 | + * @description | |
10379 | + * Unauthorized | |
10380 | + */ | |
10381 | + 401: any; | |
10382 | + /** | |
10383 | + * @description | |
10384 | + * Forbidden | |
10385 | + */ | |
10386 | + 403: any; | |
10387 | + /** | |
10388 | + * @description | |
10389 | + * Not Found | |
10390 | + */ | |
10391 | + 404: any; | |
10392 | +} | |
10393 | + | |
10394 | +export type GetServiceInvoiceListInvoiceProjectResponseSuccess = | |
10395 | + GetServiceInvoiceListInvoiceProjectResponse[200]; | |
10396 | +/** | |
10397 | + * @description | |
10398 | + * invoiceProjectList | |
10399 | + * @tags 发票 | |
10400 | + * @produces * | |
10401 | + */ | |
10402 | +export const getServiceInvoiceListInvoiceProject = /* #__PURE__ */ (() => { | |
10403 | + const method = 'get'; | |
10404 | + const url = '/service/invoice/ListInvoiceProject'; | |
10405 | + function request( | |
10406 | + option?: GetServiceInvoiceListInvoiceProjectOption, | |
10407 | + ): Promise<GetServiceInvoiceListInvoiceProjectResponseSuccess> { | |
10408 | + return requester(request.url, { | |
10409 | + method: request.method, | |
10410 | + ...option, | |
10411 | + }) as unknown as Promise<GetServiceInvoiceListInvoiceProjectResponseSuccess>; | |
10412 | + } | |
10413 | + | |
10414 | + /** http method */ | |
10415 | + request.method = method; | |
10416 | + /** request url */ | |
10417 | + request.url = url; | |
10418 | + return request; | |
10419 | +})(); | |
10420 | + | |
10421 | +/** @description request parameter type for postServiceInvoiceAddInvoice */ | |
10422 | +export interface PostServiceInvoiceAddInvoiceOption { | |
10423 | + /** | |
10424 | + * @description | |
10425 | + * dto | |
10426 | + */ | |
10427 | + body: { | |
10428 | + /** | |
10429 | + @description | |
10430 | + dto */ | |
10431 | + dto: InvoiceDto; | |
10432 | + }; | |
10433 | +} | |
10434 | + | |
10435 | +/** @description response type for postServiceInvoiceAddInvoice */ | |
10436 | +export interface PostServiceInvoiceAddInvoiceResponse { | |
10437 | + /** | |
10438 | + * @description | |
10439 | + * OK | |
10440 | + */ | |
10441 | + 200: ServerResult; | |
10442 | + /** | |
10443 | + * @description | |
10444 | + * Created | |
10445 | + */ | |
10446 | + 201: any; | |
10447 | + /** | |
10448 | + * @description | |
10449 | + * Unauthorized | |
10450 | + */ | |
10451 | + 401: any; | |
10452 | + /** | |
10453 | + * @description | |
10454 | + * Forbidden | |
10455 | + */ | |
10456 | + 403: any; | |
10457 | + /** | |
10458 | + * @description | |
10459 | + * Not Found | |
10460 | + */ | |
10461 | + 404: any; | |
10462 | +} | |
10463 | + | |
10464 | +export type PostServiceInvoiceAddInvoiceResponseSuccess = | |
10465 | + PostServiceInvoiceAddInvoiceResponse[200]; | |
10466 | +/** | |
10467 | + * @description | |
10468 | + * 添加发票 | |
10469 | + * @tags 发票 | |
10470 | + * @produces * | |
10471 | + * @consumes application/json | |
10472 | + */ | |
10473 | +export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { | |
10474 | + const method = 'post'; | |
10475 | + const url = '/service/invoice/addInvoice'; | |
10476 | + function request( | |
10477 | + option: PostServiceInvoiceAddInvoiceOption, | |
10478 | + ): Promise<PostServiceInvoiceAddInvoiceResponseSuccess> { | |
10479 | + return requester(request.url, { | |
10480 | + method: request.method, | |
10481 | + ...option, | |
10482 | + }) as unknown as Promise<PostServiceInvoiceAddInvoiceResponseSuccess>; | |
10483 | + } | |
10484 | + | |
10485 | + /** http method */ | |
10486 | + request.method = method; | |
10487 | + /** request url */ | |
10488 | + request.url = url; | |
10489 | + return request; | |
10490 | +})(); | |
10491 | + | |
10492 | +/** @description request parameter type for postServiceInvoiceApplyInvoice */ | |
10493 | +export interface PostServiceInvoiceApplyInvoiceOption { | |
10494 | + /** | |
10495 | + * @description | |
10496 | + * dto | |
10497 | + */ | |
10498 | + body: { | |
10499 | + /** | |
10500 | + @description | |
10501 | + dto */ | |
10502 | + dto: ApplyInvoiceDto; | |
10503 | + }; | |
10504 | +} | |
10505 | + | |
10506 | +/** @description response type for postServiceInvoiceApplyInvoice */ | |
10507 | +export interface PostServiceInvoiceApplyInvoiceResponse { | |
10508 | + /** | |
10509 | + * @description | |
10510 | + * OK | |
10511 | + */ | |
10512 | + 200: ServerResult; | |
10513 | + /** | |
10514 | + * @description | |
10515 | + * Created | |
10516 | + */ | |
10517 | + 201: any; | |
10518 | + /** | |
10519 | + * @description | |
10520 | + * Unauthorized | |
10521 | + */ | |
10522 | + 401: any; | |
10523 | + /** | |
10524 | + * @description | |
10525 | + * Forbidden | |
10526 | + */ | |
10527 | + 403: any; | |
10528 | + /** | |
10529 | + * @description | |
10530 | + * Not Found | |
10531 | + */ | |
10532 | + 404: any; | |
10533 | +} | |
10534 | + | |
10535 | +export type PostServiceInvoiceApplyInvoiceResponseSuccess = | |
10536 | + PostServiceInvoiceApplyInvoiceResponse[200]; | |
10537 | +/** | |
10538 | + * @description | |
10539 | + * 申请开票 | |
10540 | + * @tags 发票 | |
10541 | + * @produces * | |
10542 | + * @consumes application/json | |
10543 | + */ | |
10544 | +export const postServiceInvoiceApplyInvoice = /* #__PURE__ */ (() => { | |
10545 | + const method = 'post'; | |
10546 | + const url = '/service/invoice/applyInvoice'; | |
10547 | + function request( | |
10548 | + option: PostServiceInvoiceApplyInvoiceOption, | |
10549 | + ): Promise<PostServiceInvoiceApplyInvoiceResponseSuccess> { | |
10550 | + return requester(request.url, { | |
10551 | + method: request.method, | |
10552 | + ...option, | |
10553 | + }) as unknown as Promise<PostServiceInvoiceApplyInvoiceResponseSuccess>; | |
10554 | + } | |
10555 | + | |
10556 | + /** http method */ | |
10557 | + request.method = method; | |
10558 | + /** request url */ | |
10559 | + request.url = url; | |
10560 | + return request; | |
10561 | +})(); | |
10562 | + | |
10563 | +/** @description request parameter type for postServiceInvoiceCancelApply */ | |
10564 | +export interface PostServiceInvoiceCancelApplyOption { | |
10565 | + /** | |
10566 | + * @description | |
10567 | + * dto | |
10568 | + */ | |
10569 | + body: { | |
10570 | + /** | |
10571 | + @description | |
10572 | + dto */ | |
10573 | + dto: Dto; | |
10574 | + }; | |
10575 | +} | |
10576 | + | |
10577 | +/** @description response type for postServiceInvoiceCancelApply */ | |
10578 | +export interface PostServiceInvoiceCancelApplyResponse { | |
10579 | + /** | |
10580 | + * @description | |
10581 | + * OK | |
10582 | + */ | |
10583 | + 200: ServerResult; | |
10584 | + /** | |
10585 | + * @description | |
10586 | + * Created | |
10587 | + */ | |
10588 | + 201: any; | |
10589 | + /** | |
10590 | + * @description | |
10591 | + * Unauthorized | |
10592 | + */ | |
10593 | + 401: any; | |
10594 | + /** | |
10595 | + * @description | |
10596 | + * Forbidden | |
10597 | + */ | |
10598 | + 403: any; | |
10599 | + /** | |
10600 | + * @description | |
10601 | + * Not Found | |
10602 | + */ | |
10603 | + 404: any; | |
10604 | +} | |
10605 | + | |
10606 | +export type PostServiceInvoiceCancelApplyResponseSuccess = | |
10607 | + PostServiceInvoiceCancelApplyResponse[200]; | |
10608 | +/** | |
10609 | + * @description | |
10610 | + * 取消申请 | |
10611 | + * @tags 发票 | |
10612 | + * @produces * | |
10613 | + * @consumes application/json | |
10614 | + */ | |
10615 | +export const postServiceInvoiceCancelApply = /* #__PURE__ */ (() => { | |
10616 | + const method = 'post'; | |
10617 | + const url = '/service/invoice/cancelApply'; | |
10618 | + function request( | |
10619 | + option: PostServiceInvoiceCancelApplyOption, | |
10620 | + ): Promise<PostServiceInvoiceCancelApplyResponseSuccess> { | |
10621 | + return requester(request.url, { | |
10622 | + method: request.method, | |
10623 | + ...option, | |
10624 | + }) as unknown as Promise<PostServiceInvoiceCancelApplyResponseSuccess>; | |
10625 | + } | |
10626 | + | |
10627 | + /** http method */ | |
10628 | + request.method = method; | |
10629 | + /** request url */ | |
10630 | + request.url = url; | |
10631 | + return request; | |
10632 | +})(); | |
10633 | + | |
10634 | +/** @description request parameter type for postServiceInvoiceCancelInvoiceAndBankStatement */ | |
10635 | +export interface PostServiceInvoiceCancelInvoiceAndBankStatementOption { | |
10636 | + /** | |
10637 | + * @description | |
10638 | + * dto | |
10639 | + */ | |
10640 | + body: { | |
10641 | + /** | |
10642 | + @description | |
10643 | + dto */ | |
10644 | + dto: CancelInvoiceAndBankStatementDto; | |
10645 | + }; | |
10646 | +} | |
10647 | + | |
10648 | +/** @description response type for postServiceInvoiceCancelInvoiceAndBankStatement */ | |
10649 | +export interface PostServiceInvoiceCancelInvoiceAndBankStatementResponse { | |
10650 | + /** | |
10651 | + * @description | |
10652 | + * OK | |
10653 | + */ | |
10654 | + 200: ServerResult; | |
10655 | + /** | |
10656 | + * @description | |
10657 | + * Created | |
10658 | + */ | |
10659 | + 201: any; | |
10660 | + /** | |
10661 | + * @description | |
10662 | + * Unauthorized | |
10663 | + */ | |
10664 | + 401: any; | |
10665 | + /** | |
10666 | + * @description | |
10667 | + * Forbidden | |
10668 | + */ | |
10669 | + 403: any; | |
10670 | + /** | |
10671 | + * @description | |
10672 | + * Not Found | |
10673 | + */ | |
10674 | + 404: any; | |
10675 | +} | |
10676 | + | |
10677 | +export type PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess = | |
10678 | + PostServiceInvoiceCancelInvoiceAndBankStatementResponse[200]; | |
10679 | +/** | |
10680 | + * @description | |
10681 | + * 取消发票与银行流水的关联 | |
10682 | + * @tags 发票 | |
10683 | + * @produces * | |
10684 | + * @consumes application/json | |
10685 | + */ | |
10686 | +export const postServiceInvoiceCancelInvoiceAndBankStatement = | |
10687 | + /* #__PURE__ */ (() => { | |
10688 | + const method = 'post'; | |
10689 | + const url = '/service/invoice/cancelInvoiceAndBankStatement'; | |
10690 | + function request( | |
10691 | + option: PostServiceInvoiceCancelInvoiceAndBankStatementOption, | |
10692 | + ): Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess> { | |
10693 | + return requester(request.url, { | |
10694 | + method: request.method, | |
10695 | + ...option, | |
10696 | + }) as unknown as Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess>; | |
10697 | + } | |
10698 | + | |
10699 | + /** http method */ | |
10700 | + request.method = method; | |
10701 | + /** request url */ | |
10702 | + request.url = url; | |
10703 | + return request; | |
10704 | + })(); | |
10705 | + | |
10706 | +/** @description request parameter type for postServiceInvoiceDealInvoicingResult */ | |
10707 | +export interface PostServiceInvoiceDealInvoicingResultOption { | |
10708 | + /** | |
10709 | + * @description | |
10710 | + * dto | |
10711 | + */ | |
10712 | + body: { | |
10713 | + /** | |
10714 | + @description | |
10715 | + dto */ | |
10716 | + dto: Dto; | |
10717 | + }; | |
10718 | +} | |
10719 | + | |
10720 | +/** @description response type for postServiceInvoiceDealInvoicingResult */ | |
10721 | +export interface PostServiceInvoiceDealInvoicingResultResponse { | |
10722 | + /** | |
10723 | + * @description | |
10724 | + * OK | |
10725 | + */ | |
10726 | + 200: ServerResult; | |
10727 | + /** | |
10728 | + * @description | |
10729 | + * Created | |
10730 | + */ | |
10731 | + 201: any; | |
10732 | + /** | |
10733 | + * @description | |
10734 | + * Unauthorized | |
10735 | + */ | |
10736 | + 401: any; | |
10737 | + /** | |
10738 | + * @description | |
10739 | + * Forbidden | |
10740 | + */ | |
10741 | + 403: any; | |
10742 | + /** | |
10743 | + * @description | |
10744 | + * Not Found | |
10745 | + */ | |
10746 | + 404: any; | |
10747 | +} | |
10748 | + | |
10749 | +export type PostServiceInvoiceDealInvoicingResultResponseSuccess = | |
10750 | + PostServiceInvoiceDealInvoicingResultResponse[200]; | |
10751 | +/** | |
10752 | + * @description | |
10753 | + * 拉取开票结果 | |
10754 | + * @tags 发票 | |
10755 | + * @produces * | |
10756 | + * @consumes application/json | |
10757 | + */ | |
10758 | +export const postServiceInvoiceDealInvoicingResult = /* #__PURE__ */ (() => { | |
10759 | + const method = 'post'; | |
10760 | + const url = '/service/invoice/dealInvoicingResult'; | |
10761 | + function request( | |
10762 | + option: PostServiceInvoiceDealInvoicingResultOption, | |
10763 | + ): Promise<PostServiceInvoiceDealInvoicingResultResponseSuccess> { | |
10764 | + return requester(request.url, { | |
10765 | + method: request.method, | |
10766 | + ...option, | |
10767 | + }) as unknown as Promise<PostServiceInvoiceDealInvoicingResultResponseSuccess>; | |
10768 | + } | |
10769 | + | |
10770 | + /** http method */ | |
10771 | + request.method = method; | |
10772 | + /** request url */ | |
10773 | + request.url = url; | |
10774 | + return request; | |
10775 | +})(); | |
10776 | + | |
10777 | +/** @description request parameter type for postServiceInvoiceDeleteInvoice */ | |
10778 | +export interface PostServiceInvoiceDeleteInvoiceOption { | |
10779 | + /** | |
10780 | + * @description | |
10781 | + * dto | |
10782 | + */ | |
10783 | + body: { | |
10784 | + /** | |
10785 | + @description | |
10786 | + dto */ | |
10787 | + dto: Dto; | |
10788 | + }; | |
10789 | +} | |
10790 | + | |
10791 | +/** @description response type for postServiceInvoiceDeleteInvoice */ | |
10792 | +export interface PostServiceInvoiceDeleteInvoiceResponse { | |
10793 | + /** | |
10794 | + * @description | |
10795 | + * OK | |
10796 | + */ | |
10797 | + 200: ServerResult; | |
10798 | + /** | |
10799 | + * @description | |
10800 | + * Created | |
10801 | + */ | |
10802 | + 201: any; | |
10803 | + /** | |
10804 | + * @description | |
10805 | + * Unauthorized | |
10806 | + */ | |
10807 | + 401: any; | |
10808 | + /** | |
10809 | + * @description | |
10810 | + * Forbidden | |
10811 | + */ | |
10812 | + 403: any; | |
10813 | + /** | |
10814 | + * @description | |
10815 | + * Not Found | |
10816 | + */ | |
10817 | + 404: any; | |
10818 | +} | |
10819 | + | |
10820 | +export type PostServiceInvoiceDeleteInvoiceResponseSuccess = | |
10821 | + PostServiceInvoiceDeleteInvoiceResponse[200]; | |
10822 | +/** | |
10823 | + * @description | |
10824 | + * 删除发票 | |
10825 | + * @tags 发票 | |
10826 | + * @produces * | |
10827 | + * @consumes application/json | |
10828 | + */ | |
10829 | +export const postServiceInvoiceDeleteInvoice = /* #__PURE__ */ (() => { | |
10830 | + const method = 'post'; | |
10831 | + const url = '/service/invoice/deleteInvoice'; | |
10832 | + function request( | |
10833 | + option: PostServiceInvoiceDeleteInvoiceOption, | |
10834 | + ): Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess> { | |
10835 | + return requester(request.url, { | |
10836 | + method: request.method, | |
10837 | + ...option, | |
10838 | + }) as unknown as Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess>; | |
10839 | + } | |
10840 | + | |
10841 | + /** http method */ | |
10842 | + request.method = method; | |
10843 | + /** request url */ | |
10844 | + request.url = url; | |
10845 | + return request; | |
10846 | +})(); | |
10847 | + | |
10848 | +/** @description request parameter type for postServiceInvoiceDownloadInvoice */ | |
10849 | +export interface PostServiceInvoiceDownloadInvoiceOption { | |
10850 | + /** | |
10851 | + * @description | |
10852 | + * recodId | |
10853 | + * @format int64 | |
10854 | + */ | |
10855 | + query?: { | |
10856 | + /** | |
10857 | + @description | |
10858 | + recodId | |
10859 | + @format int64 */ | |
10860 | + recodId?: number; | |
10861 | + }; | |
10862 | +} | |
10863 | + | |
10864 | +/** @description response type for postServiceInvoiceDownloadInvoice */ | |
10865 | +export interface PostServiceInvoiceDownloadInvoiceResponse { | |
10866 | + /** | |
10867 | + * @description | |
10868 | + * OK | |
10869 | + */ | |
10870 | + 200: ServerResult; | |
10871 | + /** | |
10872 | + * @description | |
10873 | + * Created | |
10874 | + */ | |
10875 | + 201: any; | |
10876 | + /** | |
10877 | + * @description | |
10878 | + * Unauthorized | |
10879 | + */ | |
10880 | + 401: any; | |
10881 | + /** | |
10882 | + * @description | |
10883 | + * Forbidden | |
10884 | + */ | |
10885 | + 403: any; | |
10886 | + /** | |
10887 | + * @description | |
10888 | + * Not Found | |
10889 | + */ | |
10890 | + 404: any; | |
10891 | +} | |
10892 | + | |
10893 | +export type PostServiceInvoiceDownloadInvoiceResponseSuccess = | |
10894 | + PostServiceInvoiceDownloadInvoiceResponse[200]; | |
10895 | +/** | |
10896 | + * @description | |
10897 | + * 下载开票 | |
10898 | + * @tags 发票 | |
10899 | + * @produces * | |
10900 | + * @consumes application/json | |
10901 | + */ | |
10902 | +export const postServiceInvoiceDownloadInvoice = /* #__PURE__ */ (() => { | |
10903 | + const method = 'post'; | |
10904 | + const url = '/service/invoice/downloadInvoice'; | |
10905 | + function request( | |
10906 | + option?: PostServiceInvoiceDownloadInvoiceOption, | |
10907 | + ): Promise<PostServiceInvoiceDownloadInvoiceResponseSuccess> { | |
10908 | + return requester(request.url, { | |
10909 | + method: request.method, | |
10910 | + ...option, | |
10911 | + }) as unknown as Promise<PostServiceInvoiceDownloadInvoiceResponseSuccess>; | |
10912 | + } | |
10913 | + | |
10914 | + /** http method */ | |
10915 | + request.method = method; | |
10916 | + /** request url */ | |
10917 | + request.url = url; | |
10918 | + return request; | |
10919 | +})(); | |
10920 | + | |
10921 | +/** @description response type for getServiceInvoiceExportInvoiceDetailsTemplate */ | |
10922 | +export interface GetServiceInvoiceExportInvoiceDetailsTemplateResponse { | |
10923 | + /** | |
10924 | + * @description | |
10925 | + * OK | |
10926 | + */ | |
10927 | + 200: any; | |
10928 | + /** | |
10929 | + * @description | |
10930 | + * Unauthorized | |
10931 | + */ | |
10932 | + 401: any; | |
10933 | + /** | |
10934 | + * @description | |
10935 | + * Forbidden | |
10936 | + */ | |
10937 | + 403: any; | |
10938 | + /** | |
10939 | + * @description | |
10940 | + * Not Found | |
10941 | + */ | |
10942 | + 404: any; | |
10943 | +} | |
10944 | + | |
10945 | +export type GetServiceInvoiceExportInvoiceDetailsTemplateResponseSuccess = | |
10946 | + GetServiceInvoiceExportInvoiceDetailsTemplateResponse[200]; | |
10947 | +/** | |
10948 | + * @description | |
10949 | + * 导出发票明细模板 | |
10950 | + * @tags 发票 | |
10951 | + * @produces * | |
10952 | + */ | |
10953 | +export const getServiceInvoiceExportInvoiceDetailsTemplate = | |
10954 | + /* #__PURE__ */ (() => { | |
10955 | + const method = 'get'; | |
10956 | + const url = '/service/invoice/exportInvoiceDetailsTemplate'; | |
10957 | + function request(): Promise<GetServiceInvoiceExportInvoiceDetailsTemplateResponseSuccess> { | |
10958 | + return requester(request.url, { | |
10959 | + method: request.method, | |
10960 | + }) as unknown as Promise<GetServiceInvoiceExportInvoiceDetailsTemplateResponseSuccess>; | |
10961 | + } | |
10962 | + | |
10963 | + /** http method */ | |
10964 | + request.method = method; | |
10965 | + /** request url */ | |
10966 | + request.url = url; | |
10967 | + return request; | |
10968 | + })(); | |
10969 | + | |
10970 | +/** @description request parameter type for postServiceInvoiceExportInvoiceRecords */ | |
10971 | +export interface PostServiceInvoiceExportInvoiceRecordsOption { | |
10972 | + /** | |
10973 | + * @description | |
10974 | + * dto | |
10975 | + */ | |
10976 | + body: { | |
10977 | + /** | |
10978 | + @description | |
10979 | + dto */ | |
10980 | + dto: QueryInvoiceRecordDto; | |
10981 | + }; | |
10982 | +} | |
10983 | + | |
10984 | +/** @description response type for postServiceInvoiceExportInvoiceRecords */ | |
10985 | +export interface PostServiceInvoiceExportInvoiceRecordsResponse { | |
10986 | + /** | |
10987 | + * @description | |
10988 | + * OK | |
10989 | + */ | |
10990 | + 200: any; | |
10991 | + /** | |
10992 | + * @description | |
10993 | + * Created | |
10994 | + */ | |
10995 | + 201: any; | |
10996 | + /** | |
10997 | + * @description | |
10998 | + * Unauthorized | |
10999 | + */ | |
11000 | + 401: any; | |
11001 | + /** | |
11002 | + * @description | |
11003 | + * Forbidden | |
11004 | + */ | |
11005 | + 403: any; | |
11006 | + /** | |
11007 | + * @description | |
11008 | + * Not Found | |
11009 | + */ | |
11010 | + 404: any; | |
11011 | +} | |
11012 | + | |
11013 | +export type PostServiceInvoiceExportInvoiceRecordsResponseSuccess = | |
11014 | + PostServiceInvoiceExportInvoiceRecordsResponse[200]; | |
11015 | +/** | |
11016 | + * @description | |
11017 | + * exportInvoiceRecords | |
11018 | + * @tags 发票 | |
11019 | + * @produces * | |
11020 | + * @consumes application/json | |
11021 | + */ | |
11022 | +export const postServiceInvoiceExportInvoiceRecords = /* #__PURE__ */ (() => { | |
11023 | + const method = 'post'; | |
11024 | + const url = '/service/invoice/exportInvoiceRecords'; | |
11025 | + function request( | |
11026 | + option: PostServiceInvoiceExportInvoiceRecordsOption, | |
11027 | + ): Promise<PostServiceInvoiceExportInvoiceRecordsResponseSuccess> { | |
11028 | + return requester(request.url, { | |
11029 | + method: request.method, | |
11030 | + ...option, | |
11031 | + }) as unknown as Promise<PostServiceInvoiceExportInvoiceRecordsResponseSuccess>; | |
11032 | + } | |
11033 | + | |
11034 | + /** http method */ | |
11035 | + request.method = method; | |
11036 | + /** request url */ | |
11037 | + request.url = url; | |
11038 | + return request; | |
11039 | +})(); | |
11040 | + | |
11041 | +/** @description request parameter type for postServiceInvoiceFindInvoice */ | |
11042 | +export interface PostServiceInvoiceFindInvoiceOption { | |
11043 | + /** | |
11044 | + * @description | |
11045 | + * dto | |
11046 | + */ | |
11047 | + body: { | |
11048 | + /** | |
11049 | + @description | |
11050 | + dto */ | |
11051 | + dto: Dto; | |
11052 | + }; | |
11053 | +} | |
11054 | + | |
11055 | +/** @description response type for postServiceInvoiceFindInvoice */ | |
11056 | +export interface PostServiceInvoiceFindInvoiceResponse { | |
11057 | + /** | |
11058 | + * @description | |
11059 | + * OK | |
11060 | + */ | |
11061 | + 200: ServerResult; | |
11062 | + /** | |
11063 | + * @description | |
11064 | + * Created | |
11065 | + */ | |
11066 | + 201: any; | |
11067 | + /** | |
11068 | + * @description | |
11069 | + * Unauthorized | |
11070 | + */ | |
11071 | + 401: any; | |
11072 | + /** | |
11073 | + * @description | |
11074 | + * Forbidden | |
11075 | + */ | |
11076 | + 403: any; | |
11077 | + /** | |
11078 | + * @description | |
11079 | + * Not Found | |
11080 | + */ | |
11081 | + 404: any; | |
11082 | +} | |
11083 | + | |
11084 | +export type PostServiceInvoiceFindInvoiceResponseSuccess = | |
11085 | + PostServiceInvoiceFindInvoiceResponse[200]; | |
11086 | +/** | |
11087 | + * @description | |
11088 | + * 不分页查询发票 | |
11089 | + * @tags 发票 | |
11090 | + * @produces * | |
11091 | + * @consumes application/json | |
11092 | + */ | |
11093 | +export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { | |
11094 | + const method = 'post'; | |
11095 | + const url = '/service/invoice/findInvoice'; | |
11096 | + function request( | |
11097 | + option: PostServiceInvoiceFindInvoiceOption, | |
11098 | + ): Promise<PostServiceInvoiceFindInvoiceResponseSuccess> { | |
11099 | + return requester(request.url, { | |
11100 | + method: request.method, | |
11101 | + ...option, | |
11102 | + }) as unknown as Promise<PostServiceInvoiceFindInvoiceResponseSuccess>; | |
11103 | + } | |
11104 | + | |
11105 | + /** http method */ | |
11106 | + request.method = method; | |
11107 | + /** request url */ | |
11108 | + request.url = url; | |
11109 | + return request; | |
11110 | +})(); | |
11111 | + | |
11112 | +/** @description request parameter type for postServiceInvoiceGetInvoiceRecord */ | |
11113 | +export interface PostServiceInvoiceGetInvoiceRecordOption { | |
11114 | + /** | |
11115 | + * @description | |
11116 | + * id | |
11117 | + * @format int64 | |
11118 | + */ | |
11119 | + query?: { | |
11120 | + /** | |
11121 | + @description | |
11122 | + id | |
11123 | + @format int64 */ | |
11124 | + id?: number; | |
11125 | + }; | |
11126 | +} | |
11127 | + | |
11128 | +/** @description response type for postServiceInvoiceGetInvoiceRecord */ | |
11129 | +export interface PostServiceInvoiceGetInvoiceRecordResponse { | |
11130 | + /** | |
11131 | + * @description | |
11132 | + * OK | |
11133 | + */ | |
11134 | + 200: ServerResult; | |
11135 | + /** | |
11136 | + * @description | |
11137 | + * Created | |
11138 | + */ | |
11139 | + 201: any; | |
11140 | + /** | |
11141 | + * @description | |
11142 | + * Unauthorized | |
11143 | + */ | |
11144 | + 401: any; | |
11145 | + /** | |
11146 | + * @description | |
11147 | + * Forbidden | |
11148 | + */ | |
11149 | + 403: any; | |
11150 | + /** | |
11151 | + * @description | |
11152 | + * Not Found | |
11153 | + */ | |
11154 | + 404: any; | |
11155 | +} | |
11156 | + | |
11157 | +export type PostServiceInvoiceGetInvoiceRecordResponseSuccess = | |
11158 | + PostServiceInvoiceGetInvoiceRecordResponse[200]; | |
11159 | +/** | |
11160 | + * @description | |
11161 | + * 获取开票记录 | |
11162 | + * @tags 发票 | |
11163 | + * @produces * | |
11164 | + * @consumes application/json | |
11165 | + */ | |
11166 | +export const postServiceInvoiceGetInvoiceRecord = /* #__PURE__ */ (() => { | |
11167 | + const method = 'post'; | |
11168 | + const url = '/service/invoice/getInvoiceRecord'; | |
11169 | + function request( | |
11170 | + option?: PostServiceInvoiceGetInvoiceRecordOption, | |
11171 | + ): Promise<PostServiceInvoiceGetInvoiceRecordResponseSuccess> { | |
11172 | + return requester(request.url, { | |
11173 | + method: request.method, | |
11174 | + ...option, | |
11175 | + }) as unknown as Promise<PostServiceInvoiceGetInvoiceRecordResponseSuccess>; | |
11176 | + } | |
11177 | + | |
11178 | + /** http method */ | |
11179 | + request.method = method; | |
11180 | + /** request url */ | |
11181 | + request.url = url; | |
11182 | + return request; | |
11183 | +})(); | |
11184 | + | |
11185 | +/** @description request parameter type for postServiceInvoiceImportInvoiceDetails */ | |
11186 | +export interface PostServiceInvoiceImportInvoiceDetailsOption { | |
11187 | + /** | |
11188 | + * @description | |
11189 | + * detailsExcel | |
11190 | + */ | |
11191 | + formData: { | |
11192 | + /** | |
11193 | + @description | |
11194 | + detailsExcel */ | |
11195 | + detailsExcel: File; | |
11196 | + }; | |
11197 | +} | |
11198 | + | |
11199 | +/** @description request parameter type for postServiceInvoiceImportInvoiceDetails */ | |
11200 | +export interface PostServiceInvoiceImportInvoiceDetailsOption { | |
11201 | + /** | |
11202 | + * @description | |
11203 | + * invoiceRecordId | |
11204 | + * @format int64 | |
11205 | + */ | |
11206 | + query: { | |
11207 | + /** | |
11208 | + @description | |
11209 | + invoiceRecordId | |
11210 | + @format int64 */ | |
11211 | + invoiceRecordId: number; | |
11212 | + }; | |
11213 | +} | |
11214 | + | |
11215 | +/** @description response type for postServiceInvoiceImportInvoiceDetails */ | |
11216 | +export interface PostServiceInvoiceImportInvoiceDetailsResponse { | |
11217 | + /** | |
11218 | + * @description | |
11219 | + * OK | |
11220 | + */ | |
11221 | + 200: ServerResult; | |
11222 | + /** | |
11223 | + * @description | |
11224 | + * Created | |
11225 | + */ | |
11226 | + 201: any; | |
11227 | + /** | |
11228 | + * @description | |
11229 | + * Unauthorized | |
11230 | + */ | |
11231 | + 401: any; | |
11232 | + /** | |
11233 | + * @description | |
11234 | + * Forbidden | |
11235 | + */ | |
11236 | + 403: any; | |
11237 | + /** | |
11238 | + * @description | |
11239 | + * Not Found | |
11240 | + */ | |
11241 | + 404: any; | |
11242 | +} | |
11243 | + | |
11244 | +export type PostServiceInvoiceImportInvoiceDetailsResponseSuccess = | |
11245 | + PostServiceInvoiceImportInvoiceDetailsResponse[200]; | |
11246 | +/** | |
11247 | + * @description | |
11248 | + * 导入发票明细 | |
11249 | + * @tags 发票 | |
11250 | + * @produces * | |
11251 | + * @consumes multipart/form-data | |
11252 | + */ | |
11253 | +export const postServiceInvoiceImportInvoiceDetails = /* #__PURE__ */ (() => { | |
11254 | + const method = 'post'; | |
11255 | + const url = '/service/invoice/importInvoiceDetails'; | |
11256 | + function request( | |
11257 | + option: PostServiceInvoiceImportInvoiceDetailsOption, | |
11258 | + ): Promise<PostServiceInvoiceImportInvoiceDetailsResponseSuccess> { | |
11259 | + return requester(request.url, { | |
11260 | + method: request.method, | |
11261 | + ...option, | |
11262 | + }) as unknown as Promise<PostServiceInvoiceImportInvoiceDetailsResponseSuccess>; | |
11263 | + } | |
11264 | + | |
11265 | + /** http method */ | |
11266 | + request.method = method; | |
11267 | + /** request url */ | |
11268 | + request.url = url; | |
11269 | + return request; | |
11270 | +})(); | |
11271 | + | |
11272 | +/** @description request parameter type for postServiceInvoiceInvoiceWriteOff */ | |
11273 | +export interface PostServiceInvoiceInvoiceWriteOffOption { | |
11274 | + /** | |
11275 | + * @description | |
11276 | + * dto | |
11277 | + */ | |
11278 | + body: { | |
11279 | + /** | |
11280 | + @description | |
11281 | + dto */ | |
11282 | + dto: Dto; | |
11283 | + }; | |
11284 | +} | |
11285 | + | |
11286 | +/** @description response type for postServiceInvoiceInvoiceWriteOff */ | |
11287 | +export interface PostServiceInvoiceInvoiceWriteOffResponse { | |
11288 | + /** | |
11289 | + * @description | |
11290 | + * OK | |
11291 | + */ | |
11292 | + 200: ServerResult; | |
11293 | + /** | |
11294 | + * @description | |
11295 | + * Created | |
11296 | + */ | |
11297 | + 201: any; | |
11298 | + /** | |
11299 | + * @description | |
11300 | + * Unauthorized | |
11301 | + */ | |
11302 | + 401: any; | |
11303 | + /** | |
11304 | + * @description | |
11305 | + * Forbidden | |
11306 | + */ | |
11307 | + 403: any; | |
11308 | + /** | |
11309 | + * @description | |
11310 | + * Not Found | |
11311 | + */ | |
11312 | + 404: any; | |
11313 | +} | |
11314 | + | |
11315 | +export type PostServiceInvoiceInvoiceWriteOffResponseSuccess = | |
11316 | + PostServiceInvoiceInvoiceWriteOffResponse[200]; | |
11317 | +/** | |
11318 | + * @description | |
11319 | + * 发票核销 | |
11320 | + * @tags 发票 | |
11321 | + * @produces * | |
11322 | + * @consumes application/json | |
11323 | + */ | |
11324 | +export const postServiceInvoiceInvoiceWriteOff = /* #__PURE__ */ (() => { | |
11325 | + const method = 'post'; | |
11326 | + const url = '/service/invoice/invoiceWriteOff'; | |
11327 | + function request( | |
11328 | + option: PostServiceInvoiceInvoiceWriteOffOption, | |
11329 | + ): Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess> { | |
11330 | + return requester(request.url, { | |
11331 | + method: request.method, | |
11332 | + ...option, | |
11333 | + }) as unknown as Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess>; | |
11334 | + } | |
11335 | + | |
11336 | + /** http method */ | |
11337 | + request.method = method; | |
11338 | + /** request url */ | |
11339 | + request.url = url; | |
11340 | + return request; | |
11341 | +})(); | |
11342 | + | |
11343 | +/** @description request parameter type for postServiceInvoiceInvoicing */ | |
11344 | +export interface PostServiceInvoiceInvoicingOption { | |
11345 | + /** | |
11346 | + * @description | |
11347 | + * dto | |
11348 | + */ | |
11349 | + body: { | |
11350 | + /** | |
11351 | + @description | |
11352 | + dto */ | |
11353 | + dto: Dto; | |
11354 | + }; | |
11355 | +} | |
11356 | + | |
11357 | +/** @description response type for postServiceInvoiceInvoicing */ | |
11358 | +export interface PostServiceInvoiceInvoicingResponse { | |
11359 | + /** | |
11360 | + * @description | |
11361 | + * OK | |
11362 | + */ | |
11363 | + 200: ServerResult; | |
11364 | + /** | |
11365 | + * @description | |
11366 | + * Created | |
11367 | + */ | |
11368 | + 201: any; | |
11369 | + /** | |
11370 | + * @description | |
11371 | + * Unauthorized | |
11372 | + */ | |
11373 | + 401: any; | |
11374 | + /** | |
11375 | + * @description | |
11376 | + * Forbidden | |
11377 | + */ | |
11378 | + 403: any; | |
11379 | + /** | |
11380 | + * @description | |
11381 | + * Not Found | |
11382 | + */ | |
11383 | + 404: any; | |
11384 | +} | |
11385 | + | |
11386 | +export type PostServiceInvoiceInvoicingResponseSuccess = | |
11387 | + PostServiceInvoiceInvoicingResponse[200]; | |
11388 | +/** | |
11389 | + * @description | |
11390 | + * 开票 | |
11391 | + * @tags 发票 | |
11392 | + * @produces * | |
11393 | + * @consumes application/json | |
11394 | + */ | |
11395 | +export const postServiceInvoiceInvoicing = /* #__PURE__ */ (() => { | |
11396 | + const method = 'post'; | |
11397 | + const url = '/service/invoice/invoicing'; | |
11398 | + function request( | |
11399 | + option: PostServiceInvoiceInvoicingOption, | |
11400 | + ): Promise<PostServiceInvoiceInvoicingResponseSuccess> { | |
11401 | + return requester(request.url, { | |
11402 | + method: request.method, | |
11403 | + ...option, | |
11404 | + }) as unknown as Promise<PostServiceInvoiceInvoicingResponseSuccess>; | |
11405 | + } | |
11406 | + | |
11407 | + /** http method */ | |
11408 | + request.method = method; | |
11409 | + /** request url */ | |
11410 | + request.url = url; | |
11411 | + return request; | |
11412 | +})(); | |
11413 | + | |
11414 | +/** @description request parameter type for postServiceInvoiceModifyRecord */ | |
11415 | +export interface PostServiceInvoiceModifyRecordOption { | |
11416 | + /** | |
11417 | + * @description | |
11418 | + * dto | |
11419 | + */ | |
11420 | + body: { | |
11421 | + /** | |
11422 | + @description | |
11423 | + dto */ | |
11424 | + dto: InvoiceRecordDto; | |
11425 | + }; | |
11426 | +} | |
11427 | + | |
11428 | +/** @description response type for postServiceInvoiceModifyRecord */ | |
11429 | +export interface PostServiceInvoiceModifyRecordResponse { | |
11430 | + /** | |
11431 | + * @description | |
11432 | + * OK | |
11433 | + */ | |
11434 | + 200: ServerResult; | |
11435 | + /** | |
11436 | + * @description | |
11437 | + * Created | |
11438 | + */ | |
11439 | + 201: any; | |
11440 | + /** | |
11441 | + * @description | |
11442 | + * Unauthorized | |
11443 | + */ | |
11444 | + 401: any; | |
11445 | + /** | |
11446 | + * @description | |
11447 | + * Forbidden | |
11448 | + */ | |
11449 | + 403: any; | |
11450 | + /** | |
11451 | + * @description | |
11452 | + * Not Found | |
11453 | + */ | |
11454 | + 404: any; | |
11455 | +} | |
11456 | + | |
11457 | +export type PostServiceInvoiceModifyRecordResponseSuccess = | |
11458 | + PostServiceInvoiceModifyRecordResponse[200]; | |
11459 | +/** | |
11460 | + * @description | |
11461 | + * 修改开票记录 | |
11462 | + * @tags 发票 | |
11463 | + * @produces * | |
11464 | + * @consumes application/json | |
11465 | + */ | |
11466 | +export const postServiceInvoiceModifyRecord = /* #__PURE__ */ (() => { | |
11467 | + const method = 'post'; | |
11468 | + const url = '/service/invoice/modifyRecord'; | |
11469 | + function request( | |
11470 | + option: PostServiceInvoiceModifyRecordOption, | |
11471 | + ): Promise<PostServiceInvoiceModifyRecordResponseSuccess> { | |
11472 | + return requester(request.url, { | |
11473 | + method: request.method, | |
11474 | + ...option, | |
11475 | + }) as unknown as Promise<PostServiceInvoiceModifyRecordResponseSuccess>; | |
11476 | + } | |
11477 | + | |
11478 | + /** http method */ | |
11479 | + request.method = method; | |
11480 | + /** request url */ | |
11481 | + request.url = url; | |
11482 | + return request; | |
11483 | +})(); | |
11484 | + | |
11485 | +/** @description request parameter type for postServiceInvoiceQueryInvoice */ | |
11486 | +export interface PostServiceInvoiceQueryInvoiceOption { | |
11487 | + /** | |
11488 | + * @description | |
11489 | + * dto | |
11490 | + */ | |
11491 | + body: { | |
11492 | + /** | |
10129 | 11493 | @description |
10130 | 11494 | dto */ |
10131 | 11495 | dto: Dto; |
... | ... | @@ -10260,6 +11624,126 @@ export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { |
10260 | 11624 | return request; |
10261 | 11625 | })(); |
10262 | 11626 | |
11627 | +/** @description request parameter type for postServiceInvoiceQueryInvoiceRecordList */ | |
11628 | +export interface PostServiceInvoiceQueryInvoiceRecordListOption { | |
11629 | + /** | |
11630 | + * @description | |
11631 | + * dto | |
11632 | + */ | |
11633 | + body: { | |
11634 | + /** | |
11635 | + @description | |
11636 | + dto */ | |
11637 | + dto: QueryInvoiceRecordDto; | |
11638 | + }; | |
11639 | +} | |
11640 | + | |
11641 | +/** @description response type for postServiceInvoiceQueryInvoiceRecordList */ | |
11642 | +export interface PostServiceInvoiceQueryInvoiceRecordListResponse { | |
11643 | + /** | |
11644 | + * @description | |
11645 | + * OK | |
11646 | + */ | |
11647 | + 200: ServerResult; | |
11648 | + /** | |
11649 | + * @description | |
11650 | + * Created | |
11651 | + */ | |
11652 | + 201: any; | |
11653 | + /** | |
11654 | + * @description | |
11655 | + * Unauthorized | |
11656 | + */ | |
11657 | + 401: any; | |
11658 | + /** | |
11659 | + * @description | |
11660 | + * Forbidden | |
11661 | + */ | |
11662 | + 403: any; | |
11663 | + /** | |
11664 | + * @description | |
11665 | + * Not Found | |
11666 | + */ | |
11667 | + 404: any; | |
11668 | +} | |
11669 | + | |
11670 | +export type PostServiceInvoiceQueryInvoiceRecordListResponseSuccess = | |
11671 | + PostServiceInvoiceQueryInvoiceRecordListResponse[200]; | |
11672 | +/** | |
11673 | + * @description | |
11674 | + * 获取开票记录列表 | |
11675 | + * @tags 发票 | |
11676 | + * @produces * | |
11677 | + * @consumes application/json | |
11678 | + */ | |
11679 | +export const postServiceInvoiceQueryInvoiceRecordList = /* #__PURE__ */ (() => { | |
11680 | + const method = 'post'; | |
11681 | + const url = '/service/invoice/queryInvoiceRecordList'; | |
11682 | + function request( | |
11683 | + option: PostServiceInvoiceQueryInvoiceRecordListOption, | |
11684 | + ): Promise<PostServiceInvoiceQueryInvoiceRecordListResponseSuccess> { | |
11685 | + return requester(request.url, { | |
11686 | + method: request.method, | |
11687 | + ...option, | |
11688 | + }) as unknown as Promise<PostServiceInvoiceQueryInvoiceRecordListResponseSuccess>; | |
11689 | + } | |
11690 | + | |
11691 | + /** http method */ | |
11692 | + request.method = method; | |
11693 | + /** request url */ | |
11694 | + request.url = url; | |
11695 | + return request; | |
11696 | +})(); | |
11697 | + | |
11698 | +/** @description response type for getServiceInvoiceQueryReadyInvoiceRecordList */ | |
11699 | +export interface GetServiceInvoiceQueryReadyInvoiceRecordListResponse { | |
11700 | + /** | |
11701 | + * @description | |
11702 | + * OK | |
11703 | + */ | |
11704 | + 200: ServerResult; | |
11705 | + /** | |
11706 | + * @description | |
11707 | + * Unauthorized | |
11708 | + */ | |
11709 | + 401: any; | |
11710 | + /** | |
11711 | + * @description | |
11712 | + * Forbidden | |
11713 | + */ | |
11714 | + 403: any; | |
11715 | + /** | |
11716 | + * @description | |
11717 | + * Not Found | |
11718 | + */ | |
11719 | + 404: any; | |
11720 | +} | |
11721 | + | |
11722 | +export type GetServiceInvoiceQueryReadyInvoiceRecordListResponseSuccess = | |
11723 | + GetServiceInvoiceQueryReadyInvoiceRecordListResponse[200]; | |
11724 | +/** | |
11725 | + * @description | |
11726 | + * 获取要开票记录列表 | |
11727 | + * @tags 发票 | |
11728 | + * @produces * | |
11729 | + */ | |
11730 | +export const getServiceInvoiceQueryReadyInvoiceRecordList = | |
11731 | + /* #__PURE__ */ (() => { | |
11732 | + const method = 'get'; | |
11733 | + const url = '/service/invoice/queryReadyInvoiceRecordList'; | |
11734 | + function request(): Promise<GetServiceInvoiceQueryReadyInvoiceRecordListResponseSuccess> { | |
11735 | + return requester(request.url, { | |
11736 | + method: request.method, | |
11737 | + }) as unknown as Promise<GetServiceInvoiceQueryReadyInvoiceRecordListResponseSuccess>; | |
11738 | + } | |
11739 | + | |
11740 | + /** http method */ | |
11741 | + request.method = method; | |
11742 | + /** request url */ | |
11743 | + request.url = url; | |
11744 | + return request; | |
11745 | + })(); | |
11746 | + | |
10263 | 11747 | /** @description request parameter type for postServiceInvoiceReissue */ |
10264 | 11748 | export interface PostServiceInvoiceReissueOption { |
10265 | 11749 | /** |
... | ... | @@ -10331,6 +11815,148 @@ export const postServiceInvoiceReissue = /* #__PURE__ */ (() => { |
10331 | 11815 | return request; |
10332 | 11816 | })(); |
10333 | 11817 | |
11818 | +/** @description request parameter type for postServiceInvoiceReissueAudit */ | |
11819 | +export interface PostServiceInvoiceReissueAuditOption { | |
11820 | + /** | |
11821 | + * @description | |
11822 | + * dto | |
11823 | + */ | |
11824 | + body: { | |
11825 | + /** | |
11826 | + @description | |
11827 | + dto */ | |
11828 | + dto: AuditDto; | |
11829 | + }; | |
11830 | +} | |
11831 | + | |
11832 | +/** @description response type for postServiceInvoiceReissueAudit */ | |
11833 | +export interface PostServiceInvoiceReissueAuditResponse { | |
11834 | + /** | |
11835 | + * @description | |
11836 | + * OK | |
11837 | + */ | |
11838 | + 200: ServerResult; | |
11839 | + /** | |
11840 | + * @description | |
11841 | + * Created | |
11842 | + */ | |
11843 | + 201: any; | |
11844 | + /** | |
11845 | + * @description | |
11846 | + * Unauthorized | |
11847 | + */ | |
11848 | + 401: any; | |
11849 | + /** | |
11850 | + * @description | |
11851 | + * Forbidden | |
11852 | + */ | |
11853 | + 403: any; | |
11854 | + /** | |
11855 | + * @description | |
11856 | + * Not Found | |
11857 | + */ | |
11858 | + 404: any; | |
11859 | +} | |
11860 | + | |
11861 | +export type PostServiceInvoiceReissueAuditResponseSuccess = | |
11862 | + PostServiceInvoiceReissueAuditResponse[200]; | |
11863 | +/** | |
11864 | + * @description | |
11865 | + * 重新开票审核 | |
11866 | + * @tags 发票 | |
11867 | + * @produces * | |
11868 | + * @consumes application/json | |
11869 | + */ | |
11870 | +export const postServiceInvoiceReissueAudit = /* #__PURE__ */ (() => { | |
11871 | + const method = 'post'; | |
11872 | + const url = '/service/invoice/reissueAudit'; | |
11873 | + function request( | |
11874 | + option: PostServiceInvoiceReissueAuditOption, | |
11875 | + ): Promise<PostServiceInvoiceReissueAuditResponseSuccess> { | |
11876 | + return requester(request.url, { | |
11877 | + method: request.method, | |
11878 | + ...option, | |
11879 | + }) as unknown as Promise<PostServiceInvoiceReissueAuditResponseSuccess>; | |
11880 | + } | |
11881 | + | |
11882 | + /** http method */ | |
11883 | + request.method = method; | |
11884 | + /** request url */ | |
11885 | + request.url = url; | |
11886 | + return request; | |
11887 | +})(); | |
11888 | + | |
11889 | +/** @description request parameter type for postServiceInvoiceUrgentInvoicing */ | |
11890 | +export interface PostServiceInvoiceUrgentInvoicingOption { | |
11891 | + /** | |
11892 | + * @description | |
11893 | + * dto | |
11894 | + */ | |
11895 | + body: { | |
11896 | + /** | |
11897 | + @description | |
11898 | + dto */ | |
11899 | + dto: AuditDto; | |
11900 | + }; | |
11901 | +} | |
11902 | + | |
11903 | +/** @description response type for postServiceInvoiceUrgentInvoicing */ | |
11904 | +export interface PostServiceInvoiceUrgentInvoicingResponse { | |
11905 | + /** | |
11906 | + * @description | |
11907 | + * OK | |
11908 | + */ | |
11909 | + 200: ServerResult; | |
11910 | + /** | |
11911 | + * @description | |
11912 | + * Created | |
11913 | + */ | |
11914 | + 201: any; | |
11915 | + /** | |
11916 | + * @description | |
11917 | + * Unauthorized | |
11918 | + */ | |
11919 | + 401: any; | |
11920 | + /** | |
11921 | + * @description | |
11922 | + * Forbidden | |
11923 | + */ | |
11924 | + 403: any; | |
11925 | + /** | |
11926 | + * @description | |
11927 | + * Not Found | |
11928 | + */ | |
11929 | + 404: any; | |
11930 | +} | |
11931 | + | |
11932 | +export type PostServiceInvoiceUrgentInvoicingResponseSuccess = | |
11933 | + PostServiceInvoiceUrgentInvoicingResponse[200]; | |
11934 | +/** | |
11935 | + * @description | |
11936 | + * 加急开票审核 | |
11937 | + * @tags 发票 | |
11938 | + * @produces * | |
11939 | + * @consumes application/json | |
11940 | + */ | |
11941 | +export const postServiceInvoiceUrgentInvoicing = /* #__PURE__ */ (() => { | |
11942 | + const method = 'post'; | |
11943 | + const url = '/service/invoice/urgentInvoicing'; | |
11944 | + function request( | |
11945 | + option: PostServiceInvoiceUrgentInvoicingOption, | |
11946 | + ): Promise<PostServiceInvoiceUrgentInvoicingResponseSuccess> { | |
11947 | + return requester(request.url, { | |
11948 | + method: request.method, | |
11949 | + ...option, | |
11950 | + }) as unknown as Promise<PostServiceInvoiceUrgentInvoicingResponseSuccess>; | |
11951 | + } | |
11952 | + | |
11953 | + /** http method */ | |
11954 | + request.method = method; | |
11955 | + /** request url */ | |
11956 | + request.url = url; | |
11957 | + return request; | |
11958 | +})(); | |
11959 | + | |
10334 | 11960 | /** @description request parameter type for postServiceOrderAddOrder */ |
10335 | 11961 | export interface PostServiceOrderAddOrderOption { |
10336 | 11962 | /** | ... | ... |