Commit 60aa1cb028360146e30c24684f1e1c10d1f97619

Authored by zhongnanhuang
2 parents d0febb15 bb005341

Merge branch 'refs/heads/znh'

# Conflicts:
#	src/services/request.ts
src/pages/Invoice/constant.tsx
... ... @@ -175,14 +175,14 @@ export const BANK_STATEMENT_COLUMNS = [
175 175 width: 100,
176 176 },
177 177 {
178   - dataIndex: 'collectionDate',
  178 + dataIndex: 'collectionDatetime',
179 179 title: '收款时间',
180 180 valueType: 'date',
181 181 width: 100,
182 182 hideInSearch: true,
183 183 },
184 184 {
185   - dataIndex: 'collectionDateSearch',
  185 + dataIndex: 'collectionDatetimeSearch',
186 186 title: '收款时间',
187 187 valueType: 'dateRange',
188 188 width: 100,
... ... @@ -191,8 +191,8 @@ export const BANK_STATEMENT_COLUMNS = [
191 191 transform: (value) => {
192 192 if (value) {
193 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 32 let temInvoiceSelectList = [];
33 33 res.data.forEach((item) => {
34 34 temInvoiceSelectList.push({
35   - label: item.id,
  35 + label: item.invoiceNumber,
36 36 value: item.id,
37 37 });
38 38 });
... ...
src/services/definition.ts
... ... @@ -1478,13 +1478,13 @@ export interface QueryBankStatementDto {
1478 1478 * collection_date
1479 1479 * @format date
1480 1480 */
1481   - collectionDateBegin?: string;
  1481 + collectionDatetimeBegin?: string;
1482 1482 /**
1483 1483 * @description
1484 1484 * collection_date
1485 1485 * @format date
1486 1486 */
1487   - collectionDateEnd?: string;
  1487 + collectionDatetimeEnd?: string;
1488 1488 /** @format int32 */
1489 1489 current?: number;
1490 1490 /** @format int64 */
... ...
src/services/request.ts
... ... @@ -24,9 +24,6 @@ import type {
24 24 ApiApplyAddressModifyRequest,
25 25 ApiApplyAfterSalesRequest,
26 26 ApiCreateOrderRequest,
27   - ApiOrderConfirmReceiveRequest,
28   - ApiOrderCustomersRequest,
29   - ApiOrderEvaluatedRequest,
30 27 ApiQueryOrderDetailRequest,
31 28 ApiQueryOrderStatusCountsRequest,
32 29 AuditDto,
... ... @@ -52,6 +49,7 @@ import type {
52 49 MaterialUnitListRes,
53 50 MeasureUnitListRes,
54 51 MessageQueryDTO,
  52 + ModelAndView,
55 53 OrderAddVO,
56 54 OrderAuditLogQueryVO,
57 55 OrderBaseInfoQueryVO,
... ... @@ -93,8 +91,6 @@ import type {
93 91 UpdateHirePurchaseDto,
94 92 UpdatePwdVO,
95 93 UploadPaymentReceiptDTO,
96   - UserAddressListRequest,
97   - UserCenterInfoRequest,
98 94 UserDetailRequest,
99 95 UserListRequest,
100 96 } from './definition';
... ... @@ -411,77 +407,6 @@ export const postApiOrderApplyAfterSales = /* #__PURE__ */ (() => {
411 407 return request;
412 408 })();
413 409  
414   -/** @description request parameter type for postApiOrderConfirmReceive */
415   -export interface PostApiOrderConfirmReceiveOption {
416   - /**
417   - * @description
418   - * request
419   - */
420   - body: {
421   - /**
422   - @description
423   - request */
424   - request: ApiOrderConfirmReceiveRequest;
425   - };
426   -}
427   -
428   -/** @description response type for postApiOrderConfirmReceive */
429   -export interface PostApiOrderConfirmReceiveResponse {
430   - /**
431   - * @description
432   - * OK
433   - */
434   - 200: ServerResult;
435   - /**
436   - * @description
437   - * Created
438   - */
439   - 201: any;
440   - /**
441   - * @description
442   - * Unauthorized
443   - */
444   - 401: any;
445   - /**
446   - * @description
447   - * Forbidden
448   - */
449   - 403: any;
450   - /**
451   - * @description
452   - * Not Found
453   - */
454   - 404: any;
455   -}
456   -
457   -export type PostApiOrderConfirmReceiveResponseSuccess =
458   - PostApiOrderConfirmReceiveResponse[200];
459   -/**
460   - * @description
461   - * 确认收货
462   - * @tags 内部订单
463   - * @produces *
464   - * @consumes application/json
465   - */
466   -export const postApiOrderConfirmReceive = /* #__PURE__ */ (() => {
467   - const method = 'post';
468   - const url = '/api/order/confirmReceive';
469   - function request(
470   - option: PostApiOrderConfirmReceiveOption,
471   - ): Promise<PostApiOrderConfirmReceiveResponseSuccess> {
472   - return requester(request.url, {
473   - method: request.method,
474   - ...option,
475   - }) as unknown as Promise<PostApiOrderConfirmReceiveResponseSuccess>;
476   - }
477   -
478   - /** http method */
479   - request.method = method;
480   - /** request url */
481   - request.url = url;
482   - return request;
483   -})();
484   -
485 410 /** @description request parameter type for postApiOrderCreateOrder */
486 411 export interface PostApiOrderCreateOrderOption {
487 412 /**
... ... @@ -553,148 +478,6 @@ export const postApiOrderCreateOrder = /* #__PURE__ */ (() =&gt; {
553 478 return request;
554 479 })();
555 480  
556   -/** @description request parameter type for postApiOrderCustomers */
557   -export interface PostApiOrderCustomersOption {
558   - /**
559   - * @description
560   - * request
561   - */
562   - body: {
563   - /**
564   - @description
565   - request */
566   - request: ApiOrderCustomersRequest;
567   - };
568   -}
569   -
570   -/** @description response type for postApiOrderCustomers */
571   -export interface PostApiOrderCustomersResponse {
572   - /**
573   - * @description
574   - * OK
575   - */
576   - 200: ServerResult;
577   - /**
578   - * @description
579   - * Created
580   - */
581   - 201: any;
582   - /**
583   - * @description
584   - * Unauthorized
585   - */
586   - 401: any;
587   - /**
588   - * @description
589   - * Forbidden
590   - */
591   - 403: any;
592   - /**
593   - * @description
594   - * Not Found
595   - */
596   - 404: any;
597   -}
598   -
599   -export type PostApiOrderCustomersResponseSuccess =
600   - PostApiOrderCustomersResponse[200];
601   -/**
602   - * @description
603   - * 查询订单客户信息
604   - * @tags 内部订单
605   - * @produces *
606   - * @consumes application/json
607   - */
608   -export const postApiOrderCustomers = /* #__PURE__ */ (() => {
609   - const method = 'post';
610   - const url = '/api/order/customers';
611   - function request(
612   - option: PostApiOrderCustomersOption,
613   - ): Promise<PostApiOrderCustomersResponseSuccess> {
614   - return requester(request.url, {
615   - method: request.method,
616   - ...option,
617   - }) as unknown as Promise<PostApiOrderCustomersResponseSuccess>;
618   - }
619   -
620   - /** http method */
621   - request.method = method;
622   - /** request url */
623   - request.url = url;
624   - return request;
625   -})();
626   -
627   -/** @description request parameter type for postApiOrderEvaluated */
628   -export interface PostApiOrderEvaluatedOption {
629   - /**
630   - * @description
631   - * request
632   - */
633   - body: {
634   - /**
635   - @description
636   - request */
637   - request: ApiOrderEvaluatedRequest;
638   - };
639   -}
640   -
641   -/** @description response type for postApiOrderEvaluated */
642   -export interface PostApiOrderEvaluatedResponse {
643   - /**
644   - * @description
645   - * OK
646   - */
647   - 200: ServerResult;
648   - /**
649   - * @description
650   - * Created
651   - */
652   - 201: any;
653   - /**
654   - * @description
655   - * Unauthorized
656   - */
657   - 401: any;
658   - /**
659   - * @description
660   - * Forbidden
661   - */
662   - 403: any;
663   - /**
664   - * @description
665   - * Not Found
666   - */
667   - 404: any;
668   -}
669   -
670   -export type PostApiOrderEvaluatedResponseSuccess =
671   - PostApiOrderEvaluatedResponse[200];
672   -/**
673   - * @description
674   - * 评价子订单
675   - * @tags 内部订单
676   - * @produces *
677   - * @consumes application/json
678   - */
679   -export const postApiOrderEvaluated = /* #__PURE__ */ (() => {
680   - const method = 'post';
681   - const url = '/api/order/evaluated';
682   - function request(
683   - option: PostApiOrderEvaluatedOption,
684   - ): Promise<PostApiOrderEvaluatedResponseSuccess> {
685   - return requester(request.url, {
686   - method: request.method,
687   - ...option,
688   - }) as unknown as Promise<PostApiOrderEvaluatedResponseSuccess>;
689   - }
690   -
691   - /** http method */
692   - request.method = method;
693   - /** request url */
694   - request.url = url;
695   - return request;
696   -})();
697   -
698 481 /** @description request parameter type for postApiOrderInvoicedOrderList */
699 482 export interface PostApiOrderInvoicedOrderListOption {
700 483 /**
... ... @@ -837,60 +620,6 @@ export const postApiOrderInvoicedRecordList = /* #__PURE__ */ (() =&gt; {
837 620 return request;
838 621 })();
839 622  
840   -/** @description response type for postApiOrderListAllSubOrderBaseInfo */
841   -export interface PostApiOrderListAllSubOrderBaseInfoResponse {
842   - /**
843   - * @description
844   - * OK
845   - */
846   - 200: ServerResult;
847   - /**
848   - * @description
849   - * Created
850   - */
851   - 201: any;
852   - /**
853   - * @description
854   - * Unauthorized
855   - */
856   - 401: any;
857   - /**
858   - * @description
859   - * Forbidden
860   - */
861   - 403: any;
862   - /**
863   - * @description
864   - * Not Found
865   - */
866   - 404: any;
867   -}
868   -
869   -export type PostApiOrderListAllSubOrderBaseInfoResponseSuccess =
870   - PostApiOrderListAllSubOrderBaseInfoResponse[200];
871   -/**
872   - * @description
873   - * 查询所有子订单基本信息
874   - * @tags 内部订单
875   - * @produces *
876   - * @consumes application/json
877   - */
878   -export const postApiOrderListAllSubOrderBaseInfo = /* #__PURE__ */ (() => {
879   - const method = 'post';
880   - const url = '/api/order/listAllSubOrderBaseInfo';
881   - function request(): Promise<PostApiOrderListAllSubOrderBaseInfoResponseSuccess> {
882   - return requester(request.url, {
883   - method: request.method,
884   - }) as unknown as Promise<PostApiOrderListAllSubOrderBaseInfoResponseSuccess>;
885   - }
886   -
887   - /** http method */
888   - request.method = method;
889   - /** request url */
890   - request.url = url;
891   - return request;
892   -})();
893   -
894 623 /** @description request parameter type for postApiOrderQueryOrderDetail */
895 624 export interface PostApiOrderQueryOrderDetailOption {
896 625 /**
... ... @@ -1246,148 +975,6 @@ export const postApiOrderWaitInvoiceOrderList = /* #__PURE__ */ (() =&gt; {
1246 975 return request;
1247 976 })();
1248 977  
1249   -/** @description request parameter type for postCanrdApiUserAddressList */
1250   -export interface PostCanrdApiUserAddressListOption {
1251   - /**
1252   - * @description
1253   - * request
1254   - */
1255   - body: {
1256   - /**
1257   - @description
1258   - request */
1259   - request: UserAddressListRequest;
1260   - };
1261   -}
1262   -
1263   -/** @description response type for postCanrdApiUserAddressList */
1264   -export interface PostCanrdApiUserAddressListResponse {
1265   - /**
1266   - * @description
1267   - * OK
1268   - */
1269   - 200: ServerResult;
1270   - /**
1271   - * @description
1272   - * Created
1273   - */
1274   - 201: any;
1275   - /**
1276   - * @description
1277   - * Unauthorized
1278   - */
1279   - 401: any;
1280   - /**
1281   - * @description
1282   - * Forbidden
1283   - */
1284   - 403: any;
1285   - /**
1286   - * @description
1287   - * Not Found
1288   - */
1289   - 404: any;
1290   -}
1291   -
1292   -export type PostCanrdApiUserAddressListResponseSuccess =
1293   - PostCanrdApiUserAddressListResponse[200];
1294   -/**
1295   - * @description
1296   - * 查询地址信息
1297   - * @tags canrd-mobile-api-controller
1298   - * @produces *
1299   - * @consumes application/json
1300   - */
1301   -export const postCanrdApiUserAddressList = /* #__PURE__ */ (() => {
1302   - const method = 'post';
1303   - const url = '/canrd/api/user/address/list';
1304   - function request(
1305   - option: PostCanrdApiUserAddressListOption,
1306   - ): Promise<PostCanrdApiUserAddressListResponseSuccess> {
1307   - return requester(request.url, {
1308   - method: request.method,
1309   - ...option,
1310   - }) as unknown as Promise<PostCanrdApiUserAddressListResponseSuccess>;
1311   - }
1312   -
1313   - /** http method */
1314   - request.method = method;
1315   - /** request url */
1316   - request.url = url;
1317   - return request;
1318   -})();
1319   -
1320   -/** @description request parameter type for postCanrdApiUserCenterInfo */
1321   -export interface PostCanrdApiUserCenterInfoOption {
1322   - /**
1323   - * @description
1324   - * request
1325   - */
1326   - body: {
1327   - /**
1328   - @description
1329   - request */
1330   - request: UserCenterInfoRequest;
1331   - };
1332   -}
1333   -
1334   -/** @description response type for postCanrdApiUserCenterInfo */
1335   -export interface PostCanrdApiUserCenterInfoResponse {
1336   - /**
1337   - * @description
1338   - * OK
1339   - */
1340   - 200: ServerResult;
1341   - /**
1342   - * @description
1343   - * Created
1344   - */
1345   - 201: any;
1346   - /**
1347   - * @description
1348   - * Unauthorized
1349   - */
1350   - 401: any;
1351   - /**
1352   - * @description
1353   - * Forbidden
1354   - */
1355   - 403: any;
1356   - /**
1357   - * @description
1358   - * Not Found
1359   - */
1360   - 404: any;
1361   -}
1362   -
1363   -export type PostCanrdApiUserCenterInfoResponseSuccess =
1364   - PostCanrdApiUserCenterInfoResponse[200];
1365   -/**
1366   - * @description
1367   - * 获取会员详情
1368   - * @tags canrd-mobile-api-controller
1369   - * @produces *
1370   - * @consumes application/json
1371   - */
1372   -export const postCanrdApiUserCenterInfo = /* #__PURE__ */ (() => {
1373   - const method = 'post';
1374   - const url = '/canrd/api/user/center/info';
1375   - function request(
1376   - option: PostCanrdApiUserCenterInfoOption,
1377   - ): Promise<PostCanrdApiUserCenterInfoResponseSuccess> {
1378   - return requester(request.url, {
1379   - method: request.method,
1380   - ...option,
1381   - }) as unknown as Promise<PostCanrdApiUserCenterInfoResponseSuccess>;
1382   - }
1383   -
1384   - /** http method */
1385   - request.method = method;
1386   - /** request url */
1387   - request.url = url;
1388   - return request;
1389   -})();
1390   -
1391 978 /** @description request parameter type for postCanrdApiUserDetail */
1392 979 export interface PostCanrdApiUserDetailOption {
1393 980 /**
... ... @@ -1536,9 +1123,7 @@ export interface GetErrorResponse {
1536 1123 * @description
1537 1124 * OK
1538 1125 */
1539   - 200: {
1540   - [propertyName: string]: any;
1541   - };
  1126 + 200: ModelAndView;
1542 1127 /**
1543 1128 * @description
1544 1129 * Unauthorized
... ... @@ -1559,9 +1144,9 @@ export interface GetErrorResponse {
1559 1144 export type GetErrorResponseSuccess = GetErrorResponse[200];
1560 1145 /**
1561 1146 * @description
1562   - * error
  1147 + * errorHtml
1563 1148 * @tags basic-error-controller
1564   - * @produces *
  1149 + * @produces text/html
1565 1150 */
1566 1151 export const getError = /* #__PURE__ */ (() => {
1567 1152 const method = 'get';
... ... @@ -1585,9 +1170,7 @@ export interface PutErrorResponse {
1585 1170 * @description
1586 1171 * OK
1587 1172 */
1588   - 200: {
1589   - [propertyName: string]: any;
1590   - };
  1173 + 200: ModelAndView;
1591 1174 /**
1592 1175 * @description
1593 1176 * Created
... ... @@ -1613,9 +1196,9 @@ export interface PutErrorResponse {
1613 1196 export type PutErrorResponseSuccess = PutErrorResponse[200];
1614 1197 /**
1615 1198 * @description
1616   - * error
  1199 + * errorHtml
1617 1200 * @tags basic-error-controller
1618   - * @produces *
  1201 + * @produces text/html
1619 1202 * @consumes application/json
1620 1203 */
1621 1204 export const putError = /* #__PURE__ */ (() => {
... ... @@ -1640,9 +1223,7 @@ export interface PostErrorResponse {
1640 1223 * @description
1641 1224 * OK
1642 1225 */
1643   - 200: {
1644   - [propertyName: string]: any;
1645   - };
  1226 + 200: ModelAndView;
1646 1227 /**
1647 1228 * @description
1648 1229 * Created
... ... @@ -1668,9 +1249,9 @@ export interface PostErrorResponse {
1668 1249 export type PostErrorResponseSuccess = PostErrorResponse[200];
1669 1250 /**
1670 1251 * @description
1671   - * error
  1252 + * errorHtml
1672 1253 * @tags basic-error-controller
1673   - * @produces *
  1254 + * @produces text/html
1674 1255 * @consumes application/json
1675 1256 */
1676 1257 export const postError = /* #__PURE__ */ (() => {
... ... @@ -1695,9 +1276,7 @@ export interface DeleteErrorResponse {
1695 1276 * @description
1696 1277 * OK
1697 1278 */
1698   - 200: {
1699   - [propertyName: string]: any;
1700   - };
  1279 + 200: ModelAndView;
1701 1280 /**
1702 1281 * @description
1703 1282 * No Content
... ... @@ -1718,9 +1297,9 @@ export interface DeleteErrorResponse {
1718 1297 export type DeleteErrorResponseSuccess = DeleteErrorResponse[200];
1719 1298 /**
1720 1299 * @description
1721   - * error
  1300 + * errorHtml
1722 1301 * @tags basic-error-controller
1723   - * @produces *
  1302 + * @produces text/html
1724 1303 */
1725 1304 export const deleteError = /* #__PURE__ */ (() => {
1726 1305 const method = 'delete';
... ... @@ -1744,9 +1323,7 @@ export interface OptionsErrorResponse {
1744 1323 * @description
1745 1324 * OK
1746 1325 */
1747   - 200: {
1748   - [propertyName: string]: any;
1749   - };
  1326 + 200: ModelAndView;
1750 1327 /**
1751 1328 * @description
1752 1329 * No Content
... ... @@ -1767,9 +1344,9 @@ export interface OptionsErrorResponse {
1767 1344 export type OptionsErrorResponseSuccess = OptionsErrorResponse[200];
1768 1345 /**
1769 1346 * @description
1770   - * error
  1347 + * errorHtml
1771 1348 * @tags basic-error-controller
1772   - * @produces *
  1349 + * @produces text/html
1773 1350 * @consumes application/json
1774 1351 */
1775 1352 export const optionsError = /* #__PURE__ */ (() => {
... ... @@ -1794,9 +1371,7 @@ export interface HeadErrorResponse {
1794 1371 * @description
1795 1372 * OK
1796 1373 */
1797   - 200: {
1798   - [propertyName: string]: any;
1799   - };
  1374 + 200: ModelAndView;
1800 1375 /**
1801 1376 * @description
1802 1377 * No Content
... ... @@ -1817,9 +1392,9 @@ export interface HeadErrorResponse {
1817 1392 export type HeadErrorResponseSuccess = HeadErrorResponse[200];
1818 1393 /**
1819 1394 * @description
1820   - * error
  1395 + * errorHtml
1821 1396 * @tags basic-error-controller
1822   - * @produces *
  1397 + * @produces text/html
1823 1398 * @consumes application/json
1824 1399 */
1825 1400 export const headError = /* #__PURE__ */ (() => {
... ... @@ -1844,9 +1419,7 @@ export interface PatchErrorResponse {
1844 1419 * @description
1845 1420 * OK
1846 1421 */
1847   - 200: {
1848   - [propertyName: string]: any;
1849   - };
  1422 + 200: ModelAndView;
1850 1423 /**
1851 1424 * @description
1852 1425 * No Content
... ... @@ -1867,9 +1440,9 @@ export interface PatchErrorResponse {
1867 1440 export type PatchErrorResponseSuccess = PatchErrorResponse[200];
1868 1441 /**
1869 1442 * @description
1870   - * error
  1443 + * errorHtml
1871 1444 * @tags basic-error-controller
1872   - * @produces *
  1445 + * @produces text/html
1873 1446 * @consumes application/json
1874 1447 */
1875 1448 export const patchError = /* #__PURE__ */ (() => {
... ...