Commit 98d2e91b693fafbcb314fefc601e88c98742d40b

Authored by 曾国涛
1 parent 2eeef652

refactor(order): 优化订单相关组件和接口定义

- 修改 DeliverInfoDrawer 组件中的 fetchData 方法参数结构
- 更新 ProcureCheckModal 组件中的字段名称
-调整 productCollectBill 页面的表格渲染函数
- 移除 definition.ts 中冗余的日期时间格式注释
- 更新 .umirc.ts 中的菜单名称
.umirc.ts
... ... @@ -151,7 +151,7 @@ export default defineConfig({
151 151 access: 'canReadAdmin',
152 152 },
153 153 {
154   - name: '礼品领',
  154 + name: '礼品领',
155 155 path: '/productCollectBill',
156 156 component: './productCollectBill',
157 157 icon: 'BookOutlined',
... ...
src/pages/Order/OrderList/DeliverInfoDrawer.tsx
... ... @@ -14,7 +14,9 @@ export default ({ data, onClose }) => {
14 14 const fetchData = async () => {
15 15 if (data.id !== undefined) {
16 16 const resp = await postDistrictSelOrderProvince({
17   - data: data.id,
  17 + data: {
  18 + oid: data.id,
  19 + },
18 20 });
19 21 if (resp && resp.data) {
20 22 if (resp.data.province) {
... ...
src/pages/Order/OrderList/OrderDrawer.tsx
... ... @@ -12,6 +12,9 @@ import {
12 12 postKingdeeRepMeasureUnit,
13 13 postPrepaidPhoneAvailableList,
14 14 postResearchGroupsNameSet,
  15 + postServiceConstCompanyType,
  16 + postServiceConstOrderSource,
  17 + postServiceConstPlatformType,
15 18 postServiceOrderAddOrder,
16 19 postServiceOrderAfterSalesQuerySnapshotOrder,
17 20 postServiceOrderApplyAfterSales,
... ... @@ -33,6 +36,7 @@ import {
33 36 FormListActionType,
34 37 ProCard,
35 38 ProFormDateTimePicker,
  39 + ProFormDependency,
36 40 ProFormDigit,
37 41 ProFormList,
38 42 ProFormSelect,
... ... @@ -40,6 +44,7 @@ import {
40 44 ProFormTextArea,
41 45 ProFormUploadDragger,
42 46 } from '@ant-design/pro-components';
  47 +import { Group } from '@ant-design/pro-form';
43 48 import { Button, Form, message, Modal } from 'antd';
44 49 import { cloneDeep } from 'lodash';
45 50 import { useEffect, useRef, useState } from 'react';
... ... @@ -1250,38 +1255,141 @@ export default ({ onClose, data, subOrders, orderOptType }) => {
1250 1255 placeholder="请输入课题组"
1251 1256 rules={[{ required: true, message: '课题组必填' }]}
1252 1257 />*/}
1253   - <ProFormSelect
1254   - key={'institutionContactName'}
1255   - width="md"
1256   - showSearch
1257   - name="institutionContactName"
1258   - rules={[{ required: true, message: '请输入课题组名称!' }]}
1259   - request={async (value) => {
1260   - const keywords = value.keyWords;
1261   - const res = await postResearchGroupsNameSet({
1262   - data: {
1263   - status: 'ADD_AUDIT_PASS',
1264   - groupName: keywords,
1265   - },
1266   - });
1267   - let options = res?.data?.map((c: any) => {
1268   - return {
1269   - label: c,
1270   - value: c,
1271   - key: c,
1272   - };
1273   - });
1274   - return options;
1275   - }}
1276   - fieldProps={{
1277   - filterOption() {
1278   - return true;
1279   - },
1280   - }}
1281   - debounceTime={1000}
1282   - label="课题组名称"
1283   - placeholder="请输入名称"
1284   - />
  1258 + <Group>
  1259 + <ProFormSelect
  1260 + request={async () => {
  1261 + const res = await postServiceConstCompanyType();
  1262 + return Object.entries(res?.data).map(([value, label]) => ({
  1263 + label,
  1264 + value,
  1265 + }));
  1266 + }}
  1267 + width="md"
  1268 + rules={[{ required: true, message: '单位类型必填' }]}
  1269 + name="companyType"
  1270 + label="单位类型"
  1271 + />
  1272 + <ProFormDependency name={['companyType']}>
  1273 + {({ companyType }) => {
  1274 + const renderInstitutionContactName = () => (
  1275 + <ProFormSelect
  1276 + key="institutionContactName"
  1277 + width="md"
  1278 + showSearch
  1279 + name="institutionContactName"
  1280 + rules={[{ required: true, message: '请输入课题组名称!' }]}
  1281 + request={async (value) => {
  1282 + const keywords = value?.keyWords || '';
  1283 + const res = await postResearchGroupsNameSet({
  1284 + data: { status: 'ADD_AUDIT_PASS', groupName: keywords },
  1285 + });
  1286 + return res?.data?.map((c) => ({
  1287 + label: c,
  1288 + value: c,
  1289 + key: c,
  1290 + }));
  1291 + }}
  1292 + fieldProps={{ filterOption: () => true }}
  1293 + debounceTime={1000}
  1294 + label="课题组名称"
  1295 + placeholder="请输入名称"
  1296 + />
  1297 + );
  1298 +
  1299 + const renderPlatformType = (fieldKey) => (
  1300 + <ProFormSelect
  1301 + key={fieldKey}
  1302 + width="md"
  1303 + showSearch
  1304 + name="platformType"
  1305 + rules={[{ required: true, message: '请选择平台类型!' }]}
  1306 + request={async () => {
  1307 + const res = await postServiceConstPlatformType({
  1308 + query: { companyType },
  1309 + });
  1310 + return Object.entries(res?.data).map(([value, label]) => ({
  1311 + label,
  1312 + value,
  1313 + }));
  1314 + }}
  1315 + fieldProps={{ filterOption: () => true }}
  1316 + debounceTime={1000}
  1317 + label="平台类型"
  1318 + placeholder="请输入平台类型"
  1319 + />
  1320 + );
  1321 +
  1322 + if (companyType === 'school') {
  1323 + return renderInstitutionContactName();
  1324 + } else if (
  1325 + ['firm', 'ECommercePlatform', 'otherPlatform'].includes(
  1326 + companyType,
  1327 + )
  1328 + ) {
  1329 + form.setFieldValue('platformType', '');
  1330 + return (
  1331 + <Group>
  1332 + {['ECommercePlatform', 'otherPlatform'].includes(
  1333 + companyType,
  1334 + ) && renderPlatformType(`platformType_${companyType}`)}
  1335 + <ProFormText
  1336 + width="md"
  1337 + name="institutionContactName"
  1338 + label="课题组名称"
  1339 + rules={[{ required: true, message: '请输入课题组名称!' }]}
  1340 + placeholder="请输入名称"
  1341 + />
  1342 + </Group>
  1343 + );
  1344 + } else if (companyType === 'officialWebsite') {
  1345 + return (
  1346 + <Group>
  1347 + <ProFormSelect
  1348 + request={async () => {
  1349 + const res = await postServiceConstOrderSource();
  1350 + return Object.entries(res?.data).map(
  1351 + ([value, label]) => ({
  1352 + label,
  1353 + value,
  1354 + }),
  1355 + );
  1356 + }}
  1357 + width="md"
  1358 + name="orderSource"
  1359 + label="订单来源"
  1360 + />
  1361 + <ProFormDependency name={['orderSource']}>
  1362 + {({ orderSource }) => {
  1363 + if (orderSource === 'school') {
  1364 + return renderInstitutionContactName();
  1365 + } else if (orderSource === 'company') {
  1366 + return (
  1367 + <ProFormText
  1368 + width="md"
  1369 + name="institutionContactName"
  1370 + label="课题组名称"
  1371 + rules={[
  1372 + {
  1373 + required: true,
  1374 + message: '请输入课题组名称!',
  1375 + },
  1376 + ]}
  1377 + placeholder="请输入名称"
  1378 + />
  1379 + );
  1380 + }
  1381 + return null;
  1382 + }}
  1383 + </ProFormDependency>
  1384 + </Group>
  1385 + );
  1386 + } else {
  1387 + return renderInstitutionContactName();
  1388 + }
  1389 + }}
  1390 + </ProFormDependency>
  1391 + </Group>
  1392 +
1285 1393 <div
1286 1394 style={{
1287 1395 display: 'flex',
... ...
src/pages/Order/OrderList/ProcureCheckModal.tsx
... ... @@ -104,7 +104,7 @@ export default ({ setCheckVisible, isMainOrder, orders, onClose }) =&gt; {
104 104 {
105 105 data: {
106 106 subIds: ids,
107   - procureNotes: procureNotes,
  107 + checkNotes: procureNotes,
108 108 },
109 109 },
110 110 );
... ...
src/pages/productCollectBill/index.tsx
... ... @@ -140,7 +140,7 @@ export default () =&gt; {
140 140 title: '操作',
141 141 valueType: 'option',
142 142 key: 'option',
143   - render: ({ record }) => [
  143 + render: (text, record) => [
144 144 record.paths?.includes('UPDATE') && (
145 145 <AddOrUpdate
146 146 record={record}
... ...
src/services/definition.ts
... ... @@ -215,10 +215,6 @@ export interface AdminClientDto {
215 215 export interface AdminDeptQueryVO {
216 216 createByName?: string;
217 217 createByNameLike?: string;
218   - /** @format date-time */
219   - createTimeGe?: string;
220   - /** @format date-time */
221   - createTimeLe?: string;
222 218 /** @format int32 */
223 219 current?: number;
224 220 /** @format int32 */
... ... @@ -265,10 +261,6 @@ export interface AdminInvoicingAccountDTO {
265 261 export interface AdminJobQueryVO {
266 262 createByName?: string;
267 263 createByNameLike?: string;
268   - /** @format date-time */
269   - createTimeGe?: string;
270   - /** @format date-time */
271   - createTimeLe?: string;
272 264 /** @format int32 */
273 265 current?: number;
274 266 /** @format int32 */
... ... @@ -301,10 +293,6 @@ export interface AdminMenuQueryVO {
301 293 component?: string;
302 294 createByName?: string;
303 295 createByNameLike?: string;
304   - /** @format date-time */
305   - createTimeGe?: string;
306   - /** @format date-time */
307   - createTimeLe?: string;
308 296 /** @format int32 */
309 297 current?: number;
310 298 /** @format int32 */
... ... @@ -356,10 +344,6 @@ export interface AdminMenuVO {
356 344 export interface AdminRoleQueryVO {
357 345 createByName?: string;
358 346 createByNameLike?: string;
359   - /** @format date-time */
360   - createTimeGe?: string;
361   - /** @format date-time */
362   - createTimeLe?: string;
363 347 /** @format int32 */
364 348 current?: number;
365 349 dataScope?: string;
... ... @@ -394,10 +378,6 @@ export interface AdminRoleVO {
394 378 export interface AdminUserLoginByPhoneVO {
395 379 createByName?: string;
396 380 createByNameLike?: string;
397   - /** @format date-time */
398   - createTimeGe?: string;
399   - /** @format date-time */
400   - createTimeLe?: string;
401 381 /** @format int32 */
402 382 current?: number;
403 383 /** @format int32 */
... ... @@ -415,10 +395,6 @@ export interface AdminUserLoginByPhoneVO {
415 395 export interface AdminUserLoginByPwdVO {
416 396 createByName?: string;
417 397 createByNameLike?: string;
418   - /** @format date-time */
419   - createTimeGe?: string;
420   - /** @format date-time */
421   - createTimeLe?: string;
422 398 /** @format int32 */
423 399 current?: number;
424 400 /** @format int32 */
... ... @@ -439,10 +415,6 @@ export interface AdminUserModifyPwdVO {
439 415 confirmPassword?: string;
440 416 createByName?: string;
441 417 createByNameLike?: string;
442   - /** @format date-time */
443   - createTimeGe?: string;
444   - /** @format date-time */
445   - createTimeLe?: string;
446 418 /** @format int32 */
447 419 current?: number;
448 420 /** @format int32 */
... ... @@ -461,10 +433,6 @@ export interface AdminUserModifyPwdVO {
461 433 export interface AdminUserPasswordRecoverEmailVO {
462 434 createByName?: string;
463 435 createByNameLike?: string;
464   - /** @format date-time */
465   - createTimeGe?: string;
466   - /** @format date-time */
467   - createTimeLe?: string;
468 436 /** @format int32 */
469 437 current?: number;
470 438 /** @format int32 */
... ... @@ -481,10 +449,6 @@ export interface AdminUserPasswordRecoverEmailVO {
481 449 export interface AdminUserQueryVO {
482 450 createByName?: string;
483 451 createByNameLike?: string;
484   - /** @format date-time */
485   - createTimeGe?: string;
486   - /** @format date-time */
487   - createTimeLe?: string;
488 452 /** @format int32 */
489 453 current?: number;
490 454 email?: string;
... ... @@ -511,10 +475,6 @@ export interface AdminUserRegisterVO {
511 475 confirmPassword?: string;
512 476 createByName?: string;
513 477 createByNameLike?: string;
514   - /** @format date-time */
515   - createTimeGe?: string;
516   - /** @format date-time */
517   - createTimeLe?: string;
518 478 /** @format int32 */
519 479 current?: number;
520 480 email?: string;
... ... @@ -747,10 +707,6 @@ export interface ApiCreateProductRequest {
747 707 export interface ApiOrderCustomersRequest {
748 708 createByName?: string;
749 709 createByNameLike?: string;
750   - /** @format date-time */
751   - createTimeGe?: string;
752   - /** @format date-time */
753   - createTimeLe?: string;
754 710 /** @format int32 */
755 711 current?: number;
756 712 /** @format int32 */
... ... @@ -1060,10 +1016,6 @@ export interface AuditDto {
1060 1016 export interface AuditVO {
1061 1017 createByName?: string;
1062 1018 createByNameLike?: string;
1063   - /** @format date-time */
1064   - createTimeGe?: string;
1065   - /** @format date-time */
1066   - createTimeLe?: string;
1067 1019 /** @format int32 */
1068 1020 current?: number;
1069 1021 /** @format int32 */
... ... @@ -1148,10 +1100,6 @@ export interface CancelSendOrderDto {
1148 1100 export interface CaptchaMessageVO {
1149 1101 createByName?: string;
1150 1102 createByNameLike?: string;
1151   - /** @format date-time */
1152   - createTimeGe?: string;
1153   - /** @format date-time */
1154   - createTimeLe?: string;
1155 1103 /** @format int32 */
1156 1104 current?: number;
1157 1105 /** @format int32 */
... ... @@ -1427,10 +1375,6 @@ export interface CustomerSaveReq {
1427 1375 export interface DictionaryQueryVO {
1428 1376 createByName?: string;
1429 1377 createByNameLike?: string;
1430   - /** @format date-time */
1431   - createTimeGe?: string;
1432   - /** @format date-time */
1433   - createTimeLe?: string;
1434 1378 /** @format int32 */
1435 1379 current?: number;
1436 1380 dictCode?: string;
... ... @@ -2300,10 +2244,6 @@ export interface MergeIntegralDto {
2300 2244 export interface MessageQueryDTO {
2301 2245 createByName?: string;
2302 2246 createByNameLike?: string;
2303   - /** @format date-time */
2304   - createTimeGe?: string;
2305   - /** @format date-time */
2306   - createTimeLe?: string;
2307 2247 /** @format int32 */
2308 2248 current?: number;
2309 2249 /** @format int32 */
... ... @@ -2349,10 +2289,6 @@ export interface OrderAuditLogQueryVO {
2349 2289 applyId?: number;
2350 2290 createByName?: string;
2351 2291 createByNameLike?: string;
2352   - /** @format date-time */
2353   - createTimeGe?: string;
2354   - /** @format date-time */
2355   - createTimeLe?: string;
2356 2292 /** @format int32 */
2357 2293 current?: number;
2358 2294 /** @format int32 */
... ... @@ -2399,10 +2335,6 @@ export interface OrderBaseInfoQueryVO {
2399 2335 collection?: string;
2400 2336 createByName?: string;
2401 2337 createByNameLike?: string;
2402   - /** @format date-time */
2403   - createTimeGe?: string;
2404   - /** @format date-time */
2405   - createTimeLe?: string;
2406 2338 /** @format int32 */
2407 2339 current?: number;
2408 2340 customerCode?: string;
... ... @@ -2499,10 +2431,6 @@ export interface OrderFieldLockApplyQueryVO {
2499 2431 auditUserId?: number;
2500 2432 createByName?: string;
2501 2433 createByNameLike?: string;
2502   - /** @format date-time */
2503   - createTimeGe?: string;
2504   - /** @format date-time */
2505   - createTimeLe?: string;
2506 2434 /** @format int32 */
2507 2435 current?: number;
2508 2436 /** @format int32 */
... ... @@ -2574,10 +2502,6 @@ export interface OrderMainProDo {
2574 2502 export interface OrderOptLogQueryVO {
2575 2503 createByName?: string;
2576 2504 createByNameLike?: string;
2577   - /** @format date-time */
2578   - createTimeGe?: string;
2579   - /** @format date-time */
2580   - createTimeLe?: string;
2581 2505 /** @format int32 */
2582 2506 current?: number;
2583 2507 /** @format int32 */
... ... @@ -3001,10 +2925,6 @@ export interface QueryBankStatementDto {
3001 2925 collectionDatetimeEnd?: string;
3002 2926 createByName?: string;
3003 2927 createByNameLike?: string;
3004   - /** @format date-time */
3005   - createTimeGe?: string;
3006   - /** @format date-time */
3007   - createTimeLe?: string;
3008 2928 /** @format int32 */
3009 2929 current?: number;
3010 2930 /** @format int32 */
... ... @@ -3187,10 +3107,6 @@ export interface QueryInvoiceDetailDto {
3187 3107 export interface QueryInvoiceProjectDto {
3188 3108 createByName?: string;
3189 3109 createByNameLike?: string;
3190   - /** @format date-time */
3191   - createTimeGe?: string;
3192   - /** @format date-time */
3193   - createTimeLe?: string;
3194 3110 /** @format int32 */
3195 3111 current?: number;
3196 3112 /** @format int32 */
... ... @@ -3496,10 +3412,6 @@ export interface QueryUseOldInvoicingDto {
3496 3412 export interface QueryUserIntegralRecordDto {
3497 3413 createByName?: string;
3498 3414 createByNameLike?: string;
3499   - /** @format date-time */
3500   - createTimeGe?: string;
3501   - /** @format date-time */
3502   - createTimeLe?: string;
3503 3415 /** @format int32 */
3504 3416 current?: number;
3505 3417 /** @format int32 */
... ... @@ -3668,10 +3580,6 @@ export interface ResearchGroupListRequest {
3668 3580 companyNameLike?: string;
3669 3581 createByName?: string;
3670 3582 createByNameLike?: string;
3671   - /** @format date-time */
3672   - createTimeGe?: string;
3673   - /** @format date-time */
3674   - createTimeLe?: string;
3675 3583 /** @format int32 */
3676 3584 current?: number;
3677 3585 /** @format int32 */
... ... @@ -3824,10 +3732,6 @@ export interface ResearchGroupMemberRequestsRequest {
3824 3732 */
3825 3733 createByName?: string;
3826 3734 createByNameLike?: string;
3827   - /** @format date-time */
3828   - createTimeGe?: string;
3829   - /** @format date-time */
3830   - createTimeLe?: string;
3831 3735 /** @format int32 */
3832 3736 current?: number;
3833 3737 /** @format int32 */
... ... @@ -4166,10 +4070,6 @@ export interface SysLogQueryVO {
4166 4070 browser?: string;
4167 4071 createByName?: string;
4168 4072 createByNameLike?: string;
4169   - /** @format date-time */
4170   - createTimeGe?: string;
4171   - /** @format date-time */
4172   - createTimeLe?: string;
4173 4073 /** @format int32 */
4174 4074 current?: number;
4175 4075 description?: string;
... ... @@ -4209,10 +4109,6 @@ export interface TicketsSearchVo {
4209 4109 createByName?: string;
4210 4110 createByNameLike?: string;
4211 4111 createTime?: Array<LocalDateTime>;
4212   - /** @format date-time */
4213   - createTimeGe?: string;
4214   - /** @format date-time */
4215   - createTimeLe?: string;
4216 4112 /** @format int32 */
4217 4113 current?: number;
4218 4114 detailText?: string;
... ... @@ -4404,10 +4300,6 @@ export interface UserAddressListRequest {
4404 4300 export interface UserCenterInfoRequest {
4405 4301 createByName?: string;
4406 4302 createByNameLike?: string;
4407   - /** @format date-time */
4408   - createTimeGe?: string;
4409   - /** @format date-time */
4410   - createTimeLe?: string;
4411 4303 /** @format int32 */
4412 4304 current?: number;
4413 4305 /** @format int32 */
... ... @@ -4435,10 +4327,6 @@ export interface UserCenterInfoRequest {
4435 4327 export interface UserDetailRequest {
4436 4328 createByName?: string;
4437 4329 createByNameLike?: string;
4438   - /** @format date-time */
4439   - createTimeGe?: string;
4440   - /** @format date-time */
4441   - createTimeLe?: string;
4442 4330 /** @format int32 */
4443 4331 current?: number;
4444 4332 /** @format int32 */
... ... @@ -4464,10 +4352,6 @@ export interface UserDetailRequest {
4464 4352 export interface UserListRequest {
4465 4353 createByName?: string;
4466 4354 createByNameLike?: string;
4467   - /** @format date-time */
4468   - createTimeGe?: string;
4469   - /** @format date-time */
4470   - createTimeLe?: string;
4471 4355 /** @format int32 */
4472 4356 current?: number;
4473 4357 /**
... ... @@ -4804,10 +4688,6 @@ export interface InvoiceReissueRecord {
4804 4688 createDatetimeLe?: string;
4805 4689 /** @format date-time */
4806 4690 createTime?: string;
4807   - /** @format date-time */
4808   - createTimeGe?: string;
4809   - /** @format date-time */
4810   - createTimeLe?: string;
4811 4691 /** @format int32 */
4812 4692 current?: number;
4813 4693 /** @format int32 */
... ... @@ -5172,10 +5052,6 @@ export interface SalesRechargePrepaymentRequest {
5172 5052 * @format date-time
5173 5053 */
5174 5054 createTimeEndTime?: string;
5175   - /** @format date-time */
5176   - createTimeGe?: string;
5177   - /** @format date-time */
5178   - createTimeLe?: string;
5179 5055 /** @format int32 */
5180 5056 current?: number;
5181 5057 /**
... ...
src/services/request.ts
... ... @@ -15053,6 +15053,60 @@ export const postServiceConstClientWay = /* #__PURE__ */ (() =&gt; {
15053 15053 return request;
15054 15054 })();
15055 15055  
  15056 +/** @description response type for postServiceConstCompanyType */
  15057 +export interface PostServiceConstCompanyTypeResponse {
  15058 + /**
  15059 + * @description
  15060 + * OK
  15061 + */
  15062 + 200: ServerResult;
  15063 + /**
  15064 + * @description
  15065 + * Created
  15066 + */
  15067 + 201: any;
  15068 + /**
  15069 + * @description
  15070 + * Unauthorized
  15071 + */
  15072 + 401: any;
  15073 + /**
  15074 + * @description
  15075 + * Forbidden
  15076 + */
  15077 + 403: any;
  15078 + /**
  15079 + * @description
  15080 + * Not Found
  15081 + */
  15082 + 404: any;
  15083 +}
  15084 +
  15085 +export type PostServiceConstCompanyTypeResponseSuccess =
  15086 + PostServiceConstCompanyTypeResponse[200];
  15087 +/**
  15088 + * @description
  15089 + * 单位类型
  15090 + * @tags front-const-controller
  15091 + * @produces *
  15092 + * @consumes application/json
  15093 + */
  15094 +export const postServiceConstCompanyType = /* #__PURE__ */ (() => {
  15095 + const method = 'post';
  15096 + const url = '/service/const/companyType';
  15097 + function request(): Promise<PostServiceConstCompanyTypeResponseSuccess> {
  15098 + return requester(request.url, {
  15099 + method: request.method,
  15100 + }) as unknown as Promise<PostServiceConstCompanyTypeResponseSuccess>;
  15101 + }
  15102 +
  15103 + /** http method */
  15104 + request.method = method;
  15105 + /** request url */
  15106 + request.url = url;
  15107 + return request;
  15108 +})();
  15109 +
15056 15110 /** @description response type for postServiceConstGetPayeeEnum */
15057 15111 export interface PostServiceConstGetPayeeEnumResponse {
15058 15112 /**
... ... @@ -15575,6 +15629,60 @@ export const postServiceConstNotCanModifyInvoiceRecordStatus =
15575 15629 return request;
15576 15630 })();
15577 15631  
  15632 +/** @description response type for postServiceConstOrderSource */
  15633 +export interface PostServiceConstOrderSourceResponse {
  15634 + /**
  15635 + * @description
  15636 + * OK
  15637 + */
  15638 + 200: ServerResult;
  15639 + /**
  15640 + * @description
  15641 + * Created
  15642 + */
  15643 + 201: any;
  15644 + /**
  15645 + * @description
  15646 + * Unauthorized
  15647 + */
  15648 + 401: any;
  15649 + /**
  15650 + * @description
  15651 + * Forbidden
  15652 + */
  15653 + 403: any;
  15654 + /**
  15655 + * @description
  15656 + * Not Found
  15657 + */
  15658 + 404: any;
  15659 +}
  15660 +
  15661 +export type PostServiceConstOrderSourceResponseSuccess =
  15662 + PostServiceConstOrderSourceResponse[200];
  15663 +/**
  15664 + * @description
  15665 + * 订单类型
  15666 + * @tags front-const-controller
  15667 + * @produces *
  15668 + * @consumes application/json
  15669 + */
  15670 +export const postServiceConstOrderSource = /* #__PURE__ */ (() => {
  15671 + const method = 'post';
  15672 + const url = '/service/const/orderSource';
  15673 + function request(): Promise<PostServiceConstOrderSourceResponseSuccess> {
  15674 + return requester(request.url, {
  15675 + method: request.method,
  15676 + }) as unknown as Promise<PostServiceConstOrderSourceResponseSuccess>;
  15677 + }
  15678 +
  15679 + /** http method */
  15680 + request.method = method;
  15681 + /** request url */
  15682 + request.url = url;
  15683 + return request;
  15684 +})();
  15685 +
15578 15686 /** @description response type for postServiceConstPayees */
15579 15687 export interface PostServiceConstPayeesResponse {
15580 15688 /**
... ... @@ -15629,6 +15737,77 @@ export const postServiceConstPayees = /* #__PURE__ */ (() =&gt; {
15629 15737 return request;
15630 15738 })();
15631 15739  
  15740 +/** @description request parameter type for postServiceConstPlatformType */
  15741 +export interface PostServiceConstPlatformTypeOption {
  15742 + /**
  15743 + * @description
  15744 + * companyType
  15745 + */
  15746 + query?: {
  15747 + /**
  15748 + @description
  15749 + companyType */
  15750 + companyType?: string;
  15751 + };
  15752 +}
  15753 +
  15754 +/** @description response type for postServiceConstPlatformType */
  15755 +export interface PostServiceConstPlatformTypeResponse {
  15756 + /**
  15757 + * @description
  15758 + * OK
  15759 + */
  15760 + 200: ServerResult;
  15761 + /**
  15762 + * @description
  15763 + * Created
  15764 + */
  15765 + 201: any;
  15766 + /**
  15767 + * @description
  15768 + * Unauthorized
  15769 + */
  15770 + 401: any;
  15771 + /**
  15772 + * @description
  15773 + * Forbidden
  15774 + */
  15775 + 403: any;
  15776 + /**
  15777 + * @description
  15778 + * Not Found
  15779 + */
  15780 + 404: any;
  15781 +}
  15782 +
  15783 +export type PostServiceConstPlatformTypeResponseSuccess =
  15784 + PostServiceConstPlatformTypeResponse[200];
  15785 +/**
  15786 + * @description
  15787 + * 平台类型
  15788 + * @tags front-const-controller
  15789 + * @produces *
  15790 + * @consumes application/json
  15791 + */
  15792 +export const postServiceConstPlatformType = /* #__PURE__ */ (() => {
  15793 + const method = 'post';
  15794 + const url = '/service/const/platformType';
  15795 + function request(
  15796 + option?: PostServiceConstPlatformTypeOption,
  15797 + ): Promise<PostServiceConstPlatformTypeResponseSuccess> {
  15798 + return requester(request.url, {
  15799 + method: request.method,
  15800 + ...option,
  15801 + }) as unknown as Promise<PostServiceConstPlatformTypeResponseSuccess>;
  15802 + }
  15803 +
  15804 + /** http method */
  15805 + request.method = method;
  15806 + /** request url */
  15807 + request.url = url;
  15808 + return request;
  15809 +})();
  15810 +
15632 15811 /** @description response type for postServiceConstProcureReturnBills */
15633 15812 export interface PostServiceConstProcureReturnBillsResponse {
15634 15813 /**
... ... @@ -15851,12 +16030,6 @@ export interface GetServiceInvoiceListInvoiceProjectOption {
15851 16030 createByName?: string;
15852 16031 createByNameLike?: string;
15853 16032 /**
15854   - @format date-time */
15855   - createTimeGe?: string;
15856   - /**
15857   - @format date-time */
15858   - createTimeLe?: string;
15859   - /**
15860 16033 @format int32 */
15861 16034 current?: number;
15862 16035 /**
... ...