Commit b5d69a01ea8063298a2f369b043a40d746e808f1

Authored by zhongnanhuang
1 parent 1a5687de

feat: update 修改内容比较bug修复

src/access.ts
... ... @@ -8,11 +8,10 @@ export default (initialState: API.UserInfo) => {
8 8 const canReadSales =
9 9 roleSmallVO?.code === 'salesManager' ||
10 10 roleSmallVO?.code === 'salesRepresentative';
11   -
12 11 return {
13 12 canReadAdmin: canReadAdmin,
14 13 canReadProcure: canReadProcure,
15   - canReadLinda: username === 'Linda' || '吴量',
  14 + canReadLinda: username === 'Linda' || username === '吴量',
16 15 canReadAdminAndFinance: canReadFinance || canReadAdmin,
17 16 canReadSales: canReadSales,
18 17 canReadAdminAndFinanceAndSales:
... ...
src/pages/Instalment/components/detail/detail.tsx
... ... @@ -185,6 +185,7 @@ export default ({ toReload }) => {
185 185 }}
186 186 submitTimeout={2000}
187 187 onFinish={async (values) => {
  188 + console.log(values);
188 189 if (editProductBody.length === 0) {
189 190 message.error('请填写产品数据');
190 191 return false;
... ...
src/pages/Order/components/ModifiedDiffModal.tsx
1 1 import { postServiceOrderModifiedDiff } from '@/services';
2   -import {
3   - enumValueToLabel,
4   - getAliYunOSSFileNameFromUrl,
5   - getUserInfo,
6   -} from '@/utils';
  2 +import { enumValueToLabel, getAliYunOSSFileNameFromUrl } from '@/utils';
7 3 import { getReceivingCompanyOptions, isSupplier } from '@/utils/order';
8 4 import { Button, Divider, Modal, Space, Table, TableProps } from 'antd';
9   -import Base64 from 'base-64';
10 5 import { useEffect, useState } from 'react';
11 6 import {
12 7 PAYEE_OPTIONS,
  8 + PAYMENT_CHANNEL_OPTIONS,
  9 + PAYMENT_METHOD_OPTIONS,
13 10 PRODUCT_BELONG_DEPARTMENT_OPTIONS,
14 11 SHIPPING_WAREHOUSE_OPTIONS,
15 12 } from '../constant';
16 13 import '../table.less';
17 14  
18 15 export default ({ setVisible, subOrders, mainOrder, onClose }) => {
19   - const userInfo = getUserInfo();
20 16 let subIds = subOrders?.map((item: any) => {
21 17 return item.id;
22 18 });
... ... @@ -77,6 +73,12 @@ export default ({ setVisible, subOrders, mainOrder, onClose }) => {
77 73 if (key === '发货仓库') {
78 74 newText = enumValueToLabel(text, SHIPPING_WAREHOUSE_OPTIONS);
79 75 }
  76 + if (key === '支付渠道') {
  77 + newText = enumValueToLabel(text, PAYMENT_CHANNEL_OPTIONS);
  78 + }
  79 + if (key === '支付方式') {
  80 + newText = enumValueToLabel(text, PAYMENT_METHOD_OPTIONS);
  81 + }
80 82 if (key === '单价' || key === '合计') {
81 83 newText = '¥' + newText;
82 84 }
... ... @@ -186,6 +188,8 @@ export default ({ setVisible, subOrders, mainOrder, onClose }) => {
186 188 ['productBelongBusiness', '所属事业部'],
187 189 ['shippingWarehouse', '发货仓库'],
188 190 ['notes', '备注'],
  191 + ['paymentChannel', '支付渠道'],
  192 + ['paymentMethod', '支付方式'],
189 193 ['listAnnex', '附件'],
190 194 ];
191 195 for (let field of visibleFields) {
... ... @@ -234,7 +238,6 @@ export default ({ setVisible, subOrders, mainOrder, onClose }) => {
234 238 ['institutionContactName', '单位联系人'],
235 239 ['institution', '单位'],
236 240 ['totalPayment', '支付总金额'],
237   - ['paymentChannel', '支付渠道'],
238 241 ['notes', '备注'],
239 242 ['bank', '开户银行'],
240 243 ['bankAccountNumber', '银行账号'],
... ...
src/pages/Order/components/OrderDrawer.tsx
... ... @@ -1195,7 +1195,12 @@ export default ({ onClose, data, subOrders, orderOptType }) => {
1195 1195 { required: true, message: '支付总额必填' },
1196 1196 {
1197 1197 validator: (_, value) => {
1198   - if (value <= 0) {
  1198 + let paymentMethod = form.getFieldValue('paymentMethod');
  1199 + if (
  1200 + value <= 0 &&
  1201 + paymentMethod &&
  1202 + paymentMethod === 'WITHHOLDING_ADVANCE_DEPOSIT'
  1203 + ) {
1199 1204 return Promise.reject(
1200 1205 new Error(
1201 1206 '支付总额必须大于0 (扣预存的订单现在也必须填写实际金额)',
... ... @@ -1431,8 +1436,6 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
1431 1436 (sum, item) => FloatAdd(sum, item.subOrderPayment),
1432 1437 0,
1433 1438 );
1434   - console.log(reduce);
1435   - console.log(totalPayment);
1436 1439 if (reduce === totalPayment || value) {
1437 1440 return Promise.resolve();
1438 1441 }
... ...
src/services/definition.ts
... ... @@ -950,6 +950,8 @@ export interface FilePathDto {
950 950 url?: string;
951 951 }
952 952  
  953 +export type InputStream = any;
  954 +
953 955 export interface InventoryMaterialStockReq {
954 956 auxPropId?: string;
955 957 isShowStockPosition?: boolean;
... ... @@ -1497,6 +1499,93 @@ export interface OrderProfitAnalysisVo {
1497 1499 orderIds?: Array<number>;
1498 1500 }
1499 1501  
  1502 +export interface OrderStageFileDo {
  1503 + file?: File;
  1504 +}
  1505 +
  1506 +export interface OrderStagesDelDo {
  1507 + deviceIds?: Array<number>;
  1508 + ids?: Array<number>;
  1509 +}
  1510 +
  1511 +export interface OrderStagesDeviceDo {
  1512 + /** @format int32 */
  1513 + count?: number;
  1514 + createByName?: string;
  1515 + /** @format date-time */
  1516 + createTime?: string;
  1517 + deviceModel?: string;
  1518 + deviceName?: string;
  1519 + /** @format int32 */
  1520 + did?: number;
  1521 + logicDelete?: boolean;
  1522 + /** @format double */
  1523 + price?: number;
  1524 + /** @format double */
  1525 + unitPrice?: number;
  1526 + updateByName?: string;
  1527 + /** @format date-time */
  1528 + updateTime?: string;
  1529 +}
  1530 +
  1531 +export interface OrderStagesFromDo {
  1532 + annex?: string;
  1533 + contract?: string;
  1534 + createByName?: string;
  1535 + /** @format date-time */
  1536 + createTime?: string;
  1537 + /** @format date-time */
  1538 + dateRange?: string;
  1539 + /** @format int32 */
  1540 + id?: number;
  1541 + logicDelete?: boolean;
  1542 + orderStagesDeviceDoList?: Array<OrderStagesDeviceDo>;
  1543 + payWay?: string;
  1544 + remark?: string;
  1545 + terminal?: string;
  1546 + /** @format double */
  1547 + totalPrice?: number;
  1548 + updateByName?: string;
  1549 + /** @format date-time */
  1550 + updateTime?: string;
  1551 + vendor?: string;
  1552 + /** @format int32 */
  1553 + version?: number;
  1554 +}
  1555 +
  1556 +export interface OrderStagesPayWay {
  1557 + /** @format date-time */
  1558 + dateRange?: string;
  1559 + fileName?: string;
  1560 + fileUrl?: string;
  1561 + /** @format int32 */
  1562 + id?: number;
  1563 + /** @format int32 */
  1564 + number?: number;
  1565 + /** @format int32 */
  1566 + ossId?: number;
  1567 +}
  1568 +
  1569 +export interface OrderStagesPayWayDo {
  1570 + /** @format int32 */
  1571 + ossId?: number;
  1572 +}
  1573 +
  1574 +export interface OrderStagesPayWayFileDo {
  1575 + fileList?: Array<OrderStageFileDo>;
  1576 +}
  1577 +
  1578 +export interface OrderStagesSelDo {
  1579 + contract?: string;
  1580 + /** @format date-time */
  1581 + dateRange?: string;
  1582 + deviceName?: string;
  1583 + /** @format int64 */
  1584 + id?: number;
  1585 + terminal?: string;
  1586 + vendor?: string;
  1587 +}
  1588 +
1500 1589 export interface OrderTrackStageFieldVO {
1501 1590 aitexTestFinishResult?: string;
1502 1591 aitexTestSendTime?: string;
... ... @@ -2084,6 +2173,17 @@ export interface ResetPwdVO {
2084 2173 userId?: number;
2085 2174 }
2086 2175  
  2176 +export interface Resource {
  2177 + description?: string;
  2178 + file?: TsgFile;
  2179 + filename?: string;
  2180 + inputStream?: InputStream;
  2181 + open?: boolean;
  2182 + readable?: boolean;
  2183 + uri?: URI;
  2184 + url?: TsgURL;
  2185 +}
  2186 +
2087 2187 export interface SalOrderSaveDto {
2088 2188 id?: string;
2089 2189 }
... ... @@ -2149,6 +2249,29 @@ export interface TokenApiDto {
2149 2249 username?: string;
2150 2250 }
2151 2251  
  2252 +export interface URI {
  2253 + absolute?: boolean;
  2254 + authority?: string;
  2255 + fragment?: string;
  2256 + host?: string;
  2257 + opaque?: boolean;
  2258 + path?: string;
  2259 + /** @format int32 */
  2260 + port?: number;
  2261 + query?: string;
  2262 + rawAuthority?: string;
  2263 + rawFragment?: string;
  2264 + rawPath?: string;
  2265 + rawQuery?: string;
  2266 + rawSchemeSpecificPart?: string;
  2267 + rawUserInfo?: string;
  2268 + scheme?: string;
  2269 + schemeSpecificPart?: string;
  2270 + userInfo?: string;
  2271 +}
  2272 +
  2273 +export type URLStreamHandler = any;
  2274 +
2152 2275 export interface Unit {
2153 2276 /** @format float */
2154 2277 coefficient?: number;
... ... @@ -2410,6 +2533,32 @@ export interface ApiOrderConfirmReceiveRequest {
2410 2533 subOrderIds?: Array<number>;
2411 2534 }
2412 2535  
  2536 +export interface TsgFile {
  2537 + absolute?: boolean;
  2538 + absoluteFile?: TsgFile;
  2539 + absolutePath?: string;
  2540 + canonicalFile?: TsgFile;
  2541 + canonicalPath?: string;
  2542 + directory?: boolean;
  2543 + executable?: boolean;
  2544 + file?: boolean;
  2545 + /** @format int64 */
  2546 + freeSpace?: number;
  2547 + hidden?: boolean;
  2548 + /** @format int64 */
  2549 + lastModified?: number;
  2550 + name?: string;
  2551 + parent?: string;
  2552 + parentFile?: TsgFile;
  2553 + path?: string;
  2554 + readable?: boolean;
  2555 + /** @format int64 */
  2556 + totalSpace?: number;
  2557 + /** @format int64 */
  2558 + usableSpace?: number;
  2559 + writable?: boolean;
  2560 +}
  2561 +
2413 2562 export interface SalesRechargePrepaymentAuditRequest {
2414 2563 /**
2415 2564 * @description
... ... @@ -2743,6 +2892,25 @@ export interface StoreOrderInvoiceRequest {
2743 2892 updateTime?: string;
2744 2893 }
2745 2894  
  2895 +export interface TsgURL {
  2896 + authority?: string;
  2897 + content?: any;
  2898 + /** @format int32 */
  2899 + defaultPort?: number;
  2900 + deserializedFields?: URLStreamHandler;
  2901 + file?: string;
  2902 + host?: string;
  2903 + path?: string;
  2904 + /** @format int32 */
  2905 + port?: number;
  2906 + protocol?: string;
  2907 + query?: string;
  2908 + ref?: string;
  2909 + /** @format int32 */
  2910 + serializedHashCode?: number;
  2911 + userInfo?: string;
  2912 +}
  2913 +
2746 2914 /**
2747 2915 * @description
2748 2916 * 保存用户地址请求对象
... ...
src/services/request.ts
... ... @@ -60,6 +60,12 @@ import type {
60 60 OrderFieldLockApplyQueryVO,
61 61 OrderOptLogQueryVO,
62 62 OrderProfitAnalysisVo,
  63 + OrderStagesDelDo,
  64 + OrderStagesFromDo,
  65 + OrderStagesPayWay,
  66 + OrderStagesPayWayDo,
  67 + OrderStagesPayWayFileDo,
  68 + OrderStagesSelDo,
63 69 OrderUnlockFieldApplyVO,
64 70 OrderUpdateVO,
65 71 ProcureConvertProcureDto,
... ... @@ -6291,6 +6297,737 @@ export const postOrderErpOrderQueryById = /* #__PURE__ */ (() =&gt; {
6291 6297 return request;
6292 6298 })();
6293 6299  
  6300 +/** @description request parameter type for postOrderErpOrderStagesAdd */
  6301 +export interface PostOrderErpOrderStagesAddOption {
  6302 + /**
  6303 + * @description
  6304 + * orderStagesFromDo
  6305 + */
  6306 + body: {
  6307 + /**
  6308 + @description
  6309 + orderStagesFromDo */
  6310 + orderStagesFromDo: OrderStagesFromDo;
  6311 + };
  6312 +}
  6313 +
  6314 +/** @description response type for postOrderErpOrderStagesAdd */
  6315 +export interface PostOrderErpOrderStagesAddResponse {
  6316 + /**
  6317 + * @description
  6318 + * OK
  6319 + */
  6320 + 200: ServerResult;
  6321 + /**
  6322 + * @description
  6323 + * Created
  6324 + */
  6325 + 201: any;
  6326 + /**
  6327 + * @description
  6328 + * Unauthorized
  6329 + */
  6330 + 401: any;
  6331 + /**
  6332 + * @description
  6333 + * Forbidden
  6334 + */
  6335 + 403: any;
  6336 + /**
  6337 + * @description
  6338 + * Not Found
  6339 + */
  6340 + 404: any;
  6341 +}
  6342 +
  6343 +export type PostOrderErpOrderStagesAddResponseSuccess =
  6344 + PostOrderErpOrderStagesAddResponse[200];
  6345 +/**
  6346 + * @description
  6347 + * 添加或者修改分期账单
  6348 + * @tags order-stages-controller
  6349 + * @produces *
  6350 + * @consumes application/json
  6351 + */
  6352 +export const postOrderErpOrderStagesAdd = /* #__PURE__ */ (() => {
  6353 + const method = 'post';
  6354 + const url = '/order/erp/orderStages/add';
  6355 + function request(
  6356 + option: PostOrderErpOrderStagesAddOption,
  6357 + ): Promise<PostOrderErpOrderStagesAddResponseSuccess> {
  6358 + return requester(request.url, {
  6359 + method: request.method,
  6360 + ...option,
  6361 + }) as unknown as Promise<PostOrderErpOrderStagesAddResponseSuccess>;
  6362 + }
  6363 +
  6364 + /** http method */
  6365 + request.method = method;
  6366 + /** request url */
  6367 + request.url = url;
  6368 + return request;
  6369 +})();
  6370 +
  6371 +/** @description request parameter type for deleteOrderErpOrderStagesDelect */
  6372 +export interface DeleteOrderErpOrderStagesDelectOption {
  6373 + /**
  6374 + * @description
  6375 + * orderStagesDelDo
  6376 + */
  6377 + body: {
  6378 + /**
  6379 + @description
  6380 + orderStagesDelDo */
  6381 + orderStagesDelDo: OrderStagesDelDo;
  6382 + };
  6383 +}
  6384 +
  6385 +/** @description response type for deleteOrderErpOrderStagesDelect */
  6386 +export interface DeleteOrderErpOrderStagesDelectResponse {
  6387 + /**
  6388 + * @description
  6389 + * OK
  6390 + */
  6391 + 200: ServerResult;
  6392 + /**
  6393 + * @description
  6394 + * No Content
  6395 + */
  6396 + 204: any;
  6397 + /**
  6398 + * @description
  6399 + * Unauthorized
  6400 + */
  6401 + 401: any;
  6402 + /**
  6403 + * @description
  6404 + * Forbidden
  6405 + */
  6406 + 403: any;
  6407 +}
  6408 +
  6409 +export type DeleteOrderErpOrderStagesDelectResponseSuccess =
  6410 + DeleteOrderErpOrderStagesDelectResponse[200];
  6411 +/**
  6412 + * @description
  6413 + * 删除分期账单
  6414 + * @tags order-stages-controller
  6415 + * @produces *
  6416 + */
  6417 +export const deleteOrderErpOrderStagesDelect = /* #__PURE__ */ (() => {
  6418 + const method = 'delete';
  6419 + const url = '/order/erp/orderStages/delect';
  6420 + function request(
  6421 + option: DeleteOrderErpOrderStagesDelectOption,
  6422 + ): Promise<DeleteOrderErpOrderStagesDelectResponseSuccess> {
  6423 + return requester(request.url, {
  6424 + method: request.method,
  6425 + ...option,
  6426 + }) as unknown as Promise<DeleteOrderErpOrderStagesDelectResponseSuccess>;
  6427 + }
  6428 +
  6429 + /** http method */
  6430 + request.method = method;
  6431 + /** request url */
  6432 + request.url = url;
  6433 + return request;
  6434 +})();
  6435 +
  6436 +/** @description response type for getOrderErpOrderStagesExport */
  6437 +export interface GetOrderErpOrderStagesExportResponse {
  6438 + /**
  6439 + * @description
  6440 + * OK
  6441 + */
  6442 + 200: any;
  6443 + /**
  6444 + * @description
  6445 + * Unauthorized
  6446 + */
  6447 + 401: any;
  6448 + /**
  6449 + * @description
  6450 + * Forbidden
  6451 + */
  6452 + 403: any;
  6453 + /**
  6454 + * @description
  6455 + * Not Found
  6456 + */
  6457 + 404: any;
  6458 +}
  6459 +
  6460 +export type GetOrderErpOrderStagesExportResponseSuccess =
  6461 + GetOrderErpOrderStagesExportResponse[200];
  6462 +/**
  6463 + * @description
  6464 + * 导出分期账单
  6465 + * @tags order-stages-controller
  6466 + * @produces *
  6467 + */
  6468 +export const getOrderErpOrderStagesExport = /* #__PURE__ */ (() => {
  6469 + const method = 'get';
  6470 + const url = '/order/erp/orderStages/export';
  6471 + function request(): Promise<GetOrderErpOrderStagesExportResponseSuccess> {
  6472 + return requester(request.url, {
  6473 + method: request.method,
  6474 + }) as unknown as Promise<GetOrderErpOrderStagesExportResponseSuccess>;
  6475 + }
  6476 +
  6477 + /** http method */
  6478 + request.method = method;
  6479 + /** request url */
  6480 + request.url = url;
  6481 + return request;
  6482 +})();
  6483 +
  6484 +/** @description request parameter type for postOrderErpOrderStagesImport */
  6485 +export interface PostOrderErpOrderStagesImportOption {
  6486 + /**
  6487 + * @description
  6488 + * file
  6489 + */
  6490 + formData: {
  6491 + /**
  6492 + @description
  6493 + file */
  6494 + file: File;
  6495 + };
  6496 +}
  6497 +
  6498 +/** @description response type for postOrderErpOrderStagesImport */
  6499 +export interface PostOrderErpOrderStagesImportResponse {
  6500 + /**
  6501 + * @description
  6502 + * OK
  6503 + */
  6504 + 200: ServerResult;
  6505 + /**
  6506 + * @description
  6507 + * Created
  6508 + */
  6509 + 201: any;
  6510 + /**
  6511 + * @description
  6512 + * Unauthorized
  6513 + */
  6514 + 401: any;
  6515 + /**
  6516 + * @description
  6517 + * Forbidden
  6518 + */
  6519 + 403: any;
  6520 + /**
  6521 + * @description
  6522 + * Not Found
  6523 + */
  6524 + 404: any;
  6525 +}
  6526 +
  6527 +export type PostOrderErpOrderStagesImportResponseSuccess =
  6528 + PostOrderErpOrderStagesImportResponse[200];
  6529 +/**
  6530 + * @description
  6531 + * 导入分期账单
  6532 + * @tags order-stages-controller
  6533 + * @produces *
  6534 + * @consumes multipart/form-data
  6535 + */
  6536 +export const postOrderErpOrderStagesImport = /* #__PURE__ */ (() => {
  6537 + const method = 'post';
  6538 + const url = '/order/erp/orderStages/import';
  6539 + function request(
  6540 + option: PostOrderErpOrderStagesImportOption,
  6541 + ): Promise<PostOrderErpOrderStagesImportResponseSuccess> {
  6542 + return requester(request.url, {
  6543 + method: request.method,
  6544 + ...option,
  6545 + }) as unknown as Promise<PostOrderErpOrderStagesImportResponseSuccess>;
  6546 + }
  6547 +
  6548 + /** http method */
  6549 + request.method = method;
  6550 + /** request url */
  6551 + request.url = url;
  6552 + return request;
  6553 +})();
  6554 +
  6555 +/** @description response type for getOrderErpOrderStagesListAll */
  6556 +export interface GetOrderErpOrderStagesListAllResponse {
  6557 + /**
  6558 + * @description
  6559 + * OK
  6560 + */
  6561 + 200: ServerResult;
  6562 + /**
  6563 + * @description
  6564 + * Unauthorized
  6565 + */
  6566 + 401: any;
  6567 + /**
  6568 + * @description
  6569 + * Forbidden
  6570 + */
  6571 + 403: any;
  6572 + /**
  6573 + * @description
  6574 + * Not Found
  6575 + */
  6576 + 404: any;
  6577 +}
  6578 +
  6579 +export type GetOrderErpOrderStagesListAllResponseSuccess =
  6580 + GetOrderErpOrderStagesListAllResponse[200];
  6581 +/**
  6582 + * @description
  6583 + * 查询所有分期账单
  6584 + * @tags order-stages-controller
  6585 + * @produces *
  6586 + */
  6587 +export const getOrderErpOrderStagesListAll = /* #__PURE__ */ (() => {
  6588 + const method = 'get';
  6589 + const url = '/order/erp/orderStages/listAll';
  6590 + function request(): Promise<GetOrderErpOrderStagesListAllResponseSuccess> {
  6591 + return requester(request.url, {
  6592 + method: request.method,
  6593 + }) as unknown as Promise<GetOrderErpOrderStagesListAllResponseSuccess>;
  6594 + }
  6595 +
  6596 + /** http method */
  6597 + request.method = method;
  6598 + /** request url */
  6599 + request.url = url;
  6600 + return request;
  6601 +})();
  6602 +
  6603 +/** @description request parameter type for postOrderErpOrderStagesSaveOrUpdate */
  6604 +export interface PostOrderErpOrderStagesSaveOrUpdateOption {
  6605 + /**
  6606 + * @description
  6607 + * orderStagesFromDo
  6608 + */
  6609 + body: {
  6610 + /**
  6611 + @description
  6612 + orderStagesFromDo */
  6613 + orderStagesFromDo: OrderStagesFromDo;
  6614 + };
  6615 +}
  6616 +
  6617 +/** @description response type for postOrderErpOrderStagesSaveOrUpdate */
  6618 +export interface PostOrderErpOrderStagesSaveOrUpdateResponse {
  6619 + /**
  6620 + * @description
  6621 + * OK
  6622 + */
  6623 + 200: ServerResult;
  6624 + /**
  6625 + * @description
  6626 + * Created
  6627 + */
  6628 + 201: any;
  6629 + /**
  6630 + * @description
  6631 + * Unauthorized
  6632 + */
  6633 + 401: any;
  6634 + /**
  6635 + * @description
  6636 + * Forbidden
  6637 + */
  6638 + 403: any;
  6639 + /**
  6640 + * @description
  6641 + * Not Found
  6642 + */
  6643 + 404: any;
  6644 +}
  6645 +
  6646 +export type PostOrderErpOrderStagesSaveOrUpdateResponseSuccess =
  6647 + PostOrderErpOrderStagesSaveOrUpdateResponse[200];
  6648 +/**
  6649 + * @description
  6650 + * 添加或者修改分期账单
  6651 + * @tags order-stages-controller
  6652 + * @produces *
  6653 + * @consumes application/json
  6654 + */
  6655 +export const postOrderErpOrderStagesSaveOrUpdate = /* #__PURE__ */ (() => {
  6656 + const method = 'post';
  6657 + const url = '/order/erp/orderStages/saveOrUpdate';
  6658 + function request(
  6659 + option: PostOrderErpOrderStagesSaveOrUpdateOption,
  6660 + ): Promise<PostOrderErpOrderStagesSaveOrUpdateResponseSuccess> {
  6661 + return requester(request.url, {
  6662 + method: request.method,
  6663 + ...option,
  6664 + }) as unknown as Promise<PostOrderErpOrderStagesSaveOrUpdateResponseSuccess>;
  6665 + }
  6666 +
  6667 + /** http method */
  6668 + request.method = method;
  6669 + /** request url */
  6670 + request.url = url;
  6671 + return request;
  6672 +})();
  6673 +
  6674 +/** @description request parameter type for postOrderErpOrderStagesSearch */
  6675 +export interface PostOrderErpOrderStagesSearchOption {
  6676 + /**
  6677 + * @description
  6678 + * orderStagesSelDo
  6679 + */
  6680 + body: {
  6681 + /**
  6682 + @description
  6683 + orderStagesSelDo */
  6684 + orderStagesSelDo: OrderStagesSelDo;
  6685 + };
  6686 +}
  6687 +
  6688 +/** @description response type for postOrderErpOrderStagesSearch */
  6689 +export interface PostOrderErpOrderStagesSearchResponse {
  6690 + /**
  6691 + * @description
  6692 + * OK
  6693 + */
  6694 + 200: ServerResult;
  6695 + /**
  6696 + * @description
  6697 + * Created
  6698 + */
  6699 + 201: any;
  6700 + /**
  6701 + * @description
  6702 + * Unauthorized
  6703 + */
  6704 + 401: any;
  6705 + /**
  6706 + * @description
  6707 + * Forbidden
  6708 + */
  6709 + 403: any;
  6710 + /**
  6711 + * @description
  6712 + * Not Found
  6713 + */
  6714 + 404: any;
  6715 +}
  6716 +
  6717 +export type PostOrderErpOrderStagesSearchResponseSuccess =
  6718 + PostOrderErpOrderStagesSearchResponse[200];
  6719 +/**
  6720 + * @description
  6721 + * 条件搜索分期账单
  6722 + * @tags order-stages-controller
  6723 + * @produces *
  6724 + * @consumes application/json
  6725 + */
  6726 +export const postOrderErpOrderStagesSearch = /* #__PURE__ */ (() => {
  6727 + const method = 'post';
  6728 + const url = '/order/erp/orderStages/search';
  6729 + function request(
  6730 + option: PostOrderErpOrderStagesSearchOption,
  6731 + ): Promise<PostOrderErpOrderStagesSearchResponseSuccess> {
  6732 + return requester(request.url, {
  6733 + method: request.method,
  6734 + ...option,
  6735 + }) as unknown as Promise<PostOrderErpOrderStagesSearchResponseSuccess>;
  6736 + }
  6737 +
  6738 + /** http method */
  6739 + request.method = method;
  6740 + /** request url */
  6741 + request.url = url;
  6742 + return request;
  6743 +})();
  6744 +
  6745 +/** @description request parameter type for postOrderErpOrderStagesUpload */
  6746 +export interface PostOrderErpOrderStagesUploadOption {
  6747 + /**
  6748 + * @description
  6749 + * file
  6750 + */
  6751 + formData: {
  6752 + /**
  6753 + @description
  6754 + file */
  6755 + file: File;
  6756 + };
  6757 +}
  6758 +
  6759 +/** @description response type for postOrderErpOrderStagesUpload */
  6760 +export interface PostOrderErpOrderStagesUploadResponse {
  6761 + /**
  6762 + * @description
  6763 + * OK
  6764 + */
  6765 + 200: ServerResult;
  6766 + /**
  6767 + * @description
  6768 + * Created
  6769 + */
  6770 + 201: any;
  6771 + /**
  6772 + * @description
  6773 + * Unauthorized
  6774 + */
  6775 + 401: any;
  6776 + /**
  6777 + * @description
  6778 + * Forbidden
  6779 + */
  6780 + 403: any;
  6781 + /**
  6782 + * @description
  6783 + * Not Found
  6784 + */
  6785 + 404: any;
  6786 +}
  6787 +
  6788 +export type PostOrderErpOrderStagesUploadResponseSuccess =
  6789 + PostOrderErpOrderStagesUploadResponse[200];
  6790 +/**
  6791 + * @description
  6792 + * 合同文件上传
  6793 + * @tags order-stages-controller
  6794 + * @produces *
  6795 + * @consumes multipart/form-data
  6796 + */
  6797 +export const postOrderErpOrderStagesUpload = /* #__PURE__ */ (() => {
  6798 + const method = 'post';
  6799 + const url = '/order/erp/orderStages/upload';
  6800 + function request(
  6801 + option: PostOrderErpOrderStagesUploadOption,
  6802 + ): Promise<PostOrderErpOrderStagesUploadResponseSuccess> {
  6803 + return requester(request.url, {
  6804 + method: request.method,
  6805 + ...option,
  6806 + }) as unknown as Promise<PostOrderErpOrderStagesUploadResponseSuccess>;
  6807 + }
  6808 +
  6809 + /** http method */
  6810 + request.method = method;
  6811 + /** request url */
  6812 + request.url = url;
  6813 + return request;
  6814 +})();
  6815 +
  6816 +/** @description request parameter type for postOrderErpOrderStagesPayWaySaveOrUpdate */
  6817 +export interface PostOrderErpOrderStagesPayWaySaveOrUpdateOption {
  6818 + /**
  6819 + * @description
  6820 + * orderStagesPayWayList
  6821 + */
  6822 + body: {
  6823 + /**
  6824 + @description
  6825 + orderStagesPayWayList */
  6826 + orderStagesPayWayList: Array<OrderStagesPayWay>;
  6827 + };
  6828 +}
  6829 +
  6830 +/** @description response type for postOrderErpOrderStagesPayWaySaveOrUpdate */
  6831 +export interface PostOrderErpOrderStagesPayWaySaveOrUpdateResponse {
  6832 + /**
  6833 + * @description
  6834 + * OK
  6835 + */
  6836 + 200: ServerResult;
  6837 + /**
  6838 + * @description
  6839 + * Created
  6840 + */
  6841 + 201: any;
  6842 + /**
  6843 + * @description
  6844 + * Unauthorized
  6845 + */
  6846 + 401: any;
  6847 + /**
  6848 + * @description
  6849 + * Forbidden
  6850 + */
  6851 + 403: any;
  6852 + /**
  6853 + * @description
  6854 + * Not Found
  6855 + */
  6856 + 404: any;
  6857 +}
  6858 +
  6859 +export type PostOrderErpOrderStagesPayWaySaveOrUpdateResponseSuccess =
  6860 + PostOrderErpOrderStagesPayWaySaveOrUpdateResponse[200];
  6861 +/**
  6862 + * @description
  6863 + * 修改或者保存
  6864 + * @tags order-stages-pay-way-controller
  6865 + * @produces *
  6866 + * @consumes application/json
  6867 + */
  6868 +export const postOrderErpOrderStagesPayWaySaveOrUpdate =
  6869 + /* #__PURE__ */ (() => {
  6870 + const method = 'post';
  6871 + const url = '/order/erp/orderStagesPayWay/saveOrUpdate';
  6872 + function request(
  6873 + option: PostOrderErpOrderStagesPayWaySaveOrUpdateOption,
  6874 + ): Promise<PostOrderErpOrderStagesPayWaySaveOrUpdateResponseSuccess> {
  6875 + return requester(request.url, {
  6876 + method: request.method,
  6877 + ...option,
  6878 + }) as unknown as Promise<PostOrderErpOrderStagesPayWaySaveOrUpdateResponseSuccess>;
  6879 + }
  6880 +
  6881 + /** http method */
  6882 + request.method = method;
  6883 + /** request url */
  6884 + request.url = url;
  6885 + return request;
  6886 + })();
  6887 +
  6888 +/** @description request parameter type for postOrderErpOrderStagesPayWaySelect */
  6889 +export interface PostOrderErpOrderStagesPayWaySelectOption {
  6890 + /**
  6891 + * @description
  6892 + * orderStagesPayWayDo
  6893 + */
  6894 + body: {
  6895 + /**
  6896 + @description
  6897 + orderStagesPayWayDo */
  6898 + orderStagesPayWayDo: OrderStagesPayWayDo;
  6899 + };
  6900 +}
  6901 +
  6902 +/** @description response type for postOrderErpOrderStagesPayWaySelect */
  6903 +export interface PostOrderErpOrderStagesPayWaySelectResponse {
  6904 + /**
  6905 + * @description
  6906 + * OK
  6907 + */
  6908 + 200: ServerResult;
  6909 + /**
  6910 + * @description
  6911 + * Created
  6912 + */
  6913 + 201: any;
  6914 + /**
  6915 + * @description
  6916 + * Unauthorized
  6917 + */
  6918 + 401: any;
  6919 + /**
  6920 + * @description
  6921 + * Forbidden
  6922 + */
  6923 + 403: any;
  6924 + /**
  6925 + * @description
  6926 + * Not Found
  6927 + */
  6928 + 404: any;
  6929 +}
  6930 +
  6931 +export type PostOrderErpOrderStagesPayWaySelectResponseSuccess =
  6932 + PostOrderErpOrderStagesPayWaySelectResponse[200];
  6933 +/**
  6934 + * @description
  6935 + * 查询该的分期比例
  6936 + * @tags order-stages-pay-way-controller
  6937 + * @produces *
  6938 + * @consumes application/json
  6939 + */
  6940 +export const postOrderErpOrderStagesPayWaySelect = /* #__PURE__ */ (() => {
  6941 + const method = 'post';
  6942 + const url = '/order/erp/orderStagesPayWay/select';
  6943 + function request(
  6944 + option: PostOrderErpOrderStagesPayWaySelectOption,
  6945 + ): Promise<PostOrderErpOrderStagesPayWaySelectResponseSuccess> {
  6946 + return requester(request.url, {
  6947 + method: request.method,
  6948 + ...option,
  6949 + }) as unknown as Promise<PostOrderErpOrderStagesPayWaySelectResponseSuccess>;
  6950 + }
  6951 +
  6952 + /** http method */
  6953 + request.method = method;
  6954 + /** request url */
  6955 + request.url = url;
  6956 + return request;
  6957 +})();
  6958 +
  6959 +/** @description request parameter type for postOrderErpOrderStagesPayWayUploadForPayWay */
  6960 +export interface PostOrderErpOrderStagesPayWayUploadForPayWayOption {
  6961 + /**
  6962 + * @description
  6963 + * orderStagesPayWayFileDo
  6964 + */
  6965 + body: {
  6966 + /**
  6967 + @description
  6968 + orderStagesPayWayFileDo */
  6969 + orderStagesPayWayFileDo: OrderStagesPayWayFileDo;
  6970 + };
  6971 +}
  6972 +
  6973 +/** @description response type for postOrderErpOrderStagesPayWayUploadForPayWay */
  6974 +export interface PostOrderErpOrderStagesPayWayUploadForPayWayResponse {
  6975 + /**
  6976 + * @description
  6977 + * OK
  6978 + */
  6979 + 200: ServerResult;
  6980 + /**
  6981 + * @description
  6982 + * Created
  6983 + */
  6984 + 201: any;
  6985 + /**
  6986 + * @description
  6987 + * Unauthorized
  6988 + */
  6989 + 401: any;
  6990 + /**
  6991 + * @description
  6992 + * Forbidden
  6993 + */
  6994 + 403: any;
  6995 + /**
  6996 + * @description
  6997 + * Not Found
  6998 + */
  6999 + 404: any;
  7000 +}
  7001 +
  7002 +export type PostOrderErpOrderStagesPayWayUploadForPayWayResponseSuccess =
  7003 + PostOrderErpOrderStagesPayWayUploadForPayWayResponse[200];
  7004 +/**
  7005 + * @description
  7006 + * 付款合同文件上传
  7007 + * @tags order-stages-pay-way-controller
  7008 + * @produces *
  7009 + * @consumes application/json
  7010 + */
  7011 +export const postOrderErpOrderStagesPayWayUploadForPayWay =
  7012 + /* #__PURE__ */ (() => {
  7013 + const method = 'post';
  7014 + const url = '/order/erp/orderStagesPayWay/uploadForPayWay';
  7015 + function request(
  7016 + option: PostOrderErpOrderStagesPayWayUploadForPayWayOption,
  7017 + ): Promise<PostOrderErpOrderStagesPayWayUploadForPayWayResponseSuccess> {
  7018 + return requester(request.url, {
  7019 + method: request.method,
  7020 + ...option,
  7021 + }) as unknown as Promise<PostOrderErpOrderStagesPayWayUploadForPayWayResponseSuccess>;
  7022 + }
  7023 +
  7024 + /** http method */
  7025 + request.method = method;
  7026 + /** request url */
  7027 + request.url = url;
  7028 + return request;
  7029 + })();
  7030 +
6294 7031 /** @description request parameter type for postOrderErpProfitAnalysis */
6295 7032 export interface PostOrderErpProfitAnalysisOption {
6296 7033 /**
... ...