Commit b17624594b1e10e032f0187479e519e87870c7f8
1 parent
488a530c
feat: 开票功能开发
Showing
3 changed files
with
884 additions
and
731 deletions
src/pages/Invoice/index.tsx
... | ... | @@ -12,16 +12,24 @@ import { |
12 | 12 | postServiceBankStatementDeleteBankStatement, |
13 | 13 | postServiceBankStatementEditBankStatement, |
14 | 14 | postServiceBankStatementQueryBankStatement, |
15 | + postServiceConstInvoiceType, | |
16 | + postServiceConstInvoicingType, | |
15 | 17 | postServiceInvoiceDeleteInvoice, |
16 | 18 | postServiceInvoiceQueryInvoice, |
19 | + postServiceInvoiceQueryInvoiceRecordList, | |
20 | + postServiceOrderQuerySalesCode, | |
17 | 21 | } from '@/services'; |
18 | -import { enumValueToLabel, formatDateTime } from '@/utils'; | |
22 | +import { | |
23 | + enumToProTableEnumValue, | |
24 | + enumValueToLabel, | |
25 | + formatDateTime, | |
26 | +} from '@/utils'; | |
19 | 27 | import { formatDate } from '@/utils/time'; |
20 | 28 | import { PlusOutlined } from '@ant-design/icons'; |
21 | -import { ProTable } from '@ant-design/pro-components'; | |
29 | +import { ActionType, ProTable } from '@ant-design/pro-components'; | |
22 | 30 | import { TableDropdown } from '@ant-design/pro-table'; |
23 | 31 | import { Button, Tabs, message } from 'antd'; |
24 | -import { useRef, useState } from 'react'; | |
32 | +import { useEffect, useRef, useState } from 'react'; | |
25 | 33 | import { INVOCING_STATUS, PAYEE_OPTIONS } from '../Order/constant'; |
26 | 34 | import BankImportModal from './components/BankImportModal'; |
27 | 35 | import InvoiceVerificationModal from './components/InvoiceVerificationModal'; |
... | ... | @@ -31,11 +39,32 @@ const InvoicePage = () => { |
31 | 39 | const invoiceActionRef = useRef<ActionType>(); |
32 | 40 | const bankActionRef = useRef<ActionType>(); |
33 | 41 | const waitDealrecordActionRef = useRef<ActionType>(); |
42 | + const [invoiceTypeValueEnum, setInvoiceTypeValueEnum] = useState({}); | |
43 | + const [invoicingTypeValueEnum, setInvoicingTypeValueEnum] = useState({}); | |
44 | + const [salesCodeValueEnum, setSalesCodeValueEnum] = useState({}); | |
34 | 45 | const [bankImportModalVisible, setBankImportModalVisible] = useState(false); |
35 | 46 | const [invoiceVerificationVisible, setInvoiceVerificationVisible] = |
36 | 47 | useState(false); |
37 | 48 | const [invoiceId, setInvoiceId] = useState(undefined); |
38 | 49 | |
50 | + useEffect(async () => { | |
51 | + let invoiceTypeRet = await postServiceConstInvoiceType(); | |
52 | + setInvoiceTypeValueEnum(invoiceTypeRet.data); | |
53 | + let invoicingTypeRet = await postServiceConstInvoicingType(); | |
54 | + setInvoicingTypeValueEnum(invoicingTypeRet.data); | |
55 | + const res = await postServiceOrderQuerySalesCode(); | |
56 | + let map = {}; | |
57 | + res.data?.forEach((item) => { | |
58 | + map[item.userName] = { | |
59 | + text: item.userName, | |
60 | + status: item.userName, | |
61 | + }; | |
62 | + console.log(map); | |
63 | + }); | |
64 | + setSalesCodeValueEnum(map); | |
65 | + console.log(map); | |
66 | + }, []); | |
67 | + | |
39 | 68 | const reloadInvoiceTable = () => { |
40 | 69 | invoiceActionRef.current?.reload(); |
41 | 70 | }; |
... | ... | @@ -60,6 +89,7 @@ const InvoicePage = () => { |
60 | 89 | { |
61 | 90 | dataIndex: 'index', |
62 | 91 | valueType: 'indexBorder', |
92 | + hideInSearch: true, | |
63 | 93 | width: 48, |
64 | 94 | }, |
65 | 95 | { |
... | ... | @@ -67,6 +97,7 @@ const InvoicePage = () => { |
67 | 97 | valueType: 'text', |
68 | 98 | dataIndex: 'id', |
69 | 99 | copyable: true, |
100 | + hideInSearch: true, | |
70 | 101 | width: 200, |
71 | 102 | }, |
72 | 103 | { |
... | ... | @@ -77,51 +108,46 @@ const InvoicePage = () => { |
77 | 108 | width: 200, |
78 | 109 | }, |
79 | 110 | { |
80 | - title: '申请开票时间', | |
81 | - dataIndex: 'createTime', | |
82 | - valueType: 'dateRange', | |
83 | - width: 200, | |
84 | - hideInTable: true, | |
85 | - search: { | |
86 | - transform: (value) => { | |
87 | - if (value) { | |
88 | - return { | |
89 | - createTimebegin: value[0], | |
90 | - createTimeEnd: value[1], | |
91 | - }; | |
92 | - } | |
93 | - }, | |
94 | - }, | |
95 | - }, | |
96 | - { | |
97 | - title: '订单来源', | |
111 | + title: '销售代表', | |
98 | 112 | valueType: 'text', |
99 | - dataIndex: 'orderSource', | |
113 | + hideInSearch: true, | |
114 | + dataIndex: 'createByName', | |
100 | 115 | }, |
101 | 116 | { |
102 | 117 | title: '购方名称', |
103 | 118 | valueType: 'text', |
104 | 119 | dataIndex: 'partyAName', |
120 | + hideInSearch: true, | |
105 | 121 | }, |
106 | 122 | { |
107 | 123 | title: '购方税号', |
108 | 124 | valueType: 'text', |
125 | + hideInSearch: true, | |
109 | 126 | dataIndex: 'partyATaxid', |
110 | 127 | }, |
111 | 128 | { |
112 | 129 | title: '收款单位', |
113 | 130 | valueType: 'text', |
131 | + hideInSearch: true, | |
114 | 132 | dataIndex: 'partyBName', |
115 | 133 | }, |
116 | 134 | { |
117 | 135 | title: '开票金额', |
118 | 136 | valueType: 'money', |
119 | 137 | dataIndex: 'price', |
138 | + hideInSearch: true, | |
139 | + }, | |
140 | + { | |
141 | + title: '开具类型', | |
142 | + valueType: 'Text', | |
143 | + dataIndex: 'invoicingTypeText', | |
144 | + hideInSearch: true, | |
120 | 145 | }, |
121 | 146 | { |
122 | 147 | title: '发票类型', |
123 | 148 | valueType: 'Text', |
124 | 149 | dataIndex: 'typeText', |
150 | + hideInSearch: true, | |
125 | 151 | }, |
126 | 152 | { |
127 | 153 | title: '是否加急', |
... | ... | @@ -129,10 +155,17 @@ const InvoicePage = () => { |
129 | 155 | dataIndex: 'isUrgentText', |
130 | 156 | hideInSearch: true, |
131 | 157 | }, |
158 | + | |
132 | 159 | { |
133 | - title: '是否加急', | |
160 | + title: '购方名称', | |
161 | + valueType: 'Text', | |
162 | + dataIndex: 'partyANameLike', | |
163 | + hideInTable: true, | |
164 | + }, | |
165 | + { | |
166 | + title: '收款单位', | |
134 | 167 | valueType: 'select', |
135 | - dataIndex: 'isUrgentText', | |
168 | + dataIndex: 'partyBNameLike', | |
136 | 169 | filters: true, |
137 | 170 | onFilter: true, |
138 | 171 | hideInTable: true, |
... | ... | @@ -148,6 +181,81 @@ const InvoicePage = () => { |
148 | 181 | }, |
149 | 182 | }, |
150 | 183 | { |
184 | + title: '主订单号', | |
185 | + valueType: 'Text', | |
186 | + dataIndex: 'mainOrderId', | |
187 | + hideInTable: true, | |
188 | + }, | |
189 | + { | |
190 | + title: '子订单号', | |
191 | + valueType: 'Text', | |
192 | + dataIndex: 'subOrderId', | |
193 | + hideInTable: true, | |
194 | + }, | |
195 | + { | |
196 | + title: '销售代表', | |
197 | + valueType: 'select', | |
198 | + dataIndex: 'salesCode', | |
199 | + filters: true, | |
200 | + onFilter: true, | |
201 | + hideInTable: true, | |
202 | + valueEnum: salesCodeValueEnum, | |
203 | + }, | |
204 | + { | |
205 | + title: '发票类型', | |
206 | + valueType: 'select', | |
207 | + dataIndex: 'type', | |
208 | + filters: true, | |
209 | + onFilter: true, | |
210 | + hideInTable: true, | |
211 | + valueEnum: enumToProTableEnumValue(invoiceTypeValueEnum), | |
212 | + }, | |
213 | + { | |
214 | + title: '开具类型', | |
215 | + valueType: 'select', | |
216 | + dataIndex: 'invoicingType', | |
217 | + filters: true, | |
218 | + onFilter: true, | |
219 | + hideInTable: true, | |
220 | + valueEnum: enumToProTableEnumValue(invoicingTypeValueEnum), | |
221 | + }, | |
222 | + { | |
223 | + title: '是否加急', | |
224 | + valueType: 'select', | |
225 | + dataIndex: 'isUrgent', | |
226 | + filters: true, | |
227 | + onFilter: true, | |
228 | + hideInTable: true, | |
229 | + valueEnum: { | |
230 | + true: { | |
231 | + text: '是', | |
232 | + status: true, | |
233 | + }, | |
234 | + false: { | |
235 | + text: '否', | |
236 | + status: false, | |
237 | + }, | |
238 | + }, | |
239 | + }, | |
240 | + { | |
241 | + title: '申请开票时间', | |
242 | + dataIndex: 'createTime', | |
243 | + valueType: 'dateRange', | |
244 | + width: 200, | |
245 | + hideInTable: true, | |
246 | + search: { | |
247 | + transform: (value) => { | |
248 | + if (value) { | |
249 | + return { | |
250 | + createTimeGe: value[0], | |
251 | + createTimeLe: value[1], | |
252 | + }; | |
253 | + } | |
254 | + }, | |
255 | + }, | |
256 | + }, | |
257 | + | |
258 | + { | |
151 | 259 | title: '操作', |
152 | 260 | valueType: 'option', |
153 | 261 | key: 'option', |
... | ... | @@ -196,7 +304,7 @@ const InvoicePage = () => { |
196 | 304 | { |
197 | 305 | title: '发票号码', |
198 | 306 | valueType: 'text', |
199 | - dataIndex: 'id', | |
307 | + dataIndex: 'invoiceNumber', | |
200 | 308 | copyable: true, |
201 | 309 | width: 200, |
202 | 310 | }, |
... | ... | @@ -208,26 +316,10 @@ const InvoicePage = () => { |
208 | 316 | width: 200, |
209 | 317 | }, |
210 | 318 | { |
211 | - title: '开票日期', | |
212 | - dataIndex: 'invoicingTime', | |
213 | - valueType: 'dateRange', | |
214 | - width: 200, | |
215 | - hideInTable: true, | |
216 | - search: { | |
217 | - transform: (value) => { | |
218 | - if (value) { | |
219 | - return { | |
220 | - invoicingTimebegin: value[0], | |
221 | - invoicingTimeEnd: value[1], | |
222 | - }; | |
223 | - } | |
224 | - }, | |
225 | - }, | |
226 | - }, | |
227 | - { | |
228 | 319 | title: '发票类型', |
229 | 320 | valueType: 'Text', |
230 | 321 | dataIndex: 'typeText', |
322 | + hideInSearch: true, | |
231 | 323 | }, |
232 | 324 | { |
233 | 325 | title: '发票状态', |
... | ... | @@ -236,27 +328,10 @@ const InvoicePage = () => { |
236 | 328 | hideInSearch: true, |
237 | 329 | }, |
238 | 330 | { |
239 | - title: '发票状态', | |
240 | - valueType: 'select', | |
241 | - dataIndex: 'status', | |
242 | - filters: true, | |
243 | - onFilter: true, | |
244 | - hideInTable: true, | |
245 | - valueEnum: { | |
246 | - yes: { | |
247 | - text: '开票中', | |
248 | - status: true, | |
249 | - }, | |
250 | - no: { | |
251 | - text: '已完成', | |
252 | - status: false, | |
253 | - }, | |
254 | - }, | |
255 | - }, | |
256 | - { | |
257 | 331 | title: '购方名称', |
258 | 332 | valueType: 'text', |
259 | 333 | dataIndex: 'partyAName', |
334 | + hideInSearch: true, | |
260 | 335 | }, |
261 | 336 | { |
262 | 337 | title: '购方税号', |
... | ... | @@ -267,21 +342,98 @@ const InvoicePage = () => { |
267 | 342 | title: '收款单位', |
268 | 343 | valueType: 'text', |
269 | 344 | dataIndex: 'partyBName', |
345 | + hideInSearch: true, | |
270 | 346 | }, |
271 | 347 | { |
272 | 348 | title: '联系人', |
273 | 349 | valueType: 'text', |
274 | 350 | dataIndex: 'contacts', |
351 | + hideInSearch: true, | |
352 | + }, | |
353 | + { | |
354 | + title: '申请人', | |
355 | + valueType: 'text', | |
356 | + dataIndex: 'createByName', | |
357 | + hideInSearch: true, | |
275 | 358 | }, |
276 | 359 | { |
277 | 360 | title: '开票金额(元)', |
278 | 361 | valueType: 'money', |
279 | 362 | dataIndex: 'price', |
363 | + hideInSearch: true, | |
280 | 364 | }, |
281 | 365 | { |
282 | 366 | title: '备注', |
283 | 367 | valueType: 'text', |
284 | 368 | dataIndex: 'contacts', |
369 | + hideInSearch: true, | |
370 | + }, | |
371 | + | |
372 | + { | |
373 | + title: '购方名称', | |
374 | + valueType: 'text', | |
375 | + dataIndex: 'partyANameLike', | |
376 | + hideInTable: true, | |
377 | + }, | |
378 | + { | |
379 | + title: '发票类型', | |
380 | + valueType: 'select', | |
381 | + dataIndex: 'type', | |
382 | + filters: true, | |
383 | + onFilter: true, | |
384 | + hideInTable: true, | |
385 | + valueEnum: enumToProTableEnumValue(invoiceTypeValueEnum), | |
386 | + }, | |
387 | + | |
388 | + { | |
389 | + title: '开票状态', | |
390 | + valueType: 'select', | |
391 | + dataIndex: 'status', | |
392 | + filters: true, | |
393 | + onFilter: true, | |
394 | + hideInTable: true, | |
395 | + valueEnum: { | |
396 | + yes: { | |
397 | + text: '开票中', | |
398 | + status: true, | |
399 | + }, | |
400 | + no: { | |
401 | + text: '已完成', | |
402 | + status: false, | |
403 | + }, | |
404 | + }, | |
405 | + }, | |
406 | + { | |
407 | + title: '销售代表', | |
408 | + valueType: 'select', | |
409 | + dataIndex: 'salesCode', | |
410 | + filters: true, | |
411 | + onFilter: true, | |
412 | + hideInTable: true, | |
413 | + valueEnum: salesCodeValueEnum, | |
414 | + }, | |
415 | + { | |
416 | + title: '联系人', | |
417 | + valueType: 'text', | |
418 | + dataIndex: 'contactsLike', | |
419 | + hideInTable: true, | |
420 | + }, | |
421 | + { | |
422 | + title: '开票日期', | |
423 | + dataIndex: 'invoicingTime', | |
424 | + valueType: 'dateRange', | |
425 | + width: 200, | |
426 | + hideInTable: true, | |
427 | + search: { | |
428 | + transform: (value) => { | |
429 | + if (value) { | |
430 | + return { | |
431 | + invoicingTimeGe: value[0], | |
432 | + invoicingTimeLe: value[1], | |
433 | + }; | |
434 | + } | |
435 | + }, | |
436 | + }, | |
285 | 437 | }, |
286 | 438 | { |
287 | 439 | title: '操作', |
... | ... | @@ -567,204 +719,13 @@ const InvoicePage = () => { |
567 | 719 | pagination={{ |
568 | 720 | pageSize: 10, |
569 | 721 | }} |
570 | - editable={{ | |
571 | - type: 'multiple', | |
572 | - onSave: async (rowKey, data) => { | |
573 | - await postServiceBankStatementEditBankStatement({ data: data }); | |
574 | - }, | |
575 | - actionRender: (row, config, defaultDom) => [ | |
576 | - defaultDom.save, | |
577 | - defaultDom.cancel, | |
578 | - ], | |
579 | - }} | |
580 | - request={() => { | |
581 | - let res = { | |
582 | - INIT_SIZE: 76, | |
722 | + request={async (params) => { | |
723 | + let res = await postServiceInvoiceQueryInvoiceRecordList({ | |
583 | 724 | data: { |
584 | - count: 7, | |
585 | - data: [ | |
586 | - { | |
587 | - createBy: 'ut', | |
588 | - createTime: '2019-12-23 13:52:31', | |
589 | - enableFlag: 90, | |
590 | - modifyBy: 'consectetur Excepteur aute ut', | |
591 | - modifyTime: '2005-03-02 22:01:32', | |
592 | - version: 91, | |
593 | - comment: | |
594 | - '边细们习根你多院行专广影达老约美走。达张阶议热维反整头或不图包记政空构。积能社员相号去带当工称能领安按。因化已须向共济转利气代料青毛可流。快查织意求场千名较相次都动边须北外次。基合叫老量可线人还号历己府构每国。', | |
595 | - content: null, | |
596 | - id: 310000202012317440, | |
597 | - invoiceId: '25', | |
598 | - isUrgent: true, | |
599 | - isUrgentText: 'false', | |
600 | - orderSource: '华', | |
601 | - partyAAddress: '青海省莱芜市-', | |
602 | - partyABankAccount: null, | |
603 | - partyAName: '艳', | |
604 | - partyAOpenBank: null, | |
605 | - partyAPhoneNumber: '75', | |
606 | - partyATaxid: '97', | |
607 | - partyAType: '并', | |
608 | - partyBName: '省', | |
609 | - price: 97.02140876234151, | |
610 | - receiveEmail: 'u.ompiqvrok@qq.com', | |
611 | - type: '拉', | |
612 | - typeText: '半', | |
613 | - uid: '86', | |
614 | - }, | |
615 | - { | |
616 | - createBy: null, | |
617 | - createTime: '2009-10-26 23:56:39', | |
618 | - enableFlag: 85, | |
619 | - modifyBy: 'sed', | |
620 | - modifyTime: '1974-03-16 21:20:54', | |
621 | - version: 91, | |
622 | - comment: | |
623 | - '习完图已三取色常成料通历界。写基府东必层给事素果热红少使目人。存压安越指再专角她感就器工斯。农必根正江只强三及写然光。头须存百自都等想指第要最府从结化向。代求打车极段就习严派效了人白。', | |
624 | - content: 'proident', | |
625 | - id: 620000198408234400, | |
626 | - invoiceId: '16', | |
627 | - isUrgent: true, | |
628 | - isUrgentText: 'true', | |
629 | - orderSource: '体', | |
630 | - partyAAddress: '宁夏回族自治区重庆市青铜峡市', | |
631 | - partyABankAccount: null, | |
632 | - partyAName: '霞', | |
633 | - partyAOpenBank: null, | |
634 | - partyAPhoneNumber: '39', | |
635 | - partyATaxid: '89', | |
636 | - partyAType: '地', | |
637 | - partyBName: '响', | |
638 | - price: 69.4861645, | |
639 | - receiveEmail: 'o.sxtxm@qq.com', | |
640 | - type: '干', | |
641 | - typeText: '根', | |
642 | - uid: '79', | |
643 | - }, | |
644 | - { | |
645 | - createBy: null, | |
646 | - createTime: '2003-10-08 13:17:29', | |
647 | - enableFlag: 43, | |
648 | - modifyBy: null, | |
649 | - modifyTime: '2004-04-08 22:23:21', | |
650 | - version: 51, | |
651 | - comment: | |
652 | - '确角小近非业全则关圆眼市为手达年气。工极类那该发样任研能关其。见放调江题别建斯真科再管任。办列织京易斯在日海完题列他处面。战九快定将度指矿光去细转斯之。', | |
653 | - content: 'incididunt voluptate qui pariatur dolor', | |
654 | - id: 630000200606085600, | |
655 | - invoiceId: '76', | |
656 | - isUrgent: false, | |
657 | - isUrgentText: 'false', | |
658 | - orderSource: '农', | |
659 | - partyAAddress: '江苏省阿里地区佳县', | |
660 | - partyABankAccount: null, | |
661 | - partyAName: '秀兰', | |
662 | - partyAOpenBank: 'ut ad mollit in', | |
663 | - partyAPhoneNumber: '33', | |
664 | - partyATaxid: '99', | |
665 | - partyAType: '才', | |
666 | - partyBName: '有', | |
667 | - price: 71.9815197, | |
668 | - receiveEmail: 'h.pggdeg@qq.com', | |
669 | - type: '们', | |
670 | - typeText: '基', | |
671 | - uid: '60', | |
672 | - }, | |
673 | - { | |
674 | - createBy: 'adipisicing voluptate velit quis irure', | |
675 | - createTime: '2013-08-31 18:08:15', | |
676 | - enableFlag: 56, | |
677 | - modifyBy: null, | |
678 | - modifyTime: '2020-10-02 03:43:41', | |
679 | - version: 11, | |
680 | - comment: | |
681 | - '几龙今物作议听间听管清且史龙。平住方系千数同较直此志开存第不。斗照如活运体且深其必是备然业特然九。', | |
682 | - content: 'adipisicing officia', | |
683 | - id: 210000199802263260, | |
684 | - invoiceId: '15', | |
685 | - isUrgent: true, | |
686 | - isUrgentText: 'true', | |
687 | - orderSource: '查', | |
688 | - partyAAddress: '河北省吴忠市高港区', | |
689 | - partyABankAccount: 'mollit', | |
690 | - partyAName: '娟', | |
691 | - partyAOpenBank: 'nisi mollit aliqua sit in', | |
692 | - partyAPhoneNumber: '13', | |
693 | - partyATaxid: '66', | |
694 | - partyAType: '价', | |
695 | - partyBName: '市', | |
696 | - price: 75.156958761676, | |
697 | - receiveEmail: 'w.ouomwkacr@qq.com', | |
698 | - type: '王', | |
699 | - typeText: '会', | |
700 | - uid: '39', | |
701 | - }, | |
702 | - { | |
703 | - createBy: null, | |
704 | - createTime: '1975-07-19 16:32:40', | |
705 | - enableFlag: 13, | |
706 | - modifyBy: null, | |
707 | - modifyTime: '2010-01-30 04:52:58', | |
708 | - version: 11, | |
709 | - comment: | |
710 | - '素手处整京收克和起及离导王每价眼。大都任下标路安角南维效制己成产长取。少了证准理却速学织极状照新。', | |
711 | - content: 'deserunt aute amet', | |
712 | - id: 630000197003058300, | |
713 | - invoiceId: '66', | |
714 | - isUrgent: true, | |
715 | - isUrgentText: 'false', | |
716 | - orderSource: '志', | |
717 | - partyAAddress: '江西省北京市其它区', | |
718 | - partyABankAccount: null, | |
719 | - partyAName: '娟', | |
720 | - partyAOpenBank: 'ex ut ipsum', | |
721 | - partyAPhoneNumber: '46', | |
722 | - partyATaxid: '93', | |
723 | - partyAType: '上', | |
724 | - partyBName: '知', | |
725 | - price: 99.282, | |
726 | - receiveEmail: 'w.nrtwcn@qq.com', | |
727 | - type: '小', | |
728 | - typeText: '备', | |
729 | - uid: '12', | |
730 | - }, | |
731 | - { | |
732 | - createBy: null, | |
733 | - createTime: '1995-05-04 22:28:16', | |
734 | - enableFlag: 80, | |
735 | - modifyBy: 'id', | |
736 | - modifyTime: '1993-11-30 12:33:19', | |
737 | - version: 80, | |
738 | - comment: | |
739 | - '半而清等义于部程复整拉层。科做比志转毛白和如还米在中传决单革。区根文统活干议质利厂节理广革名。工不六实达间我知走几常所族。点专边率识极天增她整场相带写南热。着山前面容际路等报气多称广把满。流起有适单命就也要科收圆即办。', | |
740 | - content: null, | |
741 | - id: 13000020060707554, | |
742 | - invoiceId: '31', | |
743 | - isUrgent: true, | |
744 | - isUrgentText: 'false', | |
745 | - orderSource: '即', | |
746 | - partyAAddress: '海南省九龙文圣区', | |
747 | - partyABankAccount: null, | |
748 | - partyAName: '平', | |
749 | - partyAOpenBank: null, | |
750 | - partyAPhoneNumber: '63', | |
751 | - partyATaxid: '33', | |
752 | - partyAType: '其', | |
753 | - partyBName: '明', | |
754 | - price: 80.49738185188207, | |
755 | - receiveEmail: 's.nevpkc@qq.com', | |
756 | - type: '别', | |
757 | - typeText: '世', | |
758 | - uid: '91', | |
759 | - }, | |
760 | - ], | |
761 | - pageSize: 27, | |
762 | - specialPath: ['ullamco culpa sint ipsum velit'], | |
763 | - total: 90, | |
725 | + ...params, | |
726 | + statusIsNull: true, | |
764 | 727 | }, |
765 | - message: null, | |
766 | - result: 67, | |
767 | - }; | |
728 | + }); | |
768 | 729 | return { |
769 | 730 | data: res?.data?.data, |
770 | 731 | total: res?.data?.total || 0, |
... | ... | @@ -818,446 +779,13 @@ const InvoicePage = () => { |
818 | 779 | defaultDom.cancel, |
819 | 780 | ], |
820 | 781 | }} |
821 | - request={() => { | |
822 | - let res = { | |
823 | - INIT_SIZE: 96, | |
782 | + request={async (params) => { | |
783 | + let res = await postServiceInvoiceQueryInvoiceRecordList({ | |
824 | 784 | data: { |
825 | - count: 40, | |
826 | - data: [ | |
827 | - { | |
828 | - createBy: '雷娜', | |
829 | - createTime: '1982-12-07 15:57:00', | |
830 | - enableFlag: 64, | |
831 | - modifyBy: null, | |
832 | - modifyTime: '1981-09-06 05:59:22', | |
833 | - version: 55, | |
834 | - comment: '属多取点养革律天者原级再则连争总至。', | |
835 | - contacts: '陈明', | |
836 | - content: '别或了毛这们我步与思信军派比。', | |
837 | - id: 620000200612198000, | |
838 | - invoiceId: '330000198604215559', | |
839 | - invoiceNumber: '19830331838', | |
840 | - invoicingTime: '1980-02-26 10:04:13', | |
841 | - isUrgent: false, | |
842 | - isUrgentText: '是', | |
843 | - orderSource: '曹艳', | |
844 | - partyAAddress: '上海 上海市 金山区', | |
845 | - partyABankAccount: '2501698734463855', | |
846 | - partyAName: '罗涛', | |
847 | - partyAOpenBank: '许军', | |
848 | - partyAPhoneNumber: '18672532237', | |
849 | - partyATaxid: '430000201107045534', | |
850 | - partyAType: '苏洋', | |
851 | - partyBName: '熊刚', | |
852 | - price: 78.2911093229768, | |
853 | - receiveEmail: 'w.xflycmu@femxci.eg', | |
854 | - status: 'yxuahki', | |
855 | - statusText: '更她同响文本小达千布主参。', | |
856 | - subOrders: null, | |
857 | - type: 'kqwhrwktc', | |
858 | - typeText: '使', | |
859 | - uid: '520000198911177412', | |
860 | - }, | |
861 | - { | |
862 | - createBy: '汪明', | |
863 | - createTime: '1974-02-01 12:03:49', | |
864 | - enableFlag: 6, | |
865 | - modifyBy: null, | |
866 | - modifyTime: '1997-09-23 02:11:00', | |
867 | - version: 13, | |
868 | - comment: '标于基往都眼总况须他技历做集角。', | |
869 | - contacts: '任杰', | |
870 | - content: '技证平于素容改相界会平备取论子会。', | |
871 | - id: 230000198401060930, | |
872 | - invoiceId: '140000197812253381', | |
873 | - invoiceNumber: '13874841573', | |
874 | - invoicingTime: '2008-05-20 06:37:45', | |
875 | - isUrgent: false, | |
876 | - isUrgentText: '是', | |
877 | - orderSource: '陈明', | |
878 | - partyAAddress: '河南省 安阳市 殷都区', | |
879 | - partyABankAccount: '7509864849707372', | |
880 | - partyAName: '吕静', | |
881 | - partyAOpenBank: '丁强', | |
882 | - partyAPhoneNumber: '18181273520', | |
883 | - partyATaxid: '630000198207222748', | |
884 | - partyAType: '贾静', | |
885 | - partyBName: '董桂英', | |
886 | - price: 69.57356674, | |
887 | - receiveEmail: 'j.ppfpnyuex@pxy.ba', | |
888 | - status: 'mkjqxghec', | |
889 | - statusText: '中别术系民布起方发采他入快。', | |
890 | - subOrders: null, | |
891 | - type: 'rley', | |
892 | - typeText: '声', | |
893 | - uid: '340000201512115987', | |
894 | - }, | |
895 | - { | |
896 | - createBy: '邱娟', | |
897 | - createTime: '1986-03-25 02:37:42', | |
898 | - enableFlag: 94, | |
899 | - modifyBy: null, | |
900 | - modifyTime: '1981-02-24 03:24:52', | |
901 | - version: 5, | |
902 | - comment: '府约理王老候质面情几和收交及。', | |
903 | - contacts: '石洋', | |
904 | - content: '并地产书易头形给料着低劳器边局今年。', | |
905 | - id: 360000201412074750, | |
906 | - invoiceId: '610000198403273071', | |
907 | - invoiceNumber: '13112152609', | |
908 | - invoicingTime: '2022-07-29 16:33:09', | |
909 | - isUrgent: true, | |
910 | - isUrgentText: '是', | |
911 | - orderSource: '史洋', | |
912 | - partyAAddress: '山东省 莱芜市 钢城区', | |
913 | - partyABankAccount: '7027138809073734', | |
914 | - partyAName: '毛磊', | |
915 | - partyAOpenBank: '范勇', | |
916 | - partyAPhoneNumber: '13967263314', | |
917 | - partyATaxid: '540000201501189697', | |
918 | - partyAType: '钱娜', | |
919 | - partyBName: '朱平', | |
920 | - price: 100.19846, | |
921 | - receiveEmail: 'j.uautujmg@iutt.ug', | |
922 | - status: 'hmo', | |
923 | - statusText: '动却会明话根使队建全按叫向直于照。', | |
924 | - subOrders: [ | |
925 | - { | |
926 | - createByName: '正相着应参且', | |
927 | - createTime: '1974-01-26 12:34:09', | |
928 | - logicDelete: false, | |
929 | - updateByName: '员样整步', | |
930 | - updateTime: '1977-08-24 03:35:28', | |
931 | - afterInvoicingStatus: null, | |
932 | - afterInvoicingStatusUpdateTime: '2011-10-31 22:27:45', | |
933 | - afterSalesAnnex: null, | |
934 | - afterSalesNotes: 'consequat dolore', | |
935 | - afterSalesPlan: null, | |
936 | - annex: 'proident ut Duis enim laborum', | |
937 | - applyInvoicingAnnex: null, | |
938 | - applyInvoicingNotes: 'commodo aliqua dolor', | |
939 | - applyTime: '2004-02-07 07:38:51', | |
940 | - attrId: 76, | |
941 | - checkNotes: null, | |
942 | - collectMoneyTime: '1975-03-23 20:39:07', | |
943 | - confirmDeliverNotes: 'nulla', | |
944 | - confirmReissueNotes: 'Duis commodo', | |
945 | - deadline: '2010-10-26 07:32:17', | |
946 | - ext: null, | |
947 | - extendField: null, | |
948 | - financialReceiptIssuanceTime: '1988-04-08 15:58:36', | |
949 | - fullPaymentStatus: 'in commodo cupidatat ex', | |
950 | - goodsVolume: 80, | |
951 | - goodsWeight: 39, | |
952 | - id: 35, | |
953 | - image: 'http://dummyimage.com/400x400', | |
954 | - invoiceApplyUsername: '毛强', | |
955 | - invoiceInformation: null, | |
956 | - invoiceRecordId: 80, | |
957 | - invoicingCheckAnnex: 'labore minim non Lorem', | |
958 | - invoicingNotes: 'ipsum veniam elit in proident', | |
959 | - invoicingStatus: 'labore sunt proident non nulla', | |
960 | - invoicingTime: '1999-08-22 04:56:55', | |
961 | - invoicingUrgentCause: 'Ut pariatur id cillum', | |
962 | - isUrgent: false, | |
963 | - kingdeeErrorMessage: null, | |
964 | - logisticsMethod: null, | |
965 | - logisticsNotes: null, | |
966 | - mainOrderAmountProportion: 16, | |
967 | - mainOrderId: 13, | |
968 | - materialId: '26', | |
969 | - modified: null, | |
970 | - modifiedAuditNotes: 'ut in anim minim', | |
971 | - modifiedAuditStatus: 'et', | |
972 | - modifiedOptFlag: null, | |
973 | - nextOrderStatus: null, | |
974 | - notes: null, | |
975 | - orderStatus: null, | |
976 | - orderStatusBeforeModify: null, | |
977 | - orderStatusUpdateTime: '1974-12-14 19:43:12', | |
978 | - packageNumber: 63, | |
979 | - parameters: null, | |
980 | - paymentChannel: 'fugiat ut commodo', | |
981 | - paymentMethod: 'adipisicing id', | |
982 | - paymentReceiptAnnex: 'ipsum proident eiusmod consequat', | |
983 | - paymentReceiptNotes: | |
984 | - 'in cupidatat magna ex exercitation', | |
985 | - paymentReceiptStatus: null, | |
986 | - paymentStatus: 'anim commodo', | |
987 | - paymentTransactionId: '23', | |
988 | - postAuditNotes: 'minim fugiat Duis sed', | |
989 | - postAuditStatus: null, | |
990 | - postAuditStatusUpdateTime: '1984-07-19 18:38:31', | |
991 | - procureConvertNotes: null, | |
992 | - procureNotes: null, | |
993 | - procureOrderDatetime: '2021-12-23 08:15:07', | |
994 | - procureOrderStatus: 'non', | |
995 | - productBelongBusiness: null, | |
996 | - productCode: '78', | |
997 | - productId: 28, | |
998 | - productName: '容质名根斯治', | |
999 | - productPrice: 23, | |
1000 | - productionEndTime: '1996-11-23 06:11:39', | |
1001 | - productionStartTime: '2004-06-09 21:08:22', | |
1002 | - productionTimePushStatus: '2002-07-18 15:02:02', | |
1003 | - quantity: 43, | |
1004 | - receivingCompany: 'ad aliqua voluptate deserunt dolore', | |
1005 | - reissueNotes: 'eiusmod dolore culpa eu', | |
1006 | - serialNumber: '60', | |
1007 | - shippingWarehouse: null, | |
1008 | - subOrderPayment: 28, | |
1009 | - supplierName: '规白定成', | |
1010 | - supplierNotes: 'tempor', | |
1011 | - totalPayment: 96, | |
1012 | - uid: 12, | |
1013 | - unit: null, | |
1014 | - unitId: '18', | |
1015 | - urgentInvoiceAuditNotes: 'eiusmod', | |
1016 | - version: 14, | |
1017 | - }, | |
1018 | - ], | |
1019 | - type: 'npgjrdyw', | |
1020 | - typeText: '展', | |
1021 | - uid: '150000197405042503', | |
1022 | - }, | |
1023 | - { | |
1024 | - createBy: '曾静', | |
1025 | - createTime: '1990-10-19 11:30:37', | |
1026 | - enableFlag: 36, | |
1027 | - modifyBy: 'magna reprehenderit elit voluptate', | |
1028 | - modifyTime: '2018-02-18 10:16:04', | |
1029 | - version: 84, | |
1030 | - comment: '道状克动养单许出完报信结员毛于点王至。', | |
1031 | - contacts: '周勇', | |
1032 | - content: '片高标个样期影低计该改立及我白石动。', | |
1033 | - id: 640000199411075600, | |
1034 | - invoiceId: '710000198603062280', | |
1035 | - invoiceNumber: '18627937497', | |
1036 | - invoicingTime: '1978-08-29 07:45:10', | |
1037 | - isUrgent: false, | |
1038 | - isUrgentText: '是', | |
1039 | - orderSource: '武丽', | |
1040 | - partyAAddress: '广西壮族自治区 桂林市 资源县', | |
1041 | - partyABankAccount: '8409548639519280', | |
1042 | - partyAName: '石军', | |
1043 | - partyAOpenBank: '锺娟', | |
1044 | - partyAPhoneNumber: '18685160273', | |
1045 | - partyATaxid: '230000198012276960', | |
1046 | - partyAType: '贺涛', | |
1047 | - partyBName: '武杰', | |
1048 | - price: 86.8871, | |
1049 | - receiveEmail: 'g.eawptjpbp@hbxtiis.org', | |
1050 | - status: 'btjr', | |
1051 | - statusText: '七委南比越么于九精便公力花把例。', | |
1052 | - subOrders: null, | |
1053 | - type: 'natsqh', | |
1054 | - typeText: '今', | |
1055 | - uid: '330000197403311224', | |
1056 | - }, | |
1057 | - { | |
1058 | - createBy: '胡刚', | |
1059 | - createTime: '2012-02-29 15:17:16', | |
1060 | - enableFlag: 5, | |
1061 | - modifyBy: null, | |
1062 | - modifyTime: '2018-12-01 01:06:22', | |
1063 | - version: 54, | |
1064 | - comment: '相更列议建先山技看式动通少再张达。', | |
1065 | - contacts: '苏丽', | |
1066 | - content: '断采界农速率音料不利价本观育办加。', | |
1067 | - id: 310000198409296830, | |
1068 | - invoiceId: '410000199910214313', | |
1069 | - invoiceNumber: '18101897586', | |
1070 | - invoicingTime: '1988-05-10 01:04:49', | |
1071 | - isUrgent: true, | |
1072 | - isUrgentText: '是', | |
1073 | - orderSource: '张敏', | |
1074 | - partyAAddress: '湖南省 常德市 其它区', | |
1075 | - partyABankAccount: '541623920005147', | |
1076 | - partyAName: '金勇', | |
1077 | - partyAOpenBank: '姚勇', | |
1078 | - partyAPhoneNumber: '18628931955', | |
1079 | - partyATaxid: '46000019850421462X', | |
1080 | - partyAType: '冯涛', | |
1081 | - partyBName: '白静', | |
1082 | - price: 79.1186, | |
1083 | - receiveEmail: 'f.ufhtaaxy@tqf.at', | |
1084 | - status: 'nvzmpk', | |
1085 | - statusText: '走放装我况动备究值花石细识。', | |
1086 | - subOrders: null, | |
1087 | - type: 'bodjivi', | |
1088 | - typeText: '装', | |
1089 | - uid: '440000201911167833', | |
1090 | - }, | |
1091 | - { | |
1092 | - createBy: '程敏', | |
1093 | - createTime: '2003-01-07 15:21:18', | |
1094 | - enableFlag: 62, | |
1095 | - modifyBy: null, | |
1096 | - modifyTime: '2010-12-30 06:39:08', | |
1097 | - version: 86, | |
1098 | - comment: '经会林事养象象支美技易市处无。', | |
1099 | - contacts: '文明', | |
1100 | - content: '始压期历一品共可统许放率民机专。', | |
1101 | - id: 410000197306097340, | |
1102 | - invoiceId: '120000197305253404', | |
1103 | - invoiceNumber: '19847861585', | |
1104 | - invoicingTime: '2009-03-21 09:57:59', | |
1105 | - isUrgent: false, | |
1106 | - isUrgentText: '是', | |
1107 | - orderSource: '范强', | |
1108 | - partyAAddress: '宁夏回族自治区 固原市 隆德县', | |
1109 | - partyABankAccount: '3806430488701286', | |
1110 | - partyAName: '马秀英', | |
1111 | - partyAOpenBank: '孔丽', | |
1112 | - partyAPhoneNumber: '18685185146', | |
1113 | - partyATaxid: '610000202401101718', | |
1114 | - partyAType: '锺伟', | |
1115 | - partyBName: '秦磊', | |
1116 | - price: 63.13, | |
1117 | - receiveEmail: 'n.ndfy@cpfhavtnr.et', | |
1118 | - status: 'gudqdeery', | |
1119 | - statusText: '快万做放布别取面单十提按展情。', | |
1120 | - subOrders: null, | |
1121 | - type: 'xptbtyp', | |
1122 | - typeText: '加', | |
1123 | - uid: '640000200405105253', | |
1124 | - }, | |
1125 | - { | |
1126 | - createBy: '朱杰', | |
1127 | - createTime: '2001-10-19 02:15:09', | |
1128 | - enableFlag: 35, | |
1129 | - modifyBy: null, | |
1130 | - modifyTime: '1974-10-01 23:25:53', | |
1131 | - version: 35, | |
1132 | - comment: '常却而向求对始状快到种真西铁学。', | |
1133 | - contacts: '贺刚', | |
1134 | - content: '素道劳儿百难真意有调决第地日越积正。', | |
1135 | - id: 510000197910042200, | |
1136 | - invoiceId: '360000199305032410', | |
1137 | - invoiceNumber: '18157434343', | |
1138 | - invoicingTime: '1998-09-18 19:50:59', | |
1139 | - isUrgent: false, | |
1140 | - isUrgentText: '是', | |
1141 | - orderSource: '马平', | |
1142 | - partyAAddress: '海南省 三亚市 -', | |
1143 | - partyABankAccount: '4211370435362379', | |
1144 | - partyAName: '薛秀英', | |
1145 | - partyAOpenBank: '吕明', | |
1146 | - partyAPhoneNumber: '18635883258', | |
1147 | - partyATaxid: '210000197212284430', | |
1148 | - partyAType: '吕军', | |
1149 | - partyBName: '程霞', | |
1150 | - price: 98.921323, | |
1151 | - receiveEmail: 'd.bbfuzq@urmdtbfkw.pl', | |
1152 | - status: 'stnwy', | |
1153 | - statusText: '消也此矿教动了斯阶给决众划。', | |
1154 | - subOrders: [ | |
1155 | - { | |
1156 | - createByName: '热快志各', | |
1157 | - createTime: '2007-02-12 00:50:38', | |
1158 | - logicDelete: null, | |
1159 | - updateByName: '里争工', | |
1160 | - updateTime: '2018-12-06 05:13:27', | |
1161 | - afterInvoicingStatus: 'esse', | |
1162 | - afterInvoicingStatusUpdateTime: '1980-11-16 15:10:09', | |
1163 | - afterSalesAnnex: null, | |
1164 | - afterSalesNotes: null, | |
1165 | - afterSalesPlan: null, | |
1166 | - annex: null, | |
1167 | - applyInvoicingAnnex: null, | |
1168 | - applyInvoicingNotes: null, | |
1169 | - applyTime: '2014-10-18 20:00:18', | |
1170 | - attrId: 58, | |
1171 | - checkNotes: null, | |
1172 | - collectMoneyTime: '2020-03-07 12:13:38', | |
1173 | - confirmDeliverNotes: null, | |
1174 | - confirmReissueNotes: null, | |
1175 | - deadline: '1999-08-30 13:45:53', | |
1176 | - ext: null, | |
1177 | - extendField: 'ex Excepteur aute in', | |
1178 | - financialReceiptIssuanceTime: '2007-06-19 02:02:29', | |
1179 | - fullPaymentStatus: 'eu aliquip', | |
1180 | - goodsVolume: 6, | |
1181 | - goodsWeight: 3, | |
1182 | - id: 30, | |
1183 | - image: 'http://dummyimage.com/400x400', | |
1184 | - invoiceApplyUsername: '宋芳', | |
1185 | - invoiceInformation: 'non esse sed ut incididunt', | |
1186 | - invoiceRecordId: 80, | |
1187 | - invoicingCheckAnnex: 'do proident fugiat ut elit', | |
1188 | - invoicingNotes: null, | |
1189 | - invoicingStatus: null, | |
1190 | - invoicingTime: '1971-12-03 09:19:54', | |
1191 | - invoicingUrgentCause: 'sit commodo sunt', | |
1192 | - isUrgent: true, | |
1193 | - kingdeeErrorMessage: 'dolore ex labore consequat', | |
1194 | - logisticsMethod: null, | |
1195 | - logisticsNotes: 'nulla incididunt', | |
1196 | - mainOrderAmountProportion: 11, | |
1197 | - mainOrderId: 13, | |
1198 | - materialId: '63', | |
1199 | - modified: null, | |
1200 | - modifiedAuditNotes: 'ad irure', | |
1201 | - modifiedAuditStatus: 'elit laboris ut aliquip irure', | |
1202 | - modifiedOptFlag: null, | |
1203 | - nextOrderStatus: 'do incididunt cupidatat', | |
1204 | - notes: 'ad sunt Duis', | |
1205 | - orderStatus: null, | |
1206 | - orderStatusBeforeModify: 'Excepteur cillum deserunt ut', | |
1207 | - orderStatusUpdateTime: '2011-07-31 17:10:24', | |
1208 | - packageNumber: 48, | |
1209 | - parameters: null, | |
1210 | - paymentChannel: null, | |
1211 | - paymentMethod: 'reprehenderit', | |
1212 | - paymentReceiptAnnex: 'sunt est commodo sit anim', | |
1213 | - paymentReceiptNotes: 'eiusmod labore officia', | |
1214 | - paymentReceiptStatus: 'mollit pariatur', | |
1215 | - paymentStatus: | |
1216 | - 'aliqua Excepteur reprehenderit velit in', | |
1217 | - paymentTransactionId: '81', | |
1218 | - postAuditNotes: 'et', | |
1219 | - postAuditStatus: 'sed exercitation enim', | |
1220 | - postAuditStatusUpdateTime: '1991-06-30 05:29:46', | |
1221 | - procureConvertNotes: null, | |
1222 | - procureNotes: 'voluptate ullamco', | |
1223 | - procureOrderDatetime: '1985-12-20 10:33:57', | |
1224 | - procureOrderStatus: 'laborum', | |
1225 | - productBelongBusiness: 'quis sint ea Excepteur', | |
1226 | - productCode: '50', | |
1227 | - productId: 52, | |
1228 | - productName: '比解段便公许', | |
1229 | - productPrice: 58, | |
1230 | - productionEndTime: '1994-08-27 22:36:44', | |
1231 | - productionStartTime: '1973-01-04 19:34:37', | |
1232 | - productionTimePushStatus: '2021-12-05 23:10:48', | |
1233 | - quantity: 89, | |
1234 | - receivingCompany: null, | |
1235 | - reissueNotes: null, | |
1236 | - serialNumber: '8', | |
1237 | - shippingWarehouse: 'aliqua consequat sint', | |
1238 | - subOrderPayment: 19, | |
1239 | - supplierName: '很质切断将', | |
1240 | - supplierNotes: null, | |
1241 | - totalPayment: 74, | |
1242 | - uid: 62, | |
1243 | - unit: null, | |
1244 | - unitId: '20', | |
1245 | - urgentInvoiceAuditNotes: 'nisi non fugiat', | |
1246 | - version: 48, | |
1247 | - }, | |
1248 | - ], | |
1249 | - type: 'mgnyd', | |
1250 | - typeText: '压', | |
1251 | - uid: '44000019730215718X', | |
1252 | - }, | |
1253 | - ], | |
1254 | - pageSize: 56, | |
1255 | - specialPath: ['sit'], | |
1256 | - total: 74, | |
785 | + ...params, | |
786 | + statusIsNotNull: true, | |
1257 | 787 | }, |
1258 | - message: 'Excepteur', | |
1259 | - result: 50, | |
1260 | - }; | |
788 | + }); | |
1261 | 789 | return { |
1262 | 790 | data: res?.data?.data, |
1263 | 791 | total: res?.data?.total || 0, | ... | ... |
src/services/definition.ts
... | ... | @@ -960,6 +960,159 @@ export interface InvoiceDto { |
960 | 960 | status?: string; |
961 | 961 | } |
962 | 962 | |
963 | +export interface InvoiceRecordDto { | |
964 | + /** | |
965 | + * @description | |
966 | + * 开票备注 | |
967 | + */ | |
968 | + comment?: string; | |
969 | + /** | |
970 | + * @description | |
971 | + * 联系人 | |
972 | + */ | |
973 | + contacts?: string; | |
974 | + /** | |
975 | + * @description | |
976 | + * 开票内容 | |
977 | + */ | |
978 | + content?: string; | |
979 | + createByName?: string; | |
980 | + /** @format date-time */ | |
981 | + createTime?: string; | |
982 | + /** | |
983 | + * @description | |
984 | + * id | |
985 | + * @format int64 | |
986 | + */ | |
987 | + id?: number; | |
988 | + /** | |
989 | + * @description | |
990 | + * 关联发票id | |
991 | + */ | |
992 | + invoiceId?: string; | |
993 | + /** | |
994 | + * @description | |
995 | + * 发票号码 | |
996 | + */ | |
997 | + invoiceNumber?: string; | |
998 | + /** | |
999 | + * @description | |
1000 | + * 开票时间 | |
1001 | + * @format date-time | |
1002 | + */ | |
1003 | + invoicingTime?: string; | |
1004 | + /** | |
1005 | + * @description | |
1006 | + * 发票类型 | |
1007 | + */ | |
1008 | + invoicingType?: string; | |
1009 | + /** | |
1010 | + * @description | |
1011 | + * 发票类型 | |
1012 | + */ | |
1013 | + invoicingTypeText?: string; | |
1014 | + /** | |
1015 | + * @description | |
1016 | + * 是否加急 | |
1017 | + */ | |
1018 | + isUrgent?: boolean; | |
1019 | + /** | |
1020 | + * @description | |
1021 | + * 是否加急文本 | |
1022 | + */ | |
1023 | + isUrgentText?: string; | |
1024 | + logicDelete?: boolean; | |
1025 | + /** | |
1026 | + * @description | |
1027 | + * 买方注册地址 | |
1028 | + */ | |
1029 | + partyAAddress?: string; | |
1030 | + /** | |
1031 | + * @description | |
1032 | + * 买方开户行账号 | |
1033 | + */ | |
1034 | + partyABankAccount?: string; | |
1035 | + /** | |
1036 | + * @description | |
1037 | + * 买方名称 | |
1038 | + */ | |
1039 | + partyAName?: string; | |
1040 | + /** | |
1041 | + * @description | |
1042 | + * 买方开户行 | |
1043 | + */ | |
1044 | + partyAOpenBank?: string; | |
1045 | + /** | |
1046 | + * @description | |
1047 | + * 买方电话号码 | |
1048 | + */ | |
1049 | + partyAPhoneNumber?: string; | |
1050 | + /** | |
1051 | + * @description | |
1052 | + * 买方税号 | |
1053 | + */ | |
1054 | + partyATaxid?: string; | |
1055 | + /** | |
1056 | + * @description | |
1057 | + * 抬头类型 | |
1058 | + */ | |
1059 | + partyAType?: string; | |
1060 | + /** | |
1061 | + * @description | |
1062 | + * 卖方名称 | |
1063 | + */ | |
1064 | + partyBName?: string; | |
1065 | + /** | |
1066 | + * @description | |
1067 | + * 发票金额 | |
1068 | + * @format double | |
1069 | + */ | |
1070 | + price?: number; | |
1071 | + /** | |
1072 | + * @description | |
1073 | + * 接收邮箱地址 | |
1074 | + */ | |
1075 | + receiveEmail?: string; | |
1076 | + /** | |
1077 | + * @description | |
1078 | + * 订单来源 | |
1079 | + */ | |
1080 | + salesCode?: string; | |
1081 | + /** | |
1082 | + * @description | |
1083 | + * 开票状态 | |
1084 | + */ | |
1085 | + status?: string; | |
1086 | + /** | |
1087 | + * @description | |
1088 | + * 开票状态 | |
1089 | + */ | |
1090 | + statusText?: string; | |
1091 | + /** | |
1092 | + * @description | |
1093 | + * 关联订单 | |
1094 | + */ | |
1095 | + subOrders?: Array<SubOrder>; | |
1096 | + /** | |
1097 | + * @description | |
1098 | + * 开票类型 | |
1099 | + */ | |
1100 | + type?: string; | |
1101 | + /** | |
1102 | + * @description | |
1103 | + * 开票类型文本 | |
1104 | + */ | |
1105 | + typeText?: string; | |
1106 | + /** | |
1107 | + * @description | |
1108 | + * 用户id | |
1109 | + */ | |
1110 | + uid?: string; | |
1111 | + updateByName?: string; | |
1112 | + /** @format date-time */ | |
1113 | + updateTime?: string; | |
1114 | +} | |
1115 | + | |
963 | 1116 | export interface InvoiceRecordQueryRequest { |
964 | 1117 | /** @format date */ |
965 | 1118 | createTimeGe?: string; |
... | ... | @@ -1549,13 +1702,13 @@ export interface QueryBankStatementDto { |
1549 | 1702 | * collection_date |
1550 | 1703 | * @format date |
1551 | 1704 | */ |
1552 | - collectionDateBegin?: string; | |
1705 | + collectionDatetimeBegin?: string; | |
1553 | 1706 | /** |
1554 | 1707 | * @description |
1555 | 1708 | * collection_date |
1556 | 1709 | * @format date |
1557 | 1710 | */ |
1558 | - collectionDateEnd?: string; | |
1711 | + collectionDatetimeEnd?: string; | |
1559 | 1712 | /** @format int32 */ |
1560 | 1713 | current?: number; |
1561 | 1714 | /** @format int64 */ |
... | ... | @@ -1624,6 +1777,173 @@ export interface QueryInvoiceDetailDto { |
1624 | 1777 | invoiceId?: number; |
1625 | 1778 | } |
1626 | 1779 | |
1780 | +export interface QueryInvoiceRecordDto { | |
1781 | + /** | |
1782 | + * @description | |
1783 | + * 开票备注 | |
1784 | + */ | |
1785 | + comment?: string; | |
1786 | + /** | |
1787 | + * @description | |
1788 | + * 联系人 | |
1789 | + */ | |
1790 | + contactsLike?: string; | |
1791 | + /** | |
1792 | + * @description | |
1793 | + * 开票内容 | |
1794 | + */ | |
1795 | + content?: string; | |
1796 | + /** @format date-time */ | |
1797 | + createTimeGe?: string; | |
1798 | + /** @format date-time */ | |
1799 | + createTimeLe?: string; | |
1800 | + /** @format int32 */ | |
1801 | + current?: number; | |
1802 | + /** | |
1803 | + * @description | |
1804 | + * id | |
1805 | + * @format int64 | |
1806 | + */ | |
1807 | + id?: number; | |
1808 | + /** | |
1809 | + * @description | |
1810 | + * IdIn | |
1811 | + */ | |
1812 | + idIn?: Array<number>; | |
1813 | + /** | |
1814 | + * @description | |
1815 | + * 关联发票id | |
1816 | + */ | |
1817 | + invoiceId?: string; | |
1818 | + /** | |
1819 | + * @description | |
1820 | + * 发票号码 | |
1821 | + */ | |
1822 | + invoiceNumberLike?: string; | |
1823 | + /** | |
1824 | + * @description | |
1825 | + * 开票时间 | |
1826 | + */ | |
1827 | + invoicingTime?: string; | |
1828 | + /** | |
1829 | + * @description | |
1830 | + * 开票类型 | |
1831 | + */ | |
1832 | + invoicingType?: string; | |
1833 | + /** | |
1834 | + * @description | |
1835 | + * 是否加急 | |
1836 | + */ | |
1837 | + isUrgent?: boolean; | |
1838 | + /** | |
1839 | + * @description | |
1840 | + * 是否加急文本 | |
1841 | + */ | |
1842 | + isUrgentText?: string; | |
1843 | + mainOrderIdIn?: Array<number>; | |
1844 | + /** | |
1845 | + * @description | |
1846 | + * 订单号 | |
1847 | + */ | |
1848 | + mainOrderIdLike?: string; | |
1849 | + /** | |
1850 | + * @description | |
1851 | + * 订单来源 | |
1852 | + */ | |
1853 | + orderSource?: string; | |
1854 | + /** @format int32 */ | |
1855 | + pageSize?: number; | |
1856 | + /** | |
1857 | + * @description | |
1858 | + * 买方注册地址 | |
1859 | + */ | |
1860 | + partyAAddress?: string; | |
1861 | + /** | |
1862 | + * @description | |
1863 | + * 买方开户行账号 | |
1864 | + */ | |
1865 | + partyABankAccount?: string; | |
1866 | + /** | |
1867 | + * @description | |
1868 | + * 买方名称 | |
1869 | + */ | |
1870 | + partyANameLike?: string; | |
1871 | + /** | |
1872 | + * @description | |
1873 | + * 买方开户行 | |
1874 | + */ | |
1875 | + partyAOpenBank?: string; | |
1876 | + /** | |
1877 | + * @description | |
1878 | + * 买方电话号码 | |
1879 | + */ | |
1880 | + partyAPhoneNumberLike?: string; | |
1881 | + /** | |
1882 | + * @description | |
1883 | + * 买方税号 | |
1884 | + */ | |
1885 | + partyATaxid?: string; | |
1886 | + /** | |
1887 | + * @description | |
1888 | + * 抬头类型 | |
1889 | + */ | |
1890 | + partyAType?: string; | |
1891 | + /** | |
1892 | + * @description | |
1893 | + * 卖方名称 | |
1894 | + */ | |
1895 | + partyBName?: string; | |
1896 | + /** | |
1897 | + * @description | |
1898 | + * 发票金额 | |
1899 | + * @format double | |
1900 | + */ | |
1901 | + price?: number; | |
1902 | + /** | |
1903 | + * @description | |
1904 | + * 接收邮箱地址 | |
1905 | + */ | |
1906 | + receiveEmail?: string; | |
1907 | + /** | |
1908 | + * @description | |
1909 | + * 销售代表 | |
1910 | + */ | |
1911 | + salesCodeLike?: string; | |
1912 | + /** | |
1913 | + * @description | |
1914 | + * 开票状态 | |
1915 | + */ | |
1916 | + status?: string; | |
1917 | + /** | |
1918 | + * @description | |
1919 | + * 开票状态 | |
1920 | + */ | |
1921 | + statusText?: string; | |
1922 | + subOrderIdIn?: Array<number>; | |
1923 | + /** | |
1924 | + * @description | |
1925 | + * 关联订单 | |
1926 | + */ | |
1927 | + subOrders?: Array<SubOrder>; | |
1928 | + /** @format int32 */ | |
1929 | + total?: number; | |
1930 | + /** | |
1931 | + * @description | |
1932 | + * 开票类型 | |
1933 | + */ | |
1934 | + type?: string; | |
1935 | + /** | |
1936 | + * @description | |
1937 | + * 开票类型文本 | |
1938 | + */ | |
1939 | + typeText?: string; | |
1940 | + /** | |
1941 | + * @description | |
1942 | + * 用户id | |
1943 | + */ | |
1944 | + uid?: string; | |
1945 | +} | |
1946 | + | |
1627 | 1947 | export interface QueryMainOrderDto { |
1628 | 1948 | /** |
1629 | 1949 | * @description |
... | ... | @@ -1696,6 +2016,127 @@ export interface ShippingWarehouseChangeDto { |
1696 | 2016 | shippingWarehouse?: string; |
1697 | 2017 | } |
1698 | 2018 | |
2019 | +export interface SubOrder { | |
2020 | + afterInvoicingStatus?: string; | |
2021 | + /** @format date-time */ | |
2022 | + afterInvoicingStatusUpdateTime?: string; | |
2023 | + afterSalesAnnex?: string; | |
2024 | + afterSalesNotes?: string; | |
2025 | + afterSalesPlan?: string; | |
2026 | + annex?: string; | |
2027 | + applyInvoicingAnnex?: string; | |
2028 | + applyInvoicingNotes?: string; | |
2029 | + /** @format date-time */ | |
2030 | + applyTime?: string; | |
2031 | + /** @format int32 */ | |
2032 | + attrId?: number; | |
2033 | + checkNotes?: string; | |
2034 | + /** @format date-time */ | |
2035 | + collectMoneyTime?: string; | |
2036 | + confirmDeliverNotes?: string; | |
2037 | + confirmReissueNotes?: string; | |
2038 | + createByName?: string; | |
2039 | + /** @format date-time */ | |
2040 | + createTime?: string; | |
2041 | + /** @format date-time */ | |
2042 | + deadline?: string; | |
2043 | + ext?: string; | |
2044 | + extendField?: string; | |
2045 | + /** @format date-time */ | |
2046 | + financialReceiptIssuanceTime?: string; | |
2047 | + fullPaymentStatus?: string; | |
2048 | + /** @format double */ | |
2049 | + goodsVolume?: number; | |
2050 | + /** @format double */ | |
2051 | + goodsWeight?: number; | |
2052 | + /** @format int64 */ | |
2053 | + id?: number; | |
2054 | + image?: string; | |
2055 | + invoiceApplyUsername?: string; | |
2056 | + invoiceInformation?: string; | |
2057 | + /** @format int64 */ | |
2058 | + invoiceRecordId?: number; | |
2059 | + invoicingCheckAnnex?: string; | |
2060 | + invoicingNotes?: string; | |
2061 | + invoicingStatus?: string; | |
2062 | + /** @format date-time */ | |
2063 | + invoicingTime?: string; | |
2064 | + invoicingUrgentCause?: string; | |
2065 | + isUrgent?: boolean; | |
2066 | + kingdeeErrorMessage?: string; | |
2067 | + logicDelete?: boolean; | |
2068 | + logisticsMethod?: string; | |
2069 | + logisticsNotes?: string; | |
2070 | + /** @format int64 */ | |
2071 | + mainOrderAmountProportion?: number; | |
2072 | + /** @format int64 */ | |
2073 | + mainOrderId?: number; | |
2074 | + materialId?: string; | |
2075 | + modified?: boolean; | |
2076 | + modifiedAuditNotes?: string; | |
2077 | + modifiedAuditStatus?: string; | |
2078 | + modifiedOptFlag?: string; | |
2079 | + nextOrderStatus?: string; | |
2080 | + notes?: string; | |
2081 | + orderStatus?: string; | |
2082 | + orderStatusBeforeModify?: string; | |
2083 | + /** @format date-time */ | |
2084 | + orderStatusUpdateTime?: string; | |
2085 | + /** @format int32 */ | |
2086 | + packageNumber?: number; | |
2087 | + parameters?: string; | |
2088 | + paymentChannel?: string; | |
2089 | + paymentMethod?: string; | |
2090 | + paymentReceiptAnnex?: string; | |
2091 | + paymentReceiptNotes?: string; | |
2092 | + paymentReceiptStatus?: string; | |
2093 | + paymentStatus?: string; | |
2094 | + paymentTransactionId?: string; | |
2095 | + postAuditNotes?: string; | |
2096 | + postAuditStatus?: string; | |
2097 | + /** @format date-time */ | |
2098 | + postAuditStatusUpdateTime?: string; | |
2099 | + procureConvertNotes?: string; | |
2100 | + procureNotes?: string; | |
2101 | + /** @format date-time */ | |
2102 | + procureOrderDatetime?: string; | |
2103 | + procureOrderStatus?: string; | |
2104 | + productBelongBusiness?: string; | |
2105 | + productCode?: string; | |
2106 | + /** @format int32 */ | |
2107 | + productId?: number; | |
2108 | + productName?: string; | |
2109 | + /** @format int64 */ | |
2110 | + productPrice?: number; | |
2111 | + /** @format date-time */ | |
2112 | + productionEndTime?: string; | |
2113 | + /** @format date-time */ | |
2114 | + productionStartTime?: string; | |
2115 | + productionTimePushStatus?: string; | |
2116 | + /** @format int32 */ | |
2117 | + quantity?: number; | |
2118 | + receivingCompany?: string; | |
2119 | + reissueNotes?: string; | |
2120 | + serialNumber?: string; | |
2121 | + shippingWarehouse?: string; | |
2122 | + /** @format int64 */ | |
2123 | + subOrderPayment?: number; | |
2124 | + supplierName?: string; | |
2125 | + supplierNotes?: string; | |
2126 | + /** @format int64 */ | |
2127 | + totalPayment?: number; | |
2128 | + /** @format int32 */ | |
2129 | + uid?: number; | |
2130 | + unit?: string; | |
2131 | + unitId?: string; | |
2132 | + updateByName?: string; | |
2133 | + /** @format date-time */ | |
2134 | + updateTime?: string; | |
2135 | + urgentInvoiceAuditNotes?: string; | |
2136 | + /** @format int32 */ | |
2137 | + version?: number; | |
2138 | +} | |
2139 | + | |
1699 | 2140 | export interface SysLogQueryVO { |
1700 | 2141 | address?: string; |
1701 | 2142 | browser?: string; |
... | ... | @@ -2187,6 +2628,10 @@ export interface SalesRechargePrepaymentUpdateRequest { |
2187 | 2628 | salesCode?: string; |
2188 | 2629 | } |
2189 | 2630 | |
2631 | +export type ServerResultSimplePageUtilsInvoiceRecordDto = ServerResult< | |
2632 | + SimplePageUtils<InvoiceRecordDto> | |
2633 | +>; | |
2634 | +export type SimplePageUtilsInvoiceRecordDto = SimplePageUtils<InvoiceRecordDto>; | |
2190 | 2635 | /** |
2191 | 2636 | * @description |
2192 | 2637 | * 开票添加对象 |
... | ... | @@ -2312,3 +2757,14 @@ export interface Dto { |
2312 | 2757 | */ |
2313 | 2758 | subOrderIds?: Array<string>; |
2314 | 2759 | } |
2760 | + | |
2761 | +export interface SimplePageUtils<InvoiceRecordDto = any> { | |
2762 | + /** @format int64 */ | |
2763 | + count?: number; | |
2764 | + data?: Array<InvoiceRecordDto>; | |
2765 | + /** @format int64 */ | |
2766 | + pageSize?: number; | |
2767 | + specialPath?: Array<string>; | |
2768 | + /** @format int64 */ | |
2769 | + total?: number; | |
2770 | +} | ... | ... |
src/services/request.ts
... | ... | @@ -45,6 +45,7 @@ import type { |
45 | 45 | Dto, |
46 | 46 | InventoryMaterialStockReq, |
47 | 47 | InvoiceDto, |
48 | + InvoiceRecordDto, | |
48 | 49 | InvoiceRecordQueryRequest, |
49 | 50 | MainOrderqueryRequest, |
50 | 51 | MaterialListReply, |
... | ... | @@ -53,6 +54,7 @@ import type { |
53 | 54 | MaterialUnitListRes, |
54 | 55 | MeasureUnitListRes, |
55 | 56 | MessageQueryDTO, |
57 | + ModelAndView, | |
56 | 58 | OrderAddVO, |
57 | 59 | OrderAuditLogQueryVO, |
58 | 60 | OrderBaseInfoQueryVO, |
... | ... | @@ -71,6 +73,7 @@ import type { |
71 | 73 | QueryCustomerInformationDto, |
72 | 74 | QueryHistoryRecordDto, |
73 | 75 | QueryInvoiceDetailDto, |
76 | + QueryInvoiceRecordDto, | |
74 | 77 | QueryMainOrderDto, |
75 | 78 | QueryReportFormsDto, |
76 | 79 | ReissueInvoiceDto, |
... | ... | @@ -84,6 +87,7 @@ import type { |
84 | 87 | SaveReply, |
85 | 88 | ServerResult, |
86 | 89 | ShippingWarehouseChangeDto, |
90 | + SimplePageUtils, | |
87 | 91 | StoreOrderInvoiceRequest, |
88 | 92 | SysLogQueryVO, |
89 | 93 | SystemCustomFieldReq, |
... | ... | @@ -1537,9 +1541,7 @@ export interface GetErrorResponse { |
1537 | 1541 | * @description |
1538 | 1542 | * OK |
1539 | 1543 | */ |
1540 | - 200: { | |
1541 | - [propertyName: string]: any; | |
1542 | - }; | |
1544 | + 200: ModelAndView; | |
1543 | 1545 | /** |
1544 | 1546 | * @description |
1545 | 1547 | * Unauthorized |
... | ... | @@ -1560,9 +1562,9 @@ export interface GetErrorResponse { |
1560 | 1562 | export type GetErrorResponseSuccess = GetErrorResponse[200]; |
1561 | 1563 | /** |
1562 | 1564 | * @description |
1563 | - * error | |
1565 | + * errorHtml | |
1564 | 1566 | * @tags basic-error-controller |
1565 | - * @produces * | |
1567 | + * @produces text/html | |
1566 | 1568 | */ |
1567 | 1569 | export const getError = /* #__PURE__ */ (() => { |
1568 | 1570 | const method = 'get'; |
... | ... | @@ -1586,9 +1588,7 @@ export interface PutErrorResponse { |
1586 | 1588 | * @description |
1587 | 1589 | * OK |
1588 | 1590 | */ |
1589 | - 200: { | |
1590 | - [propertyName: string]: any; | |
1591 | - }; | |
1591 | + 200: ModelAndView; | |
1592 | 1592 | /** |
1593 | 1593 | * @description |
1594 | 1594 | * Created |
... | ... | @@ -1614,9 +1614,9 @@ export interface PutErrorResponse { |
1614 | 1614 | export type PutErrorResponseSuccess = PutErrorResponse[200]; |
1615 | 1615 | /** |
1616 | 1616 | * @description |
1617 | - * error | |
1617 | + * errorHtml | |
1618 | 1618 | * @tags basic-error-controller |
1619 | - * @produces * | |
1619 | + * @produces text/html | |
1620 | 1620 | * @consumes application/json |
1621 | 1621 | */ |
1622 | 1622 | export const putError = /* #__PURE__ */ (() => { |
... | ... | @@ -1641,9 +1641,7 @@ export interface PostErrorResponse { |
1641 | 1641 | * @description |
1642 | 1642 | * OK |
1643 | 1643 | */ |
1644 | - 200: { | |
1645 | - [propertyName: string]: any; | |
1646 | - }; | |
1644 | + 200: ModelAndView; | |
1647 | 1645 | /** |
1648 | 1646 | * @description |
1649 | 1647 | * Created |
... | ... | @@ -1669,9 +1667,9 @@ export interface PostErrorResponse { |
1669 | 1667 | export type PostErrorResponseSuccess = PostErrorResponse[200]; |
1670 | 1668 | /** |
1671 | 1669 | * @description |
1672 | - * error | |
1670 | + * errorHtml | |
1673 | 1671 | * @tags basic-error-controller |
1674 | - * @produces * | |
1672 | + * @produces text/html | |
1675 | 1673 | * @consumes application/json |
1676 | 1674 | */ |
1677 | 1675 | export const postError = /* #__PURE__ */ (() => { |
... | ... | @@ -1696,9 +1694,7 @@ export interface DeleteErrorResponse { |
1696 | 1694 | * @description |
1697 | 1695 | * OK |
1698 | 1696 | */ |
1699 | - 200: { | |
1700 | - [propertyName: string]: any; | |
1701 | - }; | |
1697 | + 200: ModelAndView; | |
1702 | 1698 | /** |
1703 | 1699 | * @description |
1704 | 1700 | * No Content |
... | ... | @@ -1719,9 +1715,9 @@ export interface DeleteErrorResponse { |
1719 | 1715 | export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; |
1720 | 1716 | /** |
1721 | 1717 | * @description |
1722 | - * error | |
1718 | + * errorHtml | |
1723 | 1719 | * @tags basic-error-controller |
1724 | - * @produces * | |
1720 | + * @produces text/html | |
1725 | 1721 | */ |
1726 | 1722 | export const deleteError = /* #__PURE__ */ (() => { |
1727 | 1723 | const method = 'delete'; |
... | ... | @@ -1745,9 +1741,7 @@ export interface OptionsErrorResponse { |
1745 | 1741 | * @description |
1746 | 1742 | * OK |
1747 | 1743 | */ |
1748 | - 200: { | |
1749 | - [propertyName: string]: any; | |
1750 | - }; | |
1744 | + 200: ModelAndView; | |
1751 | 1745 | /** |
1752 | 1746 | * @description |
1753 | 1747 | * No Content |
... | ... | @@ -1768,9 +1762,9 @@ export interface OptionsErrorResponse { |
1768 | 1762 | export type OptionsErrorResponseSuccess = OptionsErrorResponse[200]; |
1769 | 1763 | /** |
1770 | 1764 | * @description |
1771 | - * error | |
1765 | + * errorHtml | |
1772 | 1766 | * @tags basic-error-controller |
1773 | - * @produces * | |
1767 | + * @produces text/html | |
1774 | 1768 | * @consumes application/json |
1775 | 1769 | */ |
1776 | 1770 | export const optionsError = /* #__PURE__ */ (() => { |
... | ... | @@ -1795,9 +1789,7 @@ export interface HeadErrorResponse { |
1795 | 1789 | * @description |
1796 | 1790 | * OK |
1797 | 1791 | */ |
1798 | - 200: { | |
1799 | - [propertyName: string]: any; | |
1800 | - }; | |
1792 | + 200: ModelAndView; | |
1801 | 1793 | /** |
1802 | 1794 | * @description |
1803 | 1795 | * No Content |
... | ... | @@ -1818,9 +1810,9 @@ export interface HeadErrorResponse { |
1818 | 1810 | export type HeadErrorResponseSuccess = HeadErrorResponse[200]; |
1819 | 1811 | /** |
1820 | 1812 | * @description |
1821 | - * error | |
1813 | + * errorHtml | |
1822 | 1814 | * @tags basic-error-controller |
1823 | - * @produces * | |
1815 | + * @produces text/html | |
1824 | 1816 | * @consumes application/json |
1825 | 1817 | */ |
1826 | 1818 | export const headError = /* #__PURE__ */ (() => { |
... | ... | @@ -1845,9 +1837,7 @@ export interface PatchErrorResponse { |
1845 | 1837 | * @description |
1846 | 1838 | * OK |
1847 | 1839 | */ |
1848 | - 200: { | |
1849 | - [propertyName: string]: any; | |
1850 | - }; | |
1840 | + 200: ModelAndView; | |
1851 | 1841 | /** |
1852 | 1842 | * @description |
1853 | 1843 | * No Content |
... | ... | @@ -1868,9 +1858,9 @@ export interface PatchErrorResponse { |
1868 | 1858 | export type PatchErrorResponseSuccess = PatchErrorResponse[200]; |
1869 | 1859 | /** |
1870 | 1860 | * @description |
1871 | - * error | |
1861 | + * errorHtml | |
1872 | 1862 | * @tags basic-error-controller |
1873 | - * @produces * | |
1863 | + * @produces text/html | |
1874 | 1864 | * @consumes application/json |
1875 | 1865 | */ |
1876 | 1866 | export const patchError = /* #__PURE__ */ (() => { |
... | ... | @@ -7893,6 +7883,114 @@ export const postServiceBankStatementQueryBankStatement = |
7893 | 7883 | return request; |
7894 | 7884 | })(); |
7895 | 7885 | |
7886 | +/** @description response type for postServiceConstInvoiceType */ | |
7887 | +export interface PostServiceConstInvoiceTypeResponse { | |
7888 | + /** | |
7889 | + * @description | |
7890 | + * OK | |
7891 | + */ | |
7892 | + 200: ServerResult; | |
7893 | + /** | |
7894 | + * @description | |
7895 | + * Created | |
7896 | + */ | |
7897 | + 201: any; | |
7898 | + /** | |
7899 | + * @description | |
7900 | + * Unauthorized | |
7901 | + */ | |
7902 | + 401: any; | |
7903 | + /** | |
7904 | + * @description | |
7905 | + * Forbidden | |
7906 | + */ | |
7907 | + 403: any; | |
7908 | + /** | |
7909 | + * @description | |
7910 | + * Not Found | |
7911 | + */ | |
7912 | + 404: any; | |
7913 | +} | |
7914 | + | |
7915 | +export type PostServiceConstInvoiceTypeResponseSuccess = | |
7916 | + PostServiceConstInvoiceTypeResponse[200]; | |
7917 | +/** | |
7918 | + * @description | |
7919 | + * 发票类型 | |
7920 | + * @tags front-const-controller | |
7921 | + * @produces * | |
7922 | + * @consumes application/json | |
7923 | + */ | |
7924 | +export const postServiceConstInvoiceType = /* #__PURE__ */ (() => { | |
7925 | + const method = 'post'; | |
7926 | + const url = '/service/const/invoiceType'; | |
7927 | + function request(): Promise<PostServiceConstInvoiceTypeResponseSuccess> { | |
7928 | + return requester(request.url, { | |
7929 | + method: request.method, | |
7930 | + }) as unknown as Promise<PostServiceConstInvoiceTypeResponseSuccess>; | |
7931 | + } | |
7932 | + | |
7933 | + /** http method */ | |
7934 | + request.method = method; | |
7935 | + /** request url */ | |
7936 | + request.url = url; | |
7937 | + return request; | |
7938 | +})(); | |
7939 | + | |
7940 | +/** @description response type for postServiceConstInvoicingType */ | |
7941 | +export interface PostServiceConstInvoicingTypeResponse { | |
7942 | + /** | |
7943 | + * @description | |
7944 | + * OK | |
7945 | + */ | |
7946 | + 200: ServerResult; | |
7947 | + /** | |
7948 | + * @description | |
7949 | + * Created | |
7950 | + */ | |
7951 | + 201: any; | |
7952 | + /** | |
7953 | + * @description | |
7954 | + * Unauthorized | |
7955 | + */ | |
7956 | + 401: any; | |
7957 | + /** | |
7958 | + * @description | |
7959 | + * Forbidden | |
7960 | + */ | |
7961 | + 403: any; | |
7962 | + /** | |
7963 | + * @description | |
7964 | + * Not Found | |
7965 | + */ | |
7966 | + 404: any; | |
7967 | +} | |
7968 | + | |
7969 | +export type PostServiceConstInvoicingTypeResponseSuccess = | |
7970 | + PostServiceConstInvoicingTypeResponse[200]; | |
7971 | +/** | |
7972 | + * @description | |
7973 | + * 开具类型 | |
7974 | + * @tags front-const-controller | |
7975 | + * @produces * | |
7976 | + * @consumes application/json | |
7977 | + */ | |
7978 | +export const postServiceConstInvoicingType = /* #__PURE__ */ (() => { | |
7979 | + const method = 'post'; | |
7980 | + const url = '/service/const/invoicingType'; | |
7981 | + function request(): Promise<PostServiceConstInvoicingTypeResponseSuccess> { | |
7982 | + return requester(request.url, { | |
7983 | + method: request.method, | |
7984 | + }) as unknown as Promise<PostServiceConstInvoicingTypeResponseSuccess>; | |
7985 | + } | |
7986 | + | |
7987 | + /** http method */ | |
7988 | + request.method = method; | |
7989 | + /** request url */ | |
7990 | + request.url = url; | |
7991 | + return request; | |
7992 | +})(); | |
7993 | + | |
7896 | 7994 | /** @description request parameter type for postServiceInvoiceAddInvoice */ |
7897 | 7995 | export interface PostServiceInvoiceAddInvoiceOption { |
7898 | 7996 | /** |
... | ... | @@ -8391,6 +8489,77 @@ export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { |
8391 | 8489 | return request; |
8392 | 8490 | })(); |
8393 | 8491 | |
8492 | +/** @description request parameter type for postServiceInvoiceQueryInvoiceRecordList */ | |
8493 | +export interface PostServiceInvoiceQueryInvoiceRecordListOption { | |
8494 | + /** | |
8495 | + * @description | |
8496 | + * dto | |
8497 | + */ | |
8498 | + body: { | |
8499 | + /** | |
8500 | + @description | |
8501 | + dto */ | |
8502 | + dto: QueryInvoiceRecordDto; | |
8503 | + }; | |
8504 | +} | |
8505 | + | |
8506 | +/** @description response type for postServiceInvoiceQueryInvoiceRecordList */ | |
8507 | +export interface PostServiceInvoiceQueryInvoiceRecordListResponse { | |
8508 | + /** | |
8509 | + * @description | |
8510 | + * OK | |
8511 | + */ | |
8512 | + 200: ServerResult<SimplePageUtils<InvoiceRecordDto>>; | |
8513 | + /** | |
8514 | + * @description | |
8515 | + * Created | |
8516 | + */ | |
8517 | + 201: any; | |
8518 | + /** | |
8519 | + * @description | |
8520 | + * Unauthorized | |
8521 | + */ | |
8522 | + 401: any; | |
8523 | + /** | |
8524 | + * @description | |
8525 | + * Forbidden | |
8526 | + */ | |
8527 | + 403: any; | |
8528 | + /** | |
8529 | + * @description | |
8530 | + * Not Found | |
8531 | + */ | |
8532 | + 404: any; | |
8533 | +} | |
8534 | + | |
8535 | +export type PostServiceInvoiceQueryInvoiceRecordListResponseSuccess = | |
8536 | + PostServiceInvoiceQueryInvoiceRecordListResponse[200]; | |
8537 | +/** | |
8538 | + * @description | |
8539 | + * 获取开票记录列表 | |
8540 | + * @tags 发票 | |
8541 | + * @produces * | |
8542 | + * @consumes application/json | |
8543 | + */ | |
8544 | +export const postServiceInvoiceQueryInvoiceRecordList = /* #__PURE__ */ (() => { | |
8545 | + const method = 'post'; | |
8546 | + const url = '/service/invoice/queryInvoiceRecordList'; | |
8547 | + function request( | |
8548 | + option: PostServiceInvoiceQueryInvoiceRecordListOption, | |
8549 | + ): Promise<PostServiceInvoiceQueryInvoiceRecordListResponseSuccess> { | |
8550 | + return requester(request.url, { | |
8551 | + method: request.method, | |
8552 | + ...option, | |
8553 | + }) as unknown as Promise<PostServiceInvoiceQueryInvoiceRecordListResponseSuccess>; | |
8554 | + } | |
8555 | + | |
8556 | + /** http method */ | |
8557 | + request.method = method; | |
8558 | + /** request url */ | |
8559 | + request.url = url; | |
8560 | + return request; | |
8561 | +})(); | |
8562 | + | |
8394 | 8563 | /** @description request parameter type for postServiceInvoiceReissue */ |
8395 | 8564 | export interface PostServiceInvoiceReissueOption { |
8396 | 8565 | /** | ... | ... |