Commit c1c486f4cb45dc1aac1a9cfde76afc5e38c85a50
1 parent
7899437a
feat: 申请开票增加抬头名称字段
Showing
6 changed files
with
2771 additions
and
181 deletions
src/pages/Order/components/ApplyForInvoicingModal.tsx
@@ -4,6 +4,7 @@ import { enumToSelect, getAliYunOSSFileNameFromUrl } from '@/utils'; | @@ -4,6 +4,7 @@ import { enumToSelect, getAliYunOSSFileNameFromUrl } from '@/utils'; | ||
4 | import { | 4 | import { |
5 | ModalForm, | 5 | ModalForm, |
6 | ProFormSelect, | 6 | ProFormSelect, |
7 | + ProFormText, | ||
7 | ProFormTextArea, | 8 | ProFormTextArea, |
8 | ProFormUploadDragger, | 9 | ProFormUploadDragger, |
9 | } from '@ant-design/pro-components'; | 10 | } from '@ant-design/pro-components'; |
@@ -139,6 +140,14 @@ export default ({ | @@ -139,6 +140,14 @@ export default ({ | ||
139 | }, | 140 | }, |
140 | }} | 141 | }} |
141 | /> | 142 | /> |
143 | + <ProFormText | ||
144 | + width="lg" | ||
145 | + name="purchaser" | ||
146 | + label="抬头名称" | ||
147 | + key="purchaser" | ||
148 | + placeholder="请输入抬头名称" | ||
149 | + rules={[{ required: true, message: '抬头名称必填' }]} | ||
150 | + /> | ||
142 | <ProFormSelect | 151 | <ProFormSelect |
143 | placeholder="选择收款单位" | 152 | placeholder="选择收款单位" |
144 | name="receivingCompany" | 153 | name="receivingCompany" |
src/pages/Order/components/FinancialDrawer.tsx
@@ -34,6 +34,9 @@ export default ({ | @@ -34,6 +34,9 @@ export default ({ | ||
34 | setInvoicingStatus(subOrders[0]?.invoicingStatus); | 34 | setInvoicingStatus(subOrders[0]?.invoicingStatus); |
35 | } | 35 | } |
36 | }, [mainOrder]); | 36 | }, [mainOrder]); |
37 | + useEffect(() => { | ||
38 | + console.log(JSON.stringify(subOrders)); | ||
39 | + }, []); | ||
37 | 40 | ||
38 | const [form] = Form.useForm<{ name: string; company: string }>(); | 41 | const [form] = Form.useForm<{ name: string; company: string }>(); |
39 | 42 | ||
@@ -153,6 +156,17 @@ export default ({ | @@ -153,6 +156,17 @@ export default ({ | ||
153 | ]} | 156 | ]} |
154 | initialValue={subOrders[0]?.invoicingTime} | 157 | initialValue={subOrders[0]?.invoicingTime} |
155 | />, | 158 | />, |
159 | + <ProFormText | ||
160 | + key="purchaser" | ||
161 | + width="lg" | ||
162 | + name="purchaser" | ||
163 | + label="抬头名称" | ||
164 | + disabled={isEdit} | ||
165 | + rules={[ | ||
166 | + { required: !isEdit ? true : false, message: '这是必填项' }, | ||
167 | + ]} | ||
168 | + initialValue={subOrders[0]?.purchaser} | ||
169 | + />, | ||
156 | <ProFormDatePicker | 170 | <ProFormDatePicker |
157 | key="financialReceiptIssuanceTime" | 171 | key="financialReceiptIssuanceTime" |
158 | width="lg" | 172 | width="lg" |
src/pages/Order/components/ImportExpressBillModal.tsx
@@ -34,11 +34,12 @@ export default () => { | @@ -34,11 +34,12 @@ export default () => { | ||
34 | }, | 34 | }, |
35 | }); | 35 | }); |
36 | if (res.result === RESPONSE_CODE.SUCCESS) { | 36 | if (res.result === RESPONSE_CODE.SUCCESS) { |
37 | - return true; | 37 | + message.error('导入成功'); |
38 | } else { | 38 | } else { |
39 | message.error('导入失败'); | 39 | message.error('导入失败'); |
40 | } | 40 | } |
41 | messageApi.destroy(); | 41 | messageApi.destroy(); |
42 | + return true; | ||
42 | }} | 43 | }} |
43 | > | 44 | > |
44 | <ProFormUploadDragger max={1} label="上传快递单" name="express" /> | 45 | <ProFormUploadDragger max={1} label="上传快递单" name="express" /> |
src/pages/Order/components/ReissueModal.tsx
@@ -65,10 +65,7 @@ export default ({ setVisible, mainOrder, onClose }) => { | @@ -65,10 +65,7 @@ export default ({ setVisible, mainOrder, onClose }) => { | ||
65 | onFinish={async (values) => { | 65 | onFinish={async (values) => { |
66 | setSubmitting(true); | 66 | setSubmitting(true); |
67 | postServiceInvoiceReissue({ | 67 | postServiceInvoiceReissue({ |
68 | - data: { | ||
69 | - invoiceId: values.invoiceId, | ||
70 | - notes: values.notes, | ||
71 | - }, | 68 | + data: values, |
72 | }); | 69 | }); |
73 | setVisible(false); | 70 | setVisible(false); |
74 | onClose(); | 71 | onClose(); |
@@ -96,6 +93,14 @@ export default ({ setVisible, mainOrder, onClose }) => { | @@ -96,6 +93,14 @@ export default ({ setVisible, mainOrder, onClose }) => { | ||
96 | }} | 93 | }} |
97 | /> | 94 | /> |
98 | <ProFormText | 95 | <ProFormText |
96 | + width="lg" | ||
97 | + name="purchaser" | ||
98 | + label="抬头名称" | ||
99 | + key="purchaser" | ||
100 | + placeholder="请输入抬头名称" | ||
101 | + rules={[{ required: true, message: '抬头名称必填' }]} | ||
102 | + /> | ||
103 | + <ProFormText | ||
99 | width="md" | 104 | width="md" |
100 | name="关联订单" | 105 | name="关联订单" |
101 | label="发票关联订单号" | 106 | label="发票关联订单号" |
src/services/definition.ts
@@ -572,6 +572,221 @@ export interface ApiQueryOrderStatusCountsRequest { | @@ -572,6 +572,221 @@ export interface ApiQueryOrderStatusCountsRequest { | ||
572 | uid?: number; | 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 | export interface AuditDto { | 790 | export interface AuditDto { |
576 | /** | 791 | /** |
577 | * @description | 792 | * @description |
@@ -1030,15 +1245,388 @@ export interface InvoiceDto { | @@ -1030,15 +1245,388 @@ export interface InvoiceDto { | ||
1030 | status?: string; | 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 | /** @format date */ | 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 | createTimeGe?: string; | 1466 | createTimeGe?: string; |
1036 | - /** @format date */ | 1467 | + /** @format date-time */ |
1037 | createTimeLe?: string; | 1468 | createTimeLe?: string; |
1038 | /** @format int32 */ | 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 | /** @format int32 */ | 1623 | /** @format int32 */ |
1041 | - pageSize?: number; | 1624 | + total?: number; |
1625 | + /** | ||
1626 | + * @description | ||
1627 | + * 开票类型 | ||
1628 | + */ | ||
1629 | + type?: string; | ||
1042 | /** | 1630 | /** |
1043 | * @description | 1631 | * @description |
1044 | * 用户id | 1632 | * 用户id |
@@ -1061,6 +1649,14 @@ export interface ItemSaItem { | @@ -1061,6 +1649,14 @@ export interface ItemSaItem { | ||
1061 | 1649 | ||
1062 | export interface MainOrderqueryRequest { | 1650 | export interface MainOrderqueryRequest { |
1063 | afterInvoicingStatusIsNull?: boolean; | 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 | orderStatusNotIn?: Array<string>; | 1660 | orderStatusNotIn?: Array<string>; |
1065 | /** @format int32 */ | 1661 | /** @format int32 */ |
1066 | pageNumber?: number; | 1662 | pageNumber?: number; |
@@ -1805,6 +2401,198 @@ export interface QueryInvoiceDetailDto { | @@ -1805,6 +2401,198 @@ export interface QueryInvoiceDetailDto { | ||
1805 | invoiceId?: number; | 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 | export interface QueryMainOrderDto { | 2596 | export interface QueryMainOrderDto { |
1809 | /** | 2597 | /** |
1810 | * @description | 2598 | * @description |
@@ -2207,6 +2995,128 @@ export interface ShippingWarehouseChangeDto { | @@ -2207,6 +2995,128 @@ export interface ShippingWarehouseChangeDto { | ||
2207 | shippingWarehouse?: string; | 2995 | shippingWarehouse?: string; |
2208 | } | 2996 | } |
2209 | 2997 | ||
2998 | +export interface SubOrder { | ||
2999 | + afterInvoicingStatus?: string; | ||
3000 | + /** @format date-time */ | ||
3001 | + afterInvoicingStatusUpdateTime?: string; | ||
3002 | + afterSalesAnnex?: string; | ||
3003 | + afterSalesNotes?: string; | ||
3004 | + afterSalesPlan?: string; | ||
3005 | + annex?: string; | ||
3006 | + applyInvoicingAnnex?: string; | ||
3007 | + applyInvoicingNotes?: string; | ||
3008 | + /** @format date-time */ | ||
3009 | + applyTime?: string; | ||
3010 | + /** @format int32 */ | ||
3011 | + attrId?: number; | ||
3012 | + checkNotes?: string; | ||
3013 | + /** @format date-time */ | ||
3014 | + collectMoneyTime?: string; | ||
3015 | + confirmDeliverNotes?: string; | ||
3016 | + confirmReissueNotes?: string; | ||
3017 | + createByName?: string; | ||
3018 | + /** @format date-time */ | ||
3019 | + createTime?: string; | ||
3020 | + /** @format date-time */ | ||
3021 | + deadline?: string; | ||
3022 | + ext?: string; | ||
3023 | + extendField?: string; | ||
3024 | + /** @format date-time */ | ||
3025 | + financialReceiptIssuanceTime?: string; | ||
3026 | + fullPaymentStatus?: string; | ||
3027 | + /** @format double */ | ||
3028 | + goodsVolume?: number; | ||
3029 | + /** @format double */ | ||
3030 | + goodsWeight?: number; | ||
3031 | + /** @format int64 */ | ||
3032 | + id?: number; | ||
3033 | + image?: string; | ||
3034 | + invoiceApplyUsername?: string; | ||
3035 | + invoiceInformation?: string; | ||
3036 | + /** @format int64 */ | ||
3037 | + invoiceRecordId?: number; | ||
3038 | + invoicingCheckAnnex?: string; | ||
3039 | + invoicingNotes?: string; | ||
3040 | + invoicingStatus?: string; | ||
3041 | + /** @format date-time */ | ||
3042 | + invoicingTime?: string; | ||
3043 | + invoicingUrgentCause?: string; | ||
3044 | + isUrgent?: boolean; | ||
3045 | + kingdeeErrorMessage?: string; | ||
3046 | + logicDelete?: boolean; | ||
3047 | + logisticsMethod?: string; | ||
3048 | + logisticsNotes?: string; | ||
3049 | + /** @format int64 */ | ||
3050 | + mainOrderAmountProportion?: number; | ||
3051 | + /** @format int64 */ | ||
3052 | + mainOrderId?: number; | ||
3053 | + materialId?: string; | ||
3054 | + modified?: boolean; | ||
3055 | + modifiedAuditNotes?: string; | ||
3056 | + modifiedAuditStatus?: string; | ||
3057 | + modifiedOptFlag?: string; | ||
3058 | + nextOrderStatus?: string; | ||
3059 | + notes?: string; | ||
3060 | + orderStatus?: string; | ||
3061 | + orderStatusBeforeModify?: string; | ||
3062 | + /** @format date-time */ | ||
3063 | + orderStatusUpdateTime?: string; | ||
3064 | + /** @format int32 */ | ||
3065 | + packageNumber?: number; | ||
3066 | + parameters?: string; | ||
3067 | + paymentChannel?: string; | ||
3068 | + paymentMethod?: string; | ||
3069 | + paymentReceiptAnnex?: string; | ||
3070 | + paymentReceiptNotes?: string; | ||
3071 | + paymentReceiptStatus?: string; | ||
3072 | + paymentStatus?: string; | ||
3073 | + paymentTransactionId?: string; | ||
3074 | + postAuditNotes?: string; | ||
3075 | + postAuditStatus?: string; | ||
3076 | + /** @format date-time */ | ||
3077 | + postAuditStatusUpdateTime?: string; | ||
3078 | + preAfterInvoicingStatus?: string; | ||
3079 | + procureConvertNotes?: string; | ||
3080 | + procureNotes?: string; | ||
3081 | + /** @format date-time */ | ||
3082 | + procureOrderDatetime?: string; | ||
3083 | + procureOrderStatus?: string; | ||
3084 | + productBelongBusiness?: string; | ||
3085 | + productCode?: string; | ||
3086 | + /** @format int32 */ | ||
3087 | + productId?: number; | ||
3088 | + productName?: string; | ||
3089 | + /** @format int64 */ | ||
3090 | + productPrice?: number; | ||
3091 | + /** @format date-time */ | ||
3092 | + productionEndTime?: string; | ||
3093 | + /** @format date-time */ | ||
3094 | + productionStartTime?: string; | ||
3095 | + productionTimePushStatus?: string; | ||
3096 | + /** @format int32 */ | ||
3097 | + quantity?: number; | ||
3098 | + receivingCompany?: string; | ||
3099 | + reissueNotes?: string; | ||
3100 | + serialNumber?: string; | ||
3101 | + shippingWarehouse?: string; | ||
3102 | + /** @format int64 */ | ||
3103 | + subOrderPayment?: number; | ||
3104 | + supplierName?: string; | ||
3105 | + supplierNotes?: string; | ||
3106 | + /** @format int64 */ | ||
3107 | + totalPayment?: number; | ||
3108 | + /** @format int32 */ | ||
3109 | + uid?: number; | ||
3110 | + unit?: string; | ||
3111 | + unitId?: string; | ||
3112 | + updateByName?: string; | ||
3113 | + /** @format date-time */ | ||
3114 | + updateTime?: string; | ||
3115 | + urgentInvoiceAuditNotes?: string; | ||
3116 | + /** @format int32 */ | ||
3117 | + version?: number; | ||
3118 | +} | ||
3119 | + | ||
2210 | export interface SysLogQueryVO { | 3120 | export interface SysLogQueryVO { |
2211 | address?: string; | 3121 | address?: string; |
2212 | browser?: string; | 3122 | browser?: string; |
@@ -2559,6 +3469,44 @@ export interface TsgFile { | @@ -2559,6 +3469,44 @@ export interface TsgFile { | ||
2559 | writable?: boolean; | 3469 | writable?: boolean; |
2560 | } | 3470 | } |
2561 | 3471 | ||
3472 | +export interface InvoiceDetail { | ||
3473 | + /** @format int64 */ | ||
3474 | + id?: number; | ||
3475 | + /** | ||
3476 | + * @description | ||
3477 | + * 发票id | ||
3478 | + * @format int64 | ||
3479 | + */ | ||
3480 | + invoiceRecordId?: number; | ||
3481 | + /** | ||
3482 | + * @description | ||
3483 | + * 单价 | ||
3484 | + * @format double | ||
3485 | + */ | ||
3486 | + price?: number; | ||
3487 | + projectName?: string; | ||
3488 | + /** @format double */ | ||
3489 | + quantity?: number; | ||
3490 | + /** | ||
3491 | + * @description | ||
3492 | + * 型号 | ||
3493 | + */ | ||
3494 | + specification?: string; | ||
3495 | + /** @format int64 */ | ||
3496 | + subOrderId?: number; | ||
3497 | + /** @format double */ | ||
3498 | + taxPrice?: number; | ||
3499 | + /** @format double */ | ||
3500 | + taxRate?: number; | ||
3501 | + /** | ||
3502 | + * @description | ||
3503 | + * 总价 | ||
3504 | + * @format double | ||
3505 | + */ | ||
3506 | + totalPrice?: number; | ||
3507 | + unit?: string; | ||
3508 | +} | ||
3509 | + | ||
2562 | export interface SalesRechargePrepaymentAuditRequest { | 3510 | export interface SalesRechargePrepaymentAuditRequest { |
2563 | /** | 3511 | /** |
2564 | * @description | 3512 | * @description |
src/services/request.ts
@@ -29,6 +29,7 @@ import type { | @@ -29,6 +29,7 @@ import type { | ||
29 | ApiOrderEvaluatedRequest, | 29 | ApiOrderEvaluatedRequest, |
30 | ApiQueryOrderDetailRequest, | 30 | ApiQueryOrderDetailRequest, |
31 | ApiQueryOrderStatusCountsRequest, | 31 | ApiQueryOrderStatusCountsRequest, |
32 | + ApplyInvoiceDto, | ||
32 | AuditDto, | 33 | AuditDto, |
33 | AuditVO, | 34 | AuditVO, |
34 | CancelInvoiceAndBankStatementDto, | 35 | CancelInvoiceAndBankStatementDto, |
@@ -46,6 +47,7 @@ import type { | @@ -46,6 +47,7 @@ import type { | ||
46 | Dto, | 47 | Dto, |
47 | InventoryMaterialStockReq, | 48 | InventoryMaterialStockReq, |
48 | InvoiceDto, | 49 | InvoiceDto, |
50 | + InvoiceRecordDto, | ||
49 | InvoiceRecordQueryRequest, | 51 | InvoiceRecordQueryRequest, |
50 | MainOrderqueryRequest, | 52 | MainOrderqueryRequest, |
51 | MaterialListReply, | 53 | MaterialListReply, |
@@ -54,6 +56,7 @@ import type { | @@ -54,6 +56,7 @@ import type { | ||
54 | MaterialUnitListRes, | 56 | MaterialUnitListRes, |
55 | MeasureUnitListRes, | 57 | MeasureUnitListRes, |
56 | MessageQueryDTO, | 58 | MessageQueryDTO, |
59 | + ModelAndView, | ||
57 | OrderAddVO, | 60 | OrderAddVO, |
58 | OrderAuditLogQueryVO, | 61 | OrderAuditLogQueryVO, |
59 | OrderBaseInfoQueryVO, | 62 | OrderBaseInfoQueryVO, |
@@ -78,6 +81,8 @@ import type { | @@ -78,6 +81,8 @@ import type { | ||
78 | QueryCustomerInformationDto, | 81 | QueryCustomerInformationDto, |
79 | QueryHistoryRecordDto, | 82 | QueryHistoryRecordDto, |
80 | QueryInvoiceDetailDto, | 83 | QueryInvoiceDetailDto, |
84 | + QueryInvoiceProjectDto, | ||
85 | + QueryInvoiceRecordDto, | ||
81 | QueryMainOrderDto, | 86 | QueryMainOrderDto, |
82 | QueryReportFormsDto, | 87 | QueryReportFormsDto, |
83 | ReissueInvoiceDto, | 88 | ReissueInvoiceDto, |
@@ -1769,9 +1774,7 @@ export interface GetErrorResponse { | @@ -1769,9 +1774,7 @@ export interface GetErrorResponse { | ||
1769 | * @description | 1774 | * @description |
1770 | * OK | 1775 | * OK |
1771 | */ | 1776 | */ |
1772 | - 200: { | ||
1773 | - [propertyName: string]: any; | ||
1774 | - }; | 1777 | + 200: ModelAndView; |
1775 | /** | 1778 | /** |
1776 | * @description | 1779 | * @description |
1777 | * Unauthorized | 1780 | * Unauthorized |
@@ -1792,9 +1795,9 @@ export interface GetErrorResponse { | @@ -1792,9 +1795,9 @@ export interface GetErrorResponse { | ||
1792 | export type GetErrorResponseSuccess = GetErrorResponse[200]; | 1795 | export type GetErrorResponseSuccess = GetErrorResponse[200]; |
1793 | /** | 1796 | /** |
1794 | * @description | 1797 | * @description |
1795 | - * error | 1798 | + * errorHtml |
1796 | * @tags basic-error-controller | 1799 | * @tags basic-error-controller |
1797 | - * @produces * | 1800 | + * @produces text/html |
1798 | */ | 1801 | */ |
1799 | export const getError = /* #__PURE__ */ (() => { | 1802 | export const getError = /* #__PURE__ */ (() => { |
1800 | const method = 'get'; | 1803 | const method = 'get'; |
@@ -1818,9 +1821,7 @@ export interface PutErrorResponse { | @@ -1818,9 +1821,7 @@ export interface PutErrorResponse { | ||
1818 | * @description | 1821 | * @description |
1819 | * OK | 1822 | * OK |
1820 | */ | 1823 | */ |
1821 | - 200: { | ||
1822 | - [propertyName: string]: any; | ||
1823 | - }; | 1824 | + 200: ModelAndView; |
1824 | /** | 1825 | /** |
1825 | * @description | 1826 | * @description |
1826 | * Created | 1827 | * Created |
@@ -1846,9 +1847,9 @@ export interface PutErrorResponse { | @@ -1846,9 +1847,9 @@ export interface PutErrorResponse { | ||
1846 | export type PutErrorResponseSuccess = PutErrorResponse[200]; | 1847 | export type PutErrorResponseSuccess = PutErrorResponse[200]; |
1847 | /** | 1848 | /** |
1848 | * @description | 1849 | * @description |
1849 | - * error | 1850 | + * errorHtml |
1850 | * @tags basic-error-controller | 1851 | * @tags basic-error-controller |
1851 | - * @produces * | 1852 | + * @produces text/html |
1852 | * @consumes application/json | 1853 | * @consumes application/json |
1853 | */ | 1854 | */ |
1854 | export const putError = /* #__PURE__ */ (() => { | 1855 | export const putError = /* #__PURE__ */ (() => { |
@@ -1873,9 +1874,7 @@ export interface PostErrorResponse { | @@ -1873,9 +1874,7 @@ export interface PostErrorResponse { | ||
1873 | * @description | 1874 | * @description |
1874 | * OK | 1875 | * OK |
1875 | */ | 1876 | */ |
1876 | - 200: { | ||
1877 | - [propertyName: string]: any; | ||
1878 | - }; | 1877 | + 200: ModelAndView; |
1879 | /** | 1878 | /** |
1880 | * @description | 1879 | * @description |
1881 | * Created | 1880 | * Created |
@@ -1901,9 +1900,9 @@ export interface PostErrorResponse { | @@ -1901,9 +1900,9 @@ export interface PostErrorResponse { | ||
1901 | export type PostErrorResponseSuccess = PostErrorResponse[200]; | 1900 | export type PostErrorResponseSuccess = PostErrorResponse[200]; |
1902 | /** | 1901 | /** |
1903 | * @description | 1902 | * @description |
1904 | - * error | 1903 | + * errorHtml |
1905 | * @tags basic-error-controller | 1904 | * @tags basic-error-controller |
1906 | - * @produces * | 1905 | + * @produces text/html |
1907 | * @consumes application/json | 1906 | * @consumes application/json |
1908 | */ | 1907 | */ |
1909 | export const postError = /* #__PURE__ */ (() => { | 1908 | export const postError = /* #__PURE__ */ (() => { |
@@ -1928,9 +1927,7 @@ export interface DeleteErrorResponse { | @@ -1928,9 +1927,7 @@ export interface DeleteErrorResponse { | ||
1928 | * @description | 1927 | * @description |
1929 | * OK | 1928 | * OK |
1930 | */ | 1929 | */ |
1931 | - 200: { | ||
1932 | - [propertyName: string]: any; | ||
1933 | - }; | 1930 | + 200: ModelAndView; |
1934 | /** | 1931 | /** |
1935 | * @description | 1932 | * @description |
1936 | * No Content | 1933 | * No Content |
@@ -1951,9 +1948,9 @@ export interface DeleteErrorResponse { | @@ -1951,9 +1948,9 @@ export interface DeleteErrorResponse { | ||
1951 | export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; | 1948 | export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; |
1952 | /** | 1949 | /** |
1953 | * @description | 1950 | * @description |
1954 | - * error | 1951 | + * errorHtml |
1955 | * @tags basic-error-controller | 1952 | * @tags basic-error-controller |
1956 | - * @produces * | 1953 | + * @produces text/html |
1957 | */ | 1954 | */ |
1958 | export const deleteError = /* #__PURE__ */ (() => { | 1955 | export const deleteError = /* #__PURE__ */ (() => { |
1959 | const method = 'delete'; | 1956 | const method = 'delete'; |
@@ -1977,9 +1974,7 @@ export interface OptionsErrorResponse { | @@ -1977,9 +1974,7 @@ export interface OptionsErrorResponse { | ||
1977 | * @description | 1974 | * @description |
1978 | * OK | 1975 | * OK |
1979 | */ | 1976 | */ |
1980 | - 200: { | ||
1981 | - [propertyName: string]: any; | ||
1982 | - }; | 1977 | + 200: ModelAndView; |
1983 | /** | 1978 | /** |
1984 | * @description | 1979 | * @description |
1985 | * No Content | 1980 | * No Content |
@@ -2000,9 +1995,9 @@ export interface OptionsErrorResponse { | @@ -2000,9 +1995,9 @@ export interface OptionsErrorResponse { | ||
2000 | export type OptionsErrorResponseSuccess = OptionsErrorResponse[200]; | 1995 | export type OptionsErrorResponseSuccess = OptionsErrorResponse[200]; |
2001 | /** | 1996 | /** |
2002 | * @description | 1997 | * @description |
2003 | - * error | 1998 | + * errorHtml |
2004 | * @tags basic-error-controller | 1999 | * @tags basic-error-controller |
2005 | - * @produces * | 2000 | + * @produces text/html |
2006 | * @consumes application/json | 2001 | * @consumes application/json |
2007 | */ | 2002 | */ |
2008 | export const optionsError = /* #__PURE__ */ (() => { | 2003 | export const optionsError = /* #__PURE__ */ (() => { |
@@ -2027,9 +2022,7 @@ export interface HeadErrorResponse { | @@ -2027,9 +2022,7 @@ export interface HeadErrorResponse { | ||
2027 | * @description | 2022 | * @description |
2028 | * OK | 2023 | * OK |
2029 | */ | 2024 | */ |
2030 | - 200: { | ||
2031 | - [propertyName: string]: any; | ||
2032 | - }; | 2025 | + 200: ModelAndView; |
2033 | /** | 2026 | /** |
2034 | * @description | 2027 | * @description |
2035 | * No Content | 2028 | * No Content |
@@ -2050,9 +2043,9 @@ export interface HeadErrorResponse { | @@ -2050,9 +2043,9 @@ export interface HeadErrorResponse { | ||
2050 | export type HeadErrorResponseSuccess = HeadErrorResponse[200]; | 2043 | export type HeadErrorResponseSuccess = HeadErrorResponse[200]; |
2051 | /** | 2044 | /** |
2052 | * @description | 2045 | * @description |
2053 | - * error | 2046 | + * errorHtml |
2054 | * @tags basic-error-controller | 2047 | * @tags basic-error-controller |
2055 | - * @produces * | 2048 | + * @produces text/html |
2056 | * @consumes application/json | 2049 | * @consumes application/json |
2057 | */ | 2050 | */ |
2058 | export const headError = /* #__PURE__ */ (() => { | 2051 | export const headError = /* #__PURE__ */ (() => { |
@@ -2077,9 +2070,7 @@ export interface PatchErrorResponse { | @@ -2077,9 +2070,7 @@ export interface PatchErrorResponse { | ||
2077 | * @description | 2070 | * @description |
2078 | * OK | 2071 | * OK |
2079 | */ | 2072 | */ |
2080 | - 200: { | ||
2081 | - [propertyName: string]: any; | ||
2082 | - }; | 2073 | + 200: ModelAndView; |
2083 | /** | 2074 | /** |
2084 | * @description | 2075 | * @description |
2085 | * No Content | 2076 | * No Content |
@@ -2100,9 +2091,9 @@ export interface PatchErrorResponse { | @@ -2100,9 +2091,9 @@ export interface PatchErrorResponse { | ||
2100 | export type PatchErrorResponseSuccess = PatchErrorResponse[200]; | 2091 | export type PatchErrorResponseSuccess = PatchErrorResponse[200]; |
2101 | /** | 2092 | /** |
2102 | * @description | 2093 | * @description |
2103 | - * error | 2094 | + * errorHtml |
2104 | * @tags basic-error-controller | 2095 | * @tags basic-error-controller |
2105 | - * @produces * | 2096 | + * @produces text/html |
2106 | * @consumes application/json | 2097 | * @consumes application/json |
2107 | */ | 2098 | */ |
2108 | export const patchError = /* #__PURE__ */ (() => { | 2099 | export const patchError = /* #__PURE__ */ (() => { |
@@ -8093,6 +8084,77 @@ export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => { | @@ -8093,6 +8084,77 @@ export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => { | ||
8093 | return request; | 8084 | return request; |
8094 | })(); | 8085 | })(); |
8095 | 8086 | ||
8087 | +/** @description request parameter type for postOrderImportImportInvoiceProject */ | ||
8088 | +export interface PostOrderImportImportInvoiceProjectOption { | ||
8089 | + /** | ||
8090 | + * @description | ||
8091 | + * file | ||
8092 | + */ | ||
8093 | + formData: { | ||
8094 | + /** | ||
8095 | + @description | ||
8096 | + file */ | ||
8097 | + file: File; | ||
8098 | + }; | ||
8099 | +} | ||
8100 | + | ||
8101 | +/** @description response type for postOrderImportImportInvoiceProject */ | ||
8102 | +export interface PostOrderImportImportInvoiceProjectResponse { | ||
8103 | + /** | ||
8104 | + * @description | ||
8105 | + * OK | ||
8106 | + */ | ||
8107 | + 200: ServerResult; | ||
8108 | + /** | ||
8109 | + * @description | ||
8110 | + * Created | ||
8111 | + */ | ||
8112 | + 201: any; | ||
8113 | + /** | ||
8114 | + * @description | ||
8115 | + * Unauthorized | ||
8116 | + */ | ||
8117 | + 401: any; | ||
8118 | + /** | ||
8119 | + * @description | ||
8120 | + * Forbidden | ||
8121 | + */ | ||
8122 | + 403: any; | ||
8123 | + /** | ||
8124 | + * @description | ||
8125 | + * Not Found | ||
8126 | + */ | ||
8127 | + 404: any; | ||
8128 | +} | ||
8129 | + | ||
8130 | +export type PostOrderImportImportInvoiceProjectResponseSuccess = | ||
8131 | + PostOrderImportImportInvoiceProjectResponse[200]; | ||
8132 | +/** | ||
8133 | + * @description | ||
8134 | + * 导入发票项目 | ||
8135 | + * @tags 导入 | ||
8136 | + * @produces * | ||
8137 | + * @consumes multipart/form-data | ||
8138 | + */ | ||
8139 | +export const postOrderImportImportInvoiceProject = /* #__PURE__ */ (() => { | ||
8140 | + const method = 'post'; | ||
8141 | + const url = '/order/import/importInvoiceProject'; | ||
8142 | + function request( | ||
8143 | + option: PostOrderImportImportInvoiceProjectOption, | ||
8144 | + ): Promise<PostOrderImportImportInvoiceProjectResponseSuccess> { | ||
8145 | + return requester(request.url, { | ||
8146 | + method: request.method, | ||
8147 | + ...option, | ||
8148 | + }) as unknown as Promise<PostOrderImportImportInvoiceProjectResponseSuccess>; | ||
8149 | + } | ||
8150 | + | ||
8151 | + /** http method */ | ||
8152 | + request.method = method; | ||
8153 | + /** request url */ | ||
8154 | + request.url = url; | ||
8155 | + return request; | ||
8156 | +})(); | ||
8157 | + | ||
8096 | /** @description request parameter type for postOrderImportImportWeightAndVolume */ | 8158 | /** @description request parameter type for postOrderImportImportWeightAndVolume */ |
8097 | export interface PostOrderImportImportWeightAndVolumeOption { | 8159 | export interface PostOrderImportImportWeightAndVolumeOption { |
8098 | /** | 8160 | /** |
@@ -9762,22 +9824,63 @@ export const postServiceBankStatementQueryBankStatement = | @@ -9762,22 +9824,63 @@ export const postServiceBankStatementQueryBankStatement = | ||
9762 | return request; | 9824 | return request; |
9763 | })(); | 9825 | })(); |
9764 | 9826 | ||
9765 | -/** @description request parameter type for postServiceInvoiceAddInvoice */ | ||
9766 | -export interface PostServiceInvoiceAddInvoiceOption { | 9827 | +/** @description response type for postServiceConstAfterInvoicingInvoiceRecordStatus */ |
9828 | +export interface PostServiceConstAfterInvoicingInvoiceRecordStatusResponse { | ||
9767 | /** | 9829 | /** |
9768 | * @description | 9830 | * @description |
9769 | - * dto | 9831 | + * OK |
9770 | */ | 9832 | */ |
9771 | - body: { | ||
9772 | - /** | ||
9773 | - @description | ||
9774 | - dto */ | ||
9775 | - dto: InvoiceDto; | ||
9776 | - }; | 9833 | + 200: ServerResult; |
9834 | + /** | ||
9835 | + * @description | ||
9836 | + * Created | ||
9837 | + */ | ||
9838 | + 201: any; | ||
9839 | + /** | ||
9840 | + * @description | ||
9841 | + * Unauthorized | ||
9842 | + */ | ||
9843 | + 401: any; | ||
9844 | + /** | ||
9845 | + * @description | ||
9846 | + * Forbidden | ||
9847 | + */ | ||
9848 | + 403: any; | ||
9849 | + /** | ||
9850 | + * @description | ||
9851 | + * Not Found | ||
9852 | + */ | ||
9853 | + 404: any; | ||
9777 | } | 9854 | } |
9778 | 9855 | ||
9779 | -/** @description response type for postServiceInvoiceAddInvoice */ | ||
9780 | -export interface PostServiceInvoiceAddInvoiceResponse { | 9856 | +export type PostServiceConstAfterInvoicingInvoiceRecordStatusResponseSuccess = |
9857 | + PostServiceConstAfterInvoicingInvoiceRecordStatusResponse[200]; | ||
9858 | +/** | ||
9859 | + * @description | ||
9860 | + * 开票后的开票记录状态 | ||
9861 | + * @tags front-const-controller | ||
9862 | + * @produces * | ||
9863 | + * @consumes application/json | ||
9864 | + */ | ||
9865 | +export const postServiceConstAfterInvoicingInvoiceRecordStatus = | ||
9866 | + /* #__PURE__ */ (() => { | ||
9867 | + const method = 'post'; | ||
9868 | + const url = '/service/const/afterInvoicingInvoiceRecordStatus'; | ||
9869 | + function request(): Promise<PostServiceConstAfterInvoicingInvoiceRecordStatusResponseSuccess> { | ||
9870 | + return requester(request.url, { | ||
9871 | + method: request.method, | ||
9872 | + }) as unknown as Promise<PostServiceConstAfterInvoicingInvoiceRecordStatusResponseSuccess>; | ||
9873 | + } | ||
9874 | + | ||
9875 | + /** http method */ | ||
9876 | + request.method = method; | ||
9877 | + /** request url */ | ||
9878 | + request.url = url; | ||
9879 | + return request; | ||
9880 | + })(); | ||
9881 | + | ||
9882 | +/** @description response type for postServiceConstAfterInvoicingStatus */ | ||
9883 | +export interface PostServiceConstAfterInvoicingStatusResponse { | ||
9781 | /** | 9884 | /** |
9782 | * @description | 9885 | * @description |
9783 | * OK | 9886 | * OK |
@@ -9805,25 +9908,22 @@ export interface PostServiceInvoiceAddInvoiceResponse { | @@ -9805,25 +9908,22 @@ export interface PostServiceInvoiceAddInvoiceResponse { | ||
9805 | 404: any; | 9908 | 404: any; |
9806 | } | 9909 | } |
9807 | 9910 | ||
9808 | -export type PostServiceInvoiceAddInvoiceResponseSuccess = | ||
9809 | - PostServiceInvoiceAddInvoiceResponse[200]; | 9911 | +export type PostServiceConstAfterInvoicingStatusResponseSuccess = |
9912 | + PostServiceConstAfterInvoicingStatusResponse[200]; | ||
9810 | /** | 9913 | /** |
9811 | * @description | 9914 | * @description |
9812 | - * 添加发票 | ||
9813 | - * @tags 发票 | 9915 | + * 申请开票后状态 |
9916 | + * @tags front-const-controller | ||
9814 | * @produces * | 9917 | * @produces * |
9815 | * @consumes application/json | 9918 | * @consumes application/json |
9816 | */ | 9919 | */ |
9817 | -export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { | 9920 | +export const postServiceConstAfterInvoicingStatus = /* #__PURE__ */ (() => { |
9818 | const method = 'post'; | 9921 | const method = 'post'; |
9819 | - const url = '/service/invoice/addInvoice'; | ||
9820 | - function request( | ||
9821 | - option: PostServiceInvoiceAddInvoiceOption, | ||
9822 | - ): Promise<PostServiceInvoiceAddInvoiceResponseSuccess> { | 9922 | + const url = '/service/const/afterInvoicingStatus'; |
9923 | + function request(): Promise<PostServiceConstAfterInvoicingStatusResponseSuccess> { | ||
9823 | return requester(request.url, { | 9924 | return requester(request.url, { |
9824 | method: request.method, | 9925 | method: request.method, |
9825 | - ...option, | ||
9826 | - }) as unknown as Promise<PostServiceInvoiceAddInvoiceResponseSuccess>; | 9926 | + }) as unknown as Promise<PostServiceConstAfterInvoicingStatusResponseSuccess>; |
9827 | } | 9927 | } |
9828 | 9928 | ||
9829 | /** http method */ | 9929 | /** http method */ |
@@ -9833,22 +9933,8 @@ export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { | @@ -9833,22 +9933,8 @@ export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { | ||
9833 | return request; | 9933 | return request; |
9834 | })(); | 9934 | })(); |
9835 | 9935 | ||
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 { | 9936 | +/** @description response type for postServiceConstBeforeInvoicingInvoiceRecordStatus */ |
9937 | +export interface PostServiceConstBeforeInvoicingInvoiceRecordStatusResponse { | ||
9852 | /** | 9938 | /** |
9853 | * @description | 9939 | * @description |
9854 | * OK | 9940 | * OK |
@@ -9876,26 +9962,23 @@ export interface PostServiceInvoiceCancelInvoiceAndBankStatementResponse { | @@ -9876,26 +9962,23 @@ export interface PostServiceInvoiceCancelInvoiceAndBankStatementResponse { | ||
9876 | 404: any; | 9962 | 404: any; |
9877 | } | 9963 | } |
9878 | 9964 | ||
9879 | -export type PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess = | ||
9880 | - PostServiceInvoiceCancelInvoiceAndBankStatementResponse[200]; | 9965 | +export type PostServiceConstBeforeInvoicingInvoiceRecordStatusResponseSuccess = |
9966 | + PostServiceConstBeforeInvoicingInvoiceRecordStatusResponse[200]; | ||
9881 | /** | 9967 | /** |
9882 | * @description | 9968 | * @description |
9883 | - * 取消发票与银行流水的关联 | ||
9884 | - * @tags 发票 | 9969 | + * 开票前的开票记录状态 |
9970 | + * @tags front-const-controller | ||
9885 | * @produces * | 9971 | * @produces * |
9886 | * @consumes application/json | 9972 | * @consumes application/json |
9887 | */ | 9973 | */ |
9888 | -export const postServiceInvoiceCancelInvoiceAndBankStatement = | 9974 | +export const postServiceConstBeforeInvoicingInvoiceRecordStatus = |
9889 | /* #__PURE__ */ (() => { | 9975 | /* #__PURE__ */ (() => { |
9890 | const method = 'post'; | 9976 | const method = 'post'; |
9891 | - const url = '/service/invoice/cancelInvoiceAndBankStatement'; | ||
9892 | - function request( | ||
9893 | - option: PostServiceInvoiceCancelInvoiceAndBankStatementOption, | ||
9894 | - ): Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess> { | 9977 | + const url = '/service/const/beforeInvoicingInvoiceRecordStatus'; |
9978 | + function request(): Promise<PostServiceConstBeforeInvoicingInvoiceRecordStatusResponseSuccess> { | ||
9895 | return requester(request.url, { | 9979 | return requester(request.url, { |
9896 | method: request.method, | 9980 | method: request.method, |
9897 | - ...option, | ||
9898 | - }) as unknown as Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess>; | 9981 | + }) as unknown as Promise<PostServiceConstBeforeInvoicingInvoiceRecordStatusResponseSuccess>; |
9899 | } | 9982 | } |
9900 | 9983 | ||
9901 | /** http method */ | 9984 | /** http method */ |
@@ -9905,22 +9988,8 @@ export const postServiceInvoiceCancelInvoiceAndBankStatement = | @@ -9905,22 +9988,8 @@ export const postServiceInvoiceCancelInvoiceAndBankStatement = | ||
9905 | return request; | 9988 | return request; |
9906 | })(); | 9989 | })(); |
9907 | 9990 | ||
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 { | 9991 | +/** @description response type for postServiceConstCanApplyAfterInvoicingStatus */ |
9992 | +export interface PostServiceConstCanApplyAfterInvoicingStatusResponse { | ||
9924 | /** | 9993 | /** |
9925 | * @description | 9994 | * @description |
9926 | * OK | 9995 | * OK |
@@ -9948,50 +10017,34 @@ export interface PostServiceInvoiceDeleteInvoiceResponse { | @@ -9948,50 +10017,34 @@ export interface PostServiceInvoiceDeleteInvoiceResponse { | ||
9948 | 404: any; | 10017 | 404: any; |
9949 | } | 10018 | } |
9950 | 10019 | ||
9951 | -export type PostServiceInvoiceDeleteInvoiceResponseSuccess = | ||
9952 | - PostServiceInvoiceDeleteInvoiceResponse[200]; | 10020 | +export type PostServiceConstCanApplyAfterInvoicingStatusResponseSuccess = |
10021 | + PostServiceConstCanApplyAfterInvoicingStatusResponse[200]; | ||
9953 | /** | 10022 | /** |
9954 | * @description | 10023 | * @description |
9955 | - * 删除发票 | ||
9956 | - * @tags 发票 | 10024 | + * 开具类型 |
10025 | + * @tags front-const-controller | ||
9957 | * @produces * | 10026 | * @produces * |
9958 | * @consumes application/json | 10027 | * @consumes application/json |
9959 | */ | 10028 | */ |
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 | -})(); | 10029 | +export const postServiceConstCanApplyAfterInvoicingStatus = |
10030 | + /* #__PURE__ */ (() => { | ||
10031 | + const method = 'post'; | ||
10032 | + const url = '/service/const/canApplyAfterInvoicingStatus'; | ||
10033 | + function request(): Promise<PostServiceConstCanApplyAfterInvoicingStatusResponseSuccess> { | ||
10034 | + return requester(request.url, { | ||
10035 | + method: request.method, | ||
10036 | + }) as unknown as Promise<PostServiceConstCanApplyAfterInvoicingStatusResponseSuccess>; | ||
10037 | + } | ||
9978 | 10038 | ||
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 | -} | 10039 | + /** http method */ |
10040 | + request.method = method; | ||
10041 | + /** request url */ | ||
10042 | + request.url = url; | ||
10043 | + return request; | ||
10044 | + })(); | ||
9992 | 10045 | ||
9993 | -/** @description response type for postServiceInvoiceFindInvoice */ | ||
9994 | -export interface PostServiceInvoiceFindInvoiceResponse { | 10046 | +/** @description response type for postServiceConstGetPayeeEnum */ |
10047 | +export interface PostServiceConstGetPayeeEnumResponse { | ||
9995 | /** | 10048 | /** |
9996 | * @description | 10049 | * @description |
9997 | * OK | 10050 | * OK |
@@ -10019,25 +10072,22 @@ export interface PostServiceInvoiceFindInvoiceResponse { | @@ -10019,25 +10072,22 @@ export interface PostServiceInvoiceFindInvoiceResponse { | ||
10019 | 404: any; | 10072 | 404: any; |
10020 | } | 10073 | } |
10021 | 10074 | ||
10022 | -export type PostServiceInvoiceFindInvoiceResponseSuccess = | ||
10023 | - PostServiceInvoiceFindInvoiceResponse[200]; | 10075 | +export type PostServiceConstGetPayeeEnumResponseSuccess = |
10076 | + PostServiceConstGetPayeeEnumResponse[200]; | ||
10024 | /** | 10077 | /** |
10025 | * @description | 10078 | * @description |
10026 | - * 不分页查询发票 | ||
10027 | - * @tags 发票 | 10079 | + * 获取收款方 |
10080 | + * @tags front-const-controller | ||
10028 | * @produces * | 10081 | * @produces * |
10029 | * @consumes application/json | 10082 | * @consumes application/json |
10030 | */ | 10083 | */ |
10031 | -export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { | 10084 | +export const postServiceConstGetPayeeEnum = /* #__PURE__ */ (() => { |
10032 | const method = 'post'; | 10085 | const method = 'post'; |
10033 | - const url = '/service/invoice/findInvoice'; | ||
10034 | - function request( | ||
10035 | - option: PostServiceInvoiceFindInvoiceOption, | ||
10036 | - ): Promise<PostServiceInvoiceFindInvoiceResponseSuccess> { | 10086 | + const url = '/service/const/getPayeeEnum'; |
10087 | + function request(): Promise<PostServiceConstGetPayeeEnumResponseSuccess> { | ||
10037 | return requester(request.url, { | 10088 | return requester(request.url, { |
10038 | method: request.method, | 10089 | method: request.method, |
10039 | - ...option, | ||
10040 | - }) as unknown as Promise<PostServiceInvoiceFindInvoiceResponseSuccess>; | 10090 | + }) as unknown as Promise<PostServiceConstGetPayeeEnumResponseSuccess>; |
10041 | } | 10091 | } |
10042 | 10092 | ||
10043 | /** http method */ | 10093 | /** http method */ |
@@ -10047,22 +10097,8 @@ export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { | @@ -10047,22 +10097,8 @@ export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { | ||
10047 | return request; | 10097 | return request; |
10048 | })(); | 10098 | })(); |
10049 | 10099 | ||
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 { | 10100 | +/** @description response type for postServiceConstInvoiceType */ |
10101 | +export interface PostServiceConstInvoiceTypeResponse { | ||
10066 | /** | 10102 | /** |
10067 | * @description | 10103 | * @description |
10068 | * OK | 10104 | * OK |
@@ -10090,25 +10126,1340 @@ export interface PostServiceInvoiceInvoiceWriteOffResponse { | @@ -10090,25 +10126,1340 @@ export interface PostServiceInvoiceInvoiceWriteOffResponse { | ||
10090 | 404: any; | 10126 | 404: any; |
10091 | } | 10127 | } |
10092 | 10128 | ||
10093 | -export type PostServiceInvoiceInvoiceWriteOffResponseSuccess = | ||
10094 | - PostServiceInvoiceInvoiceWriteOffResponse[200]; | 10129 | +export type PostServiceConstInvoiceTypeResponseSuccess = |
10130 | + PostServiceConstInvoiceTypeResponse[200]; | ||
10095 | /** | 10131 | /** |
10096 | * @description | 10132 | * @description |
10097 | - * 发票核销 | 10133 | + * 发票类型 |
10134 | + * @tags front-const-controller | ||
10135 | + * @produces * | ||
10136 | + * @consumes application/json | ||
10137 | + */ | ||
10138 | +export const postServiceConstInvoiceType = /* #__PURE__ */ (() => { | ||
10139 | + const method = 'post'; | ||
10140 | + const url = '/service/const/invoiceType'; | ||
10141 | + function request(): Promise<PostServiceConstInvoiceTypeResponseSuccess> { | ||
10142 | + return requester(request.url, { | ||
10143 | + method: request.method, | ||
10144 | + }) as unknown as Promise<PostServiceConstInvoiceTypeResponseSuccess>; | ||
10145 | + } | ||
10146 | + | ||
10147 | + /** http method */ | ||
10148 | + request.method = method; | ||
10149 | + /** request url */ | ||
10150 | + request.url = url; | ||
10151 | + return request; | ||
10152 | +})(); | ||
10153 | + | ||
10154 | +/** @description response type for postServiceConstInvoicingType */ | ||
10155 | +export interface PostServiceConstInvoicingTypeResponse { | ||
10156 | + /** | ||
10157 | + * @description | ||
10158 | + * OK | ||
10159 | + */ | ||
10160 | + 200: ServerResult; | ||
10161 | + /** | ||
10162 | + * @description | ||
10163 | + * Created | ||
10164 | + */ | ||
10165 | + 201: any; | ||
10166 | + /** | ||
10167 | + * @description | ||
10168 | + * Unauthorized | ||
10169 | + */ | ||
10170 | + 401: any; | ||
10171 | + /** | ||
10172 | + * @description | ||
10173 | + * Forbidden | ||
10174 | + */ | ||
10175 | + 403: any; | ||
10176 | + /** | ||
10177 | + * @description | ||
10178 | + * Not Found | ||
10179 | + */ | ||
10180 | + 404: any; | ||
10181 | +} | ||
10182 | + | ||
10183 | +export type PostServiceConstInvoicingTypeResponseSuccess = | ||
10184 | + PostServiceConstInvoicingTypeResponse[200]; | ||
10185 | +/** | ||
10186 | + * @description | ||
10187 | + * 开具类型 | ||
10188 | + * @tags front-const-controller | ||
10189 | + * @produces * | ||
10190 | + * @consumes application/json | ||
10191 | + */ | ||
10192 | +export const postServiceConstInvoicingType = /* #__PURE__ */ (() => { | ||
10193 | + const method = 'post'; | ||
10194 | + const url = '/service/const/invoicingType'; | ||
10195 | + function request(): Promise<PostServiceConstInvoicingTypeResponseSuccess> { | ||
10196 | + return requester(request.url, { | ||
10197 | + method: request.method, | ||
10198 | + }) as unknown as Promise<PostServiceConstInvoicingTypeResponseSuccess>; | ||
10199 | + } | ||
10200 | + | ||
10201 | + /** http method */ | ||
10202 | + request.method = method; | ||
10203 | + /** request url */ | ||
10204 | + request.url = url; | ||
10205 | + return request; | ||
10206 | +})(); | ||
10207 | + | ||
10208 | +/** @description request parameter type for postServiceConstListInvoiceDetailNames */ | ||
10209 | +export interface PostServiceConstListInvoiceDetailNamesOption { | ||
10210 | + /** | ||
10211 | + * @description | ||
10212 | + * queryInvoiceProjectDto | ||
10213 | + */ | ||
10214 | + body: { | ||
10215 | + /** | ||
10216 | + @description | ||
10217 | + queryInvoiceProjectDto */ | ||
10218 | + queryInvoiceProjectDto: QueryInvoiceProjectDto; | ||
10219 | + }; | ||
10220 | +} | ||
10221 | + | ||
10222 | +/** @description response type for postServiceConstListInvoiceDetailNames */ | ||
10223 | +export interface PostServiceConstListInvoiceDetailNamesResponse { | ||
10224 | + /** | ||
10225 | + * @description | ||
10226 | + * OK | ||
10227 | + */ | ||
10228 | + 200: ServerResult; | ||
10229 | + /** | ||
10230 | + * @description | ||
10231 | + * Created | ||
10232 | + */ | ||
10233 | + 201: any; | ||
10234 | + /** | ||
10235 | + * @description | ||
10236 | + * Unauthorized | ||
10237 | + */ | ||
10238 | + 401: any; | ||
10239 | + /** | ||
10240 | + * @description | ||
10241 | + * Forbidden | ||
10242 | + */ | ||
10243 | + 403: any; | ||
10244 | + /** | ||
10245 | + * @description | ||
10246 | + * Not Found | ||
10247 | + */ | ||
10248 | + 404: any; | ||
10249 | +} | ||
10250 | + | ||
10251 | +export type PostServiceConstListInvoiceDetailNamesResponseSuccess = | ||
10252 | + PostServiceConstListInvoiceDetailNamesResponse[200]; | ||
10253 | +/** | ||
10254 | + * @description | ||
10255 | + * 根据公司名获取收款方 | ||
10256 | + * @tags front-const-controller | ||
10257 | + * @produces * | ||
10258 | + * @consumes application/json | ||
10259 | + */ | ||
10260 | +export const postServiceConstListInvoiceDetailNames = /* #__PURE__ */ (() => { | ||
10261 | + const method = 'post'; | ||
10262 | + const url = '/service/const/listInvoiceDetailNames'; | ||
10263 | + function request( | ||
10264 | + option: PostServiceConstListInvoiceDetailNamesOption, | ||
10265 | + ): Promise<PostServiceConstListInvoiceDetailNamesResponseSuccess> { | ||
10266 | + return requester(request.url, { | ||
10267 | + method: request.method, | ||
10268 | + ...option, | ||
10269 | + }) as unknown as Promise<PostServiceConstListInvoiceDetailNamesResponseSuccess>; | ||
10270 | + } | ||
10271 | + | ||
10272 | + /** http method */ | ||
10273 | + request.method = method; | ||
10274 | + /** request url */ | ||
10275 | + request.url = url; | ||
10276 | + return request; | ||
10277 | +})(); | ||
10278 | + | ||
10279 | +/** @description response type for postServiceConstNotCanModifyInvoiceRecordStatus */ | ||
10280 | +export interface PostServiceConstNotCanModifyInvoiceRecordStatusResponse { | ||
10281 | + /** | ||
10282 | + * @description | ||
10283 | + * OK | ||
10284 | + */ | ||
10285 | + 200: ServerResult; | ||
10286 | + /** | ||
10287 | + * @description | ||
10288 | + * Created | ||
10289 | + */ | ||
10290 | + 201: any; | ||
10291 | + /** | ||
10292 | + * @description | ||
10293 | + * Unauthorized | ||
10294 | + */ | ||
10295 | + 401: any; | ||
10296 | + /** | ||
10297 | + * @description | ||
10298 | + * Forbidden | ||
10299 | + */ | ||
10300 | + 403: any; | ||
10301 | + /** | ||
10302 | + * @description | ||
10303 | + * Not Found | ||
10304 | + */ | ||
10305 | + 404: any; | ||
10306 | +} | ||
10307 | + | ||
10308 | +export type PostServiceConstNotCanModifyInvoiceRecordStatusResponseSuccess = | ||
10309 | + PostServiceConstNotCanModifyInvoiceRecordStatusResponse[200]; | ||
10310 | +/** | ||
10311 | + * @description | ||
10312 | + * 不能修改的开票记录状态 | ||
10313 | + * @tags front-const-controller | ||
10314 | + * @produces * | ||
10315 | + * @consumes application/json | ||
10316 | + */ | ||
10317 | +export const postServiceConstNotCanModifyInvoiceRecordStatus = | ||
10318 | + /* #__PURE__ */ (() => { | ||
10319 | + const method = 'post'; | ||
10320 | + const url = '/service/const/notCanModifyInvoiceRecordStatus'; | ||
10321 | + function request(): Promise<PostServiceConstNotCanModifyInvoiceRecordStatusResponseSuccess> { | ||
10322 | + return requester(request.url, { | ||
10323 | + method: request.method, | ||
10324 | + }) as unknown as Promise<PostServiceConstNotCanModifyInvoiceRecordStatusResponseSuccess>; | ||
10325 | + } | ||
10326 | + | ||
10327 | + /** http method */ | ||
10328 | + request.method = method; | ||
10329 | + /** request url */ | ||
10330 | + request.url = url; | ||
10331 | + return request; | ||
10332 | + })(); | ||
10333 | + | ||
10334 | +/** @description request parameter type for getServiceInvoiceListInvoiceProject */ | ||
10335 | +export interface GetServiceInvoiceListInvoiceProjectOption { | ||
10336 | + /** @format int32 */ | ||
10337 | + query?: { | ||
10338 | + /** | ||
10339 | + @format int32 */ | ||
10340 | + current?: number; | ||
10341 | + /** | ||
10342 | + @format int32 */ | ||
10343 | + end?: number; | ||
10344 | + nameLike?: string; | ||
10345 | + /** | ||
10346 | + @format int32 */ | ||
10347 | + pageSize?: number; | ||
10348 | + /** | ||
10349 | + @format int32 */ | ||
10350 | + start?: number; | ||
10351 | + /** | ||
10352 | + @format int32 */ | ||
10353 | + total?: number; | ||
10354 | + }; | ||
10355 | +} | ||
10356 | + | ||
10357 | +/** @description response type for getServiceInvoiceListInvoiceProject */ | ||
10358 | +export interface GetServiceInvoiceListInvoiceProjectResponse { | ||
10359 | + /** | ||
10360 | + * @description | ||
10361 | + * OK | ||
10362 | + */ | ||
10363 | + 200: any; | ||
10364 | + /** | ||
10365 | + * @description | ||
10366 | + * Unauthorized | ||
10367 | + */ | ||
10368 | + 401: any; | ||
10369 | + /** | ||
10370 | + * @description | ||
10371 | + * Forbidden | ||
10372 | + */ | ||
10373 | + 403: any; | ||
10374 | + /** | ||
10375 | + * @description | ||
10376 | + * Not Found | ||
10377 | + */ | ||
10378 | + 404: any; | ||
10379 | +} | ||
10380 | + | ||
10381 | +export type GetServiceInvoiceListInvoiceProjectResponseSuccess = | ||
10382 | + GetServiceInvoiceListInvoiceProjectResponse[200]; | ||
10383 | +/** | ||
10384 | + * @description | ||
10385 | + * invoiceProjectList | ||
10386 | + * @tags 发票 | ||
10387 | + * @produces * | ||
10388 | + */ | ||
10389 | +export const getServiceInvoiceListInvoiceProject = /* #__PURE__ */ (() => { | ||
10390 | + const method = 'get'; | ||
10391 | + const url = '/service/invoice/ListInvoiceProject'; | ||
10392 | + function request( | ||
10393 | + option?: GetServiceInvoiceListInvoiceProjectOption, | ||
10394 | + ): Promise<GetServiceInvoiceListInvoiceProjectResponseSuccess> { | ||
10395 | + return requester(request.url, { | ||
10396 | + method: request.method, | ||
10397 | + ...option, | ||
10398 | + }) as unknown as Promise<GetServiceInvoiceListInvoiceProjectResponseSuccess>; | ||
10399 | + } | ||
10400 | + | ||
10401 | + /** http method */ | ||
10402 | + request.method = method; | ||
10403 | + /** request url */ | ||
10404 | + request.url = url; | ||
10405 | + return request; | ||
10406 | +})(); | ||
10407 | + | ||
10408 | +/** @description request parameter type for postServiceInvoiceAddInvoice */ | ||
10409 | +export interface PostServiceInvoiceAddInvoiceOption { | ||
10410 | + /** | ||
10411 | + * @description | ||
10412 | + * dto | ||
10413 | + */ | ||
10414 | + body: { | ||
10415 | + /** | ||
10416 | + @description | ||
10417 | + dto */ | ||
10418 | + dto: InvoiceDto; | ||
10419 | + }; | ||
10420 | +} | ||
10421 | + | ||
10422 | +/** @description response type for postServiceInvoiceAddInvoice */ | ||
10423 | +export interface PostServiceInvoiceAddInvoiceResponse { | ||
10424 | + /** | ||
10425 | + * @description | ||
10426 | + * OK | ||
10427 | + */ | ||
10428 | + 200: ServerResult; | ||
10429 | + /** | ||
10430 | + * @description | ||
10431 | + * Created | ||
10432 | + */ | ||
10433 | + 201: any; | ||
10434 | + /** | ||
10435 | + * @description | ||
10436 | + * Unauthorized | ||
10437 | + */ | ||
10438 | + 401: any; | ||
10439 | + /** | ||
10440 | + * @description | ||
10441 | + * Forbidden | ||
10442 | + */ | ||
10443 | + 403: any; | ||
10444 | + /** | ||
10445 | + * @description | ||
10446 | + * Not Found | ||
10447 | + */ | ||
10448 | + 404: any; | ||
10449 | +} | ||
10450 | + | ||
10451 | +export type PostServiceInvoiceAddInvoiceResponseSuccess = | ||
10452 | + PostServiceInvoiceAddInvoiceResponse[200]; | ||
10453 | +/** | ||
10454 | + * @description | ||
10455 | + * 添加发票 | ||
10456 | + * @tags 发票 | ||
10457 | + * @produces * | ||
10458 | + * @consumes application/json | ||
10459 | + */ | ||
10460 | +export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { | ||
10461 | + const method = 'post'; | ||
10462 | + const url = '/service/invoice/addInvoice'; | ||
10463 | + function request( | ||
10464 | + option: PostServiceInvoiceAddInvoiceOption, | ||
10465 | + ): Promise<PostServiceInvoiceAddInvoiceResponseSuccess> { | ||
10466 | + return requester(request.url, { | ||
10467 | + method: request.method, | ||
10468 | + ...option, | ||
10469 | + }) as unknown as Promise<PostServiceInvoiceAddInvoiceResponseSuccess>; | ||
10470 | + } | ||
10471 | + | ||
10472 | + /** http method */ | ||
10473 | + request.method = method; | ||
10474 | + /** request url */ | ||
10475 | + request.url = url; | ||
10476 | + return request; | ||
10477 | +})(); | ||
10478 | + | ||
10479 | +/** @description request parameter type for postServiceInvoiceApplyInvoice */ | ||
10480 | +export interface PostServiceInvoiceApplyInvoiceOption { | ||
10481 | + /** | ||
10482 | + * @description | ||
10483 | + * dto | ||
10484 | + */ | ||
10485 | + body: { | ||
10486 | + /** | ||
10487 | + @description | ||
10488 | + dto */ | ||
10489 | + dto: ApplyInvoiceDto; | ||
10490 | + }; | ||
10491 | +} | ||
10492 | + | ||
10493 | +/** @description response type for postServiceInvoiceApplyInvoice */ | ||
10494 | +export interface PostServiceInvoiceApplyInvoiceResponse { | ||
10495 | + /** | ||
10496 | + * @description | ||
10497 | + * OK | ||
10498 | + */ | ||
10499 | + 200: ServerResult; | ||
10500 | + /** | ||
10501 | + * @description | ||
10502 | + * Created | ||
10503 | + */ | ||
10504 | + 201: any; | ||
10505 | + /** | ||
10506 | + * @description | ||
10507 | + * Unauthorized | ||
10508 | + */ | ||
10509 | + 401: any; | ||
10510 | + /** | ||
10511 | + * @description | ||
10512 | + * Forbidden | ||
10513 | + */ | ||
10514 | + 403: any; | ||
10515 | + /** | ||
10516 | + * @description | ||
10517 | + * Not Found | ||
10518 | + */ | ||
10519 | + 404: any; | ||
10520 | +} | ||
10521 | + | ||
10522 | +export type PostServiceInvoiceApplyInvoiceResponseSuccess = | ||
10523 | + PostServiceInvoiceApplyInvoiceResponse[200]; | ||
10524 | +/** | ||
10525 | + * @description | ||
10526 | + * 申请开票 | ||
10527 | + * @tags 发票 | ||
10528 | + * @produces * | ||
10529 | + * @consumes application/json | ||
10530 | + */ | ||
10531 | +export const postServiceInvoiceApplyInvoice = /* #__PURE__ */ (() => { | ||
10532 | + const method = 'post'; | ||
10533 | + const url = '/service/invoice/applyInvoice'; | ||
10534 | + function request( | ||
10535 | + option: PostServiceInvoiceApplyInvoiceOption, | ||
10536 | + ): Promise<PostServiceInvoiceApplyInvoiceResponseSuccess> { | ||
10537 | + return requester(request.url, { | ||
10538 | + method: request.method, | ||
10539 | + ...option, | ||
10540 | + }) as unknown as Promise<PostServiceInvoiceApplyInvoiceResponseSuccess>; | ||
10541 | + } | ||
10542 | + | ||
10543 | + /** http method */ | ||
10544 | + request.method = method; | ||
10545 | + /** request url */ | ||
10546 | + request.url = url; | ||
10547 | + return request; | ||
10548 | +})(); | ||
10549 | + | ||
10550 | +/** @description request parameter type for postServiceInvoiceCancelApply */ | ||
10551 | +export interface PostServiceInvoiceCancelApplyOption { | ||
10552 | + /** | ||
10553 | + * @description | ||
10554 | + * dto | ||
10555 | + */ | ||
10556 | + body: { | ||
10557 | + /** | ||
10558 | + @description | ||
10559 | + dto */ | ||
10560 | + dto: Dto; | ||
10561 | + }; | ||
10562 | +} | ||
10563 | + | ||
10564 | +/** @description response type for postServiceInvoiceCancelApply */ | ||
10565 | +export interface PostServiceInvoiceCancelApplyResponse { | ||
10566 | + /** | ||
10567 | + * @description | ||
10568 | + * OK | ||
10569 | + */ | ||
10570 | + 200: ServerResult; | ||
10571 | + /** | ||
10572 | + * @description | ||
10573 | + * Created | ||
10574 | + */ | ||
10575 | + 201: any; | ||
10576 | + /** | ||
10577 | + * @description | ||
10578 | + * Unauthorized | ||
10579 | + */ | ||
10580 | + 401: any; | ||
10581 | + /** | ||
10582 | + * @description | ||
10583 | + * Forbidden | ||
10584 | + */ | ||
10585 | + 403: any; | ||
10586 | + /** | ||
10587 | + * @description | ||
10588 | + * Not Found | ||
10589 | + */ | ||
10590 | + 404: any; | ||
10591 | +} | ||
10592 | + | ||
10593 | +export type PostServiceInvoiceCancelApplyResponseSuccess = | ||
10594 | + PostServiceInvoiceCancelApplyResponse[200]; | ||
10595 | +/** | ||
10596 | + * @description | ||
10597 | + * 取消申请 | ||
10598 | + * @tags 发票 | ||
10599 | + * @produces * | ||
10600 | + * @consumes application/json | ||
10601 | + */ | ||
10602 | +export const postServiceInvoiceCancelApply = /* #__PURE__ */ (() => { | ||
10603 | + const method = 'post'; | ||
10604 | + const url = '/service/invoice/cancelApply'; | ||
10605 | + function request( | ||
10606 | + option: PostServiceInvoiceCancelApplyOption, | ||
10607 | + ): Promise<PostServiceInvoiceCancelApplyResponseSuccess> { | ||
10608 | + return requester(request.url, { | ||
10609 | + method: request.method, | ||
10610 | + ...option, | ||
10611 | + }) as unknown as Promise<PostServiceInvoiceCancelApplyResponseSuccess>; | ||
10612 | + } | ||
10613 | + | ||
10614 | + /** http method */ | ||
10615 | + request.method = method; | ||
10616 | + /** request url */ | ||
10617 | + request.url = url; | ||
10618 | + return request; | ||
10619 | +})(); | ||
10620 | + | ||
10621 | +/** @description request parameter type for postServiceInvoiceCancelInvoiceAndBankStatement */ | ||
10622 | +export interface PostServiceInvoiceCancelInvoiceAndBankStatementOption { | ||
10623 | + /** | ||
10624 | + * @description | ||
10625 | + * dto | ||
10626 | + */ | ||
10627 | + body: { | ||
10628 | + /** | ||
10629 | + @description | ||
10630 | + dto */ | ||
10631 | + dto: CancelInvoiceAndBankStatementDto; | ||
10632 | + }; | ||
10633 | +} | ||
10634 | + | ||
10635 | +/** @description response type for postServiceInvoiceCancelInvoiceAndBankStatement */ | ||
10636 | +export interface PostServiceInvoiceCancelInvoiceAndBankStatementResponse { | ||
10637 | + /** | ||
10638 | + * @description | ||
10639 | + * OK | ||
10640 | + */ | ||
10641 | + 200: ServerResult; | ||
10642 | + /** | ||
10643 | + * @description | ||
10644 | + * Created | ||
10645 | + */ | ||
10646 | + 201: any; | ||
10647 | + /** | ||
10648 | + * @description | ||
10649 | + * Unauthorized | ||
10650 | + */ | ||
10651 | + 401: any; | ||
10652 | + /** | ||
10653 | + * @description | ||
10654 | + * Forbidden | ||
10655 | + */ | ||
10656 | + 403: any; | ||
10657 | + /** | ||
10658 | + * @description | ||
10659 | + * Not Found | ||
10660 | + */ | ||
10661 | + 404: any; | ||
10662 | +} | ||
10663 | + | ||
10664 | +export type PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess = | ||
10665 | + PostServiceInvoiceCancelInvoiceAndBankStatementResponse[200]; | ||
10666 | +/** | ||
10667 | + * @description | ||
10668 | + * 取消发票与银行流水的关联 | ||
10669 | + * @tags 发票 | ||
10670 | + * @produces * | ||
10671 | + * @consumes application/json | ||
10672 | + */ | ||
10673 | +export const postServiceInvoiceCancelInvoiceAndBankStatement = | ||
10674 | + /* #__PURE__ */ (() => { | ||
10675 | + const method = 'post'; | ||
10676 | + const url = '/service/invoice/cancelInvoiceAndBankStatement'; | ||
10677 | + function request( | ||
10678 | + option: PostServiceInvoiceCancelInvoiceAndBankStatementOption, | ||
10679 | + ): Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess> { | ||
10680 | + return requester(request.url, { | ||
10681 | + method: request.method, | ||
10682 | + ...option, | ||
10683 | + }) as unknown as Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess>; | ||
10684 | + } | ||
10685 | + | ||
10686 | + /** http method */ | ||
10687 | + request.method = method; | ||
10688 | + /** request url */ | ||
10689 | + request.url = url; | ||
10690 | + return request; | ||
10691 | + })(); | ||
10692 | + | ||
10693 | +/** @description request parameter type for postServiceInvoiceDealInvoicingResult */ | ||
10694 | +export interface PostServiceInvoiceDealInvoicingResultOption { | ||
10695 | + /** | ||
10696 | + * @description | ||
10697 | + * dto | ||
10698 | + */ | ||
10699 | + body: { | ||
10700 | + /** | ||
10701 | + @description | ||
10702 | + dto */ | ||
10703 | + dto: Dto; | ||
10704 | + }; | ||
10705 | +} | ||
10706 | + | ||
10707 | +/** @description response type for postServiceInvoiceDealInvoicingResult */ | ||
10708 | +export interface PostServiceInvoiceDealInvoicingResultResponse { | ||
10709 | + /** | ||
10710 | + * @description | ||
10711 | + * OK | ||
10712 | + */ | ||
10713 | + 200: ServerResult; | ||
10714 | + /** | ||
10715 | + * @description | ||
10716 | + * Created | ||
10717 | + */ | ||
10718 | + 201: any; | ||
10719 | + /** | ||
10720 | + * @description | ||
10721 | + * Unauthorized | ||
10722 | + */ | ||
10723 | + 401: any; | ||
10724 | + /** | ||
10725 | + * @description | ||
10726 | + * Forbidden | ||
10727 | + */ | ||
10728 | + 403: any; | ||
10729 | + /** | ||
10730 | + * @description | ||
10731 | + * Not Found | ||
10732 | + */ | ||
10733 | + 404: any; | ||
10734 | +} | ||
10735 | + | ||
10736 | +export type PostServiceInvoiceDealInvoicingResultResponseSuccess = | ||
10737 | + PostServiceInvoiceDealInvoicingResultResponse[200]; | ||
10738 | +/** | ||
10739 | + * @description | ||
10740 | + * 拉取开票结果 | ||
10741 | + * @tags 发票 | ||
10742 | + * @produces * | ||
10743 | + * @consumes application/json | ||
10744 | + */ | ||
10745 | +export const postServiceInvoiceDealInvoicingResult = /* #__PURE__ */ (() => { | ||
10746 | + const method = 'post'; | ||
10747 | + const url = '/service/invoice/dealInvoicingResult'; | ||
10748 | + function request( | ||
10749 | + option: PostServiceInvoiceDealInvoicingResultOption, | ||
10750 | + ): Promise<PostServiceInvoiceDealInvoicingResultResponseSuccess> { | ||
10751 | + return requester(request.url, { | ||
10752 | + method: request.method, | ||
10753 | + ...option, | ||
10754 | + }) as unknown as Promise<PostServiceInvoiceDealInvoicingResultResponseSuccess>; | ||
10755 | + } | ||
10756 | + | ||
10757 | + /** http method */ | ||
10758 | + request.method = method; | ||
10759 | + /** request url */ | ||
10760 | + request.url = url; | ||
10761 | + return request; | ||
10762 | +})(); | ||
10763 | + | ||
10764 | +/** @description request parameter type for postServiceInvoiceDeleteInvoice */ | ||
10765 | +export interface PostServiceInvoiceDeleteInvoiceOption { | ||
10766 | + /** | ||
10767 | + * @description | ||
10768 | + * dto | ||
10769 | + */ | ||
10770 | + body: { | ||
10771 | + /** | ||
10772 | + @description | ||
10773 | + dto */ | ||
10774 | + dto: Dto; | ||
10775 | + }; | ||
10776 | +} | ||
10777 | + | ||
10778 | +/** @description response type for postServiceInvoiceDeleteInvoice */ | ||
10779 | +export interface PostServiceInvoiceDeleteInvoiceResponse { | ||
10780 | + /** | ||
10781 | + * @description | ||
10782 | + * OK | ||
10783 | + */ | ||
10784 | + 200: ServerResult; | ||
10785 | + /** | ||
10786 | + * @description | ||
10787 | + * Created | ||
10788 | + */ | ||
10789 | + 201: any; | ||
10790 | + /** | ||
10791 | + * @description | ||
10792 | + * Unauthorized | ||
10793 | + */ | ||
10794 | + 401: any; | ||
10795 | + /** | ||
10796 | + * @description | ||
10797 | + * Forbidden | ||
10798 | + */ | ||
10799 | + 403: any; | ||
10800 | + /** | ||
10801 | + * @description | ||
10802 | + * Not Found | ||
10803 | + */ | ||
10804 | + 404: any; | ||
10805 | +} | ||
10806 | + | ||
10807 | +export type PostServiceInvoiceDeleteInvoiceResponseSuccess = | ||
10808 | + PostServiceInvoiceDeleteInvoiceResponse[200]; | ||
10809 | +/** | ||
10810 | + * @description | ||
10811 | + * 删除发票 | ||
10812 | + * @tags 发票 | ||
10813 | + * @produces * | ||
10814 | + * @consumes application/json | ||
10815 | + */ | ||
10816 | +export const postServiceInvoiceDeleteInvoice = /* #__PURE__ */ (() => { | ||
10817 | + const method = 'post'; | ||
10818 | + const url = '/service/invoice/deleteInvoice'; | ||
10819 | + function request( | ||
10820 | + option: PostServiceInvoiceDeleteInvoiceOption, | ||
10821 | + ): Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess> { | ||
10822 | + return requester(request.url, { | ||
10823 | + method: request.method, | ||
10824 | + ...option, | ||
10825 | + }) as unknown as Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess>; | ||
10826 | + } | ||
10827 | + | ||
10828 | + /** http method */ | ||
10829 | + request.method = method; | ||
10830 | + /** request url */ | ||
10831 | + request.url = url; | ||
10832 | + return request; | ||
10833 | +})(); | ||
10834 | + | ||
10835 | +/** @description request parameter type for postServiceInvoiceDownloadInvoice */ | ||
10836 | +export interface PostServiceInvoiceDownloadInvoiceOption { | ||
10837 | + /** | ||
10838 | + * @description | ||
10839 | + * recodId | ||
10840 | + * @format int64 | ||
10841 | + */ | ||
10842 | + query?: { | ||
10843 | + /** | ||
10844 | + @description | ||
10845 | + recodId | ||
10846 | + @format int64 */ | ||
10847 | + recodId?: number; | ||
10848 | + }; | ||
10849 | +} | ||
10850 | + | ||
10851 | +/** @description response type for postServiceInvoiceDownloadInvoice */ | ||
10852 | +export interface PostServiceInvoiceDownloadInvoiceResponse { | ||
10853 | + /** | ||
10854 | + * @description | ||
10855 | + * OK | ||
10856 | + */ | ||
10857 | + 200: ServerResult; | ||
10858 | + /** | ||
10859 | + * @description | ||
10860 | + * Created | ||
10861 | + */ | ||
10862 | + 201: any; | ||
10863 | + /** | ||
10864 | + * @description | ||
10865 | + * Unauthorized | ||
10866 | + */ | ||
10867 | + 401: any; | ||
10868 | + /** | ||
10869 | + * @description | ||
10870 | + * Forbidden | ||
10871 | + */ | ||
10872 | + 403: any; | ||
10873 | + /** | ||
10874 | + * @description | ||
10875 | + * Not Found | ||
10876 | + */ | ||
10877 | + 404: any; | ||
10878 | +} | ||
10879 | + | ||
10880 | +export type PostServiceInvoiceDownloadInvoiceResponseSuccess = | ||
10881 | + PostServiceInvoiceDownloadInvoiceResponse[200]; | ||
10882 | +/** | ||
10883 | + * @description | ||
10884 | + * 下载开票 | ||
10885 | + * @tags 发票 | ||
10886 | + * @produces * | ||
10887 | + * @consumes application/json | ||
10888 | + */ | ||
10889 | +export const postServiceInvoiceDownloadInvoice = /* #__PURE__ */ (() => { | ||
10890 | + const method = 'post'; | ||
10891 | + const url = '/service/invoice/downloadInvoice'; | ||
10892 | + function request( | ||
10893 | + option?: PostServiceInvoiceDownloadInvoiceOption, | ||
10894 | + ): Promise<PostServiceInvoiceDownloadInvoiceResponseSuccess> { | ||
10895 | + return requester(request.url, { | ||
10896 | + method: request.method, | ||
10897 | + ...option, | ||
10898 | + }) as unknown as Promise<PostServiceInvoiceDownloadInvoiceResponseSuccess>; | ||
10899 | + } | ||
10900 | + | ||
10901 | + /** http method */ | ||
10902 | + request.method = method; | ||
10903 | + /** request url */ | ||
10904 | + request.url = url; | ||
10905 | + return request; | ||
10906 | +})(); | ||
10907 | + | ||
10908 | +/** @description response type for getServiceInvoiceExportInvoiceDetailsTemplate */ | ||
10909 | +export interface GetServiceInvoiceExportInvoiceDetailsTemplateResponse { | ||
10910 | + /** | ||
10911 | + * @description | ||
10912 | + * OK | ||
10913 | + */ | ||
10914 | + 200: any; | ||
10915 | + /** | ||
10916 | + * @description | ||
10917 | + * Unauthorized | ||
10918 | + */ | ||
10919 | + 401: any; | ||
10920 | + /** | ||
10921 | + * @description | ||
10922 | + * Forbidden | ||
10923 | + */ | ||
10924 | + 403: any; | ||
10925 | + /** | ||
10926 | + * @description | ||
10927 | + * Not Found | ||
10928 | + */ | ||
10929 | + 404: any; | ||
10930 | +} | ||
10931 | + | ||
10932 | +export type GetServiceInvoiceExportInvoiceDetailsTemplateResponseSuccess = | ||
10933 | + GetServiceInvoiceExportInvoiceDetailsTemplateResponse[200]; | ||
10934 | +/** | ||
10935 | + * @description | ||
10936 | + * 导出发票明细模板 | ||
10937 | + * @tags 发票 | ||
10938 | + * @produces * | ||
10939 | + */ | ||
10940 | +export const getServiceInvoiceExportInvoiceDetailsTemplate = | ||
10941 | + /* #__PURE__ */ (() => { | ||
10942 | + const method = 'get'; | ||
10943 | + const url = '/service/invoice/exportInvoiceDetailsTemplate'; | ||
10944 | + function request(): Promise<GetServiceInvoiceExportInvoiceDetailsTemplateResponseSuccess> { | ||
10945 | + return requester(request.url, { | ||
10946 | + method: request.method, | ||
10947 | + }) as unknown as Promise<GetServiceInvoiceExportInvoiceDetailsTemplateResponseSuccess>; | ||
10948 | + } | ||
10949 | + | ||
10950 | + /** http method */ | ||
10951 | + request.method = method; | ||
10952 | + /** request url */ | ||
10953 | + request.url = url; | ||
10954 | + return request; | ||
10955 | + })(); | ||
10956 | + | ||
10957 | +/** @description request parameter type for postServiceInvoiceExportInvoiceRecords */ | ||
10958 | +export interface PostServiceInvoiceExportInvoiceRecordsOption { | ||
10959 | + /** | ||
10960 | + * @description | ||
10961 | + * dto | ||
10962 | + */ | ||
10963 | + body: { | ||
10964 | + /** | ||
10965 | + @description | ||
10966 | + dto */ | ||
10967 | + dto: QueryInvoiceRecordDto; | ||
10968 | + }; | ||
10969 | +} | ||
10970 | + | ||
10971 | +/** @description response type for postServiceInvoiceExportInvoiceRecords */ | ||
10972 | +export interface PostServiceInvoiceExportInvoiceRecordsResponse { | ||
10973 | + /** | ||
10974 | + * @description | ||
10975 | + * OK | ||
10976 | + */ | ||
10977 | + 200: any; | ||
10978 | + /** | ||
10979 | + * @description | ||
10980 | + * Created | ||
10981 | + */ | ||
10982 | + 201: any; | ||
10983 | + /** | ||
10984 | + * @description | ||
10985 | + * Unauthorized | ||
10986 | + */ | ||
10987 | + 401: any; | ||
10988 | + /** | ||
10989 | + * @description | ||
10990 | + * Forbidden | ||
10991 | + */ | ||
10992 | + 403: any; | ||
10993 | + /** | ||
10994 | + * @description | ||
10995 | + * Not Found | ||
10996 | + */ | ||
10997 | + 404: any; | ||
10998 | +} | ||
10999 | + | ||
11000 | +export type PostServiceInvoiceExportInvoiceRecordsResponseSuccess = | ||
11001 | + PostServiceInvoiceExportInvoiceRecordsResponse[200]; | ||
11002 | +/** | ||
11003 | + * @description | ||
11004 | + * exportInvoiceRecords | ||
11005 | + * @tags 发票 | ||
11006 | + * @produces * | ||
11007 | + * @consumes application/json | ||
11008 | + */ | ||
11009 | +export const postServiceInvoiceExportInvoiceRecords = /* #__PURE__ */ (() => { | ||
11010 | + const method = 'post'; | ||
11011 | + const url = '/service/invoice/exportInvoiceRecords'; | ||
11012 | + function request( | ||
11013 | + option: PostServiceInvoiceExportInvoiceRecordsOption, | ||
11014 | + ): Promise<PostServiceInvoiceExportInvoiceRecordsResponseSuccess> { | ||
11015 | + return requester(request.url, { | ||
11016 | + method: request.method, | ||
11017 | + ...option, | ||
11018 | + }) as unknown as Promise<PostServiceInvoiceExportInvoiceRecordsResponseSuccess>; | ||
11019 | + } | ||
11020 | + | ||
11021 | + /** http method */ | ||
11022 | + request.method = method; | ||
11023 | + /** request url */ | ||
11024 | + request.url = url; | ||
11025 | + return request; | ||
11026 | +})(); | ||
11027 | + | ||
11028 | +/** @description request parameter type for postServiceInvoiceFindInvoice */ | ||
11029 | +export interface PostServiceInvoiceFindInvoiceOption { | ||
11030 | + /** | ||
11031 | + * @description | ||
11032 | + * dto | ||
11033 | + */ | ||
11034 | + body: { | ||
11035 | + /** | ||
11036 | + @description | ||
11037 | + dto */ | ||
11038 | + dto: Dto; | ||
11039 | + }; | ||
11040 | +} | ||
11041 | + | ||
11042 | +/** @description response type for postServiceInvoiceFindInvoice */ | ||
11043 | +export interface PostServiceInvoiceFindInvoiceResponse { | ||
11044 | + /** | ||
11045 | + * @description | ||
11046 | + * OK | ||
11047 | + */ | ||
11048 | + 200: ServerResult; | ||
11049 | + /** | ||
11050 | + * @description | ||
11051 | + * Created | ||
11052 | + */ | ||
11053 | + 201: any; | ||
11054 | + /** | ||
11055 | + * @description | ||
11056 | + * Unauthorized | ||
11057 | + */ | ||
11058 | + 401: any; | ||
11059 | + /** | ||
11060 | + * @description | ||
11061 | + * Forbidden | ||
11062 | + */ | ||
11063 | + 403: any; | ||
11064 | + /** | ||
11065 | + * @description | ||
11066 | + * Not Found | ||
11067 | + */ | ||
11068 | + 404: any; | ||
11069 | +} | ||
11070 | + | ||
11071 | +export type PostServiceInvoiceFindInvoiceResponseSuccess = | ||
11072 | + PostServiceInvoiceFindInvoiceResponse[200]; | ||
11073 | +/** | ||
11074 | + * @description | ||
11075 | + * 不分页查询发票 | ||
11076 | + * @tags 发票 | ||
11077 | + * @produces * | ||
11078 | + * @consumes application/json | ||
11079 | + */ | ||
11080 | +export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { | ||
11081 | + const method = 'post'; | ||
11082 | + const url = '/service/invoice/findInvoice'; | ||
11083 | + function request( | ||
11084 | + option: PostServiceInvoiceFindInvoiceOption, | ||
11085 | + ): Promise<PostServiceInvoiceFindInvoiceResponseSuccess> { | ||
11086 | + return requester(request.url, { | ||
11087 | + method: request.method, | ||
11088 | + ...option, | ||
11089 | + }) as unknown as Promise<PostServiceInvoiceFindInvoiceResponseSuccess>; | ||
11090 | + } | ||
11091 | + | ||
11092 | + /** http method */ | ||
11093 | + request.method = method; | ||
11094 | + /** request url */ | ||
11095 | + request.url = url; | ||
11096 | + return request; | ||
11097 | +})(); | ||
11098 | + | ||
11099 | +/** @description request parameter type for postServiceInvoiceGetInvoiceRecord */ | ||
11100 | +export interface PostServiceInvoiceGetInvoiceRecordOption { | ||
11101 | + /** | ||
11102 | + * @description | ||
11103 | + * id | ||
11104 | + * @format int64 | ||
11105 | + */ | ||
11106 | + query?: { | ||
11107 | + /** | ||
11108 | + @description | ||
11109 | + id | ||
11110 | + @format int64 */ | ||
11111 | + id?: number; | ||
11112 | + }; | ||
11113 | +} | ||
11114 | + | ||
11115 | +/** @description response type for postServiceInvoiceGetInvoiceRecord */ | ||
11116 | +export interface PostServiceInvoiceGetInvoiceRecordResponse { | ||
11117 | + /** | ||
11118 | + * @description | ||
11119 | + * OK | ||
11120 | + */ | ||
11121 | + 200: ServerResult; | ||
11122 | + /** | ||
11123 | + * @description | ||
11124 | + * Created | ||
11125 | + */ | ||
11126 | + 201: any; | ||
11127 | + /** | ||
11128 | + * @description | ||
11129 | + * Unauthorized | ||
11130 | + */ | ||
11131 | + 401: any; | ||
11132 | + /** | ||
11133 | + * @description | ||
11134 | + * Forbidden | ||
11135 | + */ | ||
11136 | + 403: any; | ||
11137 | + /** | ||
11138 | + * @description | ||
11139 | + * Not Found | ||
11140 | + */ | ||
11141 | + 404: any; | ||
11142 | +} | ||
11143 | + | ||
11144 | +export type PostServiceInvoiceGetInvoiceRecordResponseSuccess = | ||
11145 | + PostServiceInvoiceGetInvoiceRecordResponse[200]; | ||
11146 | +/** | ||
11147 | + * @description | ||
11148 | + * 获取开票记录 | ||
11149 | + * @tags 发票 | ||
11150 | + * @produces * | ||
11151 | + * @consumes application/json | ||
11152 | + */ | ||
11153 | +export const postServiceInvoiceGetInvoiceRecord = /* #__PURE__ */ (() => { | ||
11154 | + const method = 'post'; | ||
11155 | + const url = '/service/invoice/getInvoiceRecord'; | ||
11156 | + function request( | ||
11157 | + option?: PostServiceInvoiceGetInvoiceRecordOption, | ||
11158 | + ): Promise<PostServiceInvoiceGetInvoiceRecordResponseSuccess> { | ||
11159 | + return requester(request.url, { | ||
11160 | + method: request.method, | ||
11161 | + ...option, | ||
11162 | + }) as unknown as Promise<PostServiceInvoiceGetInvoiceRecordResponseSuccess>; | ||
11163 | + } | ||
11164 | + | ||
11165 | + /** http method */ | ||
11166 | + request.method = method; | ||
11167 | + /** request url */ | ||
11168 | + request.url = url; | ||
11169 | + return request; | ||
11170 | +})(); | ||
11171 | + | ||
11172 | +/** @description request parameter type for postServiceInvoiceImportInvoiceDetails */ | ||
11173 | +export interface PostServiceInvoiceImportInvoiceDetailsOption { | ||
11174 | + /** | ||
11175 | + * @description | ||
11176 | + * detailsExcel | ||
11177 | + */ | ||
11178 | + formData: { | ||
11179 | + /** | ||
11180 | + @description | ||
11181 | + detailsExcel */ | ||
11182 | + detailsExcel: File; | ||
11183 | + }; | ||
11184 | +} | ||
11185 | + | ||
11186 | +/** @description request parameter type for postServiceInvoiceImportInvoiceDetails */ | ||
11187 | +export interface PostServiceInvoiceImportInvoiceDetailsOption { | ||
11188 | + /** | ||
11189 | + * @description | ||
11190 | + * invoiceRecordId | ||
11191 | + * @format int64 | ||
11192 | + */ | ||
11193 | + query: { | ||
11194 | + /** | ||
11195 | + @description | ||
11196 | + invoiceRecordId | ||
11197 | + @format int64 */ | ||
11198 | + invoiceRecordId: number; | ||
11199 | + }; | ||
11200 | +} | ||
11201 | + | ||
11202 | +/** @description response type for postServiceInvoiceImportInvoiceDetails */ | ||
11203 | +export interface PostServiceInvoiceImportInvoiceDetailsResponse { | ||
11204 | + /** | ||
11205 | + * @description | ||
11206 | + * OK | ||
11207 | + */ | ||
11208 | + 200: ServerResult; | ||
11209 | + /** | ||
11210 | + * @description | ||
11211 | + * Created | ||
11212 | + */ | ||
11213 | + 201: any; | ||
11214 | + /** | ||
11215 | + * @description | ||
11216 | + * Unauthorized | ||
11217 | + */ | ||
11218 | + 401: any; | ||
11219 | + /** | ||
11220 | + * @description | ||
11221 | + * Forbidden | ||
11222 | + */ | ||
11223 | + 403: any; | ||
11224 | + /** | ||
11225 | + * @description | ||
11226 | + * Not Found | ||
11227 | + */ | ||
11228 | + 404: any; | ||
11229 | +} | ||
11230 | + | ||
11231 | +export type PostServiceInvoiceImportInvoiceDetailsResponseSuccess = | ||
11232 | + PostServiceInvoiceImportInvoiceDetailsResponse[200]; | ||
11233 | +/** | ||
11234 | + * @description | ||
11235 | + * 导入发票明细 | ||
11236 | + * @tags 发票 | ||
11237 | + * @produces * | ||
11238 | + * @consumes multipart/form-data | ||
11239 | + */ | ||
11240 | +export const postServiceInvoiceImportInvoiceDetails = /* #__PURE__ */ (() => { | ||
11241 | + const method = 'post'; | ||
11242 | + const url = '/service/invoice/importInvoiceDetails'; | ||
11243 | + function request( | ||
11244 | + option: PostServiceInvoiceImportInvoiceDetailsOption, | ||
11245 | + ): Promise<PostServiceInvoiceImportInvoiceDetailsResponseSuccess> { | ||
11246 | + return requester(request.url, { | ||
11247 | + method: request.method, | ||
11248 | + ...option, | ||
11249 | + }) as unknown as Promise<PostServiceInvoiceImportInvoiceDetailsResponseSuccess>; | ||
11250 | + } | ||
11251 | + | ||
11252 | + /** http method */ | ||
11253 | + request.method = method; | ||
11254 | + /** request url */ | ||
11255 | + request.url = url; | ||
11256 | + return request; | ||
11257 | +})(); | ||
11258 | + | ||
11259 | +/** @description request parameter type for postServiceInvoiceInvoiceWriteOff */ | ||
11260 | +export interface PostServiceInvoiceInvoiceWriteOffOption { | ||
11261 | + /** | ||
11262 | + * @description | ||
11263 | + * dto | ||
11264 | + */ | ||
11265 | + body: { | ||
11266 | + /** | ||
11267 | + @description | ||
11268 | + dto */ | ||
11269 | + dto: Dto; | ||
11270 | + }; | ||
11271 | +} | ||
11272 | + | ||
11273 | +/** @description response type for postServiceInvoiceInvoiceWriteOff */ | ||
11274 | +export interface PostServiceInvoiceInvoiceWriteOffResponse { | ||
11275 | + /** | ||
11276 | + * @description | ||
11277 | + * OK | ||
11278 | + */ | ||
11279 | + 200: ServerResult; | ||
11280 | + /** | ||
11281 | + * @description | ||
11282 | + * Created | ||
11283 | + */ | ||
11284 | + 201: any; | ||
11285 | + /** | ||
11286 | + * @description | ||
11287 | + * Unauthorized | ||
11288 | + */ | ||
11289 | + 401: any; | ||
11290 | + /** | ||
11291 | + * @description | ||
11292 | + * Forbidden | ||
11293 | + */ | ||
11294 | + 403: any; | ||
11295 | + /** | ||
11296 | + * @description | ||
11297 | + * Not Found | ||
11298 | + */ | ||
11299 | + 404: any; | ||
11300 | +} | ||
11301 | + | ||
11302 | +export type PostServiceInvoiceInvoiceWriteOffResponseSuccess = | ||
11303 | + PostServiceInvoiceInvoiceWriteOffResponse[200]; | ||
11304 | +/** | ||
11305 | + * @description | ||
11306 | + * 发票核销 | ||
11307 | + * @tags 发票 | ||
11308 | + * @produces * | ||
11309 | + * @consumes application/json | ||
11310 | + */ | ||
11311 | +export const postServiceInvoiceInvoiceWriteOff = /* #__PURE__ */ (() => { | ||
11312 | + const method = 'post'; | ||
11313 | + const url = '/service/invoice/invoiceWriteOff'; | ||
11314 | + function request( | ||
11315 | + option: PostServiceInvoiceInvoiceWriteOffOption, | ||
11316 | + ): Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess> { | ||
11317 | + return requester(request.url, { | ||
11318 | + method: request.method, | ||
11319 | + ...option, | ||
11320 | + }) as unknown as Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess>; | ||
11321 | + } | ||
11322 | + | ||
11323 | + /** http method */ | ||
11324 | + request.method = method; | ||
11325 | + /** request url */ | ||
11326 | + request.url = url; | ||
11327 | + return request; | ||
11328 | +})(); | ||
11329 | + | ||
11330 | +/** @description request parameter type for postServiceInvoiceInvoicing */ | ||
11331 | +export interface PostServiceInvoiceInvoicingOption { | ||
11332 | + /** | ||
11333 | + * @description | ||
11334 | + * dto | ||
11335 | + */ | ||
11336 | + body: { | ||
11337 | + /** | ||
11338 | + @description | ||
11339 | + dto */ | ||
11340 | + dto: Dto; | ||
11341 | + }; | ||
11342 | +} | ||
11343 | + | ||
11344 | +/** @description response type for postServiceInvoiceInvoicing */ | ||
11345 | +export interface PostServiceInvoiceInvoicingResponse { | ||
11346 | + /** | ||
11347 | + * @description | ||
11348 | + * OK | ||
11349 | + */ | ||
11350 | + 200: ServerResult; | ||
11351 | + /** | ||
11352 | + * @description | ||
11353 | + * Created | ||
11354 | + */ | ||
11355 | + 201: any; | ||
11356 | + /** | ||
11357 | + * @description | ||
11358 | + * Unauthorized | ||
11359 | + */ | ||
11360 | + 401: any; | ||
11361 | + /** | ||
11362 | + * @description | ||
11363 | + * Forbidden | ||
11364 | + */ | ||
11365 | + 403: any; | ||
11366 | + /** | ||
11367 | + * @description | ||
11368 | + * Not Found | ||
11369 | + */ | ||
11370 | + 404: any; | ||
11371 | +} | ||
11372 | + | ||
11373 | +export type PostServiceInvoiceInvoicingResponseSuccess = | ||
11374 | + PostServiceInvoiceInvoicingResponse[200]; | ||
11375 | +/** | ||
11376 | + * @description | ||
11377 | + * 开票 | ||
11378 | + * @tags 发票 | ||
11379 | + * @produces * | ||
11380 | + * @consumes application/json | ||
11381 | + */ | ||
11382 | +export const postServiceInvoiceInvoicing = /* #__PURE__ */ (() => { | ||
11383 | + const method = 'post'; | ||
11384 | + const url = '/service/invoice/invoicing'; | ||
11385 | + function request( | ||
11386 | + option: PostServiceInvoiceInvoicingOption, | ||
11387 | + ): Promise<PostServiceInvoiceInvoicingResponseSuccess> { | ||
11388 | + return requester(request.url, { | ||
11389 | + method: request.method, | ||
11390 | + ...option, | ||
11391 | + }) as unknown as Promise<PostServiceInvoiceInvoicingResponseSuccess>; | ||
11392 | + } | ||
11393 | + | ||
11394 | + /** http method */ | ||
11395 | + request.method = method; | ||
11396 | + /** request url */ | ||
11397 | + request.url = url; | ||
11398 | + return request; | ||
11399 | +})(); | ||
11400 | + | ||
11401 | +/** @description request parameter type for postServiceInvoiceModifyRecord */ | ||
11402 | +export interface PostServiceInvoiceModifyRecordOption { | ||
11403 | + /** | ||
11404 | + * @description | ||
11405 | + * dto | ||
11406 | + */ | ||
11407 | + body: { | ||
11408 | + /** | ||
11409 | + @description | ||
11410 | + dto */ | ||
11411 | + dto: InvoiceRecordDto; | ||
11412 | + }; | ||
11413 | +} | ||
11414 | + | ||
11415 | +/** @description response type for postServiceInvoiceModifyRecord */ | ||
11416 | +export interface PostServiceInvoiceModifyRecordResponse { | ||
11417 | + /** | ||
11418 | + * @description | ||
11419 | + * OK | ||
11420 | + */ | ||
11421 | + 200: ServerResult; | ||
11422 | + /** | ||
11423 | + * @description | ||
11424 | + * Created | ||
11425 | + */ | ||
11426 | + 201: any; | ||
11427 | + /** | ||
11428 | + * @description | ||
11429 | + * Unauthorized | ||
11430 | + */ | ||
11431 | + 401: any; | ||
11432 | + /** | ||
11433 | + * @description | ||
11434 | + * Forbidden | ||
11435 | + */ | ||
11436 | + 403: any; | ||
11437 | + /** | ||
11438 | + * @description | ||
11439 | + * Not Found | ||
11440 | + */ | ||
11441 | + 404: any; | ||
11442 | +} | ||
11443 | + | ||
11444 | +export type PostServiceInvoiceModifyRecordResponseSuccess = | ||
11445 | + PostServiceInvoiceModifyRecordResponse[200]; | ||
11446 | +/** | ||
11447 | + * @description | ||
11448 | + * 修改开票记录 | ||
10098 | * @tags 发票 | 11449 | * @tags 发票 |
10099 | * @produces * | 11450 | * @produces * |
10100 | * @consumes application/json | 11451 | * @consumes application/json |
10101 | */ | 11452 | */ |
10102 | -export const postServiceInvoiceInvoiceWriteOff = /* #__PURE__ */ (() => { | 11453 | +export const postServiceInvoiceModifyRecord = /* #__PURE__ */ (() => { |
10103 | const method = 'post'; | 11454 | const method = 'post'; |
10104 | - const url = '/service/invoice/invoiceWriteOff'; | 11455 | + const url = '/service/invoice/modifyRecord'; |
10105 | function request( | 11456 | function request( |
10106 | - option: PostServiceInvoiceInvoiceWriteOffOption, | ||
10107 | - ): Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess> { | 11457 | + option: PostServiceInvoiceModifyRecordOption, |
11458 | + ): Promise<PostServiceInvoiceModifyRecordResponseSuccess> { | ||
10108 | return requester(request.url, { | 11459 | return requester(request.url, { |
10109 | method: request.method, | 11460 | method: request.method, |
10110 | ...option, | 11461 | ...option, |
10111 | - }) as unknown as Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess>; | 11462 | + }) as unknown as Promise<PostServiceInvoiceModifyRecordResponseSuccess>; |
10112 | } | 11463 | } |
10113 | 11464 | ||
10114 | /** http method */ | 11465 | /** http method */ |
@@ -10260,6 +11611,126 @@ export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { | @@ -10260,6 +11611,126 @@ export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { | ||
10260 | return request; | 11611 | return request; |
10261 | })(); | 11612 | })(); |
10262 | 11613 | ||
11614 | +/** @description request parameter type for postServiceInvoiceQueryInvoiceRecordList */ | ||
11615 | +export interface PostServiceInvoiceQueryInvoiceRecordListOption { | ||
11616 | + /** | ||
11617 | + * @description | ||
11618 | + * dto | ||
11619 | + */ | ||
11620 | + body: { | ||
11621 | + /** | ||
11622 | + @description | ||
11623 | + dto */ | ||
11624 | + dto: QueryInvoiceRecordDto; | ||
11625 | + }; | ||
11626 | +} | ||
11627 | + | ||
11628 | +/** @description response type for postServiceInvoiceQueryInvoiceRecordList */ | ||
11629 | +export interface PostServiceInvoiceQueryInvoiceRecordListResponse { | ||
11630 | + /** | ||
11631 | + * @description | ||
11632 | + * OK | ||
11633 | + */ | ||
11634 | + 200: ServerResult; | ||
11635 | + /** | ||
11636 | + * @description | ||
11637 | + * Created | ||
11638 | + */ | ||
11639 | + 201: any; | ||
11640 | + /** | ||
11641 | + * @description | ||
11642 | + * Unauthorized | ||
11643 | + */ | ||
11644 | + 401: any; | ||
11645 | + /** | ||
11646 | + * @description | ||
11647 | + * Forbidden | ||
11648 | + */ | ||
11649 | + 403: any; | ||
11650 | + /** | ||
11651 | + * @description | ||
11652 | + * Not Found | ||
11653 | + */ | ||
11654 | + 404: any; | ||
11655 | +} | ||
11656 | + | ||
11657 | +export type PostServiceInvoiceQueryInvoiceRecordListResponseSuccess = | ||
11658 | + PostServiceInvoiceQueryInvoiceRecordListResponse[200]; | ||
11659 | +/** | ||
11660 | + * @description | ||
11661 | + * 获取开票记录列表 | ||
11662 | + * @tags 发票 | ||
11663 | + * @produces * | ||
11664 | + * @consumes application/json | ||
11665 | + */ | ||
11666 | +export const postServiceInvoiceQueryInvoiceRecordList = /* #__PURE__ */ (() => { | ||
11667 | + const method = 'post'; | ||
11668 | + const url = '/service/invoice/queryInvoiceRecordList'; | ||
11669 | + function request( | ||
11670 | + option: PostServiceInvoiceQueryInvoiceRecordListOption, | ||
11671 | + ): Promise<PostServiceInvoiceQueryInvoiceRecordListResponseSuccess> { | ||
11672 | + return requester(request.url, { | ||
11673 | + method: request.method, | ||
11674 | + ...option, | ||
11675 | + }) as unknown as Promise<PostServiceInvoiceQueryInvoiceRecordListResponseSuccess>; | ||
11676 | + } | ||
11677 | + | ||
11678 | + /** http method */ | ||
11679 | + request.method = method; | ||
11680 | + /** request url */ | ||
11681 | + request.url = url; | ||
11682 | + return request; | ||
11683 | +})(); | ||
11684 | + | ||
11685 | +/** @description response type for getServiceInvoiceQueryReadyInvoiceRecordList */ | ||
11686 | +export interface GetServiceInvoiceQueryReadyInvoiceRecordListResponse { | ||
11687 | + /** | ||
11688 | + * @description | ||
11689 | + * OK | ||
11690 | + */ | ||
11691 | + 200: ServerResult; | ||
11692 | + /** | ||
11693 | + * @description | ||
11694 | + * Unauthorized | ||
11695 | + */ | ||
11696 | + 401: any; | ||
11697 | + /** | ||
11698 | + * @description | ||
11699 | + * Forbidden | ||
11700 | + */ | ||
11701 | + 403: any; | ||
11702 | + /** | ||
11703 | + * @description | ||
11704 | + * Not Found | ||
11705 | + */ | ||
11706 | + 404: any; | ||
11707 | +} | ||
11708 | + | ||
11709 | +export type GetServiceInvoiceQueryReadyInvoiceRecordListResponseSuccess = | ||
11710 | + GetServiceInvoiceQueryReadyInvoiceRecordListResponse[200]; | ||
11711 | +/** | ||
11712 | + * @description | ||
11713 | + * 获取要开票记录列表 | ||
11714 | + * @tags 发票 | ||
11715 | + * @produces * | ||
11716 | + */ | ||
11717 | +export const getServiceInvoiceQueryReadyInvoiceRecordList = | ||
11718 | + /* #__PURE__ */ (() => { | ||
11719 | + const method = 'get'; | ||
11720 | + const url = '/service/invoice/queryReadyInvoiceRecordList'; | ||
11721 | + function request(): Promise<GetServiceInvoiceQueryReadyInvoiceRecordListResponseSuccess> { | ||
11722 | + return requester(request.url, { | ||
11723 | + method: request.method, | ||
11724 | + }) as unknown as Promise<GetServiceInvoiceQueryReadyInvoiceRecordListResponseSuccess>; | ||
11725 | + } | ||
11726 | + | ||
11727 | + /** http method */ | ||
11728 | + request.method = method; | ||
11729 | + /** request url */ | ||
11730 | + request.url = url; | ||
11731 | + return request; | ||
11732 | + })(); | ||
11733 | + | ||
10263 | /** @description request parameter type for postServiceInvoiceReissue */ | 11734 | /** @description request parameter type for postServiceInvoiceReissue */ |
10264 | export interface PostServiceInvoiceReissueOption { | 11735 | export interface PostServiceInvoiceReissueOption { |
10265 | /** | 11736 | /** |
@@ -10331,6 +11802,148 @@ export const postServiceInvoiceReissue = /* #__PURE__ */ (() => { | @@ -10331,6 +11802,148 @@ export const postServiceInvoiceReissue = /* #__PURE__ */ (() => { | ||
10331 | return request; | 11802 | return request; |
10332 | })(); | 11803 | })(); |
10333 | 11804 | ||
11805 | +/** @description request parameter type for postServiceInvoiceReissueAudit */ | ||
11806 | +export interface PostServiceInvoiceReissueAuditOption { | ||
11807 | + /** | ||
11808 | + * @description | ||
11809 | + * dto | ||
11810 | + */ | ||
11811 | + body: { | ||
11812 | + /** | ||
11813 | + @description | ||
11814 | + dto */ | ||
11815 | + dto: AuditDto; | ||
11816 | + }; | ||
11817 | +} | ||
11818 | + | ||
11819 | +/** @description response type for postServiceInvoiceReissueAudit */ | ||
11820 | +export interface PostServiceInvoiceReissueAuditResponse { | ||
11821 | + /** | ||
11822 | + * @description | ||
11823 | + * OK | ||
11824 | + */ | ||
11825 | + 200: ServerResult; | ||
11826 | + /** | ||
11827 | + * @description | ||
11828 | + * Created | ||
11829 | + */ | ||
11830 | + 201: any; | ||
11831 | + /** | ||
11832 | + * @description | ||
11833 | + * Unauthorized | ||
11834 | + */ | ||
11835 | + 401: any; | ||
11836 | + /** | ||
11837 | + * @description | ||
11838 | + * Forbidden | ||
11839 | + */ | ||
11840 | + 403: any; | ||
11841 | + /** | ||
11842 | + * @description | ||
11843 | + * Not Found | ||
11844 | + */ | ||
11845 | + 404: any; | ||
11846 | +} | ||
11847 | + | ||
11848 | +export type PostServiceInvoiceReissueAuditResponseSuccess = | ||
11849 | + PostServiceInvoiceReissueAuditResponse[200]; | ||
11850 | +/** | ||
11851 | + * @description | ||
11852 | + * 重新开票审核 | ||
11853 | + * @tags 发票 | ||
11854 | + * @produces * | ||
11855 | + * @consumes application/json | ||
11856 | + */ | ||
11857 | +export const postServiceInvoiceReissueAudit = /* #__PURE__ */ (() => { | ||
11858 | + const method = 'post'; | ||
11859 | + const url = '/service/invoice/reissueAudit'; | ||
11860 | + function request( | ||
11861 | + option: PostServiceInvoiceReissueAuditOption, | ||
11862 | + ): Promise<PostServiceInvoiceReissueAuditResponseSuccess> { | ||
11863 | + return requester(request.url, { | ||
11864 | + method: request.method, | ||
11865 | + ...option, | ||
11866 | + }) as unknown as Promise<PostServiceInvoiceReissueAuditResponseSuccess>; | ||
11867 | + } | ||
11868 | + | ||
11869 | + /** http method */ | ||
11870 | + request.method = method; | ||
11871 | + /** request url */ | ||
11872 | + request.url = url; | ||
11873 | + return request; | ||
11874 | +})(); | ||
11875 | + | ||
11876 | +/** @description request parameter type for postServiceInvoiceUrgentInvoicing */ | ||
11877 | +export interface PostServiceInvoiceUrgentInvoicingOption { | ||
11878 | + /** | ||
11879 | + * @description | ||
11880 | + * dto | ||
11881 | + */ | ||
11882 | + body: { | ||
11883 | + /** | ||
11884 | + @description | ||
11885 | + dto */ | ||
11886 | + dto: AuditDto; | ||
11887 | + }; | ||
11888 | +} | ||
11889 | + | ||
11890 | +/** @description response type for postServiceInvoiceUrgentInvoicing */ | ||
11891 | +export interface PostServiceInvoiceUrgentInvoicingResponse { | ||
11892 | + /** | ||
11893 | + * @description | ||
11894 | + * OK | ||
11895 | + */ | ||
11896 | + 200: ServerResult; | ||
11897 | + /** | ||
11898 | + * @description | ||
11899 | + * Created | ||
11900 | + */ | ||
11901 | + 201: any; | ||
11902 | + /** | ||
11903 | + * @description | ||
11904 | + * Unauthorized | ||
11905 | + */ | ||
11906 | + 401: any; | ||
11907 | + /** | ||
11908 | + * @description | ||
11909 | + * Forbidden | ||
11910 | + */ | ||
11911 | + 403: any; | ||
11912 | + /** | ||
11913 | + * @description | ||
11914 | + * Not Found | ||
11915 | + */ | ||
11916 | + 404: any; | ||
11917 | +} | ||
11918 | + | ||
11919 | +export type PostServiceInvoiceUrgentInvoicingResponseSuccess = | ||
11920 | + PostServiceInvoiceUrgentInvoicingResponse[200]; | ||
11921 | +/** | ||
11922 | + * @description | ||
11923 | + * 加急开票审核 | ||
11924 | + * @tags 发票 | ||
11925 | + * @produces * | ||
11926 | + * @consumes application/json | ||
11927 | + */ | ||
11928 | +export const postServiceInvoiceUrgentInvoicing = /* #__PURE__ */ (() => { | ||
11929 | + const method = 'post'; | ||
11930 | + const url = '/service/invoice/urgentInvoicing'; | ||
11931 | + function request( | ||
11932 | + option: PostServiceInvoiceUrgentInvoicingOption, | ||
11933 | + ): Promise<PostServiceInvoiceUrgentInvoicingResponseSuccess> { | ||
11934 | + return requester(request.url, { | ||
11935 | + method: request.method, | ||
11936 | + ...option, | ||
11937 | + }) as unknown as Promise<PostServiceInvoiceUrgentInvoicingResponseSuccess>; | ||
11938 | + } | ||
11939 | + | ||
11940 | + /** http method */ | ||
11941 | + request.method = method; | ||
11942 | + /** request url */ | ||
11943 | + request.url = url; | ||
11944 | + return request; | ||
11945 | +})(); | ||
11946 | + | ||
10334 | /** @description request parameter type for postServiceOrderAddOrder */ | 11947 | /** @description request parameter type for postServiceOrderAddOrder */ |
10335 | export interface PostServiceOrderAddOrderOption { | 11948 | export interface PostServiceOrderAddOrderOption { |
10336 | /** | 11949 | /** |