Commit 59a2a0454dcd2d0526ef284a107868ad03608639

Authored by zhongnanhuang
1 parent 2505974c

feat: update 回款功能

src/pages/Order/components/CheckModal.tsx
@@ -8,7 +8,7 @@ import { @@ -8,7 +8,7 @@ import {
8 postServiceOrderToProcureAudit, 8 postServiceOrderToProcureAudit,
9 } from '@/services'; 9 } from '@/services';
10 import { ModalForm, ProFormTextArea } from '@ant-design/pro-components'; 10 import { ModalForm, ProFormTextArea } from '@ant-design/pro-components';
11 -import { Button, Col, Form, Modal, Row, UploadFile, message } from 'antd'; 11 +import { Button, Col, Form, Modal, Row, UploadFile, message, Image, Divider } from 'antd';
12 import Upload, { RcFile, UploadProps } from 'antd/es/upload'; 12 import Upload, { RcFile, UploadProps } from 'antd/es/upload';
13 import { useEffect, useRef, useState } from 'react'; 13 import { useEffect, useRef, useState } from 'react';
14 import { 14 import {
@@ -35,6 +35,7 @@ export default ({ @@ -35,6 +35,7 @@ export default ({
35 const [previewOpen, setPreviewOpen] = useState(false); 35 const [previewOpen, setPreviewOpen] = useState(false);
36 const [previewImage, setPreviewImage] = useState(''); 36 const [previewImage, setPreviewImage] = useState('');
37 const [previewTitle, setPreviewTitle] = useState(''); 37 const [previewTitle, setPreviewTitle] = useState('');
  38 + const [paymentReceiptsImages, setPymentReceiptsImages] = useState<any[]>([]);
38 const fileListObj = useRef<UploadFile[]>([]); //使用引用类型,使得在useEffect里面设置监听事件后,不用更新监听事件也能保持obj与外界一致 39 const fileListObj = useRef<UploadFile[]>([]); //使用引用类型,使得在useEffect里面设置监听事件后,不用更新监听事件也能保持obj与外界一致
39 const getBase64 = (file: RcFile): Promise<string> => 40 const getBase64 = (file: RcFile): Promise<string> =>
40 new Promise((resolve, reject) => { 41 new Promise((resolve, reject) => {
@@ -106,6 +107,16 @@ export default ({ @@ -106,6 +107,16 @@ export default ({
106 107
107 useEffect(() => { 108 useEffect(() => {
108 getOrderAfterSalesInfo(); 109 getOrderAfterSalesInfo();
  110 +
  111 + let paymentReceiptsImagesList: any[] = [];
  112 + subOrders?.forEach((item: any) => {
  113 + if (item.paymentReceiptAnnexList) {
  114 + paymentReceiptsImagesList.push(...item.paymentReceiptAnnexList);
  115 + }
  116 + })
  117 + //去重
  118 + paymentReceiptsImagesList = [...new Set(paymentReceiptsImagesList)];
  119 + setPymentReceiptsImages(paymentReceiptsImagesList);
109 }, []); 120 }, []);
110 121
111 const handleChange: UploadProps['onChange'] = ({ fileList: newFileList }) => { 122 const handleChange: UploadProps['onChange'] = ({ fileList: newFileList }) => {
@@ -194,8 +205,8 @@ export default ({ @@ -194,8 +205,8 @@ export default ({
194 setPreviewOpen(true); 205 setPreviewOpen(true);
195 setPreviewTitle( 206 setPreviewTitle(
196 file.name || 207 file.name ||
197 - file.originFileObj?.name ||  
198 - file.url!.substring(file.url!.lastIndexOf('/') + 1), 208 + file.originFileObj?.name ||
  209 + file.url!.substring(file.url!.lastIndexOf('/') + 1),
199 ); 210 );
200 }; 211 };
201 212
@@ -405,6 +416,9 @@ export default ({ @@ -405,6 +416,9 @@ export default ({
405 if (checkType(CHECK_TYPE.URGENT_INVOICE_AUDITING)) { 416 if (checkType(CHECK_TYPE.URGENT_INVOICE_AUDITING)) {
406 type = 'urgent_invoice_audit'; 417 type = 'urgent_invoice_audit';
407 } 418 }
  419 + if (checkType(CHECK_TYPE.PAYMENT_RECEIPTS_AUDIT)) {
  420 + type = 'payment_receipt_audit';
  421 + }
408 doCheck({ 422 doCheck({
409 pass: false, 423 pass: false,
410 subOrderIds: subOrderIds, 424 subOrderIds: subOrderIds,
@@ -499,6 +513,9 @@ export default ({ @@ -499,6 +513,9 @@ export default ({
499 if (checkType(CHECK_TYPE.URGENT_INVOICE_AUDITING)) { 513 if (checkType(CHECK_TYPE.URGENT_INVOICE_AUDITING)) {
500 type = 'urgent_invoice_audit'; 514 type = 'urgent_invoice_audit';
501 } 515 }
  516 + if (checkType(CHECK_TYPE.PAYMENT_RECEIPTS_AUDIT)) {
  517 + type = 'payment_receipt_audit';
  518 + }
502 doCheck({ 519 doCheck({
503 pass: true, 520 pass: true,
504 subOrderIds: subOrderIds, 521 subOrderIds: subOrderIds,
@@ -526,6 +543,29 @@ export default ({ @@ -526,6 +543,29 @@ export default ({
526 '' 543 ''
527 )} 544 )}
528 545
  546 + {
  547 + checkType(CHECK_TYPE.PAYMENT_RECEIPTS_AUDIT) ? (
  548 + <>
  549 + <Divider orientation="center"><span className='text-sm'>回款凭证</span></Divider>
  550 + <Image.PreviewGroup
  551 + className="mr-10"
  552 + preview={{
  553 + onChange: (current, prev) =>
  554 + console.log(`current index: ${current}, prev index: ${prev}`),
  555 + }}
  556 + >
  557 + {paymentReceiptsImages.map((url) => (
  558 + <>
  559 + <Image width={120} src={url} /> <Divider type="vertical" />
  560 + </>
  561 + ))}
  562 + </Image.PreviewGroup>
  563 + <Divider></Divider>
  564 + </>
  565 + )
  566 + : ""
  567 + }
  568 +
529 <div>请特别注意订单总金额与订单金额。</div> 569 <div>请特别注意订单总金额与订单金额。</div>
530 <ProFormTextArea 570 <ProFormTextArea
531 width="lg" 571 width="lg"
src/pages/Order/components/SubOrderComfirmReceiptImagesModal.tsx renamed to src/pages/Order/components/ImagesViewerModal.tsx
1 import { postServiceOrderViewImages } from '@/services'; 1 import { postServiceOrderViewImages } from '@/services';
2 import { Button, Divider, Image, Modal } from 'antd'; 2 import { Button, Divider, Image, Modal } from 'antd';
3 import { useEffect, useState } from 'react'; 3 import { useEffect, useState } from 'react';
4 -export default ({ setVisible, onClose, orderRow }) => {  
5 - const [images, setImages] = useState([]); 4 +export default ({ setVisible, optType, onClose, orderRow }) => {
  5 + const [images, setImages] = useState<any[]>([]);
  6 + const [title, setTitle] = useState("收货凭证");
6 const handleOk = () => { 7 const handleOk = () => {
7 onClose(); 8 onClose();
8 setVisible(false); 9 setVisible(false);
@@ -21,13 +22,25 @@ export default ({ setVisible, onClose, orderRow }) =&gt; { @@ -21,13 +22,25 @@ export default ({ setVisible, onClose, orderRow }) =&gt; {
21 setImages(images); 22 setImages(images);
22 } 23 }
23 useEffect(() => { 24 useEffect(() => {
24 - getImages(); 25 + if (optType === 'shippingReceipt') {
  26 + setTitle("收货凭证");
  27 + getImages();
  28 + } else if (optType === 'paymentReceipt') {
  29 + let paymentReceiptsImagesList: any[] = [];
  30 + if (orderRow.paymentReceiptAnnexList) {
  31 + paymentReceiptsImagesList.push(...orderRow.paymentReceiptAnnexList);
  32 + }
  33 + //去重
  34 + paymentReceiptsImagesList = [...new Set(paymentReceiptsImagesList)];
  35 + setImages(paymentReceiptsImagesList);
  36 + }
  37 +
25 }, []); 38 }, []);
26 39
27 return ( 40 return (
28 <> 41 <>
29 <Modal 42 <Modal
30 - title="收货凭证" 43 + title={title}
31 open 44 open
32 onOk={handleOk} 45 onOk={handleOk}
33 onCancel={handleCancel} 46 onCancel={handleCancel}
src/pages/Order/components/MessageListDrawer.tsx
@@ -57,8 +57,8 @@ export default ({ setVisible }) =&gt; { @@ -57,8 +57,8 @@ export default ({ setVisible }) =&gt; {
57 /** 57 /**
58 * 跳转到订单列表 58 * 跳转到订单列表
59 */ 59 */
60 - function toOrderList(mainOrderId: any) {  
61 - window.open('/order?id=' + mainOrderId, '_blank'); 60 + function toOrderList(mainOrderIds: any) {
  61 + window.open('/order?id=' + mainOrderIds.join(","), '_blank');
62 } 62 }
63 63
64 /** 64 /**
@@ -171,9 +171,9 @@ export default ({ setVisible }) =&gt; { @@ -171,9 +171,9 @@ export default ({ setVisible }) =&gt; {
171 /> 171 />
172 <Flex 172 <Flex
173 vertical 173 vertical
174 - className="hover:cursor-pointer" 174 + className="w-full hover:cursor-pointer"
175 onClick={async () => { 175 onClick={async () => {
176 - toOrderList(item.mainOrderId); 176 + toOrderList(item.mainOrderIds);
177 177
178 let readSuccess = await read([item.mesUsrRelId]); 178 let readSuccess = await read([item.mesUsrRelId]);
179 if (readSuccess) { 179 if (readSuccess) {
src/pages/Order/components/ModifiedDiffModal.tsx
@@ -4,7 +4,7 @@ import { @@ -4,7 +4,7 @@ import {
4 getAliYunOSSFileNameFromUrl, 4 getAliYunOSSFileNameFromUrl,
5 getUserInfo, 5 getUserInfo,
6 } from '@/utils'; 6 } from '@/utils';
7 -import { getReceivingCompanyOptions } from '@/utils/order'; 7 +import { getReceivingCompanyOptions, isSupplier } from '@/utils/order';
8 import { Button, Divider, Modal, Space, Table, TableProps } from 'antd'; 8 import { Button, Divider, Modal, Space, Table, TableProps } from 'antd';
9 import Base64 from 'base-64'; 9 import Base64 from 'base-64';
10 import { useEffect, useState } from 'react'; 10 import { useEffect, useState } from 'react';
@@ -48,7 +48,7 @@ export default ({ setVisible, subOrders, mainOrder, onClose }) =&gt; { @@ -48,7 +48,7 @@ export default ({ setVisible, subOrders, mainOrder, onClose }) =&gt; {
48 ], 48 ],
49 ); 49 );
50 50
51 - return userInfo?.username === '首能' && unvisibleFields.includes(field); 51 + return isSupplier() && unvisibleFields.includes(field);
52 } 52 }
53 53
54 async function loadData() { 54 async function loadData() {
@@ -234,6 +234,7 @@ export default ({ setVisible, subOrders, mainOrder, onClose }) =&gt; { @@ -234,6 +234,7 @@ export default ({ setVisible, subOrders, mainOrder, onClose }) =&gt; {
234 ['institutionContactName', '单位联系人'], 234 ['institutionContactName', '单位联系人'],
235 ['institution', '单位'], 235 ['institution', '单位'],
236 ['totalPayment', '支付总金额'], 236 ['totalPayment', '支付总金额'],
  237 + ['paymentChannel', '支付渠道'],
237 ['notes', '备注'], 238 ['notes', '备注'],
238 ['bank', '开户银行'], 239 ['bank', '开户银行'],
239 ['bankAccountNumber', '银行账号'], 240 ['bankAccountNumber', '银行账号'],
src/pages/Order/components/OrderDrawer.tsx
@@ -32,7 +32,7 @@ import { @@ -32,7 +32,7 @@ import {
32 ProFormTextArea, 32 ProFormTextArea,
33 ProFormUploadDragger, 33 ProFormUploadDragger,
34 } from '@ant-design/pro-components'; 34 } from '@ant-design/pro-components';
35 -import { Button, Form, message } from 'antd'; 35 +import { Button, Form, Modal, message } from 'antd';
36 import { cloneDeep } from 'lodash'; 36 import { cloneDeep } from 'lodash';
37 import { useEffect, useRef, useState } from 'react'; 37 import { useEffect, useRef, useState } from 'react';
38 import { 38 import {
@@ -52,7 +52,9 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; { @@ -52,7 +52,9 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
52 const [salesCodeOptions, setSalesCodeOptions] = useState([]); 52 const [salesCodeOptions, setSalesCodeOptions] = useState([]);
53 const [submitBtnLoading, setSubmitBtnLoading] = useState(false); 53 const [submitBtnLoading, setSubmitBtnLoading] = useState(false);
54 const [drawerTitle, setDrawerTitle] = useState(''); 54 const [drawerTitle, setDrawerTitle] = useState('');
  55 + const [hasLocalData, setHasLocalData] = useState(false);
55 const [customer, setCustomer] = useState({}); 56 const [customer, setCustomer] = useState({});
  57 + const [localSaveLoading, setLocalSaveLoading] = useState(false);
56 const [kingdeeCstomerModalVisible, setKingdeeCstomerModalVisible] = 58 const [kingdeeCstomerModalVisible, setKingdeeCstomerModalVisible] =
57 useState(false); 59 useState(false);
58 const [ 60 const [
@@ -66,6 +68,7 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; { @@ -66,6 +68,7 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
66 const [productCustomerContactOptions, setProductCustomerContactOptions] = 68 const [productCustomerContactOptions, setProductCustomerContactOptions] =
67 useState([]); //客户的收货人选项 69 useState([]); //客户的收货人选项
68 const [form] = Form.useForm<{ 70 const [form] = Form.useForm<{
  71 + isLocalData: boolean;
69 salesCode: ''; 72 salesCode: '';
70 customerName: ''; 73 customerName: '';
71 customerContactNumber: ''; 74 customerContactNumber: '';
@@ -567,7 +570,68 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; { @@ -567,7 +570,68 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
567 return true; 570 return true;
568 }; 571 };
569 572
  573 + /**
  574 + * 是否有草稿
  575 + */
  576 + function checkHasLocalData() {
  577 + let preOrderData = localStorage.getItem('preOrderData');
  578 + let hasLocalData = preOrderData !== null && preOrderData !== undefined && preOrderData !== '';
  579 + setHasLocalData(hasLocalData);
  580 + return hasLocalData;
  581 + }
  582 +
  583 + /**
  584 + * 保存表单数据到本地
  585 + */
  586 + function saveFormDataToLocal() {
  587 + let preOrderData = localStorage.getItem('preOrderData');
  588 + let values = form.getFieldsValue();
  589 + values.isLocalData = true;//标识为本地草稿数据
  590 + let formData = JSON.stringify(values);
  591 +
  592 + //检查本地是否已有数据
  593 + if (preOrderData) {
  594 + Modal.confirm({
  595 + title: "提示",
  596 + content: "检测到本地有订单数据,是否覆盖?",
  597 + onOk: () => {
  598 + localStorage.setItem("preOrderData", formData);
  599 + message.success("本地保存成功");
  600 + },
  601 + onCancel: () => {
  602 + message.info("取消保存");
  603 + }
  604 + })
  605 + } else {
  606 + localStorage.setItem("preOrderData", formData);
  607 + message.success("本地保存成功");
  608 + }
  609 +
  610 + checkHasLocalData();
  611 + setLocalSaveLoading(false);
  612 + }
  613 +
  614 + /**
  615 + * 使用草稿数据
  616 + */
  617 + function useLocalFormData() {
  618 + let preOrderData = localStorage.getItem('preOrderData');
  619 + if (preOrderData) {
  620 + let formData = JSON.parse(preOrderData);
  621 + form.setFieldsValue(formData);
  622 + }
  623 + }
  624 +
  625 + /**
  626 + * 刪除草稿数据
  627 + */
  628 + function removeLocalFormData(){
  629 + localStorage.removeItem("preOrderData");
  630 + }
  631 +
  632 +
570 useEffect(() => { 633 useEffect(() => {
  634 + checkHasLocalData();
571 getSalesCodeOptions(); 635 getSalesCodeOptions();
572 if (optType('after-sales-check')) { 636 if (optType('after-sales-check')) {
573 getOldOrderData(data.id); 637 getOldOrderData(data.id);
@@ -579,6 +643,7 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; { @@ -579,6 +643,7 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
579 return ( 643 return (
580 <> 644 <>
581 <DrawerForm<{ 645 <DrawerForm<{
  646 + isLocalData: any;
582 deleteSubOrderLists: any; 647 deleteSubOrderLists: any;
583 name: string; 648 name: string;
584 company: string; 649 company: string;
@@ -593,6 +658,10 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; { @@ -593,6 +658,10 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
593 maxWidth: window.innerWidth * 0.8, 658 maxWidth: window.innerWidth * 0.8,
594 minWidth: 400, 659 minWidth: 400,
595 }} 660 }}
  661 + onFinishFailed={() => {
  662 + message.error("表单项存在错误,请检查");
  663 + setSubmitBtnLoading(false);
  664 + }}
596 submitter={{ 665 submitter={{
597 render: (props) => { 666 render: (props) => {
598 return [ 667 return [
@@ -605,6 +674,17 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; { @@ -605,6 +674,17 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
605 取消 674 取消
606 </Button>, 675 </Button>,
607 <Button 676 <Button
  677 + key="localSave"
  678 + loading={localSaveLoading}
  679 + hidden={!optType('add') && !optType("copy")}
  680 + onClick={() => {
  681 + setLocalSaveLoading(true);
  682 + saveFormDataToLocal();
  683 + }}
  684 + >
  685 + 本地保存
  686 + </Button>,
  687 + <Button
608 key="ok" 688 key="ok"
609 type="primary" 689 type="primary"
610 loading={submitBtnLoading} 690 loading={submitBtnLoading}
@@ -612,10 +692,10 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; { @@ -612,10 +692,10 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
612 onClick={() => { 692 onClick={() => {
613 setSubmitBtnLoading(true); 693 setSubmitBtnLoading(true);
614 props.submit(); 694 props.submit();
615 - setSubmitBtnLoading(false); 695 +
616 }} 696 }}
617 > 697 >
618 - 确定 698 + 提交
619 </Button>, 699 </Button>,
620 ]; 700 ];
621 }, 701 },
@@ -625,6 +705,7 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; { @@ -625,6 +705,7 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
625 drawerProps={{ 705 drawerProps={{
626 destroyOnClose: true, 706 destroyOnClose: true,
627 maskClosable: false, 707 maskClosable: false,
  708 + extra: [<Button key="useLocalData" hidden={!hasLocalData} type='link' onClick={() => { useLocalFormData() }}>使用草稿</Button>]
628 }} 709 }}
629 submitTimeout={2000} 710 submitTimeout={2000}
630 onFinish={async (values) => { 711 onFinish={async (values) => {
@@ -696,6 +777,14 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; { @@ -696,6 +777,14 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
696 message.success(res.message); 777 message.success(res.message);
697 // 不返回不会关闭弹框 778 // 不返回不会关闭弹框
698 onClose(true); 779 onClose(true);
  780 +
  781 + //判断保存的数据是否是本地草稿,是的话将草稿删除
  782 + let isLocalData = form.getFieldValue("isLocalData");
  783 + if(isLocalData){
  784 + removeLocalFormData();
  785 + checkHasLocalData();
  786 + }
  787 +
699 return true; 788 return true;
700 } 789 }
701 790
@@ -866,7 +955,7 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; { @@ -866,7 +955,7 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
866 }, 955 },
867 }} 956 }}
868 debounceTime={1000} 957 debounceTime={1000}
869 - request={async (value, {}) => { 958 + request={async (value, { }) => {
870 const keywords = value.keyWords; 959 const keywords = value.keyWords;
871 const res = await postKingdeeRepCustomer({ 960 const res = await postKingdeeRepCustomer({
872 data: { search: keywords }, 961 data: { search: keywords },
@@ -1275,7 +1364,7 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; { @@ -1275,7 +1364,7 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
1275 rules={[{ required: true, message: '商品参数必填' }]} 1364 rules={[{ required: true, message: '商品参数必填' }]}
1276 disabled={ 1365 disabled={
1277 productParametersDisabledFlagList[listMeta.index] !== 1366 productParametersDisabledFlagList[listMeta.index] !==
1278 - false || optType('after-sales-check') 1367 + false || optType('after-sales-check')
1279 } 1368 }
1280 />, 1369 />,
1281 <ProFormDigit 1370 <ProFormDigit
@@ -1316,7 +1405,7 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; { @@ -1316,7 +1405,7 @@ export default ({ onClose, data, subOrders, orderOptType }) =&gt; {
1316 placeholder="请输入商品单位" 1405 placeholder="请输入商品单位"
1317 disabled={ 1406 disabled={
1318 productParametersDisabledFlagList[listMeta.index] !== 1407 productParametersDisabledFlagList[listMeta.index] !==
1319 - false || optType('after-sales-check') 1408 + false || optType('after-sales-check')
1320 } 1409 }
1321 rules={[{ required: true, message: '商品单位必填' }]} 1410 rules={[{ required: true, message: '商品单位必填' }]}
1322 />, 1411 />,
src/pages/Order/components/UploadPayBillModal.tsx 0 → 100644
  1 +import { ModalForm } from '@ant-design/pro-components';
  2 +import { Form, Modal, Upload, UploadFile, UploadProps, message } from 'antd';
  3 +import { RcFile } from 'antd/lib/upload';
  4 +import { cloneDeep } from 'lodash';
  5 +import { useEffect, useRef, useState } from 'react';
  6 +import { COMFIR_RECEIPT_IMAGES_NUMBER } from '../constant';
  7 +import { PlusOutlined } from '@ant-design/icons';
  8 +import { transImageFile } from '@/utils';
  9 +import { postServiceOrderFileProcess, postServiceOrderUploadPaymentReceipt } from '@/services';
  10 +import { RESPONSE_CODE } from '@/constants/enum';
  11 +
  12 +// import { cloneDeep } from 'lodash';
  13 +export default ({ setVisible, subOrders, mainOrder, onClose }) => {
  14 + const [form] = Form.useForm();
  15 + const [previewOpen, setPreviewOpen] = useState(false);
  16 + const [previewImage, setPreviewImage] = useState('');
  17 + const [previewTitle, setPreviewTitle] = useState('');
  18 + const handleCancel = () => setPreviewOpen(false);
  19 + const [fileList, setFileList] = useState<UploadFile[]>([]);
  20 + const getBase64 = (file: RcFile): Promise<string> =>
  21 + new Promise((resolve, reject) => {
  22 + const reader = new FileReader();
  23 + reader.readAsDataURL(file);
  24 + reader.onload = () => resolve(reader.result as string);
  25 + reader.onerror = (error) => reject(error);
  26 + });
  27 +
  28 + const subOrderIds = subOrders?.map((item: any) => { return item.id });
  29 + const fileListObj = useRef<UploadFile[]>([]); //使用引用类型,使得在useEffect里面设置监听事件后,不用更新监听事件也能保持obj与外界一致
  30 + const handleBeforeUpload = (file: any) => {
  31 + setFileList([...fileList, file]);
  32 + return false;
  33 + };
  34 + const uploadButton = (
  35 + <div>
  36 + <PlusOutlined />
  37 + <div style={{ marginTop: 8 }}>上传凭证</div>
  38 + </div>
  39 + );
  40 + /** 粘贴快捷键的回调 */
  41 + const onPaste = async (e: any) => {
  42 + /** 获取剪切板的数据clipboardData */
  43 + let clipboardData = e.clipboardData,
  44 + i = 0,
  45 + items,
  46 + item,
  47 + types;
  48 +
  49 + /** 为空判断 */
  50 + if (clipboardData) {
  51 + items = clipboardData.items;
  52 + if (!items) {
  53 + message.info('您的剪贴板中没有照片');
  54 + return;
  55 + }
  56 +
  57 + item = items[0];
  58 + types = clipboardData.types || [];
  59 + /** 遍历剪切板的数据 */
  60 + for (; i < types.length; i++) {
  61 + if (types[i] === 'Files') {
  62 + item = items[i];
  63 + break;
  64 + }
  65 + }
  66 +
  67 + /** 判断文件是否为图片 */
  68 + if (item && item.kind === 'file' && item.type.match(/^image\//i)) {
  69 + const imgItem = item.getAsFile();
  70 + const newFileList = cloneDeep(fileListObj.current);
  71 + let filteredArray = newFileList.filter(
  72 + (obj) => obj.status !== 'removed',
  73 + ); //过滤掉状态为已删除的照片
  74 + const listItem = {
  75 + ...imgItem,
  76 + status: 'done',
  77 + url: await getBase64(imgItem),
  78 + originFileObj: imgItem,
  79 + };
  80 +
  81 + if (filteredArray.length >= COMFIR_RECEIPT_IMAGES_NUMBER) {
  82 + message.info('发货照片数量不能超过3');
  83 + return;
  84 + }
  85 + fileListObj.current = filteredArray;
  86 + filteredArray.push(listItem);
  87 + setFileList(filteredArray);
  88 + return;
  89 + }
  90 + }
  91 +
  92 + message.info('您的剪贴板中没有照片');
  93 + };
  94 + const handleChange: UploadProps['onChange'] = ({ fileList: newFileList }) => {
  95 + //fileListObj得在change里变化,change的参数是已经处理过的file数组
  96 + //beforeUpload中的参数file是未处理过,还需要Base64拿到文件数据处理
  97 + fileListObj.current = newFileList;
  98 + setFileList(newFileList);
  99 + };
  100 + const handlePreview = async (file: UploadFile) => {
  101 + if (!file.url && !file.preview) {
  102 + file.preview = await getBase64(file.originFileObj as RcFile);
  103 + }
  104 + setPreviewImage(file.url || (file.preview as string));
  105 + setPreviewOpen(true);
  106 + setPreviewTitle(
  107 + file.name ||
  108 + file.originFileObj?.name ||
  109 + file.url!.substring(file.url!.lastIndexOf('/') + 1),
  110 + );
  111 + };
  112 + const props: UploadProps = {
  113 + onRemove: (file) => {
  114 + const index = fileList.indexOf(file);
  115 + const newFileList = fileList.slice();
  116 + newFileList.splice(index, 1);
  117 + setFileList(newFileList);
  118 + },
  119 + beforeUpload: handleBeforeUpload,
  120 + listType: 'picture-card',
  121 + onPreview: handlePreview,
  122 + fileList,
  123 + onChange: handleChange,
  124 + accept: 'image/png, image/jpeg, image/png',
  125 + // action: '/api/service/order/fileProcess',
  126 + name: 'files',
  127 + headers: { Authorization: localStorage.getItem('token') },
  128 + };
  129 +
  130 + useEffect(() => {
  131 +
  132 + document.addEventListener('paste', onPaste);
  133 + return () => {
  134 + document.removeEventListener('paste', onPaste);
  135 + };
  136 + }, []);
  137 + return (
  138 + <>
  139 + <ModalForm<{
  140 + filePaths: any;
  141 + }>
  142 + width={500}
  143 + open
  144 + title="回款凭证上传"
  145 + form={form}
  146 + autoFocusFirstInput
  147 + modalProps={{
  148 + okText: '提交',
  149 + cancelText: '取消',
  150 + destroyOnClose: true,
  151 + onCancel: () => {
  152 + setVisible(false);
  153 + },
  154 + }}
  155 + onFinish={async () => {
  156 + if (fileList.length <= 0) {
  157 + message.error('请上传至少一张凭证');
  158 + return;
  159 + }
  160 + message.open({
  161 + type: 'loading',
  162 + content: '正在上传凭证...',
  163 + duration: 0,
  164 + });
  165 + //附件处理
  166 + let formData = new FormData();
  167 + //附件处理
  168 + for (let file of fileList) {
  169 + if (file.originFileObj) {
  170 + formData.append('files', file.originFileObj as RcFile);
  171 + } else {
  172 + //有url的话取url(源文件),没url取thumbUrl。有url的时候thumbUrl是略缩图
  173 + if (file?.url === undefined || file?.url === null) {
  174 + formData.append(
  175 + 'files',
  176 + transImageFile(file?.thumbUrl),
  177 + file?.originFileObj?.name,
  178 + );
  179 + } else {
  180 + formData.append(
  181 + 'files',
  182 + transImageFile(file?.url),
  183 + file?.originFileObj?.name,
  184 + );
  185 + }
  186 + }
  187 + }
  188 + let res = await postServiceOrderFileProcess({
  189 + data: formData,
  190 + });
  191 + message.destroy();
  192 + if (res.result === RESPONSE_CODE.SUCCESS) {
  193 + let fileUrls = res?.data?.map((item) => {
  194 + return { url: item };
  195 + });
  196 + //财务审核
  197 + const data = await postServiceOrderUploadPaymentReceipt({
  198 + data: {
  199 + subOrderIds: subOrderIds,
  200 + filePaths: fileUrls,
  201 + },
  202 + });
  203 + if (data.result === RESPONSE_CODE.SUCCESS) {
  204 + message.success(data.message);
  205 + onClose();
  206 + }
  207 + } else {
  208 + message.success('上传失败');
  209 + }
  210 + onClose();
  211 + }}
  212 + onOpenChange={setVisible}
  213 + >
  214 +
  215 + <div className="pb-4 text-xs decoration-gray-50">
  216 + 可复制照片粘贴
  217 + </div>
  218 + <Upload {...props}>
  219 + {fileList.length < COMFIR_RECEIPT_IMAGES_NUMBER
  220 + ? uploadButton
  221 + : ''}
  222 + </Upload>
  223 + </ModalForm>
  224 +
  225 + <Modal
  226 + open={previewOpen}
  227 + title={previewTitle}
  228 + footer={null}
  229 + onCancel={handleCancel}
  230 + >
  231 + <img alt="图片预览" style={{ width: '100%' }} src={previewImage} />
  232 + </Modal>
  233 + </>
  234 + );
  235 +};
src/pages/Order/constant.ts
1 import { postServiceOrderQueryCustomerInformation } from '@/services'; 1 import { postServiceOrderQueryCustomerInformation } from '@/services';
2 import { enumToProTableEnumValue, getUserInfo } from '@/utils'; 2 import { enumToProTableEnumValue, getUserInfo } from '@/utils';
3 -import { getReceivingCompanyOptions } from '@/utils/order'; 3 +import { getReceivingCompanyOptions, isSupplier } from '@/utils/order';
4 export const COMFIR_RECEIPT_IMAGES_NUMBER = 3; 4 export const COMFIR_RECEIPT_IMAGES_NUMBER = 3;
5 5
6 export const PAYMENT_CHANNEL_OPTIONS = { 6 export const PAYMENT_CHANNEL_OPTIONS = {
@@ -25,6 +25,7 @@ export const PAYMENT_METHOD_OPTIONS = { @@ -25,6 +25,7 @@ export const PAYMENT_METHOD_OPTIONS = {
25 PLATFORM_SETTLEMENT: '平台结算', 25 PLATFORM_SETTLEMENT: '平台结算',
26 CASH_ON_DELIVERY: '货到付款', 26 CASH_ON_DELIVERY: '货到付款',
27 HIRE_PURCHASE: '分期付款', 27 HIRE_PURCHASE: '分期付款',
  28 + PAYMENT_RECEIPT:'已回款'
28 }; 29 };
29 30
30 export const PRODUCT_BELONG_DEPARTMENT_OPTIONS = { 31 export const PRODUCT_BELONG_DEPARTMENT_OPTIONS = {
@@ -100,6 +101,7 @@ export const CHECK_TYPE = { @@ -100,6 +101,7 @@ export const CHECK_TYPE = {
100 NODE_OPERATING_AUDIT: 'NODE_OPERATING_AUDIT', 101 NODE_OPERATING_AUDIT: 'NODE_OPERATING_AUDIT',
101 MODIFY_LEADER_AUDIT: 'MODIFY_LEADER_AUDIT', 102 MODIFY_LEADER_AUDIT: 'MODIFY_LEADER_AUDIT',
102 URGENT_INVOICE_AUDITING: 'URGENT_INVOICE_AUDITING', 103 URGENT_INVOICE_AUDITING: 'URGENT_INVOICE_AUDITING',
  104 + PAYMENT_RECEIPTS_AUDIT: 'PAYMENT_RECEIPTS_AUDIT',
103 }; 105 };
104 106
105 /** 107 /**
@@ -148,6 +150,12 @@ export const POST_AUDIT_OPTIONS = { @@ -148,6 +150,12 @@ export const POST_AUDIT_OPTIONS = {
148 POST_AUDIT_FAIL: '后置审核失败', 150 POST_AUDIT_FAIL: '后置审核失败',
149 }; 151 };
150 152
  153 +export const PAYMENT_RECEIPTS_STATUS_OPTIONS = {
  154 + WAIT_AUDIT: '回款待审核',
  155 + AUDIT_PASS: '回款已审核',
  156 + AUDIT_NOTPASS: '回款审核失败'
  157 +};
  158 +
151 export const ORDER_STATUS_OPTIONS = { 159 export const ORDER_STATUS_OPTIONS = {
152 UNAUDITED: '未审核', 160 UNAUDITED: '未审核',
153 LEADER_PROCESS: '领导待审核', 161 LEADER_PROCESS: '领导待审核',
@@ -158,8 +166,7 @@ export const ORDER_STATUS_OPTIONS = { @@ -158,8 +166,7 @@ export const ORDER_STATUS_OPTIONS = {
158 PROCURE_UN_PROCESS: '采购待审核', 166 PROCURE_UN_PROCESS: '采购待审核',
159 PROCURE_PROCESS: '采购已审核', 167 PROCURE_PROCESS: '采购已审核',
160 PROCURE_PROCESS_FOR_MINE: '采购待打印', 168 PROCURE_PROCESS_FOR_MINE: '采购待打印',
161 - PROCURE_WAIT_SHIP:  
162 - getUserInfo()?.username === '首能' ? '待发货' : '采购待发货', 169 + PROCURE_WAIT_SHIP: isSupplier() ? '待发货' : '采购待发货',
163 SUPPLIER_WAIT_SHIP: '供应商待发货', 170 SUPPLIER_WAIT_SHIP: '供应商待发货',
164 WAIT_SHIP: '待发货', 171 WAIT_SHIP: '待发货',
165 SHIPPED: '已发货', 172 SHIPPED: '已发货',
@@ -183,8 +190,8 @@ export const MODIFIED_AUDIT_STATUS_OPTIONS = { @@ -183,8 +190,8 @@ export const MODIFIED_AUDIT_STATUS_OPTIONS = {
183 * 采购筛选订单的主要订单状态 190 * 采购筛选订单的主要订单状态
184 */ 191 */
185 export const PROCURE_PRIMARY_ORDER_STATUS_OPTIONS = { 192 export const PROCURE_PRIMARY_ORDER_STATUS_OPTIONS = {
186 - PROCURE_UN_PROCESS: '采购未审核',  
187 - PROCURE_WAIT_SHIP: '采购待发货', 193 + PROCURE_UN_PROCESS: isSupplier()?'未审核':'采购未审核',
  194 + PROCURE_WAIT_SHIP: isSupplier()?'待发货':'采购待发货',
188 SHIPPED: '已发货', 195 SHIPPED: '已发货',
189 }; 196 };
190 197
@@ -246,6 +253,10 @@ export const TAGS_COLOR = new Map&lt;string, string&gt;([ @@ -246,6 +253,10 @@ export const TAGS_COLOR = new Map&lt;string, string&gt;([
246 ['PARTIAL_INVOICING', 'processing'], 253 ['PARTIAL_INVOICING', 'processing'],
247 ['URGENT_INVOICE_AUDITING', 'warning'], 254 ['URGENT_INVOICE_AUDITING', 'warning'],
248 ['APPLY_FOR_INVOICING', 'processing'], 255 ['APPLY_FOR_INVOICING', 'processing'],
  256 + ['AUDIT_FAILURE','error'],
  257 + ['WAIT_AUDIT','warning'],
  258 + ['AUDIT_PASS','success'],
  259 + ['AUDIT_NOTPASS','error']
249 ]); 260 ]);
250 export const SALES_CODE_OPTIONS = [ 261 export const SALES_CODE_OPTIONS = [
251 { label: 'D-Linda', value: 'D-Linda' }, 262 { label: 'D-Linda', value: 'D-Linda' },
@@ -511,6 +522,13 @@ export const MAIN_ORDER_COLUMNS = [ @@ -511,6 +522,13 @@ export const MAIN_ORDER_COLUMNS = [
511 valueEnum: enumToProTableEnumValue(PAYMENT_METHOD_OPTIONS), 522 valueEnum: enumToProTableEnumValue(PAYMENT_METHOD_OPTIONS),
512 }, 523 },
513 { 524 {
  525 + title: '回款审核状态',
  526 + dataIndex: 'paymentReceiptStatus',
  527 + valueType: 'select',
  528 + hideInTable: true,
  529 + valueEnum: enumToProTableEnumValue(PAYMENT_RECEIPTS_STATUS_OPTIONS),
  530 + },
  531 + {
514 title: '物流方式', 532 title: '物流方式',
515 dataIndex: 'logisticsMethod', 533 dataIndex: 'logisticsMethod',
516 valueType: 'select', 534 valueType: 'select',
@@ -601,6 +619,20 @@ export const MAIN_ORDER_COLUMNS = [ @@ -601,6 +619,20 @@ export const MAIN_ORDER_COLUMNS = [
601 }, 619 },
602 }, 620 },
603 { 621 {
  622 + title: '申请开票时间',
  623 + dataIndex: 'applyTime',
  624 + valueType: 'dateTimeRange',
  625 + hideInTable: true,
  626 + search: {
  627 + transform: (value) => {
  628 + return {
  629 + applyBeginTime: value[0],
  630 + applyEndTime: value[1],
  631 + };
  632 + },
  633 + },
  634 + },
  635 + {
604 title: '生产开始时间', 636 title: '生产开始时间',
605 dataIndex: 'productionStartTime', 637 dataIndex: 'productionStartTime',
606 valueType: 'dateRange', 638 valueType: 'dateRange',
src/pages/Order/index.tsx
@@ -24,7 +24,7 @@ import { @@ -24,7 +24,7 @@ import {
24 getAliYunOSSFileNameFromUrl, 24 getAliYunOSSFileNameFromUrl,
25 isImageName, 25 isImageName,
26 } from '@/utils'; 26 } from '@/utils';
27 -import { getReceivingCompanyOptions } from '@/utils/order'; 27 +import { getReceivingCompanyOptions, isSupplier } from '@/utils/order';
28 import { getUserInfo } from '@/utils/user'; 28 import { getUserInfo } from '@/utils/user';
29 import { 29 import {
30 BellOutlined, 30 BellOutlined,
@@ -88,7 +88,6 @@ import ProcureCheckModal from &#39;./components/ProcureCheckModal&#39;; @@ -88,7 +88,6 @@ import ProcureCheckModal from &#39;./components/ProcureCheckModal&#39;;
88 import ProcureConvertModal from './components/ProcureConvertModal'; 88 import ProcureConvertModal from './components/ProcureConvertModal';
89 import ProductionTimeModal from './components/ProductionTimeModal'; 89 import ProductionTimeModal from './components/ProductionTimeModal';
90 import ShippingWarehouseChangeModal from './components/ShippingWarehouseChangeModal'; 90 import ShippingWarehouseChangeModal from './components/ShippingWarehouseChangeModal';
91 -import SubOrderComfirmReceiptImagesModal from './components/SubOrderComfirmReceiptImagesModal';  
92 import { 91 import {
93 AFTER_INVOICING_STATUS, 92 AFTER_INVOICING_STATUS,
94 CHECK_TYPE, 93 CHECK_TYPE,
@@ -98,7 +97,7 @@ import { @@ -98,7 +97,7 @@ import {
98 ORDER_STATUS_OPTIONS, 97 ORDER_STATUS_OPTIONS,
99 PAYEE_OPTIONS, 98 PAYEE_OPTIONS,
100 PAYMENT_CHANNEL_OPTIONS, 99 PAYMENT_CHANNEL_OPTIONS,
101 - PAYMENT_METHOD_OPTIONS, 100 + PAYMENT_RECEIPTS_STATUS_OPTIONS,
102 POST_AUDIT_OPTIONS, 101 POST_AUDIT_OPTIONS,
103 PROCURE_ORDER_STATUS, 102 PROCURE_ORDER_STATUS,
104 PROCURE_PRIMARY_ORDER_STATUS_OPTIONS, 103 PROCURE_PRIMARY_ORDER_STATUS_OPTIONS,
@@ -110,6 +109,8 @@ import { @@ -110,6 +109,8 @@ import {
110 } from './constant'; 109 } from './constant';
111 import './index.less'; 110 import './index.less';
112 import { OrderListItemType, OrderType } from './type.d'; 111 import { OrderListItemType, OrderType } from './type.d';
  112 +import UploadPayBillModal from './components/UploadPayBillModal';
  113 +import ImagesViewerModal from './components/ImagesViewerModal';
113 114
114 const OrderPage = () => { 115 const OrderPage = () => {
115 const [orderDrawerVisible, setOrderDrawerVisible] = useState<boolean>(false); 116 const [orderDrawerVisible, setOrderDrawerVisible] = useState<boolean>(false);
@@ -117,8 +118,8 @@ const OrderPage = () =&gt; { @@ -117,8 +118,8 @@ const OrderPage = () =&gt; {
117 const [orderPrintVisible, setOrderPrintVisible] = useState<boolean>(false); 118 const [orderPrintVisible, setOrderPrintVisible] = useState<boolean>(false);
118 const [allMainChecked, setAllMainChecked] = useState(false); 119 const [allMainChecked, setAllMainChecked] = useState(false);
119 const [ 120 const [
120 - subOrderConfirmReceiptImagesVisible,  
121 - setSubOrderConfirmReceiptImagesVisible, 121 + imagesViewerModalVisible,
  122 + setImagesViewerModalVisible,
122 ] = useState<boolean>(false); 123 ] = useState<boolean>(false);
123 const [data, setData] = useState([]); //列表数据 124 const [data, setData] = useState([]); //列表数据
124 const [notesEditVisible, setNotesEditVisible] = useState<boolean>(false); 125 const [notesEditVisible, setNotesEditVisible] = useState<boolean>(false);
@@ -126,6 +127,8 @@ const OrderPage = () =&gt; { @@ -126,6 +127,8 @@ const OrderPage = () =&gt; {
126 useState<boolean>(false); 127 useState<boolean>(false);
127 const [attachmentModalVisible, setAttachmentModalVisible] = 128 const [attachmentModalVisible, setAttachmentModalVisible] =
128 useState<boolean>(false); 129 useState<boolean>(false);
  130 + const [uploadPayBillModalVisible, setUploadPayBillModalVisible] =
  131 + useState<boolean>(false);
129 const [modifiedDiffModalVisible, setModifiedDiffModalVisible] = 132 const [modifiedDiffModalVisible, setModifiedDiffModalVisible] =
130 useState<boolean>(false); 133 useState<boolean>(false);
131 const [financialReceiptsModalVisible, setFinancialReceiptsModalVisible] = 134 const [financialReceiptsModalVisible, setFinancialReceiptsModalVisible] =
@@ -171,6 +174,7 @@ const OrderPage = () =&gt; { @@ -171,6 +174,7 @@ const OrderPage = () =&gt; {
171 const [pageSize, setPageSize] = useState(10); 174 const [pageSize, setPageSize] = useState(10);
172 const [currentPage, setCurrentPage] = useState(1); 175 const [currentPage, setCurrentPage] = useState(1);
173 const [orderCheckType, setOrderCheckType] = useState(''); 176 const [orderCheckType, setOrderCheckType] = useState('');
  177 + const [imagesViewerOptType,setImagesViewerOptType] = useState('');
174 const [filterCondifion, setFilterCondition] = useState(0); 178 const [filterCondifion, setFilterCondition] = useState(0);
175 const [mainOrderSelectedMap] = useState(new Map()); //选中的主订单Map key:主订单id value:主订单数据 179 const [mainOrderSelectedMap] = useState(new Map()); //选中的主订单Map key:主订单id value:主订单数据
176 const [subOrderSelectedMap] = useState(new Map()); //选中的子订单Map key:主订单id value:选中的子订单数据集合 180 const [subOrderSelectedMap] = useState(new Map()); //选中的子订单Map key:主订单id value:选中的子订单数据集合
@@ -223,7 +227,7 @@ const OrderPage = () =&gt; { @@ -223,7 +227,7 @@ const OrderPage = () =&gt; {
223 227
224 text += ',' + record?.customerShippingAddress; 228 text += ',' + record?.customerShippingAddress;
225 229
226 - if (userInfo.username !== '首能') { 230 + if (!isSupplier()) {
227 text += ',' + record?.institutionContactName; 231 text += ',' + record?.institutionContactName;
228 text += ',' + record?.institution; 232 text += ',' + record?.institution;
229 } 233 }
@@ -233,7 +237,7 @@ const OrderPage = () =&gt; { @@ -233,7 +237,7 @@ const OrderPage = () =&gt; {
233 text += ' ' + item?.parameters; 237 text += ' ' + item?.parameters;
234 text += ' ' + item?.quantity; 238 text += ' ' + item?.quantity;
235 text += ' ' + item?.unit; 239 text += ' ' + item?.unit;
236 - if (userInfo.username !== '首能') { 240 + if (!isSupplier()) {
237 text += ' ¥' + item?.subOrderPayment; 241 text += ' ¥' + item?.subOrderPayment;
238 } 242 }
239 text += ' ' + item?.id; 243 text += ' ' + item?.id;
@@ -591,7 +595,7 @@ const OrderPage = () =&gt; { @@ -591,7 +595,7 @@ const OrderPage = () =&gt; {
591 <span className="font-medium">交易金额</span> 595 <span className="font-medium">交易金额</span>
592 </Flex> 596 </Flex>
593 597
594 - {userInfo.username !== '首能' ? ( 598 + {!isSupplier() ? (
595 <> 599 <>
596 <Flex className="w-[10%]"> 600 <Flex className="w-[10%]">
597 <span className="font-medium">支付</span> 601 <span className="font-medium">支付</span>
@@ -760,7 +764,7 @@ const OrderPage = () =&gt; { @@ -760,7 +764,7 @@ const OrderPage = () =&gt; {
760 onConfirm={() => { 764 onConfirm={() => {
761 window.open( 765 window.open(
762 '/previewApi/onlinePreview?url=' + 766 '/previewApi/onlinePreview?url=' +
763 - encodeURIComponent(Base64.encode(item.url)), 767 + encodeURIComponent(Base64.encode(item.url)),
764 ); 768 );
765 }} 769 }}
766 onCancel={() => { 770 onCancel={() => {
@@ -832,7 +836,7 @@ const OrderPage = () =&gt; { @@ -832,7 +836,7 @@ const OrderPage = () =&gt; {
832 </span> 836 </span>
833 {(roleCode === 'salesRepresentative' || 837 {(roleCode === 'salesRepresentative' ||
834 roleCode === 'salesManager') && 838 roleCode === 'salesManager') &&
835 - !optRecord.isCurrentUserOrder ? ( 839 + !optRecord.isCurrentUserOrder ? (
836 <span className="text-[#f44e4e]">(非本账号订单)</span> 840 <span className="text-[#f44e4e]">(非本账号订单)</span>
837 ) : ( 841 ) : (
838 '' 842 ''
@@ -896,7 +900,7 @@ const OrderPage = () =&gt; { @@ -896,7 +900,7 @@ const OrderPage = () =&gt; {
896 {optRecord.notes === null ? '暂无备注' : optRecord.notes} 900 {optRecord.notes === null ? '暂无备注' : optRecord.notes}
897 </span> 901 </span>
898 </div> 902 </div>
899 - {userInfo.username !== '首能' ? ( 903 + {!isSupplier() ? (
900 <EditTwoTone 904 <EditTwoTone
901 className="pl-1 hover:curcor-pointer" 905 className="pl-1 hover:curcor-pointer"
902 onClick={() => { 906 onClick={() => {
@@ -914,7 +918,7 @@ const OrderPage = () =&gt; { @@ -914,7 +918,7 @@ const OrderPage = () =&gt; {
914 {(roleCode === 'procure' || 918 {(roleCode === 'procure' ||
915 roleCode === 'warehouseKeeper' || 919 roleCode === 'warehouseKeeper' ||
916 roleCode === 'admin') && 920 roleCode === 'admin') &&
917 - userInfo.username !== '首能' ? ( 921 + !isSupplier() ? (
918 <> 922 <>
919 <Flex title={optRecord.supplierName}> 923 <Flex title={optRecord.supplierName}>
920 <div className="max-w-[90%] whitespace-no-wrap overflow-hidden overflow-ellipsis"> 924 <div className="max-w-[90%] whitespace-no-wrap overflow-hidden overflow-ellipsis">
@@ -988,7 +992,7 @@ const OrderPage = () =&gt; { @@ -988,7 +992,7 @@ const OrderPage = () =&gt; {
988 )} */} 992 )} */}
989 </Flex> 993 </Flex>
990 <Flex className="w-[13%]" vertical gap="small"> 994 <Flex className="w-[13%]" vertical gap="small">
991 - {userInfo.username !== '首能' ? ( 995 + {!isSupplier() ? (
992 <> 996 <>
993 <div 997 <div
994 className="overflow-hidden whitespace-no-wrap overflow-ellipsis" 998 className="overflow-hidden whitespace-no-wrap overflow-ellipsis"
@@ -1015,7 +1019,7 @@ const OrderPage = () =&gt; { @@ -1015,7 +1019,7 @@ const OrderPage = () =&gt; {
1015 <span className="text-[#8C8C8C]">{optRecord.unit}</span> 1019 <span className="text-[#8C8C8C]">{optRecord.unit}</span>
1016 </div> 1020 </div>
1017 1021
1018 - {userInfo.username !== '首能' ? ( 1022 + {!isSupplier() ? (
1019 <div 1023 <div
1020 className="overflow-hidden whitespace-no-wrap overflow-ellipsis" 1024 className="overflow-hidden whitespace-no-wrap overflow-ellipsis"
1021 title={optRecord.subOrderPayment} 1025 title={optRecord.subOrderPayment}
@@ -1031,15 +1035,12 @@ const OrderPage = () =&gt; { @@ -1031,15 +1035,12 @@ const OrderPage = () =&gt; {
1031 </Flex> 1035 </Flex>
1032 1036
1033 <Flex className="w-[10%]" vertical gap="small"> 1037 <Flex className="w-[10%]" vertical gap="small">
1034 - {userInfo.username !== '首能' ? ( 1038 + {!isSupplier() ? (
1035 <> 1039 <>
1036 {/* 支付方式 */} 1040 {/* 支付方式 */}
1037 <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis"> 1041 <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis">
1038 <span className="text-slate-700"> 1042 <span className="text-slate-700">
1039 - {enumValueToLabel(  
1040 - optRecord.paymentMethod,  
1041 - PAYMENT_METHOD_OPTIONS,  
1042 - )} 1043 + {optRecord.paymentMethodText}
1043 </span> 1044 </span>
1044 </div> 1045 </div>
1045 {/* 支付渠道 */} 1046 {/* 支付渠道 */}
@@ -1051,13 +1052,35 @@ const OrderPage = () =&gt; { @@ -1051,13 +1052,35 @@ const OrderPage = () =&gt; {
1051 )} 1052 )}
1052 </span> 1053 </span>
1053 </div> 1054 </div>
  1055 + {/* 回款审核状态 */}
  1056 + {optRecord.paymentReceiptStatus !== null ? (
  1057 + <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis">
  1058 + <Tag className='hover:cursor-pointer'
  1059 + onMouseEnter={(e: any) => {
  1060 + e.target.innerText = "点击查看回款凭证"
  1061 + }}
  1062 + onMouseLeave={(e: any) => {
  1063 + e.target.innerText = enumValueToLabel(optRecord.paymentReceiptStatus, PAYMENT_RECEIPTS_STATUS_OPTIONS);
  1064 + }}
  1065 + onClick={()=>{
  1066 + createOptObject(optRecord.id,record.id);
  1067 + setImagesViewerOptType("paymentReceipt");
  1068 + setImagesViewerModalVisible(true);
  1069 + }}
  1070 + key="key" color={TAGS_COLOR.get(optRecord.paymentReceiptStatus)}>
  1071 + {enumValueToLabel(optRecord.paymentReceiptStatus, PAYMENT_RECEIPTS_STATUS_OPTIONS)}
  1072 + </Tag>
  1073 + </div>
  1074 + ) : (
  1075 + ''
  1076 + )}
1054 </> 1077 </>
1055 ) : ( 1078 ) : (
1056 '' 1079 ''
1057 )} 1080 )}
1058 </Flex> 1081 </Flex>
1059 <Flex className="w-[13%]" vertical gap="small"> 1082 <Flex className="w-[13%]" vertical gap="small">
1060 - {userInfo.username !== '首能' ? ( 1083 + {!isSupplier() ? (
1061 <> 1084 <>
1062 {/* 所属部门 */} 1085 {/* 所属部门 */}
1063 <div 1086 <div
@@ -1087,27 +1110,30 @@ const OrderPage = () =&gt; { @@ -1087,27 +1110,30 @@ const OrderPage = () =&gt; {
1087 )} 1110 )}
1088 1111
1089 {/* 开票状态 */} 1112 {/* 开票状态 */}
1090 - <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis">  
1091 - <Tooltip  
1092 - title={  
1093 - optRecord.invoicingUrgentCause !== null &&  
1094 - optRecord.afterInvoicingStatus ===  
1095 - 'URGENT_INVOICE_AUDITING'  
1096 - ? optRecord.invoicingUrgentCause  
1097 - : enumValueToLabel( 1113 + {optRecord.afterInvoicingStatus !== null ?
  1114 + <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis">
  1115 + <Tooltip
  1116 + title={
  1117 + optRecord.invoicingUrgentCause !== null &&
  1118 + optRecord.afterInvoicingStatus ===
  1119 + 'URGENT_INVOICE_AUDITING'
  1120 + ? optRecord.invoicingUrgentCause
  1121 + : enumValueToLabel(
1098 optRecord.afterInvoicingStatus, 1122 optRecord.afterInvoicingStatus,
1099 AFTER_INVOICING_STATUS, 1123 AFTER_INVOICING_STATUS,
1100 ) 1124 )
1101 - }  
1102 - >  
1103 - <Tag color={TAGS_COLOR.get(optRecord.afterInvoicingStatus)}>  
1104 - {enumValueToLabel(  
1105 - optRecord.afterInvoicingStatus,  
1106 - AFTER_INVOICING_STATUS,  
1107 - )}  
1108 - </Tag>  
1109 - </Tooltip>  
1110 - </div> 1125 + }
  1126 + >
  1127 + <Tag color={TAGS_COLOR.get(optRecord.afterInvoicingStatus)}>
  1128 + {enumValueToLabel(
  1129 + optRecord.afterInvoicingStatus,
  1130 + AFTER_INVOICING_STATUS,
  1131 + )}
  1132 + </Tag>
  1133 + </Tooltip>
  1134 + </div>
  1135 + : ""
  1136 + }
1111 1137
1112 {/* 是否加急图标显示 */} 1138 {/* 是否加急图标显示 */}
1113 {optRecord.isUrgent ? ( 1139 {optRecord.isUrgent ? (
@@ -1123,7 +1149,7 @@ const OrderPage = () =&gt; { @@ -1123,7 +1149,7 @@ const OrderPage = () =&gt; {
1123 )} 1149 )}
1124 1150
1125 {(roleCode === 'warehouseKeeper' || roleCode === 'admin') && 1151 {(roleCode === 'warehouseKeeper' || roleCode === 'admin') &&
1126 - optRecord.shippingWarehouse !== null ? ( 1152 + optRecord.shippingWarehouse !== null ? (
1127 <div 1153 <div
1128 className="overflow-hidden whitespace-no-wrap overflow-ellipsis" 1154 className="overflow-hidden whitespace-no-wrap overflow-ellipsis"
1129 title={enumValueToLabel( 1155 title={enumValueToLabel(
@@ -1145,7 +1171,7 @@ const OrderPage = () =&gt; { @@ -1145,7 +1171,7 @@ const OrderPage = () =&gt; {
1145 {/* 生产时间 */} 1171 {/* 生产时间 */}
1146 <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis"> 1172 <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis">
1147 {optRecord.productionStartTime !== null || 1173 {optRecord.productionStartTime !== null ||
1148 - optRecord.productionEndTime !== null ? ( 1174 + optRecord.productionEndTime !== null ? (
1149 <MyToolTip 1175 <MyToolTip
1150 title={ 1176 title={
1151 formatdate(optRecord.productionStartTime) + 1177 formatdate(optRecord.productionStartTime) +
@@ -1170,12 +1196,12 @@ const OrderPage = () =&gt; { @@ -1170,12 +1196,12 @@ const OrderPage = () =&gt; {
1170 1196
1171 <Flex className="w-[10%]" vertical gap="small"> 1197 <Flex className="w-[10%]" vertical gap="small">
1172 {/* 开票状态 */} 1198 {/* 开票状态 */}
1173 - {userInfo.username !== '首能' ? ( 1199 + {!isSupplier() ? (
1174 <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis"> 1200 <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis">
1175 <Tag 1201 <Tag
1176 color={ 1202 color={
1177 optRecord.invoicingTime === null || 1203 optRecord.invoicingTime === null ||
1178 - optRecord.invoicingTime === undefined 1204 + optRecord.invoicingTime === undefined
1179 ? TAGS_COLOR.get(optRecord.invoicingStatus) 1205 ? TAGS_COLOR.get(optRecord.invoicingStatus)
1180 : 'success' 1206 : 'success'
1181 } 1207 }
@@ -1203,7 +1229,7 @@ const OrderPage = () =&gt; { @@ -1203,7 +1229,7 @@ const OrderPage = () =&gt; {
1203 1229
1204 {/**采购是否已下单状态 */} 1230 {/**采购是否已下单状态 */}
1205 {optRecord.procureOrderStatus !== null && 1231 {optRecord.procureOrderStatus !== null &&
1206 - optRecord.procureOrderStatus !== undefined ? ( 1232 + optRecord.procureOrderStatus !== undefined ? (
1207 <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis"> 1233 <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis">
1208 <Tag color="success"> 1234 <Tag color="success">
1209 {enumValueToLabel( 1235 {enumValueToLabel(
@@ -1219,21 +1245,21 @@ const OrderPage = () =&gt; { @@ -1219,21 +1245,21 @@ const OrderPage = () =&gt; {
1219 {/* 物流信息 */} 1245 {/* 物流信息 */}
1220 <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis"> 1246 <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis">
1221 {optRecord.orderStatus === 'CONFIRM_RECEIPT' || 1247 {optRecord.orderStatus === 'CONFIRM_RECEIPT' ||
1222 - optRecord.orderStatus === 'AFTER_SALES_COMPLETION' ||  
1223 - optRecord.orderStatus === 'IN_AFTER_SALES' ||  
1224 - optRecord.orderStatus === 'SHIPPED' ? ( 1248 + optRecord.orderStatus === 'AFTER_SALES_COMPLETION' ||
  1249 + optRecord.orderStatus === 'IN_AFTER_SALES' ||
  1250 + optRecord.orderStatus === 'SHIPPED' ? (
1225 <MyToolTip 1251 <MyToolTip
1226 title={ 1252 title={
1227 optRecord.serialNumber === undefined 1253 optRecord.serialNumber === undefined
1228 ? '暂无物流信息' 1254 ? '暂无物流信息'
1229 : enumValueToLabel( 1255 : enumValueToLabel(
1230 - optRecord.logisticsMethod,  
1231 - LOGISTICS_STATUS_OPTIONS,  
1232 - ) +  
1233 - ' ' +  
1234 - optRecord.serialNumber +  
1235 - ' ' +  
1236 - optRecord.logisticsNotes 1256 + optRecord.logisticsMethod,
  1257 + LOGISTICS_STATUS_OPTIONS,
  1258 + ) +
  1259 + ' ' +
  1260 + optRecord.serialNumber +
  1261 + ' ' +
  1262 + optRecord.logisticsNotes
1237 } 1263 }
1238 content={ 1264 content={
1239 <Button type="link" size="small" style={{ padding: 0 }}> 1265 <Button type="link" size="small" style={{ padding: 0 }}>
@@ -1247,7 +1273,7 @@ const OrderPage = () =&gt; { @@ -1247,7 +1273,7 @@ const OrderPage = () =&gt; {
1247 1273
1248 {/* 修改审核状态 */} 1274 {/* 修改审核状态 */}
1249 {optRecord.modifiedAuditStatus !== null && 1275 {optRecord.modifiedAuditStatus !== null &&
1250 - optRecord.modifiedAuditStatus !== 'AUDIT_FAILURE' ? ( 1276 + optRecord.modifiedAuditStatus !== 'AUDIT_FAILURE' ? (
1251 <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis"> 1277 <div className="overflow-hidden whitespace-no-wrap overflow-ellipsis">
1252 <Tooltip 1278 <Tooltip
1253 title={enumValueToLabel( 1279 title={enumValueToLabel(
@@ -1292,6 +1318,23 @@ const OrderPage = () =&gt; { @@ -1292,6 +1318,23 @@ const OrderPage = () =&gt; {
1292 </div> 1318 </div>
1293 </Flex> 1319 </Flex>
1294 <Flex className="w-[18%]" wrap="wrap" gap="small"> 1320 <Flex className="w-[18%]" wrap="wrap" gap="small">
  1321 +
  1322 + {optRecord.subPath?.includes('uploadPaymentReceiptBill') ? (
  1323 + <Button
  1324 + className="p-0"
  1325 + type="link"
  1326 + onClick={() => {
  1327 + createOptObject(optRecord.id, record.id);
  1328 + setUploadPayBillModalVisible(true);
  1329 + }}
  1330 + >
  1331 + 回款
  1332 + </Button>
  1333 + ) : (
  1334 + ''
  1335 + )}
  1336 +
  1337 +
1295 {optRecord.subPath?.includes('leaderAudit') ? ( 1338 {optRecord.subPath?.includes('leaderAudit') ? (
1296 <Button 1339 <Button
1297 className="p-0" 1340 className="p-0"
@@ -1310,6 +1353,22 @@ const OrderPage = () =&gt; { @@ -1310,6 +1353,22 @@ const OrderPage = () =&gt; {
1310 '' 1353 ''
1311 )} 1354 )}
1312 1355
  1356 + {optRecord.subPath?.includes('auditPaymentReceipt') ? (
  1357 + <Button
  1358 + className="p-0"
  1359 + type="link"
  1360 + onClick={() => {
  1361 + createOptObject(optRecord.id, record.id);
  1362 + setCheckVisible(true);
  1363 + setOrderCheckType(CHECK_TYPE.PAYMENT_RECEIPTS_AUDIT);
  1364 + }}
  1365 + >
  1366 + 回款审核
  1367 + </Button>
  1368 + ) : (
  1369 + ''
  1370 + )}
  1371 +
1313 {/* 加急审核 */} 1372 {/* 加急审核 */}
1314 {optRecord.subPath?.includes('URGENT_INVOICE_AUDITING') ? ( 1373 {optRecord.subPath?.includes('URGENT_INVOICE_AUDITING') ? (
1315 <Button 1374 <Button
@@ -1491,7 +1550,7 @@ const OrderPage = () =&gt; { @@ -1491,7 +1550,7 @@ const OrderPage = () =&gt; {
1491 setOrderCheckType(CHECK_TYPE.PROCURE); 1550 setOrderCheckType(CHECK_TYPE.PROCURE);
1492 }} 1551 }}
1493 > 1552 >
1494 - {userInfo.username === '首能' ? '发货' : '采购发货'} 1553 + {isSupplier() ? '发货' : '采购发货'}
1495 </Button> 1554 </Button>
1496 ) : ( 1555 ) : (
1497 '' 1556 ''
@@ -1513,7 +1572,7 @@ const OrderPage = () =&gt; { @@ -1513,7 +1572,7 @@ const OrderPage = () =&gt; {
1513 )} 1572 )}
1514 1573
1515 {optRecord.subPath?.includes('queryAnnex') && 1574 {optRecord.subPath?.includes('queryAnnex') &&
1516 - optRecord.listAnnex?.length > 0 ? ( 1575 + optRecord.listAnnex?.length > 0 ? (
1517 <Button 1576 <Button
1518 className="p-0" 1577 className="p-0"
1519 type="link" 1578 type="link"
@@ -1855,7 +1914,8 @@ const OrderPage = () =&gt; { @@ -1855,7 +1914,8 @@ const OrderPage = () =&gt; {
1855 type="link" 1914 type="link"
1856 onClick={() => { 1915 onClick={() => {
1857 createOptObject(optRecord.id, record.id); 1916 createOptObject(optRecord.id, record.id);
1858 - setSubOrderConfirmReceiptImagesVisible(true); 1917 + setImagesViewerOptType("shippingReceipt");
  1918 + setImagesViewerModalVisible(true);
1859 }} 1919 }}
1860 > 1920 >
1861 查看收货凭证 1921 查看收货凭证
@@ -1887,9 +1947,9 @@ const OrderPage = () =&gt; { @@ -1887,9 +1947,9 @@ const OrderPage = () =&gt; {
1887 </Flex> 1947 </Flex>
1888 1948
1889 {roleCode === 'admin' || 1949 {roleCode === 'admin' ||
1890 - roleCode === 'salesManager' ||  
1891 - roleCode === 'salesRepresentative' ||  
1892 - roleCode === 'finance' ? ( 1950 + roleCode === 'salesManager' ||
  1951 + roleCode === 'salesRepresentative' ||
  1952 + roleCode === 'finance' ? (
1893 <Flex title={optRecord.notes}> 1953 <Flex title={optRecord.notes}>
1894 <div className="flex items-center"> 1954 <div className="flex items-center">
1895 <div className="flex items-center max-w-[500px]"> 1955 <div className="flex items-center max-w-[500px]">
@@ -1901,7 +1961,7 @@ const OrderPage = () =&gt; { @@ -1901,7 +1961,7 @@ const OrderPage = () =&gt; {
1901 <span className="text-[#8C8C8C]"> 1961 <span className="text-[#8C8C8C]">
1902 申请开票备注: 1962 申请开票备注:
1903 {optRecord.applyInvoicingNotes === undefined || 1963 {optRecord.applyInvoicingNotes === undefined ||
1904 - optRecord.applyInvoicingNotes === null 1964 + optRecord.applyInvoicingNotes === null
1905 ? '暂无备注' 1965 ? '暂无备注'
1906 : optRecord.applyInvoicingNotes} 1966 : optRecord.applyInvoicingNotes}
1907 </span> 1967 </span>
@@ -1929,7 +1989,7 @@ const OrderPage = () =&gt; { @@ -1929,7 +1989,7 @@ const OrderPage = () =&gt; {
1929 <span className="text-[#8C8C8C] mr-3"> 1989 <span className="text-[#8C8C8C] mr-3">
1930 财务审核备注: 1990 财务审核备注:
1931 {optRecord.checkNotes === undefined || 1991 {optRecord.checkNotes === undefined ||
1932 - optRecord.checkNotes === null 1992 + optRecord.checkNotes === null
1933 ? '暂无备注' 1993 ? '暂无备注'
1934 : optRecord.checkNotes} 1994 : optRecord.checkNotes}
1935 </span> 1995 </span>
@@ -2118,7 +2178,7 @@ const OrderPage = () =&gt; { @@ -2118,7 +2178,7 @@ const OrderPage = () =&gt; {
2118 <span className="text-[#8C8C8C]">代表:</span> 2178 <span className="text-[#8C8C8C]">代表:</span>
2119 <span className="text-slate-700">{record.salesCode}</span> 2179 <span className="text-slate-700">{record.salesCode}</span>
2120 </div> 2180 </div>
2121 - {userInfo?.username !== '首能' ? ( 2181 + {!isSupplier() ? (
2122 <> 2182 <>
2123 <div 2183 <div
2124 title={record.institution} 2184 title={record.institution}
@@ -2150,7 +2210,7 @@ const OrderPage = () =&gt; { @@ -2150,7 +2210,7 @@ const OrderPage = () =&gt; {
2150 <span className="text-slate-700"> 2210 <span className="text-slate-700">
2151 {record.customerName + ' '} 2211 {record.customerName + ' '}
2152 2212
2153 - {userInfo?.username !== '首能' ? ( 2213 + {!isSupplier() ? (
2154 <Tooltip className="order-tooltip" title="详情"> 2214 <Tooltip className="order-tooltip" title="详情">
2155 <ContainerTwoTone 2215 <ContainerTwoTone
2156 className="hover:curcor-pointer" 2216 className="hover:curcor-pointer"
@@ -2165,7 +2225,7 @@ const OrderPage = () =&gt; { @@ -2165,7 +2225,7 @@ const OrderPage = () =&gt; {
2165 )} 2225 )}
2166 </span> 2226 </span>
2167 </span> 2227 </span>
2168 - {userInfo?.username === '首能' ? ( 2228 + {isSupplier() ? (
2169 <div 2229 <div
2170 title={record.customerShippingAddress} 2230 title={record.customerShippingAddress}
2171 className="whitespace-no-wrap overflow-hidden overflow-ellipsis max-w-[500px] hover:cursor-pointer" 2231 className="whitespace-no-wrap overflow-hidden overflow-ellipsis max-w-[500px] hover:cursor-pointer"
@@ -2188,7 +2248,7 @@ const OrderPage = () =&gt; { @@ -2188,7 +2248,7 @@ const OrderPage = () =&gt; {
2188 </Flex> 2248 </Flex>
2189 </Flex> 2249 </Flex>
2190 2250
2191 - {userInfo.username === '首能' ? ( 2251 + {isSupplier() ? (
2192 <Flex className="pl-6" align="center"> 2252 <Flex className="pl-6" align="center">
2193 <Flex 2253 <Flex
2194 className="hover:cursor-pointer" 2254 className="hover:cursor-pointer"
@@ -2222,9 +2282,9 @@ const OrderPage = () =&gt; { @@ -2222,9 +2282,9 @@ const OrderPage = () =&gt; {
2222 <span className="text-slate-700"> 2282 <span className="text-slate-700">
2223 {record.receivingCompany !== null 2283 {record.receivingCompany !== null
2224 ? enumValueToLabel( 2284 ? enumValueToLabel(
2225 - record.receivingCompany,  
2226 - getReceivingCompanyOptions(PAYEE_OPTIONS),  
2227 - ) 2285 + record.receivingCompany,
  2286 + getReceivingCompanyOptions(PAYEE_OPTIONS),
  2287 + )
2228 : '暂无'} 2288 : '暂无'}
2229 </span> 2289 </span>
2230 </div> 2290 </div>
@@ -2249,7 +2309,7 @@ const OrderPage = () =&gt; { @@ -2249,7 +2309,7 @@ const OrderPage = () =&gt; {
2249 </div> 2309 </div>
2250 </div> 2310 </div>
2251 2311
2252 - {userInfo.username !== '首能' ? ( 2312 + {!isSupplier() ? (
2253 <Tooltip title="编辑"> 2313 <Tooltip title="编辑">
2254 <EditTwoTone 2314 <EditTwoTone
2255 className="pl-1 hover:curcor-pointer" 2315 className="pl-1 hover:curcor-pointer"
@@ -2264,12 +2324,51 @@ const OrderPage = () =&gt; { @@ -2264,12 +2324,51 @@ const OrderPage = () =&gt; {
2264 ) : ( 2324 ) : (
2265 '' 2325 ''
2266 )} 2326 )}
  2327 +
  2328 + {
  2329 + record.goodsWeight !== null ?
  2330 + <div title={record.goodsWeight + "kg"} className='pl-3'>
  2331 + <div
  2332 + className="max-w-md overflow-hidden whitespace-no-wrap overflow-ellipsis hover:cursor-pointer"
  2333 + onClick={() => {
  2334 + copyToClipboard(record.goodsWeight + "kg");
  2335 + message.info('包裹重量复制成功:' + record.goodsWeight + "kg");
  2336 + }}
  2337 + >
  2338 + <span className="text-[#8C8C8C]">包裹重量:</span>
  2339 + <span className="ml-2">
  2340 + {record.goodsWeight + "kg"}
  2341 + </span>
  2342 + </div>
  2343 + </div>
  2344 + : ""
  2345 + }
  2346 +
  2347 + {
  2348 + record.goodsVolume !== null ?
  2349 + <div title={record.goodsVolume + "m³"} className='pl-3'>
  2350 + <div
  2351 + className="max-w-md overflow-hidden whitespace-no-wrap overflow-ellipsis hover:cursor-pointer"
  2352 + onClick={() => {
  2353 + copyToClipboard(record.goodsVolume + "m³");
  2354 + message.info('包裹体积复制成功:' + record.goodsVolume + "m³");
  2355 + }}
  2356 + >
  2357 + <span className="text-[#8C8C8C]">包裹体积:</span>
  2358 + <span className="ml-2">
  2359 + {record.goodsVolume + "m³"}
  2360 + </span>
  2361 + </div>
  2362 + </div>
  2363 + : ""
  2364 + }
  2365 +
2267 </Flex> 2366 </Flex>
2268 </Flex> 2367 </Flex>
2269 <Flex wrap="wrap" gap="middle" vertical> 2368 <Flex wrap="wrap" gap="middle" vertical>
2270 <Flex justify="flex-end"> 2369 <Flex justify="flex-end">
2271 <Flex wrap="wrap" gap="middle" align="center"> 2370 <Flex wrap="wrap" gap="middle" align="center">
2272 - {userInfo.username !== '首能' ? ( 2371 + {!isSupplier() ? (
2273 <div> 2372 <div>
2274 <span className="text-[#8C8C8C]">总金额:¥</span> 2373 <span className="text-[#8C8C8C]">总金额:¥</span>
2275 <span className="text-lg font-medium"> 2374 <span className="text-lg font-medium">
@@ -2302,7 +2401,7 @@ const OrderPage = () =&gt; { @@ -2302,7 +2401,7 @@ const OrderPage = () =&gt; {
2302 /> 2401 />
2303 </Tooltip> 2402 </Tooltip>
2304 )} 2403 )}
2305 - {userInfo.username !== '首能' ? ( 2404 + {!isSupplier() ? (
2306 <Tooltip title="历史"> 2405 <Tooltip title="历史">
2307 <ClockCircleTwoTone 2406 <ClockCircleTwoTone
2308 className="hover:cursor-pointer" 2407 className="hover:cursor-pointer"
@@ -2324,6 +2423,21 @@ const OrderPage = () =&gt; { @@ -2324,6 +2423,21 @@ const OrderPage = () =&gt; {
2324 <Flex justify="flex-end"> 2423 <Flex justify="flex-end">
2325 <Space.Compact direction="vertical" align="end"> 2424 <Space.Compact direction="vertical" align="end">
2326 <Space wrap> 2425 <Space wrap>
  2426 + {record.mainPath?.includes('uploadPaymentReceiptBill') ? (
  2427 + <Button
  2428 + className="p-0"
  2429 + type="link"
  2430 + onClick={() => {
  2431 + createOptObject(null, record.id);
  2432 + setUploadPayBillModalVisible(true);
  2433 + }}
  2434 + >
  2435 + 回款
  2436 + </Button>
  2437 + ) : (
  2438 + ''
  2439 + )}
  2440 +
2327 {record.mainPath?.includes('modifiedAuditRequest') ? ( 2441 {record.mainPath?.includes('modifiedAuditRequest') ? (
2328 <Button 2442 <Button
2329 className="p-0" 2443 className="p-0"
@@ -2356,6 +2470,22 @@ const OrderPage = () =&gt; { @@ -2356,6 +2470,22 @@ const OrderPage = () =&gt; {
2356 '' 2470 ''
2357 )} 2471 )}
2358 2472
  2473 + {record.mainPath?.includes('auditPaymentReceipt') ? (
  2474 + <Button
  2475 + className="p-0"
  2476 + type="link"
  2477 + onClick={() => {
  2478 + createOptObject(null, record.id);
  2479 + setCheckVisible(true);
  2480 + setOrderCheckType(CHECK_TYPE.PAYMENT_RECEIPTS_AUDIT);
  2481 + }}
  2482 + >
  2483 + 回款审核
  2484 + </Button>
  2485 + ) : (
  2486 + ''
  2487 + )}
  2488 +
2359 {record.mainPath?.includes('modifiedLeaderAuditRequest') ? ( 2489 {record.mainPath?.includes('modifiedLeaderAuditRequest') ? (
2360 <Button 2490 <Button
2361 className="p-0" 2491 className="p-0"
@@ -2653,7 +2783,7 @@ const OrderPage = () =&gt; { @@ -2653,7 +2783,7 @@ const OrderPage = () =&gt; {
2653 setOrderCheckType(CHECK_TYPE.PROCURE); 2783 setOrderCheckType(CHECK_TYPE.PROCURE);
2654 }} 2784 }}
2655 > 2785 >
2656 - {userInfo.username === '首能' ? '发货' : '采购发货'} 2786 + {isSupplier() ? '发货' : '采购发货'}
2657 </Button> 2787 </Button>
2658 ) : ( 2788 ) : (
2659 '' 2789 ''
@@ -2800,9 +2930,9 @@ const OrderPage = () =&gt; { @@ -2800,9 +2930,9 @@ const OrderPage = () =&gt; {
2800 for (let i = 0; i < selectedSubOrders.length; i++) { 2930 for (let i = 0; i < selectedSubOrders.length; i++) {
2801 if ( 2931 if (
2802 selectedSubOrders[i].invoicingStatus === 2932 selectedSubOrders[i].invoicingStatus ===
2803 - 'UN_INVOICE' || 2933 + 'UN_INVOICE' ||
2804 selectedSubOrders[i].afterInvoicingStatus === 2934 selectedSubOrders[i].afterInvoicingStatus ===
2805 - 'APPLY_FOR_INVOICING' 2935 + 'APPLY_FOR_INVOICING'
2806 ) { 2936 ) {
2807 message.error( 2937 message.error(
2808 '请选择需要开票且未申请开票的子订单进行申请', 2938 '请选择需要开票且未申请开票的子订单进行申请',
@@ -2991,13 +3121,13 @@ const OrderPage = () =&gt; { @@ -2991,13 +3121,13 @@ const OrderPage = () =&gt; {
2991 if ( 3121 if (
2992 selectedSubOrders[i].orderStatus !== 'AUDITED' && 3122 selectedSubOrders[i].orderStatus !== 'AUDITED' &&
2993 selectedSubOrders[i].orderStatus !== 3123 selectedSubOrders[i].orderStatus !==
2994 - 'PROCURE_PROCESS' && 3124 + 'PROCURE_PROCESS' &&
2995 selectedSubOrders[i].orderStatus !== 3125 selectedSubOrders[i].orderStatus !==
2996 - 'PROCURE_PROCESS_FOR_MINE' && 3126 + 'PROCURE_PROCESS_FOR_MINE' &&
2997 selectedSubOrders[i].orderStatus !== 3127 selectedSubOrders[i].orderStatus !==
2998 - 'PROCURE_WAIT_SHIP' && 3128 + 'PROCURE_WAIT_SHIP' &&
2999 selectedSubOrders[i].orderStatus !== 3129 selectedSubOrders[i].orderStatus !==
3000 - 'SUPPLIER_WAIT_SHIP' && 3130 + 'SUPPLIER_WAIT_SHIP' &&
3001 selectedSubOrders[i].orderStatus !== 'WAIT_SHIP' 3131 selectedSubOrders[i].orderStatus !== 'WAIT_SHIP'
3002 ) { 3132 ) {
3003 message.error( 3133 message.error(
@@ -3084,9 +3214,9 @@ const OrderPage = () =&gt; { @@ -3084,9 +3214,9 @@ const OrderPage = () =&gt; {
3084 if ( 3214 if (
3085 selectedSubOrders[i].orderStatus !== 'UNAUDITED' && 3215 selectedSubOrders[i].orderStatus !== 'UNAUDITED' &&
3086 selectedSubOrders[i].orderStatus !== 3216 selectedSubOrders[i].orderStatus !==
3087 - 'FINANCE_PROCESS' && 3217 + 'FINANCE_PROCESS' &&
3088 selectedSubOrders[i].orderStatus !== 3218 selectedSubOrders[i].orderStatus !==
3089 - 'LEADER_AUDITED' 3219 + 'LEADER_AUDITED'
3090 ) { 3220 ) {
3091 message.error( 3221 message.error(
3092 '请选择[未审核]、[财务待审核]、[领导已审核]的子订单进行审核', 3222 '请选择[未审核]、[财务待审核]、[领导已审核]的子订单进行审核',
@@ -3154,9 +3284,9 @@ const OrderPage = () =&gt; { @@ -3154,9 +3284,9 @@ const OrderPage = () =&gt; {
3154 for (let i = 0; i < selectedSubOrders.length; i++) { 3284 for (let i = 0; i < selectedSubOrders.length; i++) {
3155 if ( 3285 if (
3156 selectedSubOrders[i].orderStatus !== 3286 selectedSubOrders[i].orderStatus !==
3157 - 'CONFIRM_RECEIPT' && 3287 + 'CONFIRM_RECEIPT' &&
3158 selectedSubOrders[i].orderStatus !== 3288 selectedSubOrders[i].orderStatus !==
3159 - 'AFTER_SALES_FAILURE' 3289 + 'AFTER_SALES_FAILURE'
3160 ) { 3290 ) {
3161 message.error('请选择确认收货状态的子订单进行售后'); 3291 message.error('请选择确认收货状态的子订单进行售后');
3162 return; 3292 return;
@@ -3361,7 +3491,7 @@ const OrderPage = () =&gt; { @@ -3361,7 +3491,7 @@ const OrderPage = () =&gt; {
3361 //首能账号只能搜索订单编号 3491 //首能账号只能搜索订单编号
3362 let canSearchIndex = ['id', 'salesCode', 'subNotes', 'orderStatus']; 3492 let canSearchIndex = ['id', 'salesCode', 'subNotes', 'orderStatus'];
3363 if ( 3493 if (
3364 - userInfo.username === '首能' && 3494 + isSupplier() &&
3365 !canSearchIndex.includes(item.dataIndex) 3495 !canSearchIndex.includes(item.dataIndex)
3366 ) { 3496 ) {
3367 item.search = false; 3497 item.search = false;
@@ -3393,7 +3523,7 @@ const OrderPage = () =&gt; { @@ -3393,7 +3523,7 @@ const OrderPage = () =&gt; {
3393 */ 3523 */
3394 if ( 3524 if (
3395 (roleCode === 'procure' || roleCode === 'admin') && 3525 (roleCode === 'procure' || roleCode === 'admin') &&
3396 - userInfo.username !== '首能' 3526 + !isSupplier()
3397 ) { 3527 ) {
3398 mainOrdersColumns.push({ 3528 mainOrdersColumns.push({
3399 title: '供应商备注', 3529 title: '供应商备注',
@@ -3409,7 +3539,7 @@ const OrderPage = () =&gt; { @@ -3409,7 +3539,7 @@ const OrderPage = () =&gt; {
3409 */ 3539 */
3410 if ( 3540 if (
3411 (roleCode === 'procure' || roleCode === 'admin') && 3541 (roleCode === 'procure' || roleCode === 'admin') &&
3412 - userInfo.username !== '首能' 3542 + !isSupplier()
3413 ) { 3543 ) {
3414 mainOrdersColumns.push({ 3544 mainOrdersColumns.push({
3415 title: '采购名称', 3545 title: '采购名称',
@@ -3444,7 +3574,7 @@ const OrderPage = () =&gt; { @@ -3444,7 +3574,7 @@ const OrderPage = () =&gt; {
3444 //判断是否是采购,是的话新增一个筛选条件 3574 //判断是否是采购,是的话新增一个筛选条件
3445 if (roleCode === 'procure' || roleCode === 'admin') { 3575 if (roleCode === 'procure' || roleCode === 'admin') {
3446 mainOrdersColumns.push({ 3576 mainOrdersColumns.push({
3447 - title: '采购下单状态', 3577 + title: isSupplier() ? '下单状态' : '采购下单状态',
3448 dataIndex: 'procureOrderStatus', 3578 dataIndex: 'procureOrderStatus',
3449 valueType: 'select', 3579 valueType: 'select',
3450 hideInTable: true, 3580 hideInTable: true,
@@ -3471,7 +3601,7 @@ const OrderPage = () =&gt; { @@ -3471,7 +3601,7 @@ const OrderPage = () =&gt; {
3471 } 3601 }
3472 3602
3473 //采购可以筛选出需要处理的订单 3603 //采购可以筛选出需要处理的订单
3474 - if (roleCode === 'procure' && userInfo.username !== '首能') { 3604 + if (roleCode === 'procure' && !isSupplier()) {
3475 radios.push(<Radio value={60}>其他采购</Radio>); 3605 radios.push(<Radio value={60}>其他采购</Radio>);
3476 radios.push(<Radio value={10}>待处理</Radio>); 3606 radios.push(<Radio value={10}>待处理</Radio>);
3477 } 3607 }
@@ -3557,7 +3687,7 @@ const OrderPage = () =&gt; { @@ -3557,7 +3687,7 @@ const OrderPage = () =&gt; {
3557 3687
3558 const exportMenuProps = { 3688 const exportMenuProps = {
3559 items: exportItems, 3689 items: exportItems,
3560 - onClick: () => {}, 3690 + onClick: () => { },
3561 }; 3691 };
3562 3692
3563 //导出按钮配置 3693 //导出按钮配置
@@ -3593,7 +3723,7 @@ const OrderPage = () =&gt; { @@ -3593,7 +3723,7 @@ const OrderPage = () =&gt; {
3593 3723
3594 const auditProps = { 3724 const auditProps = {
3595 items: auditItems, 3725 items: auditItems,
3596 - onClick: () => {}, 3726 + onClick: () => { },
3597 }; 3727 };
3598 3728
3599 if (rolePath?.includes('leaderMergeAudit')) { 3729 if (rolePath?.includes('leaderMergeAudit')) {
@@ -3701,8 +3831,8 @@ const OrderPage = () =&gt; { @@ -3701,8 +3831,8 @@ const OrderPage = () =&gt; {
3701 if (errorIds.size > 0) { 3831 if (errorIds.size > 0) {
3702 message.error( 3832 message.error(
3703 '订单号为:' + 3833 '订单号为:' +
3704 - [...errorIds.values()].join(',') +  
3705 - '的订单存在不是[申请开票]或者[部分开票]状态的子订单,请检查!', 3834 + [...errorIds.values()].join(',') +
  3835 + '的订单存在不是[申请开票]或者[部分开票]状态的子订单,请检查!',
3706 ); 3836 );
3707 return; 3837 return;
3708 } 3838 }
@@ -4139,16 +4269,17 @@ const OrderPage = () =&gt; { @@ -4139,16 +4269,17 @@ const OrderPage = () =&gt; {
4139 /> 4269 />
4140 )} 4270 )}
4141 4271
4142 - {subOrderConfirmReceiptImagesVisible && (  
4143 - <SubOrderComfirmReceiptImagesModal 4272 + {imagesViewerModalVisible && (
  4273 + <ImagesViewerModal
  4274 + optType={imagesViewerOptType}
4144 setVisible={(val: boolean) => { 4275 setVisible={(val: boolean) => {
4145 - setSubOrderConfirmReceiptImagesVisible(val); 4276 + setImagesViewerModalVisible(val);
4146 if (!val) { 4277 if (!val) {
4147 clearOptObject(); 4278 clearOptObject();
4148 } 4279 }
4149 }} 4280 }}
4150 onClose={() => { 4281 onClose={() => {
4151 - setSubOrderConfirmReceiptImagesVisible(false); 4282 + setImagesViewerModalVisible(false);
4152 }} 4283 }}
4153 orderRow={buildSubOrders()[0]} 4284 orderRow={buildSubOrders()[0]}
4154 /> 4285 />
@@ -4355,6 +4486,24 @@ const OrderPage = () =&gt; { @@ -4355,6 +4486,24 @@ const OrderPage = () =&gt; {
4355 /> 4486 />
4356 )} 4487 )}
4357 4488
  4489 + {uploadPayBillModalVisible && (
  4490 + <UploadPayBillModal
  4491 + setVisible={(val: boolean) => {
  4492 + setUploadPayBillModalVisible(val);
  4493 + if (!val) {
  4494 + clearOptObject();
  4495 + }
  4496 + }}
  4497 + subOrders={buildSubOrders()}
  4498 + mainOrder={buildMainOrder()}
  4499 + onClose={() => {
  4500 + setUploadPayBillModalVisible(false);
  4501 + clearOptObject();
  4502 + refreshTable();
  4503 + }}
  4504 + />
  4505 + )}
  4506 +
4358 {messageListDrawerVisible && ( 4507 {messageListDrawerVisible && (
4359 <MessageListDrawer 4508 <MessageListDrawer
4360 setVisible={(val: any) => { 4509 setVisible={(val: any) => {
src/pages/Order/type.d.ts
@@ -15,6 +15,8 @@ export interface OrderType { @@ -15,6 +15,8 @@ export interface OrderType {
15 } 15 }
16 16
17 export interface OrderListItemType { 17 export interface OrderListItemType {
  18 + goodsVolume: any;
  19 + goodsWeight: any;
18 receivingCompany: any; 20 receivingCompany: any;
19 modified: any; 21 modified: any;
20 mainPath: any; 22 mainPath: any;
src/services/definition.ts
@@ -3,74 +3,74 @@ @@ -3,74 +3,74 @@
3 /** Do not modify manually. 3 /** Do not modify manually.
4 content is generated automatically by `ts-gear`. */ 4 content is generated automatically by `ts-gear`. */
5 export type ModelAndViewStatus = 5 export type ModelAndViewStatus =
6 - | '100 CONTINUE'  
7 - | '101 SWITCHING_PROTOCOLS'  
8 - | '102 PROCESSING'  
9 - | '103 CHECKPOINT'  
10 - | '200 OK'  
11 - | '201 CREATED'  
12 - | '202 ACCEPTED'  
13 - | '203 NON_AUTHORITATIVE_INFORMATION'  
14 - | '204 NO_CONTENT'  
15 - | '205 RESET_CONTENT'  
16 - | '206 PARTIAL_CONTENT'  
17 - | '207 MULTI_STATUS'  
18 - | '208 ALREADY_REPORTED'  
19 - | '226 IM_USED'  
20 - | '300 MULTIPLE_CHOICES'  
21 - | '301 MOVED_PERMANENTLY'  
22 - | '302 FOUND'  
23 - | '302 MOVED_TEMPORARILY'  
24 - | '303 SEE_OTHER'  
25 - | '304 NOT_MODIFIED'  
26 - | '305 USE_PROXY'  
27 - | '307 TEMPORARY_REDIRECT'  
28 - | '308 PERMANENT_REDIRECT'  
29 - | '400 BAD_REQUEST'  
30 - | '401 UNAUTHORIZED'  
31 - | '402 PAYMENT_REQUIRED'  
32 - | '403 FORBIDDEN'  
33 - | '404 NOT_FOUND'  
34 - | '405 METHOD_NOT_ALLOWED'  
35 - | '406 NOT_ACCEPTABLE'  
36 - | '407 PROXY_AUTHENTICATION_REQUIRED'  
37 - | '408 REQUEST_TIMEOUT'  
38 - | '409 CONFLICT'  
39 - | '410 GONE'  
40 - | '411 LENGTH_REQUIRED'  
41 - | '412 PRECONDITION_FAILED'  
42 - | '413 PAYLOAD_TOO_LARGE'  
43 - | '413 REQUEST_ENTITY_TOO_LARGE'  
44 - | '414 URI_TOO_LONG'  
45 - | '414 REQUEST_URI_TOO_LONG'  
46 - | '415 UNSUPPORTED_MEDIA_TYPE'  
47 - | '416 REQUESTED_RANGE_NOT_SATISFIABLE'  
48 - | '417 EXPECTATION_FAILED'  
49 - | '418 I_AM_A_TEAPOT'  
50 - | '419 INSUFFICIENT_SPACE_ON_RESOURCE'  
51 - | '420 METHOD_FAILURE'  
52 - | '421 DESTINATION_LOCKED'  
53 - | '422 UNPROCESSABLE_ENTITY'  
54 - | '423 LOCKED'  
55 - | '424 FAILED_DEPENDENCY'  
56 - | '425 TOO_EARLY'  
57 - | '426 UPGRADE_REQUIRED'  
58 - | '428 PRECONDITION_REQUIRED'  
59 - | '429 TOO_MANY_REQUESTS'  
60 - | '431 REQUEST_HEADER_FIELDS_TOO_LARGE'  
61 - | '451 UNAVAILABLE_FOR_LEGAL_REASONS'  
62 - | '500 INTERNAL_SERVER_ERROR'  
63 - | '501 NOT_IMPLEMENTED'  
64 - | '502 BAD_GATEWAY'  
65 - | '503 SERVICE_UNAVAILABLE'  
66 - | '504 GATEWAY_TIMEOUT'  
67 - | '505 HTTP_VERSION_NOT_SUPPORTED'  
68 - | '506 VARIANT_ALSO_NEGOTIATES'  
69 - | '507 INSUFFICIENT_STORAGE'  
70 - | '508 LOOP_DETECTED'  
71 - | '509 BANDWIDTH_LIMIT_EXCEEDED'  
72 - | '510 NOT_EXTENDED'  
73 - | '511 NETWORK_AUTHENTICATION_REQUIRED'; 6 + | "100 CONTINUE"
  7 + | "101 SWITCHING_PROTOCOLS"
  8 + | "102 PROCESSING"
  9 + | "103 CHECKPOINT"
  10 + | "200 OK"
  11 + | "201 CREATED"
  12 + | "202 ACCEPTED"
  13 + | "203 NON_AUTHORITATIVE_INFORMATION"
  14 + | "204 NO_CONTENT"
  15 + | "205 RESET_CONTENT"
  16 + | "206 PARTIAL_CONTENT"
  17 + | "207 MULTI_STATUS"
  18 + | "208 ALREADY_REPORTED"
  19 + | "226 IM_USED"
  20 + | "300 MULTIPLE_CHOICES"
  21 + | "301 MOVED_PERMANENTLY"
  22 + | "302 FOUND"
  23 + | "302 MOVED_TEMPORARILY"
  24 + | "303 SEE_OTHER"
  25 + | "304 NOT_MODIFIED"
  26 + | "305 USE_PROXY"
  27 + | "307 TEMPORARY_REDIRECT"
  28 + | "308 PERMANENT_REDIRECT"
  29 + | "400 BAD_REQUEST"
  30 + | "401 UNAUTHORIZED"
  31 + | "402 PAYMENT_REQUIRED"
  32 + | "403 FORBIDDEN"
  33 + | "404 NOT_FOUND"
  34 + | "405 METHOD_NOT_ALLOWED"
  35 + | "406 NOT_ACCEPTABLE"
  36 + | "407 PROXY_AUTHENTICATION_REQUIRED"
  37 + | "408 REQUEST_TIMEOUT"
  38 + | "409 CONFLICT"
  39 + | "410 GONE"
  40 + | "411 LENGTH_REQUIRED"
  41 + | "412 PRECONDITION_FAILED"
  42 + | "413 PAYLOAD_TOO_LARGE"
  43 + | "413 REQUEST_ENTITY_TOO_LARGE"
  44 + | "414 URI_TOO_LONG"
  45 + | "414 REQUEST_URI_TOO_LONG"
  46 + | "415 UNSUPPORTED_MEDIA_TYPE"
  47 + | "416 REQUESTED_RANGE_NOT_SATISFIABLE"
  48 + | "417 EXPECTATION_FAILED"
  49 + | "418 I_AM_A_TEAPOT"
  50 + | "419 INSUFFICIENT_SPACE_ON_RESOURCE"
  51 + | "420 METHOD_FAILURE"
  52 + | "421 DESTINATION_LOCKED"
  53 + | "422 UNPROCESSABLE_ENTITY"
  54 + | "423 LOCKED"
  55 + | "424 FAILED_DEPENDENCY"
  56 + | "425 TOO_EARLY"
  57 + | "426 UPGRADE_REQUIRED"
  58 + | "428 PRECONDITION_REQUIRED"
  59 + | "429 TOO_MANY_REQUESTS"
  60 + | "431 REQUEST_HEADER_FIELDS_TOO_LARGE"
  61 + | "451 UNAVAILABLE_FOR_LEGAL_REASONS"
  62 + | "500 INTERNAL_SERVER_ERROR"
  63 + | "501 NOT_IMPLEMENTED"
  64 + | "502 BAD_GATEWAY"
  65 + | "503 SERVICE_UNAVAILABLE"
  66 + | "504 GATEWAY_TIMEOUT"
  67 + | "505 HTTP_VERSION_NOT_SUPPORTED"
  68 + | "506 VARIANT_ALSO_NEGOTIATES"
  69 + | "507 INSUFFICIENT_STORAGE"
  70 + | "508 LOOP_DETECTED"
  71 + | "509 BANDWIDTH_LIMIT_EXCEEDED"
  72 + | "510 NOT_EXTENDED"
  73 + | "511 NETWORK_AUTHENTICATION_REQUIRED";
74 export interface AdminAuthRoleVO { 74 export interface AdminAuthRoleVO {
75 menuIds?: Array<number>; 75 menuIds?: Array<number>;
76 /** @format int64 */ 76 /** @format int64 */
@@ -311,6 +311,75 @@ export interface AdminUserVO { @@ -311,6 +311,75 @@ export interface AdminUserVO {
311 userName?: string; 311 userName?: string;
312 } 312 }
313 313
  314 +export interface ApiApplyAddressModifyRequest {
  315 + address?: string;
  316 + /**
  317 + * @description
  318 + * 收货联系人手机号
  319 + */
  320 + customerContactNumber?: string;
  321 + orderId?: string;
  322 + phone?: string;
  323 + realName?: string;
  324 + /**
  325 + * @description
  326 + * 账号id
  327 + * @format int32
  328 + */
  329 + uid?: number;
  330 +}
  331 +
  332 +export interface ApiApplyAfterSalesRequest {
  333 + applyReason?: string;
  334 + applyType?: string;
  335 + /**
  336 + * @description
  337 + * 收货联系人手机号
  338 + */
  339 + customerContactNumber?: string;
  340 + filePaths?: Array<FilePathDto>;
  341 + subOrderIds?: Array<string>;
  342 + /**
  343 + * @description
  344 + * 账号id
  345 + * @format int32
  346 + */
  347 + uid?: number;
  348 +}
  349 +
  350 +export interface ApiQueryOrderDetailRequest {
  351 + /**
  352 + * @description
  353 + * 收货联系人手机号
  354 + */
  355 + customerContactNumber?: string;
  356 + /**
  357 + * @description
  358 + * 订单编号
  359 + */
  360 + orderId?: string;
  361 + /**
  362 + * @description
  363 + * 账号id
  364 + * @format int32
  365 + */
  366 + uid?: number;
  367 +}
  368 +
  369 +export interface ApiQueryOrderStatusCountsRequest {
  370 + /**
  371 + * @description
  372 + * 收货联系人手机号
  373 + */
  374 + customerContactNumber?: string;
  375 + /**
  376 + * @description
  377 + * 账号id
  378 + * @format int32
  379 + */
  380 + uid?: number;
  381 +}
  382 +
314 export interface AuditDto { 383 export interface AuditDto {
315 notes?: string; 384 notes?: string;
316 /** 385 /**
@@ -321,7 +390,7 @@ export interface AuditDto { @@ -321,7 +390,7 @@ export interface AuditDto {
321 subOrderIds?: Array<number>; 390 subOrderIds?: Array<number>;
322 /** 391 /**
323 * @description 392 * @description
324 - * 审核类型:post_audit 后置审核、node_operating_audit 节点操作人审核、warehouse_audit 仓库审核 393 + * 审核类型:urgent_invoice_audit 加急开票审核、post_audit 后置审核、node_operating_audit 节点操作人审核、warehouse_audit 仓库审核
325 */ 394 */
326 type?: string; 395 type?: string;
327 } 396 }
@@ -1531,6 +1600,7 @@ export interface ToProcureAuditDto { @@ -1531,6 +1600,7 @@ export interface ToProcureAuditDto {
1531 } 1600 }
1532 1601
1533 export interface TokenApiDto { 1602 export interface TokenApiDto {
  1603 + clientId?: string;
1534 password?: string; 1604 password?: string;
1535 username?: string; 1605 username?: string;
1536 } 1606 }
@@ -1647,6 +1717,19 @@ export interface View { @@ -1647,6 +1717,19 @@ export interface View {
1647 contentType?: string; 1717 contentType?: string;
1648 } 1718 }
1649 1719
  1720 +export interface UploadPaymentReceiptDTO {
  1721 + /**
  1722 + * @description
  1723 + * 回款单
  1724 + */
  1725 + filePaths?: Array<FilePathDto>;
  1726 + /**
  1727 + * @description
  1728 + * 子订单id
  1729 + */
  1730 + subOrderIds?: Array<number>;
  1731 +}
  1732 +
1650 export interface Dto { 1733 export interface Dto {
1651 /** 1734 /**
1652 * @description 1735 * @description
src/services/request.ts
@@ -2,86 +2,175 @@ @@ -2,86 +2,175 @@
2 /* tslint:disable */ 2 /* tslint:disable */
3 /** Do not modify manually. 3 /** Do not modify manually.
4 content is generated automatically by `ts-gear`. */ 4 content is generated automatically by `ts-gear`. */
5 -import { request as requester } from 'umi'; 5 +import { request as requester } from "umi";
6 import type { 6 import type {
7 - AdminAuthRoleVO,  
8 - AdminAuthUserVO,  
9 - AdminDeptQueryVO,  
10 - AdminDeptVO,  
11 - AdminJobQueryVO,  
12 - AdminJobVO,  
13 - AdminMenuQueryVO,  
14 - AdminMenuVO,  
15 - AdminRoleQueryVO,  
16 - AdminRoleVO,  
17 - AdminUserLoginByPhoneVO,  
18 - AdminUserLoginByPwdVO,  
19 - AdminUserModifyPwdVO,  
20 - AdminUserPasswordRecoverEmailVO,  
21 - AdminUserQueryVO,  
22 - AdminUserRegisterVO,  
23 - AdminUserVO,  
24 - AuditDto,  
25 - AuditVO,  
26 - CancelInvoiceAndBankStatementDto,  
27 - CancelSendOrderDto,  
28 - CaptchaMessageVO,  
29 - CustomFieldRes, 7 + ServerResult,
  8 + ApiApplyAddressModifyRequest,
  9 + ApiApplyAfterSalesRequest,
  10 + ApiQueryOrderDetailRequest,
  11 + ApiQueryOrderStatusCountsRequest,
  12 + Dto,
30 CustomerCustomerListReq, 13 CustomerCustomerListReq,
  14 + CustomerListRes,
31 CustomerDetailDto, 15 CustomerDetailDto,
32 CustomerDetailRes, 16 CustomerDetailRes,
33 - CustomerListRes,  
34 CustomerSaveReq, 17 CustomerSaveReq,
35 - DictionaryQueryVO,  
36 - DictionaryVO,  
37 - Dto,  
38 - InventoryMaterialStockReq,  
39 - MaterialListReply, 18 + SaveReply,
40 MaterialMaterialListReq, 19 MaterialMaterialListReq,
  20 + MaterialListReply,
  21 + InventoryMaterialStockReq,
41 MaterialStockRes, 22 MaterialStockRes,
  23 + UnitMaterialUnitListReq,
42 MaterialUnitListRes, 24 MaterialUnitListRes,
  25 + UnitMeasureUnitListReq,
43 MeasureUnitListRes, 26 MeasureUnitListRes,
  27 + SalOrderSaveDto,
  28 + SystemCustomFieldReq,
  29 + CustomFieldRes,
  30 + OrderFieldLockApplyQueryVO,
  31 + AuditVO,
  32 + OrderAuditLogQueryVO,
  33 + AdminUserLoginByPhoneVO,
  34 + AdminUserLoginByPwdVO,
  35 + AdminUserModifyPwdVO,
  36 + AdminUserRegisterVO,
  37 + AdminUserPasswordRecoverEmailVO,
  38 + TokenApiDto,
  39 + CaptchaMessageVO,
  40 + AdminDeptVO,
  41 + AdminDeptQueryVO,
  42 + DictionaryVO,
  43 + DictionaryQueryVO,
  44 + AdminJobVO,
  45 + AdminJobQueryVO,
  46 + SysLogQueryVO,
  47 + AdminMenuVO,
  48 + AdminMenuQueryVO,
44 MessageQueryDTO, 49 MessageQueryDTO,
45 - ModelAndView, 50 + OrderOptLogQueryVO,
46 OrderAddVO, 51 OrderAddVO,
47 - OrderAuditLogQueryVO,  
48 OrderBaseInfoQueryVO, 52 OrderBaseInfoQueryVO,
49 - OrderFieldLockApplyQueryVO,  
50 - OrderOptLogQueryVO,  
51 - OrderProfitAnalysisVo,  
52 - OrderUnlockFieldApplyVO,  
53 OrderUpdateVO, 53 OrderUpdateVO,
  54 + OrderUnlockFieldApplyVO,
  55 + OrderProfitAnalysisVo,
  56 + AdminRoleVO,
  57 + AdminRoleQueryVO,
  58 + AdminAuthRoleVO,
  59 + AdminUserVO,
  60 + AdminAuthUserVO,
  61 + AdminUserQueryVO,
  62 + ResetPwdVO,
  63 + UpdatePwdVO,
  64 + QueryBankStatementDto,
  65 + CancelInvoiceAndBankStatementDto,
  66 + QueryInvoiceDetailDto,
  67 + AuditDto,
  68 + CancelSendOrderDto,
54 ProcureConvertProcureDto, 69 ProcureConvertProcureDto,
55 ProcureOrderDto, 70 ProcureOrderDto,
56 ProcurePrintDto, 71 ProcurePrintDto,
57 - ProductInformationDto,  
58 QueryAfterSalesInfoSnapshotDto, 72 QueryAfterSalesInfoSnapshotDto,
59 - QueryAnnexDto,  
60 - QueryBankStatementDto,  
61 QueryCustomerInformationDto, 73 QueryCustomerInformationDto,
62 - QueryHistoryRecordDto,  
63 - QueryInvoiceDetailDto,  
64 QueryMainOrderDto, 74 QueryMainOrderDto,
  75 + QueryHistoryRecordDto,
  76 + ProductInformationDto,
65 QueryReportFormsDto, 77 QueryReportFormsDto,
66 - ResetPwdVO,  
67 - SalOrderSaveDto,  
68 - SaveReply,  
69 - ServerResult,  
70 ShippingWarehouseChangeDto, 78 ShippingWarehouseChangeDto,
71 - SysLogQueryVO,  
72 - SystemCustomFieldReq,  
73 ToProcureAuditDto, 79 ToProcureAuditDto,
74 - TokenApiDto,  
75 - UnitMaterialUnitListReq,  
76 - UnitMeasureUnitListReq, 80 + QueryAnnexDto,
77 UpdateHirePurchaseDto, 81 UpdateHirePurchaseDto,
78 - UpdatePwdVO,  
79 -} from './definition'; 82 + UploadPaymentReceiptDTO,
  83 +} from "./definition";
  84 +
  85 +/** @description request parameter type for postApiLocalStorageUpload */
  86 +export interface PostApiLocalStorageUploadOption {
  87 + /**
  88 + * @description
  89 + * file
  90 + */
  91 + formData: {
  92 + /**
  93 + @description
  94 + file */
  95 + file: File;
  96 + };
  97 +}
80 98
81 /** @description request parameter type for postApiLocalStorageUpload */ 99 /** @description request parameter type for postApiLocalStorageUpload */
82 export interface PostApiLocalStorageUploadOption { 100 export interface PostApiLocalStorageUploadOption {
83 /** 101 /**
84 * @description 102 * @description
  103 + * name
  104 + */
  105 + query: {
  106 + /**
  107 + @description
  108 + name */
  109 + name: string;
  110 + };
  111 +}
  112 +
  113 +/** @description response type for postApiLocalStorageUpload */
  114 +export interface PostApiLocalStorageUploadResponse {
  115 + /**
  116 + * @description
  117 + * OK
  118 + */
  119 + 200: ServerResult;
  120 + /**
  121 + * @description
  122 + * Created
  123 + */
  124 + 201: any;
  125 + /**
  126 + * @description
  127 + * Unauthorized
  128 + */
  129 + 401: any;
  130 + /**
  131 + * @description
  132 + * Forbidden
  133 + */
  134 + 403: any;
  135 + /**
  136 + * @description
  137 + * Not Found
  138 + */
  139 + 404: any;
  140 +}
  141 +
  142 +export type PostApiLocalStorageUploadResponseSuccess =
  143 + PostApiLocalStorageUploadResponse[200];
  144 +/**
  145 + * @description
  146 + * 上传文件
  147 + * @tags 文件上传
  148 + * @produces *
  149 + * @consumes multipart/form-data
  150 + */
  151 +export const postApiLocalStorageUpload = /* #__PURE__ */ (() => {
  152 + const method = "post";
  153 + const url = "/api/localStorage/upload";
  154 + function request(
  155 + option: PostApiLocalStorageUploadOption
  156 + ): Promise<PostApiLocalStorageUploadResponseSuccess> {
  157 + return requester(request.url, {
  158 + method: request.method,
  159 + ...option,
  160 + }) as unknown as Promise<PostApiLocalStorageUploadResponseSuccess>;
  161 + }
  162 +
  163 + /** http method */
  164 + request.method = method;
  165 + /** request url */
  166 + request.url = url;
  167 + return request;
  168 +})();
  169 +
  170 +/** @description request parameter type for postApiLocalStorageUploadOss */
  171 +export interface PostApiLocalStorageUploadOssOption {
  172 + /**
  173 + * @description
85 * file 174 * file
86 */ 175 */
87 formData: { 176 formData: {
@@ -92,22 +181,306 @@ export interface PostApiLocalStorageUploadOption { @@ -92,22 +181,306 @@ export interface PostApiLocalStorageUploadOption {
92 }; 181 };
93 } 182 }
94 183
95 -/** @description request parameter type for postApiLocalStorageUpload */  
96 -export interface PostApiLocalStorageUploadOption { 184 +/** @description request parameter type for postApiLocalStorageUploadOss */
  185 +export interface PostApiLocalStorageUploadOssOption {
  186 + /**
  187 + * @description
  188 + * name
  189 + */
  190 + query: {
  191 + /**
  192 + @description
  193 + name */
  194 + name: string;
  195 + };
  196 +}
  197 +
  198 +/** @description response type for postApiLocalStorageUploadOss */
  199 +export interface PostApiLocalStorageUploadOssResponse {
  200 + /**
  201 + * @description
  202 + * OK
  203 + */
  204 + 200: ServerResult;
  205 + /**
  206 + * @description
  207 + * Created
  208 + */
  209 + 201: any;
  210 + /**
  211 + * @description
  212 + * Unauthorized
  213 + */
  214 + 401: any;
  215 + /**
  216 + * @description
  217 + * Forbidden
  218 + */
  219 + 403: any;
  220 + /**
  221 + * @description
  222 + * Not Found
  223 + */
  224 + 404: any;
  225 +}
  226 +
  227 +export type PostApiLocalStorageUploadOssResponseSuccess =
  228 + PostApiLocalStorageUploadOssResponse[200];
  229 +/**
  230 + * @description
  231 + * 上传文件到oss服务
  232 + * @tags 文件上传
  233 + * @produces *
  234 + * @consumes multipart/form-data
  235 + */
  236 +export const postApiLocalStorageUploadOss = /* #__PURE__ */ (() => {
  237 + const method = "post";
  238 + const url = "/api/localStorage/upload_oss";
  239 + function request(
  240 + option: PostApiLocalStorageUploadOssOption
  241 + ): Promise<PostApiLocalStorageUploadOssResponseSuccess> {
  242 + return requester(request.url, {
  243 + method: request.method,
  244 + ...option,
  245 + }) as unknown as Promise<PostApiLocalStorageUploadOssResponseSuccess>;
  246 + }
  247 +
  248 + /** http method */
  249 + request.method = method;
  250 + /** request url */
  251 + request.url = url;
  252 + return request;
  253 +})();
  254 +
  255 +/** @description request parameter type for postApiOrderApplyAddressModify */
  256 +export interface PostApiOrderApplyAddressModifyOption {
  257 + /**
  258 + * @description
  259 + * request
  260 + */
  261 + body: {
  262 + /**
  263 + @description
  264 + request */
  265 + request: ApiApplyAddressModifyRequest;
  266 + };
  267 +}
  268 +
  269 +/** @description response type for postApiOrderApplyAddressModify */
  270 +export interface PostApiOrderApplyAddressModifyResponse {
  271 + /**
  272 + * @description
  273 + * OK
  274 + */
  275 + 200: ServerResult;
  276 + /**
  277 + * @description
  278 + * Created
  279 + */
  280 + 201: any;
  281 + /**
  282 + * @description
  283 + * Unauthorized
  284 + */
  285 + 401: any;
  286 + /**
  287 + * @description
  288 + * Forbidden
  289 + */
  290 + 403: any;
  291 + /**
  292 + * @description
  293 + * Not Found
  294 + */
  295 + 404: any;
  296 +}
  297 +
  298 +export type PostApiOrderApplyAddressModifyResponseSuccess =
  299 + PostApiOrderApplyAddressModifyResponse[200];
  300 +/**
  301 + * @description
  302 + * 申请修改收货地址
  303 + * @tags 内部订单
  304 + * @produces *
  305 + * @consumes application/json
  306 + */
  307 +export const postApiOrderApplyAddressModify = /* #__PURE__ */ (() => {
  308 + const method = "post";
  309 + const url = "/api/order/applyAddressModify";
  310 + function request(
  311 + option: PostApiOrderApplyAddressModifyOption
  312 + ): Promise<PostApiOrderApplyAddressModifyResponseSuccess> {
  313 + return requester(request.url, {
  314 + method: request.method,
  315 + ...option,
  316 + }) as unknown as Promise<PostApiOrderApplyAddressModifyResponseSuccess>;
  317 + }
  318 +
  319 + /** http method */
  320 + request.method = method;
  321 + /** request url */
  322 + request.url = url;
  323 + return request;
  324 +})();
  325 +
  326 +/** @description request parameter type for postApiOrderApplyAfterSales */
  327 +export interface PostApiOrderApplyAfterSalesOption {
  328 + /**
  329 + * @description
  330 + * request
  331 + */
  332 + body: {
  333 + /**
  334 + @description
  335 + request */
  336 + request: ApiApplyAfterSalesRequest;
  337 + };
  338 +}
  339 +
  340 +/** @description response type for postApiOrderApplyAfterSales */
  341 +export interface PostApiOrderApplyAfterSalesResponse {
  342 + /**
  343 + * @description
  344 + * OK
  345 + */
  346 + 200: ServerResult;
  347 + /**
  348 + * @description
  349 + * Created
  350 + */
  351 + 201: any;
  352 + /**
  353 + * @description
  354 + * Unauthorized
  355 + */
  356 + 401: any;
  357 + /**
  358 + * @description
  359 + * Forbidden
  360 + */
  361 + 403: any;
  362 + /**
  363 + * @description
  364 + * Not Found
  365 + */
  366 + 404: any;
  367 +}
  368 +
  369 +export type PostApiOrderApplyAfterSalesResponseSuccess =
  370 + PostApiOrderApplyAfterSalesResponse[200];
  371 +/**
  372 + * @description
  373 + * 申请售后
  374 + * @tags 内部订单
  375 + * @produces *
  376 + * @consumes application/json
  377 + */
  378 +export const postApiOrderApplyAfterSales = /* #__PURE__ */ (() => {
  379 + const method = "post";
  380 + const url = "/api/order/applyAfterSales";
  381 + function request(
  382 + option: PostApiOrderApplyAfterSalesOption
  383 + ): Promise<PostApiOrderApplyAfterSalesResponseSuccess> {
  384 + return requester(request.url, {
  385 + method: request.method,
  386 + ...option,
  387 + }) as unknown as Promise<PostApiOrderApplyAfterSalesResponseSuccess>;
  388 + }
  389 +
  390 + /** http method */
  391 + request.method = method;
  392 + /** request url */
  393 + request.url = url;
  394 + return request;
  395 +})();
  396 +
  397 +/** @description request parameter type for postApiOrderQueryOrderDetail */
  398 +export interface PostApiOrderQueryOrderDetailOption {
  399 + /**
  400 + * @description
  401 + * request
  402 + */
  403 + body: {
  404 + /**
  405 + @description
  406 + request */
  407 + request: ApiQueryOrderDetailRequest;
  408 + };
  409 +}
  410 +
  411 +/** @description response type for postApiOrderQueryOrderDetail */
  412 +export interface PostApiOrderQueryOrderDetailResponse {
  413 + /**
  414 + * @description
  415 + * OK
  416 + */
  417 + 200: ServerResult;
  418 + /**
  419 + * @description
  420 + * Created
  421 + */
  422 + 201: any;
  423 + /**
  424 + * @description
  425 + * Unauthorized
  426 + */
  427 + 401: any;
  428 + /**
  429 + * @description
  430 + * Forbidden
  431 + */
  432 + 403: any;
  433 + /**
  434 + * @description
  435 + * Not Found
  436 + */
  437 + 404: any;
  438 +}
  439 +
  440 +export type PostApiOrderQueryOrderDetailResponseSuccess =
  441 + PostApiOrderQueryOrderDetailResponse[200];
  442 +/**
  443 + * @description
  444 + * 订单详情
  445 + * @tags 内部订单
  446 + * @produces *
  447 + * @consumes application/json
  448 + */
  449 +export const postApiOrderQueryOrderDetail = /* #__PURE__ */ (() => {
  450 + const method = "post";
  451 + const url = "/api/order/queryOrderDetail";
  452 + function request(
  453 + option: PostApiOrderQueryOrderDetailOption
  454 + ): Promise<PostApiOrderQueryOrderDetailResponseSuccess> {
  455 + return requester(request.url, {
  456 + method: request.method,
  457 + ...option,
  458 + }) as unknown as Promise<PostApiOrderQueryOrderDetailResponseSuccess>;
  459 + }
  460 +
  461 + /** http method */
  462 + request.method = method;
  463 + /** request url */
  464 + request.url = url;
  465 + return request;
  466 +})();
  467 +
  468 +/** @description request parameter type for postApiOrderQueryOrderStatusCounts */
  469 +export interface PostApiOrderQueryOrderStatusCountsOption {
97 /** 470 /**
98 * @description 471 * @description
99 - * name 472 + * request
100 */ 473 */
101 - query: { 474 + body: {
102 /** 475 /**
103 @description 476 @description
104 - name */  
105 - name: string; 477 + request */
  478 + request: ApiQueryOrderStatusCountsRequest;
106 }; 479 };
107 } 480 }
108 481
109 -/** @description response type for postApiLocalStorageUpload */  
110 -export interface PostApiLocalStorageUploadResponse { 482 +/** @description response type for postApiOrderQueryOrderStatusCounts */
  483 +export interface PostApiOrderQueryOrderStatusCountsResponse {
111 /** 484 /**
112 * @description 485 * @description
113 * OK 486 * OK
@@ -135,25 +508,25 @@ export interface PostApiLocalStorageUploadResponse { @@ -135,25 +508,25 @@ export interface PostApiLocalStorageUploadResponse {
135 404: any; 508 404: any;
136 } 509 }
137 510
138 -export type PostApiLocalStorageUploadResponseSuccess =  
139 - PostApiLocalStorageUploadResponse[200]; 511 +export type PostApiOrderQueryOrderStatusCountsResponseSuccess =
  512 + PostApiOrderQueryOrderStatusCountsResponse[200];
140 /** 513 /**
141 * @description 514 * @description
142 - * 上传文件  
143 - * @tags 文件上传 515 + * 获取各个订单状态数量
  516 + * @tags 内部订单
144 * @produces * 517 * @produces *
145 - * @consumes multipart/form-data 518 + * @consumes application/json
146 */ 519 */
147 -export const postApiLocalStorageUpload = /* #__PURE__ */ (() => {  
148 - const method = 'post';  
149 - const url = '/api/localStorage/upload'; 520 +export const postApiOrderQueryOrderStatusCounts = /* #__PURE__ */ (() => {
  521 + const method = "post";
  522 + const url = "/api/order/queryOrderStatusCounts";
150 function request( 523 function request(
151 - option: PostApiLocalStorageUploadOption,  
152 - ): Promise<PostApiLocalStorageUploadResponseSuccess> { 524 + option: PostApiOrderQueryOrderStatusCountsOption
  525 + ): Promise<PostApiOrderQueryOrderStatusCountsResponseSuccess> {
153 return requester(request.url, { 526 return requester(request.url, {
154 method: request.method, 527 method: request.method,
155 ...option, 528 ...option,
156 - }) as unknown as Promise<PostApiLocalStorageUploadResponseSuccess>; 529 + }) as unknown as Promise<PostApiOrderQueryOrderStatusCountsResponseSuccess>;
157 } 530 }
158 531
159 /** http method */ 532 /** http method */
@@ -163,36 +536,22 @@ export const postApiLocalStorageUpload = /* #__PURE__ */ (() =&gt; { @@ -163,36 +536,22 @@ export const postApiLocalStorageUpload = /* #__PURE__ */ (() =&gt; {
163 return request; 536 return request;
164 })(); 537 })();
165 538
166 -/** @description request parameter type for postApiLocalStorageUploadOss */  
167 -export interface PostApiLocalStorageUploadOssOption {  
168 - /**  
169 - * @description  
170 - * file  
171 - */  
172 - formData: {  
173 - /**  
174 - @description  
175 - file */  
176 - file: File;  
177 - };  
178 -}  
179 -  
180 -/** @description request parameter type for postApiLocalStorageUploadOss */  
181 -export interface PostApiLocalStorageUploadOssOption { 539 +/** @description request parameter type for postApiOrderQueryServiceOrder */
  540 +export interface PostApiOrderQueryServiceOrderOption {
182 /** 541 /**
183 * @description 542 * @description
184 - * name 543 + * request
185 */ 544 */
186 - query: { 545 + body: {
187 /** 546 /**
188 @description 547 @description
189 - name */  
190 - name: string; 548 + request */
  549 + request: Dto;
191 }; 550 };
192 } 551 }
193 552
194 -/** @description response type for postApiLocalStorageUploadOss */  
195 -export interface PostApiLocalStorageUploadOssResponse { 553 +/** @description response type for postApiOrderQueryServiceOrder */
  554 +export interface PostApiOrderQueryServiceOrderResponse {
196 /** 555 /**
197 * @description 556 * @description
198 * OK 557 * OK
@@ -220,25 +579,25 @@ export interface PostApiLocalStorageUploadOssResponse { @@ -220,25 +579,25 @@ export interface PostApiLocalStorageUploadOssResponse {
220 404: any; 579 404: any;
221 } 580 }
222 581
223 -export type PostApiLocalStorageUploadOssResponseSuccess =  
224 - PostApiLocalStorageUploadOssResponse[200]; 582 +export type PostApiOrderQueryServiceOrderResponseSuccess =
  583 + PostApiOrderQueryServiceOrderResponse[200];
225 /** 584 /**
226 * @description 585 * @description
227 - * 上传文件到oss服务  
228 - * @tags 文件上传 586 + * 查询订单列表
  587 + * @tags 内部订单
229 * @produces * 588 * @produces *
230 - * @consumes multipart/form-data 589 + * @consumes application/json
231 */ 590 */
232 -export const postApiLocalStorageUploadOss = /* #__PURE__ */ (() => {  
233 - const method = 'post';  
234 - const url = '/api/localStorage/upload_oss'; 591 +export const postApiOrderQueryServiceOrder = /* #__PURE__ */ (() => {
  592 + const method = "post";
  593 + const url = "/api/order/queryServiceOrder";
235 function request( 594 function request(
236 - option: PostApiLocalStorageUploadOssOption,  
237 - ): Promise<PostApiLocalStorageUploadOssResponseSuccess> { 595 + option: PostApiOrderQueryServiceOrderOption
  596 + ): Promise<PostApiOrderQueryServiceOrderResponseSuccess> {
238 return requester(request.url, { 597 return requester(request.url, {
239 method: request.method, 598 method: request.method,
240 ...option, 599 ...option,
241 - }) as unknown as Promise<PostApiLocalStorageUploadOssResponseSuccess>; 600 + }) as unknown as Promise<PostApiOrderQueryServiceOrderResponseSuccess>;
242 } 601 }
243 602
244 /** http method */ 603 /** http method */
@@ -254,7 +613,9 @@ export interface GetErrorResponse { @@ -254,7 +613,9 @@ export interface GetErrorResponse {
254 * @description 613 * @description
255 * OK 614 * OK
256 */ 615 */
257 - 200: ModelAndView; 616 + 200: {
  617 + [propertyName: string]: any;
  618 + };
258 /** 619 /**
259 * @description 620 * @description
260 * Unauthorized 621 * Unauthorized
@@ -275,13 +636,13 @@ export interface GetErrorResponse { @@ -275,13 +636,13 @@ export interface GetErrorResponse {
275 export type GetErrorResponseSuccess = GetErrorResponse[200]; 636 export type GetErrorResponseSuccess = GetErrorResponse[200];
276 /** 637 /**
277 * @description 638 * @description
278 - * errorHtml 639 + * error
279 * @tags basic-error-controller 640 * @tags basic-error-controller
280 - * @produces text/html 641 + * @produces *
281 */ 642 */
282 export const getError = /* #__PURE__ */ (() => { 643 export const getError = /* #__PURE__ */ (() => {
283 - const method = 'get';  
284 - const url = '/error'; 644 + const method = "get";
  645 + const url = "/error";
285 function request(): Promise<GetErrorResponseSuccess> { 646 function request(): Promise<GetErrorResponseSuccess> {
286 return requester(request.url, { 647 return requester(request.url, {
287 method: request.method, 648 method: request.method,
@@ -301,7 +662,9 @@ export interface PutErrorResponse { @@ -301,7 +662,9 @@ export interface PutErrorResponse {
301 * @description 662 * @description
302 * OK 663 * OK
303 */ 664 */
304 - 200: ModelAndView; 665 + 200: {
  666 + [propertyName: string]: any;
  667 + };
305 /** 668 /**
306 * @description 669 * @description
307 * Created 670 * Created
@@ -327,14 +690,14 @@ export interface PutErrorResponse { @@ -327,14 +690,14 @@ export interface PutErrorResponse {
327 export type PutErrorResponseSuccess = PutErrorResponse[200]; 690 export type PutErrorResponseSuccess = PutErrorResponse[200];
328 /** 691 /**
329 * @description 692 * @description
330 - * errorHtml 693 + * error
331 * @tags basic-error-controller 694 * @tags basic-error-controller
332 - * @produces text/html 695 + * @produces *
333 * @consumes application/json 696 * @consumes application/json
334 */ 697 */
335 export const putError = /* #__PURE__ */ (() => { 698 export const putError = /* #__PURE__ */ (() => {
336 - const method = 'put';  
337 - const url = '/error'; 699 + const method = "put";
  700 + const url = "/error";
338 function request(): Promise<PutErrorResponseSuccess> { 701 function request(): Promise<PutErrorResponseSuccess> {
339 return requester(request.url, { 702 return requester(request.url, {
340 method: request.method, 703 method: request.method,
@@ -354,7 +717,9 @@ export interface PostErrorResponse { @@ -354,7 +717,9 @@ export interface PostErrorResponse {
354 * @description 717 * @description
355 * OK 718 * OK
356 */ 719 */
357 - 200: ModelAndView; 720 + 200: {
  721 + [propertyName: string]: any;
  722 + };
358 /** 723 /**
359 * @description 724 * @description
360 * Created 725 * Created
@@ -380,14 +745,14 @@ export interface PostErrorResponse { @@ -380,14 +745,14 @@ export interface PostErrorResponse {
380 export type PostErrorResponseSuccess = PostErrorResponse[200]; 745 export type PostErrorResponseSuccess = PostErrorResponse[200];
381 /** 746 /**
382 * @description 747 * @description
383 - * errorHtml 748 + * error
384 * @tags basic-error-controller 749 * @tags basic-error-controller
385 - * @produces text/html 750 + * @produces *
386 * @consumes application/json 751 * @consumes application/json
387 */ 752 */
388 export const postError = /* #__PURE__ */ (() => { 753 export const postError = /* #__PURE__ */ (() => {
389 - const method = 'post';  
390 - const url = '/error'; 754 + const method = "post";
  755 + const url = "/error";
391 function request(): Promise<PostErrorResponseSuccess> { 756 function request(): Promise<PostErrorResponseSuccess> {
392 return requester(request.url, { 757 return requester(request.url, {
393 method: request.method, 758 method: request.method,
@@ -407,7 +772,9 @@ export interface DeleteErrorResponse { @@ -407,7 +772,9 @@ export interface DeleteErrorResponse {
407 * @description 772 * @description
408 * OK 773 * OK
409 */ 774 */
410 - 200: ModelAndView; 775 + 200: {
  776 + [propertyName: string]: any;
  777 + };
411 /** 778 /**
412 * @description 779 * @description
413 * No Content 780 * No Content
@@ -428,13 +795,13 @@ export interface DeleteErrorResponse { @@ -428,13 +795,13 @@ export interface DeleteErrorResponse {
428 export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; 795 export type DeleteErrorResponseSuccess = DeleteErrorResponse[200];
429 /** 796 /**
430 * @description 797 * @description
431 - * errorHtml 798 + * error
432 * @tags basic-error-controller 799 * @tags basic-error-controller
433 - * @produces text/html 800 + * @produces *
434 */ 801 */
435 export const deleteError = /* #__PURE__ */ (() => { 802 export const deleteError = /* #__PURE__ */ (() => {
436 - const method = 'delete';  
437 - const url = '/error'; 803 + const method = "delete";
  804 + const url = "/error";
438 function request(): Promise<DeleteErrorResponseSuccess> { 805 function request(): Promise<DeleteErrorResponseSuccess> {
439 return requester(request.url, { 806 return requester(request.url, {
440 method: request.method, 807 method: request.method,
@@ -454,7 +821,9 @@ export interface OptionsErrorResponse { @@ -454,7 +821,9 @@ export interface OptionsErrorResponse {
454 * @description 821 * @description
455 * OK 822 * OK
456 */ 823 */
457 - 200: ModelAndView; 824 + 200: {
  825 + [propertyName: string]: any;
  826 + };
458 /** 827 /**
459 * @description 828 * @description
460 * No Content 829 * No Content
@@ -475,14 +844,14 @@ export interface OptionsErrorResponse { @@ -475,14 +844,14 @@ export interface OptionsErrorResponse {
475 export type OptionsErrorResponseSuccess = OptionsErrorResponse[200]; 844 export type OptionsErrorResponseSuccess = OptionsErrorResponse[200];
476 /** 845 /**
477 * @description 846 * @description
478 - * errorHtml 847 + * error
479 * @tags basic-error-controller 848 * @tags basic-error-controller
480 - * @produces text/html 849 + * @produces *
481 * @consumes application/json 850 * @consumes application/json
482 */ 851 */
483 export const optionsError = /* #__PURE__ */ (() => { 852 export const optionsError = /* #__PURE__ */ (() => {
484 - const method = 'options';  
485 - const url = '/error'; 853 + const method = "options";
  854 + const url = "/error";
486 function request(): Promise<OptionsErrorResponseSuccess> { 855 function request(): Promise<OptionsErrorResponseSuccess> {
487 return requester(request.url, { 856 return requester(request.url, {
488 method: request.method, 857 method: request.method,
@@ -502,7 +871,9 @@ export interface HeadErrorResponse { @@ -502,7 +871,9 @@ export interface HeadErrorResponse {
502 * @description 871 * @description
503 * OK 872 * OK
504 */ 873 */
505 - 200: ModelAndView; 874 + 200: {
  875 + [propertyName: string]: any;
  876 + };
506 /** 877 /**
507 * @description 878 * @description
508 * No Content 879 * No Content
@@ -523,14 +894,14 @@ export interface HeadErrorResponse { @@ -523,14 +894,14 @@ export interface HeadErrorResponse {
523 export type HeadErrorResponseSuccess = HeadErrorResponse[200]; 894 export type HeadErrorResponseSuccess = HeadErrorResponse[200];
524 /** 895 /**
525 * @description 896 * @description
526 - * errorHtml 897 + * error
527 * @tags basic-error-controller 898 * @tags basic-error-controller
528 - * @produces text/html 899 + * @produces *
529 * @consumes application/json 900 * @consumes application/json
530 */ 901 */
531 export const headError = /* #__PURE__ */ (() => { 902 export const headError = /* #__PURE__ */ (() => {
532 - const method = 'head';  
533 - const url = '/error'; 903 + const method = "head";
  904 + const url = "/error";
534 function request(): Promise<HeadErrorResponseSuccess> { 905 function request(): Promise<HeadErrorResponseSuccess> {
535 return requester(request.url, { 906 return requester(request.url, {
536 method: request.method, 907 method: request.method,
@@ -550,7 +921,9 @@ export interface PatchErrorResponse { @@ -550,7 +921,9 @@ export interface PatchErrorResponse {
550 * @description 921 * @description
551 * OK 922 * OK
552 */ 923 */
553 - 200: ModelAndView; 924 + 200: {
  925 + [propertyName: string]: any;
  926 + };
554 /** 927 /**
555 * @description 928 * @description
556 * No Content 929 * No Content
@@ -571,14 +944,14 @@ export interface PatchErrorResponse { @@ -571,14 +944,14 @@ export interface PatchErrorResponse {
571 export type PatchErrorResponseSuccess = PatchErrorResponse[200]; 944 export type PatchErrorResponseSuccess = PatchErrorResponse[200];
572 /** 945 /**
573 * @description 946 * @description
574 - * errorHtml 947 + * error
575 * @tags basic-error-controller 948 * @tags basic-error-controller
576 - * @produces text/html 949 + * @produces *
577 * @consumes application/json 950 * @consumes application/json
578 */ 951 */
579 export const patchError = /* #__PURE__ */ (() => { 952 export const patchError = /* #__PURE__ */ (() => {
580 - const method = 'patch';  
581 - const url = '/error'; 953 + const method = "patch";
  954 + const url = "/error";
582 function request(): Promise<PatchErrorResponseSuccess> { 955 function request(): Promise<PatchErrorResponseSuccess> {
583 return requester(request.url, { 956 return requester(request.url, {
584 method: request.method, 957 method: request.method,
@@ -645,10 +1018,10 @@ export type PostKingdeeRepCustomerResponseSuccess = @@ -645,10 +1018,10 @@ export type PostKingdeeRepCustomerResponseSuccess =
645 * @consumes application/json 1018 * @consumes application/json
646 */ 1019 */
647 export const postKingdeeRepCustomer = /* #__PURE__ */ (() => { 1020 export const postKingdeeRepCustomer = /* #__PURE__ */ (() => {
648 - const method = 'post';  
649 - const url = '/kingdee/rep/customer'; 1021 + const method = "post";
  1022 + const url = "/kingdee/rep/customer";
650 function request( 1023 function request(
651 - option: PostKingdeeRepCustomerOption, 1024 + option: PostKingdeeRepCustomerOption
652 ): Promise<PostKingdeeRepCustomerResponseSuccess> { 1025 ): Promise<PostKingdeeRepCustomerResponseSuccess> {
653 return requester(request.url, { 1026 return requester(request.url, {
654 method: request.method, 1027 method: request.method,
@@ -716,10 +1089,10 @@ export type PostKingdeeRepCustomerDetailResponseSuccess = @@ -716,10 +1089,10 @@ export type PostKingdeeRepCustomerDetailResponseSuccess =
716 * @consumes application/json 1089 * @consumes application/json
717 */ 1090 */
718 export const postKingdeeRepCustomerDetail = /* #__PURE__ */ (() => { 1091 export const postKingdeeRepCustomerDetail = /* #__PURE__ */ (() => {
719 - const method = 'post';  
720 - const url = '/kingdee/rep/customerDetail'; 1092 + const method = "post";
  1093 + const url = "/kingdee/rep/customerDetail";
721 function request( 1094 function request(
722 - option: PostKingdeeRepCustomerDetailOption, 1095 + option: PostKingdeeRepCustomerDetailOption
723 ): Promise<PostKingdeeRepCustomerDetailResponseSuccess> { 1096 ): Promise<PostKingdeeRepCustomerDetailResponseSuccess> {
724 return requester(request.url, { 1097 return requester(request.url, {
725 method: request.method, 1098 method: request.method,
@@ -781,16 +1154,16 @@ export type PostKingdeeRepCustomerSaveResponseSuccess = @@ -781,16 +1154,16 @@ export type PostKingdeeRepCustomerSaveResponseSuccess =
781 PostKingdeeRepCustomerSaveResponse[200]; 1154 PostKingdeeRepCustomerSaveResponse[200];
782 /** 1155 /**
783 * @description 1156 * @description
784 - * getCustomerDetail 1157 + * customerSave
785 * @tags kingdee-erp-controller 1158 * @tags kingdee-erp-controller
786 * @produces * 1159 * @produces *
787 * @consumes application/json 1160 * @consumes application/json
788 */ 1161 */
789 export const postKingdeeRepCustomerSave = /* #__PURE__ */ (() => { 1162 export const postKingdeeRepCustomerSave = /* #__PURE__ */ (() => {
790 - const method = 'post';  
791 - const url = '/kingdee/rep/customerSave'; 1163 + const method = "post";
  1164 + const url = "/kingdee/rep/customerSave";
792 function request( 1165 function request(
793 - option: PostKingdeeRepCustomerSaveOption, 1166 + option: PostKingdeeRepCustomerSaveOption
794 ): Promise<PostKingdeeRepCustomerSaveResponseSuccess> { 1167 ): Promise<PostKingdeeRepCustomerSaveResponseSuccess> {
795 return requester(request.url, { 1168 return requester(request.url, {
796 method: request.method, 1169 method: request.method,
@@ -858,10 +1231,10 @@ export type PostKingdeeRepMaterialResponseSuccess = @@ -858,10 +1231,10 @@ export type PostKingdeeRepMaterialResponseSuccess =
858 * @consumes application/json 1231 * @consumes application/json
859 */ 1232 */
860 export const postKingdeeRepMaterial = /* #__PURE__ */ (() => { 1233 export const postKingdeeRepMaterial = /* #__PURE__ */ (() => {
861 - const method = 'post';  
862 - const url = '/kingdee/rep/material'; 1234 + const method = "post";
  1235 + const url = "/kingdee/rep/material";
863 function request( 1236 function request(
864 - option: PostKingdeeRepMaterialOption, 1237 + option: PostKingdeeRepMaterialOption
865 ): Promise<PostKingdeeRepMaterialResponseSuccess> { 1238 ): Promise<PostKingdeeRepMaterialResponseSuccess> {
866 return requester(request.url, { 1239 return requester(request.url, {
867 method: request.method, 1240 method: request.method,
@@ -929,10 +1302,10 @@ export type PostKingdeeRepMaterialStockResponseSuccess = @@ -929,10 +1302,10 @@ export type PostKingdeeRepMaterialStockResponseSuccess =
929 * @consumes application/json 1302 * @consumes application/json
930 */ 1303 */
931 export const postKingdeeRepMaterialStock = /* #__PURE__ */ (() => { 1304 export const postKingdeeRepMaterialStock = /* #__PURE__ */ (() => {
932 - const method = 'post';  
933 - const url = '/kingdee/rep/materialStock'; 1305 + const method = "post";
  1306 + const url = "/kingdee/rep/materialStock";
934 function request( 1307 function request(
935 - option: PostKingdeeRepMaterialStockOption, 1308 + option: PostKingdeeRepMaterialStockOption
936 ): Promise<PostKingdeeRepMaterialStockResponseSuccess> { 1309 ): Promise<PostKingdeeRepMaterialStockResponseSuccess> {
937 return requester(request.url, { 1310 return requester(request.url, {
938 method: request.method, 1311 method: request.method,
@@ -1000,10 +1373,10 @@ export type PostKingdeeRepMaterialUnitResponseSuccess = @@ -1000,10 +1373,10 @@ export type PostKingdeeRepMaterialUnitResponseSuccess =
1000 * @consumes application/json 1373 * @consumes application/json
1001 */ 1374 */
1002 export const postKingdeeRepMaterialUnit = /* #__PURE__ */ (() => { 1375 export const postKingdeeRepMaterialUnit = /* #__PURE__ */ (() => {
1003 - const method = 'post';  
1004 - const url = '/kingdee/rep/materialUnit'; 1376 + const method = "post";
  1377 + const url = "/kingdee/rep/materialUnit";
1005 function request( 1378 function request(
1006 - option: PostKingdeeRepMaterialUnitOption, 1379 + option: PostKingdeeRepMaterialUnitOption
1007 ): Promise<PostKingdeeRepMaterialUnitResponseSuccess> { 1380 ): Promise<PostKingdeeRepMaterialUnitResponseSuccess> {
1008 return requester(request.url, { 1381 return requester(request.url, {
1009 method: request.method, 1382 method: request.method,
@@ -1071,10 +1444,10 @@ export type PostKingdeeRepMeasureUnitResponseSuccess = @@ -1071,10 +1444,10 @@ export type PostKingdeeRepMeasureUnitResponseSuccess =
1071 * @consumes application/json 1444 * @consumes application/json
1072 */ 1445 */
1073 export const postKingdeeRepMeasureUnit = /* #__PURE__ */ (() => { 1446 export const postKingdeeRepMeasureUnit = /* #__PURE__ */ (() => {
1074 - const method = 'post';  
1075 - const url = '/kingdee/rep/measureUnit'; 1447 + const method = "post";
  1448 + const url = "/kingdee/rep/measureUnit";
1076 function request( 1449 function request(
1077 - option: PostKingdeeRepMeasureUnitOption, 1450 + option: PostKingdeeRepMeasureUnitOption
1078 ): Promise<PostKingdeeRepMeasureUnitResponseSuccess> { 1451 ): Promise<PostKingdeeRepMeasureUnitResponseSuccess> {
1079 return requester(request.url, { 1452 return requester(request.url, {
1080 method: request.method, 1453 method: request.method,
@@ -1142,10 +1515,10 @@ export type PostKingdeeRepSalBillOutboundResponseSuccess = @@ -1142,10 +1515,10 @@ export type PostKingdeeRepSalBillOutboundResponseSuccess =
1142 * @consumes application/json 1515 * @consumes application/json
1143 */ 1516 */
1144 export const postKingdeeRepSalBillOutbound = /* #__PURE__ */ (() => { 1517 export const postKingdeeRepSalBillOutbound = /* #__PURE__ */ (() => {
1145 - const method = 'post';  
1146 - const url = '/kingdee/rep/salBillOutbound'; 1518 + const method = "post";
  1519 + const url = "/kingdee/rep/salBillOutbound";
1147 function request( 1520 function request(
1148 - option: PostKingdeeRepSalBillOutboundOption, 1521 + option: PostKingdeeRepSalBillOutboundOption
1149 ): Promise<PostKingdeeRepSalBillOutboundResponseSuccess> { 1522 ): Promise<PostKingdeeRepSalBillOutboundResponseSuccess> {
1150 return requester(request.url, { 1523 return requester(request.url, {
1151 method: request.method, 1524 method: request.method,
@@ -1213,10 +1586,10 @@ export type PostKingdeeRepSalOrderSaveResponseSuccess = @@ -1213,10 +1586,10 @@ export type PostKingdeeRepSalOrderSaveResponseSuccess =
1213 * @consumes application/json 1586 * @consumes application/json
1214 */ 1587 */
1215 export const postKingdeeRepSalOrderSave = /* #__PURE__ */ (() => { 1588 export const postKingdeeRepSalOrderSave = /* #__PURE__ */ (() => {
1216 - const method = 'post';  
1217 - const url = '/kingdee/rep/salOrderSave'; 1589 + const method = "post";
  1590 + const url = "/kingdee/rep/salOrderSave";
1218 function request( 1591 function request(
1219 - option: PostKingdeeRepSalOrderSaveOption, 1592 + option: PostKingdeeRepSalOrderSaveOption
1220 ): Promise<PostKingdeeRepSalOrderSaveResponseSuccess> { 1593 ): Promise<PostKingdeeRepSalOrderSaveResponseSuccess> {
1221 return requester(request.url, { 1594 return requester(request.url, {
1222 method: request.method, 1595 method: request.method,
@@ -1284,10 +1657,10 @@ export type PostKingdeeRepSystemCustomFieldResponseSuccess = @@ -1284,10 +1657,10 @@ export type PostKingdeeRepSystemCustomFieldResponseSuccess =
1284 * @consumes application/json 1657 * @consumes application/json
1285 */ 1658 */
1286 export const postKingdeeRepSystemCustomField = /* #__PURE__ */ (() => { 1659 export const postKingdeeRepSystemCustomField = /* #__PURE__ */ (() => {
1287 - const method = 'post';  
1288 - const url = '/kingdee/rep/systemCustomField'; 1660 + const method = "post";
  1661 + const url = "/kingdee/rep/systemCustomField";
1289 function request( 1662 function request(
1290 - option: PostKingdeeRepSystemCustomFieldOption, 1663 + option: PostKingdeeRepSystemCustomFieldOption
1291 ): Promise<PostKingdeeRepSystemCustomFieldResponseSuccess> { 1664 ): Promise<PostKingdeeRepSystemCustomFieldResponseSuccess> {
1292 return requester(request.url, { 1665 return requester(request.url, {
1293 method: request.method, 1666 method: request.method,
@@ -1355,10 +1728,10 @@ export type PostOfficialWebsiteUploadAliOssResponseSuccess = @@ -1355,10 +1728,10 @@ export type PostOfficialWebsiteUploadAliOssResponseSuccess =
1355 * @consumes application/json 1728 * @consumes application/json
1356 */ 1729 */
1357 export const postOfficialWebsiteUploadAliOss = /* #__PURE__ */ (() => { 1730 export const postOfficialWebsiteUploadAliOss = /* #__PURE__ */ (() => {
1358 - const method = 'post';  
1359 - const url = '/official/website/uploadAliOss'; 1731 + const method = "post";
  1732 + const url = "/official/website/uploadAliOss";
1360 function request( 1733 function request(
1361 - option: PostOfficialWebsiteUploadAliOssOption, 1734 + option: PostOfficialWebsiteUploadAliOssOption
1362 ): Promise<PostOfficialWebsiteUploadAliOssResponseSuccess> { 1735 ): Promise<PostOfficialWebsiteUploadAliOssResponseSuccess> {
1363 return requester(request.url, { 1736 return requester(request.url, {
1364 method: request.method, 1737 method: request.method,
@@ -1426,10 +1799,10 @@ export type PostOrderErpApplyListResponseSuccess = @@ -1426,10 +1799,10 @@ export type PostOrderErpApplyListResponseSuccess =
1426 * @consumes application/json 1799 * @consumes application/json
1427 */ 1800 */
1428 export const postOrderErpApplyList = /* #__PURE__ */ (() => { 1801 export const postOrderErpApplyList = /* #__PURE__ */ (() => {
1429 - const method = 'post';  
1430 - const url = '/order/erp/apply/list'; 1802 + const method = "post";
  1803 + const url = "/order/erp/apply/list";
1431 function request( 1804 function request(
1432 - option: PostOrderErpApplyListOption, 1805 + option: PostOrderErpApplyListOption
1433 ): Promise<PostOrderErpApplyListResponseSuccess> { 1806 ): Promise<PostOrderErpApplyListResponseSuccess> {
1434 return requester(request.url, { 1807 return requester(request.url, {
1435 method: request.method, 1808 method: request.method,
@@ -1497,10 +1870,10 @@ export type PostOrderErpAuditAuditListResponseSuccess = @@ -1497,10 +1870,10 @@ export type PostOrderErpAuditAuditListResponseSuccess =
1497 * @consumes application/json 1870 * @consumes application/json
1498 */ 1871 */
1499 export const postOrderErpAuditAuditList = /* #__PURE__ */ (() => { 1872 export const postOrderErpAuditAuditList = /* #__PURE__ */ (() => {
1500 - const method = 'post';  
1501 - const url = '/order/erp/audit/audit_list'; 1873 + const method = "post";
  1874 + const url = "/order/erp/audit/audit_list";
1502 function request( 1875 function request(
1503 - option: PostOrderErpAuditAuditListOption, 1876 + option: PostOrderErpAuditAuditListOption
1504 ): Promise<PostOrderErpAuditAuditListResponseSuccess> { 1877 ): Promise<PostOrderErpAuditAuditListResponseSuccess> {
1505 return requester(request.url, { 1878 return requester(request.url, {
1506 method: request.method, 1879 method: request.method,
@@ -1568,10 +1941,10 @@ export type PostOrderErpAuditDoAuditResponseSuccess = @@ -1568,10 +1941,10 @@ export type PostOrderErpAuditDoAuditResponseSuccess =
1568 * @consumes application/json 1941 * @consumes application/json
1569 */ 1942 */
1570 export const postOrderErpAuditDoAudit = /* #__PURE__ */ (() => { 1943 export const postOrderErpAuditDoAudit = /* #__PURE__ */ (() => {
1571 - const method = 'post';  
1572 - const url = '/order/erp/audit/do_audit'; 1944 + const method = "post";
  1945 + const url = "/order/erp/audit/do_audit";
1573 function request( 1946 function request(
1574 - option: PostOrderErpAuditDoAuditOption, 1947 + option: PostOrderErpAuditDoAuditOption
1575 ): Promise<PostOrderErpAuditDoAuditResponseSuccess> { 1948 ): Promise<PostOrderErpAuditDoAuditResponseSuccess> {
1576 return requester(request.url, { 1949 return requester(request.url, {
1577 method: request.method, 1950 method: request.method,
@@ -1639,10 +2012,10 @@ export type PostOrderErpAuditListByPageResponseSuccess = @@ -1639,10 +2012,10 @@ export type PostOrderErpAuditListByPageResponseSuccess =
1639 * @consumes application/json 2012 * @consumes application/json
1640 */ 2013 */
1641 export const postOrderErpAuditListByPage = /* #__PURE__ */ (() => { 2014 export const postOrderErpAuditListByPage = /* #__PURE__ */ (() => {
1642 - const method = 'post';  
1643 - const url = '/order/erp/audit/list_by_page'; 2015 + const method = "post";
  2016 + const url = "/order/erp/audit/list_by_page";
1644 function request( 2017 function request(
1645 - option: PostOrderErpAuditListByPageOption, 2018 + option: PostOrderErpAuditListByPageOption
1646 ): Promise<PostOrderErpAuditListByPageResponseSuccess> { 2019 ): Promise<PostOrderErpAuditListByPageResponseSuccess> {
1647 return requester(request.url, { 2020 return requester(request.url, {
1648 method: request.method, 2021 method: request.method,
@@ -1710,10 +2083,10 @@ export type PostOrderErpAuditLogListByPageResponseSuccess = @@ -1710,10 +2083,10 @@ export type PostOrderErpAuditLogListByPageResponseSuccess =
1710 * @consumes application/json 2083 * @consumes application/json
1711 */ 2084 */
1712 export const postOrderErpAuditLogListByPage = /* #__PURE__ */ (() => { 2085 export const postOrderErpAuditLogListByPage = /* #__PURE__ */ (() => {
1713 - const method = 'post';  
1714 - const url = '/order/erp/audit/log/list_by_page'; 2086 + const method = "post";
  2087 + const url = "/order/erp/audit/log/list_by_page";
1715 function request( 2088 function request(
1716 - option: PostOrderErpAuditLogListByPageOption, 2089 + option: PostOrderErpAuditLogListByPageOption
1717 ): Promise<PostOrderErpAuditLogListByPageResponseSuccess> { 2090 ): Promise<PostOrderErpAuditLogListByPageResponseSuccess> {
1718 return requester(request.url, { 2091 return requester(request.url, {
1719 method: request.method, 2092 method: request.method,
@@ -1781,10 +2154,10 @@ export type PostOrderErpAuditLogQueryByIdResponseSuccess = @@ -1781,10 +2154,10 @@ export type PostOrderErpAuditLogQueryByIdResponseSuccess =
1781 * @consumes application/json 2154 * @consumes application/json
1782 */ 2155 */
1783 export const postOrderErpAuditLogQueryById = /* #__PURE__ */ (() => { 2156 export const postOrderErpAuditLogQueryById = /* #__PURE__ */ (() => {
1784 - const method = 'post';  
1785 - const url = '/order/erp/audit/log/query_by_id'; 2157 + const method = "post";
  2158 + const url = "/order/erp/audit/log/query_by_id";
1786 function request( 2159 function request(
1787 - option: PostOrderErpAuditLogQueryByIdOption, 2160 + option: PostOrderErpAuditLogQueryByIdOption
1788 ): Promise<PostOrderErpAuditLogQueryByIdResponseSuccess> { 2161 ): Promise<PostOrderErpAuditLogQueryByIdResponseSuccess> {
1789 return requester(request.url, { 2162 return requester(request.url, {
1790 method: request.method, 2163 method: request.method,
@@ -1852,10 +2225,10 @@ export type PostOrderErpAuditWaitAuditListResponseSuccess = @@ -1852,10 +2225,10 @@ export type PostOrderErpAuditWaitAuditListResponseSuccess =
1852 * @consumes application/json 2225 * @consumes application/json
1853 */ 2226 */
1854 export const postOrderErpAuditWaitAuditList = /* #__PURE__ */ (() => { 2227 export const postOrderErpAuditWaitAuditList = /* #__PURE__ */ (() => {
1855 - const method = 'post';  
1856 - const url = '/order/erp/audit/wait_audit_list'; 2228 + const method = "post";
  2229 + const url = "/order/erp/audit/wait_audit_list";
1857 function request( 2230 function request(
1858 - option: PostOrderErpAuditWaitAuditListOption, 2231 + option: PostOrderErpAuditWaitAuditListOption
1859 ): Promise<PostOrderErpAuditWaitAuditListResponseSuccess> { 2232 ): Promise<PostOrderErpAuditWaitAuditListResponseSuccess> {
1860 return requester(request.url, { 2233 return requester(request.url, {
1861 method: request.method, 2234 method: request.method,
@@ -1923,10 +2296,10 @@ export type PostOrderErpAuthLoginByPhoneResponseSuccess = @@ -1923,10 +2296,10 @@ export type PostOrderErpAuthLoginByPhoneResponseSuccess =
1923 * @consumes application/json 2296 * @consumes application/json
1924 */ 2297 */
1925 export const postOrderErpAuthLoginByPhone = /* #__PURE__ */ (() => { 2298 export const postOrderErpAuthLoginByPhone = /* #__PURE__ */ (() => {
1926 - const method = 'post';  
1927 - const url = '/order/erp/auth/login_by_phone'; 2299 + const method = "post";
  2300 + const url = "/order/erp/auth/login_by_phone";
1928 function request( 2301 function request(
1929 - option: PostOrderErpAuthLoginByPhoneOption, 2302 + option: PostOrderErpAuthLoginByPhoneOption
1930 ): Promise<PostOrderErpAuthLoginByPhoneResponseSuccess> { 2303 ): Promise<PostOrderErpAuthLoginByPhoneResponseSuccess> {
1931 return requester(request.url, { 2304 return requester(request.url, {
1932 method: request.method, 2305 method: request.method,
@@ -1994,10 +2367,10 @@ export type PostOrderErpAuthLoginByPwdResponseSuccess = @@ -1994,10 +2367,10 @@ export type PostOrderErpAuthLoginByPwdResponseSuccess =
1994 * @consumes application/json 2367 * @consumes application/json
1995 */ 2368 */
1996 export const postOrderErpAuthLoginByPwd = /* #__PURE__ */ (() => { 2369 export const postOrderErpAuthLoginByPwd = /* #__PURE__ */ (() => {
1997 - const method = 'post';  
1998 - const url = '/order/erp/auth/login_by_pwd'; 2370 + const method = "post";
  2371 + const url = "/order/erp/auth/login_by_pwd";
1999 function request( 2372 function request(
2000 - option: PostOrderErpAuthLoginByPwdOption, 2373 + option: PostOrderErpAuthLoginByPwdOption
2001 ): Promise<PostOrderErpAuthLoginByPwdResponseSuccess> { 2374 ): Promise<PostOrderErpAuthLoginByPwdResponseSuccess> {
2002 return requester(request.url, { 2375 return requester(request.url, {
2003 method: request.method, 2376 method: request.method,
@@ -2051,8 +2424,8 @@ export type PostOrderErpAuthLoginOutResponseSuccess = @@ -2051,8 +2424,8 @@ export type PostOrderErpAuthLoginOutResponseSuccess =
2051 * @consumes application/json 2424 * @consumes application/json
2052 */ 2425 */
2053 export const postOrderErpAuthLoginOut = /* #__PURE__ */ (() => { 2426 export const postOrderErpAuthLoginOut = /* #__PURE__ */ (() => {
2054 - const method = 'post';  
2055 - const url = '/order/erp/auth/login_out'; 2427 + const method = "post";
  2428 + const url = "/order/erp/auth/login_out";
2056 function request(): Promise<PostOrderErpAuthLoginOutResponseSuccess> { 2429 function request(): Promise<PostOrderErpAuthLoginOutResponseSuccess> {
2057 return requester(request.url, { 2430 return requester(request.url, {
2058 method: request.method, 2431 method: request.method,
@@ -2119,10 +2492,10 @@ export type PostOrderErpAuthPasswordModifyResponseSuccess = @@ -2119,10 +2492,10 @@ export type PostOrderErpAuthPasswordModifyResponseSuccess =
2119 * @consumes application/json 2492 * @consumes application/json
2120 */ 2493 */
2121 export const postOrderErpAuthPasswordModify = /* #__PURE__ */ (() => { 2494 export const postOrderErpAuthPasswordModify = /* #__PURE__ */ (() => {
2122 - const method = 'post';  
2123 - const url = '/order/erp/auth/password_modify'; 2495 + const method = "post";
  2496 + const url = "/order/erp/auth/password_modify";
2124 function request( 2497 function request(
2125 - option: PostOrderErpAuthPasswordModifyOption, 2498 + option: PostOrderErpAuthPasswordModifyOption
2126 ): Promise<PostOrderErpAuthPasswordModifyResponseSuccess> { 2499 ): Promise<PostOrderErpAuthPasswordModifyResponseSuccess> {
2127 return requester(request.url, { 2500 return requester(request.url, {
2128 method: request.method, 2501 method: request.method,
@@ -2190,10 +2563,10 @@ export type PostOrderErpAuthPhoneRegisterResponseSuccess = @@ -2190,10 +2563,10 @@ export type PostOrderErpAuthPhoneRegisterResponseSuccess =
2190 * @consumes application/json 2563 * @consumes application/json
2191 */ 2564 */
2192 export const postOrderErpAuthPhoneRegister = /* #__PURE__ */ (() => { 2565 export const postOrderErpAuthPhoneRegister = /* #__PURE__ */ (() => {
2193 - const method = 'post';  
2194 - const url = '/order/erp/auth/phone_register'; 2566 + const method = "post";
  2567 + const url = "/order/erp/auth/phone_register";
2195 function request( 2568 function request(
2196 - option: PostOrderErpAuthPhoneRegisterOption, 2569 + option: PostOrderErpAuthPhoneRegisterOption
2197 ): Promise<PostOrderErpAuthPhoneRegisterResponseSuccess> { 2570 ): Promise<PostOrderErpAuthPhoneRegisterResponseSuccess> {
2198 return requester(request.url, { 2571 return requester(request.url, {
2199 method: request.method, 2572 method: request.method,
@@ -2261,10 +2634,10 @@ export type PostOrderErpAuthSendPasswordRecoverMailResponseSuccess = @@ -2261,10 +2634,10 @@ export type PostOrderErpAuthSendPasswordRecoverMailResponseSuccess =
2261 * @consumes application/json 2634 * @consumes application/json
2262 */ 2635 */
2263 export const postOrderErpAuthSendPasswordRecoverMail = /* #__PURE__ */ (() => { 2636 export const postOrderErpAuthSendPasswordRecoverMail = /* #__PURE__ */ (() => {
2264 - const method = 'post';  
2265 - const url = '/order/erp/auth/send_password_recover_mail'; 2637 + const method = "post";
  2638 + const url = "/order/erp/auth/send_password_recover_mail";
2266 function request( 2639 function request(
2267 - option: PostOrderErpAuthSendPasswordRecoverMailOption, 2640 + option: PostOrderErpAuthSendPasswordRecoverMailOption
2268 ): Promise<PostOrderErpAuthSendPasswordRecoverMailResponseSuccess> { 2641 ): Promise<PostOrderErpAuthSendPasswordRecoverMailResponseSuccess> {
2269 return requester(request.url, { 2642 return requester(request.url, {
2270 method: request.method, 2643 method: request.method,
@@ -2332,10 +2705,10 @@ export type PostOrderErpAuthTokenResponseSuccess = @@ -2332,10 +2705,10 @@ export type PostOrderErpAuthTokenResponseSuccess =
2332 * @consumes application/json 2705 * @consumes application/json
2333 */ 2706 */
2334 export const postOrderErpAuthToken = /* #__PURE__ */ (() => { 2707 export const postOrderErpAuthToken = /* #__PURE__ */ (() => {
2335 - const method = 'post';  
2336 - const url = '/order/erp/auth/token'; 2708 + const method = "post";
  2709 + const url = "/order/erp/auth/token";
2337 function request( 2710 function request(
2338 - option: PostOrderErpAuthTokenOption, 2711 + option: PostOrderErpAuthTokenOption
2339 ): Promise<PostOrderErpAuthTokenResponseSuccess> { 2712 ): Promise<PostOrderErpAuthTokenResponseSuccess> {
2340 return requester(request.url, { 2713 return requester(request.url, {
2341 method: request.method, 2714 method: request.method,
@@ -2389,8 +2762,8 @@ export type PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess = @@ -2389,8 +2762,8 @@ export type PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess =
2389 * @consumes application/json 2762 * @consumes application/json
2390 */ 2763 */
2391 export const postOrderErpCaptchaGetImgCaptchaCode = /* #__PURE__ */ (() => { 2764 export const postOrderErpCaptchaGetImgCaptchaCode = /* #__PURE__ */ (() => {
2392 - const method = 'post';  
2393 - const url = '/order/erp/captcha/get_img_captcha_code'; 2765 + const method = "post";
  2766 + const url = "/order/erp/captcha/get_img_captcha_code";
2394 function request(): Promise<PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess> { 2767 function request(): Promise<PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess> {
2395 return requester(request.url, { 2768 return requester(request.url, {
2396 method: request.method, 2769 method: request.method,
@@ -2457,10 +2830,10 @@ export type PostOrderErpCaptchaSendCaptchaCodeResponseSuccess = @@ -2457,10 +2830,10 @@ export type PostOrderErpCaptchaSendCaptchaCodeResponseSuccess =
2457 * @consumes application/json 2830 * @consumes application/json
2458 */ 2831 */
2459 export const postOrderErpCaptchaSendCaptchaCode = /* #__PURE__ */ (() => { 2832 export const postOrderErpCaptchaSendCaptchaCode = /* #__PURE__ */ (() => {
2460 - const method = 'post';  
2461 - const url = '/order/erp/captcha/send_captcha_code'; 2833 + const method = "post";
  2834 + const url = "/order/erp/captcha/send_captcha_code";
2462 function request( 2835 function request(
2463 - option: PostOrderErpCaptchaSendCaptchaCodeOption, 2836 + option: PostOrderErpCaptchaSendCaptchaCodeOption
2464 ): Promise<PostOrderErpCaptchaSendCaptchaCodeResponseSuccess> { 2837 ): Promise<PostOrderErpCaptchaSendCaptchaCodeResponseSuccess> {
2465 return requester(request.url, { 2838 return requester(request.url, {
2466 method: request.method, 2839 method: request.method,
@@ -2527,10 +2900,10 @@ export type PutOrderErpDeptsResponseSuccess = PutOrderErpDeptsResponse[200]; @@ -2527,10 +2900,10 @@ export type PutOrderErpDeptsResponseSuccess = PutOrderErpDeptsResponse[200];
2527 * @consumes application/json 2900 * @consumes application/json
2528 */ 2901 */
2529 export const putOrderErpDepts = /* #__PURE__ */ (() => { 2902 export const putOrderErpDepts = /* #__PURE__ */ (() => {
2530 - const method = 'put';  
2531 - const url = '/order/erp/depts'; 2903 + const method = "put";
  2904 + const url = "/order/erp/depts";
2532 function request( 2905 function request(
2533 - option: PutOrderErpDeptsOption, 2906 + option: PutOrderErpDeptsOption
2534 ): Promise<PutOrderErpDeptsResponseSuccess> { 2907 ): Promise<PutOrderErpDeptsResponseSuccess> {
2535 return requester(request.url, { 2908 return requester(request.url, {
2536 method: request.method, 2909 method: request.method,
@@ -2592,10 +2965,10 @@ export type DeleteOrderErpDeptsResponseSuccess = @@ -2592,10 +2965,10 @@ export type DeleteOrderErpDeptsResponseSuccess =
2592 * @produces * 2965 * @produces *
2593 */ 2966 */
2594 export const deleteOrderErpDepts = /* #__PURE__ */ (() => { 2967 export const deleteOrderErpDepts = /* #__PURE__ */ (() => {
2595 - const method = 'delete';  
2596 - const url = '/order/erp/depts'; 2968 + const method = "delete";
  2969 + const url = "/order/erp/depts";
2597 function request( 2970 function request(
2598 - option: DeleteOrderErpDeptsOption, 2971 + option: DeleteOrderErpDeptsOption
2599 ): Promise<DeleteOrderErpDeptsResponseSuccess> { 2972 ): Promise<DeleteOrderErpDeptsResponseSuccess> {
2600 return requester(request.url, { 2973 return requester(request.url, {
2601 method: request.method, 2974 method: request.method,
@@ -2663,10 +3036,10 @@ export type PostOrderErpDeptsAddResponseSuccess = @@ -2663,10 +3036,10 @@ export type PostOrderErpDeptsAddResponseSuccess =
2663 * @consumes application/json 3036 * @consumes application/json
2664 */ 3037 */
2665 export const postOrderErpDeptsAdd = /* #__PURE__ */ (() => { 3038 export const postOrderErpDeptsAdd = /* #__PURE__ */ (() => {
2666 - const method = 'post';  
2667 - const url = '/order/erp/depts/add'; 3039 + const method = "post";
  3040 + const url = "/order/erp/depts/add";
2668 function request( 3041 function request(
2669 - option: PostOrderErpDeptsAddOption, 3042 + option: PostOrderErpDeptsAddOption
2670 ): Promise<PostOrderErpDeptsAddResponseSuccess> { 3043 ): Promise<PostOrderErpDeptsAddResponseSuccess> {
2671 return requester(request.url, { 3044 return requester(request.url, {
2672 method: request.method, 3045 method: request.method,
@@ -2734,10 +3107,10 @@ export type PostOrderErpDeptsListByPageResponseSuccess = @@ -2734,10 +3107,10 @@ export type PostOrderErpDeptsListByPageResponseSuccess =
2734 * @consumes application/json 3107 * @consumes application/json
2735 */ 3108 */
2736 export const postOrderErpDeptsListByPage = /* #__PURE__ */ (() => { 3109 export const postOrderErpDeptsListByPage = /* #__PURE__ */ (() => {
2737 - const method = 'post';  
2738 - const url = '/order/erp/depts/list_by_page'; 3110 + const method = "post";
  3111 + const url = "/order/erp/depts/list_by_page";
2739 function request( 3112 function request(
2740 - option: PostOrderErpDeptsListByPageOption, 3113 + option: PostOrderErpDeptsListByPageOption
2741 ): Promise<PostOrderErpDeptsListByPageResponseSuccess> { 3114 ): Promise<PostOrderErpDeptsListByPageResponseSuccess> {
2742 return requester(request.url, { 3115 return requester(request.url, {
2743 method: request.method, 3116 method: request.method,
@@ -2805,10 +3178,10 @@ export type PostOrderErpDictionaryAddResponseSuccess = @@ -2805,10 +3178,10 @@ export type PostOrderErpDictionaryAddResponseSuccess =
2805 * @consumes application/json 3178 * @consumes application/json
2806 */ 3179 */
2807 export const postOrderErpDictionaryAdd = /* #__PURE__ */ (() => { 3180 export const postOrderErpDictionaryAdd = /* #__PURE__ */ (() => {
2808 - const method = 'post';  
2809 - const url = '/order/erp/dictionary/add'; 3181 + const method = "post";
  3182 + const url = "/order/erp/dictionary/add";
2810 function request( 3183 function request(
2811 - option: PostOrderErpDictionaryAddOption, 3184 + option: PostOrderErpDictionaryAddOption
2812 ): Promise<PostOrderErpDictionaryAddResponseSuccess> { 3185 ): Promise<PostOrderErpDictionaryAddResponseSuccess> {
2813 return requester(request.url, { 3186 return requester(request.url, {
2814 method: request.method, 3187 method: request.method,
@@ -2876,10 +3249,10 @@ export type PostOrderErpDictionaryDeleteResponseSuccess = @@ -2876,10 +3249,10 @@ export type PostOrderErpDictionaryDeleteResponseSuccess =
2876 * @consumes application/json 3249 * @consumes application/json
2877 */ 3250 */
2878 export const postOrderErpDictionaryDelete = /* #__PURE__ */ (() => { 3251 export const postOrderErpDictionaryDelete = /* #__PURE__ */ (() => {
2879 - const method = 'post';  
2880 - const url = '/order/erp/dictionary/delete'; 3252 + const method = "post";
  3253 + const url = "/order/erp/dictionary/delete";
2881 function request( 3254 function request(
2882 - option: PostOrderErpDictionaryDeleteOption, 3255 + option: PostOrderErpDictionaryDeleteOption
2883 ): Promise<PostOrderErpDictionaryDeleteResponseSuccess> { 3256 ): Promise<PostOrderErpDictionaryDeleteResponseSuccess> {
2884 return requester(request.url, { 3257 return requester(request.url, {
2885 method: request.method, 3258 method: request.method,
@@ -2947,10 +3320,10 @@ export type PostOrderErpDictionaryEditResponseSuccess = @@ -2947,10 +3320,10 @@ export type PostOrderErpDictionaryEditResponseSuccess =
2947 * @consumes application/json 3320 * @consumes application/json
2948 */ 3321 */
2949 export const postOrderErpDictionaryEdit = /* #__PURE__ */ (() => { 3322 export const postOrderErpDictionaryEdit = /* #__PURE__ */ (() => {
2950 - const method = 'post';  
2951 - const url = '/order/erp/dictionary/edit'; 3323 + const method = "post";
  3324 + const url = "/order/erp/dictionary/edit";
2952 function request( 3325 function request(
2953 - option: PostOrderErpDictionaryEditOption, 3326 + option: PostOrderErpDictionaryEditOption
2954 ): Promise<PostOrderErpDictionaryEditResponseSuccess> { 3327 ): Promise<PostOrderErpDictionaryEditResponseSuccess> {
2955 return requester(request.url, { 3328 return requester(request.url, {
2956 method: request.method, 3329 method: request.method,
@@ -3018,10 +3391,10 @@ export type PostOrderErpDictionaryGetAllResponseSuccess = @@ -3018,10 +3391,10 @@ export type PostOrderErpDictionaryGetAllResponseSuccess =
3018 * @consumes application/json 3391 * @consumes application/json
3019 */ 3392 */
3020 export const postOrderErpDictionaryGetAll = /* #__PURE__ */ (() => { 3393 export const postOrderErpDictionaryGetAll = /* #__PURE__ */ (() => {
3021 - const method = 'post';  
3022 - const url = '/order/erp/dictionary/get_all'; 3394 + const method = "post";
  3395 + const url = "/order/erp/dictionary/get_all";
3023 function request( 3396 function request(
3024 - option: PostOrderErpDictionaryGetAllOption, 3397 + option: PostOrderErpDictionaryGetAllOption
3025 ): Promise<PostOrderErpDictionaryGetAllResponseSuccess> { 3398 ): Promise<PostOrderErpDictionaryGetAllResponseSuccess> {
3026 return requester(request.url, { 3399 return requester(request.url, {
3027 method: request.method, 3400 method: request.method,
@@ -3089,10 +3462,10 @@ export type PostOrderErpDictionaryListByPageResponseSuccess = @@ -3089,10 +3462,10 @@ export type PostOrderErpDictionaryListByPageResponseSuccess =
3089 * @consumes application/json 3462 * @consumes application/json
3090 */ 3463 */
3091 export const postOrderErpDictionaryListByPage = /* #__PURE__ */ (() => { 3464 export const postOrderErpDictionaryListByPage = /* #__PURE__ */ (() => {
3092 - const method = 'post';  
3093 - const url = '/order/erp/dictionary/list_by_page'; 3465 + const method = "post";
  3466 + const url = "/order/erp/dictionary/list_by_page";
3094 function request( 3467 function request(
3095 - option: PostOrderErpDictionaryListByPageOption, 3468 + option: PostOrderErpDictionaryListByPageOption
3096 ): Promise<PostOrderErpDictionaryListByPageResponseSuccess> { 3469 ): Promise<PostOrderErpDictionaryListByPageResponseSuccess> {
3097 return requester(request.url, { 3470 return requester(request.url, {
3098 method: request.method, 3471 method: request.method,
@@ -3140,8 +3513,8 @@ export type GetOrderErpIndexChartDataResponseSuccess = @@ -3140,8 +3513,8 @@ export type GetOrderErpIndexChartDataResponseSuccess =
3140 * @produces * 3513 * @produces *
3141 */ 3514 */
3142 export const getOrderErpIndexChartData = /* #__PURE__ */ (() => { 3515 export const getOrderErpIndexChartData = /* #__PURE__ */ (() => {
3143 - const method = 'get';  
3144 - const url = '/order/erp/index/chartData'; 3516 + const method = "get";
  3517 + const url = "/order/erp/index/chartData";
3145 function request(): Promise<GetOrderErpIndexChartDataResponseSuccess> { 3518 function request(): Promise<GetOrderErpIndexChartDataResponseSuccess> {
3146 return requester(request.url, { 3519 return requester(request.url, {
3147 method: request.method, 3520 method: request.method,
@@ -3188,8 +3561,8 @@ export type GetOrderErpIndexDataResponseSuccess = @@ -3188,8 +3561,8 @@ export type GetOrderErpIndexDataResponseSuccess =
3188 * @produces * 3561 * @produces *
3189 */ 3562 */
3190 export const getOrderErpIndexData = /* #__PURE__ */ (() => { 3563 export const getOrderErpIndexData = /* #__PURE__ */ (() => {
3191 - const method = 'get';  
3192 - const url = '/order/erp/index/data'; 3564 + const method = "get";
  3565 + const url = "/order/erp/index/data";
3193 function request(): Promise<GetOrderErpIndexDataResponseSuccess> { 3566 function request(): Promise<GetOrderErpIndexDataResponseSuccess> {
3194 return requester(request.url, { 3567 return requester(request.url, {
3195 method: request.method, 3568 method: request.method,
@@ -3256,10 +3629,10 @@ export type PostOrderErpJobsAddResponseSuccess = @@ -3256,10 +3629,10 @@ export type PostOrderErpJobsAddResponseSuccess =
3256 * @consumes application/json 3629 * @consumes application/json
3257 */ 3630 */
3258 export const postOrderErpJobsAdd = /* #__PURE__ */ (() => { 3631 export const postOrderErpJobsAdd = /* #__PURE__ */ (() => {
3259 - const method = 'post';  
3260 - const url = '/order/erp/jobs/add'; 3632 + const method = "post";
  3633 + const url = "/order/erp/jobs/add";
3261 function request( 3634 function request(
3262 - option: PostOrderErpJobsAddOption, 3635 + option: PostOrderErpJobsAddOption
3263 ): Promise<PostOrderErpJobsAddResponseSuccess> { 3636 ): Promise<PostOrderErpJobsAddResponseSuccess> {
3264 return requester(request.url, { 3637 return requester(request.url, {
3265 method: request.method, 3638 method: request.method,
@@ -3327,10 +3700,10 @@ export type PostOrderErpJobsDeleteResponseSuccess = @@ -3327,10 +3700,10 @@ export type PostOrderErpJobsDeleteResponseSuccess =
3327 * @consumes application/json 3700 * @consumes application/json
3328 */ 3701 */
3329 export const postOrderErpJobsDelete = /* #__PURE__ */ (() => { 3702 export const postOrderErpJobsDelete = /* #__PURE__ */ (() => {
3330 - const method = 'post';  
3331 - const url = '/order/erp/jobs/delete'; 3703 + const method = "post";
  3704 + const url = "/order/erp/jobs/delete";
3332 function request( 3705 function request(
3333 - option: PostOrderErpJobsDeleteOption, 3706 + option: PostOrderErpJobsDeleteOption
3334 ): Promise<PostOrderErpJobsDeleteResponseSuccess> { 3707 ): Promise<PostOrderErpJobsDeleteResponseSuccess> {
3335 return requester(request.url, { 3708 return requester(request.url, {
3336 method: request.method, 3709 method: request.method,
@@ -3398,10 +3771,10 @@ export type PostOrderErpJobsEditResponseSuccess = @@ -3398,10 +3771,10 @@ export type PostOrderErpJobsEditResponseSuccess =
3398 * @consumes application/json 3771 * @consumes application/json
3399 */ 3772 */
3400 export const postOrderErpJobsEdit = /* #__PURE__ */ (() => { 3773 export const postOrderErpJobsEdit = /* #__PURE__ */ (() => {
3401 - const method = 'post';  
3402 - const url = '/order/erp/jobs/edit'; 3774 + const method = "post";
  3775 + const url = "/order/erp/jobs/edit";
3403 function request( 3776 function request(
3404 - option: PostOrderErpJobsEditOption, 3777 + option: PostOrderErpJobsEditOption
3405 ): Promise<PostOrderErpJobsEditResponseSuccess> { 3778 ): Promise<PostOrderErpJobsEditResponseSuccess> {
3406 return requester(request.url, { 3779 return requester(request.url, {
3407 method: request.method, 3780 method: request.method,
@@ -3469,10 +3842,10 @@ export type PostOrderErpJobsListByPageResponseSuccess = @@ -3469,10 +3842,10 @@ export type PostOrderErpJobsListByPageResponseSuccess =
3469 * @consumes application/json 3842 * @consumes application/json
3470 */ 3843 */
3471 export const postOrderErpJobsListByPage = /* #__PURE__ */ (() => { 3844 export const postOrderErpJobsListByPage = /* #__PURE__ */ (() => {
3472 - const method = 'post';  
3473 - const url = '/order/erp/jobs/list_by_page'; 3845 + const method = "post";
  3846 + const url = "/order/erp/jobs/list_by_page";
3474 function request( 3847 function request(
3475 - option: PostOrderErpJobsListByPageOption, 3848 + option: PostOrderErpJobsListByPageOption
3476 ): Promise<PostOrderErpJobsListByPageResponseSuccess> { 3849 ): Promise<PostOrderErpJobsListByPageResponseSuccess> {
3477 return requester(request.url, { 3850 return requester(request.url, {
3478 method: request.method, 3851 method: request.method,
@@ -3540,10 +3913,10 @@ export type PostOrderErpLogsListResponseSuccess = @@ -3540,10 +3913,10 @@ export type PostOrderErpLogsListResponseSuccess =
3540 * @consumes application/json 3913 * @consumes application/json
3541 */ 3914 */
3542 export const postOrderErpLogsList = /* #__PURE__ */ (() => { 3915 export const postOrderErpLogsList = /* #__PURE__ */ (() => {
3543 - const method = 'post';  
3544 - const url = '/order/erp/logs/list'; 3916 + const method = "post";
  3917 + const url = "/order/erp/logs/list";
3545 function request( 3918 function request(
3546 - option: PostOrderErpLogsListOption, 3919 + option: PostOrderErpLogsListOption
3547 ): Promise<PostOrderErpLogsListResponseSuccess> { 3920 ): Promise<PostOrderErpLogsListResponseSuccess> {
3548 return requester(request.url, { 3921 return requester(request.url, {
3549 method: request.method, 3922 method: request.method,
@@ -3611,10 +3984,10 @@ export type PostOrderErpMenusAddResponseSuccess = @@ -3611,10 +3984,10 @@ export type PostOrderErpMenusAddResponseSuccess =
3611 * @consumes application/json 3984 * @consumes application/json
3612 */ 3985 */
3613 export const postOrderErpMenusAdd = /* #__PURE__ */ (() => { 3986 export const postOrderErpMenusAdd = /* #__PURE__ */ (() => {
3614 - const method = 'post';  
3615 - const url = '/order/erp/menus/add'; 3987 + const method = "post";
  3988 + const url = "/order/erp/menus/add";
3616 function request( 3989 function request(
3617 - option: PostOrderErpMenusAddOption, 3990 + option: PostOrderErpMenusAddOption
3618 ): Promise<PostOrderErpMenusAddResponseSuccess> { 3991 ): Promise<PostOrderErpMenusAddResponseSuccess> {
3619 return requester(request.url, { 3992 return requester(request.url, {
3620 method: request.method, 3993 method: request.method,
@@ -3682,10 +4055,10 @@ export type PostOrderErpMenusAllResponseSuccess = @@ -3682,10 +4055,10 @@ export type PostOrderErpMenusAllResponseSuccess =
3682 * @consumes application/json 4055 * @consumes application/json
3683 */ 4056 */
3684 export const postOrderErpMenusAll = /* #__PURE__ */ (() => { 4057 export const postOrderErpMenusAll = /* #__PURE__ */ (() => {
3685 - const method = 'post';  
3686 - const url = '/order/erp/menus/all'; 4058 + const method = "post";
  4059 + const url = "/order/erp/menus/all";
3687 function request( 4060 function request(
3688 - option: PostOrderErpMenusAllOption, 4061 + option: PostOrderErpMenusAllOption
3689 ): Promise<PostOrderErpMenusAllResponseSuccess> { 4062 ): Promise<PostOrderErpMenusAllResponseSuccess> {
3690 return requester(request.url, { 4063 return requester(request.url, {
3691 method: request.method, 4064 method: request.method,
@@ -3739,8 +4112,8 @@ export type PostOrderErpMenusBuildResponseSuccess = @@ -3739,8 +4112,8 @@ export type PostOrderErpMenusBuildResponseSuccess =
3739 * @consumes application/json 4112 * @consumes application/json
3740 */ 4113 */
3741 export const postOrderErpMenusBuild = /* #__PURE__ */ (() => { 4114 export const postOrderErpMenusBuild = /* #__PURE__ */ (() => {
3742 - const method = 'post';  
3743 - const url = '/order/erp/menus/build'; 4115 + const method = "post";
  4116 + const url = "/order/erp/menus/build";
3744 function request(): Promise<PostOrderErpMenusBuildResponseSuccess> { 4117 function request(): Promise<PostOrderErpMenusBuildResponseSuccess> {
3745 return requester(request.url, { 4118 return requester(request.url, {
3746 method: request.method, 4119 method: request.method,
@@ -3807,10 +4180,10 @@ export type PostOrderErpMenusDeleteResponseSuccess = @@ -3807,10 +4180,10 @@ export type PostOrderErpMenusDeleteResponseSuccess =
3807 * @consumes application/json 4180 * @consumes application/json
3808 */ 4181 */
3809 export const postOrderErpMenusDelete = /* #__PURE__ */ (() => { 4182 export const postOrderErpMenusDelete = /* #__PURE__ */ (() => {
3810 - const method = 'post';  
3811 - const url = '/order/erp/menus/delete'; 4183 + const method = "post";
  4184 + const url = "/order/erp/menus/delete";
3812 function request( 4185 function request(
3813 - option: PostOrderErpMenusDeleteOption, 4186 + option: PostOrderErpMenusDeleteOption
3814 ): Promise<PostOrderErpMenusDeleteResponseSuccess> { 4187 ): Promise<PostOrderErpMenusDeleteResponseSuccess> {
3815 return requester(request.url, { 4188 return requester(request.url, {
3816 method: request.method, 4189 method: request.method,
@@ -3878,10 +4251,10 @@ export type PostOrderErpMenusEditResponseSuccess = @@ -3878,10 +4251,10 @@ export type PostOrderErpMenusEditResponseSuccess =
3878 * @consumes application/json 4251 * @consumes application/json
3879 */ 4252 */
3880 export const postOrderErpMenusEdit = /* #__PURE__ */ (() => { 4253 export const postOrderErpMenusEdit = /* #__PURE__ */ (() => {
3881 - const method = 'post';  
3882 - const url = '/order/erp/menus/edit'; 4254 + const method = "post";
  4255 + const url = "/order/erp/menus/edit";
3883 function request( 4256 function request(
3884 - option: PostOrderErpMenusEditOption, 4257 + option: PostOrderErpMenusEditOption
3885 ): Promise<PostOrderErpMenusEditResponseSuccess> { 4258 ): Promise<PostOrderErpMenusEditResponseSuccess> {
3886 return requester(request.url, { 4259 return requester(request.url, {
3887 method: request.method, 4260 method: request.method,
@@ -3935,8 +4308,8 @@ export type PostOrderErpMenusTreeResponseSuccess = @@ -3935,8 +4308,8 @@ export type PostOrderErpMenusTreeResponseSuccess =
3935 * @consumes application/json 4308 * @consumes application/json
3936 */ 4309 */
3937 export const postOrderErpMenusTree = /* #__PURE__ */ (() => { 4310 export const postOrderErpMenusTree = /* #__PURE__ */ (() => {
3938 - const method = 'post';  
3939 - const url = '/order/erp/menus/tree'; 4311 + const method = "post";
  4312 + const url = "/order/erp/menus/tree";
3940 function request(): Promise<PostOrderErpMenusTreeResponseSuccess> { 4313 function request(): Promise<PostOrderErpMenusTreeResponseSuccess> {
3941 return requester(request.url, { 4314 return requester(request.url, {
3942 method: request.method, 4315 method: request.method,
@@ -3989,8 +4362,8 @@ export type PostOrderErpMessageGetUnreadNumResponseSuccess = @@ -3989,8 +4362,8 @@ export type PostOrderErpMessageGetUnreadNumResponseSuccess =
3989 * @consumes application/json 4362 * @consumes application/json
3990 */ 4363 */
3991 export const postOrderErpMessageGetUnreadNum = /* #__PURE__ */ (() => { 4364 export const postOrderErpMessageGetUnreadNum = /* #__PURE__ */ (() => {
3992 - const method = 'post';  
3993 - const url = '/order/erp/message/getUnreadNum'; 4365 + const method = "post";
  4366 + const url = "/order/erp/message/getUnreadNum";
3994 function request(): Promise<PostOrderErpMessageGetUnreadNumResponseSuccess> { 4367 function request(): Promise<PostOrderErpMessageGetUnreadNumResponseSuccess> {
3995 return requester(request.url, { 4368 return requester(request.url, {
3996 method: request.method, 4369 method: request.method,
@@ -4057,10 +4430,10 @@ export type PostOrderErpMessageQueryMyMessageResponseSuccess = @@ -4057,10 +4430,10 @@ export type PostOrderErpMessageQueryMyMessageResponseSuccess =
4057 * @consumes application/json 4430 * @consumes application/json
4058 */ 4431 */
4059 export const postOrderErpMessageQueryMyMessage = /* #__PURE__ */ (() => { 4432 export const postOrderErpMessageQueryMyMessage = /* #__PURE__ */ (() => {
4060 - const method = 'post';  
4061 - const url = '/order/erp/message/queryMyMessage'; 4433 + const method = "post";
  4434 + const url = "/order/erp/message/queryMyMessage";
4062 function request( 4435 function request(
4063 - option: PostOrderErpMessageQueryMyMessageOption, 4436 + option: PostOrderErpMessageQueryMyMessageOption
4064 ): Promise<PostOrderErpMessageQueryMyMessageResponseSuccess> { 4437 ): Promise<PostOrderErpMessageQueryMyMessageResponseSuccess> {
4065 return requester(request.url, { 4438 return requester(request.url, {
4066 method: request.method, 4439 method: request.method,
@@ -4122,16 +4495,16 @@ export type PostOrderErpMessageReadResponseSuccess = @@ -4122,16 +4495,16 @@ export type PostOrderErpMessageReadResponseSuccess =
4122 PostOrderErpMessageReadResponse[200]; 4495 PostOrderErpMessageReadResponse[200];
4123 /** 4496 /**
4124 * @description 4497 * @description
4125 - * queryMyMessage 4498 + * read
4126 * @tags message-controller 4499 * @tags message-controller
4127 * @produces * 4500 * @produces *
4128 * @consumes application/json 4501 * @consumes application/json
4129 */ 4502 */
4130 export const postOrderErpMessageRead = /* #__PURE__ */ (() => { 4503 export const postOrderErpMessageRead = /* #__PURE__ */ (() => {
4131 - const method = 'post';  
4132 - const url = '/order/erp/message/read'; 4504 + const method = "post";
  4505 + const url = "/order/erp/message/read";
4133 function request( 4506 function request(
4134 - option: PostOrderErpMessageReadOption, 4507 + option: PostOrderErpMessageReadOption
4135 ): Promise<PostOrderErpMessageReadResponseSuccess> { 4508 ): Promise<PostOrderErpMessageReadResponseSuccess> {
4136 return requester(request.url, { 4509 return requester(request.url, {
4137 method: request.method, 4510 method: request.method,
@@ -4179,14 +4552,14 @@ export type PostOrderErpMessageReadAllResponseSuccess = @@ -4179,14 +4552,14 @@ export type PostOrderErpMessageReadAllResponseSuccess =
4179 PostOrderErpMessageReadAllResponse[200]; 4552 PostOrderErpMessageReadAllResponse[200];
4180 /** 4553 /**
4181 * @description 4554 * @description
4182 - * queryMyMessage 4555 + * readAll
4183 * @tags message-controller 4556 * @tags message-controller
4184 * @produces * 4557 * @produces *
4185 * @consumes application/json 4558 * @consumes application/json
4186 */ 4559 */
4187 export const postOrderErpMessageReadAll = /* #__PURE__ */ (() => { 4560 export const postOrderErpMessageReadAll = /* #__PURE__ */ (() => {
4188 - const method = 'post';  
4189 - const url = '/order/erp/message/readAll'; 4561 + const method = "post";
  4562 + const url = "/order/erp/message/readAll";
4190 function request(): Promise<PostOrderErpMessageReadAllResponseSuccess> { 4563 function request(): Promise<PostOrderErpMessageReadAllResponseSuccess> {
4191 return requester(request.url, { 4564 return requester(request.url, {
4192 method: request.method, 4565 method: request.method,
@@ -4253,10 +4626,10 @@ export type PostOrderErpOptLogListByPageResponseSuccess = @@ -4253,10 +4626,10 @@ export type PostOrderErpOptLogListByPageResponseSuccess =
4253 * @consumes application/json 4626 * @consumes application/json
4254 */ 4627 */
4255 export const postOrderErpOptLogListByPage = /* #__PURE__ */ (() => { 4628 export const postOrderErpOptLogListByPage = /* #__PURE__ */ (() => {
4256 - const method = 'post';  
4257 - const url = '/order/erp/opt/log/list_by_page'; 4629 + const method = "post";
  4630 + const url = "/order/erp/opt/log/list_by_page";
4258 function request( 4631 function request(
4259 - option: PostOrderErpOptLogListByPageOption, 4632 + option: PostOrderErpOptLogListByPageOption
4260 ): Promise<PostOrderErpOptLogListByPageResponseSuccess> { 4633 ): Promise<PostOrderErpOptLogListByPageResponseSuccess> {
4261 return requester(request.url, { 4634 return requester(request.url, {
4262 method: request.method, 4635 method: request.method,
@@ -4324,10 +4697,10 @@ export type PostOrderErpOrderAddResponseSuccess = @@ -4324,10 +4697,10 @@ export type PostOrderErpOrderAddResponseSuccess =
4324 * @consumes application/json 4697 * @consumes application/json
4325 */ 4698 */
4326 export const postOrderErpOrderAdd = /* #__PURE__ */ (() => { 4699 export const postOrderErpOrderAdd = /* #__PURE__ */ (() => {
4327 - const method = 'post';  
4328 - const url = '/order/erp/order/add'; 4700 + const method = "post";
  4701 + const url = "/order/erp/order/add";
4329 function request( 4702 function request(
4330 - option: PostOrderErpOrderAddOption, 4703 + option: PostOrderErpOrderAddOption
4331 ): Promise<PostOrderErpOrderAddResponseSuccess> { 4704 ): Promise<PostOrderErpOrderAddResponseSuccess> {
4332 return requester(request.url, { 4705 return requester(request.url, {
4333 method: request.method, 4706 method: request.method,
@@ -4395,10 +4768,10 @@ export type PostOrderErpOrderDeleteByIdResponseSuccess = @@ -4395,10 +4768,10 @@ export type PostOrderErpOrderDeleteByIdResponseSuccess =
4395 * @consumes application/json 4768 * @consumes application/json
4396 */ 4769 */
4397 export const postOrderErpOrderDeleteById = /* #__PURE__ */ (() => { 4770 export const postOrderErpOrderDeleteById = /* #__PURE__ */ (() => {
4398 - const method = 'post';  
4399 - const url = '/order/erp/order/delete_by_id'; 4771 + const method = "post";
  4772 + const url = "/order/erp/order/delete_by_id";
4400 function request( 4773 function request(
4401 - option: PostOrderErpOrderDeleteByIdOption, 4774 + option: PostOrderErpOrderDeleteByIdOption
4402 ): Promise<PostOrderErpOrderDeleteByIdResponseSuccess> { 4775 ): Promise<PostOrderErpOrderDeleteByIdResponseSuccess> {
4403 return requester(request.url, { 4776 return requester(request.url, {
4404 method: request.method, 4777 method: request.method,
@@ -4466,10 +4839,10 @@ export type PostOrderErpOrderEditResponseSuccess = @@ -4466,10 +4839,10 @@ export type PostOrderErpOrderEditResponseSuccess =
4466 * @consumes application/json 4839 * @consumes application/json
4467 */ 4840 */
4468 export const postOrderErpOrderEdit = /* #__PURE__ */ (() => { 4841 export const postOrderErpOrderEdit = /* #__PURE__ */ (() => {
4469 - const method = 'post';  
4470 - const url = '/order/erp/order/edit'; 4842 + const method = "post";
  4843 + const url = "/order/erp/order/edit";
4471 function request( 4844 function request(
4472 - option: PostOrderErpOrderEditOption, 4845 + option: PostOrderErpOrderEditOption
4473 ): Promise<PostOrderErpOrderEditResponseSuccess> { 4846 ): Promise<PostOrderErpOrderEditResponseSuccess> {
4474 return requester(request.url, { 4847 return requester(request.url, {
4475 method: request.method, 4848 method: request.method,
@@ -4537,10 +4910,10 @@ export type PostOrderErpOrderExportResponseSuccess = @@ -4537,10 +4910,10 @@ export type PostOrderErpOrderExportResponseSuccess =
4537 * @consumes application/json 4910 * @consumes application/json
4538 */ 4911 */
4539 export const postOrderErpOrderExport = /* #__PURE__ */ (() => { 4912 export const postOrderErpOrderExport = /* #__PURE__ */ (() => {
4540 - const method = 'post';  
4541 - const url = '/order/erp/order/export'; 4913 + const method = "post";
  4914 + const url = "/order/erp/order/export";
4542 function request( 4915 function request(
4543 - option: PostOrderErpOrderExportOption, 4916 + option: PostOrderErpOrderExportOption
4544 ): Promise<PostOrderErpOrderExportResponseSuccess> { 4917 ): Promise<PostOrderErpOrderExportResponseSuccess> {
4545 return requester(request.url, { 4918 return requester(request.url, {
4546 method: request.method, 4919 method: request.method,
@@ -4608,10 +4981,10 @@ export type PostOrderErpOrderFieldUnlockApplyResponseSuccess = @@ -4608,10 +4981,10 @@ export type PostOrderErpOrderFieldUnlockApplyResponseSuccess =
4608 * @consumes application/json 4981 * @consumes application/json
4609 */ 4982 */
4610 export const postOrderErpOrderFieldUnlockApply = /* #__PURE__ */ (() => { 4983 export const postOrderErpOrderFieldUnlockApply = /* #__PURE__ */ (() => {
4611 - const method = 'post';  
4612 - const url = '/order/erp/order/field_unlock_apply'; 4984 + const method = "post";
  4985 + const url = "/order/erp/order/field_unlock_apply";
4613 function request( 4986 function request(
4614 - option: PostOrderErpOrderFieldUnlockApplyOption, 4987 + option: PostOrderErpOrderFieldUnlockApplyOption
4615 ): Promise<PostOrderErpOrderFieldUnlockApplyResponseSuccess> { 4988 ): Promise<PostOrderErpOrderFieldUnlockApplyResponseSuccess> {
4616 return requester(request.url, { 4989 return requester(request.url, {
4617 method: request.method, 4990 method: request.method,
@@ -4679,10 +5052,10 @@ export type PostOrderErpOrderListByPageResponseSuccess = @@ -4679,10 +5052,10 @@ export type PostOrderErpOrderListByPageResponseSuccess =
4679 * @consumes application/json 5052 * @consumes application/json
4680 */ 5053 */
4681 export const postOrderErpOrderListByPage = /* #__PURE__ */ (() => { 5054 export const postOrderErpOrderListByPage = /* #__PURE__ */ (() => {
4682 - const method = 'post';  
4683 - const url = '/order/erp/order/list_by_page'; 5055 + const method = "post";
  5056 + const url = "/order/erp/order/list_by_page";
4684 function request( 5057 function request(
4685 - option: PostOrderErpOrderListByPageOption, 5058 + option: PostOrderErpOrderListByPageOption
4686 ): Promise<PostOrderErpOrderListByPageResponseSuccess> { 5059 ): Promise<PostOrderErpOrderListByPageResponseSuccess> {
4687 return requester(request.url, { 5060 return requester(request.url, {
4688 method: request.method, 5061 method: request.method,
@@ -4750,10 +5123,10 @@ export type PostOrderErpOrderQueryByIdResponseSuccess = @@ -4750,10 +5123,10 @@ export type PostOrderErpOrderQueryByIdResponseSuccess =
4750 * @consumes application/json 5123 * @consumes application/json
4751 */ 5124 */
4752 export const postOrderErpOrderQueryById = /* #__PURE__ */ (() => { 5125 export const postOrderErpOrderQueryById = /* #__PURE__ */ (() => {
4753 - const method = 'post';  
4754 - const url = '/order/erp/order/query_by_id'; 5126 + const method = "post";
  5127 + const url = "/order/erp/order/query_by_id";
4755 function request( 5128 function request(
4756 - option: PostOrderErpOrderQueryByIdOption, 5129 + option: PostOrderErpOrderQueryByIdOption
4757 ): Promise<PostOrderErpOrderQueryByIdResponseSuccess> { 5130 ): Promise<PostOrderErpOrderQueryByIdResponseSuccess> {
4758 return requester(request.url, { 5131 return requester(request.url, {
4759 method: request.method, 5132 method: request.method,
@@ -4821,10 +5194,10 @@ export type PostOrderErpProfitAnalysisResponseSuccess = @@ -4821,10 +5194,10 @@ export type PostOrderErpProfitAnalysisResponseSuccess =
4821 * @consumes application/json 5194 * @consumes application/json
4822 */ 5195 */
4823 export const postOrderErpProfitAnalysis = /* #__PURE__ */ (() => { 5196 export const postOrderErpProfitAnalysis = /* #__PURE__ */ (() => {
4824 - const method = 'post';  
4825 - const url = '/order/erp/profit/analysis'; 5197 + const method = "post";
  5198 + const url = "/order/erp/profit/analysis";
4826 function request( 5199 function request(
4827 - option: PostOrderErpProfitAnalysisOption, 5200 + option: PostOrderErpProfitAnalysisOption
4828 ): Promise<PostOrderErpProfitAnalysisResponseSuccess> { 5201 ): Promise<PostOrderErpProfitAnalysisResponseSuccess> {
4829 return requester(request.url, { 5202 return requester(request.url, {
4830 method: request.method, 5203 method: request.method,
@@ -4892,10 +5265,10 @@ export type PostOrderErpRolesAddResponseSuccess = @@ -4892,10 +5265,10 @@ export type PostOrderErpRolesAddResponseSuccess =
4892 * @consumes application/json 5265 * @consumes application/json
4893 */ 5266 */
4894 export const postOrderErpRolesAdd = /* #__PURE__ */ (() => { 5267 export const postOrderErpRolesAdd = /* #__PURE__ */ (() => {
4895 - const method = 'post';  
4896 - const url = '/order/erp/roles/add'; 5268 + const method = "post";
  5269 + const url = "/order/erp/roles/add";
4897 function request( 5270 function request(
4898 - option: PostOrderErpRolesAddOption, 5271 + option: PostOrderErpRolesAddOption
4899 ): Promise<PostOrderErpRolesAddResponseSuccess> { 5272 ): Promise<PostOrderErpRolesAddResponseSuccess> {
4900 return requester(request.url, { 5273 return requester(request.url, {
4901 method: request.method, 5274 method: request.method,
@@ -4963,10 +5336,10 @@ export type PostOrderErpRolesAllResponseSuccess = @@ -4963,10 +5336,10 @@ export type PostOrderErpRolesAllResponseSuccess =
4963 * @consumes application/json 5336 * @consumes application/json
4964 */ 5337 */
4965 export const postOrderErpRolesAll = /* #__PURE__ */ (() => { 5338 export const postOrderErpRolesAll = /* #__PURE__ */ (() => {
4966 - const method = 'post';  
4967 - const url = '/order/erp/roles/all'; 5339 + const method = "post";
  5340 + const url = "/order/erp/roles/all";
4968 function request( 5341 function request(
4969 - option: PostOrderErpRolesAllOption, 5342 + option: PostOrderErpRolesAllOption
4970 ): Promise<PostOrderErpRolesAllResponseSuccess> { 5343 ): Promise<PostOrderErpRolesAllResponseSuccess> {
4971 return requester(request.url, { 5344 return requester(request.url, {
4972 method: request.method, 5345 method: request.method,
@@ -5034,10 +5407,10 @@ export type PostOrderErpRolesAuthMenuResponseSuccess = @@ -5034,10 +5407,10 @@ export type PostOrderErpRolesAuthMenuResponseSuccess =
5034 * @consumes application/json 5407 * @consumes application/json
5035 */ 5408 */
5036 export const postOrderErpRolesAuthMenu = /* #__PURE__ */ (() => { 5409 export const postOrderErpRolesAuthMenu = /* #__PURE__ */ (() => {
5037 - const method = 'post';  
5038 - const url = '/order/erp/roles/auth_menu'; 5410 + const method = "post";
  5411 + const url = "/order/erp/roles/auth_menu";
5039 function request( 5412 function request(
5040 - option: PostOrderErpRolesAuthMenuOption, 5413 + option: PostOrderErpRolesAuthMenuOption
5041 ): Promise<PostOrderErpRolesAuthMenuResponseSuccess> { 5414 ): Promise<PostOrderErpRolesAuthMenuResponseSuccess> {
5042 return requester(request.url, { 5415 return requester(request.url, {
5043 method: request.method, 5416 method: request.method,
@@ -5105,10 +5478,10 @@ export type PostOrderErpRolesDeleteResponseSuccess = @@ -5105,10 +5478,10 @@ export type PostOrderErpRolesDeleteResponseSuccess =
5105 * @consumes application/json 5478 * @consumes application/json
5106 */ 5479 */
5107 export const postOrderErpRolesDelete = /* #__PURE__ */ (() => { 5480 export const postOrderErpRolesDelete = /* #__PURE__ */ (() => {
5108 - const method = 'post';  
5109 - const url = '/order/erp/roles/delete'; 5481 + const method = "post";
  5482 + const url = "/order/erp/roles/delete";
5110 function request( 5483 function request(
5111 - option: PostOrderErpRolesDeleteOption, 5484 + option: PostOrderErpRolesDeleteOption
5112 ): Promise<PostOrderErpRolesDeleteResponseSuccess> { 5485 ): Promise<PostOrderErpRolesDeleteResponseSuccess> {
5113 return requester(request.url, { 5486 return requester(request.url, {
5114 method: request.method, 5487 method: request.method,
@@ -5176,10 +5549,10 @@ export type PostOrderErpRolesDetailResponseSuccess = @@ -5176,10 +5549,10 @@ export type PostOrderErpRolesDetailResponseSuccess =
5176 * @consumes application/json 5549 * @consumes application/json
5177 */ 5550 */
5178 export const postOrderErpRolesDetail = /* #__PURE__ */ (() => { 5551 export const postOrderErpRolesDetail = /* #__PURE__ */ (() => {
5179 - const method = 'post';  
5180 - const url = '/order/erp/roles/detail'; 5552 + const method = "post";
  5553 + const url = "/order/erp/roles/detail";
5181 function request( 5554 function request(
5182 - option: PostOrderErpRolesDetailOption, 5555 + option: PostOrderErpRolesDetailOption
5183 ): Promise<PostOrderErpRolesDetailResponseSuccess> { 5556 ): Promise<PostOrderErpRolesDetailResponseSuccess> {
5184 return requester(request.url, { 5557 return requester(request.url, {
5185 method: request.method, 5558 method: request.method,
@@ -5247,10 +5620,10 @@ export type PostOrderErpRolesEditResponseSuccess = @@ -5247,10 +5620,10 @@ export type PostOrderErpRolesEditResponseSuccess =
5247 * @consumes application/json 5620 * @consumes application/json
5248 */ 5621 */
5249 export const postOrderErpRolesEdit = /* #__PURE__ */ (() => { 5622 export const postOrderErpRolesEdit = /* #__PURE__ */ (() => {
5250 - const method = 'post';  
5251 - const url = '/order/erp/roles/edit'; 5623 + const method = "post";
  5624 + const url = "/order/erp/roles/edit";
5252 function request( 5625 function request(
5253 - option: PostOrderErpRolesEditOption, 5626 + option: PostOrderErpRolesEditOption
5254 ): Promise<PostOrderErpRolesEditResponseSuccess> { 5627 ): Promise<PostOrderErpRolesEditResponseSuccess> {
5255 return requester(request.url, { 5628 return requester(request.url, {
5256 method: request.method, 5629 method: request.method,
@@ -5318,10 +5691,10 @@ export type PostOrderErpRolesListByPageResponseSuccess = @@ -5318,10 +5691,10 @@ export type PostOrderErpRolesListByPageResponseSuccess =
5318 * @consumes application/json 5691 * @consumes application/json
5319 */ 5692 */
5320 export const postOrderErpRolesListByPage = /* #__PURE__ */ (() => { 5693 export const postOrderErpRolesListByPage = /* #__PURE__ */ (() => {
5321 - const method = 'post';  
5322 - const url = '/order/erp/roles/list_by_page'; 5694 + const method = "post";
  5695 + const url = "/order/erp/roles/list_by_page";
5323 function request( 5696 function request(
5324 - option: PostOrderErpRolesListByPageOption, 5697 + option: PostOrderErpRolesListByPageOption
5325 ): Promise<PostOrderErpRolesListByPageResponseSuccess> { 5698 ): Promise<PostOrderErpRolesListByPageResponseSuccess> {
5326 return requester(request.url, { 5699 return requester(request.url, {
5327 method: request.method, 5700 method: request.method,
@@ -5389,10 +5762,10 @@ export type PostOrderErpUsersAddResponseSuccess = @@ -5389,10 +5762,10 @@ export type PostOrderErpUsersAddResponseSuccess =
5389 * @consumes application/json 5762 * @consumes application/json
5390 */ 5763 */
5391 export const postOrderErpUsersAdd = /* #__PURE__ */ (() => { 5764 export const postOrderErpUsersAdd = /* #__PURE__ */ (() => {
5392 - const method = 'post';  
5393 - const url = '/order/erp/users/add'; 5765 + const method = "post";
  5766 + const url = "/order/erp/users/add";
5394 function request( 5767 function request(
5395 - option: PostOrderErpUsersAddOption, 5768 + option: PostOrderErpUsersAddOption
5396 ): Promise<PostOrderErpUsersAddResponseSuccess> { 5769 ): Promise<PostOrderErpUsersAddResponseSuccess> {
5397 return requester(request.url, { 5770 return requester(request.url, {
5398 method: request.method, 5771 method: request.method,
@@ -5460,10 +5833,10 @@ export type PostOrderErpUsersAuthRoleResponseSuccess = @@ -5460,10 +5833,10 @@ export type PostOrderErpUsersAuthRoleResponseSuccess =
5460 * @consumes application/json 5833 * @consumes application/json
5461 */ 5834 */
5462 export const postOrderErpUsersAuthRole = /* #__PURE__ */ (() => { 5835 export const postOrderErpUsersAuthRole = /* #__PURE__ */ (() => {
5463 - const method = 'post';  
5464 - const url = '/order/erp/users/auth_role'; 5836 + const method = "post";
  5837 + const url = "/order/erp/users/auth_role";
5465 function request( 5838 function request(
5466 - option: PostOrderErpUsersAuthRoleOption, 5839 + option: PostOrderErpUsersAuthRoleOption
5467 ): Promise<PostOrderErpUsersAuthRoleResponseSuccess> { 5840 ): Promise<PostOrderErpUsersAuthRoleResponseSuccess> {
5468 return requester(request.url, { 5841 return requester(request.url, {
5469 method: request.method, 5842 method: request.method,
@@ -5531,10 +5904,10 @@ export type PostOrderErpUsersDeleteResponseSuccess = @@ -5531,10 +5904,10 @@ export type PostOrderErpUsersDeleteResponseSuccess =
5531 * @consumes application/json 5904 * @consumes application/json
5532 */ 5905 */
5533 export const postOrderErpUsersDelete = /* #__PURE__ */ (() => { 5906 export const postOrderErpUsersDelete = /* #__PURE__ */ (() => {
5534 - const method = 'post';  
5535 - const url = '/order/erp/users/delete'; 5907 + const method = "post";
  5908 + const url = "/order/erp/users/delete";
5536 function request( 5909 function request(
5537 - option: PostOrderErpUsersDeleteOption, 5910 + option: PostOrderErpUsersDeleteOption
5538 ): Promise<PostOrderErpUsersDeleteResponseSuccess> { 5911 ): Promise<PostOrderErpUsersDeleteResponseSuccess> {
5539 return requester(request.url, { 5912 return requester(request.url, {
5540 method: request.method, 5913 method: request.method,
@@ -5602,10 +5975,10 @@ export type PostOrderErpUsersEditResponseSuccess = @@ -5602,10 +5975,10 @@ export type PostOrderErpUsersEditResponseSuccess =
5602 * @consumes application/json 5975 * @consumes application/json
5603 */ 5976 */
5604 export const postOrderErpUsersEdit = /* #__PURE__ */ (() => { 5977 export const postOrderErpUsersEdit = /* #__PURE__ */ (() => {
5605 - const method = 'post';  
5606 - const url = '/order/erp/users/edit'; 5978 + const method = "post";
  5979 + const url = "/order/erp/users/edit";
5607 function request( 5980 function request(
5608 - option: PostOrderErpUsersEditOption, 5981 + option: PostOrderErpUsersEditOption
5609 ): Promise<PostOrderErpUsersEditResponseSuccess> { 5982 ): Promise<PostOrderErpUsersEditResponseSuccess> {
5610 return requester(request.url, { 5983 return requester(request.url, {
5611 method: request.method, 5984 method: request.method,
@@ -5673,10 +6046,10 @@ export type PostOrderErpUsersListByPageResponseSuccess = @@ -5673,10 +6046,10 @@ export type PostOrderErpUsersListByPageResponseSuccess =
5673 * @consumes application/json 6046 * @consumes application/json
5674 */ 6047 */
5675 export const postOrderErpUsersListByPage = /* #__PURE__ */ (() => { 6048 export const postOrderErpUsersListByPage = /* #__PURE__ */ (() => {
5676 - const method = 'post';  
5677 - const url = '/order/erp/users/list_by_page'; 6049 + const method = "post";
  6050 + const url = "/order/erp/users/list_by_page";
5678 function request( 6051 function request(
5679 - option: PostOrderErpUsersListByPageOption, 6052 + option: PostOrderErpUsersListByPageOption
5680 ): Promise<PostOrderErpUsersListByPageResponseSuccess> { 6053 ): Promise<PostOrderErpUsersListByPageResponseSuccess> {
5681 return requester(request.url, { 6054 return requester(request.url, {
5682 method: request.method, 6055 method: request.method,
@@ -5744,10 +6117,10 @@ export type PostOrderErpUsersResetResponseSuccess = @@ -5744,10 +6117,10 @@ export type PostOrderErpUsersResetResponseSuccess =
5744 * @consumes application/json 6117 * @consumes application/json
5745 */ 6118 */
5746 export const postOrderErpUsersReset = /* #__PURE__ */ (() => { 6119 export const postOrderErpUsersReset = /* #__PURE__ */ (() => {
5747 - const method = 'post';  
5748 - const url = '/order/erp/users/reset'; 6120 + const method = "post";
  6121 + const url = "/order/erp/users/reset";
5749 function request( 6122 function request(
5750 - option: PostOrderErpUsersResetOption, 6123 + option: PostOrderErpUsersResetOption
5751 ): Promise<PostOrderErpUsersResetResponseSuccess> { 6124 ): Promise<PostOrderErpUsersResetResponseSuccess> {
5752 return requester(request.url, { 6125 return requester(request.url, {
5753 method: request.method, 6126 method: request.method,
@@ -5815,10 +6188,10 @@ export type PostOrderErpUsersUpdatePassResponseSuccess = @@ -5815,10 +6188,10 @@ export type PostOrderErpUsersUpdatePassResponseSuccess =
5815 * @consumes application/json 6188 * @consumes application/json
5816 */ 6189 */
5817 export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => { 6190 export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => {
5818 - const method = 'post';  
5819 - const url = '/order/erp/users/update_pass'; 6191 + const method = "post";
  6192 + const url = "/order/erp/users/update_pass";
5820 function request( 6193 function request(
5821 - option: PostOrderErpUsersUpdatePassOption, 6194 + option: PostOrderErpUsersUpdatePassOption
5822 ): Promise<PostOrderErpUsersUpdatePassResponseSuccess> { 6195 ): Promise<PostOrderErpUsersUpdatePassResponseSuccess> {
5823 return requester(request.url, { 6196 return requester(request.url, {
5824 method: request.method, 6197 method: request.method,
@@ -5887,10 +6260,10 @@ export type PostServiceBankStatementDeleteBankStatementResponseSuccess = @@ -5887,10 +6260,10 @@ export type PostServiceBankStatementDeleteBankStatementResponseSuccess =
5887 */ 6260 */
5888 export const postServiceBankStatementDeleteBankStatement = 6261 export const postServiceBankStatementDeleteBankStatement =
5889 /* #__PURE__ */ (() => { 6262 /* #__PURE__ */ (() => {
5890 - const method = 'post';  
5891 - const url = '/service/bankStatement/deleteBankStatement'; 6263 + const method = "post";
  6264 + const url = "/service/bankStatement/deleteBankStatement";
5892 function request( 6265 function request(
5893 - option: PostServiceBankStatementDeleteBankStatementOption, 6266 + option: PostServiceBankStatementDeleteBankStatementOption
5894 ): Promise<PostServiceBankStatementDeleteBankStatementResponseSuccess> { 6267 ): Promise<PostServiceBankStatementDeleteBankStatementResponseSuccess> {
5895 return requester(request.url, { 6268 return requester(request.url, {
5896 method: request.method, 6269 method: request.method,
@@ -5959,10 +6332,10 @@ export type PostServiceBankStatementEditBankStatementResponseSuccess = @@ -5959,10 +6332,10 @@ export type PostServiceBankStatementEditBankStatementResponseSuccess =
5959 */ 6332 */
5960 export const postServiceBankStatementEditBankStatement = 6333 export const postServiceBankStatementEditBankStatement =
5961 /* #__PURE__ */ (() => { 6334 /* #__PURE__ */ (() => {
5962 - const method = 'post';  
5963 - const url = '/service/bankStatement/editBankStatement'; 6335 + const method = "post";
  6336 + const url = "/service/bankStatement/editBankStatement";
5964 function request( 6337 function request(
5965 - option: PostServiceBankStatementEditBankStatementOption, 6338 + option: PostServiceBankStatementEditBankStatementOption
5966 ): Promise<PostServiceBankStatementEditBankStatementResponseSuccess> { 6339 ): Promise<PostServiceBankStatementEditBankStatementResponseSuccess> {
5967 return requester(request.url, { 6340 return requester(request.url, {
5968 method: request.method, 6341 method: request.method,
@@ -6016,8 +6389,8 @@ export type PostServiceBankStatementExportTemplateResponseSuccess = @@ -6016,8 +6389,8 @@ export type PostServiceBankStatementExportTemplateResponseSuccess =
6016 * @consumes application/json 6389 * @consumes application/json
6017 */ 6390 */
6018 export const postServiceBankStatementExportTemplate = /* #__PURE__ */ (() => { 6391 export const postServiceBankStatementExportTemplate = /* #__PURE__ */ (() => {
6019 - const method = 'post';  
6020 - const url = '/service/bankStatement/exportTemplate'; 6392 + const method = "post";
  6393 + const url = "/service/bankStatement/exportTemplate";
6021 function request(): Promise<PostServiceBankStatementExportTemplateResponseSuccess> { 6394 function request(): Promise<PostServiceBankStatementExportTemplateResponseSuccess> {
6022 return requester(request.url, { 6395 return requester(request.url, {
6023 method: request.method, 6396 method: request.method,
@@ -6085,10 +6458,10 @@ export type PostServiceBankStatementImportBankStatementFormResponseSuccess = @@ -6085,10 +6458,10 @@ export type PostServiceBankStatementImportBankStatementFormResponseSuccess =
6085 */ 6458 */
6086 export const postServiceBankStatementImportBankStatementForm = 6459 export const postServiceBankStatementImportBankStatementForm =
6087 /* #__PURE__ */ (() => { 6460 /* #__PURE__ */ (() => {
6088 - const method = 'post';  
6089 - const url = '/service/bankStatement/importBankStatementForm'; 6461 + const method = "post";
  6462 + const url = "/service/bankStatement/importBankStatementForm";
6090 function request( 6463 function request(
6091 - option: PostServiceBankStatementImportBankStatementFormOption, 6464 + option: PostServiceBankStatementImportBankStatementFormOption
6092 ): Promise<PostServiceBankStatementImportBankStatementFormResponseSuccess> { 6465 ): Promise<PostServiceBankStatementImportBankStatementFormResponseSuccess> {
6093 return requester(request.url, { 6466 return requester(request.url, {
6094 method: request.method, 6467 method: request.method,
@@ -6157,10 +6530,10 @@ export type PostServiceBankStatementQueryBankStatementResponseSuccess = @@ -6157,10 +6530,10 @@ export type PostServiceBankStatementQueryBankStatementResponseSuccess =
6157 */ 6530 */
6158 export const postServiceBankStatementQueryBankStatement = 6531 export const postServiceBankStatementQueryBankStatement =
6159 /* #__PURE__ */ (() => { 6532 /* #__PURE__ */ (() => {
6160 - const method = 'post';  
6161 - const url = '/service/bankStatement/queryBankStatement'; 6533 + const method = "post";
  6534 + const url = "/service/bankStatement/queryBankStatement";
6162 function request( 6535 function request(
6163 - option: PostServiceBankStatementQueryBankStatementOption, 6536 + option: PostServiceBankStatementQueryBankStatementOption
6164 ): Promise<PostServiceBankStatementQueryBankStatementResponseSuccess> { 6537 ): Promise<PostServiceBankStatementQueryBankStatementResponseSuccess> {
6165 return requester(request.url, { 6538 return requester(request.url, {
6166 method: request.method, 6539 method: request.method,
@@ -6229,10 +6602,10 @@ export type PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess = @@ -6229,10 +6602,10 @@ export type PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess =
6229 */ 6602 */
6230 export const postServiceInvoiceCancelInvoiceAndBankStatement = 6603 export const postServiceInvoiceCancelInvoiceAndBankStatement =
6231 /* #__PURE__ */ (() => { 6604 /* #__PURE__ */ (() => {
6232 - const method = 'post';  
6233 - const url = '/service/invoice/cancelInvoiceAndBankStatement'; 6605 + const method = "post";
  6606 + const url = "/service/invoice/cancelInvoiceAndBankStatement";
6234 function request( 6607 function request(
6235 - option: PostServiceInvoiceCancelInvoiceAndBankStatementOption, 6608 + option: PostServiceInvoiceCancelInvoiceAndBankStatementOption
6236 ): Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess> { 6609 ): Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess> {
6237 return requester(request.url, { 6610 return requester(request.url, {
6238 method: request.method, 6611 method: request.method,
@@ -6300,10 +6673,10 @@ export type PostServiceInvoiceDeleteInvoiceResponseSuccess = @@ -6300,10 +6673,10 @@ export type PostServiceInvoiceDeleteInvoiceResponseSuccess =
6300 * @consumes application/json 6673 * @consumes application/json
6301 */ 6674 */
6302 export const postServiceInvoiceDeleteInvoice = /* #__PURE__ */ (() => { 6675 export const postServiceInvoiceDeleteInvoice = /* #__PURE__ */ (() => {
6303 - const method = 'post';  
6304 - const url = '/service/invoice/deleteInvoice'; 6676 + const method = "post";
  6677 + const url = "/service/invoice/deleteInvoice";
6305 function request( 6678 function request(
6306 - option: PostServiceInvoiceDeleteInvoiceOption, 6679 + option: PostServiceInvoiceDeleteInvoiceOption
6307 ): Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess> { 6680 ): Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess> {
6308 return requester(request.url, { 6681 return requester(request.url, {
6309 method: request.method, 6682 method: request.method,
@@ -6371,10 +6744,10 @@ export type PostServiceInvoiceInvoiceWriteOffResponseSuccess = @@ -6371,10 +6744,10 @@ export type PostServiceInvoiceInvoiceWriteOffResponseSuccess =
6371 * @consumes application/json 6744 * @consumes application/json
6372 */ 6745 */
6373 export const postServiceInvoiceInvoiceWriteOff = /* #__PURE__ */ (() => { 6746 export const postServiceInvoiceInvoiceWriteOff = /* #__PURE__ */ (() => {
6374 - const method = 'post';  
6375 - const url = '/service/invoice/invoiceWriteOff'; 6747 + const method = "post";
  6748 + const url = "/service/invoice/invoiceWriteOff";
6376 function request( 6749 function request(
6377 - option: PostServiceInvoiceInvoiceWriteOffOption, 6750 + option: PostServiceInvoiceInvoiceWriteOffOption
6378 ): Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess> { 6751 ): Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess> {
6379 return requester(request.url, { 6752 return requester(request.url, {
6380 method: request.method, 6753 method: request.method,
@@ -6442,10 +6815,10 @@ export type PostServiceInvoiceQueryInvoiceResponseSuccess = @@ -6442,10 +6815,10 @@ export type PostServiceInvoiceQueryInvoiceResponseSuccess =
6442 * @consumes application/json 6815 * @consumes application/json
6443 */ 6816 */
6444 export const postServiceInvoiceQueryInvoice = /* #__PURE__ */ (() => { 6817 export const postServiceInvoiceQueryInvoice = /* #__PURE__ */ (() => {
6445 - const method = 'post';  
6446 - const url = '/service/invoice/queryInvoice'; 6818 + const method = "post";
  6819 + const url = "/service/invoice/queryInvoice";
6447 function request( 6820 function request(
6448 - option: PostServiceInvoiceQueryInvoiceOption, 6821 + option: PostServiceInvoiceQueryInvoiceOption
6449 ): Promise<PostServiceInvoiceQueryInvoiceResponseSuccess> { 6822 ): Promise<PostServiceInvoiceQueryInvoiceResponseSuccess> {
6450 return requester(request.url, { 6823 return requester(request.url, {
6451 method: request.method, 6824 method: request.method,
@@ -6513,10 +6886,10 @@ export type PostServiceInvoiceQueryInvoiceDetailResponseSuccess = @@ -6513,10 +6886,10 @@ export type PostServiceInvoiceQueryInvoiceDetailResponseSuccess =
6513 * @consumes application/json 6886 * @consumes application/json
6514 */ 6887 */
6515 export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { 6888 export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => {
6516 - const method = 'post';  
6517 - const url = '/service/invoice/queryInvoiceDetail'; 6889 + const method = "post";
  6890 + const url = "/service/invoice/queryInvoiceDetail";
6518 function request( 6891 function request(
6519 - option: PostServiceInvoiceQueryInvoiceDetailOption, 6892 + option: PostServiceInvoiceQueryInvoiceDetailOption
6520 ): Promise<PostServiceInvoiceQueryInvoiceDetailResponseSuccess> { 6893 ): Promise<PostServiceInvoiceQueryInvoiceDetailResponseSuccess> {
6521 return requester(request.url, { 6894 return requester(request.url, {
6522 method: request.method, 6895 method: request.method,
@@ -6584,10 +6957,10 @@ export type PostServiceOrderAddOrderResponseSuccess = @@ -6584,10 +6957,10 @@ export type PostServiceOrderAddOrderResponseSuccess =
6584 * @consumes application/json 6957 * @consumes application/json
6585 */ 6958 */
6586 export const postServiceOrderAddOrder = /* #__PURE__ */ (() => { 6959 export const postServiceOrderAddOrder = /* #__PURE__ */ (() => {
6587 - const method = 'post';  
6588 - const url = '/service/order/addOrder'; 6960 + const method = "post";
  6961 + const url = "/service/order/addOrder";
6589 function request( 6962 function request(
6590 - option: PostServiceOrderAddOrderOption, 6963 + option: PostServiceOrderAddOrderOption
6591 ): Promise<PostServiceOrderAddOrderResponseSuccess> { 6964 ): Promise<PostServiceOrderAddOrderResponseSuccess> {
6592 return requester(request.url, { 6965 return requester(request.url, {
6593 method: request.method, 6966 method: request.method,
@@ -6655,10 +7028,10 @@ export type PostServiceOrderAfterSalesCheckResponseSuccess = @@ -6655,10 +7028,10 @@ export type PostServiceOrderAfterSalesCheckResponseSuccess =
6655 * @consumes application/json 7028 * @consumes application/json
6656 */ 7029 */
6657 export const postServiceOrderAfterSalesCheck = /* #__PURE__ */ (() => { 7030 export const postServiceOrderAfterSalesCheck = /* #__PURE__ */ (() => {
6658 - const method = 'post';  
6659 - const url = '/service/order/afterSalesCheck'; 7031 + const method = "post";
  7032 + const url = "/service/order/afterSalesCheck";
6660 function request( 7033 function request(
6661 - option: PostServiceOrderAfterSalesCheckOption, 7034 + option: PostServiceOrderAfterSalesCheckOption
6662 ): Promise<PostServiceOrderAfterSalesCheckResponseSuccess> { 7035 ): Promise<PostServiceOrderAfterSalesCheckResponseSuccess> {
6663 return requester(request.url, { 7036 return requester(request.url, {
6664 method: request.method, 7037 method: request.method,
@@ -6727,10 +7100,10 @@ export type PostServiceOrderAfterSalesQuerySnapshotOrderResponseSuccess = @@ -6727,10 +7100,10 @@ export type PostServiceOrderAfterSalesQuerySnapshotOrderResponseSuccess =
6727 */ 7100 */
6728 export const postServiceOrderAfterSalesQuerySnapshotOrder = 7101 export const postServiceOrderAfterSalesQuerySnapshotOrder =
6729 /* #__PURE__ */ (() => { 7102 /* #__PURE__ */ (() => {
6730 - const method = 'post';  
6731 - const url = '/service/order/afterSalesQuerySnapshotOrder'; 7103 + const method = "post";
  7104 + const url = "/service/order/afterSalesQuerySnapshotOrder";
6732 function request( 7105 function request(
6733 - option: PostServiceOrderAfterSalesQuerySnapshotOrderOption, 7106 + option: PostServiceOrderAfterSalesQuerySnapshotOrderOption
6734 ): Promise<PostServiceOrderAfterSalesQuerySnapshotOrderResponseSuccess> { 7107 ): Promise<PostServiceOrderAfterSalesQuerySnapshotOrderResponseSuccess> {
6735 return requester(request.url, { 7108 return requester(request.url, {
6736 method: request.method, 7109 method: request.method,
@@ -6792,16 +7165,16 @@ export type PostServiceOrderApplyAfterSalesResponseSuccess = @@ -6792,16 +7165,16 @@ export type PostServiceOrderApplyAfterSalesResponseSuccess =
6792 PostServiceOrderApplyAfterSalesResponse[200]; 7165 PostServiceOrderApplyAfterSalesResponse[200];
6793 /** 7166 /**
6794 * @description 7167 * @description
6795 - * 申请修改订单 7168 + * 申请售后
6796 * @tags 内部订单 7169 * @tags 内部订单
6797 * @produces * 7170 * @produces *
6798 * @consumes application/json 7171 * @consumes application/json
6799 */ 7172 */
6800 export const postServiceOrderApplyAfterSales = /* #__PURE__ */ (() => { 7173 export const postServiceOrderApplyAfterSales = /* #__PURE__ */ (() => {
6801 - const method = 'post';  
6802 - const url = '/service/order/applyAfterSales'; 7174 + const method = "post";
  7175 + const url = "/service/order/applyAfterSales";
6803 function request( 7176 function request(
6804 - option: PostServiceOrderApplyAfterSalesOption, 7177 + option: PostServiceOrderApplyAfterSalesOption
6805 ): Promise<PostServiceOrderApplyAfterSalesResponseSuccess> { 7178 ): Promise<PostServiceOrderApplyAfterSalesResponseSuccess> {
6806 return requester(request.url, { 7179 return requester(request.url, {
6807 method: request.method, 7180 method: request.method,
@@ -6869,10 +7242,10 @@ export type PostServiceOrderApplyInvoicingResponseSuccess = @@ -6869,10 +7242,10 @@ export type PostServiceOrderApplyInvoicingResponseSuccess =
6869 * @consumes application/json 7242 * @consumes application/json
6870 */ 7243 */
6871 export const postServiceOrderApplyInvoicing = /* #__PURE__ */ (() => { 7244 export const postServiceOrderApplyInvoicing = /* #__PURE__ */ (() => {
6872 - const method = 'post';  
6873 - const url = '/service/order/applyInvoicing'; 7245 + const method = "post";
  7246 + const url = "/service/order/applyInvoicing";
6874 function request( 7247 function request(
6875 - option: PostServiceOrderApplyInvoicingOption, 7248 + option: PostServiceOrderApplyInvoicingOption
6876 ): Promise<PostServiceOrderApplyInvoicingResponseSuccess> { 7249 ): Promise<PostServiceOrderApplyInvoicingResponseSuccess> {
6877 return requester(request.url, { 7250 return requester(request.url, {
6878 method: request.method, 7251 method: request.method,
@@ -6940,10 +7313,10 @@ export type PostServiceOrderApplyModifyResponseSuccess = @@ -6940,10 +7313,10 @@ export type PostServiceOrderApplyModifyResponseSuccess =
6940 * @consumes application/json 7313 * @consumes application/json
6941 */ 7314 */
6942 export const postServiceOrderApplyModify = /* #__PURE__ */ (() => { 7315 export const postServiceOrderApplyModify = /* #__PURE__ */ (() => {
6943 - const method = 'post';  
6944 - const url = '/service/order/applyModify'; 7316 + const method = "post";
  7317 + const url = "/service/order/applyModify";
6945 function request( 7318 function request(
6946 - option: PostServiceOrderApplyModifyOption, 7319 + option: PostServiceOrderApplyModifyOption
6947 ): Promise<PostServiceOrderApplyModifyResponseSuccess> { 7320 ): Promise<PostServiceOrderApplyModifyResponseSuccess> {
6948 return requester(request.url, { 7321 return requester(request.url, {
6949 method: request.method, 7322 method: request.method,
@@ -7011,10 +7384,10 @@ export type PostServiceOrderAuditResponseSuccess = @@ -7011,10 +7384,10 @@ export type PostServiceOrderAuditResponseSuccess =
7011 * @consumes application/json 7384 * @consumes application/json
7012 */ 7385 */
7013 export const postServiceOrderAudit = /* #__PURE__ */ (() => { 7386 export const postServiceOrderAudit = /* #__PURE__ */ (() => {
7014 - const method = 'post';  
7015 - const url = '/service/order/audit'; 7387 + const method = "post";
  7388 + const url = "/service/order/audit";
7016 function request( 7389 function request(
7017 - option: PostServiceOrderAuditOption, 7390 + option: PostServiceOrderAuditOption
7018 ): Promise<PostServiceOrderAuditResponseSuccess> { 7391 ): Promise<PostServiceOrderAuditResponseSuccess> {
7019 return requester(request.url, { 7392 return requester(request.url, {
7020 method: request.method, 7393 method: request.method,
@@ -7029,6 +7402,77 @@ export const postServiceOrderAudit = /* #__PURE__ */ (() =&gt; { @@ -7029,6 +7402,77 @@ export const postServiceOrderAudit = /* #__PURE__ */ (() =&gt; {
7029 return request; 7402 return request;
7030 })(); 7403 })();
7031 7404
  7405 +/** @description request parameter type for postServiceOrderAuditPaymentReceipt */
  7406 +export interface PostServiceOrderAuditPaymentReceiptOption {
  7407 + /**
  7408 + * @description
  7409 + * ids
  7410 + */
  7411 + body: {
  7412 + /**
  7413 + @description
  7414 + ids */
  7415 + ids: Array<number>;
  7416 + };
  7417 +}
  7418 +
  7419 +/** @description response type for postServiceOrderAuditPaymentReceipt */
  7420 +export interface PostServiceOrderAuditPaymentReceiptResponse {
  7421 + /**
  7422 + * @description
  7423 + * OK
  7424 + */
  7425 + 200: ServerResult;
  7426 + /**
  7427 + * @description
  7428 + * Created
  7429 + */
  7430 + 201: any;
  7431 + /**
  7432 + * @description
  7433 + * Unauthorized
  7434 + */
  7435 + 401: any;
  7436 + /**
  7437 + * @description
  7438 + * Forbidden
  7439 + */
  7440 + 403: any;
  7441 + /**
  7442 + * @description
  7443 + * Not Found
  7444 + */
  7445 + 404: any;
  7446 +}
  7447 +
  7448 +export type PostServiceOrderAuditPaymentReceiptResponseSuccess =
  7449 + PostServiceOrderAuditPaymentReceiptResponse[200];
  7450 +/**
  7451 + * @description
  7452 + * 财务审核回款状况
  7453 + * @tags 内部订单
  7454 + * @produces *
  7455 + * @consumes application/json
  7456 + */
  7457 +export const postServiceOrderAuditPaymentReceipt = /* #__PURE__ */ (() => {
  7458 + const method = "post";
  7459 + const url = "/service/order/auditPaymentReceipt";
  7460 + function request(
  7461 + option: PostServiceOrderAuditPaymentReceiptOption
  7462 + ): Promise<PostServiceOrderAuditPaymentReceiptResponseSuccess> {
  7463 + return requester(request.url, {
  7464 + method: request.method,
  7465 + ...option,
  7466 + }) as unknown as Promise<PostServiceOrderAuditPaymentReceiptResponseSuccess>;
  7467 + }
  7468 +
  7469 + /** http method */
  7470 + request.method = method;
  7471 + /** request url */
  7472 + request.url = url;
  7473 + return request;
  7474 +})();
  7475 +
7032 /** @description request parameter type for postServiceOrderCancelSend */ 7476 /** @description request parameter type for postServiceOrderCancelSend */
7033 export interface PostServiceOrderCancelSendOption { 7477 export interface PostServiceOrderCancelSendOption {
7034 /** 7478 /**
@@ -7082,10 +7526,10 @@ export type PostServiceOrderCancelSendResponseSuccess = @@ -7082,10 +7526,10 @@ export type PostServiceOrderCancelSendResponseSuccess =
7082 * @consumes application/json 7526 * @consumes application/json
7083 */ 7527 */
7084 export const postServiceOrderCancelSend = /* #__PURE__ */ (() => { 7528 export const postServiceOrderCancelSend = /* #__PURE__ */ (() => {
7085 - const method = 'post';  
7086 - const url = '/service/order/cancelSend'; 7529 + const method = "post";
  7530 + const url = "/service/order/cancelSend";
7087 function request( 7531 function request(
7088 - option: PostServiceOrderCancelSendOption, 7532 + option: PostServiceOrderCancelSendOption
7089 ): Promise<PostServiceOrderCancelSendResponseSuccess> { 7533 ): Promise<PostServiceOrderCancelSendResponseSuccess> {
7090 return requester(request.url, { 7534 return requester(request.url, {
7091 method: request.method, 7535 method: request.method,
@@ -7167,10 +7611,10 @@ export type PostServiceOrderConfirmReceiptResponseSuccess = @@ -7167,10 +7611,10 @@ export type PostServiceOrderConfirmReceiptResponseSuccess =
7167 * @consumes application/json 7611 * @consumes application/json
7168 */ 7612 */
7169 export const postServiceOrderConfirmReceipt = /* #__PURE__ */ (() => { 7613 export const postServiceOrderConfirmReceipt = /* #__PURE__ */ (() => {
7170 - const method = 'post';  
7171 - const url = '/service/order/confirmReceipt'; 7614 + const method = "post";
  7615 + const url = "/service/order/confirmReceipt";
7172 function request( 7616 function request(
7173 - option: PostServiceOrderConfirmReceiptOption, 7617 + option: PostServiceOrderConfirmReceiptOption
7174 ): Promise<PostServiceOrderConfirmReceiptResponseSuccess> { 7618 ): Promise<PostServiceOrderConfirmReceiptResponseSuccess> {
7175 return requester(request.url, { 7619 return requester(request.url, {
7176 method: request.method, 7620 method: request.method,
@@ -7238,10 +7682,10 @@ export type PostServiceOrderEditOrderResponseSuccess = @@ -7238,10 +7682,10 @@ export type PostServiceOrderEditOrderResponseSuccess =
7238 * @consumes application/json 7682 * @consumes application/json
7239 */ 7683 */
7240 export const postServiceOrderEditOrder = /* #__PURE__ */ (() => { 7684 export const postServiceOrderEditOrder = /* #__PURE__ */ (() => {
7241 - const method = 'post';  
7242 - const url = '/service/order/editOrder'; 7685 + const method = "post";
  7686 + const url = "/service/order/editOrder";
7243 function request( 7687 function request(
7244 - option: PostServiceOrderEditOrderOption, 7688 + option: PostServiceOrderEditOrderOption
7245 ): Promise<PostServiceOrderEditOrderResponseSuccess> { 7689 ): Promise<PostServiceOrderEditOrderResponseSuccess> {
7246 return requester(request.url, { 7690 return requester(request.url, {
7247 method: request.method, 7691 method: request.method,
@@ -7309,10 +7753,10 @@ export type PostServiceOrderEditProductionTimeResponseSuccess = @@ -7309,10 +7753,10 @@ export type PostServiceOrderEditProductionTimeResponseSuccess =
7309 * @consumes application/json 7753 * @consumes application/json
7310 */ 7754 */
7311 export const postServiceOrderEditProductionTime = /* #__PURE__ */ (() => { 7755 export const postServiceOrderEditProductionTime = /* #__PURE__ */ (() => {
7312 - const method = 'post';  
7313 - const url = '/service/order/editProductionTime'; 7756 + const method = "post";
  7757 + const url = "/service/order/editProductionTime";
7314 function request( 7758 function request(
7315 - option: PostServiceOrderEditProductionTimeOption, 7759 + option: PostServiceOrderEditProductionTimeOption
7316 ): Promise<PostServiceOrderEditProductionTimeResponseSuccess> { 7760 ): Promise<PostServiceOrderEditProductionTimeResponseSuccess> {
7317 return requester(request.url, { 7761 return requester(request.url, {
7318 method: request.method, 7762 method: request.method,
@@ -7380,10 +7824,10 @@ export type PostServiceOrderErrorExcelInformationResponseSuccess = @@ -7380,10 +7824,10 @@ export type PostServiceOrderErrorExcelInformationResponseSuccess =
7380 * @consumes multipart/form-data 7824 * @consumes multipart/form-data
7381 */ 7825 */
7382 export const postServiceOrderErrorExcelInformation = /* #__PURE__ */ (() => { 7826 export const postServiceOrderErrorExcelInformation = /* #__PURE__ */ (() => {
7383 - const method = 'post';  
7384 - const url = '/service/order/errorExcelInformation'; 7827 + const method = "post";
  7828 + const url = "/service/order/errorExcelInformation";
7385 function request( 7829 function request(
7386 - option: PostServiceOrderErrorExcelInformationOption, 7830 + option: PostServiceOrderErrorExcelInformationOption
7387 ): Promise<PostServiceOrderErrorExcelInformationResponseSuccess> { 7831 ): Promise<PostServiceOrderErrorExcelInformationResponseSuccess> {
7388 return requester(request.url, { 7832 return requester(request.url, {
7389 method: request.method, 7833 method: request.method,
@@ -7451,10 +7895,10 @@ export type PostServiceOrderExportResponseSuccess = @@ -7451,10 +7895,10 @@ export type PostServiceOrderExportResponseSuccess =
7451 * @consumes application/json 7895 * @consumes application/json
7452 */ 7896 */
7453 export const postServiceOrderExport = /* #__PURE__ */ (() => { 7897 export const postServiceOrderExport = /* #__PURE__ */ (() => {
7454 - const method = 'post';  
7455 - const url = '/service/order/export'; 7898 + const method = "post";
  7899 + const url = "/service/order/export";
7456 function request( 7900 function request(
7457 - option: PostServiceOrderExportOption, 7901 + option: PostServiceOrderExportOption
7458 ): Promise<PostServiceOrderExportResponseSuccess> { 7902 ): Promise<PostServiceOrderExportResponseSuccess> {
7459 return requester(request.url, { 7903 return requester(request.url, {
7460 method: request.method, 7904 method: request.method,
@@ -7508,8 +7952,8 @@ export type PostServiceOrderExportTemplateResponseSuccess = @@ -7508,8 +7952,8 @@ export type PostServiceOrderExportTemplateResponseSuccess =
7508 * @consumes application/json 7952 * @consumes application/json
7509 */ 7953 */
7510 export const postServiceOrderExportTemplate = /* #__PURE__ */ (() => { 7954 export const postServiceOrderExportTemplate = /* #__PURE__ */ (() => {
7511 - const method = 'post';  
7512 - const url = '/service/order/exportTemplate'; 7955 + const method = "post";
  7956 + const url = "/service/order/exportTemplate";
7513 function request(): Promise<PostServiceOrderExportTemplateResponseSuccess> { 7957 function request(): Promise<PostServiceOrderExportTemplateResponseSuccess> {
7514 return requester(request.url, { 7958 return requester(request.url, {
7515 method: request.method, 7959 method: request.method,
@@ -7576,10 +8020,10 @@ export type PostServiceOrderFileProcessResponseSuccess = @@ -7576,10 +8020,10 @@ export type PostServiceOrderFileProcessResponseSuccess =
7576 * @consumes application/json 8020 * @consumes application/json
7577 */ 8021 */
7578 export const postServiceOrderFileProcess = /* #__PURE__ */ (() => { 8022 export const postServiceOrderFileProcess = /* #__PURE__ */ (() => {
7579 - const method = 'post';  
7580 - const url = '/service/order/fileProcess'; 8023 + const method = "post";
  8024 + const url = "/service/order/fileProcess";
7581 function request( 8025 function request(
7582 - option: PostServiceOrderFileProcessOption, 8026 + option: PostServiceOrderFileProcessOption
7583 ): Promise<PostServiceOrderFileProcessResponseSuccess> { 8027 ): Promise<PostServiceOrderFileProcessResponseSuccess> {
7584 return requester(request.url, { 8028 return requester(request.url, {
7585 method: request.method, 8029 method: request.method,
@@ -7647,10 +8091,10 @@ export type PostServiceOrderFinanceCheckOrderResponseSuccess = @@ -7647,10 +8091,10 @@ export type PostServiceOrderFinanceCheckOrderResponseSuccess =
7647 * @consumes application/json 8091 * @consumes application/json
7648 */ 8092 */
7649 export const postServiceOrderFinanceCheckOrder = /* #__PURE__ */ (() => { 8093 export const postServiceOrderFinanceCheckOrder = /* #__PURE__ */ (() => {
7650 - const method = 'post';  
7651 - const url = '/service/order/financeCheckOrder'; 8094 + const method = "post";
  8095 + const url = "/service/order/financeCheckOrder";
7652 function request( 8096 function request(
7653 - option: PostServiceOrderFinanceCheckOrderOption, 8097 + option: PostServiceOrderFinanceCheckOrderOption
7654 ): Promise<PostServiceOrderFinanceCheckOrderResponseSuccess> { 8098 ): Promise<PostServiceOrderFinanceCheckOrderResponseSuccess> {
7655 return requester(request.url, { 8099 return requester(request.url, {
7656 method: request.method, 8100 method: request.method,
@@ -7718,10 +8162,10 @@ export type PostServiceOrderImportExcelResponseSuccess = @@ -7718,10 +8162,10 @@ export type PostServiceOrderImportExcelResponseSuccess =
7718 * @consumes multipart/form-data 8162 * @consumes multipart/form-data
7719 */ 8163 */
7720 export const postServiceOrderImportExcel = /* #__PURE__ */ (() => { 8164 export const postServiceOrderImportExcel = /* #__PURE__ */ (() => {
7721 - const method = 'post';  
7722 - const url = '/service/order/importExcel'; 8165 + const method = "post";
  8166 + const url = "/service/order/importExcel";
7723 function request( 8167 function request(
7724 - option: PostServiceOrderImportExcelOption, 8168 + option: PostServiceOrderImportExcelOption
7725 ): Promise<PostServiceOrderImportExcelResponseSuccess> { 8169 ): Promise<PostServiceOrderImportExcelResponseSuccess> {
7726 return requester(request.url, { 8170 return requester(request.url, {
7727 method: request.method, 8171 method: request.method,
@@ -7789,10 +8233,10 @@ export type PostServiceOrderInvoicingResponseSuccess = @@ -7789,10 +8233,10 @@ export type PostServiceOrderInvoicingResponseSuccess =
7789 * @consumes application/json 8233 * @consumes application/json
7790 */ 8234 */
7791 export const postServiceOrderInvoicing = /* #__PURE__ */ (() => { 8235 export const postServiceOrderInvoicing = /* #__PURE__ */ (() => {
7792 - const method = 'post';  
7793 - const url = '/service/order/invoicing'; 8236 + const method = "post";
  8237 + const url = "/service/order/invoicing";
7794 function request( 8238 function request(
7795 - option: PostServiceOrderInvoicingOption, 8239 + option: PostServiceOrderInvoicingOption
7796 ): Promise<PostServiceOrderInvoicingResponseSuccess> { 8240 ): Promise<PostServiceOrderInvoicingResponseSuccess> {
7797 return requester(request.url, { 8241 return requester(request.url, {
7798 method: request.method, 8242 method: request.method,
@@ -7860,10 +8304,10 @@ export type PostServiceOrderLeaderAuditResponseSuccess = @@ -7860,10 +8304,10 @@ export type PostServiceOrderLeaderAuditResponseSuccess =
7860 * @consumes application/json 8304 * @consumes application/json
7861 */ 8305 */
7862 export const postServiceOrderLeaderAudit = /* #__PURE__ */ (() => { 8306 export const postServiceOrderLeaderAudit = /* #__PURE__ */ (() => {
7863 - const method = 'post';  
7864 - const url = '/service/order/leaderAudit'; 8307 + const method = "post";
  8308 + const url = "/service/order/leaderAudit";
7865 function request( 8309 function request(
7866 - option: PostServiceOrderLeaderAuditOption, 8310 + option: PostServiceOrderLeaderAuditOption
7867 ): Promise<PostServiceOrderLeaderAuditResponseSuccess> { 8311 ): Promise<PostServiceOrderLeaderAuditResponseSuccess> {
7868 return requester(request.url, { 8312 return requester(request.url, {
7869 method: request.method, 8313 method: request.method,
@@ -7931,10 +8375,10 @@ export type PostServiceOrderMergeApplyInvoicingResponseSuccess = @@ -7931,10 +8375,10 @@ export type PostServiceOrderMergeApplyInvoicingResponseSuccess =
7931 * @consumes application/json 8375 * @consumes application/json
7932 */ 8376 */
7933 export const postServiceOrderMergeApplyInvoicing = /* #__PURE__ */ (() => { 8377 export const postServiceOrderMergeApplyInvoicing = /* #__PURE__ */ (() => {
7934 - const method = 'post';  
7935 - const url = '/service/order/mergeApplyInvoicing'; 8378 + const method = "post";
  8379 + const url = "/service/order/mergeApplyInvoicing";
7936 function request( 8380 function request(
7937 - option: PostServiceOrderMergeApplyInvoicingOption, 8381 + option: PostServiceOrderMergeApplyInvoicingOption
7938 ): Promise<PostServiceOrderMergeApplyInvoicingResponseSuccess> { 8382 ): Promise<PostServiceOrderMergeApplyInvoicingResponseSuccess> {
7939 return requester(request.url, { 8383 return requester(request.url, {
7940 method: request.method, 8384 method: request.method,
@@ -8002,10 +8446,10 @@ export type PostServiceOrderMergeInvoicingResponseSuccess = @@ -8002,10 +8446,10 @@ export type PostServiceOrderMergeInvoicingResponseSuccess =
8002 * @consumes application/json 8446 * @consumes application/json
8003 */ 8447 */
8004 export const postServiceOrderMergeInvoicing = /* #__PURE__ */ (() => { 8448 export const postServiceOrderMergeInvoicing = /* #__PURE__ */ (() => {
8005 - const method = 'post';  
8006 - const url = '/service/order/mergeInvoicing'; 8449 + const method = "post";
  8450 + const url = "/service/order/mergeInvoicing";
8007 function request( 8451 function request(
8008 - option: PostServiceOrderMergeInvoicingOption, 8452 + option: PostServiceOrderMergeInvoicingOption
8009 ): Promise<PostServiceOrderMergeInvoicingResponseSuccess> { 8453 ): Promise<PostServiceOrderMergeInvoicingResponseSuccess> {
8010 return requester(request.url, { 8454 return requester(request.url, {
8011 method: request.method, 8455 method: request.method,
@@ -8073,10 +8517,10 @@ export type PostServiceOrderModifiedDiffResponseSuccess = @@ -8073,10 +8517,10 @@ export type PostServiceOrderModifiedDiffResponseSuccess =
8073 * @consumes application/json 8517 * @consumes application/json
8074 */ 8518 */
8075 export const postServiceOrderModifiedDiff = /* #__PURE__ */ (() => { 8519 export const postServiceOrderModifiedDiff = /* #__PURE__ */ (() => {
8076 - const method = 'post';  
8077 - const url = '/service/order/modifiedDiff'; 8520 + const method = "post";
  8521 + const url = "/service/order/modifiedDiff";
8078 function request( 8522 function request(
8079 - option: PostServiceOrderModifiedDiffOption, 8523 + option: PostServiceOrderModifiedDiffOption
8080 ): Promise<PostServiceOrderModifiedDiffResponseSuccess> { 8524 ): Promise<PostServiceOrderModifiedDiffResponseSuccess> {
8081 return requester(request.url, { 8525 return requester(request.url, {
8082 method: request.method, 8526 method: request.method,
@@ -8144,10 +8588,10 @@ export type PostServiceOrderNoNeedInvoicingEditResponseSuccess = @@ -8144,10 +8588,10 @@ export type PostServiceOrderNoNeedInvoicingEditResponseSuccess =
8144 * @consumes application/json 8588 * @consumes application/json
8145 */ 8589 */
8146 export const postServiceOrderNoNeedInvoicingEdit = /* #__PURE__ */ (() => { 8590 export const postServiceOrderNoNeedInvoicingEdit = /* #__PURE__ */ (() => {
8147 - const method = 'post';  
8148 - const url = '/service/order/noNeedInvoicingEdit'; 8591 + const method = "post";
  8592 + const url = "/service/order/noNeedInvoicingEdit";
8149 function request( 8593 function request(
8150 - option: PostServiceOrderNoNeedInvoicingEditOption, 8594 + option: PostServiceOrderNoNeedInvoicingEditOption
8151 ): Promise<PostServiceOrderNoNeedInvoicingEditResponseSuccess> { 8595 ): Promise<PostServiceOrderNoNeedInvoicingEditResponseSuccess> {
8152 return requester(request.url, { 8596 return requester(request.url, {
8153 method: request.method, 8597 method: request.method,
@@ -8215,10 +8659,10 @@ export type PostServiceOrderNoNeedSendResponseSuccess = @@ -8215,10 +8659,10 @@ export type PostServiceOrderNoNeedSendResponseSuccess =
8215 * @consumes application/json 8659 * @consumes application/json
8216 */ 8660 */
8217 export const postServiceOrderNoNeedSend = /* #__PURE__ */ (() => { 8661 export const postServiceOrderNoNeedSend = /* #__PURE__ */ (() => {
8218 - const method = 'post';  
8219 - const url = '/service/order/noNeedSend'; 8662 + const method = "post";
  8663 + const url = "/service/order/noNeedSend";
8220 function request( 8664 function request(
8221 - option: PostServiceOrderNoNeedSendOption, 8665 + option: PostServiceOrderNoNeedSendOption
8222 ): Promise<PostServiceOrderNoNeedSendResponseSuccess> { 8666 ): Promise<PostServiceOrderNoNeedSendResponseSuccess> {
8223 return requester(request.url, { 8667 return requester(request.url, {
8224 method: request.method, 8668 method: request.method,
@@ -8286,10 +8730,10 @@ export type PostServiceOrderNotesEditResponseSuccess = @@ -8286,10 +8730,10 @@ export type PostServiceOrderNotesEditResponseSuccess =
8286 * @consumes application/json 8730 * @consumes application/json
8287 */ 8731 */
8288 export const postServiceOrderNotesEdit = /* #__PURE__ */ (() => { 8732 export const postServiceOrderNotesEdit = /* #__PURE__ */ (() => {
8289 - const method = 'post';  
8290 - const url = '/service/order/notesEdit'; 8733 + const method = "post";
  8734 + const url = "/service/order/notesEdit";
8291 function request( 8735 function request(
8292 - option: PostServiceOrderNotesEditOption, 8736 + option: PostServiceOrderNotesEditOption
8293 ): Promise<PostServiceOrderNotesEditResponseSuccess> { 8737 ): Promise<PostServiceOrderNotesEditResponseSuccess> {
8294 return requester(request.url, { 8738 return requester(request.url, {
8295 method: request.method, 8739 method: request.method,
@@ -8357,10 +8801,10 @@ export type PostServiceOrderOrderCancelResponseSuccess = @@ -8357,10 +8801,10 @@ export type PostServiceOrderOrderCancelResponseSuccess =
8357 * @consumes application/json 8801 * @consumes application/json
8358 */ 8802 */
8359 export const postServiceOrderOrderCancel = /* #__PURE__ */ (() => { 8803 export const postServiceOrderOrderCancel = /* #__PURE__ */ (() => {
8360 - const method = 'post';  
8361 - const url = '/service/order/orderCancel'; 8804 + const method = "post";
  8805 + const url = "/service/order/orderCancel";
8362 function request( 8806 function request(
8363 - option: PostServiceOrderOrderCancelOption, 8807 + option: PostServiceOrderOrderCancelOption
8364 ): Promise<PostServiceOrderOrderCancelResponseSuccess> { 8808 ): Promise<PostServiceOrderOrderCancelResponseSuccess> {
8365 return requester(request.url, { 8809 return requester(request.url, {
8366 method: request.method, 8810 method: request.method,
@@ -8428,10 +8872,10 @@ export type PostServiceOrderPrintOrderResponseSuccess = @@ -8428,10 +8872,10 @@ export type PostServiceOrderPrintOrderResponseSuccess =
8428 * @consumes application/json 8872 * @consumes application/json
8429 */ 8873 */
8430 export const postServiceOrderPrintOrder = /* #__PURE__ */ (() => { 8874 export const postServiceOrderPrintOrder = /* #__PURE__ */ (() => {
8431 - const method = 'post';  
8432 - const url = '/service/order/printOrder'; 8875 + const method = "post";
  8876 + const url = "/service/order/printOrder";
8433 function request( 8877 function request(
8434 - option: PostServiceOrderPrintOrderOption, 8878 + option: PostServiceOrderPrintOrderOption
8435 ): Promise<PostServiceOrderPrintOrderResponseSuccess> { 8879 ): Promise<PostServiceOrderPrintOrderResponseSuccess> {
8436 return requester(request.url, { 8880 return requester(request.url, {
8437 method: request.method, 8881 method: request.method,
@@ -8499,10 +8943,10 @@ export type PostServiceOrderProcureCheckOrderResponseSuccess = @@ -8499,10 +8943,10 @@ export type PostServiceOrderProcureCheckOrderResponseSuccess =
8499 * @consumes application/json 8943 * @consumes application/json
8500 */ 8944 */
8501 export const postServiceOrderProcureCheckOrder = /* #__PURE__ */ (() => { 8945 export const postServiceOrderProcureCheckOrder = /* #__PURE__ */ (() => {
8502 - const method = 'post';  
8503 - const url = '/service/order/procureCheckOrder'; 8946 + const method = "post";
  8947 + const url = "/service/order/procureCheckOrder";
8504 function request( 8948 function request(
8505 - option: PostServiceOrderProcureCheckOrderOption, 8949 + option: PostServiceOrderProcureCheckOrderOption
8506 ): Promise<PostServiceOrderProcureCheckOrderResponseSuccess> { 8950 ): Promise<PostServiceOrderProcureCheckOrderResponseSuccess> {
8507 return requester(request.url, { 8951 return requester(request.url, {
8508 method: request.method, 8952 method: request.method,
@@ -8570,10 +9014,10 @@ export type PostServiceOrderProcureConvertProcureResponseSuccess = @@ -8570,10 +9014,10 @@ export type PostServiceOrderProcureConvertProcureResponseSuccess =
8570 * @consumes application/json 9014 * @consumes application/json
8571 */ 9015 */
8572 export const postServiceOrderProcureConvertProcure = /* #__PURE__ */ (() => { 9016 export const postServiceOrderProcureConvertProcure = /* #__PURE__ */ (() => {
8573 - const method = 'post';  
8574 - const url = '/service/order/procureConvertProcure'; 9017 + const method = "post";
  9018 + const url = "/service/order/procureConvertProcure";
8575 function request( 9019 function request(
8576 - option: PostServiceOrderProcureConvertProcureOption, 9020 + option: PostServiceOrderProcureConvertProcureOption
8577 ): Promise<PostServiceOrderProcureConvertProcureResponseSuccess> { 9021 ): Promise<PostServiceOrderProcureConvertProcureResponseSuccess> {
8578 return requester(request.url, { 9022 return requester(request.url, {
8579 method: request.method, 9023 method: request.method,
@@ -8642,10 +9086,10 @@ export type PostServiceOrderProcureConvertWarehouseKeeperResponseSuccess = @@ -8642,10 +9086,10 @@ export type PostServiceOrderProcureConvertWarehouseKeeperResponseSuccess =
8642 */ 9086 */
8643 export const postServiceOrderProcureConvertWarehouseKeeper = 9087 export const postServiceOrderProcureConvertWarehouseKeeper =
8644 /* #__PURE__ */ (() => { 9088 /* #__PURE__ */ (() => {
8645 - const method = 'post';  
8646 - const url = '/service/order/procureConvertWarehouseKeeper'; 9089 + const method = "post";
  9090 + const url = "/service/order/procureConvertWarehouseKeeper";
8647 function request( 9091 function request(
8648 - option: PostServiceOrderProcureConvertWarehouseKeeperOption, 9092 + option: PostServiceOrderProcureConvertWarehouseKeeperOption
8649 ): Promise<PostServiceOrderProcureConvertWarehouseKeeperResponseSuccess> { 9093 ): Promise<PostServiceOrderProcureConvertWarehouseKeeperResponseSuccess> {
8650 return requester(request.url, { 9094 return requester(request.url, {
8651 method: request.method, 9095 method: request.method,
@@ -8713,10 +9157,10 @@ export type PostServiceOrderProcureOrderResponseSuccess = @@ -8713,10 +9157,10 @@ export type PostServiceOrderProcureOrderResponseSuccess =
8713 * @consumes application/json 9157 * @consumes application/json
8714 */ 9158 */
8715 export const postServiceOrderProcureOrder = /* #__PURE__ */ (() => { 9159 export const postServiceOrderProcureOrder = /* #__PURE__ */ (() => {
8716 - const method = 'post';  
8717 - const url = '/service/order/procureOrder'; 9160 + const method = "post";
  9161 + const url = "/service/order/procureOrder";
8718 function request( 9162 function request(
8719 - option: PostServiceOrderProcureOrderOption, 9163 + option: PostServiceOrderProcureOrderOption
8720 ): Promise<PostServiceOrderProcureOrderResponseSuccess> { 9164 ): Promise<PostServiceOrderProcureOrderResponseSuccess> {
8721 return requester(request.url, { 9165 return requester(request.url, {
8722 method: request.method, 9166 method: request.method,
@@ -8784,10 +9228,10 @@ export type PostServiceOrderProcurePrintResponseSuccess = @@ -8784,10 +9228,10 @@ export type PostServiceOrderProcurePrintResponseSuccess =
8784 * @consumes application/json 9228 * @consumes application/json
8785 */ 9229 */
8786 export const postServiceOrderProcurePrint = /* #__PURE__ */ (() => { 9230 export const postServiceOrderProcurePrint = /* #__PURE__ */ (() => {
8787 - const method = 'post';  
8788 - const url = '/service/order/procurePrint'; 9231 + const method = "post";
  9232 + const url = "/service/order/procurePrint";
8789 function request( 9233 function request(
8790 - option: PostServiceOrderProcurePrintOption, 9234 + option: PostServiceOrderProcurePrintOption
8791 ): Promise<PostServiceOrderProcurePrintResponseSuccess> { 9235 ): Promise<PostServiceOrderProcurePrintResponseSuccess> {
8792 return requester(request.url, { 9236 return requester(request.url, {
8793 method: request.method, 9237 method: request.method,
@@ -8855,10 +9299,10 @@ export type PostServiceOrderProcureSendResponseSuccess = @@ -8855,10 +9299,10 @@ export type PostServiceOrderProcureSendResponseSuccess =
8855 * @consumes application/json 9299 * @consumes application/json
8856 */ 9300 */
8857 export const postServiceOrderProcureSend = /* #__PURE__ */ (() => { 9301 export const postServiceOrderProcureSend = /* #__PURE__ */ (() => {
8858 - const method = 'post';  
8859 - const url = '/service/order/procureSend'; 9302 + const method = "post";
  9303 + const url = "/service/order/procureSend";
8860 function request( 9304 function request(
8861 - option: PostServiceOrderProcureSendOption, 9305 + option: PostServiceOrderProcureSendOption
8862 ): Promise<PostServiceOrderProcureSendResponseSuccess> { 9306 ): Promise<PostServiceOrderProcureSendResponseSuccess> {
8863 return requester(request.url, { 9307 return requester(request.url, {
8864 method: request.method, 9308 method: request.method,
@@ -8906,8 +9350,8 @@ export type GetServiceOrderProvideInvoicingStatusResponseSuccess = @@ -8906,8 +9350,8 @@ export type GetServiceOrderProvideInvoicingStatusResponseSuccess =
8906 * @produces * 9350 * @produces *
8907 */ 9351 */
8908 export const getServiceOrderProvideInvoicingStatus = /* #__PURE__ */ (() => { 9352 export const getServiceOrderProvideInvoicingStatus = /* #__PURE__ */ (() => {
8909 - const method = 'get';  
8910 - const url = '/service/order/provideInvoicingStatus'; 9353 + const method = "get";
  9354 + const url = "/service/order/provideInvoicingStatus";
8911 function request(): Promise<GetServiceOrderProvideInvoicingStatusResponseSuccess> { 9355 function request(): Promise<GetServiceOrderProvideInvoicingStatusResponseSuccess> {
8912 return requester(request.url, { 9356 return requester(request.url, {
8913 method: request.method, 9357 method: request.method,
@@ -8954,8 +9398,8 @@ export type GetServiceOrderProvideLogisticsStatusResponseSuccess = @@ -8954,8 +9398,8 @@ export type GetServiceOrderProvideLogisticsStatusResponseSuccess =
8954 * @produces * 9398 * @produces *
8955 */ 9399 */
8956 export const getServiceOrderProvideLogisticsStatus = /* #__PURE__ */ (() => { 9400 export const getServiceOrderProvideLogisticsStatus = /* #__PURE__ */ (() => {
8957 - const method = 'get';  
8958 - const url = '/service/order/provideLogisticsStatus'; 9401 + const method = "get";
  9402 + const url = "/service/order/provideLogisticsStatus";
8959 function request(): Promise<GetServiceOrderProvideLogisticsStatusResponseSuccess> { 9403 function request(): Promise<GetServiceOrderProvideLogisticsStatusResponseSuccess> {
8960 return requester(request.url, { 9404 return requester(request.url, {
8961 method: request.method, 9405 method: request.method,
@@ -9002,8 +9446,8 @@ export type GetServiceOrderProvideOrderStatusResponseSuccess = @@ -9002,8 +9446,8 @@ export type GetServiceOrderProvideOrderStatusResponseSuccess =
9002 * @produces * 9446 * @produces *
9003 */ 9447 */
9004 export const getServiceOrderProvideOrderStatus = /* #__PURE__ */ (() => { 9448 export const getServiceOrderProvideOrderStatus = /* #__PURE__ */ (() => {
9005 - const method = 'get';  
9006 - const url = '/service/order/provideOrderStatus'; 9449 + const method = "get";
  9450 + const url = "/service/order/provideOrderStatus";
9007 function request(): Promise<GetServiceOrderProvideOrderStatusResponseSuccess> { 9451 function request(): Promise<GetServiceOrderProvideOrderStatusResponseSuccess> {
9008 return requester(request.url, { 9452 return requester(request.url, {
9009 method: request.method, 9453 method: request.method,
@@ -9050,8 +9494,8 @@ export type GetServiceOrderProvidePaymentChannelResponseSuccess = @@ -9050,8 +9494,8 @@ export type GetServiceOrderProvidePaymentChannelResponseSuccess =
9050 * @produces * 9494 * @produces *
9051 */ 9495 */
9052 export const getServiceOrderProvidePaymentChannel = /* #__PURE__ */ (() => { 9496 export const getServiceOrderProvidePaymentChannel = /* #__PURE__ */ (() => {
9053 - const method = 'get';  
9054 - const url = '/service/order/providePaymentChannel'; 9497 + const method = "get";
  9498 + const url = "/service/order/providePaymentChannel";
9055 function request(): Promise<GetServiceOrderProvidePaymentChannelResponseSuccess> { 9499 function request(): Promise<GetServiceOrderProvidePaymentChannelResponseSuccess> {
9056 return requester(request.url, { 9500 return requester(request.url, {
9057 method: request.method, 9501 method: request.method,
@@ -9098,8 +9542,8 @@ export type GetServiceOrderProvidePaymentMethodResponseSuccess = @@ -9098,8 +9542,8 @@ export type GetServiceOrderProvidePaymentMethodResponseSuccess =
9098 * @produces * 9542 * @produces *
9099 */ 9543 */
9100 export const getServiceOrderProvidePaymentMethod = /* #__PURE__ */ (() => { 9544 export const getServiceOrderProvidePaymentMethod = /* #__PURE__ */ (() => {
9101 - const method = 'get';  
9102 - const url = '/service/order/providePaymentMethod'; 9545 + const method = "get";
  9546 + const url = "/service/order/providePaymentMethod";
9103 function request(): Promise<GetServiceOrderProvidePaymentMethodResponseSuccess> { 9547 function request(): Promise<GetServiceOrderProvidePaymentMethodResponseSuccess> {
9104 return requester(request.url, { 9548 return requester(request.url, {
9105 method: request.method, 9549 method: request.method,
@@ -9152,8 +9596,8 @@ export type PostServiceOrderProvideProcurementRolesResponseSuccess = @@ -9152,8 +9596,8 @@ export type PostServiceOrderProvideProcurementRolesResponseSuccess =
9152 * @consumes application/json 9596 * @consumes application/json
9153 */ 9597 */
9154 export const postServiceOrderProvideProcurementRoles = /* #__PURE__ */ (() => { 9598 export const postServiceOrderProvideProcurementRoles = /* #__PURE__ */ (() => {
9155 - const method = 'post';  
9156 - const url = '/service/order/provideProcurementRoles'; 9599 + const method = "post";
  9600 + const url = "/service/order/provideProcurementRoles";
9157 function request(): Promise<PostServiceOrderProvideProcurementRolesResponseSuccess> { 9601 function request(): Promise<PostServiceOrderProvideProcurementRolesResponseSuccess> {
9158 return requester(request.url, { 9602 return requester(request.url, {
9159 method: request.method, 9603 method: request.method,
@@ -9201,8 +9645,8 @@ export type GetServiceOrderProvideProductBelongDepartmentResponseSuccess = @@ -9201,8 +9645,8 @@ export type GetServiceOrderProvideProductBelongDepartmentResponseSuccess =
9201 */ 9645 */
9202 export const getServiceOrderProvideProductBelongDepartment = 9646 export const getServiceOrderProvideProductBelongDepartment =
9203 /* #__PURE__ */ (() => { 9647 /* #__PURE__ */ (() => {
9204 - const method = 'get';  
9205 - const url = '/service/order/provideProductBelongDepartment'; 9648 + const method = "get";
  9649 + const url = "/service/order/provideProductBelongDepartment";
9206 function request(): Promise<GetServiceOrderProvideProductBelongDepartmentResponseSuccess> { 9650 function request(): Promise<GetServiceOrderProvideProductBelongDepartmentResponseSuccess> {
9207 return requester(request.url, { 9651 return requester(request.url, {
9208 method: request.method, 9652 method: request.method,
@@ -9249,8 +9693,8 @@ export type GetServiceOrderProvideProductUnitResponseSuccess = @@ -9249,8 +9693,8 @@ export type GetServiceOrderProvideProductUnitResponseSuccess =
9249 * @produces * 9693 * @produces *
9250 */ 9694 */
9251 export const getServiceOrderProvideProductUnit = /* #__PURE__ */ (() => { 9695 export const getServiceOrderProvideProductUnit = /* #__PURE__ */ (() => {
9252 - const method = 'get';  
9253 - const url = '/service/order/provideProductUnit'; 9696 + const method = "get";
  9697 + const url = "/service/order/provideProductUnit";
9254 function request(): Promise<GetServiceOrderProvideProductUnitResponseSuccess> { 9698 function request(): Promise<GetServiceOrderProvideProductUnitResponseSuccess> {
9255 return requester(request.url, { 9699 return requester(request.url, {
9256 method: request.method, 9700 method: request.method,
@@ -9297,8 +9741,8 @@ export type GetServiceOrderProvideTokenResponseSuccess = @@ -9297,8 +9741,8 @@ export type GetServiceOrderProvideTokenResponseSuccess =
9297 * @produces * 9741 * @produces *
9298 */ 9742 */
9299 export const getServiceOrderProvideToken = /* #__PURE__ */ (() => { 9743 export const getServiceOrderProvideToken = /* #__PURE__ */ (() => {
9300 - const method = 'get';  
9301 - const url = '/service/order/provideToken'; 9744 + const method = "get";
  9745 + const url = "/service/order/provideToken";
9302 function request(): Promise<GetServiceOrderProvideTokenResponseSuccess> { 9746 function request(): Promise<GetServiceOrderProvideTokenResponseSuccess> {
9303 return requester(request.url, { 9747 return requester(request.url, {
9304 method: request.method, 9748 method: request.method,
@@ -9366,10 +9810,10 @@ export type PostServiceOrderQueryAfterSalesInfoSnapshotResponseSuccess = @@ -9366,10 +9810,10 @@ export type PostServiceOrderQueryAfterSalesInfoSnapshotResponseSuccess =
9366 */ 9810 */
9367 export const postServiceOrderQueryAfterSalesInfoSnapshot = 9811 export const postServiceOrderQueryAfterSalesInfoSnapshot =
9368 /* #__PURE__ */ (() => { 9812 /* #__PURE__ */ (() => {
9369 - const method = 'post';  
9370 - const url = '/service/order/queryAfterSalesInfoSnapshot'; 9813 + const method = "post";
  9814 + const url = "/service/order/queryAfterSalesInfoSnapshot";
9371 function request( 9815 function request(
9372 - option: PostServiceOrderQueryAfterSalesInfoSnapshotOption, 9816 + option: PostServiceOrderQueryAfterSalesInfoSnapshotOption
9373 ): Promise<PostServiceOrderQueryAfterSalesInfoSnapshotResponseSuccess> { 9817 ): Promise<PostServiceOrderQueryAfterSalesInfoSnapshotResponseSuccess> {
9374 return requester(request.url, { 9818 return requester(request.url, {
9375 method: request.method, 9819 method: request.method,
@@ -9423,8 +9867,8 @@ export type PostServiceOrderQueryAnnualTargetResponseSuccess = @@ -9423,8 +9867,8 @@ export type PostServiceOrderQueryAnnualTargetResponseSuccess =
9423 * @consumes application/json 9867 * @consumes application/json
9424 */ 9868 */
9425 export const postServiceOrderQueryAnnualTarget = /* #__PURE__ */ (() => { 9869 export const postServiceOrderQueryAnnualTarget = /* #__PURE__ */ (() => {
9426 - const method = 'post';  
9427 - const url = '/service/order/queryAnnualTarget'; 9870 + const method = "post";
  9871 + const url = "/service/order/queryAnnualTarget";
9428 function request(): Promise<PostServiceOrderQueryAnnualTargetResponseSuccess> { 9872 function request(): Promise<PostServiceOrderQueryAnnualTargetResponseSuccess> {
9429 return requester(request.url, { 9873 return requester(request.url, {
9430 method: request.method, 9874 method: request.method,
@@ -9491,10 +9935,10 @@ export type PostServiceOrderQueryCustomerInformationResponseSuccess = @@ -9491,10 +9935,10 @@ export type PostServiceOrderQueryCustomerInformationResponseSuccess =
9491 * @consumes application/json 9935 * @consumes application/json
9492 */ 9936 */
9493 export const postServiceOrderQueryCustomerInformation = /* #__PURE__ */ (() => { 9937 export const postServiceOrderQueryCustomerInformation = /* #__PURE__ */ (() => {
9494 - const method = 'post';  
9495 - const url = '/service/order/queryCustomerInformation'; 9938 + const method = "post";
  9939 + const url = "/service/order/queryCustomerInformation";
9496 function request( 9940 function request(
9497 - option: PostServiceOrderQueryCustomerInformationOption, 9941 + option: PostServiceOrderQueryCustomerInformationOption
9498 ): Promise<PostServiceOrderQueryCustomerInformationResponseSuccess> { 9942 ): Promise<PostServiceOrderQueryCustomerInformationResponseSuccess> {
9499 return requester(request.url, { 9943 return requester(request.url, {
9500 method: request.method, 9944 method: request.method,
@@ -9563,10 +10007,10 @@ export type PostServiceOrderQueryCustomerNameInformationResponseSuccess = @@ -9563,10 +10007,10 @@ export type PostServiceOrderQueryCustomerNameInformationResponseSuccess =
9563 */ 10007 */
9564 export const postServiceOrderQueryCustomerNameInformation = 10008 export const postServiceOrderQueryCustomerNameInformation =
9565 /* #__PURE__ */ (() => { 10009 /* #__PURE__ */ (() => {
9566 - const method = 'post';  
9567 - const url = '/service/order/queryCustomerNameInformation'; 10010 + const method = "post";
  10011 + const url = "/service/order/queryCustomerNameInformation";
9568 function request( 10012 function request(
9569 - option: PostServiceOrderQueryCustomerNameInformationOption, 10013 + option: PostServiceOrderQueryCustomerNameInformationOption
9570 ): Promise<PostServiceOrderQueryCustomerNameInformationResponseSuccess> { 10014 ): Promise<PostServiceOrderQueryCustomerNameInformationResponseSuccess> {
9571 return requester(request.url, { 10015 return requester(request.url, {
9572 method: request.method, 10016 method: request.method,
@@ -9634,10 +10078,10 @@ export type PostServiceOrderQueryHistoryOrderRecordResponseSuccess = @@ -9634,10 +10078,10 @@ export type PostServiceOrderQueryHistoryOrderRecordResponseSuccess =
9634 * @consumes application/json 10078 * @consumes application/json
9635 */ 10079 */
9636 export const postServiceOrderQueryHistoryOrderRecord = /* #__PURE__ */ (() => { 10080 export const postServiceOrderQueryHistoryOrderRecord = /* #__PURE__ */ (() => {
9637 - const method = 'post';  
9638 - const url = '/service/order/queryHistoryOrderRecord'; 10081 + const method = "post";
  10082 + const url = "/service/order/queryHistoryOrderRecord";
9639 function request( 10083 function request(
9640 - option: PostServiceOrderQueryHistoryOrderRecordOption, 10084 + option: PostServiceOrderQueryHistoryOrderRecordOption
9641 ): Promise<PostServiceOrderQueryHistoryOrderRecordResponseSuccess> { 10085 ): Promise<PostServiceOrderQueryHistoryOrderRecordResponseSuccess> {
9642 return requester(request.url, { 10086 return requester(request.url, {
9643 method: request.method, 10087 method: request.method,
@@ -9705,10 +10149,10 @@ export type PostServiceOrderQueryProductInformationResponseSuccess = @@ -9705,10 +10149,10 @@ export type PostServiceOrderQueryProductInformationResponseSuccess =
9705 * @consumes application/json 10149 * @consumes application/json
9706 */ 10150 */
9707 export const postServiceOrderQueryProductInformation = /* #__PURE__ */ (() => { 10151 export const postServiceOrderQueryProductInformation = /* #__PURE__ */ (() => {
9708 - const method = 'post';  
9709 - const url = '/service/order/queryProductInformation'; 10152 + const method = "post";
  10153 + const url = "/service/order/queryProductInformation";
9710 function request( 10154 function request(
9711 - option: PostServiceOrderQueryProductInformationOption, 10155 + option: PostServiceOrderQueryProductInformationOption
9712 ): Promise<PostServiceOrderQueryProductInformationResponseSuccess> { 10156 ): Promise<PostServiceOrderQueryProductInformationResponseSuccess> {
9713 return requester(request.url, { 10157 return requester(request.url, {
9714 method: request.method, 10158 method: request.method,
@@ -9777,10 +10221,10 @@ export type PostServiceOrderQueryReportFormsInformationResponseSuccess = @@ -9777,10 +10221,10 @@ export type PostServiceOrderQueryReportFormsInformationResponseSuccess =
9777 */ 10221 */
9778 export const postServiceOrderQueryReportFormsInformation = 10222 export const postServiceOrderQueryReportFormsInformation =
9779 /* #__PURE__ */ (() => { 10223 /* #__PURE__ */ (() => {
9780 - const method = 'post';  
9781 - const url = '/service/order/queryReportFormsInformation'; 10224 + const method = "post";
  10225 + const url = "/service/order/queryReportFormsInformation";
9782 function request( 10226 function request(
9783 - option: PostServiceOrderQueryReportFormsInformationOption, 10227 + option: PostServiceOrderQueryReportFormsInformationOption
9784 ): Promise<PostServiceOrderQueryReportFormsInformationResponseSuccess> { 10228 ): Promise<PostServiceOrderQueryReportFormsInformationResponseSuccess> {
9785 return requester(request.url, { 10229 return requester(request.url, {
9786 method: request.method, 10230 method: request.method,
@@ -9834,8 +10278,8 @@ export type PostServiceOrderQuerySalesCodeResponseSuccess = @@ -9834,8 +10278,8 @@ export type PostServiceOrderQuerySalesCodeResponseSuccess =
9834 * @consumes application/json 10278 * @consumes application/json
9835 */ 10279 */
9836 export const postServiceOrderQuerySalesCode = /* #__PURE__ */ (() => { 10280 export const postServiceOrderQuerySalesCode = /* #__PURE__ */ (() => {
9837 - const method = 'post';  
9838 - const url = '/service/order/querySalesCode'; 10281 + const method = "post";
  10282 + const url = "/service/order/querySalesCode";
9839 function request(): Promise<PostServiceOrderQuerySalesCodeResponseSuccess> { 10283 function request(): Promise<PostServiceOrderQuerySalesCodeResponseSuccess> {
9840 return requester(request.url, { 10284 return requester(request.url, {
9841 method: request.method, 10285 method: request.method,
@@ -9902,10 +10346,10 @@ export type PostServiceOrderQueryServiceOrderResponseSuccess = @@ -9902,10 +10346,10 @@ export type PostServiceOrderQueryServiceOrderResponseSuccess =
9902 * @consumes application/json 10346 * @consumes application/json
9903 */ 10347 */
9904 export const postServiceOrderQueryServiceOrder = /* #__PURE__ */ (() => { 10348 export const postServiceOrderQueryServiceOrder = /* #__PURE__ */ (() => {
9905 - const method = 'post';  
9906 - const url = '/service/order/queryServiceOrder'; 10349 + const method = "post";
  10350 + const url = "/service/order/queryServiceOrder";
9907 function request( 10351 function request(
9908 - option: PostServiceOrderQueryServiceOrderOption, 10352 + option: PostServiceOrderQueryServiceOrderOption
9909 ): Promise<PostServiceOrderQueryServiceOrderResponseSuccess> { 10353 ): Promise<PostServiceOrderQueryServiceOrderResponseSuccess> {
9910 return requester(request.url, { 10354 return requester(request.url, {
9911 method: request.method, 10355 method: request.method,
@@ -9959,8 +10403,8 @@ export type PostServiceOrderQuerySupplierResponseSuccess = @@ -9959,8 +10403,8 @@ export type PostServiceOrderQuerySupplierResponseSuccess =
9959 * @consumes application/json 10403 * @consumes application/json
9960 */ 10404 */
9961 export const postServiceOrderQuerySupplier = /* #__PURE__ */ (() => { 10405 export const postServiceOrderQuerySupplier = /* #__PURE__ */ (() => {
9962 - const method = 'post';  
9963 - const url = '/service/order/querySupplier'; 10406 + const method = "post";
  10407 + const url = "/service/order/querySupplier";
9964 function request(): Promise<PostServiceOrderQuerySupplierResponseSuccess> { 10408 function request(): Promise<PostServiceOrderQuerySupplierResponseSuccess> {
9965 return requester(request.url, { 10409 return requester(request.url, {
9966 method: request.method, 10410 method: request.method,
@@ -9974,6 +10418,77 @@ export const postServiceOrderQuerySupplier = /* #__PURE__ */ (() =&gt; { @@ -9974,6 +10418,77 @@ export const postServiceOrderQuerySupplier = /* #__PURE__ */ (() =&gt; {
9974 return request; 10418 return request;
9975 })(); 10419 })();
9976 10420
  10421 +/** @description request parameter type for postServiceOrderRemindShipping */
  10422 +export interface PostServiceOrderRemindShippingOption {
  10423 + /**
  10424 + * @description
  10425 + * dto
  10426 + */
  10427 + body: {
  10428 + /**
  10429 + @description
  10430 + dto */
  10431 + dto: Dto;
  10432 + };
  10433 +}
  10434 +
  10435 +/** @description response type for postServiceOrderRemindShipping */
  10436 +export interface PostServiceOrderRemindShippingResponse {
  10437 + /**
  10438 + * @description
  10439 + * OK
  10440 + */
  10441 + 200: ServerResult;
  10442 + /**
  10443 + * @description
  10444 + * Created
  10445 + */
  10446 + 201: any;
  10447 + /**
  10448 + * @description
  10449 + * Unauthorized
  10450 + */
  10451 + 401: any;
  10452 + /**
  10453 + * @description
  10454 + * Forbidden
  10455 + */
  10456 + 403: any;
  10457 + /**
  10458 + * @description
  10459 + * Not Found
  10460 + */
  10461 + 404: any;
  10462 +}
  10463 +
  10464 +export type PostServiceOrderRemindShippingResponseSuccess =
  10465 + PostServiceOrderRemindShippingResponse[200];
  10466 +/**
  10467 + * @description
  10468 + * 提醒发货
  10469 + * @tags 内部订单
  10470 + * @produces *
  10471 + * @consumes application/json
  10472 + */
  10473 +export const postServiceOrderRemindShipping = /* #__PURE__ */ (() => {
  10474 + const method = "post";
  10475 + const url = "/service/order/remindShipping";
  10476 + function request(
  10477 + option: PostServiceOrderRemindShippingOption
  10478 + ): Promise<PostServiceOrderRemindShippingResponseSuccess> {
  10479 + return requester(request.url, {
  10480 + method: request.method,
  10481 + ...option,
  10482 + }) as unknown as Promise<PostServiceOrderRemindShippingResponseSuccess>;
  10483 + }
  10484 +
  10485 + /** http method */
  10486 + request.method = method;
  10487 + /** request url */
  10488 + request.url = url;
  10489 + return request;
  10490 +})();
  10491 +
9977 /** @description request parameter type for postServiceOrderSaleCancelInvoicing */ 10492 /** @description request parameter type for postServiceOrderSaleCancelInvoicing */
9978 export interface PostServiceOrderSaleCancelInvoicingOption { 10493 export interface PostServiceOrderSaleCancelInvoicingOption {
9979 /** 10494 /**
@@ -10027,10 +10542,10 @@ export type PostServiceOrderSaleCancelInvoicingResponseSuccess = @@ -10027,10 +10542,10 @@ export type PostServiceOrderSaleCancelInvoicingResponseSuccess =
10027 * @consumes application/json 10542 * @consumes application/json
10028 */ 10543 */
10029 export const postServiceOrderSaleCancelInvoicing = /* #__PURE__ */ (() => { 10544 export const postServiceOrderSaleCancelInvoicing = /* #__PURE__ */ (() => {
10030 - const method = 'post';  
10031 - const url = '/service/order/saleCancelInvoicing'; 10545 + const method = "post";
  10546 + const url = "/service/order/saleCancelInvoicing";
10032 function request( 10547 function request(
10033 - option: PostServiceOrderSaleCancelInvoicingOption, 10548 + option: PostServiceOrderSaleCancelInvoicingOption
10034 ): Promise<PostServiceOrderSaleCancelInvoicingResponseSuccess> { 10549 ): Promise<PostServiceOrderSaleCancelInvoicingResponseSuccess> {
10035 return requester(request.url, { 10550 return requester(request.url, {
10036 method: request.method, 10551 method: request.method,
@@ -10098,10 +10613,10 @@ export type PostServiceOrderSendProductResponseSuccess = @@ -10098,10 +10613,10 @@ export type PostServiceOrderSendProductResponseSuccess =
10098 * @consumes application/json 10613 * @consumes application/json
10099 */ 10614 */
10100 export const postServiceOrderSendProduct = /* #__PURE__ */ (() => { 10615 export const postServiceOrderSendProduct = /* #__PURE__ */ (() => {
10101 - const method = 'post';  
10102 - const url = '/service/order/sendProduct'; 10616 + const method = "post";
  10617 + const url = "/service/order/sendProduct";
10103 function request( 10618 function request(
10104 - option: PostServiceOrderSendProductOption, 10619 + option: PostServiceOrderSendProductOption
10105 ): Promise<PostServiceOrderSendProductResponseSuccess> { 10620 ): Promise<PostServiceOrderSendProductResponseSuccess> {
10106 return requester(request.url, { 10621 return requester(request.url, {
10107 method: request.method, 10622 method: request.method,
@@ -10169,10 +10684,10 @@ export type PostServiceOrderShippingWarehouseChangeResponseSuccess = @@ -10169,10 +10684,10 @@ export type PostServiceOrderShippingWarehouseChangeResponseSuccess =
10169 * @consumes application/json 10684 * @consumes application/json
10170 */ 10685 */
10171 export const postServiceOrderShippingWarehouseChange = /* #__PURE__ */ (() => { 10686 export const postServiceOrderShippingWarehouseChange = /* #__PURE__ */ (() => {
10172 - const method = 'post';  
10173 - const url = '/service/order/shippingWarehouseChange'; 10687 + const method = "post";
  10688 + const url = "/service/order/shippingWarehouseChange";
10174 function request( 10689 function request(
10175 - option: PostServiceOrderShippingWarehouseChangeOption, 10690 + option: PostServiceOrderShippingWarehouseChangeOption
10176 ): Promise<PostServiceOrderShippingWarehouseChangeResponseSuccess> { 10691 ): Promise<PostServiceOrderShippingWarehouseChangeResponseSuccess> {
10177 return requester(request.url, { 10692 return requester(request.url, {
10178 method: request.method, 10693 method: request.method,
@@ -10240,10 +10755,10 @@ export type PostServiceOrderSupplierPrintResponseSuccess = @@ -10240,10 +10755,10 @@ export type PostServiceOrderSupplierPrintResponseSuccess =
10240 * @consumes application/json 10755 * @consumes application/json
10241 */ 10756 */
10242 export const postServiceOrderSupplierPrint = /* #__PURE__ */ (() => { 10757 export const postServiceOrderSupplierPrint = /* #__PURE__ */ (() => {
10243 - const method = 'post';  
10244 - const url = '/service/order/supplierPrint'; 10758 + const method = "post";
  10759 + const url = "/service/order/supplierPrint";
10245 function request( 10760 function request(
10246 - option: PostServiceOrderSupplierPrintOption, 10761 + option: PostServiceOrderSupplierPrintOption
10247 ): Promise<PostServiceOrderSupplierPrintResponseSuccess> { 10762 ): Promise<PostServiceOrderSupplierPrintResponseSuccess> {
10248 return requester(request.url, { 10763 return requester(request.url, {
10249 method: request.method, 10764 method: request.method,
@@ -10311,10 +10826,10 @@ export type PostServiceOrderSupplierSendOrderResponseSuccess = @@ -10311,10 +10826,10 @@ export type PostServiceOrderSupplierSendOrderResponseSuccess =
10311 * @consumes application/json 10826 * @consumes application/json
10312 */ 10827 */
10313 export const postServiceOrderSupplierSendOrder = /* #__PURE__ */ (() => { 10828 export const postServiceOrderSupplierSendOrder = /* #__PURE__ */ (() => {
10314 - const method = 'post';  
10315 - const url = '/service/order/supplierSendOrder'; 10829 + const method = "post";
  10830 + const url = "/service/order/supplierSendOrder";
10316 function request( 10831 function request(
10317 - option: PostServiceOrderSupplierSendOrderOption, 10832 + option: PostServiceOrderSupplierSendOrderOption
10318 ): Promise<PostServiceOrderSupplierSendOrderResponseSuccess> { 10833 ): Promise<PostServiceOrderSupplierSendOrderResponseSuccess> {
10319 return requester(request.url, { 10834 return requester(request.url, {
10320 method: request.method, 10835 method: request.method,
@@ -10382,10 +10897,10 @@ export type PostServiceOrderToProcureAuditResponseSuccess = @@ -10382,10 +10897,10 @@ export type PostServiceOrderToProcureAuditResponseSuccess =
10382 * @consumes application/json 10897 * @consumes application/json
10383 */ 10898 */
10384 export const postServiceOrderToProcureAudit = /* #__PURE__ */ (() => { 10899 export const postServiceOrderToProcureAudit = /* #__PURE__ */ (() => {
10385 - const method = 'post';  
10386 - const url = '/service/order/toProcureAudit'; 10900 + const method = "post";
  10901 + const url = "/service/order/toProcureAudit";
10387 function request( 10902 function request(
10388 - option: PostServiceOrderToProcureAuditOption, 10903 + option: PostServiceOrderToProcureAuditOption
10389 ): Promise<PostServiceOrderToProcureAuditResponseSuccess> { 10904 ): Promise<PostServiceOrderToProcureAuditResponseSuccess> {
10390 return requester(request.url, { 10905 return requester(request.url, {
10391 method: request.method, 10906 method: request.method,
@@ -10453,10 +10968,10 @@ export type PostServiceOrderUpdateAnnexResponseSuccess = @@ -10453,10 +10968,10 @@ export type PostServiceOrderUpdateAnnexResponseSuccess =
10453 * @consumes application/json 10968 * @consumes application/json
10454 */ 10969 */
10455 export const postServiceOrderUpdateAnnex = /* #__PURE__ */ (() => { 10970 export const postServiceOrderUpdateAnnex = /* #__PURE__ */ (() => {
10456 - const method = 'post';  
10457 - const url = '/service/order/updateAnnex'; 10971 + const method = "post";
  10972 + const url = "/service/order/updateAnnex";
10458 function request( 10973 function request(
10459 - option: PostServiceOrderUpdateAnnexOption, 10974 + option: PostServiceOrderUpdateAnnexOption
10460 ): Promise<PostServiceOrderUpdateAnnexResponseSuccess> { 10975 ): Promise<PostServiceOrderUpdateAnnexResponseSuccess> {
10461 return requester(request.url, { 10976 return requester(request.url, {
10462 method: request.method, 10977 method: request.method,
@@ -10524,10 +11039,10 @@ export type PostServiceOrderUpdateHirePurchaseResponseSuccess = @@ -10524,10 +11039,10 @@ export type PostServiceOrderUpdateHirePurchaseResponseSuccess =
10524 * @consumes application/json 11039 * @consumes application/json
10525 */ 11040 */
10526 export const postServiceOrderUpdateHirePurchase = /* #__PURE__ */ (() => { 11041 export const postServiceOrderUpdateHirePurchase = /* #__PURE__ */ (() => {
10527 - const method = 'post';  
10528 - const url = '/service/order/updateHirePurchase'; 11042 + const method = "post";
  11043 + const url = "/service/order/updateHirePurchase";
10529 function request( 11044 function request(
10530 - option: PostServiceOrderUpdateHirePurchaseOption, 11045 + option: PostServiceOrderUpdateHirePurchaseOption
10531 ): Promise<PostServiceOrderUpdateHirePurchaseResponseSuccess> { 11046 ): Promise<PostServiceOrderUpdateHirePurchaseResponseSuccess> {
10532 return requester(request.url, { 11047 return requester(request.url, {
10533 method: request.method, 11048 method: request.method,
@@ -10595,10 +11110,10 @@ export type PostServiceOrderUpdateOrderResponseSuccess = @@ -10595,10 +11110,10 @@ export type PostServiceOrderUpdateOrderResponseSuccess =
10595 * @consumes application/json 11110 * @consumes application/json
10596 */ 11111 */
10597 export const postServiceOrderUpdateOrder = /* #__PURE__ */ (() => { 11112 export const postServiceOrderUpdateOrder = /* #__PURE__ */ (() => {
10598 - const method = 'post';  
10599 - const url = '/service/order/updateOrder'; 11113 + const method = "post";
  11114 + const url = "/service/order/updateOrder";
10600 function request( 11115 function request(
10601 - option: PostServiceOrderUpdateOrderOption, 11116 + option: PostServiceOrderUpdateOrderOption
10602 ): Promise<PostServiceOrderUpdateOrderResponseSuccess> { 11117 ): Promise<PostServiceOrderUpdateOrderResponseSuccess> {
10603 return requester(request.url, { 11118 return requester(request.url, {
10604 method: request.method, 11119 method: request.method,
@@ -10666,10 +11181,10 @@ export type PostServiceOrderUpdateReportFormsTargetResponseSuccess = @@ -10666,10 +11181,10 @@ export type PostServiceOrderUpdateReportFormsTargetResponseSuccess =
10666 * @consumes application/json 11181 * @consumes application/json
10667 */ 11182 */
10668 export const postServiceOrderUpdateReportFormsTarget = /* #__PURE__ */ (() => { 11183 export const postServiceOrderUpdateReportFormsTarget = /* #__PURE__ */ (() => {
10669 - const method = 'post';  
10670 - const url = '/service/order/updateReportFormsTarget'; 11184 + const method = "post";
  11185 + const url = "/service/order/updateReportFormsTarget";
10671 function request( 11186 function request(
10672 - option: PostServiceOrderUpdateReportFormsTargetOption, 11187 + option: PostServiceOrderUpdateReportFormsTargetOption
10673 ): Promise<PostServiceOrderUpdateReportFormsTargetResponseSuccess> { 11188 ): Promise<PostServiceOrderUpdateReportFormsTargetResponseSuccess> {
10674 return requester(request.url, { 11189 return requester(request.url, {
10675 method: request.method, 11190 method: request.method,
@@ -10684,6 +11199,77 @@ export const postServiceOrderUpdateReportFormsTarget = /* #__PURE__ */ (() =&gt; { @@ -10684,6 +11199,77 @@ export const postServiceOrderUpdateReportFormsTarget = /* #__PURE__ */ (() =&gt; {
10684 return request; 11199 return request;
10685 })(); 11200 })();
10686 11201
  11202 +/** @description request parameter type for postServiceOrderUploadPaymentReceipt */
  11203 +export interface PostServiceOrderUploadPaymentReceiptOption {
  11204 + /**
  11205 + * @description
  11206 + * dto
  11207 + */
  11208 + body: {
  11209 + /**
  11210 + @description
  11211 + dto */
  11212 + dto: UploadPaymentReceiptDTO;
  11213 + };
  11214 +}
  11215 +
  11216 +/** @description response type for postServiceOrderUploadPaymentReceipt */
  11217 +export interface PostServiceOrderUploadPaymentReceiptResponse {
  11218 + /**
  11219 + * @description
  11220 + * OK
  11221 + */
  11222 + 200: ServerResult;
  11223 + /**
  11224 + * @description
  11225 + * Created
  11226 + */
  11227 + 201: any;
  11228 + /**
  11229 + * @description
  11230 + * Unauthorized
  11231 + */
  11232 + 401: any;
  11233 + /**
  11234 + * @description
  11235 + * Forbidden
  11236 + */
  11237 + 403: any;
  11238 + /**
  11239 + * @description
  11240 + * Not Found
  11241 + */
  11242 + 404: any;
  11243 +}
  11244 +
  11245 +export type PostServiceOrderUploadPaymentReceiptResponseSuccess =
  11246 + PostServiceOrderUploadPaymentReceiptResponse[200];
  11247 +/**
  11248 + * @description
  11249 + * 上传回款单
  11250 + * @tags 内部订单
  11251 + * @produces *
  11252 + * @consumes application/json
  11253 + */
  11254 +export const postServiceOrderUploadPaymentReceipt = /* #__PURE__ */ (() => {
  11255 + const method = "post";
  11256 + const url = "/service/order/uploadPaymentReceipt";
  11257 + function request(
  11258 + option: PostServiceOrderUploadPaymentReceiptOption
  11259 + ): Promise<PostServiceOrderUploadPaymentReceiptResponseSuccess> {
  11260 + return requester(request.url, {
  11261 + method: request.method,
  11262 + ...option,
  11263 + }) as unknown as Promise<PostServiceOrderUploadPaymentReceiptResponseSuccess>;
  11264 + }
  11265 +
  11266 + /** http method */
  11267 + request.method = method;
  11268 + /** request url */
  11269 + request.url = url;
  11270 + return request;
  11271 +})();
  11272 +
10687 /** @description request parameter type for postServiceOrderViewImages */ 11273 /** @description request parameter type for postServiceOrderViewImages */
10688 export interface PostServiceOrderViewImagesOption { 11274 export interface PostServiceOrderViewImagesOption {
10689 /** 11275 /**
@@ -10737,10 +11323,10 @@ export type PostServiceOrderViewImagesResponseSuccess = @@ -10737,10 +11323,10 @@ export type PostServiceOrderViewImagesResponseSuccess =
10737 * @consumes application/json 11323 * @consumes application/json
10738 */ 11324 */
10739 export const postServiceOrderViewImages = /* #__PURE__ */ (() => { 11325 export const postServiceOrderViewImages = /* #__PURE__ */ (() => {
10740 - const method = 'post';  
10741 - const url = '/service/order/viewImages'; 11326 + const method = "post";
  11327 + const url = "/service/order/viewImages";
10742 function request( 11328 function request(
10743 - option: PostServiceOrderViewImagesOption, 11329 + option: PostServiceOrderViewImagesOption
10744 ): Promise<PostServiceOrderViewImagesResponseSuccess> { 11330 ): Promise<PostServiceOrderViewImagesResponseSuccess> {
10745 return requester(request.url, { 11331 return requester(request.url, {
10746 method: request.method, 11332 method: request.method,
@@ -10806,10 +11392,10 @@ export type GetServiceTogglesResponseSuccess = GetServiceTogglesResponse[200]; @@ -10806,10 +11392,10 @@ export type GetServiceTogglesResponseSuccess = GetServiceTogglesResponse[200];
10806 * @produces * 11392 * @produces *
10807 */ 11393 */
10808 export const getServiceToggles = /* #__PURE__ */ (() => { 11394 export const getServiceToggles = /* #__PURE__ */ (() => {
10809 - const method = 'get';  
10810 - const url = '/service/toggles'; 11395 + const method = "get";
  11396 + const url = "/service/toggles";
10811 function request( 11397 function request(
10812 - option?: GetServiceTogglesOption, 11398 + option?: GetServiceTogglesOption
10813 ): Promise<GetServiceTogglesResponseSuccess> { 11399 ): Promise<GetServiceTogglesResponseSuccess> {
10814 return requester(request.url, { 11400 return requester(request.url, {
10815 method: request.method, 11401 method: request.method,
src/utils/order.ts
1 import { cloneDeep } from 'lodash'; 1 import { cloneDeep } from 'lodash';
  2 +import { getUserInfo } from '.';
2 export function getReceivingCompanyOptions(PAYEE_OPTIONS: any) { 3 export function getReceivingCompanyOptions(PAYEE_OPTIONS: any) {
3 let payeeOptions = cloneDeep(PAYEE_OPTIONS); 4 let payeeOptions = cloneDeep(PAYEE_OPTIONS);
4 payeeOptions.ANY = '任意'; 5 payeeOptions.ANY = '任意';
5 return payeeOptions; 6 return payeeOptions;
6 } 7 }
  8 +
  9 +export function isSupplier(){
  10 + let userInfo = getUserInfo();
  11 + if(userInfo){
  12 + return ['首能','枭源'].includes(userInfo.username);
  13 + }
  14 + return false;
  15 +}