Commit 1b5105f254c8240a8c4cad2ca4fc2c8ed3e30515
1 parent
3498a23d
feat: 客户管理系统开发
Showing
5 changed files
with
3063 additions
and
309 deletions
.umirc.ts
src/pages/Order/components/InvoicingDrawerForm.tsx
... | ... | @@ -100,11 +100,6 @@ export default ({ dataList, mainOrder, setVisible, onClose }) => { |
100 | 100 | placeholder="请输入名称" |
101 | 101 | /> |
102 | 102 | <ProFormText |
103 | - rules={[ | |
104 | - { | |
105 | - required: true, | |
106 | - }, | |
107 | - ]} | |
108 | 103 | width="md" |
109 | 104 | name="partyATaxid" |
110 | 105 | label="购方税号" |
... | ... | @@ -206,7 +201,7 @@ export default ({ dataList, mainOrder, setVisible, onClose }) => { |
206 | 201 | initialValue={dataList.map((item) => { |
207 | 202 | return { |
208 | 203 | subOrderId: item.id, |
209 | - projectName: item.productName, | |
204 | + /*projectName: item.productName,*/ | |
210 | 205 | specification: item.parameters, |
211 | 206 | unit: item.unit, |
212 | 207 | quantity: item.quantity, |
... | ... | @@ -248,6 +243,7 @@ export default ({ dataList, mainOrder, setVisible, onClose }) => { |
248 | 243 | width="md" |
249 | 244 | showSearch |
250 | 245 | name="projectName" |
246 | + rules={[{ required: true, message: '请输入开票项目名称!' }]} | |
251 | 247 | request={async (value) => { |
252 | 248 | const keywords = value.keyWords; |
253 | 249 | const res = await postServiceConstListInvoiceDetailNames({ | ... | ... |
src/pages/Order/index.tsx
... | ... | @@ -4199,7 +4199,7 @@ const OrderPage = () => { |
4199 | 4199 | ); |
4200 | 4200 | } |
4201 | 4201 | |
4202 | - if (rolePath?.includes('mergeApplyInvoicing')) { | |
4202 | + /*if (rolePath?.includes('mergeApplyInvoicing')) { | |
4203 | 4203 | toolBtns.push( |
4204 | 4204 | <Button |
4205 | 4205 | type="primary" |
... | ... | @@ -4214,9 +4214,9 @@ const OrderPage = () => { |
4214 | 4214 | {roleCode === 'admin' ? '合并(销售)' : '合并开票'} |
4215 | 4215 | </Button>, |
4216 | 4216 | ); |
4217 | - } | |
4217 | + }*/ | |
4218 | 4218 | |
4219 | - if (rolePath?.includes('mergeInvoicing')) { | |
4219 | + /*if (rolePath?.includes('mergeInvoicing')) { | |
4220 | 4220 | toolBtns.push( |
4221 | 4221 | <Button |
4222 | 4222 | type="primary" |
... | ... | @@ -4250,7 +4250,7 @@ const OrderPage = () => { |
4250 | 4250 | {roleCode === 'admin' ? '合并(财务)' : '合并开票'} |
4251 | 4251 | </Button>, |
4252 | 4252 | ); |
4253 | - } | |
4253 | + }*/ | |
4254 | 4254 | |
4255 | 4255 | toolBtns.push( |
4256 | 4256 | <Button | ... | ... |
src/services/definition.ts
... | ... | @@ -572,6 +572,221 @@ export interface ApiQueryOrderStatusCountsRequest { |
572 | 572 | uid?: number; |
573 | 573 | } |
574 | 574 | |
575 | +export interface ApplyInvoiceDto { | |
576 | + /** | |
577 | + * @description | |
578 | + * 备注 | |
579 | + */ | |
580 | + applyInvoicingNotes?: string; | |
581 | + /** | |
582 | + * @description | |
583 | + * 开票备注 | |
584 | + */ | |
585 | + comment?: string; | |
586 | + /** | |
587 | + * @description | |
588 | + * 联系人 | |
589 | + */ | |
590 | + contacts?: string; | |
591 | + /** | |
592 | + * @description | |
593 | + * 开票内容 | |
594 | + */ | |
595 | + content?: string; | |
596 | + createByName?: string; | |
597 | + /** @format date-time */ | |
598 | + createTime?: string; | |
599 | + failureReason?: string; | |
600 | + /** | |
601 | + * @description | |
602 | + * id | |
603 | + * @format int64 | |
604 | + */ | |
605 | + id?: number; | |
606 | + /** | |
607 | + * @description | |
608 | + * 发票地址 | |
609 | + */ | |
610 | + invoiceAddress?: string; | |
611 | + /** | |
612 | + * @description | |
613 | + * 发票明细 | |
614 | + */ | |
615 | + invoiceDetails?: Array<InvoiceDetail>; | |
616 | + /** | |
617 | + * @description | |
618 | + * 关联发票id | |
619 | + */ | |
620 | + invoiceId?: string; | |
621 | + /** | |
622 | + * @description | |
623 | + * 发票号码 | |
624 | + */ | |
625 | + invoiceNumber?: string; | |
626 | + /** | |
627 | + * @description | |
628 | + * 开票人 | |
629 | + */ | |
630 | + invoicingPerson?: string; | |
631 | + /** | |
632 | + * @description | |
633 | + * 开票时间 | |
634 | + * @format date-time | |
635 | + */ | |
636 | + invoicingTime?: string; | |
637 | + /** | |
638 | + * @description | |
639 | + * 开具类型 | |
640 | + */ | |
641 | + invoicingType?: string; | |
642 | + /** | |
643 | + * @description | |
644 | + * 开具类型 | |
645 | + */ | |
646 | + invoicingTypeText?: string; | |
647 | + /** @format date */ | |
648 | + invoicingdate?: string; | |
649 | + /** | |
650 | + * @description | |
651 | + * 是否加急 | |
652 | + */ | |
653 | + isUrgent?: boolean; | |
654 | + /** | |
655 | + * @description | |
656 | + * 是否加急文本 | |
657 | + */ | |
658 | + isUrgentText?: string; | |
659 | + logicDelete?: boolean; | |
660 | + /** | |
661 | + * @description | |
662 | + * 买方注册地址 | |
663 | + */ | |
664 | + partyAAddress?: string; | |
665 | + /** | |
666 | + * @description | |
667 | + * 买方开户行账号 | |
668 | + */ | |
669 | + partyABankAccount?: string; | |
670 | + /** | |
671 | + * @description | |
672 | + * 买方名称 | |
673 | + */ | |
674 | + partyAName?: string; | |
675 | + /** | |
676 | + * @description | |
677 | + * 买方开户行 | |
678 | + */ | |
679 | + partyAOpenBank?: string; | |
680 | + /** | |
681 | + * @description | |
682 | + * 买方电话号码 | |
683 | + */ | |
684 | + partyAPhoneNumber?: string; | |
685 | + /** | |
686 | + * @description | |
687 | + * 买方税号 | |
688 | + */ | |
689 | + partyATaxid?: string; | |
690 | + /** | |
691 | + * @description | |
692 | + * 抬头类型 | |
693 | + */ | |
694 | + partyAType?: string; | |
695 | + partyB?: string; | |
696 | + /** | |
697 | + * @description | |
698 | + * 卖方注册地址 | |
699 | + */ | |
700 | + partyBAddress?: string; | |
701 | + /** | |
702 | + * @description | |
703 | + * 卖方开户行账号 | |
704 | + */ | |
705 | + partyBBankAccount?: string; | |
706 | + /** | |
707 | + * @description | |
708 | + * 卖方名称 | |
709 | + */ | |
710 | + partyBName?: string; | |
711 | + /** | |
712 | + * @description | |
713 | + * 卖方开户行 | |
714 | + */ | |
715 | + partyBOpenBank?: string; | |
716 | + /** | |
717 | + * @description | |
718 | + * 卖方电话号码 | |
719 | + */ | |
720 | + partyBPhoneNumber?: string; | |
721 | + /** | |
722 | + * @description | |
723 | + * 卖方税号 | |
724 | + */ | |
725 | + partyBTaxid?: string; | |
726 | + /** | |
727 | + * @description | |
728 | + * 发票金额 | |
729 | + * @format double | |
730 | + */ | |
731 | + price?: number; | |
732 | + /** | |
733 | + * @description | |
734 | + * 接收邮箱地址 | |
735 | + */ | |
736 | + receiveEmail?: string; | |
737 | + /** | |
738 | + * @description | |
739 | + * 订单来源 | |
740 | + */ | |
741 | + salesCodes?: Array<string>; | |
742 | + /** | |
743 | + * @description | |
744 | + * 订单来源 | |
745 | + */ | |
746 | + salesCodesText?: string; | |
747 | + /** | |
748 | + * @description | |
749 | + * 开票状态 | |
750 | + */ | |
751 | + status?: string; | |
752 | + /** | |
753 | + * @description | |
754 | + * 开票状态 | |
755 | + */ | |
756 | + statusText?: string; | |
757 | + /** | |
758 | + * @description | |
759 | + * 子订单id | |
760 | + */ | |
761 | + subOrderIds?: Array<number>; | |
762 | + /** | |
763 | + * @description | |
764 | + * 关联订单 | |
765 | + */ | |
766 | + subOrders?: Array<SubOrder>; | |
767 | + /** @format double */ | |
768 | + totalPrice?: number; | |
769 | + totalPriceText?: string; | |
770 | + /** | |
771 | + * @description | |
772 | + * 开票类型 | |
773 | + */ | |
774 | + type?: string; | |
775 | + /** | |
776 | + * @description | |
777 | + * 开票类型文本 | |
778 | + */ | |
779 | + typeText?: string; | |
780 | + /** | |
781 | + * @description | |
782 | + * 用户id | |
783 | + */ | |
784 | + uid?: string; | |
785 | + updateByName?: string; | |
786 | + /** @format date-time */ | |
787 | + updateTime?: string; | |
788 | +} | |
789 | + | |
575 | 790 | export interface AuditDto { |
576 | 791 | /** |
577 | 792 | * @description |
... | ... | @@ -969,83 +1184,461 @@ export interface InventoryMaterialStockReq { |
969 | 1184 | export interface InvoiceDto { |
970 | 1185 | /** |
971 | 1186 | * @description |
972 | - * 收款时间 | |
973 | - * @format date-time | |
1187 | + * 收款时间 | |
1188 | + * @format date-time | |
1189 | + */ | |
1190 | + collectionTime?: string; | |
1191 | + /** | |
1192 | + * @description | |
1193 | + * 联系人 | |
1194 | + */ | |
1195 | + contacts?: string; | |
1196 | + /** | |
1197 | + * @description | |
1198 | + * id | |
1199 | + * @format int64 | |
1200 | + */ | |
1201 | + id?: number; | |
1202 | + /** | |
1203 | + * @description | |
1204 | + * 发票号码 | |
1205 | + */ | |
1206 | + invoiceNumber?: string; | |
1207 | + /** | |
1208 | + * @description | |
1209 | + * 发票类型 | |
1210 | + */ | |
1211 | + invoiceStatus?: string; | |
1212 | + /** | |
1213 | + * @description | |
1214 | + * 开票日期 | |
1215 | + * @format date-time | |
1216 | + */ | |
1217 | + invoicingTime?: string; | |
1218 | + /** | |
1219 | + * @description | |
1220 | + * 关联主订单id | |
1221 | + */ | |
1222 | + mainOrderIds?: Array<number>; | |
1223 | + /** | |
1224 | + * @description | |
1225 | + * 金额 | |
1226 | + */ | |
1227 | + money?: number; | |
1228 | + /** | |
1229 | + * @description | |
1230 | + * 备注 | |
1231 | + */ | |
1232 | + notes?: string; | |
1233 | + /** | |
1234 | + * @description | |
1235 | + * 收款单位 | |
1236 | + */ | |
1237 | + payee?: string; | |
1238 | + /** | |
1239 | + * @description | |
1240 | + * 购买方 | |
1241 | + */ | |
1242 | + purchaser?: string; | |
1243 | + /** | |
1244 | + * @description | |
1245 | + * 销售 | |
1246 | + */ | |
1247 | + sale?: string; | |
1248 | + /** | |
1249 | + * @description | |
1250 | + * 状态 | |
1251 | + */ | |
1252 | + status?: string; | |
1253 | + /** | |
1254 | + * @description | |
1255 | + * 关联子订单id | |
1256 | + */ | |
1257 | + subOrderIds?: Array<number>; | |
1258 | +} | |
1259 | + | |
1260 | +export interface InvoiceRecordDto { | |
1261 | + applyInvoicingNotes?: string; | |
1262 | + /** | |
1263 | + * @description | |
1264 | + * 开票备注 | |
1265 | + */ | |
1266 | + comment?: string; | |
1267 | + /** | |
1268 | + * @description | |
1269 | + * 联系人 | |
1270 | + */ | |
1271 | + contacts?: string; | |
1272 | + /** | |
1273 | + * @description | |
1274 | + * 开票内容 | |
1275 | + */ | |
1276 | + content?: string; | |
1277 | + createByName?: string; | |
1278 | + /** @format date-time */ | |
1279 | + createTime?: string; | |
1280 | + failureReason?: string; | |
1281 | + /** | |
1282 | + * @description | |
1283 | + * id | |
1284 | + * @format int64 | |
1285 | + */ | |
1286 | + id?: number; | |
1287 | + /** | |
1288 | + * @description | |
1289 | + * 发票地址 | |
1290 | + */ | |
1291 | + invoiceAddress?: string; | |
1292 | + /** | |
1293 | + * @description | |
1294 | + * 发票明细 | |
1295 | + */ | |
1296 | + invoiceDetails?: Array<InvoiceDetail>; | |
1297 | + /** | |
1298 | + * @description | |
1299 | + * 关联发票id | |
1300 | + */ | |
1301 | + invoiceId?: string; | |
1302 | + /** | |
1303 | + * @description | |
1304 | + * 发票号码 | |
1305 | + */ | |
1306 | + invoiceNumber?: string; | |
1307 | + /** | |
1308 | + * @description | |
1309 | + * 开票人 | |
1310 | + */ | |
1311 | + invoicingPerson?: string; | |
1312 | + /** | |
1313 | + * @description | |
1314 | + * 开票时间 | |
1315 | + * @format date-time | |
1316 | + */ | |
1317 | + invoicingTime?: string; | |
1318 | + /** | |
1319 | + * @description | |
1320 | + * 开具类型 | |
1321 | + */ | |
1322 | + invoicingType?: string; | |
1323 | + /** | |
1324 | + * @description | |
1325 | + * 开具类型 | |
1326 | + */ | |
1327 | + invoicingTypeText?: string; | |
1328 | + /** @format date */ | |
1329 | + invoicingdate?: string; | |
1330 | + /** | |
1331 | + * @description | |
1332 | + * 是否加急 | |
1333 | + */ | |
1334 | + isUrgent?: boolean; | |
1335 | + /** | |
1336 | + * @description | |
1337 | + * 是否加急文本 | |
1338 | + */ | |
1339 | + isUrgentText?: string; | |
1340 | + logicDelete?: boolean; | |
1341 | + /** | |
1342 | + * @description | |
1343 | + * 买方注册地址 | |
1344 | + */ | |
1345 | + partyAAddress?: string; | |
1346 | + /** | |
1347 | + * @description | |
1348 | + * 买方开户行账号 | |
1349 | + */ | |
1350 | + partyABankAccount?: string; | |
1351 | + /** | |
1352 | + * @description | |
1353 | + * 买方名称 | |
1354 | + */ | |
1355 | + partyAName?: string; | |
1356 | + /** | |
1357 | + * @description | |
1358 | + * 买方开户行 | |
1359 | + */ | |
1360 | + partyAOpenBank?: string; | |
1361 | + /** | |
1362 | + * @description | |
1363 | + * 买方电话号码 | |
1364 | + */ | |
1365 | + partyAPhoneNumber?: string; | |
1366 | + /** | |
1367 | + * @description | |
1368 | + * 买方税号 | |
1369 | + */ | |
1370 | + partyATaxid?: string; | |
1371 | + /** | |
1372 | + * @description | |
1373 | + * 抬头类型 | |
1374 | + */ | |
1375 | + partyAType?: string; | |
1376 | + partyB?: string; | |
1377 | + /** | |
1378 | + * @description | |
1379 | + * 卖方注册地址 | |
1380 | + */ | |
1381 | + partyBAddress?: string; | |
1382 | + /** | |
1383 | + * @description | |
1384 | + * 卖方开户行账号 | |
1385 | + */ | |
1386 | + partyBBankAccount?: string; | |
1387 | + /** | |
1388 | + * @description | |
1389 | + * 卖方名称 | |
1390 | + */ | |
1391 | + partyBName?: string; | |
1392 | + /** | |
1393 | + * @description | |
1394 | + * 卖方开户行 | |
1395 | + */ | |
1396 | + partyBOpenBank?: string; | |
1397 | + /** | |
1398 | + * @description | |
1399 | + * 卖方电话号码 | |
1400 | + */ | |
1401 | + partyBPhoneNumber?: string; | |
1402 | + /** | |
1403 | + * @description | |
1404 | + * 卖方税号 | |
1405 | + */ | |
1406 | + partyBTaxid?: string; | |
1407 | + /** | |
1408 | + * @description | |
1409 | + * 发票金额 | |
1410 | + * @format double | |
1411 | + */ | |
1412 | + price?: number; | |
1413 | + /** | |
1414 | + * @description | |
1415 | + * 接收邮箱地址 | |
1416 | + */ | |
1417 | + receiveEmail?: string; | |
1418 | + /** | |
1419 | + * @description | |
1420 | + * 订单来源 | |
1421 | + */ | |
1422 | + salesCodes?: Array<string>; | |
1423 | + /** | |
1424 | + * @description | |
1425 | + * 订单来源 | |
1426 | + */ | |
1427 | + salesCodesText?: string; | |
1428 | + /** | |
1429 | + * @description | |
1430 | + * 开票状态 | |
1431 | + */ | |
1432 | + status?: string; | |
1433 | + /** | |
1434 | + * @description | |
1435 | + * 开票状态 | |
1436 | + */ | |
1437 | + statusText?: string; | |
1438 | + /** | |
1439 | + * @description | |
1440 | + * 子订单id | |
1441 | + */ | |
1442 | + subOrderIds?: Array<number>; | |
1443 | + /** | |
1444 | + * @description | |
1445 | + * 关联订单 | |
1446 | + */ | |
1447 | + subOrders?: Array<SubOrder>; | |
1448 | + /** @format double */ | |
1449 | + totalPrice?: number; | |
1450 | + totalPriceText?: string; | |
1451 | + /** | |
1452 | + * @description | |
1453 | + * 开票类型 | |
1454 | + */ | |
1455 | + type?: string; | |
1456 | + /** | |
1457 | + * @description | |
1458 | + * 开票类型文本 | |
1459 | + */ | |
1460 | + typeText?: string; | |
1461 | + /** | |
1462 | + * @description | |
1463 | + * 用户id | |
1464 | + */ | |
1465 | + uid?: string; | |
1466 | + updateByName?: string; | |
1467 | + /** @format date-time */ | |
1468 | + updateTime?: string; | |
1469 | +} | |
1470 | + | |
1471 | +export interface InvoiceRecordQueryRequest { | |
1472 | + /** | |
1473 | + * @description | |
1474 | + * 联系人 | |
1475 | + */ | |
1476 | + contactsLike?: string; | |
1477 | + /** @format date-time */ | |
1478 | + createTimeGe?: string; | |
1479 | + /** @format date-time */ | |
1480 | + createTimeLe?: string; | |
1481 | + /** @format int32 */ | |
1482 | + current?: number; | |
1483 | + /** @format int32 */ | |
1484 | + end?: number; | |
1485 | + /** | |
1486 | + * @description | |
1487 | + * id | |
1488 | + * @format int64 | |
1489 | + */ | |
1490 | + id?: number; | |
1491 | + /** | |
1492 | + * @description | |
1493 | + * IdIn | |
1494 | + */ | |
1495 | + idIn?: Array<number>; | |
1496 | + /** | |
1497 | + * @description | |
1498 | + * 关联发票id | |
1499 | + */ | |
1500 | + invoiceId?: string; | |
1501 | + /** | |
1502 | + * @description | |
1503 | + * 发票号码 | |
1504 | + */ | |
1505 | + invoiceNumber?: string; | |
1506 | + /** | |
1507 | + * @description | |
1508 | + * 发票号码 | |
1509 | + */ | |
1510 | + invoiceNumberLike?: string; | |
1511 | + /** | |
1512 | + * @description | |
1513 | + * 开票时间 | |
1514 | + * @format date-time | |
1515 | + */ | |
1516 | + invoicingTimeGe?: string; | |
1517 | + /** | |
1518 | + * @description | |
1519 | + * 开票时间 | |
1520 | + * @format date-time | |
1521 | + */ | |
1522 | + invoicingTimeLe?: string; | |
1523 | + /** | |
1524 | + * @description | |
1525 | + * 开票类型 | |
1526 | + */ | |
1527 | + invoicingType?: string; | |
1528 | + /** | |
1529 | + * @description | |
1530 | + * 是否加急 | |
1531 | + */ | |
1532 | + isUrgent?: boolean; | |
1533 | + /** | |
1534 | + * @description | |
1535 | + * 订单号 | |
1536 | + * @format int64 | |
1537 | + */ | |
1538 | + mainOrderId?: number; | |
1539 | + /** | |
1540 | + * @description | |
1541 | + * 主订单idIn | |
1542 | + */ | |
1543 | + mainOrderIdIn?: Array<number>; | |
1544 | + /** | |
1545 | + * @description | |
1546 | + * 订单号 | |
1547 | + */ | |
1548 | + mainOrderIdLike?: string; | |
1549 | + /** | |
1550 | + * @description | |
1551 | + * 是否需要构建发票明细 | |
1552 | + */ | |
1553 | + needBuildDetails?: boolean; | |
1554 | + /** | |
1555 | + * @description | |
1556 | + * 是否需要构建发票明细 | |
974 | 1557 | */ |
975 | - collectionTime?: string; | |
1558 | + needBuildSubOrders?: boolean; | |
1559 | + /** @format int32 */ | |
1560 | + pageSize?: number; | |
976 | 1561 | /** |
977 | 1562 | * @description |
978 | - * 联系人 | |
1563 | + * 买方名称 | |
979 | 1564 | */ |
980 | - contacts?: string; | |
1565 | + partyANameLike?: string; | |
981 | 1566 | /** |
982 | 1567 | * @description |
983 | - * id | |
984 | - * @format int64 | |
1568 | + * 买方电话号码 | |
985 | 1569 | */ |
986 | - id?: number; | |
1570 | + partyAPhoneNumberLike?: string; | |
987 | 1571 | /** |
988 | 1572 | * @description |
989 | - * 发票号码 | |
1573 | + * 买方税号 | |
990 | 1574 | */ |
991 | - invoiceNumber?: string; | |
1575 | + partyATaxid?: string; | |
992 | 1576 | /** |
993 | 1577 | * @description |
994 | - * 发票类型 | |
1578 | + * 买方税号 | |
995 | 1579 | */ |
996 | - invoiceStatus?: string; | |
1580 | + partyATaxidLike?: string; | |
1581 | + partyB?: string; | |
997 | 1582 | /** |
998 | 1583 | * @description |
999 | - * 开票日期 | |
1000 | - * @format date-time | |
1584 | + * 卖方名称 | |
1001 | 1585 | */ |
1002 | - invoicingTime?: string; | |
1586 | + partyBName?: string; | |
1003 | 1587 | /** |
1004 | 1588 | * @description |
1005 | - * 关联主订单id | |
1589 | + * 销售代表 | |
1006 | 1590 | */ |
1007 | - mainOrderIds?: Array<number>; | |
1591 | + salesCode?: string; | |
1008 | 1592 | /** |
1009 | 1593 | * @description |
1010 | - * 金额 | |
1594 | + * 销售代表 | |
1011 | 1595 | */ |
1012 | - money?: number; | |
1596 | + salesCodeLike?: string; | |
1597 | + /** @format int32 */ | |
1598 | + start?: number; | |
1013 | 1599 | /** |
1014 | 1600 | * @description |
1015 | - * 备注 | |
1601 | + * 发票状态 | |
1016 | 1602 | */ |
1017 | - notes?: string; | |
1603 | + status?: string; | |
1018 | 1604 | /** |
1019 | 1605 | * @description |
1020 | - * 收款单位 | |
1606 | + * 状态非空 | |
1021 | 1607 | */ |
1022 | - payee?: string; | |
1608 | + statusIn?: Array<string>; | |
1023 | 1609 | /** |
1024 | 1610 | * @description |
1025 | - * 购买方 | |
1611 | + * 状态非空 | |
1026 | 1612 | */ |
1027 | - purchaser?: string; | |
1613 | + statusIsNotNull?: boolean; | |
1028 | 1614 | /** |
1029 | 1615 | * @description |
1030 | - * 销售 | |
1616 | + * 状态为空 | |
1031 | 1617 | */ |
1032 | - sale?: string; | |
1618 | + statusIsNull?: boolean; | |
1033 | 1619 | /** |
1034 | 1620 | * @description |
1035 | - * 状态 | |
1621 | + * 子订单 | |
1622 | + * @format int64 | |
1036 | 1623 | */ |
1037 | - status?: string; | |
1038 | -} | |
1039 | - | |
1040 | -export interface InvoiceRecordQueryRequest { | |
1041 | - /** @format date */ | |
1042 | - createTimeGe?: string; | |
1043 | - /** @format date */ | |
1044 | - createTimeLe?: string; | |
1045 | - /** @format int32 */ | |
1046 | - pageNumber?: number; | |
1624 | + subOrderId?: number; | |
1625 | + /** | |
1626 | + * @description | |
1627 | + * 子订单idIn | |
1628 | + */ | |
1629 | + subOrderIdIn?: Array<number>; | |
1630 | + /** | |
1631 | + * @description | |
1632 | + * 子订单 | |
1633 | + */ | |
1634 | + subOrderIdLike?: string; | |
1047 | 1635 | /** @format int32 */ |
1048 | - pageSize?: number; | |
1636 | + total?: number; | |
1637 | + /** | |
1638 | + * @description | |
1639 | + * 开票类型 | |
1640 | + */ | |
1641 | + type?: string; | |
1049 | 1642 | /** |
1050 | 1643 | * @description |
1051 | 1644 | * 用户id |
... | ... | @@ -1068,10 +1661,14 @@ export interface ItemSaItem { |
1068 | 1661 | |
1069 | 1662 | export interface MainOrderqueryRequest { |
1070 | 1663 | afterInvoicingStatusIsNull?: boolean; |
1664 | + /** @format date */ | |
1665 | + createDateGe?: string; | |
1666 | + /** @format date */ | |
1667 | + createDateLe?: string; | |
1071 | 1668 | /** @format date-time */ |
1072 | - invoicingTimeGe?: string; | |
1669 | + createTimeGe?: string; | |
1073 | 1670 | /** @format date-time */ |
1074 | - invoicingTimeLe?: string; | |
1671 | + createTimeLe?: string; | |
1075 | 1672 | orderStatusNotIn?: Array<string>; |
1076 | 1673 | /** @format int32 */ |
1077 | 1674 | pageNumber?: number; |
... | ... | @@ -1668,172 +2265,389 @@ export interface OrderUserVo { |
1668 | 2265 | userName?: string; |
1669 | 2266 | } |
1670 | 2267 | |
1671 | -export interface OrderZoNingProvinceUserDo { | |
2268 | +export interface OrderZoNingProvinceUserDo { | |
2269 | + /** @format int32 */ | |
2270 | + id?: number; | |
2271 | + orderProvinceVoList?: Array<OrderProvinceVo>; | |
2272 | + orderUserVoList?: Array<OrderUserVo>; | |
2273 | + zoning?: string; | |
2274 | +} | |
2275 | + | |
2276 | +export interface ProcureConvertProcureDto { | |
2277 | + /** | |
2278 | + * @description | |
2279 | + * 采购转发备注 | |
2280 | + */ | |
2281 | + procureConvertNotes?: string; | |
2282 | + /** | |
2283 | + * @description | |
2284 | + * 采购人名称 | |
2285 | + */ | |
2286 | + procureName?: string; | |
2287 | + /** | |
2288 | + * @description | |
2289 | + * 子订单id集合 | |
2290 | + */ | |
2291 | + subIds?: Array<number>; | |
2292 | +} | |
2293 | + | |
2294 | +export interface ProcureOrderDto { | |
2295 | + /** | |
2296 | + * @description | |
2297 | + * 子订单id集合 | |
2298 | + */ | |
2299 | + subIds?: Array<number>; | |
2300 | +} | |
2301 | + | |
2302 | +export interface ProcurePrintDto { | |
2303 | + /** | |
2304 | + * @description | |
2305 | + * 子订单id集合 | |
2306 | + */ | |
2307 | + ids?: Array<number>; | |
2308 | +} | |
2309 | + | |
2310 | +export interface ProductInformationDto { | |
2311 | + /** | |
2312 | + * @description | |
2313 | + * 货品编码 | |
2314 | + */ | |
2315 | + productCode?: string; | |
2316 | + /** | |
2317 | + * @description | |
2318 | + * 货品名称 | |
2319 | + */ | |
2320 | + productName?: string; | |
2321 | +} | |
2322 | + | |
2323 | +export interface QueryAfterSalesInfoSnapshotDto { | |
2324 | + /** | |
2325 | + * @description | |
2326 | + * 子订单id集合 | |
2327 | + */ | |
2328 | + subOrderIds?: Array<number>; | |
2329 | +} | |
2330 | + | |
2331 | +export interface QueryAnnexDto { | |
2332 | + /** | |
2333 | + * @description | |
2334 | + * 附件集合 | |
2335 | + */ | |
2336 | + filePaths?: Array<FilePathDto>; | |
2337 | + /** | |
2338 | + * @description | |
2339 | + * 子订单id | |
2340 | + * @format int64 | |
2341 | + */ | |
2342 | + subId?: number; | |
2343 | +} | |
2344 | + | |
2345 | +export interface QueryBankStatementDto { | |
2346 | + /** | |
2347 | + * @description | |
2348 | + * amount | |
2349 | + * @format double | |
2350 | + */ | |
2351 | + amount?: number; | |
2352 | + /** | |
2353 | + * @description | |
2354 | + * collection_date | |
2355 | + * @format date | |
2356 | + */ | |
2357 | + collectionDatetimeBegin?: string; | |
2358 | + /** | |
2359 | + * @description | |
2360 | + * collection_date | |
2361 | + * @format date | |
2362 | + */ | |
2363 | + collectionDatetimeEnd?: string; | |
2364 | + /** @format int32 */ | |
2365 | + current?: number; | |
2366 | + /** @format int32 */ | |
2367 | + end?: number; | |
2368 | + /** @format int64 */ | |
2369 | + id?: number; | |
2370 | + /** @format int32 */ | |
2371 | + pageSize?: number; | |
2372 | + /** | |
2373 | + * @description | |
2374 | + * payee | |
2375 | + */ | |
2376 | + payee?: string; | |
2377 | + /** | |
2378 | + * @description | |
2379 | + * payer | |
2380 | + */ | |
2381 | + payer?: string; | |
2382 | + /** | |
2383 | + * @description | |
2384 | + * remark | |
2385 | + */ | |
2386 | + remark?: string; | |
2387 | + remarkNote?: string; | |
2388 | + serialNumber?: string; | |
2389 | + /** @format int32 */ | |
2390 | + start?: number; | |
2391 | + status?: string; | |
2392 | + /** @format int32 */ | |
2393 | + total?: number; | |
2394 | +} | |
2395 | + | |
2396 | +export interface QueryClientDto { | |
2397 | + companyAddressLike?: string; | |
2398 | + companyIds?: Array<number>; | |
2399 | + companyNameLike?: string; | |
2400 | + /** @format date-time */ | |
2401 | + createTimeGe?: string; | |
2402 | + /** @format date-time */ | |
2403 | + createTimeLe?: string; | |
2404 | + /** @format int32 */ | |
2405 | + current?: number; | |
2406 | + /** @format int32 */ | |
2407 | + end?: number; | |
2408 | + hasScheme?: string; | |
2409 | + level?: string; | |
2410 | + namelike?: string; | |
2411 | + /** @format int32 */ | |
2412 | + pageSize?: number; | |
2413 | + phoneNumber?: string; | |
2414 | + /** @format int32 */ | |
2415 | + start?: number; | |
2416 | + /** @format int32 */ | |
2417 | + total?: number; | |
2418 | + tradeStatus?: string; | |
2419 | +} | |
2420 | + | |
2421 | +export interface QueryCustomerInformationDto { | |
2422 | + /** | |
2423 | + * @description | |
2424 | + * 单位 | |
2425 | + */ | |
2426 | + institution?: string; | |
2427 | + /** | |
2428 | + * @description | |
2429 | + * 单位联系人 | |
2430 | + */ | |
2431 | + institutionContactName?: string; | |
2432 | + /** | |
2433 | + * @description | |
2434 | + * 名称 | |
2435 | + */ | |
2436 | + name?: string; | |
2437 | +} | |
2438 | + | |
2439 | +export interface QueryHistoryRecordDto { | |
2440 | + /** | |
2441 | + * @description | |
2442 | + * 子订单id集合 | |
2443 | + */ | |
2444 | + ids?: Array<number>; | |
2445 | + /** | |
2446 | + * @description | |
2447 | + * 查看已经删除的订单,false表示查看未删除的订单,true表示查看删除的订单 | |
2448 | + */ | |
2449 | + isDeleteQueryOrder?: boolean; | |
2450 | +} | |
2451 | + | |
2452 | +export interface QueryInvoiceDetailDto { | |
2453 | + /** | |
2454 | + * @description | |
2455 | + * 发票id | |
2456 | + * @format int64 | |
2457 | + */ | |
2458 | + invoiceId?: number; | |
2459 | +} | |
2460 | + | |
2461 | +export interface QueryInvoiceProjectDto { | |
1672 | 2462 | /** @format int32 */ |
1673 | - id?: number; | |
1674 | - orderProvinceVoList?: Array<OrderProvinceVo>; | |
1675 | - orderUserVoList?: Array<OrderUserVo>; | |
1676 | - zoning?: string; | |
2463 | + current?: number; | |
2464 | + /** @format int32 */ | |
2465 | + end?: number; | |
2466 | + nameLike?: string; | |
2467 | + /** @format int32 */ | |
2468 | + pageSize?: number; | |
2469 | + /** @format int32 */ | |
2470 | + start?: number; | |
2471 | + /** @format int32 */ | |
2472 | + total?: number; | |
1677 | 2473 | } |
1678 | 2474 | |
1679 | -export interface ProcureConvertProcureDto { | |
2475 | +export interface QueryInvoiceRecordDto { | |
1680 | 2476 | /** |
1681 | 2477 | * @description |
1682 | - * 采购转发备注 | |
2478 | + * 联系人 | |
1683 | 2479 | */ |
1684 | - procureConvertNotes?: string; | |
2480 | + contactsLike?: string; | |
2481 | + /** @format date-time */ | |
2482 | + createTimeGe?: string; | |
2483 | + /** @format date-time */ | |
2484 | + createTimeLe?: string; | |
2485 | + /** @format int32 */ | |
2486 | + current?: number; | |
2487 | + /** @format int32 */ | |
2488 | + end?: number; | |
1685 | 2489 | /** |
1686 | 2490 | * @description |
1687 | - * 采购人名称 | |
2491 | + * id | |
2492 | + * @format int64 | |
1688 | 2493 | */ |
1689 | - procureName?: string; | |
2494 | + id?: number; | |
1690 | 2495 | /** |
1691 | 2496 | * @description |
1692 | - * 子订单id集合 | |
2497 | + * IdIn | |
1693 | 2498 | */ |
1694 | - subIds?: Array<number>; | |
1695 | -} | |
1696 | - | |
1697 | -export interface ProcureOrderDto { | |
2499 | + idIn?: Array<number>; | |
1698 | 2500 | /** |
1699 | 2501 | * @description |
1700 | - * 子订单id集合 | |
2502 | + * 关联发票id | |
1701 | 2503 | */ |
1702 | - subIds?: Array<number>; | |
1703 | -} | |
1704 | - | |
1705 | -export interface ProcurePrintDto { | |
2504 | + invoiceId?: string; | |
1706 | 2505 | /** |
1707 | 2506 | * @description |
1708 | - * 子订单id集合 | |
2507 | + * 发票号码 | |
1709 | 2508 | */ |
1710 | - ids?: Array<number>; | |
1711 | -} | |
1712 | - | |
1713 | -export interface ProductInformationDto { | |
2509 | + invoiceNumber?: string; | |
1714 | 2510 | /** |
1715 | 2511 | * @description |
1716 | - * 货品编码 | |
2512 | + * 发票号码 | |
1717 | 2513 | */ |
1718 | - productCode?: string; | |
2514 | + invoiceNumberLike?: string; | |
1719 | 2515 | /** |
1720 | 2516 | * @description |
1721 | - * 货品名称 | |
2517 | + * 开票时间 | |
2518 | + * @format date-time | |
1722 | 2519 | */ |
1723 | - productName?: string; | |
1724 | -} | |
1725 | - | |
1726 | -export interface QueryAfterSalesInfoSnapshotDto { | |
2520 | + invoicingTimeGe?: string; | |
1727 | 2521 | /** |
1728 | 2522 | * @description |
1729 | - * 子订单id集合 | |
2523 | + * 开票时间 | |
2524 | + * @format date-time | |
1730 | 2525 | */ |
1731 | - subOrderIds?: Array<number>; | |
1732 | -} | |
1733 | - | |
1734 | -export interface QueryAnnexDto { | |
2526 | + invoicingTimeLe?: string; | |
1735 | 2527 | /** |
1736 | 2528 | * @description |
1737 | - * 附件集合 | |
2529 | + * 开票类型 | |
1738 | 2530 | */ |
1739 | - filePaths?: Array<FilePathDto>; | |
2531 | + invoicingType?: string; | |
1740 | 2532 | /** |
1741 | 2533 | * @description |
1742 | - * 子订单id | |
2534 | + * 是否加急 | |
2535 | + */ | |
2536 | + isUrgent?: boolean; | |
2537 | + /** | |
2538 | + * @description | |
2539 | + * 订单号 | |
1743 | 2540 | * @format int64 |
1744 | 2541 | */ |
1745 | - subId?: number; | |
1746 | -} | |
1747 | - | |
1748 | -export interface QueryBankStatementDto { | |
2542 | + mainOrderId?: number; | |
1749 | 2543 | /** |
1750 | 2544 | * @description |
1751 | - * amount | |
1752 | - * @format double | |
2545 | + * 主订单idIn | |
1753 | 2546 | */ |
1754 | - amount?: number; | |
2547 | + mainOrderIdIn?: Array<number>; | |
1755 | 2548 | /** |
1756 | 2549 | * @description |
1757 | - * collection_date | |
1758 | - * @format date | |
2550 | + * 订单号 | |
1759 | 2551 | */ |
1760 | - collectionDatetimeBegin?: string; | |
2552 | + mainOrderIdLike?: string; | |
1761 | 2553 | /** |
1762 | 2554 | * @description |
1763 | - * collection_date | |
1764 | - * @format date | |
2555 | + * 是否需要构建发票明细 | |
1765 | 2556 | */ |
1766 | - collectionDatetimeEnd?: string; | |
1767 | - /** @format int32 */ | |
1768 | - current?: number; | |
1769 | - /** @format int32 */ | |
1770 | - end?: number; | |
1771 | - /** @format int64 */ | |
1772 | - id?: number; | |
2557 | + needBuildDetails?: boolean; | |
2558 | + /** | |
2559 | + * @description | |
2560 | + * 是否需要构建发票明细 | |
2561 | + */ | |
2562 | + needBuildSubOrders?: boolean; | |
1773 | 2563 | /** @format int32 */ |
1774 | 2564 | pageSize?: number; |
1775 | 2565 | /** |
1776 | 2566 | * @description |
1777 | - * payee | |
2567 | + * 买方名称 | |
1778 | 2568 | */ |
1779 | - payee?: string; | |
2569 | + partyANameLike?: string; | |
1780 | 2570 | /** |
1781 | 2571 | * @description |
1782 | - * payer | |
2572 | + * 买方电话号码 | |
1783 | 2573 | */ |
1784 | - payer?: string; | |
2574 | + partyAPhoneNumberLike?: string; | |
1785 | 2575 | /** |
1786 | 2576 | * @description |
1787 | - * remark | |
2577 | + * 买方税号 | |
1788 | 2578 | */ |
1789 | - remark?: string; | |
1790 | - remarkNote?: string; | |
1791 | - serialNumber?: string; | |
2579 | + partyATaxid?: string; | |
2580 | + /** | |
2581 | + * @description | |
2582 | + * 买方税号 | |
2583 | + */ | |
2584 | + partyATaxidLike?: string; | |
2585 | + partyB?: string; | |
2586 | + /** | |
2587 | + * @description | |
2588 | + * 卖方名称 | |
2589 | + */ | |
2590 | + partyBName?: string; | |
2591 | + /** | |
2592 | + * @description | |
2593 | + * 销售代表 | |
2594 | + */ | |
2595 | + salesCode?: string; | |
2596 | + /** | |
2597 | + * @description | |
2598 | + * 销售代表 | |
2599 | + */ | |
2600 | + salesCodeLike?: string; | |
1792 | 2601 | /** @format int32 */ |
1793 | 2602 | start?: number; |
2603 | + /** | |
2604 | + * @description | |
2605 | + * 发票状态 | |
2606 | + */ | |
1794 | 2607 | status?: string; |
1795 | - /** @format int32 */ | |
1796 | - total?: number; | |
1797 | -} | |
1798 | - | |
1799 | -export interface QueryCustomerInformationDto { | |
1800 | 2608 | /** |
1801 | 2609 | * @description |
1802 | - * 单位 | |
2610 | + * 状态非空 | |
1803 | 2611 | */ |
1804 | - institution?: string; | |
2612 | + statusIn?: Array<string>; | |
1805 | 2613 | /** |
1806 | 2614 | * @description |
1807 | - * 单位联系人 | |
2615 | + * 状态非空 | |
1808 | 2616 | */ |
1809 | - institutionContactName?: string; | |
2617 | + statusIsNotNull?: boolean; | |
1810 | 2618 | /** |
1811 | 2619 | * @description |
1812 | - * 名称 | |
2620 | + * 状态为空 | |
1813 | 2621 | */ |
1814 | - name?: string; | |
1815 | -} | |
1816 | - | |
1817 | -export interface QueryHistoryRecordDto { | |
2622 | + statusIsNull?: boolean; | |
1818 | 2623 | /** |
1819 | 2624 | * @description |
1820 | - * 子订单id集合 | |
2625 | + * 子订单 | |
2626 | + * @format int64 | |
1821 | 2627 | */ |
1822 | - ids?: Array<number>; | |
2628 | + subOrderId?: number; | |
1823 | 2629 | /** |
1824 | 2630 | * @description |
1825 | - * 查看已经删除的订单,false表示查看未删除的订单,true表示查看删除的订单 | |
2631 | + * 子订单idIn | |
1826 | 2632 | */ |
1827 | - isDeleteQueryOrder?: boolean; | |
1828 | -} | |
1829 | - | |
1830 | -export interface QueryInvoiceDetailDto { | |
2633 | + subOrderIdIn?: Array<number>; | |
1831 | 2634 | /** |
1832 | 2635 | * @description |
1833 | - * 发票id | |
1834 | - * @format int64 | |
2636 | + * 子订单 | |
1835 | 2637 | */ |
1836 | - invoiceId?: number; | |
2638 | + subOrderIdLike?: string; | |
2639 | + /** @format int32 */ | |
2640 | + total?: number; | |
2641 | + /** | |
2642 | + * @description | |
2643 | + * 开票类型 | |
2644 | + */ | |
2645 | + type?: string; | |
2646 | + /** | |
2647 | + * @description | |
2648 | + * 用户id | |
2649 | + */ | |
2650 | + uid?: string; | |
1837 | 2651 | } |
1838 | 2652 | |
1839 | 2653 | export interface QueryMainOrderDto { |
... | ... | @@ -2239,6 +3053,129 @@ export interface ShippingWarehouseChangeDto { |
2239 | 3053 | shippingWarehouse?: string; |
2240 | 3054 | } |
2241 | 3055 | |
3056 | +export interface SubOrder { | |
3057 | + afterInvoicingStatus?: string; | |
3058 | + /** @format date-time */ | |
3059 | + afterInvoicingStatusUpdateTime?: string; | |
3060 | + afterSalesAnnex?: string; | |
3061 | + afterSalesNotes?: string; | |
3062 | + afterSalesPlan?: string; | |
3063 | + annex?: string; | |
3064 | + applyInvoicingAnnex?: string; | |
3065 | + applyInvoicingNotes?: string; | |
3066 | + /** @format date-time */ | |
3067 | + applyTime?: string; | |
3068 | + /** @format int32 */ | |
3069 | + attrId?: number; | |
3070 | + checkNotes?: string; | |
3071 | + /** @format date-time */ | |
3072 | + collectMoneyTime?: string; | |
3073 | + confirmDeliverNotes?: string; | |
3074 | + confirmReissueNotes?: string; | |
3075 | + createByName?: string; | |
3076 | + /** @format date-time */ | |
3077 | + createTime?: string; | |
3078 | + /** @format date-time */ | |
3079 | + deadline?: string; | |
3080 | + ext?: string; | |
3081 | + extendField?: string; | |
3082 | + /** @format date-time */ | |
3083 | + financialReceiptIssuanceTime?: string; | |
3084 | + fullPaymentStatus?: string; | |
3085 | + /** @format double */ | |
3086 | + goodsVolume?: number; | |
3087 | + /** @format double */ | |
3088 | + goodsWeight?: number; | |
3089 | + /** @format int64 */ | |
3090 | + id?: number; | |
3091 | + image?: string; | |
3092 | + invoiceApplyUsername?: string; | |
3093 | + invoiceInformation?: string; | |
3094 | + /** @format int64 */ | |
3095 | + invoiceRecordId?: number; | |
3096 | + invoicingCheckAnnex?: string; | |
3097 | + invoicingNotes?: string; | |
3098 | + invoicingStatus?: string; | |
3099 | + /** @format date-time */ | |
3100 | + invoicingTime?: string; | |
3101 | + invoicingUrgentCause?: string; | |
3102 | + isUrgent?: boolean; | |
3103 | + kingdeeErrorMessage?: string; | |
3104 | + logicDelete?: boolean; | |
3105 | + logisticsMethod?: string; | |
3106 | + logisticsNotes?: string; | |
3107 | + /** @format int64 */ | |
3108 | + mainOrderAmountProportion?: number; | |
3109 | + /** @format int64 */ | |
3110 | + mainOrderId?: number; | |
3111 | + materialId?: string; | |
3112 | + modified?: boolean; | |
3113 | + modifiedAuditNotes?: string; | |
3114 | + modifiedAuditStatus?: string; | |
3115 | + modifiedOptFlag?: string; | |
3116 | + nextOrderStatus?: string; | |
3117 | + notes?: string; | |
3118 | + orderStatus?: string; | |
3119 | + orderStatusBeforeModify?: string; | |
3120 | + /** @format date-time */ | |
3121 | + orderStatusUpdateTime?: string; | |
3122 | + /** @format int32 */ | |
3123 | + packageNumber?: number; | |
3124 | + parameters?: string; | |
3125 | + paymentChannel?: string; | |
3126 | + paymentMethod?: string; | |
3127 | + paymentReceiptAnnex?: string; | |
3128 | + paymentReceiptNotes?: string; | |
3129 | + paymentReceiptStatus?: string; | |
3130 | + paymentStatus?: string; | |
3131 | + paymentTransactionId?: string; | |
3132 | + postAuditNotes?: string; | |
3133 | + postAuditStatus?: string; | |
3134 | + /** @format date-time */ | |
3135 | + postAuditStatusUpdateTime?: string; | |
3136 | + preAfterInvoicingStatus?: string; | |
3137 | + procureConvertNotes?: string; | |
3138 | + procureNotes?: string; | |
3139 | + /** @format date-time */ | |
3140 | + procureOrderDatetime?: string; | |
3141 | + procureOrderStatus?: string; | |
3142 | + productBelongBusiness?: string; | |
3143 | + productCode?: string; | |
3144 | + /** @format int32 */ | |
3145 | + productId?: number; | |
3146 | + productName?: string; | |
3147 | + /** @format int64 */ | |
3148 | + productPrice?: number; | |
3149 | + /** @format date-time */ | |
3150 | + productionEndTime?: string; | |
3151 | + /** @format date-time */ | |
3152 | + productionStartTime?: string; | |
3153 | + productionTimePushStatus?: string; | |
3154 | + purchaser?: string; | |
3155 | + /** @format int32 */ | |
3156 | + quantity?: number; | |
3157 | + receivingCompany?: string; | |
3158 | + reissueNotes?: string; | |
3159 | + serialNumber?: string; | |
3160 | + shippingWarehouse?: string; | |
3161 | + /** @format int64 */ | |
3162 | + subOrderPayment?: number; | |
3163 | + supplierName?: string; | |
3164 | + supplierNotes?: string; | |
3165 | + /** @format int64 */ | |
3166 | + totalPayment?: number; | |
3167 | + /** @format int32 */ | |
3168 | + uid?: number; | |
3169 | + unit?: string; | |
3170 | + unitId?: string; | |
3171 | + updateByName?: string; | |
3172 | + /** @format date-time */ | |
3173 | + updateTime?: string; | |
3174 | + urgentInvoiceAuditNotes?: string; | |
3175 | + /** @format int32 */ | |
3176 | + version?: number; | |
3177 | +} | |
3178 | + | |
2242 | 3179 | export interface SysLogQueryVO { |
2243 | 3180 | address?: string; |
2244 | 3181 | browser?: string; |
... | ... | @@ -2591,6 +3528,44 @@ export interface TsgFile { |
2591 | 3528 | writable?: boolean; |
2592 | 3529 | } |
2593 | 3530 | |
3531 | +export interface InvoiceDetail { | |
3532 | + /** @format int64 */ | |
3533 | + id?: number; | |
3534 | + /** | |
3535 | + * @description | |
3536 | + * 发票id | |
3537 | + * @format int64 | |
3538 | + */ | |
3539 | + invoiceRecordId?: number; | |
3540 | + /** | |
3541 | + * @description | |
3542 | + * 单价 | |
3543 | + * @format double | |
3544 | + */ | |
3545 | + price?: number; | |
3546 | + projectName?: string; | |
3547 | + /** @format double */ | |
3548 | + quantity?: number; | |
3549 | + /** | |
3550 | + * @description | |
3551 | + * 型号 | |
3552 | + */ | |
3553 | + specification?: string; | |
3554 | + /** @format int64 */ | |
3555 | + subOrderId?: number; | |
3556 | + /** @format double */ | |
3557 | + taxPrice?: number; | |
3558 | + /** @format double */ | |
3559 | + taxRate?: number; | |
3560 | + /** | |
3561 | + * @description | |
3562 | + * 总价 | |
3563 | + * @format double | |
3564 | + */ | |
3565 | + totalPrice?: number; | |
3566 | + unit?: string; | |
3567 | +} | |
3568 | + | |
2594 | 3569 | export interface SalesRechargePrepaymentAuditRequest { |
2595 | 3570 | /** |
2596 | 3571 | * @description | ... | ... |
src/services/request.ts
... | ... | @@ -29,6 +29,7 @@ import type { |
29 | 29 | ApiOrderEvaluatedRequest, |
30 | 30 | ApiQueryOrderDetailRequest, |
31 | 31 | ApiQueryOrderStatusCountsRequest, |
32 | + ApplyInvoiceDto, | |
32 | 33 | AuditDto, |
33 | 34 | AuditVO, |
34 | 35 | CancelInvoiceAndBankStatementDto, |
... | ... | @@ -47,6 +48,7 @@ import type { |
47 | 48 | Dto, |
48 | 49 | InventoryMaterialStockReq, |
49 | 50 | InvoiceDto, |
51 | + InvoiceRecordDto, | |
50 | 52 | InvoiceRecordQueryRequest, |
51 | 53 | MainOrderqueryRequest, |
52 | 54 | MaterialListReply, |
... | ... | @@ -55,7 +57,6 @@ import type { |
55 | 57 | MaterialUnitListRes, |
56 | 58 | MeasureUnitListRes, |
57 | 59 | MessageQueryDTO, |
58 | - ModelAndView, | |
59 | 60 | OrderAddVO, |
60 | 61 | OrderAuditLogQueryVO, |
61 | 62 | OrderBaseInfoQueryVO, |
... | ... | @@ -78,9 +79,12 @@ import type { |
78 | 79 | QueryAfterSalesInfoSnapshotDto, |
79 | 80 | QueryAnnexDto, |
80 | 81 | QueryBankStatementDto, |
82 | + QueryClientDto, | |
81 | 83 | QueryCustomerInformationDto, |
82 | 84 | QueryHistoryRecordDto, |
83 | 85 | QueryInvoiceDetailDto, |
86 | + QueryInvoiceProjectDto, | |
87 | + QueryInvoiceRecordDto, | |
84 | 88 | QueryMainOrderDto, |
85 | 89 | QueryReportFormsDto, |
86 | 90 | ReissueInvoiceDto, |
... | ... | @@ -122,6 +126,77 @@ import type { |
122 | 126 | UserNowMoneyCheckRequest, |
123 | 127 | } from './definition'; |
124 | 128 | |
129 | +/** @description request parameter type for postAdminClientQueryClientPage */ | |
130 | +export interface PostAdminClientQueryClientPageOption { | |
131 | + /** | |
132 | + * @description | |
133 | + * dto | |
134 | + */ | |
135 | + body: { | |
136 | + /** | |
137 | + @description | |
138 | + dto */ | |
139 | + dto: QueryClientDto; | |
140 | + }; | |
141 | +} | |
142 | + | |
143 | +/** @description response type for postAdminClientQueryClientPage */ | |
144 | +export interface PostAdminClientQueryClientPageResponse { | |
145 | + /** | |
146 | + * @description | |
147 | + * OK | |
148 | + */ | |
149 | + 200: ServerResult; | |
150 | + /** | |
151 | + * @description | |
152 | + * Created | |
153 | + */ | |
154 | + 201: any; | |
155 | + /** | |
156 | + * @description | |
157 | + * Unauthorized | |
158 | + */ | |
159 | + 401: any; | |
160 | + /** | |
161 | + * @description | |
162 | + * Forbidden | |
163 | + */ | |
164 | + 403: any; | |
165 | + /** | |
166 | + * @description | |
167 | + * Not Found | |
168 | + */ | |
169 | + 404: any; | |
170 | +} | |
171 | + | |
172 | +export type PostAdminClientQueryClientPageResponseSuccess = | |
173 | + PostAdminClientQueryClientPageResponse[200]; | |
174 | +/** | |
175 | + * @description | |
176 | + * 客户管理 | |
177 | + * @tags 客户管理 | |
178 | + * @produces * | |
179 | + * @consumes application/json | |
180 | + */ | |
181 | +export const postAdminClientQueryClientPage = /* #__PURE__ */ (() => { | |
182 | + const method = 'post'; | |
183 | + const url = '/admin/client/queryClientPage'; | |
184 | + function request( | |
185 | + option: PostAdminClientQueryClientPageOption, | |
186 | + ): Promise<PostAdminClientQueryClientPageResponseSuccess> { | |
187 | + return requester(request.url, { | |
188 | + method: request.method, | |
189 | + ...option, | |
190 | + }) as unknown as Promise<PostAdminClientQueryClientPageResponseSuccess>; | |
191 | + } | |
192 | + | |
193 | + /** http method */ | |
194 | + request.method = method; | |
195 | + /** request url */ | |
196 | + request.url = url; | |
197 | + return request; | |
198 | +})(); | |
199 | + | |
125 | 200 | /** @description request parameter type for postApiLocalStorageUpload */ |
126 | 201 | export interface PostApiLocalStorageUploadOption { |
127 | 202 | /** |
... | ... | @@ -2104,7 +2179,9 @@ export interface GetErrorResponse { |
2104 | 2179 | * @description |
2105 | 2180 | * OK |
2106 | 2181 | */ |
2107 | - 200: ModelAndView; | |
2182 | + 200: { | |
2183 | + [propertyName: string]: any; | |
2184 | + }; | |
2108 | 2185 | /** |
2109 | 2186 | * @description |
2110 | 2187 | * Unauthorized |
... | ... | @@ -2125,9 +2202,9 @@ export interface GetErrorResponse { |
2125 | 2202 | export type GetErrorResponseSuccess = GetErrorResponse[200]; |
2126 | 2203 | /** |
2127 | 2204 | * @description |
2128 | - * errorHtml | |
2205 | + * error | |
2129 | 2206 | * @tags basic-error-controller |
2130 | - * @produces text/html | |
2207 | + * @produces * | |
2131 | 2208 | */ |
2132 | 2209 | export const getError = /* #__PURE__ */ (() => { |
2133 | 2210 | const method = 'get'; |
... | ... | @@ -2151,7 +2228,9 @@ export interface PutErrorResponse { |
2151 | 2228 | * @description |
2152 | 2229 | * OK |
2153 | 2230 | */ |
2154 | - 200: ModelAndView; | |
2231 | + 200: { | |
2232 | + [propertyName: string]: any; | |
2233 | + }; | |
2155 | 2234 | /** |
2156 | 2235 | * @description |
2157 | 2236 | * Created |
... | ... | @@ -2177,9 +2256,9 @@ export interface PutErrorResponse { |
2177 | 2256 | export type PutErrorResponseSuccess = PutErrorResponse[200]; |
2178 | 2257 | /** |
2179 | 2258 | * @description |
2180 | - * errorHtml | |
2259 | + * error | |
2181 | 2260 | * @tags basic-error-controller |
2182 | - * @produces text/html | |
2261 | + * @produces * | |
2183 | 2262 | * @consumes application/json |
2184 | 2263 | */ |
2185 | 2264 | export const putError = /* #__PURE__ */ (() => { |
... | ... | @@ -2204,7 +2283,9 @@ export interface PostErrorResponse { |
2204 | 2283 | * @description |
2205 | 2284 | * OK |
2206 | 2285 | */ |
2207 | - 200: ModelAndView; | |
2286 | + 200: { | |
2287 | + [propertyName: string]: any; | |
2288 | + }; | |
2208 | 2289 | /** |
2209 | 2290 | * @description |
2210 | 2291 | * Created |
... | ... | @@ -2230,9 +2311,9 @@ export interface PostErrorResponse { |
2230 | 2311 | export type PostErrorResponseSuccess = PostErrorResponse[200]; |
2231 | 2312 | /** |
2232 | 2313 | * @description |
2233 | - * errorHtml | |
2314 | + * error | |
2234 | 2315 | * @tags basic-error-controller |
2235 | - * @produces text/html | |
2316 | + * @produces * | |
2236 | 2317 | * @consumes application/json |
2237 | 2318 | */ |
2238 | 2319 | export const postError = /* #__PURE__ */ (() => { |
... | ... | @@ -2257,7 +2338,9 @@ export interface DeleteErrorResponse { |
2257 | 2338 | * @description |
2258 | 2339 | * OK |
2259 | 2340 | */ |
2260 | - 200: ModelAndView; | |
2341 | + 200: { | |
2342 | + [propertyName: string]: any; | |
2343 | + }; | |
2261 | 2344 | /** |
2262 | 2345 | * @description |
2263 | 2346 | * No Content |
... | ... | @@ -2278,9 +2361,9 @@ export interface DeleteErrorResponse { |
2278 | 2361 | export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; |
2279 | 2362 | /** |
2280 | 2363 | * @description |
2281 | - * errorHtml | |
2364 | + * error | |
2282 | 2365 | * @tags basic-error-controller |
2283 | - * @produces text/html | |
2366 | + * @produces * | |
2284 | 2367 | */ |
2285 | 2368 | export const deleteError = /* #__PURE__ */ (() => { |
2286 | 2369 | const method = 'delete'; |
... | ... | @@ -2304,7 +2387,9 @@ export interface OptionsErrorResponse { |
2304 | 2387 | * @description |
2305 | 2388 | * OK |
2306 | 2389 | */ |
2307 | - 200: ModelAndView; | |
2390 | + 200: { | |
2391 | + [propertyName: string]: any; | |
2392 | + }; | |
2308 | 2393 | /** |
2309 | 2394 | * @description |
2310 | 2395 | * No Content |
... | ... | @@ -2325,9 +2410,9 @@ export interface OptionsErrorResponse { |
2325 | 2410 | export type OptionsErrorResponseSuccess = OptionsErrorResponse[200]; |
2326 | 2411 | /** |
2327 | 2412 | * @description |
2328 | - * errorHtml | |
2413 | + * error | |
2329 | 2414 | * @tags basic-error-controller |
2330 | - * @produces text/html | |
2415 | + * @produces * | |
2331 | 2416 | * @consumes application/json |
2332 | 2417 | */ |
2333 | 2418 | export const optionsError = /* #__PURE__ */ (() => { |
... | ... | @@ -2352,7 +2437,9 @@ export interface HeadErrorResponse { |
2352 | 2437 | * @description |
2353 | 2438 | * OK |
2354 | 2439 | */ |
2355 | - 200: ModelAndView; | |
2440 | + 200: { | |
2441 | + [propertyName: string]: any; | |
2442 | + }; | |
2356 | 2443 | /** |
2357 | 2444 | * @description |
2358 | 2445 | * No Content |
... | ... | @@ -2373,9 +2460,9 @@ export interface HeadErrorResponse { |
2373 | 2460 | export type HeadErrorResponseSuccess = HeadErrorResponse[200]; |
2374 | 2461 | /** |
2375 | 2462 | * @description |
2376 | - * errorHtml | |
2463 | + * error | |
2377 | 2464 | * @tags basic-error-controller |
2378 | - * @produces text/html | |
2465 | + * @produces * | |
2379 | 2466 | * @consumes application/json |
2380 | 2467 | */ |
2381 | 2468 | export const headError = /* #__PURE__ */ (() => { |
... | ... | @@ -2400,7 +2487,9 @@ export interface PatchErrorResponse { |
2400 | 2487 | * @description |
2401 | 2488 | * OK |
2402 | 2489 | */ |
2403 | - 200: ModelAndView; | |
2490 | + 200: { | |
2491 | + [propertyName: string]: any; | |
2492 | + }; | |
2404 | 2493 | /** |
2405 | 2494 | * @description |
2406 | 2495 | * No Content |
... | ... | @@ -2421,9 +2510,9 @@ export interface PatchErrorResponse { |
2421 | 2510 | export type PatchErrorResponseSuccess = PatchErrorResponse[200]; |
2422 | 2511 | /** |
2423 | 2512 | * @description |
2424 | - * errorHtml | |
2513 | + * error | |
2425 | 2514 | * @tags basic-error-controller |
2426 | - * @produces text/html | |
2515 | + * @produces * | |
2427 | 2516 | * @consumes application/json |
2428 | 2517 | */ |
2429 | 2518 | export const patchError = /* #__PURE__ */ (() => { |
... | ... | @@ -8766,6 +8855,77 @@ export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => { |
8766 | 8855 | return request; |
8767 | 8856 | })(); |
8768 | 8857 | |
8858 | +/** @description request parameter type for postOrderImportImportInvoiceProject */ | |
8859 | +export interface PostOrderImportImportInvoiceProjectOption { | |
8860 | + /** | |
8861 | + * @description | |
8862 | + * file | |
8863 | + */ | |
8864 | + formData: { | |
8865 | + /** | |
8866 | + @description | |
8867 | + file */ | |
8868 | + file: File; | |
8869 | + }; | |
8870 | +} | |
8871 | + | |
8872 | +/** @description response type for postOrderImportImportInvoiceProject */ | |
8873 | +export interface PostOrderImportImportInvoiceProjectResponse { | |
8874 | + /** | |
8875 | + * @description | |
8876 | + * OK | |
8877 | + */ | |
8878 | + 200: ServerResult; | |
8879 | + /** | |
8880 | + * @description | |
8881 | + * Created | |
8882 | + */ | |
8883 | + 201: any; | |
8884 | + /** | |
8885 | + * @description | |
8886 | + * Unauthorized | |
8887 | + */ | |
8888 | + 401: any; | |
8889 | + /** | |
8890 | + * @description | |
8891 | + * Forbidden | |
8892 | + */ | |
8893 | + 403: any; | |
8894 | + /** | |
8895 | + * @description | |
8896 | + * Not Found | |
8897 | + */ | |
8898 | + 404: any; | |
8899 | +} | |
8900 | + | |
8901 | +export type PostOrderImportImportInvoiceProjectResponseSuccess = | |
8902 | + PostOrderImportImportInvoiceProjectResponse[200]; | |
8903 | +/** | |
8904 | + * @description | |
8905 | + * 导入发票项目 | |
8906 | + * @tags 导入 | |
8907 | + * @produces * | |
8908 | + * @consumes multipart/form-data | |
8909 | + */ | |
8910 | +export const postOrderImportImportInvoiceProject = /* #__PURE__ */ (() => { | |
8911 | + const method = 'post'; | |
8912 | + const url = '/order/import/importInvoiceProject'; | |
8913 | + function request( | |
8914 | + option: PostOrderImportImportInvoiceProjectOption, | |
8915 | + ): Promise<PostOrderImportImportInvoiceProjectResponseSuccess> { | |
8916 | + return requester(request.url, { | |
8917 | + method: request.method, | |
8918 | + ...option, | |
8919 | + }) as unknown as Promise<PostOrderImportImportInvoiceProjectResponseSuccess>; | |
8920 | + } | |
8921 | + | |
8922 | + /** http method */ | |
8923 | + request.method = method; | |
8924 | + /** request url */ | |
8925 | + request.url = url; | |
8926 | + return request; | |
8927 | +})(); | |
8928 | + | |
8769 | 8929 | /** @description request parameter type for postOrderImportImportWeightAndVolume */ |
8770 | 8930 | export interface PostOrderImportImportWeightAndVolumeOption { |
8771 | 8931 | /** |
... | ... | @@ -10435,22 +10595,63 @@ export const postServiceBankStatementQueryBankStatement = |
10435 | 10595 | return request; |
10436 | 10596 | })(); |
10437 | 10597 | |
10438 | -/** @description request parameter type for postServiceInvoiceAddInvoice */ | |
10439 | -export interface PostServiceInvoiceAddInvoiceOption { | |
10598 | +/** @description response type for postServiceConstAfterInvoicingInvoiceRecordStatus */ | |
10599 | +export interface PostServiceConstAfterInvoicingInvoiceRecordStatusResponse { | |
10440 | 10600 | /** |
10441 | 10601 | * @description |
10442 | - * dto | |
10602 | + * OK | |
10443 | 10603 | */ |
10444 | - body: { | |
10445 | - /** | |
10446 | - @description | |
10447 | - dto */ | |
10448 | - dto: InvoiceDto; | |
10449 | - }; | |
10604 | + 200: ServerResult; | |
10605 | + /** | |
10606 | + * @description | |
10607 | + * Created | |
10608 | + */ | |
10609 | + 201: any; | |
10610 | + /** | |
10611 | + * @description | |
10612 | + * Unauthorized | |
10613 | + */ | |
10614 | + 401: any; | |
10615 | + /** | |
10616 | + * @description | |
10617 | + * Forbidden | |
10618 | + */ | |
10619 | + 403: any; | |
10620 | + /** | |
10621 | + * @description | |
10622 | + * Not Found | |
10623 | + */ | |
10624 | + 404: any; | |
10450 | 10625 | } |
10451 | 10626 | |
10452 | -/** @description response type for postServiceInvoiceAddInvoice */ | |
10453 | -export interface PostServiceInvoiceAddInvoiceResponse { | |
10627 | +export type PostServiceConstAfterInvoicingInvoiceRecordStatusResponseSuccess = | |
10628 | + PostServiceConstAfterInvoicingInvoiceRecordStatusResponse[200]; | |
10629 | +/** | |
10630 | + * @description | |
10631 | + * 开票后的开票记录状态 | |
10632 | + * @tags front-const-controller | |
10633 | + * @produces * | |
10634 | + * @consumes application/json | |
10635 | + */ | |
10636 | +export const postServiceConstAfterInvoicingInvoiceRecordStatus = | |
10637 | + /* #__PURE__ */ (() => { | |
10638 | + const method = 'post'; | |
10639 | + const url = '/service/const/afterInvoicingInvoiceRecordStatus'; | |
10640 | + function request(): Promise<PostServiceConstAfterInvoicingInvoiceRecordStatusResponseSuccess> { | |
10641 | + return requester(request.url, { | |
10642 | + method: request.method, | |
10643 | + }) as unknown as Promise<PostServiceConstAfterInvoicingInvoiceRecordStatusResponseSuccess>; | |
10644 | + } | |
10645 | + | |
10646 | + /** http method */ | |
10647 | + request.method = method; | |
10648 | + /** request url */ | |
10649 | + request.url = url; | |
10650 | + return request; | |
10651 | + })(); | |
10652 | + | |
10653 | +/** @description response type for postServiceConstAfterInvoicingStatus */ | |
10654 | +export interface PostServiceConstAfterInvoicingStatusResponse { | |
10454 | 10655 | /** |
10455 | 10656 | * @description |
10456 | 10657 | * OK |
... | ... | @@ -10478,25 +10679,22 @@ export interface PostServiceInvoiceAddInvoiceResponse { |
10478 | 10679 | 404: any; |
10479 | 10680 | } |
10480 | 10681 | |
10481 | -export type PostServiceInvoiceAddInvoiceResponseSuccess = | |
10482 | - PostServiceInvoiceAddInvoiceResponse[200]; | |
10682 | +export type PostServiceConstAfterInvoicingStatusResponseSuccess = | |
10683 | + PostServiceConstAfterInvoicingStatusResponse[200]; | |
10483 | 10684 | /** |
10484 | 10685 | * @description |
10485 | - * 添加发票 | |
10486 | - * @tags 发票 | |
10686 | + * 申请开票后状态 | |
10687 | + * @tags front-const-controller | |
10487 | 10688 | * @produces * |
10488 | 10689 | * @consumes application/json |
10489 | 10690 | */ |
10490 | -export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { | |
10691 | +export const postServiceConstAfterInvoicingStatus = /* #__PURE__ */ (() => { | |
10491 | 10692 | const method = 'post'; |
10492 | - const url = '/service/invoice/addInvoice'; | |
10493 | - function request( | |
10494 | - option: PostServiceInvoiceAddInvoiceOption, | |
10495 | - ): Promise<PostServiceInvoiceAddInvoiceResponseSuccess> { | |
10693 | + const url = '/service/const/afterInvoicingStatus'; | |
10694 | + function request(): Promise<PostServiceConstAfterInvoicingStatusResponseSuccess> { | |
10496 | 10695 | return requester(request.url, { |
10497 | 10696 | method: request.method, |
10498 | - ...option, | |
10499 | - }) as unknown as Promise<PostServiceInvoiceAddInvoiceResponseSuccess>; | |
10697 | + }) as unknown as Promise<PostServiceConstAfterInvoicingStatusResponseSuccess>; | |
10500 | 10698 | } |
10501 | 10699 | |
10502 | 10700 | /** http method */ |
... | ... | @@ -10506,22 +10704,8 @@ export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { |
10506 | 10704 | return request; |
10507 | 10705 | })(); |
10508 | 10706 | |
10509 | -/** @description request parameter type for postServiceInvoiceCancelInvoiceAndBankStatement */ | |
10510 | -export interface PostServiceInvoiceCancelInvoiceAndBankStatementOption { | |
10511 | - /** | |
10512 | - * @description | |
10513 | - * dto | |
10514 | - */ | |
10515 | - body: { | |
10516 | - /** | |
10517 | - @description | |
10518 | - dto */ | |
10519 | - dto: CancelInvoiceAndBankStatementDto; | |
10520 | - }; | |
10521 | -} | |
10522 | - | |
10523 | -/** @description response type for postServiceInvoiceCancelInvoiceAndBankStatement */ | |
10524 | -export interface PostServiceInvoiceCancelInvoiceAndBankStatementResponse { | |
10707 | +/** @description response type for postServiceConstBeforeInvoicingInvoiceRecordStatus */ | |
10708 | +export interface PostServiceConstBeforeInvoicingInvoiceRecordStatusResponse { | |
10525 | 10709 | /** |
10526 | 10710 | * @description |
10527 | 10711 | * OK |
... | ... | @@ -10549,26 +10733,23 @@ export interface PostServiceInvoiceCancelInvoiceAndBankStatementResponse { |
10549 | 10733 | 404: any; |
10550 | 10734 | } |
10551 | 10735 | |
10552 | -export type PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess = | |
10553 | - PostServiceInvoiceCancelInvoiceAndBankStatementResponse[200]; | |
10736 | +export type PostServiceConstBeforeInvoicingInvoiceRecordStatusResponseSuccess = | |
10737 | + PostServiceConstBeforeInvoicingInvoiceRecordStatusResponse[200]; | |
10554 | 10738 | /** |
10555 | 10739 | * @description |
10556 | - * 取消发票与银行流水的关联 | |
10557 | - * @tags 发票 | |
10740 | + * 开票前的开票记录状态 | |
10741 | + * @tags front-const-controller | |
10558 | 10742 | * @produces * |
10559 | 10743 | * @consumes application/json |
10560 | 10744 | */ |
10561 | -export const postServiceInvoiceCancelInvoiceAndBankStatement = | |
10745 | +export const postServiceConstBeforeInvoicingInvoiceRecordStatus = | |
10562 | 10746 | /* #__PURE__ */ (() => { |
10563 | 10747 | const method = 'post'; |
10564 | - const url = '/service/invoice/cancelInvoiceAndBankStatement'; | |
10565 | - function request( | |
10566 | - option: PostServiceInvoiceCancelInvoiceAndBankStatementOption, | |
10567 | - ): Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess> { | |
10748 | + const url = '/service/const/beforeInvoicingInvoiceRecordStatus'; | |
10749 | + function request(): Promise<PostServiceConstBeforeInvoicingInvoiceRecordStatusResponseSuccess> { | |
10568 | 10750 | return requester(request.url, { |
10569 | 10751 | method: request.method, |
10570 | - ...option, | |
10571 | - }) as unknown as Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess>; | |
10752 | + }) as unknown as Promise<PostServiceConstBeforeInvoicingInvoiceRecordStatusResponseSuccess>; | |
10572 | 10753 | } |
10573 | 10754 | |
10574 | 10755 | /** http method */ |
... | ... | @@ -10578,22 +10759,8 @@ export const postServiceInvoiceCancelInvoiceAndBankStatement = |
10578 | 10759 | return request; |
10579 | 10760 | })(); |
10580 | 10761 | |
10581 | -/** @description request parameter type for postServiceInvoiceDeleteInvoice */ | |
10582 | -export interface PostServiceInvoiceDeleteInvoiceOption { | |
10583 | - /** | |
10584 | - * @description | |
10585 | - * dto | |
10586 | - */ | |
10587 | - body: { | |
10588 | - /** | |
10589 | - @description | |
10590 | - dto */ | |
10591 | - dto: Dto; | |
10592 | - }; | |
10593 | -} | |
10594 | - | |
10595 | -/** @description response type for postServiceInvoiceDeleteInvoice */ | |
10596 | -export interface PostServiceInvoiceDeleteInvoiceResponse { | |
10762 | +/** @description response type for postServiceConstCanApplyAfterInvoicingStatus */ | |
10763 | +export interface PostServiceConstCanApplyAfterInvoicingStatusResponse { | |
10597 | 10764 | /** |
10598 | 10765 | * @description |
10599 | 10766 | * OK |
... | ... | @@ -10621,36 +10788,1247 @@ export interface PostServiceInvoiceDeleteInvoiceResponse { |
10621 | 10788 | 404: any; |
10622 | 10789 | } |
10623 | 10790 | |
10624 | -export type PostServiceInvoiceDeleteInvoiceResponseSuccess = | |
10625 | - PostServiceInvoiceDeleteInvoiceResponse[200]; | |
10791 | +export type PostServiceConstCanApplyAfterInvoicingStatusResponseSuccess = | |
10792 | + PostServiceConstCanApplyAfterInvoicingStatusResponse[200]; | |
10626 | 10793 | /** |
10627 | 10794 | * @description |
10628 | - * 删除发票 | |
10629 | - * @tags 发票 | |
10795 | + * 开具类型 | |
10796 | + * @tags front-const-controller | |
10630 | 10797 | * @produces * |
10631 | 10798 | * @consumes application/json |
10632 | 10799 | */ |
10633 | -export const postServiceInvoiceDeleteInvoice = /* #__PURE__ */ (() => { | |
10634 | - const method = 'post'; | |
10635 | - const url = '/service/invoice/deleteInvoice'; | |
10636 | - function request( | |
10637 | - option: PostServiceInvoiceDeleteInvoiceOption, | |
10638 | - ): Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess> { | |
10639 | - return requester(request.url, { | |
10640 | - method: request.method, | |
10641 | - ...option, | |
10642 | - }) as unknown as Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess>; | |
10643 | - } | |
10800 | +export const postServiceConstCanApplyAfterInvoicingStatus = | |
10801 | + /* #__PURE__ */ (() => { | |
10802 | + const method = 'post'; | |
10803 | + const url = '/service/const/canApplyAfterInvoicingStatus'; | |
10804 | + function request(): Promise<PostServiceConstCanApplyAfterInvoicingStatusResponseSuccess> { | |
10805 | + return requester(request.url, { | |
10806 | + method: request.method, | |
10807 | + }) as unknown as Promise<PostServiceConstCanApplyAfterInvoicingStatusResponseSuccess>; | |
10808 | + } | |
10644 | 10809 | |
10645 | - /** http method */ | |
10810 | + /** http method */ | |
10811 | + request.method = method; | |
10812 | + /** request url */ | |
10813 | + request.url = url; | |
10814 | + return request; | |
10815 | + })(); | |
10816 | + | |
10817 | +/** @description response type for postServiceConstGetPayeeEnum */ | |
10818 | +export interface PostServiceConstGetPayeeEnumResponse { | |
10819 | + /** | |
10820 | + * @description | |
10821 | + * OK | |
10822 | + */ | |
10823 | + 200: ServerResult; | |
10824 | + /** | |
10825 | + * @description | |
10826 | + * Created | |
10827 | + */ | |
10828 | + 201: any; | |
10829 | + /** | |
10830 | + * @description | |
10831 | + * Unauthorized | |
10832 | + */ | |
10833 | + 401: any; | |
10834 | + /** | |
10835 | + * @description | |
10836 | + * Forbidden | |
10837 | + */ | |
10838 | + 403: any; | |
10839 | + /** | |
10840 | + * @description | |
10841 | + * Not Found | |
10842 | + */ | |
10843 | + 404: any; | |
10844 | +} | |
10845 | + | |
10846 | +export type PostServiceConstGetPayeeEnumResponseSuccess = | |
10847 | + PostServiceConstGetPayeeEnumResponse[200]; | |
10848 | +/** | |
10849 | + * @description | |
10850 | + * 获取收款方 | |
10851 | + * @tags front-const-controller | |
10852 | + * @produces * | |
10853 | + * @consumes application/json | |
10854 | + */ | |
10855 | +export const postServiceConstGetPayeeEnum = /* #__PURE__ */ (() => { | |
10856 | + const method = 'post'; | |
10857 | + const url = '/service/const/getPayeeEnum'; | |
10858 | + function request(): Promise<PostServiceConstGetPayeeEnumResponseSuccess> { | |
10859 | + return requester(request.url, { | |
10860 | + method: request.method, | |
10861 | + }) as unknown as Promise<PostServiceConstGetPayeeEnumResponseSuccess>; | |
10862 | + } | |
10863 | + | |
10864 | + /** http method */ | |
10865 | + request.method = method; | |
10866 | + /** request url */ | |
10867 | + request.url = url; | |
10868 | + return request; | |
10869 | +})(); | |
10870 | + | |
10871 | +/** @description response type for postServiceConstInvoiceType */ | |
10872 | +export interface PostServiceConstInvoiceTypeResponse { | |
10873 | + /** | |
10874 | + * @description | |
10875 | + * OK | |
10876 | + */ | |
10877 | + 200: ServerResult; | |
10878 | + /** | |
10879 | + * @description | |
10880 | + * Created | |
10881 | + */ | |
10882 | + 201: any; | |
10883 | + /** | |
10884 | + * @description | |
10885 | + * Unauthorized | |
10886 | + */ | |
10887 | + 401: any; | |
10888 | + /** | |
10889 | + * @description | |
10890 | + * Forbidden | |
10891 | + */ | |
10892 | + 403: any; | |
10893 | + /** | |
10894 | + * @description | |
10895 | + * Not Found | |
10896 | + */ | |
10897 | + 404: any; | |
10898 | +} | |
10899 | + | |
10900 | +export type PostServiceConstInvoiceTypeResponseSuccess = | |
10901 | + PostServiceConstInvoiceTypeResponse[200]; | |
10902 | +/** | |
10903 | + * @description | |
10904 | + * 发票类型 | |
10905 | + * @tags front-const-controller | |
10906 | + * @produces * | |
10907 | + * @consumes application/json | |
10908 | + */ | |
10909 | +export const postServiceConstInvoiceType = /* #__PURE__ */ (() => { | |
10910 | + const method = 'post'; | |
10911 | + const url = '/service/const/invoiceType'; | |
10912 | + function request(): Promise<PostServiceConstInvoiceTypeResponseSuccess> { | |
10913 | + return requester(request.url, { | |
10914 | + method: request.method, | |
10915 | + }) as unknown as Promise<PostServiceConstInvoiceTypeResponseSuccess>; | |
10916 | + } | |
10917 | + | |
10918 | + /** http method */ | |
10919 | + request.method = method; | |
10920 | + /** request url */ | |
10921 | + request.url = url; | |
10922 | + return request; | |
10923 | +})(); | |
10924 | + | |
10925 | +/** @description response type for postServiceConstInvoicingType */ | |
10926 | +export interface PostServiceConstInvoicingTypeResponse { | |
10927 | + /** | |
10928 | + * @description | |
10929 | + * OK | |
10930 | + */ | |
10931 | + 200: ServerResult; | |
10932 | + /** | |
10933 | + * @description | |
10934 | + * Created | |
10935 | + */ | |
10936 | + 201: any; | |
10937 | + /** | |
10938 | + * @description | |
10939 | + * Unauthorized | |
10940 | + */ | |
10941 | + 401: any; | |
10942 | + /** | |
10943 | + * @description | |
10944 | + * Forbidden | |
10945 | + */ | |
10946 | + 403: any; | |
10947 | + /** | |
10948 | + * @description | |
10949 | + * Not Found | |
10950 | + */ | |
10951 | + 404: any; | |
10952 | +} | |
10953 | + | |
10954 | +export type PostServiceConstInvoicingTypeResponseSuccess = | |
10955 | + PostServiceConstInvoicingTypeResponse[200]; | |
10956 | +/** | |
10957 | + * @description | |
10958 | + * 开具类型 | |
10959 | + * @tags front-const-controller | |
10960 | + * @produces * | |
10961 | + * @consumes application/json | |
10962 | + */ | |
10963 | +export const postServiceConstInvoicingType = /* #__PURE__ */ (() => { | |
10964 | + const method = 'post'; | |
10965 | + const url = '/service/const/invoicingType'; | |
10966 | + function request(): Promise<PostServiceConstInvoicingTypeResponseSuccess> { | |
10967 | + return requester(request.url, { | |
10968 | + method: request.method, | |
10969 | + }) as unknown as Promise<PostServiceConstInvoicingTypeResponseSuccess>; | |
10970 | + } | |
10971 | + | |
10972 | + /** http method */ | |
10973 | + request.method = method; | |
10974 | + /** request url */ | |
10975 | + request.url = url; | |
10976 | + return request; | |
10977 | +})(); | |
10978 | + | |
10979 | +/** @description request parameter type for postServiceConstListInvoiceDetailNames */ | |
10980 | +export interface PostServiceConstListInvoiceDetailNamesOption { | |
10981 | + /** | |
10982 | + * @description | |
10983 | + * queryInvoiceProjectDto | |
10984 | + */ | |
10985 | + body: { | |
10986 | + /** | |
10987 | + @description | |
10988 | + queryInvoiceProjectDto */ | |
10989 | + queryInvoiceProjectDto: QueryInvoiceProjectDto; | |
10990 | + }; | |
10991 | +} | |
10992 | + | |
10993 | +/** @description response type for postServiceConstListInvoiceDetailNames */ | |
10994 | +export interface PostServiceConstListInvoiceDetailNamesResponse { | |
10995 | + /** | |
10996 | + * @description | |
10997 | + * OK | |
10998 | + */ | |
10999 | + 200: ServerResult; | |
11000 | + /** | |
11001 | + * @description | |
11002 | + * Created | |
11003 | + */ | |
11004 | + 201: any; | |
11005 | + /** | |
11006 | + * @description | |
11007 | + * Unauthorized | |
11008 | + */ | |
11009 | + 401: any; | |
11010 | + /** | |
11011 | + * @description | |
11012 | + * Forbidden | |
11013 | + */ | |
11014 | + 403: any; | |
11015 | + /** | |
11016 | + * @description | |
11017 | + * Not Found | |
11018 | + */ | |
11019 | + 404: any; | |
11020 | +} | |
11021 | + | |
11022 | +export type PostServiceConstListInvoiceDetailNamesResponseSuccess = | |
11023 | + PostServiceConstListInvoiceDetailNamesResponse[200]; | |
11024 | +/** | |
11025 | + * @description | |
11026 | + * 根据公司名获取收款方 | |
11027 | + * @tags front-const-controller | |
11028 | + * @produces * | |
11029 | + * @consumes application/json | |
11030 | + */ | |
11031 | +export const postServiceConstListInvoiceDetailNames = /* #__PURE__ */ (() => { | |
11032 | + const method = 'post'; | |
11033 | + const url = '/service/const/listInvoiceDetailNames'; | |
11034 | + function request( | |
11035 | + option: PostServiceConstListInvoiceDetailNamesOption, | |
11036 | + ): Promise<PostServiceConstListInvoiceDetailNamesResponseSuccess> { | |
11037 | + return requester(request.url, { | |
11038 | + method: request.method, | |
11039 | + ...option, | |
11040 | + }) as unknown as Promise<PostServiceConstListInvoiceDetailNamesResponseSuccess>; | |
11041 | + } | |
11042 | + | |
11043 | + /** http method */ | |
11044 | + request.method = method; | |
11045 | + /** request url */ | |
11046 | + request.url = url; | |
11047 | + return request; | |
11048 | +})(); | |
11049 | + | |
11050 | +/** @description response type for postServiceConstNotCanModifyInvoiceRecordStatus */ | |
11051 | +export interface PostServiceConstNotCanModifyInvoiceRecordStatusResponse { | |
11052 | + /** | |
11053 | + * @description | |
11054 | + * OK | |
11055 | + */ | |
11056 | + 200: ServerResult; | |
11057 | + /** | |
11058 | + * @description | |
11059 | + * Created | |
11060 | + */ | |
11061 | + 201: any; | |
11062 | + /** | |
11063 | + * @description | |
11064 | + * Unauthorized | |
11065 | + */ | |
11066 | + 401: any; | |
11067 | + /** | |
11068 | + * @description | |
11069 | + * Forbidden | |
11070 | + */ | |
11071 | + 403: any; | |
11072 | + /** | |
11073 | + * @description | |
11074 | + * Not Found | |
11075 | + */ | |
11076 | + 404: any; | |
11077 | +} | |
11078 | + | |
11079 | +export type PostServiceConstNotCanModifyInvoiceRecordStatusResponseSuccess = | |
11080 | + PostServiceConstNotCanModifyInvoiceRecordStatusResponse[200]; | |
11081 | +/** | |
11082 | + * @description | |
11083 | + * 不能修改的开票记录状态 | |
11084 | + * @tags front-const-controller | |
11085 | + * @produces * | |
11086 | + * @consumes application/json | |
11087 | + */ | |
11088 | +export const postServiceConstNotCanModifyInvoiceRecordStatus = | |
11089 | + /* #__PURE__ */ (() => { | |
11090 | + const method = 'post'; | |
11091 | + const url = '/service/const/notCanModifyInvoiceRecordStatus'; | |
11092 | + function request(): Promise<PostServiceConstNotCanModifyInvoiceRecordStatusResponseSuccess> { | |
11093 | + return requester(request.url, { | |
11094 | + method: request.method, | |
11095 | + }) as unknown as Promise<PostServiceConstNotCanModifyInvoiceRecordStatusResponseSuccess>; | |
11096 | + } | |
11097 | + | |
11098 | + /** http method */ | |
11099 | + request.method = method; | |
11100 | + /** request url */ | |
11101 | + request.url = url; | |
11102 | + return request; | |
11103 | + })(); | |
11104 | + | |
11105 | +/** @description request parameter type for getServiceInvoiceListInvoiceProject */ | |
11106 | +export interface GetServiceInvoiceListInvoiceProjectOption { | |
11107 | + /** @format int32 */ | |
11108 | + query?: { | |
11109 | + /** | |
11110 | + @format int32 */ | |
11111 | + current?: number; | |
11112 | + /** | |
11113 | + @format int32 */ | |
11114 | + end?: number; | |
11115 | + nameLike?: string; | |
11116 | + /** | |
11117 | + @format int32 */ | |
11118 | + pageSize?: number; | |
11119 | + /** | |
11120 | + @format int32 */ | |
11121 | + start?: number; | |
11122 | + /** | |
11123 | + @format int32 */ | |
11124 | + total?: number; | |
11125 | + }; | |
11126 | +} | |
11127 | + | |
11128 | +/** @description response type for getServiceInvoiceListInvoiceProject */ | |
11129 | +export interface GetServiceInvoiceListInvoiceProjectResponse { | |
11130 | + /** | |
11131 | + * @description | |
11132 | + * OK | |
11133 | + */ | |
11134 | + 200: ServerResult; | |
11135 | + /** | |
11136 | + * @description | |
11137 | + * Unauthorized | |
11138 | + */ | |
11139 | + 401: any; | |
11140 | + /** | |
11141 | + * @description | |
11142 | + * Forbidden | |
11143 | + */ | |
11144 | + 403: any; | |
11145 | + /** | |
11146 | + * @description | |
11147 | + * Not Found | |
11148 | + */ | |
11149 | + 404: any; | |
11150 | +} | |
11151 | + | |
11152 | +export type GetServiceInvoiceListInvoiceProjectResponseSuccess = | |
11153 | + GetServiceInvoiceListInvoiceProjectResponse[200]; | |
11154 | +/** | |
11155 | + * @description | |
11156 | + * invoiceProjectList | |
11157 | + * @tags 发票 | |
11158 | + * @produces * | |
11159 | + */ | |
11160 | +export const getServiceInvoiceListInvoiceProject = /* #__PURE__ */ (() => { | |
11161 | + const method = 'get'; | |
11162 | + const url = '/service/invoice/ListInvoiceProject'; | |
11163 | + function request( | |
11164 | + option?: GetServiceInvoiceListInvoiceProjectOption, | |
11165 | + ): Promise<GetServiceInvoiceListInvoiceProjectResponseSuccess> { | |
11166 | + return requester(request.url, { | |
11167 | + method: request.method, | |
11168 | + ...option, | |
11169 | + }) as unknown as Promise<GetServiceInvoiceListInvoiceProjectResponseSuccess>; | |
11170 | + } | |
11171 | + | |
11172 | + /** http method */ | |
11173 | + request.method = method; | |
11174 | + /** request url */ | |
11175 | + request.url = url; | |
11176 | + return request; | |
11177 | +})(); | |
11178 | + | |
11179 | +/** @description request parameter type for postServiceInvoiceAddInvoice */ | |
11180 | +export interface PostServiceInvoiceAddInvoiceOption { | |
11181 | + /** | |
11182 | + * @description | |
11183 | + * dto | |
11184 | + */ | |
11185 | + body: { | |
11186 | + /** | |
11187 | + @description | |
11188 | + dto */ | |
11189 | + dto: InvoiceDto; | |
11190 | + }; | |
11191 | +} | |
11192 | + | |
11193 | +/** @description response type for postServiceInvoiceAddInvoice */ | |
11194 | +export interface PostServiceInvoiceAddInvoiceResponse { | |
11195 | + /** | |
11196 | + * @description | |
11197 | + * OK | |
11198 | + */ | |
11199 | + 200: ServerResult; | |
11200 | + /** | |
11201 | + * @description | |
11202 | + * Created | |
11203 | + */ | |
11204 | + 201: any; | |
11205 | + /** | |
11206 | + * @description | |
11207 | + * Unauthorized | |
11208 | + */ | |
11209 | + 401: any; | |
11210 | + /** | |
11211 | + * @description | |
11212 | + * Forbidden | |
11213 | + */ | |
11214 | + 403: any; | |
11215 | + /** | |
11216 | + * @description | |
11217 | + * Not Found | |
11218 | + */ | |
11219 | + 404: any; | |
11220 | +} | |
11221 | + | |
11222 | +export type PostServiceInvoiceAddInvoiceResponseSuccess = | |
11223 | + PostServiceInvoiceAddInvoiceResponse[200]; | |
11224 | +/** | |
11225 | + * @description | |
11226 | + * 添加发票 | |
11227 | + * @tags 发票 | |
11228 | + * @produces * | |
11229 | + * @consumes application/json | |
11230 | + */ | |
11231 | +export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { | |
11232 | + const method = 'post'; | |
11233 | + const url = '/service/invoice/addInvoice'; | |
11234 | + function request( | |
11235 | + option: PostServiceInvoiceAddInvoiceOption, | |
11236 | + ): Promise<PostServiceInvoiceAddInvoiceResponseSuccess> { | |
11237 | + return requester(request.url, { | |
11238 | + method: request.method, | |
11239 | + ...option, | |
11240 | + }) as unknown as Promise<PostServiceInvoiceAddInvoiceResponseSuccess>; | |
11241 | + } | |
11242 | + | |
11243 | + /** http method */ | |
11244 | + request.method = method; | |
11245 | + /** request url */ | |
11246 | + request.url = url; | |
11247 | + return request; | |
11248 | +})(); | |
11249 | + | |
11250 | +/** @description request parameter type for postServiceInvoiceApplyInvoice */ | |
11251 | +export interface PostServiceInvoiceApplyInvoiceOption { | |
11252 | + /** | |
11253 | + * @description | |
11254 | + * dto | |
11255 | + */ | |
11256 | + body: { | |
11257 | + /** | |
11258 | + @description | |
11259 | + dto */ | |
11260 | + dto: ApplyInvoiceDto; | |
11261 | + }; | |
11262 | +} | |
11263 | + | |
11264 | +/** @description response type for postServiceInvoiceApplyInvoice */ | |
11265 | +export interface PostServiceInvoiceApplyInvoiceResponse { | |
11266 | + /** | |
11267 | + * @description | |
11268 | + * OK | |
11269 | + */ | |
11270 | + 200: ServerResult; | |
11271 | + /** | |
11272 | + * @description | |
11273 | + * Created | |
11274 | + */ | |
11275 | + 201: any; | |
11276 | + /** | |
11277 | + * @description | |
11278 | + * Unauthorized | |
11279 | + */ | |
11280 | + 401: any; | |
11281 | + /** | |
11282 | + * @description | |
11283 | + * Forbidden | |
11284 | + */ | |
11285 | + 403: any; | |
11286 | + /** | |
11287 | + * @description | |
11288 | + * Not Found | |
11289 | + */ | |
11290 | + 404: any; | |
11291 | +} | |
11292 | + | |
11293 | +export type PostServiceInvoiceApplyInvoiceResponseSuccess = | |
11294 | + PostServiceInvoiceApplyInvoiceResponse[200]; | |
11295 | +/** | |
11296 | + * @description | |
11297 | + * 申请开票 | |
11298 | + * @tags 发票 | |
11299 | + * @produces * | |
11300 | + * @consumes application/json | |
11301 | + */ | |
11302 | +export const postServiceInvoiceApplyInvoice = /* #__PURE__ */ (() => { | |
11303 | + const method = 'post'; | |
11304 | + const url = '/service/invoice/applyInvoice'; | |
11305 | + function request( | |
11306 | + option: PostServiceInvoiceApplyInvoiceOption, | |
11307 | + ): Promise<PostServiceInvoiceApplyInvoiceResponseSuccess> { | |
11308 | + return requester(request.url, { | |
11309 | + method: request.method, | |
11310 | + ...option, | |
11311 | + }) as unknown as Promise<PostServiceInvoiceApplyInvoiceResponseSuccess>; | |
11312 | + } | |
11313 | + | |
11314 | + /** http method */ | |
11315 | + request.method = method; | |
11316 | + /** request url */ | |
11317 | + request.url = url; | |
11318 | + return request; | |
11319 | +})(); | |
11320 | + | |
11321 | +/** @description request parameter type for postServiceInvoiceCancelApply */ | |
11322 | +export interface PostServiceInvoiceCancelApplyOption { | |
11323 | + /** | |
11324 | + * @description | |
11325 | + * dto | |
11326 | + */ | |
11327 | + body: { | |
11328 | + /** | |
11329 | + @description | |
11330 | + dto */ | |
11331 | + dto: Dto; | |
11332 | + }; | |
11333 | +} | |
11334 | + | |
11335 | +/** @description response type for postServiceInvoiceCancelApply */ | |
11336 | +export interface PostServiceInvoiceCancelApplyResponse { | |
11337 | + /** | |
11338 | + * @description | |
11339 | + * OK | |
11340 | + */ | |
11341 | + 200: ServerResult; | |
11342 | + /** | |
11343 | + * @description | |
11344 | + * Created | |
11345 | + */ | |
11346 | + 201: any; | |
11347 | + /** | |
11348 | + * @description | |
11349 | + * Unauthorized | |
11350 | + */ | |
11351 | + 401: any; | |
11352 | + /** | |
11353 | + * @description | |
11354 | + * Forbidden | |
11355 | + */ | |
11356 | + 403: any; | |
11357 | + /** | |
11358 | + * @description | |
11359 | + * Not Found | |
11360 | + */ | |
11361 | + 404: any; | |
11362 | +} | |
11363 | + | |
11364 | +export type PostServiceInvoiceCancelApplyResponseSuccess = | |
11365 | + PostServiceInvoiceCancelApplyResponse[200]; | |
11366 | +/** | |
11367 | + * @description | |
11368 | + * 取消申请 | |
11369 | + * @tags 发票 | |
11370 | + * @produces * | |
11371 | + * @consumes application/json | |
11372 | + */ | |
11373 | +export const postServiceInvoiceCancelApply = /* #__PURE__ */ (() => { | |
11374 | + const method = 'post'; | |
11375 | + const url = '/service/invoice/cancelApply'; | |
11376 | + function request( | |
11377 | + option: PostServiceInvoiceCancelApplyOption, | |
11378 | + ): Promise<PostServiceInvoiceCancelApplyResponseSuccess> { | |
11379 | + return requester(request.url, { | |
11380 | + method: request.method, | |
11381 | + ...option, | |
11382 | + }) as unknown as Promise<PostServiceInvoiceCancelApplyResponseSuccess>; | |
11383 | + } | |
11384 | + | |
11385 | + /** http method */ | |
11386 | + request.method = method; | |
11387 | + /** request url */ | |
11388 | + request.url = url; | |
11389 | + return request; | |
11390 | +})(); | |
11391 | + | |
11392 | +/** @description request parameter type for postServiceInvoiceCancelInvoiceAndBankStatement */ | |
11393 | +export interface PostServiceInvoiceCancelInvoiceAndBankStatementOption { | |
11394 | + /** | |
11395 | + * @description | |
11396 | + * dto | |
11397 | + */ | |
11398 | + body: { | |
11399 | + /** | |
11400 | + @description | |
11401 | + dto */ | |
11402 | + dto: CancelInvoiceAndBankStatementDto; | |
11403 | + }; | |
11404 | +} | |
11405 | + | |
11406 | +/** @description response type for postServiceInvoiceCancelInvoiceAndBankStatement */ | |
11407 | +export interface PostServiceInvoiceCancelInvoiceAndBankStatementResponse { | |
11408 | + /** | |
11409 | + * @description | |
11410 | + * OK | |
11411 | + */ | |
11412 | + 200: ServerResult; | |
11413 | + /** | |
11414 | + * @description | |
11415 | + * Created | |
11416 | + */ | |
11417 | + 201: any; | |
11418 | + /** | |
11419 | + * @description | |
11420 | + * Unauthorized | |
11421 | + */ | |
11422 | + 401: any; | |
11423 | + /** | |
11424 | + * @description | |
11425 | + * Forbidden | |
11426 | + */ | |
11427 | + 403: any; | |
11428 | + /** | |
11429 | + * @description | |
11430 | + * Not Found | |
11431 | + */ | |
11432 | + 404: any; | |
11433 | +} | |
11434 | + | |
11435 | +export type PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess = | |
11436 | + PostServiceInvoiceCancelInvoiceAndBankStatementResponse[200]; | |
11437 | +/** | |
11438 | + * @description | |
11439 | + * 取消发票与银行流水的关联 | |
11440 | + * @tags 发票 | |
11441 | + * @produces * | |
11442 | + * @consumes application/json | |
11443 | + */ | |
11444 | +export const postServiceInvoiceCancelInvoiceAndBankStatement = | |
11445 | + /* #__PURE__ */ (() => { | |
11446 | + const method = 'post'; | |
11447 | + const url = '/service/invoice/cancelInvoiceAndBankStatement'; | |
11448 | + function request( | |
11449 | + option: PostServiceInvoiceCancelInvoiceAndBankStatementOption, | |
11450 | + ): Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess> { | |
11451 | + return requester(request.url, { | |
11452 | + method: request.method, | |
11453 | + ...option, | |
11454 | + }) as unknown as Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess>; | |
11455 | + } | |
11456 | + | |
11457 | + /** http method */ | |
11458 | + request.method = method; | |
11459 | + /** request url */ | |
11460 | + request.url = url; | |
11461 | + return request; | |
11462 | + })(); | |
11463 | + | |
11464 | +/** @description request parameter type for postServiceInvoiceDealInvoicingResult */ | |
11465 | +export interface PostServiceInvoiceDealInvoicingResultOption { | |
11466 | + /** | |
11467 | + * @description | |
11468 | + * dto | |
11469 | + */ | |
11470 | + body: { | |
11471 | + /** | |
11472 | + @description | |
11473 | + dto */ | |
11474 | + dto: Dto; | |
11475 | + }; | |
11476 | +} | |
11477 | + | |
11478 | +/** @description response type for postServiceInvoiceDealInvoicingResult */ | |
11479 | +export interface PostServiceInvoiceDealInvoicingResultResponse { | |
11480 | + /** | |
11481 | + * @description | |
11482 | + * OK | |
11483 | + */ | |
11484 | + 200: ServerResult; | |
11485 | + /** | |
11486 | + * @description | |
11487 | + * Created | |
11488 | + */ | |
11489 | + 201: any; | |
11490 | + /** | |
11491 | + * @description | |
11492 | + * Unauthorized | |
11493 | + */ | |
11494 | + 401: any; | |
11495 | + /** | |
11496 | + * @description | |
11497 | + * Forbidden | |
11498 | + */ | |
11499 | + 403: any; | |
11500 | + /** | |
11501 | + * @description | |
11502 | + * Not Found | |
11503 | + */ | |
11504 | + 404: any; | |
11505 | +} | |
11506 | + | |
11507 | +export type PostServiceInvoiceDealInvoicingResultResponseSuccess = | |
11508 | + PostServiceInvoiceDealInvoicingResultResponse[200]; | |
11509 | +/** | |
11510 | + * @description | |
11511 | + * 拉取开票结果 | |
11512 | + * @tags 发票 | |
11513 | + * @produces * | |
11514 | + * @consumes application/json | |
11515 | + */ | |
11516 | +export const postServiceInvoiceDealInvoicingResult = /* #__PURE__ */ (() => { | |
11517 | + const method = 'post'; | |
11518 | + const url = '/service/invoice/dealInvoicingResult'; | |
11519 | + function request( | |
11520 | + option: PostServiceInvoiceDealInvoicingResultOption, | |
11521 | + ): Promise<PostServiceInvoiceDealInvoicingResultResponseSuccess> { | |
11522 | + return requester(request.url, { | |
11523 | + method: request.method, | |
11524 | + ...option, | |
11525 | + }) as unknown as Promise<PostServiceInvoiceDealInvoicingResultResponseSuccess>; | |
11526 | + } | |
11527 | + | |
11528 | + /** http method */ | |
11529 | + request.method = method; | |
11530 | + /** request url */ | |
11531 | + request.url = url; | |
11532 | + return request; | |
11533 | +})(); | |
11534 | + | |
11535 | +/** @description request parameter type for postServiceInvoiceDeleteInvoice */ | |
11536 | +export interface PostServiceInvoiceDeleteInvoiceOption { | |
11537 | + /** | |
11538 | + * @description | |
11539 | + * dto | |
11540 | + */ | |
11541 | + body: { | |
11542 | + /** | |
11543 | + @description | |
11544 | + dto */ | |
11545 | + dto: Dto; | |
11546 | + }; | |
11547 | +} | |
11548 | + | |
11549 | +/** @description response type for postServiceInvoiceDeleteInvoice */ | |
11550 | +export interface PostServiceInvoiceDeleteInvoiceResponse { | |
11551 | + /** | |
11552 | + * @description | |
11553 | + * OK | |
11554 | + */ | |
11555 | + 200: ServerResult; | |
11556 | + /** | |
11557 | + * @description | |
11558 | + * Created | |
11559 | + */ | |
11560 | + 201: any; | |
11561 | + /** | |
11562 | + * @description | |
11563 | + * Unauthorized | |
11564 | + */ | |
11565 | + 401: any; | |
11566 | + /** | |
11567 | + * @description | |
11568 | + * Forbidden | |
11569 | + */ | |
11570 | + 403: any; | |
11571 | + /** | |
11572 | + * @description | |
11573 | + * Not Found | |
11574 | + */ | |
11575 | + 404: any; | |
11576 | +} | |
11577 | + | |
11578 | +export type PostServiceInvoiceDeleteInvoiceResponseSuccess = | |
11579 | + PostServiceInvoiceDeleteInvoiceResponse[200]; | |
11580 | +/** | |
11581 | + * @description | |
11582 | + * 删除发票 | |
11583 | + * @tags 发票 | |
11584 | + * @produces * | |
11585 | + * @consumes application/json | |
11586 | + */ | |
11587 | +export const postServiceInvoiceDeleteInvoice = /* #__PURE__ */ (() => { | |
11588 | + const method = 'post'; | |
11589 | + const url = '/service/invoice/deleteInvoice'; | |
11590 | + function request( | |
11591 | + option: PostServiceInvoiceDeleteInvoiceOption, | |
11592 | + ): Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess> { | |
11593 | + return requester(request.url, { | |
11594 | + method: request.method, | |
11595 | + ...option, | |
11596 | + }) as unknown as Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess>; | |
11597 | + } | |
11598 | + | |
11599 | + /** http method */ | |
11600 | + request.method = method; | |
11601 | + /** request url */ | |
11602 | + request.url = url; | |
11603 | + return request; | |
11604 | +})(); | |
11605 | + | |
11606 | +/** @description request parameter type for postServiceInvoiceDownloadInvoice */ | |
11607 | +export interface PostServiceInvoiceDownloadInvoiceOption { | |
11608 | + /** | |
11609 | + * @description | |
11610 | + * recodId | |
11611 | + * @format int64 | |
11612 | + */ | |
11613 | + query?: { | |
11614 | + /** | |
11615 | + @description | |
11616 | + recodId | |
11617 | + @format int64 */ | |
11618 | + recodId?: number; | |
11619 | + }; | |
11620 | +} | |
11621 | + | |
11622 | +/** @description response type for postServiceInvoiceDownloadInvoice */ | |
11623 | +export interface PostServiceInvoiceDownloadInvoiceResponse { | |
11624 | + /** | |
11625 | + * @description | |
11626 | + * OK | |
11627 | + */ | |
11628 | + 200: ServerResult; | |
11629 | + /** | |
11630 | + * @description | |
11631 | + * Created | |
11632 | + */ | |
11633 | + 201: any; | |
11634 | + /** | |
11635 | + * @description | |
11636 | + * Unauthorized | |
11637 | + */ | |
11638 | + 401: any; | |
11639 | + /** | |
11640 | + * @description | |
11641 | + * Forbidden | |
11642 | + */ | |
11643 | + 403: any; | |
11644 | + /** | |
11645 | + * @description | |
11646 | + * Not Found | |
11647 | + */ | |
11648 | + 404: any; | |
11649 | +} | |
11650 | + | |
11651 | +export type PostServiceInvoiceDownloadInvoiceResponseSuccess = | |
11652 | + PostServiceInvoiceDownloadInvoiceResponse[200]; | |
11653 | +/** | |
11654 | + * @description | |
11655 | + * 下载开票 | |
11656 | + * @tags 发票 | |
11657 | + * @produces * | |
11658 | + * @consumes application/json | |
11659 | + */ | |
11660 | +export const postServiceInvoiceDownloadInvoice = /* #__PURE__ */ (() => { | |
11661 | + const method = 'post'; | |
11662 | + const url = '/service/invoice/downloadInvoice'; | |
11663 | + function request( | |
11664 | + option?: PostServiceInvoiceDownloadInvoiceOption, | |
11665 | + ): Promise<PostServiceInvoiceDownloadInvoiceResponseSuccess> { | |
11666 | + return requester(request.url, { | |
11667 | + method: request.method, | |
11668 | + ...option, | |
11669 | + }) as unknown as Promise<PostServiceInvoiceDownloadInvoiceResponseSuccess>; | |
11670 | + } | |
11671 | + | |
11672 | + /** http method */ | |
11673 | + request.method = method; | |
11674 | + /** request url */ | |
11675 | + request.url = url; | |
11676 | + return request; | |
11677 | +})(); | |
11678 | + | |
11679 | +/** @description response type for getServiceInvoiceExportInvoiceDetailsTemplate */ | |
11680 | +export interface GetServiceInvoiceExportInvoiceDetailsTemplateResponse { | |
11681 | + /** | |
11682 | + * @description | |
11683 | + * OK | |
11684 | + */ | |
11685 | + 200: any; | |
11686 | + /** | |
11687 | + * @description | |
11688 | + * Unauthorized | |
11689 | + */ | |
11690 | + 401: any; | |
11691 | + /** | |
11692 | + * @description | |
11693 | + * Forbidden | |
11694 | + */ | |
11695 | + 403: any; | |
11696 | + /** | |
11697 | + * @description | |
11698 | + * Not Found | |
11699 | + */ | |
11700 | + 404: any; | |
11701 | +} | |
11702 | + | |
11703 | +export type GetServiceInvoiceExportInvoiceDetailsTemplateResponseSuccess = | |
11704 | + GetServiceInvoiceExportInvoiceDetailsTemplateResponse[200]; | |
11705 | +/** | |
11706 | + * @description | |
11707 | + * 导出发票明细模板 | |
11708 | + * @tags 发票 | |
11709 | + * @produces * | |
11710 | + */ | |
11711 | +export const getServiceInvoiceExportInvoiceDetailsTemplate = | |
11712 | + /* #__PURE__ */ (() => { | |
11713 | + const method = 'get'; | |
11714 | + const url = '/service/invoice/exportInvoiceDetailsTemplate'; | |
11715 | + function request(): Promise<GetServiceInvoiceExportInvoiceDetailsTemplateResponseSuccess> { | |
11716 | + return requester(request.url, { | |
11717 | + method: request.method, | |
11718 | + }) as unknown as Promise<GetServiceInvoiceExportInvoiceDetailsTemplateResponseSuccess>; | |
11719 | + } | |
11720 | + | |
11721 | + /** http method */ | |
11722 | + request.method = method; | |
11723 | + /** request url */ | |
11724 | + request.url = url; | |
11725 | + return request; | |
11726 | + })(); | |
11727 | + | |
11728 | +/** @description request parameter type for postServiceInvoiceExportInvoiceRecords */ | |
11729 | +export interface PostServiceInvoiceExportInvoiceRecordsOption { | |
11730 | + /** | |
11731 | + * @description | |
11732 | + * dto | |
11733 | + */ | |
11734 | + body: { | |
11735 | + /** | |
11736 | + @description | |
11737 | + dto */ | |
11738 | + dto: QueryInvoiceRecordDto; | |
11739 | + }; | |
11740 | +} | |
11741 | + | |
11742 | +/** @description response type for postServiceInvoiceExportInvoiceRecords */ | |
11743 | +export interface PostServiceInvoiceExportInvoiceRecordsResponse { | |
11744 | + /** | |
11745 | + * @description | |
11746 | + * OK | |
11747 | + */ | |
11748 | + 200: any; | |
11749 | + /** | |
11750 | + * @description | |
11751 | + * Created | |
11752 | + */ | |
11753 | + 201: any; | |
11754 | + /** | |
11755 | + * @description | |
11756 | + * Unauthorized | |
11757 | + */ | |
11758 | + 401: any; | |
11759 | + /** | |
11760 | + * @description | |
11761 | + * Forbidden | |
11762 | + */ | |
11763 | + 403: any; | |
11764 | + /** | |
11765 | + * @description | |
11766 | + * Not Found | |
11767 | + */ | |
11768 | + 404: any; | |
11769 | +} | |
11770 | + | |
11771 | +export type PostServiceInvoiceExportInvoiceRecordsResponseSuccess = | |
11772 | + PostServiceInvoiceExportInvoiceRecordsResponse[200]; | |
11773 | +/** | |
11774 | + * @description | |
11775 | + * exportInvoiceRecords | |
11776 | + * @tags 发票 | |
11777 | + * @produces * | |
11778 | + * @consumes application/json | |
11779 | + */ | |
11780 | +export const postServiceInvoiceExportInvoiceRecords = /* #__PURE__ */ (() => { | |
11781 | + const method = 'post'; | |
11782 | + const url = '/service/invoice/exportInvoiceRecords'; | |
11783 | + function request( | |
11784 | + option: PostServiceInvoiceExportInvoiceRecordsOption, | |
11785 | + ): Promise<PostServiceInvoiceExportInvoiceRecordsResponseSuccess> { | |
11786 | + return requester(request.url, { | |
11787 | + method: request.method, | |
11788 | + ...option, | |
11789 | + }) as unknown as Promise<PostServiceInvoiceExportInvoiceRecordsResponseSuccess>; | |
11790 | + } | |
11791 | + | |
11792 | + /** http method */ | |
11793 | + request.method = method; | |
11794 | + /** request url */ | |
11795 | + request.url = url; | |
11796 | + return request; | |
11797 | +})(); | |
11798 | + | |
11799 | +/** @description request parameter type for postServiceInvoiceFindInvoice */ | |
11800 | +export interface PostServiceInvoiceFindInvoiceOption { | |
11801 | + /** | |
11802 | + * @description | |
11803 | + * dto | |
11804 | + */ | |
11805 | + body: { | |
11806 | + /** | |
11807 | + @description | |
11808 | + dto */ | |
11809 | + dto: Dto; | |
11810 | + }; | |
11811 | +} | |
11812 | + | |
11813 | +/** @description response type for postServiceInvoiceFindInvoice */ | |
11814 | +export interface PostServiceInvoiceFindInvoiceResponse { | |
11815 | + /** | |
11816 | + * @description | |
11817 | + * OK | |
11818 | + */ | |
11819 | + 200: ServerResult; | |
11820 | + /** | |
11821 | + * @description | |
11822 | + * Created | |
11823 | + */ | |
11824 | + 201: any; | |
11825 | + /** | |
11826 | + * @description | |
11827 | + * Unauthorized | |
11828 | + */ | |
11829 | + 401: any; | |
11830 | + /** | |
11831 | + * @description | |
11832 | + * Forbidden | |
11833 | + */ | |
11834 | + 403: any; | |
11835 | + /** | |
11836 | + * @description | |
11837 | + * Not Found | |
11838 | + */ | |
11839 | + 404: any; | |
11840 | +} | |
11841 | + | |
11842 | +export type PostServiceInvoiceFindInvoiceResponseSuccess = | |
11843 | + PostServiceInvoiceFindInvoiceResponse[200]; | |
11844 | +/** | |
11845 | + * @description | |
11846 | + * 不分页查询发票 | |
11847 | + * @tags 发票 | |
11848 | + * @produces * | |
11849 | + * @consumes application/json | |
11850 | + */ | |
11851 | +export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { | |
11852 | + const method = 'post'; | |
11853 | + const url = '/service/invoice/findInvoice'; | |
11854 | + function request( | |
11855 | + option: PostServiceInvoiceFindInvoiceOption, | |
11856 | + ): Promise<PostServiceInvoiceFindInvoiceResponseSuccess> { | |
11857 | + return requester(request.url, { | |
11858 | + method: request.method, | |
11859 | + ...option, | |
11860 | + }) as unknown as Promise<PostServiceInvoiceFindInvoiceResponseSuccess>; | |
11861 | + } | |
11862 | + | |
11863 | + /** http method */ | |
11864 | + request.method = method; | |
11865 | + /** request url */ | |
11866 | + request.url = url; | |
11867 | + return request; | |
11868 | +})(); | |
11869 | + | |
11870 | +/** @description request parameter type for postServiceInvoiceGetInvoiceRecord */ | |
11871 | +export interface PostServiceInvoiceGetInvoiceRecordOption { | |
11872 | + /** | |
11873 | + * @description | |
11874 | + * id | |
11875 | + * @format int64 | |
11876 | + */ | |
11877 | + query?: { | |
11878 | + /** | |
11879 | + @description | |
11880 | + id | |
11881 | + @format int64 */ | |
11882 | + id?: number; | |
11883 | + }; | |
11884 | +} | |
11885 | + | |
11886 | +/** @description response type for postServiceInvoiceGetInvoiceRecord */ | |
11887 | +export interface PostServiceInvoiceGetInvoiceRecordResponse { | |
11888 | + /** | |
11889 | + * @description | |
11890 | + * OK | |
11891 | + */ | |
11892 | + 200: ServerResult; | |
11893 | + /** | |
11894 | + * @description | |
11895 | + * Created | |
11896 | + */ | |
11897 | + 201: any; | |
11898 | + /** | |
11899 | + * @description | |
11900 | + * Unauthorized | |
11901 | + */ | |
11902 | + 401: any; | |
11903 | + /** | |
11904 | + * @description | |
11905 | + * Forbidden | |
11906 | + */ | |
11907 | + 403: any; | |
11908 | + /** | |
11909 | + * @description | |
11910 | + * Not Found | |
11911 | + */ | |
11912 | + 404: any; | |
11913 | +} | |
11914 | + | |
11915 | +export type PostServiceInvoiceGetInvoiceRecordResponseSuccess = | |
11916 | + PostServiceInvoiceGetInvoiceRecordResponse[200]; | |
11917 | +/** | |
11918 | + * @description | |
11919 | + * 获取开票记录 | |
11920 | + * @tags 发票 | |
11921 | + * @produces * | |
11922 | + * @consumes application/json | |
11923 | + */ | |
11924 | +export const postServiceInvoiceGetInvoiceRecord = /* #__PURE__ */ (() => { | |
11925 | + const method = 'post'; | |
11926 | + const url = '/service/invoice/getInvoiceRecord'; | |
11927 | + function request( | |
11928 | + option?: PostServiceInvoiceGetInvoiceRecordOption, | |
11929 | + ): Promise<PostServiceInvoiceGetInvoiceRecordResponseSuccess> { | |
11930 | + return requester(request.url, { | |
11931 | + method: request.method, | |
11932 | + ...option, | |
11933 | + }) as unknown as Promise<PostServiceInvoiceGetInvoiceRecordResponseSuccess>; | |
11934 | + } | |
11935 | + | |
11936 | + /** http method */ | |
11937 | + request.method = method; | |
11938 | + /** request url */ | |
11939 | + request.url = url; | |
11940 | + return request; | |
11941 | +})(); | |
11942 | + | |
11943 | +/** @description request parameter type for postServiceInvoiceImportInvoiceDetails */ | |
11944 | +export interface PostServiceInvoiceImportInvoiceDetailsOption { | |
11945 | + /** | |
11946 | + * @description | |
11947 | + * detailsExcel | |
11948 | + */ | |
11949 | + formData: { | |
11950 | + /** | |
11951 | + @description | |
11952 | + detailsExcel */ | |
11953 | + detailsExcel: File; | |
11954 | + }; | |
11955 | +} | |
11956 | + | |
11957 | +/** @description request parameter type for postServiceInvoiceImportInvoiceDetails */ | |
11958 | +export interface PostServiceInvoiceImportInvoiceDetailsOption { | |
11959 | + /** | |
11960 | + * @description | |
11961 | + * invoiceRecordId | |
11962 | + * @format int64 | |
11963 | + */ | |
11964 | + query: { | |
11965 | + /** | |
11966 | + @description | |
11967 | + invoiceRecordId | |
11968 | + @format int64 */ | |
11969 | + invoiceRecordId: number; | |
11970 | + }; | |
11971 | +} | |
11972 | + | |
11973 | +/** @description response type for postServiceInvoiceImportInvoiceDetails */ | |
11974 | +export interface PostServiceInvoiceImportInvoiceDetailsResponse { | |
11975 | + /** | |
11976 | + * @description | |
11977 | + * OK | |
11978 | + */ | |
11979 | + 200: ServerResult; | |
11980 | + /** | |
11981 | + * @description | |
11982 | + * Created | |
11983 | + */ | |
11984 | + 201: any; | |
11985 | + /** | |
11986 | + * @description | |
11987 | + * Unauthorized | |
11988 | + */ | |
11989 | + 401: any; | |
11990 | + /** | |
11991 | + * @description | |
11992 | + * Forbidden | |
11993 | + */ | |
11994 | + 403: any; | |
11995 | + /** | |
11996 | + * @description | |
11997 | + * Not Found | |
11998 | + */ | |
11999 | + 404: any; | |
12000 | +} | |
12001 | + | |
12002 | +export type PostServiceInvoiceImportInvoiceDetailsResponseSuccess = | |
12003 | + PostServiceInvoiceImportInvoiceDetailsResponse[200]; | |
12004 | +/** | |
12005 | + * @description | |
12006 | + * 导入发票明细 | |
12007 | + * @tags 发票 | |
12008 | + * @produces * | |
12009 | + * @consumes multipart/form-data | |
12010 | + */ | |
12011 | +export const postServiceInvoiceImportInvoiceDetails = /* #__PURE__ */ (() => { | |
12012 | + const method = 'post'; | |
12013 | + const url = '/service/invoice/importInvoiceDetails'; | |
12014 | + function request( | |
12015 | + option: PostServiceInvoiceImportInvoiceDetailsOption, | |
12016 | + ): Promise<PostServiceInvoiceImportInvoiceDetailsResponseSuccess> { | |
12017 | + return requester(request.url, { | |
12018 | + method: request.method, | |
12019 | + ...option, | |
12020 | + }) as unknown as Promise<PostServiceInvoiceImportInvoiceDetailsResponseSuccess>; | |
12021 | + } | |
12022 | + | |
12023 | + /** http method */ | |
10646 | 12024 | request.method = method; |
10647 | 12025 | /** request url */ |
10648 | 12026 | request.url = url; |
10649 | 12027 | return request; |
10650 | 12028 | })(); |
10651 | 12029 | |
10652 | -/** @description request parameter type for postServiceInvoiceFindInvoice */ | |
10653 | -export interface PostServiceInvoiceFindInvoiceOption { | |
12030 | +/** @description request parameter type for postServiceInvoiceInvoiceWriteOff */ | |
12031 | +export interface PostServiceInvoiceInvoiceWriteOffOption { | |
10654 | 12032 | /** |
10655 | 12033 | * @description |
10656 | 12034 | * dto |
... | ... | @@ -10663,8 +12041,221 @@ export interface PostServiceInvoiceFindInvoiceOption { |
10663 | 12041 | }; |
10664 | 12042 | } |
10665 | 12043 | |
10666 | -/** @description response type for postServiceInvoiceFindInvoice */ | |
10667 | -export interface PostServiceInvoiceFindInvoiceResponse { | |
12044 | +/** @description response type for postServiceInvoiceInvoiceWriteOff */ | |
12045 | +export interface PostServiceInvoiceInvoiceWriteOffResponse { | |
12046 | + /** | |
12047 | + * @description | |
12048 | + * OK | |
12049 | + */ | |
12050 | + 200: ServerResult; | |
12051 | + /** | |
12052 | + * @description | |
12053 | + * Created | |
12054 | + */ | |
12055 | + 201: any; | |
12056 | + /** | |
12057 | + * @description | |
12058 | + * Unauthorized | |
12059 | + */ | |
12060 | + 401: any; | |
12061 | + /** | |
12062 | + * @description | |
12063 | + * Forbidden | |
12064 | + */ | |
12065 | + 403: any; | |
12066 | + /** | |
12067 | + * @description | |
12068 | + * Not Found | |
12069 | + */ | |
12070 | + 404: any; | |
12071 | +} | |
12072 | + | |
12073 | +export type PostServiceInvoiceInvoiceWriteOffResponseSuccess = | |
12074 | + PostServiceInvoiceInvoiceWriteOffResponse[200]; | |
12075 | +/** | |
12076 | + * @description | |
12077 | + * 发票核销 | |
12078 | + * @tags 发票 | |
12079 | + * @produces * | |
12080 | + * @consumes application/json | |
12081 | + */ | |
12082 | +export const postServiceInvoiceInvoiceWriteOff = /* #__PURE__ */ (() => { | |
12083 | + const method = 'post'; | |
12084 | + const url = '/service/invoice/invoiceWriteOff'; | |
12085 | + function request( | |
12086 | + option: PostServiceInvoiceInvoiceWriteOffOption, | |
12087 | + ): Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess> { | |
12088 | + return requester(request.url, { | |
12089 | + method: request.method, | |
12090 | + ...option, | |
12091 | + }) as unknown as Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess>; | |
12092 | + } | |
12093 | + | |
12094 | + /** http method */ | |
12095 | + request.method = method; | |
12096 | + /** request url */ | |
12097 | + request.url = url; | |
12098 | + return request; | |
12099 | +})(); | |
12100 | + | |
12101 | +/** @description request parameter type for postServiceInvoiceInvoicing */ | |
12102 | +export interface PostServiceInvoiceInvoicingOption { | |
12103 | + /** | |
12104 | + * @description | |
12105 | + * dto | |
12106 | + */ | |
12107 | + body: { | |
12108 | + /** | |
12109 | + @description | |
12110 | + dto */ | |
12111 | + dto: Dto; | |
12112 | + }; | |
12113 | +} | |
12114 | + | |
12115 | +/** @description response type for postServiceInvoiceInvoicing */ | |
12116 | +export interface PostServiceInvoiceInvoicingResponse { | |
12117 | + /** | |
12118 | + * @description | |
12119 | + * OK | |
12120 | + */ | |
12121 | + 200: ServerResult; | |
12122 | + /** | |
12123 | + * @description | |
12124 | + * Created | |
12125 | + */ | |
12126 | + 201: any; | |
12127 | + /** | |
12128 | + * @description | |
12129 | + * Unauthorized | |
12130 | + */ | |
12131 | + 401: any; | |
12132 | + /** | |
12133 | + * @description | |
12134 | + * Forbidden | |
12135 | + */ | |
12136 | + 403: any; | |
12137 | + /** | |
12138 | + * @description | |
12139 | + * Not Found | |
12140 | + */ | |
12141 | + 404: any; | |
12142 | +} | |
12143 | + | |
12144 | +export type PostServiceInvoiceInvoicingResponseSuccess = | |
12145 | + PostServiceInvoiceInvoicingResponse[200]; | |
12146 | +/** | |
12147 | + * @description | |
12148 | + * 开票 | |
12149 | + * @tags 发票 | |
12150 | + * @produces * | |
12151 | + * @consumes application/json | |
12152 | + */ | |
12153 | +export const postServiceInvoiceInvoicing = /* #__PURE__ */ (() => { | |
12154 | + const method = 'post'; | |
12155 | + const url = '/service/invoice/invoicing'; | |
12156 | + function request( | |
12157 | + option: PostServiceInvoiceInvoicingOption, | |
12158 | + ): Promise<PostServiceInvoiceInvoicingResponseSuccess> { | |
12159 | + return requester(request.url, { | |
12160 | + method: request.method, | |
12161 | + ...option, | |
12162 | + }) as unknown as Promise<PostServiceInvoiceInvoicingResponseSuccess>; | |
12163 | + } | |
12164 | + | |
12165 | + /** http method */ | |
12166 | + request.method = method; | |
12167 | + /** request url */ | |
12168 | + request.url = url; | |
12169 | + return request; | |
12170 | +})(); | |
12171 | + | |
12172 | +/** @description request parameter type for postServiceInvoiceModifyRecord */ | |
12173 | +export interface PostServiceInvoiceModifyRecordOption { | |
12174 | + /** | |
12175 | + * @description | |
12176 | + * dto | |
12177 | + */ | |
12178 | + body: { | |
12179 | + /** | |
12180 | + @description | |
12181 | + dto */ | |
12182 | + dto: InvoiceRecordDto; | |
12183 | + }; | |
12184 | +} | |
12185 | + | |
12186 | +/** @description response type for postServiceInvoiceModifyRecord */ | |
12187 | +export interface PostServiceInvoiceModifyRecordResponse { | |
12188 | + /** | |
12189 | + * @description | |
12190 | + * OK | |
12191 | + */ | |
12192 | + 200: ServerResult; | |
12193 | + /** | |
12194 | + * @description | |
12195 | + * Created | |
12196 | + */ | |
12197 | + 201: any; | |
12198 | + /** | |
12199 | + * @description | |
12200 | + * Unauthorized | |
12201 | + */ | |
12202 | + 401: any; | |
12203 | + /** | |
12204 | + * @description | |
12205 | + * Forbidden | |
12206 | + */ | |
12207 | + 403: any; | |
12208 | + /** | |
12209 | + * @description | |
12210 | + * Not Found | |
12211 | + */ | |
12212 | + 404: any; | |
12213 | +} | |
12214 | + | |
12215 | +export type PostServiceInvoiceModifyRecordResponseSuccess = | |
12216 | + PostServiceInvoiceModifyRecordResponse[200]; | |
12217 | +/** | |
12218 | + * @description | |
12219 | + * 修改开票记录 | |
12220 | + * @tags 发票 | |
12221 | + * @produces * | |
12222 | + * @consumes application/json | |
12223 | + */ | |
12224 | +export const postServiceInvoiceModifyRecord = /* #__PURE__ */ (() => { | |
12225 | + const method = 'post'; | |
12226 | + const url = '/service/invoice/modifyRecord'; | |
12227 | + function request( | |
12228 | + option: PostServiceInvoiceModifyRecordOption, | |
12229 | + ): Promise<PostServiceInvoiceModifyRecordResponseSuccess> { | |
12230 | + return requester(request.url, { | |
12231 | + method: request.method, | |
12232 | + ...option, | |
12233 | + }) as unknown as Promise<PostServiceInvoiceModifyRecordResponseSuccess>; | |
12234 | + } | |
12235 | + | |
12236 | + /** http method */ | |
12237 | + request.method = method; | |
12238 | + /** request url */ | |
12239 | + request.url = url; | |
12240 | + return request; | |
12241 | +})(); | |
12242 | + | |
12243 | +/** @description request parameter type for postServiceInvoiceQueryInvoice */ | |
12244 | +export interface PostServiceInvoiceQueryInvoiceOption { | |
12245 | + /** | |
12246 | + * @description | |
12247 | + * dto | |
12248 | + */ | |
12249 | + body: { | |
12250 | + /** | |
12251 | + @description | |
12252 | + dto */ | |
12253 | + dto: Dto; | |
12254 | + }; | |
12255 | +} | |
12256 | + | |
12257 | +/** @description response type for postServiceInvoiceQueryInvoice */ | |
12258 | +export interface PostServiceInvoiceQueryInvoiceResponse { | |
10668 | 12259 | /** |
10669 | 12260 | * @description |
10670 | 12261 | * OK |
... | ... | @@ -10692,25 +12283,25 @@ export interface PostServiceInvoiceFindInvoiceResponse { |
10692 | 12283 | 404: any; |
10693 | 12284 | } |
10694 | 12285 | |
10695 | -export type PostServiceInvoiceFindInvoiceResponseSuccess = | |
10696 | - PostServiceInvoiceFindInvoiceResponse[200]; | |
12286 | +export type PostServiceInvoiceQueryInvoiceResponseSuccess = | |
12287 | + PostServiceInvoiceQueryInvoiceResponse[200]; | |
10697 | 12288 | /** |
10698 | 12289 | * @description |
10699 | - * 不分页查询发票 | |
12290 | + * 发票页查询 | |
10700 | 12291 | * @tags 发票 |
10701 | 12292 | * @produces * |
10702 | 12293 | * @consumes application/json |
10703 | 12294 | */ |
10704 | -export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { | |
12295 | +export const postServiceInvoiceQueryInvoice = /* #__PURE__ */ (() => { | |
10705 | 12296 | const method = 'post'; |
10706 | - const url = '/service/invoice/findInvoice'; | |
12297 | + const url = '/service/invoice/queryInvoice'; | |
10707 | 12298 | function request( |
10708 | - option: PostServiceInvoiceFindInvoiceOption, | |
10709 | - ): Promise<PostServiceInvoiceFindInvoiceResponseSuccess> { | |
12299 | + option: PostServiceInvoiceQueryInvoiceOption, | |
12300 | + ): Promise<PostServiceInvoiceQueryInvoiceResponseSuccess> { | |
10710 | 12301 | return requester(request.url, { |
10711 | 12302 | method: request.method, |
10712 | 12303 | ...option, |
10713 | - }) as unknown as Promise<PostServiceInvoiceFindInvoiceResponseSuccess>; | |
12304 | + }) as unknown as Promise<PostServiceInvoiceQueryInvoiceResponseSuccess>; | |
10714 | 12305 | } |
10715 | 12306 | |
10716 | 12307 | /** http method */ |
... | ... | @@ -10720,8 +12311,8 @@ export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { |
10720 | 12311 | return request; |
10721 | 12312 | })(); |
10722 | 12313 | |
10723 | -/** @description request parameter type for postServiceInvoiceInvoiceWriteOff */ | |
10724 | -export interface PostServiceInvoiceInvoiceWriteOffOption { | |
12314 | +/** @description request parameter type for postServiceInvoiceQueryInvoiceDetail */ | |
12315 | +export interface PostServiceInvoiceQueryInvoiceDetailOption { | |
10725 | 12316 | /** |
10726 | 12317 | * @description |
10727 | 12318 | * dto |
... | ... | @@ -10730,12 +12321,12 @@ export interface PostServiceInvoiceInvoiceWriteOffOption { |
10730 | 12321 | /** |
10731 | 12322 | @description |
10732 | 12323 | dto */ |
10733 | - dto: Dto; | |
12324 | + dto: QueryInvoiceDetailDto; | |
10734 | 12325 | }; |
10735 | 12326 | } |
10736 | 12327 | |
10737 | -/** @description response type for postServiceInvoiceInvoiceWriteOff */ | |
10738 | -export interface PostServiceInvoiceInvoiceWriteOffResponse { | |
12328 | +/** @description response type for postServiceInvoiceQueryInvoiceDetail */ | |
12329 | +export interface PostServiceInvoiceQueryInvoiceDetailResponse { | |
10739 | 12330 | /** |
10740 | 12331 | * @description |
10741 | 12332 | * OK |
... | ... | @@ -10763,25 +12354,25 @@ export interface PostServiceInvoiceInvoiceWriteOffResponse { |
10763 | 12354 | 404: any; |
10764 | 12355 | } |
10765 | 12356 | |
10766 | -export type PostServiceInvoiceInvoiceWriteOffResponseSuccess = | |
10767 | - PostServiceInvoiceInvoiceWriteOffResponse[200]; | |
12357 | +export type PostServiceInvoiceQueryInvoiceDetailResponseSuccess = | |
12358 | + PostServiceInvoiceQueryInvoiceDetailResponse[200]; | |
10768 | 12359 | /** |
10769 | 12360 | * @description |
10770 | - * 发票核销 | |
12361 | + * 查看发票详情 | |
10771 | 12362 | * @tags 发票 |
10772 | 12363 | * @produces * |
10773 | 12364 | * @consumes application/json |
10774 | 12365 | */ |
10775 | -export const postServiceInvoiceInvoiceWriteOff = /* #__PURE__ */ (() => { | |
12366 | +export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { | |
10776 | 12367 | const method = 'post'; |
10777 | - const url = '/service/invoice/invoiceWriteOff'; | |
12368 | + const url = '/service/invoice/queryInvoiceDetail'; | |
10778 | 12369 | function request( |
10779 | - option: PostServiceInvoiceInvoiceWriteOffOption, | |
10780 | - ): Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess> { | |
12370 | + option: PostServiceInvoiceQueryInvoiceDetailOption, | |
12371 | + ): Promise<PostServiceInvoiceQueryInvoiceDetailResponseSuccess> { | |
10781 | 12372 | return requester(request.url, { |
10782 | 12373 | method: request.method, |
10783 | 12374 | ...option, |
10784 | - }) as unknown as Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess>; | |
12375 | + }) as unknown as Promise<PostServiceInvoiceQueryInvoiceDetailResponseSuccess>; | |
10785 | 12376 | } |
10786 | 12377 | |
10787 | 12378 | /** http method */ |
... | ... | @@ -10791,8 +12382,8 @@ export const postServiceInvoiceInvoiceWriteOff = /* #__PURE__ */ (() => { |
10791 | 12382 | return request; |
10792 | 12383 | })(); |
10793 | 12384 | |
10794 | -/** @description request parameter type for postServiceInvoiceQueryInvoice */ | |
10795 | -export interface PostServiceInvoiceQueryInvoiceOption { | |
12385 | +/** @description request parameter type for postServiceInvoiceQueryInvoiceRecordList */ | |
12386 | +export interface PostServiceInvoiceQueryInvoiceRecordListOption { | |
10796 | 12387 | /** |
10797 | 12388 | * @description |
10798 | 12389 | * dto |
... | ... | @@ -10801,12 +12392,12 @@ export interface PostServiceInvoiceQueryInvoiceOption { |
10801 | 12392 | /** |
10802 | 12393 | @description |
10803 | 12394 | dto */ |
10804 | - dto: Dto; | |
12395 | + dto: QueryInvoiceRecordDto; | |
10805 | 12396 | }; |
10806 | 12397 | } |
10807 | 12398 | |
10808 | -/** @description response type for postServiceInvoiceQueryInvoice */ | |
10809 | -export interface PostServiceInvoiceQueryInvoiceResponse { | |
12399 | +/** @description response type for postServiceInvoiceQueryInvoiceRecordList */ | |
12400 | +export interface PostServiceInvoiceQueryInvoiceRecordListResponse { | |
10810 | 12401 | /** |
10811 | 12402 | * @description |
10812 | 12403 | * OK |
... | ... | @@ -10834,25 +12425,25 @@ export interface PostServiceInvoiceQueryInvoiceResponse { |
10834 | 12425 | 404: any; |
10835 | 12426 | } |
10836 | 12427 | |
10837 | -export type PostServiceInvoiceQueryInvoiceResponseSuccess = | |
10838 | - PostServiceInvoiceQueryInvoiceResponse[200]; | |
12428 | +export type PostServiceInvoiceQueryInvoiceRecordListResponseSuccess = | |
12429 | + PostServiceInvoiceQueryInvoiceRecordListResponse[200]; | |
10839 | 12430 | /** |
10840 | 12431 | * @description |
10841 | - * 发票页查询 | |
12432 | + * 获取开票记录列表 | |
10842 | 12433 | * @tags 发票 |
10843 | 12434 | * @produces * |
10844 | 12435 | * @consumes application/json |
10845 | 12436 | */ |
10846 | -export const postServiceInvoiceQueryInvoice = /* #__PURE__ */ (() => { | |
12437 | +export const postServiceInvoiceQueryInvoiceRecordList = /* #__PURE__ */ (() => { | |
10847 | 12438 | const method = 'post'; |
10848 | - const url = '/service/invoice/queryInvoice'; | |
12439 | + const url = '/service/invoice/queryInvoiceRecordList'; | |
10849 | 12440 | function request( |
10850 | - option: PostServiceInvoiceQueryInvoiceOption, | |
10851 | - ): Promise<PostServiceInvoiceQueryInvoiceResponseSuccess> { | |
12441 | + option: PostServiceInvoiceQueryInvoiceRecordListOption, | |
12442 | + ): Promise<PostServiceInvoiceQueryInvoiceRecordListResponseSuccess> { | |
10852 | 12443 | return requester(request.url, { |
10853 | 12444 | method: request.method, |
10854 | 12445 | ...option, |
10855 | - }) as unknown as Promise<PostServiceInvoiceQueryInvoiceResponseSuccess>; | |
12446 | + }) as unknown as Promise<PostServiceInvoiceQueryInvoiceRecordListResponseSuccess>; | |
10856 | 12447 | } |
10857 | 12448 | |
10858 | 12449 | /** http method */ |
... | ... | @@ -10862,8 +12453,57 @@ export const postServiceInvoiceQueryInvoice = /* #__PURE__ */ (() => { |
10862 | 12453 | return request; |
10863 | 12454 | })(); |
10864 | 12455 | |
10865 | -/** @description request parameter type for postServiceInvoiceQueryInvoiceDetail */ | |
10866 | -export interface PostServiceInvoiceQueryInvoiceDetailOption { | |
12456 | +/** @description response type for getServiceInvoiceQueryReadyInvoiceRecordList */ | |
12457 | +export interface GetServiceInvoiceQueryReadyInvoiceRecordListResponse { | |
12458 | + /** | |
12459 | + * @description | |
12460 | + * OK | |
12461 | + */ | |
12462 | + 200: ServerResult; | |
12463 | + /** | |
12464 | + * @description | |
12465 | + * Unauthorized | |
12466 | + */ | |
12467 | + 401: any; | |
12468 | + /** | |
12469 | + * @description | |
12470 | + * Forbidden | |
12471 | + */ | |
12472 | + 403: any; | |
12473 | + /** | |
12474 | + * @description | |
12475 | + * Not Found | |
12476 | + */ | |
12477 | + 404: any; | |
12478 | +} | |
12479 | + | |
12480 | +export type GetServiceInvoiceQueryReadyInvoiceRecordListResponseSuccess = | |
12481 | + GetServiceInvoiceQueryReadyInvoiceRecordListResponse[200]; | |
12482 | +/** | |
12483 | + * @description | |
12484 | + * 获取要开票记录列表 | |
12485 | + * @tags 发票 | |
12486 | + * @produces * | |
12487 | + */ | |
12488 | +export const getServiceInvoiceQueryReadyInvoiceRecordList = | |
12489 | + /* #__PURE__ */ (() => { | |
12490 | + const method = 'get'; | |
12491 | + const url = '/service/invoice/queryReadyInvoiceRecordList'; | |
12492 | + function request(): Promise<GetServiceInvoiceQueryReadyInvoiceRecordListResponseSuccess> { | |
12493 | + return requester(request.url, { | |
12494 | + method: request.method, | |
12495 | + }) as unknown as Promise<GetServiceInvoiceQueryReadyInvoiceRecordListResponseSuccess>; | |
12496 | + } | |
12497 | + | |
12498 | + /** http method */ | |
12499 | + request.method = method; | |
12500 | + /** request url */ | |
12501 | + request.url = url; | |
12502 | + return request; | |
12503 | + })(); | |
12504 | + | |
12505 | +/** @description request parameter type for postServiceInvoiceReissue */ | |
12506 | +export interface PostServiceInvoiceReissueOption { | |
10867 | 12507 | /** |
10868 | 12508 | * @description |
10869 | 12509 | * dto |
... | ... | @@ -10872,12 +12512,12 @@ export interface PostServiceInvoiceQueryInvoiceDetailOption { |
10872 | 12512 | /** |
10873 | 12513 | @description |
10874 | 12514 | dto */ |
10875 | - dto: QueryInvoiceDetailDto; | |
12515 | + dto: ReissueInvoiceDto; | |
10876 | 12516 | }; |
10877 | 12517 | } |
10878 | 12518 | |
10879 | -/** @description response type for postServiceInvoiceQueryInvoiceDetail */ | |
10880 | -export interface PostServiceInvoiceQueryInvoiceDetailResponse { | |
12519 | +/** @description response type for postServiceInvoiceReissue */ | |
12520 | +export interface PostServiceInvoiceReissueResponse { | |
10881 | 12521 | /** |
10882 | 12522 | * @description |
10883 | 12523 | * OK |
... | ... | @@ -10905,25 +12545,25 @@ export interface PostServiceInvoiceQueryInvoiceDetailResponse { |
10905 | 12545 | 404: any; |
10906 | 12546 | } |
10907 | 12547 | |
10908 | -export type PostServiceInvoiceQueryInvoiceDetailResponseSuccess = | |
10909 | - PostServiceInvoiceQueryInvoiceDetailResponse[200]; | |
12548 | +export type PostServiceInvoiceReissueResponseSuccess = | |
12549 | + PostServiceInvoiceReissueResponse[200]; | |
10910 | 12550 | /** |
10911 | 12551 | * @description |
10912 | - * 查看发票详情 | |
12552 | + * 重新开票 | |
10913 | 12553 | * @tags 发票 |
10914 | 12554 | * @produces * |
10915 | 12555 | * @consumes application/json |
10916 | 12556 | */ |
10917 | -export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { | |
12557 | +export const postServiceInvoiceReissue = /* #__PURE__ */ (() => { | |
10918 | 12558 | const method = 'post'; |
10919 | - const url = '/service/invoice/queryInvoiceDetail'; | |
12559 | + const url = '/service/invoice/reissue'; | |
10920 | 12560 | function request( |
10921 | - option: PostServiceInvoiceQueryInvoiceDetailOption, | |
10922 | - ): Promise<PostServiceInvoiceQueryInvoiceDetailResponseSuccess> { | |
12561 | + option: PostServiceInvoiceReissueOption, | |
12562 | + ): Promise<PostServiceInvoiceReissueResponseSuccess> { | |
10923 | 12563 | return requester(request.url, { |
10924 | 12564 | method: request.method, |
10925 | 12565 | ...option, |
10926 | - }) as unknown as Promise<PostServiceInvoiceQueryInvoiceDetailResponseSuccess>; | |
12566 | + }) as unknown as Promise<PostServiceInvoiceReissueResponseSuccess>; | |
10927 | 12567 | } |
10928 | 12568 | |
10929 | 12569 | /** http method */ |
... | ... | @@ -10933,8 +12573,8 @@ export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { |
10933 | 12573 | return request; |
10934 | 12574 | })(); |
10935 | 12575 | |
10936 | -/** @description request parameter type for postServiceInvoiceReissue */ | |
10937 | -export interface PostServiceInvoiceReissueOption { | |
12576 | +/** @description request parameter type for postServiceInvoiceUrgentInvoicing */ | |
12577 | +export interface PostServiceInvoiceUrgentInvoicingOption { | |
10938 | 12578 | /** |
10939 | 12579 | * @description |
10940 | 12580 | * dto |
... | ... | @@ -10943,12 +12583,12 @@ export interface PostServiceInvoiceReissueOption { |
10943 | 12583 | /** |
10944 | 12584 | @description |
10945 | 12585 | dto */ |
10946 | - dto: ReissueInvoiceDto; | |
12586 | + dto: AuditDto; | |
10947 | 12587 | }; |
10948 | 12588 | } |
10949 | 12589 | |
10950 | -/** @description response type for postServiceInvoiceReissue */ | |
10951 | -export interface PostServiceInvoiceReissueResponse { | |
12590 | +/** @description response type for postServiceInvoiceUrgentInvoicing */ | |
12591 | +export interface PostServiceInvoiceUrgentInvoicingResponse { | |
10952 | 12592 | /** |
10953 | 12593 | * @description |
10954 | 12594 | * OK |
... | ... | @@ -10976,25 +12616,25 @@ export interface PostServiceInvoiceReissueResponse { |
10976 | 12616 | 404: any; |
10977 | 12617 | } |
10978 | 12618 | |
10979 | -export type PostServiceInvoiceReissueResponseSuccess = | |
10980 | - PostServiceInvoiceReissueResponse[200]; | |
12619 | +export type PostServiceInvoiceUrgentInvoicingResponseSuccess = | |
12620 | + PostServiceInvoiceUrgentInvoicingResponse[200]; | |
10981 | 12621 | /** |
10982 | 12622 | * @description |
10983 | - * 重新开票 | |
12623 | + * 加急开票审核 | |
10984 | 12624 | * @tags 发票 |
10985 | 12625 | * @produces * |
10986 | 12626 | * @consumes application/json |
10987 | 12627 | */ |
10988 | -export const postServiceInvoiceReissue = /* #__PURE__ */ (() => { | |
12628 | +export const postServiceInvoiceUrgentInvoicing = /* #__PURE__ */ (() => { | |
10989 | 12629 | const method = 'post'; |
10990 | - const url = '/service/invoice/reissue'; | |
12630 | + const url = '/service/invoice/urgentInvoicing'; | |
10991 | 12631 | function request( |
10992 | - option: PostServiceInvoiceReissueOption, | |
10993 | - ): Promise<PostServiceInvoiceReissueResponseSuccess> { | |
12632 | + option: PostServiceInvoiceUrgentInvoicingOption, | |
12633 | + ): Promise<PostServiceInvoiceUrgentInvoicingResponseSuccess> { | |
10994 | 12634 | return requester(request.url, { |
10995 | 12635 | method: request.method, |
10996 | 12636 | ...option, |
10997 | - }) as unknown as Promise<PostServiceInvoiceReissueResponseSuccess>; | |
12637 | + }) as unknown as Promise<PostServiceInvoiceUrgentInvoicingResponseSuccess>; | |
10998 | 12638 | } |
10999 | 12639 | |
11000 | 12640 | /** http method */ |
... | ... | @@ -12209,6 +13849,77 @@ export const postServiceOrderFinanceCheckOrder = /* #__PURE__ */ (() => { |
12209 | 13849 | return request; |
12210 | 13850 | })(); |
12211 | 13851 | |
13852 | +/** @description request parameter type for postServiceOrderFindInvoiceUrgentInfo */ | |
13853 | +export interface PostServiceOrderFindInvoiceUrgentInfoOption { | |
13854 | + /** | |
13855 | + * @description | |
13856 | + * ids | |
13857 | + */ | |
13858 | + body: { | |
13859 | + /** | |
13860 | + @description | |
13861 | + ids */ | |
13862 | + ids: Array<number>; | |
13863 | + }; | |
13864 | +} | |
13865 | + | |
13866 | +/** @description response type for postServiceOrderFindInvoiceUrgentInfo */ | |
13867 | +export interface PostServiceOrderFindInvoiceUrgentInfoResponse { | |
13868 | + /** | |
13869 | + * @description | |
13870 | + * OK | |
13871 | + */ | |
13872 | + 200: ServerResult; | |
13873 | + /** | |
13874 | + * @description | |
13875 | + * Created | |
13876 | + */ | |
13877 | + 201: any; | |
13878 | + /** | |
13879 | + * @description | |
13880 | + * Unauthorized | |
13881 | + */ | |
13882 | + 401: any; | |
13883 | + /** | |
13884 | + * @description | |
13885 | + * Forbidden | |
13886 | + */ | |
13887 | + 403: any; | |
13888 | + /** | |
13889 | + * @description | |
13890 | + * Not Found | |
13891 | + */ | |
13892 | + 404: any; | |
13893 | +} | |
13894 | + | |
13895 | +export type PostServiceOrderFindInvoiceUrgentInfoResponseSuccess = | |
13896 | + PostServiceOrderFindInvoiceUrgentInfoResponse[200]; | |
13897 | +/** | |
13898 | + * @description | |
13899 | + * 获取子订单正在加急开票的开票信息 | |
13900 | + * @tags 内部订单 | |
13901 | + * @produces * | |
13902 | + * @consumes application/json | |
13903 | + */ | |
13904 | +export const postServiceOrderFindInvoiceUrgentInfo = /* #__PURE__ */ (() => { | |
13905 | + const method = 'post'; | |
13906 | + const url = '/service/order/findInvoiceUrgentInfo'; | |
13907 | + function request( | |
13908 | + option: PostServiceOrderFindInvoiceUrgentInfoOption, | |
13909 | + ): Promise<PostServiceOrderFindInvoiceUrgentInfoResponseSuccess> { | |
13910 | + return requester(request.url, { | |
13911 | + method: request.method, | |
13912 | + ...option, | |
13913 | + }) as unknown as Promise<PostServiceOrderFindInvoiceUrgentInfoResponseSuccess>; | |
13914 | + } | |
13915 | + | |
13916 | + /** http method */ | |
13917 | + request.method = method; | |
13918 | + /** request url */ | |
13919 | + request.url = url; | |
13920 | + return request; | |
13921 | +})(); | |
13922 | + | |
12212 | 13923 | /** @description request parameter type for postServiceOrderFindServiceOrder */ |
12213 | 13924 | export interface PostServiceOrderFindServiceOrderOption { |
12214 | 13925 | /** |
... | ... | @@ -12353,6 +14064,77 @@ export const postServiceOrderGetCurrentOptNode = /* #__PURE__ */ (() => { |
12353 | 14064 | return request; |
12354 | 14065 | })(); |
12355 | 14066 | |
14067 | +/** @description request parameter type for postServiceOrderGetReissueInfo */ | |
14068 | +export interface PostServiceOrderGetReissueInfoOption { | |
14069 | + /** | |
14070 | + * @description | |
14071 | + * ids | |
14072 | + */ | |
14073 | + body: { | |
14074 | + /** | |
14075 | + @description | |
14076 | + ids */ | |
14077 | + ids: Array<number>; | |
14078 | + }; | |
14079 | +} | |
14080 | + | |
14081 | +/** @description response type for postServiceOrderGetReissueInfo */ | |
14082 | +export interface PostServiceOrderGetReissueInfoResponse { | |
14083 | + /** | |
14084 | + * @description | |
14085 | + * OK | |
14086 | + */ | |
14087 | + 200: ServerResult; | |
14088 | + /** | |
14089 | + * @description | |
14090 | + * Created | |
14091 | + */ | |
14092 | + 201: any; | |
14093 | + /** | |
14094 | + * @description | |
14095 | + * Unauthorized | |
14096 | + */ | |
14097 | + 401: any; | |
14098 | + /** | |
14099 | + * @description | |
14100 | + * Forbidden | |
14101 | + */ | |
14102 | + 403: any; | |
14103 | + /** | |
14104 | + * @description | |
14105 | + * Not Found | |
14106 | + */ | |
14107 | + 404: any; | |
14108 | +} | |
14109 | + | |
14110 | +export type PostServiceOrderGetReissueInfoResponseSuccess = | |
14111 | + PostServiceOrderGetReissueInfoResponse[200]; | |
14112 | +/** | |
14113 | + * @description | |
14114 | + * 获取订单重新开票的发票信息 | |
14115 | + * @tags 内部订单 | |
14116 | + * @produces * | |
14117 | + * @consumes application/json | |
14118 | + */ | |
14119 | +export const postServiceOrderGetReissueInfo = /* #__PURE__ */ (() => { | |
14120 | + const method = 'post'; | |
14121 | + const url = '/service/order/getReissueInfo'; | |
14122 | + function request( | |
14123 | + option: PostServiceOrderGetReissueInfoOption, | |
14124 | + ): Promise<PostServiceOrderGetReissueInfoResponseSuccess> { | |
14125 | + return requester(request.url, { | |
14126 | + method: request.method, | |
14127 | + ...option, | |
14128 | + }) as unknown as Promise<PostServiceOrderGetReissueInfoResponseSuccess>; | |
14129 | + } | |
14130 | + | |
14131 | + /** http method */ | |
14132 | + request.method = method; | |
14133 | + /** request url */ | |
14134 | + request.url = url; | |
14135 | + return request; | |
14136 | +})(); | |
14137 | + | |
12356 | 14138 | /** @description request parameter type for postServiceOrderImportExcel */ |
12357 | 14139 | export interface PostServiceOrderImportExcelOption { |
12358 | 14140 | /** | ... | ... |