Commit a43c099dfb150aa29471f18282015c5f3250a24e
1 parent
de64c07c
feat: 重新开票功能bug修复
Showing
4 changed files
with
496 additions
and
9 deletions
src/pages/Invoice/constant.tsx
@@ -175,14 +175,14 @@ export const BANK_STATEMENT_COLUMNS = [ | @@ -175,14 +175,14 @@ export const BANK_STATEMENT_COLUMNS = [ | ||
175 | width: 100, | 175 | width: 100, |
176 | }, | 176 | }, |
177 | { | 177 | { |
178 | - dataIndex: 'collectionDate', | 178 | + dataIndex: 'collectionDatetime', |
179 | title: '收款时间', | 179 | title: '收款时间', |
180 | valueType: 'date', | 180 | valueType: 'date', |
181 | width: 100, | 181 | width: 100, |
182 | hideInSearch: true, | 182 | hideInSearch: true, |
183 | }, | 183 | }, |
184 | { | 184 | { |
185 | - dataIndex: 'collectionDateSearch', | 185 | + dataIndex: 'collectionDatetimeSearch', |
186 | title: '收款时间', | 186 | title: '收款时间', |
187 | valueType: 'dateRange', | 187 | valueType: 'dateRange', |
188 | width: 100, | 188 | width: 100, |
@@ -191,8 +191,8 @@ export const BANK_STATEMENT_COLUMNS = [ | @@ -191,8 +191,8 @@ export const BANK_STATEMENT_COLUMNS = [ | ||
191 | transform: (value) => { | 191 | transform: (value) => { |
192 | if (value) { | 192 | if (value) { |
193 | return { | 193 | return { |
194 | - collectionDateBegin: value[0], | ||
195 | - collectionDateEnd: value[1], | 194 | + collectionDatetimeBegin: value[0], |
195 | + collectionDatetimeEnd: value[1], | ||
196 | }; | 196 | }; |
197 | } | 197 | } |
198 | }, | 198 | }, |
src/pages/Order/components/ReissueModal.tsx
@@ -32,7 +32,7 @@ export default ({ setVisible, mainOrder, onClose }) => { | @@ -32,7 +32,7 @@ export default ({ setVisible, mainOrder, onClose }) => { | ||
32 | let temInvoiceSelectList = []; | 32 | let temInvoiceSelectList = []; |
33 | res.data.forEach((item) => { | 33 | res.data.forEach((item) => { |
34 | temInvoiceSelectList.push({ | 34 | temInvoiceSelectList.push({ |
35 | - label: item.id, | 35 | + label: item.invoiceNumber, |
36 | value: item.id, | 36 | value: item.id, |
37 | }); | 37 | }); |
38 | }); | 38 | }); |
src/services/definition.ts
@@ -500,6 +500,12 @@ export interface ApiQueryOrderStatusCountsRequest { | @@ -500,6 +500,12 @@ export interface ApiQueryOrderStatusCountsRequest { | ||
500 | } | 500 | } |
501 | 501 | ||
502 | export interface AuditDto { | 502 | export interface AuditDto { |
503 | + /** | ||
504 | + * @description | ||
505 | + * 主订单id | ||
506 | + * @format int64 | ||
507 | + */ | ||
508 | + mainOrderId?: number; | ||
503 | notes?: string; | 509 | notes?: string; |
504 | /** | 510 | /** |
505 | * @description | 511 | * @description |
@@ -854,6 +860,22 @@ export interface InventoryMaterialStockReq { | @@ -854,6 +860,22 @@ export interface InventoryMaterialStockReq { | ||
854 | materialId?: string; | 860 | materialId?: string; |
855 | } | 861 | } |
856 | 862 | ||
863 | +export interface InvoiceRecordQueryRequest { | ||
864 | + /** @format date */ | ||
865 | + createTimeGe?: string; | ||
866 | + /** @format date */ | ||
867 | + createTimeLe?: string; | ||
868 | + /** @format int32 */ | ||
869 | + pageNumber?: number; | ||
870 | + /** @format int32 */ | ||
871 | + pageSize?: number; | ||
872 | + /** | ||
873 | + * @description | ||
874 | + * 用户id | ||
875 | + */ | ||
876 | + uid?: string; | ||
877 | +} | ||
878 | + | ||
857 | export interface Item { | 879 | export interface Item { |
858 | billDate?: string; | 880 | billDate?: string; |
859 | billNo?: string; | 881 | billNo?: string; |
@@ -867,6 +889,20 @@ export interface ItemSaItem { | @@ -867,6 +889,20 @@ export interface ItemSaItem { | ||
867 | itemValue?: string; | 889 | itemValue?: string; |
868 | } | 890 | } |
869 | 891 | ||
892 | +export interface MainOrderqueryRequest { | ||
893 | + afterInvoicingStatusIsNull?: boolean; | ||
894 | + orderStatusNotIn?: Array<string>; | ||
895 | + /** @format int32 */ | ||
896 | + pageNumber?: number; | ||
897 | + /** @format int32 */ | ||
898 | + pageSize?: number; | ||
899 | + /** | ||
900 | + * @description | ||
901 | + * 用户id | ||
902 | + */ | ||
903 | + uid?: string; | ||
904 | +} | ||
905 | + | ||
870 | export interface MaterialListReply { | 906 | export interface MaterialListReply { |
871 | count?: string; | 907 | count?: string; |
872 | /** @format int32 */ | 908 | /** @format int32 */ |
@@ -1413,13 +1449,13 @@ export interface QueryBankStatementDto { | @@ -1413,13 +1449,13 @@ export interface QueryBankStatementDto { | ||
1413 | * collection_date | 1449 | * collection_date |
1414 | * @format date | 1450 | * @format date |
1415 | */ | 1451 | */ |
1416 | - collectionDateBegin?: string; | 1452 | + collectionDatetimeBegin?: string; |
1417 | /** | 1453 | /** |
1418 | * @description | 1454 | * @description |
1419 | * collection_date | 1455 | * collection_date |
1420 | * @format date | 1456 | * @format date |
1421 | */ | 1457 | */ |
1422 | - collectionDateEnd?: string; | 1458 | + collectionDatetimeEnd?: string; |
1423 | /** @format int32 */ | 1459 | /** @format int32 */ |
1424 | current?: number; | 1460 | current?: number; |
1425 | /** @format int64 */ | 1461 | /** @format int64 */ |
@@ -1529,8 +1565,6 @@ export interface QueryReportFormsDto { | @@ -1529,8 +1565,6 @@ export interface QueryReportFormsDto { | ||
1529 | export interface ReissueInvoiceDto { | 1565 | export interface ReissueInvoiceDto { |
1530 | /** @format int64 */ | 1566 | /** @format int64 */ |
1531 | invoiceId?: number; | 1567 | invoiceId?: number; |
1532 | - invoiceNumber?: string; | ||
1533 | - mainOrderIds?: Array<number>; | ||
1534 | notes?: string; | 1568 | notes?: string; |
1535 | } | 1569 | } |
1536 | 1570 | ||
@@ -1984,6 +2018,101 @@ export interface SalesRechargePrepaymentUpdateRequest { | @@ -1984,6 +2018,101 @@ export interface SalesRechargePrepaymentUpdateRequest { | ||
1984 | salesCode?: string; | 2018 | salesCode?: string; |
1985 | } | 2019 | } |
1986 | 2020 | ||
2021 | +/** | ||
2022 | + * @description | ||
2023 | + * 开票添加对象 | ||
2024 | + */ | ||
2025 | +export interface StoreOrderInvoiceRequest { | ||
2026 | + /** | ||
2027 | + * @description | ||
2028 | + * 开票备注 | ||
2029 | + */ | ||
2030 | + comment?: string; | ||
2031 | + /** | ||
2032 | + * @description | ||
2033 | + * 开票内容 | ||
2034 | + */ | ||
2035 | + content?: string; | ||
2036 | + /** | ||
2037 | + * @description | ||
2038 | + * 创建时间 | ||
2039 | + * @format date-time | ||
2040 | + */ | ||
2041 | + createTime?: string; | ||
2042 | + /** | ||
2043 | + * @description | ||
2044 | + * 关联订单id | ||
2045 | + */ | ||
2046 | + orderIdList?: Array<number>; | ||
2047 | + /** | ||
2048 | + * @description | ||
2049 | + * 买方注册地址 | ||
2050 | + */ | ||
2051 | + partyAAddress?: string; | ||
2052 | + /** | ||
2053 | + * @description | ||
2054 | + * 买方开户行账号 | ||
2055 | + */ | ||
2056 | + partyABankAccount?: string; | ||
2057 | + /** | ||
2058 | + * @description | ||
2059 | + * 买方名称 | ||
2060 | + */ | ||
2061 | + partyAName?: string; | ||
2062 | + /** | ||
2063 | + * @description | ||
2064 | + * 买方开户行 | ||
2065 | + */ | ||
2066 | + partyAOpenBank?: string; | ||
2067 | + /** | ||
2068 | + * @description | ||
2069 | + * 买方电话号码 | ||
2070 | + */ | ||
2071 | + partyAPhoneNumber?: string; | ||
2072 | + /** | ||
2073 | + * @description | ||
2074 | + * 买方税号 | ||
2075 | + */ | ||
2076 | + partyATaxid?: string; | ||
2077 | + /** | ||
2078 | + * @description | ||
2079 | + * 抬头类型 | ||
2080 | + */ | ||
2081 | + partyAType?: string; | ||
2082 | + /** | ||
2083 | + * @description | ||
2084 | + * 卖方名称 | ||
2085 | + */ | ||
2086 | + partyBName?: string; | ||
2087 | + /** | ||
2088 | + * @description | ||
2089 | + * 发票金额 | ||
2090 | + * @format double | ||
2091 | + */ | ||
2092 | + price?: number; | ||
2093 | + /** | ||
2094 | + * @description | ||
2095 | + * 接收邮箱地址 | ||
2096 | + */ | ||
2097 | + receiveEmail?: string; | ||
2098 | + /** | ||
2099 | + * @description | ||
2100 | + * 发票类型 | ||
2101 | + */ | ||
2102 | + type?: string; | ||
2103 | + /** | ||
2104 | + * @description | ||
2105 | + * 用户id | ||
2106 | + */ | ||
2107 | + uid?: string; | ||
2108 | + /** | ||
2109 | + * @description | ||
2110 | + * 更新时间 | ||
2111 | + * @format date-time | ||
2112 | + */ | ||
2113 | + updateTime?: string; | ||
2114 | +} | ||
2115 | + | ||
1987 | export interface UploadPaymentReceiptDTO { | 2116 | export interface UploadPaymentReceiptDTO { |
1988 | /** | 2117 | /** |
1989 | * @description | 2118 | * @description |
src/services/request.ts
@@ -41,6 +41,8 @@ import type { | @@ -41,6 +41,8 @@ import type { | ||
41 | DictionaryVO, | 41 | DictionaryVO, |
42 | Dto, | 42 | Dto, |
43 | InventoryMaterialStockReq, | 43 | InventoryMaterialStockReq, |
44 | + InvoiceRecordQueryRequest, | ||
45 | + MainOrderqueryRequest, | ||
44 | MaterialListReply, | 46 | MaterialListReply, |
45 | MaterialMaterialListReq, | 47 | MaterialMaterialListReq, |
46 | MaterialStockRes, | 48 | MaterialStockRes, |
@@ -79,6 +81,7 @@ import type { | @@ -79,6 +81,7 @@ import type { | ||
79 | SaveReply, | 81 | SaveReply, |
80 | ServerResult, | 82 | ServerResult, |
81 | ShippingWarehouseChangeDto, | 83 | ShippingWarehouseChangeDto, |
84 | + StoreOrderInvoiceRequest, | ||
82 | SysLogQueryVO, | 85 | SysLogQueryVO, |
83 | SystemCustomFieldReq, | 86 | SystemCustomFieldReq, |
84 | ToProcureAuditDto, | 87 | ToProcureAuditDto, |
@@ -475,6 +478,148 @@ export const postApiOrderCreateOrder = /* #__PURE__ */ (() => { | @@ -475,6 +478,148 @@ export const postApiOrderCreateOrder = /* #__PURE__ */ (() => { | ||
475 | return request; | 478 | return request; |
476 | })(); | 479 | })(); |
477 | 480 | ||
481 | +/** @description request parameter type for postApiOrderInvoicedOrderList */ | ||
482 | +export interface PostApiOrderInvoicedOrderListOption { | ||
483 | + /** | ||
484 | + * @description | ||
485 | + * request | ||
486 | + */ | ||
487 | + body: { | ||
488 | + /** | ||
489 | + @description | ||
490 | + request */ | ||
491 | + request: MainOrderqueryRequest; | ||
492 | + }; | ||
493 | +} | ||
494 | + | ||
495 | +/** @description response type for postApiOrderInvoicedOrderList */ | ||
496 | +export interface PostApiOrderInvoicedOrderListResponse { | ||
497 | + /** | ||
498 | + * @description | ||
499 | + * OK | ||
500 | + */ | ||
501 | + 200: ServerResult; | ||
502 | + /** | ||
503 | + * @description | ||
504 | + * Created | ||
505 | + */ | ||
506 | + 201: any; | ||
507 | + /** | ||
508 | + * @description | ||
509 | + * Unauthorized | ||
510 | + */ | ||
511 | + 401: any; | ||
512 | + /** | ||
513 | + * @description | ||
514 | + * Forbidden | ||
515 | + */ | ||
516 | + 403: any; | ||
517 | + /** | ||
518 | + * @description | ||
519 | + * Not Found | ||
520 | + */ | ||
521 | + 404: any; | ||
522 | +} | ||
523 | + | ||
524 | +export type PostApiOrderInvoicedOrderListResponseSuccess = | ||
525 | + PostApiOrderInvoicedOrderListResponse[200]; | ||
526 | +/** | ||
527 | + * @description | ||
528 | + * 获取已开票订单 | ||
529 | + * @tags 内部订单 | ||
530 | + * @produces * | ||
531 | + * @consumes application/json | ||
532 | + */ | ||
533 | +export const postApiOrderInvoicedOrderList = /* #__PURE__ */ (() => { | ||
534 | + const method = 'post'; | ||
535 | + const url = '/api/order/invoicedOrderList'; | ||
536 | + function request( | ||
537 | + option: PostApiOrderInvoicedOrderListOption, | ||
538 | + ): Promise<PostApiOrderInvoicedOrderListResponseSuccess> { | ||
539 | + return requester(request.url, { | ||
540 | + method: request.method, | ||
541 | + ...option, | ||
542 | + }) as unknown as Promise<PostApiOrderInvoicedOrderListResponseSuccess>; | ||
543 | + } | ||
544 | + | ||
545 | + /** http method */ | ||
546 | + request.method = method; | ||
547 | + /** request url */ | ||
548 | + request.url = url; | ||
549 | + return request; | ||
550 | +})(); | ||
551 | + | ||
552 | +/** @description request parameter type for postApiOrderInvoicedRecordList */ | ||
553 | +export interface PostApiOrderInvoicedRecordListOption { | ||
554 | + /** | ||
555 | + * @description | ||
556 | + * request | ||
557 | + */ | ||
558 | + body: { | ||
559 | + /** | ||
560 | + @description | ||
561 | + request */ | ||
562 | + request: InvoiceRecordQueryRequest; | ||
563 | + }; | ||
564 | +} | ||
565 | + | ||
566 | +/** @description response type for postApiOrderInvoicedRecordList */ | ||
567 | +export interface PostApiOrderInvoicedRecordListResponse { | ||
568 | + /** | ||
569 | + * @description | ||
570 | + * OK | ||
571 | + */ | ||
572 | + 200: ServerResult; | ||
573 | + /** | ||
574 | + * @description | ||
575 | + * Created | ||
576 | + */ | ||
577 | + 201: any; | ||
578 | + /** | ||
579 | + * @description | ||
580 | + * Unauthorized | ||
581 | + */ | ||
582 | + 401: any; | ||
583 | + /** | ||
584 | + * @description | ||
585 | + * Forbidden | ||
586 | + */ | ||
587 | + 403: any; | ||
588 | + /** | ||
589 | + * @description | ||
590 | + * Not Found | ||
591 | + */ | ||
592 | + 404: any; | ||
593 | +} | ||
594 | + | ||
595 | +export type PostApiOrderInvoicedRecordListResponseSuccess = | ||
596 | + PostApiOrderInvoicedRecordListResponse[200]; | ||
597 | +/** | ||
598 | + * @description | ||
599 | + * 获取开票记录 | ||
600 | + * @tags 内部订单 | ||
601 | + * @produces * | ||
602 | + * @consumes application/json | ||
603 | + */ | ||
604 | +export const postApiOrderInvoicedRecordList = /* #__PURE__ */ (() => { | ||
605 | + const method = 'post'; | ||
606 | + const url = '/api/order/invoicedRecordList'; | ||
607 | + function request( | ||
608 | + option: PostApiOrderInvoicedRecordListOption, | ||
609 | + ): Promise<PostApiOrderInvoicedRecordListResponseSuccess> { | ||
610 | + return requester(request.url, { | ||
611 | + method: request.method, | ||
612 | + ...option, | ||
613 | + }) as unknown as Promise<PostApiOrderInvoicedRecordListResponseSuccess>; | ||
614 | + } | ||
615 | + | ||
616 | + /** http method */ | ||
617 | + request.method = method; | ||
618 | + /** request url */ | ||
619 | + request.url = url; | ||
620 | + return request; | ||
621 | +})(); | ||
622 | + | ||
478 | /** @description request parameter type for postApiOrderQueryOrderDetail */ | 623 | /** @description request parameter type for postApiOrderQueryOrderDetail */ |
479 | export interface PostApiOrderQueryOrderDetailOption { | 624 | export interface PostApiOrderQueryOrderDetailOption { |
480 | /** | 625 | /** |
@@ -688,6 +833,148 @@ export const postApiOrderQueryServiceOrder = /* #__PURE__ */ (() => { | @@ -688,6 +833,148 @@ export const postApiOrderQueryServiceOrder = /* #__PURE__ */ (() => { | ||
688 | return request; | 833 | return request; |
689 | })(); | 834 | })(); |
690 | 835 | ||
836 | +/** @description request parameter type for postApiOrderStoreApplyInvoice */ | ||
837 | +export interface PostApiOrderStoreApplyInvoiceOption { | ||
838 | + /** | ||
839 | + * @description | ||
840 | + * request | ||
841 | + */ | ||
842 | + body: { | ||
843 | + /** | ||
844 | + @description | ||
845 | + request */ | ||
846 | + request: StoreOrderInvoiceRequest; | ||
847 | + }; | ||
848 | +} | ||
849 | + | ||
850 | +/** @description response type for postApiOrderStoreApplyInvoice */ | ||
851 | +export interface PostApiOrderStoreApplyInvoiceResponse { | ||
852 | + /** | ||
853 | + * @description | ||
854 | + * OK | ||
855 | + */ | ||
856 | + 200: ServerResult; | ||
857 | + /** | ||
858 | + * @description | ||
859 | + * Created | ||
860 | + */ | ||
861 | + 201: any; | ||
862 | + /** | ||
863 | + * @description | ||
864 | + * Unauthorized | ||
865 | + */ | ||
866 | + 401: any; | ||
867 | + /** | ||
868 | + * @description | ||
869 | + * Forbidden | ||
870 | + */ | ||
871 | + 403: any; | ||
872 | + /** | ||
873 | + * @description | ||
874 | + * Not Found | ||
875 | + */ | ||
876 | + 404: any; | ||
877 | +} | ||
878 | + | ||
879 | +export type PostApiOrderStoreApplyInvoiceResponseSuccess = | ||
880 | + PostApiOrderStoreApplyInvoiceResponse[200]; | ||
881 | +/** | ||
882 | + * @description | ||
883 | + * 商城申请开票 | ||
884 | + * @tags 内部订单 | ||
885 | + * @produces * | ||
886 | + * @consumes application/json | ||
887 | + */ | ||
888 | +export const postApiOrderStoreApplyInvoice = /* #__PURE__ */ (() => { | ||
889 | + const method = 'post'; | ||
890 | + const url = '/api/order/storeApplyInvoice'; | ||
891 | + function request( | ||
892 | + option: PostApiOrderStoreApplyInvoiceOption, | ||
893 | + ): Promise<PostApiOrderStoreApplyInvoiceResponseSuccess> { | ||
894 | + return requester(request.url, { | ||
895 | + method: request.method, | ||
896 | + ...option, | ||
897 | + }) as unknown as Promise<PostApiOrderStoreApplyInvoiceResponseSuccess>; | ||
898 | + } | ||
899 | + | ||
900 | + /** http method */ | ||
901 | + request.method = method; | ||
902 | + /** request url */ | ||
903 | + request.url = url; | ||
904 | + return request; | ||
905 | +})(); | ||
906 | + | ||
907 | +/** @description request parameter type for postApiOrderWaitInvoiceOrderList */ | ||
908 | +export interface PostApiOrderWaitInvoiceOrderListOption { | ||
909 | + /** | ||
910 | + * @description | ||
911 | + * request | ||
912 | + */ | ||
913 | + body: { | ||
914 | + /** | ||
915 | + @description | ||
916 | + request */ | ||
917 | + request: MainOrderqueryRequest; | ||
918 | + }; | ||
919 | +} | ||
920 | + | ||
921 | +/** @description response type for postApiOrderWaitInvoiceOrderList */ | ||
922 | +export interface PostApiOrderWaitInvoiceOrderListResponse { | ||
923 | + /** | ||
924 | + * @description | ||
925 | + * OK | ||
926 | + */ | ||
927 | + 200: ServerResult; | ||
928 | + /** | ||
929 | + * @description | ||
930 | + * Created | ||
931 | + */ | ||
932 | + 201: any; | ||
933 | + /** | ||
934 | + * @description | ||
935 | + * Unauthorized | ||
936 | + */ | ||
937 | + 401: any; | ||
938 | + /** | ||
939 | + * @description | ||
940 | + * Forbidden | ||
941 | + */ | ||
942 | + 403: any; | ||
943 | + /** | ||
944 | + * @description | ||
945 | + * Not Found | ||
946 | + */ | ||
947 | + 404: any; | ||
948 | +} | ||
949 | + | ||
950 | +export type PostApiOrderWaitInvoiceOrderListResponseSuccess = | ||
951 | + PostApiOrderWaitInvoiceOrderListResponse[200]; | ||
952 | +/** | ||
953 | + * @description | ||
954 | + * 获取可开票订单 | ||
955 | + * @tags 内部订单 | ||
956 | + * @produces * | ||
957 | + * @consumes application/json | ||
958 | + */ | ||
959 | +export const postApiOrderWaitInvoiceOrderList = /* #__PURE__ */ (() => { | ||
960 | + const method = 'post'; | ||
961 | + const url = '/api/order/waitInvoiceOrderList'; | ||
962 | + function request( | ||
963 | + option: PostApiOrderWaitInvoiceOrderListOption, | ||
964 | + ): Promise<PostApiOrderWaitInvoiceOrderListResponseSuccess> { | ||
965 | + return requester(request.url, { | ||
966 | + method: request.method, | ||
967 | + ...option, | ||
968 | + }) as unknown as Promise<PostApiOrderWaitInvoiceOrderListResponseSuccess>; | ||
969 | + } | ||
970 | + | ||
971 | + /** http method */ | ||
972 | + request.method = method; | ||
973 | + /** request url */ | ||
974 | + request.url = url; | ||
975 | + return request; | ||
976 | +})(); | ||
977 | + | ||
691 | /** @description request parameter type for postCanrdApiUserDetail */ | 978 | /** @description request parameter type for postCanrdApiUserDetail */ |
692 | export interface PostCanrdApiUserDetailOption { | 979 | export interface PostCanrdApiUserDetailOption { |
693 | /** | 980 | /** |
@@ -6415,6 +6702,77 @@ export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => { | @@ -6415,6 +6702,77 @@ export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => { | ||
6415 | return request; | 6702 | return request; |
6416 | })(); | 6703 | })(); |
6417 | 6704 | ||
6705 | +/** @description request parameter type for postOrderImportImportWeightAndVolume */ | ||
6706 | +export interface PostOrderImportImportWeightAndVolumeOption { | ||
6707 | + /** | ||
6708 | + * @description | ||
6709 | + * file | ||
6710 | + */ | ||
6711 | + formData: { | ||
6712 | + /** | ||
6713 | + @description | ||
6714 | + file */ | ||
6715 | + file: File; | ||
6716 | + }; | ||
6717 | +} | ||
6718 | + | ||
6719 | +/** @description response type for postOrderImportImportWeightAndVolume */ | ||
6720 | +export interface PostOrderImportImportWeightAndVolumeResponse { | ||
6721 | + /** | ||
6722 | + * @description | ||
6723 | + * OK | ||
6724 | + */ | ||
6725 | + 200: ServerResult; | ||
6726 | + /** | ||
6727 | + * @description | ||
6728 | + * Created | ||
6729 | + */ | ||
6730 | + 201: any; | ||
6731 | + /** | ||
6732 | + * @description | ||
6733 | + * Unauthorized | ||
6734 | + */ | ||
6735 | + 401: any; | ||
6736 | + /** | ||
6737 | + * @description | ||
6738 | + * Forbidden | ||
6739 | + */ | ||
6740 | + 403: any; | ||
6741 | + /** | ||
6742 | + * @description | ||
6743 | + * Not Found | ||
6744 | + */ | ||
6745 | + 404: any; | ||
6746 | +} | ||
6747 | + | ||
6748 | +export type PostOrderImportImportWeightAndVolumeResponseSuccess = | ||
6749 | + PostOrderImportImportWeightAndVolumeResponse[200]; | ||
6750 | +/** | ||
6751 | + * @description | ||
6752 | + * 导入重量和体积 | ||
6753 | + * @tags 导入 | ||
6754 | + * @produces * | ||
6755 | + * @consumes multipart/form-data | ||
6756 | + */ | ||
6757 | +export const postOrderImportImportWeightAndVolume = /* #__PURE__ */ (() => { | ||
6758 | + const method = 'post'; | ||
6759 | + const url = '/order/import/importWeightAndVolume'; | ||
6760 | + function request( | ||
6761 | + option: PostOrderImportImportWeightAndVolumeOption, | ||
6762 | + ): Promise<PostOrderImportImportWeightAndVolumeResponseSuccess> { | ||
6763 | + return requester(request.url, { | ||
6764 | + method: request.method, | ||
6765 | + ...option, | ||
6766 | + }) as unknown as Promise<PostOrderImportImportWeightAndVolumeResponseSuccess>; | ||
6767 | + } | ||
6768 | + | ||
6769 | + /** http method */ | ||
6770 | + request.method = method; | ||
6771 | + /** request url */ | ||
6772 | + request.url = url; | ||
6773 | + return request; | ||
6774 | +})(); | ||
6775 | + | ||
6418 | /** @description request parameter type for postPrepaidAudit */ | 6776 | /** @description request parameter type for postPrepaidAudit */ |
6419 | export interface PostPrepaidAuditOption { | 6777 | export interface PostPrepaidAuditOption { |
6420 | /** | 6778 | /** |