Commit 08a71b12633fbbad4103324c02223d600b6987f1

Authored by zhusen
2 parents 15c41122 7293ba72

Merge branch 'zhongnanhuang' into 'develop'

feat:Updated add order, review order, and financial information Drawer

对新增、审核接口进行了调整。新增了财务信息窗口。

See merge request !2
.umirc.ts
... ... @@ -12,8 +12,8 @@ export default defineConfig({
12 12 title: '订单管理系统',
13 13 },
14 14 proxy: {
15   - '/erp/': {
16   - target: 'http://39.108.227.113:3000/mock/39',
  15 + '/service/': {
  16 + target: 'http://39.108.227.113:8085/',
17 17 changeOrigin: true,
18 18 // pathRewrite: { '^/api': '' },
19 19 },
... ...
src/app.ts
... ... @@ -90,7 +90,7 @@ export const request: RequestConfig = {
90 90 (response) => {
91 91 // 不再需要异步处理读取返回体内容,可直接在data中读出,部分字段可在 config 中找到
92 92 const { data = {} as any } = response;
93   - if (data.code !== RESPONSE_CODE.SUCCESS) {
  93 + if (data.result !== RESPONSE_CODE.SUCCESS) {
94 94 message.error('服务器错误,请稍后再试!');
95 95 }
96 96 // do something
... ...
src/pages/Order/components/CheckModal.tsx
  1 +import { postServiceOrderCheckOrder } from '@/services';
1 2 import { ModalForm, ProFormTextArea } from '@ant-design/pro-components';
2   -import { Form, message } from 'antd';
3   -
4   -export default ({ setCheckVisible }) => {
  3 +import { Button, Form, message } from 'antd';
  4 +export default ({ setCheckVisible, data, onClose }) => {
5 5 const [form] = Form.useForm<{ name: string; company: string }>();
  6 + let subOrderIds: any[] = [];
  7 + const subOrderList = data.subOrderInformationLists;
  8 + //是单条子订单审核
  9 + if (subOrderList === undefined) {
  10 + subOrderIds = [data.id];
  11 + } else {
  12 + subOrderIds = subOrderList.map((subOrder) => subOrder.id);
  13 + }
  14 + async function doCheck(body: object) {
  15 + const res = await postServiceOrderCheckOrder({
  16 + data: body,
  17 + });
  18 + if (res.result === 0) {
  19 + message.success(res.message);
  20 + } else {
  21 + message.error(res.message);
  22 + }
  23 + onClose();
  24 + return true;
  25 + }
6 26 return (
7 27 <ModalForm<{
8 28 name: string;
... ... @@ -21,12 +41,35 @@ export default ({ setCheckVisible }) =&gt; {
21 41 setCheckVisible(false);
22 42 },
23 43 }}
  44 + submitter={{
  45 + render: (props, defaultDoms) => {
  46 + return [
  47 + <Button
  48 + key="驳回"
  49 + onClick={() => {
  50 + doCheck({
  51 + flag: false,
  52 + ids: subOrderIds,
  53 + checkNotes: form.getFieldValue('name'),
  54 + });
  55 + }}
  56 + >
  57 + 驳回
  58 + </Button>,
  59 + defaultDoms[1],
  60 + ];
  61 + },
  62 + }}
24 63 submitTimeout={2000}
25 64 onFinish={async (values) => {
26   - console.log(values.name);
27   - message.success('提交成功');
28   - return true;
  65 + //审核通过
  66 + return doCheck({
  67 + flag: true,
  68 + ids: subOrderIds,
  69 + checkNotes: values.name,
  70 + });
29 71 }}
  72 + onOpenChange={setCheckVisible}
30 73 >
31 74 <div>请特别注意订单总金额与订单金额。</div>
32 75 <ProFormTextArea
... ...
src/pages/Order/components/DeliverModal.tsx
  1 +import { enumToSelect } from '@/utils';
1 2 import {
2 3 ProColumns,
3 4 ProForm,
  5 + ProFormSelect,
4 6 ProFormText,
5 7 ProTable,
6 8 } from '@ant-design/pro-components';
7   -import { Button, Input, InputNumber, Modal } from 'antd';
  9 +import { Button, InputNumber, Modal } from 'antd';
8 10 import { cloneDeep } from 'lodash';
9 11 import { useEffect, useRef, useState } from 'react';
  12 +import { LOGISTICS_STATUS_OPTIONS } from '../constant';
10 13  
11 14 const DeliverModal = ({ data: propsData, onClose }) => {
12 15 const [data, setData] = useState(propsData || {});
... ... @@ -40,18 +43,21 @@ const DeliverModal = ({ data: propsData, onClose }) =&gt; {
40 43 {
41 44 title: '物流方式',
42 45 width: 180,
43   - key: 'paymentChannel',
44   - render: (_, record, index) => (
45   - <Input
46   - value={record.paymentChannel}
47   - onChange={handleChange('paymentChannel', index)}
  46 + key: 'logisticsMethod',
  47 + render: () => (
  48 + <ProFormSelect
  49 + placeholder="请输入物流方式"
  50 + name="logisticsMethod"
  51 + width="lg"
  52 + label="物流方式"
  53 + options={enumToSelect(LOGISTICS_STATUS_OPTIONS)}
48 54 />
49 55 ),
50 56 },
51 57 {
52 58 title: '物流单号',
53 59 width: 180,
54   - key: 'productCode',
  60 + key: 'serialNumber',
55 61 render: (_, record, index) => (
56 62 <InputNumber
57 63 value={record.productCode}
... ...
src/pages/Order/components/FinancialDrawer.tsx 0 → 100644
  1 +// import { PlusOutlined } from '@ant-design/icons';
  2 +import {
  3 + DrawerForm,
  4 + ProFormDatePicker,
  5 + ProFormText,
  6 +} from '@ant-design/pro-components';
  7 +import { Form, message } from 'antd';
  8 +
  9 +// const waitTime = (time: number = 100) => {
  10 +// return new Promise((resolve) => {
  11 +// setTimeout(() => {
  12 +// resolve(true);
  13 +// }, time);
  14 +// });
  15 +// };
  16 +
  17 +export default ({ onClose }) => {
  18 + // const [expandedRowKeys, setExpandedRowKeys] = useState<readonly Key[]>([]);
  19 + const [form] = Form.useForm<{ name: string; company: string }>();
  20 + // const actionRef = useRef<
  21 + // FormListActionType<{
  22 + // name: string;
  23 + // }>
  24 + // >();
  25 + //作为商品行号
  26 + // const rowRumber = useRef(0);
  27 +
  28 + return (
  29 + <DrawerForm<{
  30 + name: string;
  31 + company: string;
  32 + }>
  33 + open
  34 + title="财务信息"
  35 + resize={{
  36 + onResize() {
  37 + console.log('resize!');
  38 + },
  39 + maxWidth: window.innerWidth * 0.8,
  40 + minWidth: 400,
  41 + }}
  42 + // layout="horizontal"
  43 + // labelCol={{ span: 8 }}
  44 + form={form}
  45 + autoFocusFirstInput
  46 + drawerProps={{
  47 + destroyOnClose: true,
  48 + }}
  49 + submitTimeout={2000}
  50 + onFinish={async (values) => {
  51 + console.log(form);
  52 + console.log(values);
  53 + console.log(values.name);
  54 + message.success('提交成功');
  55 + // 不返回不会关闭弹框
  56 + // onClose();
  57 + return true;
  58 + }}
  59 + onOpenChange={(val) => {
  60 + return !val && onClose();
  61 + }}
  62 + >
  63 + <ProFormText
  64 + width="lg"
  65 + name="invoiceInformation"
  66 + label="开票信息"
  67 + placeholder="请输入开票信息"
  68 + />
  69 + <ProFormText
  70 + width="lg"
  71 + name="bank"
  72 + label="开户银行"
  73 + placeholder="请输入开户银行"
  74 + />
  75 + <ProFormText
  76 + width="lg"
  77 + name="bankAccountNumber"
  78 + label="开户银行账号"
  79 + placeholder="请输入开户银行账号"
  80 + />
  81 + <ProFormDatePicker width="lg" name="contractTime" label="开票时间" />
  82 + <ProFormDatePicker width="lg" name="contractTime" label="收款时间" />
  83 + </DrawerForm>
  84 + );
  85 +};
... ...
src/pages/Order/components/OrderDrawer.tsx
1   -import { postErpOrderAdd } from '@/services';
  1 +import {
  2 + postServiceOrderAddOrder,
  3 + postServiceOrderQueryProductInformation,
  4 +} from '@/services';
  5 +import { enumToSelect } from '@/utils';
2 6 import {
3 7 DrawerForm,
4 8 FormListActionType,
5 9 ProCard,
6   - ProFormGroup,
  10 + ProFormDateTimePicker,
  11 + ProFormDigit,
7 12 ProFormList,
  13 + ProFormSelect,
8 14 ProFormText,
  15 + ProFormTextArea,
9 16 } from '@ant-design/pro-components';
10 17 import { Form, message } from 'antd';
11 18 import { useEffect, useRef } from 'react';
12   -import { useFieldAuth } from '../hooks';
13   -import { OPERATION_TYPE } from '../type.d';
  19 +import {
  20 + INVOCING_STATUS_OPTIONS,
  21 + PAYMENT_CHANNEL_OPTIONS,
  22 + PAYMENT_METHOD_OPTIONS,
  23 + PRODUCT_BELONG_DEPARTMENT_OPTIONS,
  24 +} from '../constant';
14 25  
15 26 export default ({ onClose, data }) => {
16   - const { authFields } = useFieldAuth({
17   - operation: data?.id ? OPERATION_TYPE.EDIT : OPERATION_TYPE.CREATE,
18   - });
19   - const [form] = Form.useForm<{ name: string; company: string }>();
  27 + const [form] = Form.useForm<{
  28 + salesCode: '';
  29 + customerName: '';
  30 + customerContactNumber: '';
  31 + institution: '';
  32 + institutionContactName: '';
  33 + customerShippingAddress: '';
  34 + totalPayment: '';
  35 + paymentChannel: '';
  36 + paymentMethod: '';
  37 + productBelongBusiness: '';
  38 + invoicingStatus: '';
  39 + invoiceIdentificationNumber: '';
  40 + invoicingTime: '';
  41 + bank: '';
  42 + bankAccountNumber: '';
  43 + notes: '';
  44 + list: [
  45 + {
  46 + productCode: '';
  47 + productName: '';
  48 + quantity: '';
  49 + productPrice: '';
  50 + parameters: '';
  51 + subOrderPayment: '';
  52 + unit: '';
  53 + serialNumber: '';
  54 + notes: '';
  55 + },
  56 + ];
  57 + }>();
20 58 const actionRef = useRef<
21 59 FormListActionType<{
22 60 name: string;
... ... @@ -29,13 +67,68 @@ export default ({ onClose, data }) =&gt; {
29 67 form.setFieldsValue({ ...data });
30 68 }, [data]);
31 69  
  70 + /**
  71 + *
  72 + * @param option 商品名称所对应的商品数据
  73 + * @param currentRowData list中当前行的数据
  74 + */
  75 + function autoFillProductInfo(option: any, currentRowData: any) {
  76 + let copyList = form.getFieldValue('list');
  77 + let currentData = copyList[currentRowData.field.key];
  78 + currentData.productCode = option.productCode;
  79 + currentData.parameters = option.specifications;
  80 + currentData.unit = option.unit;
  81 + form.setFieldValue('list', copyList);
  82 + }
  83 +
32 84 return (
33 85 <DrawerForm<{
34 86 name: string;
35 87 company: string;
36 88 }>
37 89 open
  90 + width="35%"
38 91 title="新建订单"
  92 + initialValues={{
  93 + customerName: '123',
  94 + customerContactNumber: '123',
  95 + institution: '123',
  96 + institutionContactName: '123',
  97 + customerShippingAddress: '123123',
  98 + totalPayment: '12312',
  99 + paymentChannel: 'BANK_TRANSFER',
  100 + paymentMethod: 'PAYMENT_IN_ADVANCE',
  101 + productBelongBusiness: 'EXPERIMENTAL_CONSUMABLES',
  102 + invoicingStatus: 'INVOICED',
  103 + invoiceIdentificationNumber: '12312',
  104 + invoicingTime: '2023-11-29 23:19:15',
  105 + bank: '123',
  106 + bankAccountNumber: '1231',
  107 + notes: '123',
  108 + list: [
  109 + {
  110 + productCode: 'qweq',
  111 + productName: 'qweqwe',
  112 + quantity: '99',
  113 + productPrice: '12313',
  114 + parameters: 'qweq',
  115 + subOrderPayment: '1231',
  116 + unit: 'qweq',
  117 + serialNumber: 'qwewqe',
  118 + notes: 'qweqw',
  119 + },
  120 + {
  121 + productName: 'asdsda',
  122 + productCode: 'dasda',
  123 + parameters: 'sdasa',
  124 + quantity: '99',
  125 + productPrice: '123',
  126 + unit: '123',
  127 + subOrderPayment: '123',
  128 + serialNumber: 'adadas',
  129 + },
  130 + ],
  131 + }}
39 132 resize={{
40 133 onResize() {
41 134 console.log('resize!');
... ... @@ -52,13 +145,10 @@ export default ({ onClose, data }) =&gt; {
52 145 }}
53 146 submitTimeout={2000}
54 147 onFinish={async (values) => {
55   - console.log(form);
56   - console.log(values);
57   - await postErpOrderAdd({ values });
58   - console.log(values.name);
  148 + await postServiceOrderAddOrder({ data: values });
59 149 message.success('提交成功');
60 150 // 不返回不会关闭弹框
61   - // onClose();
  151 + onClose();
62 152 return true;
63 153 }}
64 154 onOpenChange={(val) => {
... ... @@ -67,37 +157,30 @@ export default ({ onClose, data }) =&gt; {
67 157 >
68 158 <h2>订单基本信息</h2>
69 159 <ProFormText
70   - name="id"
71   - width="lg"
72   - label="订单编号"
73   - placeholder="请输入订单编号"
74   - disabled={authFields.id}
75   - />
76   - <ProFormText
77   - width="lg"
78 160 name="salesCode"
79   - label="销售代号"
80   - placeholder="请输入销售代号"
81   - disabled={authFields.salesCode}
  161 + width="lg"
  162 + disabled
  163 + label="销售代表"
  164 + placeholder="请输入销售代表"
  165 + initialValue="JOJO"
82 166 />
83 167 <ProFormText
84 168 name="customerName"
85 169 width="lg"
86 170 label="收货人"
87 171 placeholder="请输入收货人"
88   - disabled={authFields.customerName}
89 172 />
90 173 <ProFormText
91 174 width="lg"
92 175 name="customerContactNumber"
93   - label="收货人联系手机号"
94   - placeholder="请输入收货人联系手机号"
  176 + label="联系方式"
  177 + placeholder="请输入联系方式"
95 178 />
96 179 <ProFormText
97 180 width="lg"
98   - name="customerShippingAddress"
99   - label="收货人地址信息"
100   - placeholder="请输入收货人地址信息"
  181 + name="institution"
  182 + label="单位"
  183 + placeholder="请输入单位"
101 184 />
102 185 <ProFormText
103 186 width="lg"
... ... @@ -105,20 +188,85 @@ export default ({ onClose, data }) =&gt; {
105 188 label="单位联系人"
106 189 placeholder="请输入单位联系人"
107 190 />
  191 + <ProFormTextArea
  192 + width="lg"
  193 + name="customerShippingAddress"
  194 + label="收货地址"
  195 + placeholder="请输入收货地址"
  196 + />
  197 + <ProFormText name="totalPayment" width="lg" label="支付总额(¥)" />
  198 + <ProFormSelect
  199 + placeholder="请输入支付渠道"
  200 + name="paymentChannel"
  201 + width="lg"
  202 + label="支付渠道"
  203 + options={enumToSelect(PAYMENT_CHANNEL_OPTIONS)}
  204 + />
  205 + <ProFormSelect
  206 + placeholder="请输入支付方式"
  207 + name="paymentMethod"
  208 + width="lg"
  209 + label="支付方式"
  210 + options={enumToSelect(PAYMENT_METHOD_OPTIONS)}
  211 + />
  212 + <ProFormSelect
  213 + placeholder="请输入所属事业部"
  214 + name="productBelongBusiness"
  215 + width="lg"
  216 + label="所属事业部"
  217 + options={enumToSelect(PRODUCT_BELONG_DEPARTMENT_OPTIONS)}
  218 + />
  219 + <ProFormSelect
  220 + placeholder="选择是否要开票"
  221 + name="invoicingStatus"
  222 + width="lg"
  223 + label="是否要开票"
  224 + options={enumToSelect(INVOCING_STATUS_OPTIONS)}
  225 + />
108 226 <ProFormText
109 227 width="lg"
110   - name="institution"
111   - label="单位"
112   - placeholder="请输入单位"
  228 + name="invoiceIdentificationNumber"
  229 + label="开票信息"
  230 + placeholder="请输入开票信息"
  231 + />
  232 + <ProFormDateTimePicker
  233 + width="lg"
  234 + name="invoicingTime"
  235 + label="开票时间"
  236 + placeholder="请输入开票时间"
  237 + />
  238 + <ProFormText
  239 + width="lg"
  240 + name="bank"
  241 + label="开户银行"
  242 + placeholder="请输入开户银行"
  243 + />
  244 + <ProFormText
  245 + width="lg"
  246 + name="bankAccountNumber"
  247 + label="银行账号"
  248 + placeholder="请输入银行账号"
  249 + />
  250 + <ProFormText
  251 + width="lg"
  252 + name="notes"
  253 + label="备注"
  254 + placeholder="请输入备注"
113 255 />
114 256  
115   - <h2>商品基本信息</h2>
  257 + {/* <h2>商品基本信息</h2>
116 258 <ProFormText width="lg" name="totalPayment" label="支付总金额" />
117   - <ProFormText
  259 + <ProFormSelect
  260 + disabled
  261 + placeholder="请输入物流方式"
  262 + name="logisticsMethod"
118 263 width="lg"
119   - name="logisticsStatus"
120 264 label="物流方式"
121   - placeholder="请输入物流方式"
  265 + request={async () => {
  266 + // 发送请求获取选项数据
  267 + const { data } = await getServiceOrderProvideLogisticsStatus();
  268 + return enumToSelect(data);
  269 + }}
122 270 />
123 271 <ProFormText
124 272 width="lg"
... ... @@ -126,17 +274,28 @@ export default ({ onClose, data }) =&gt; {
126 274 label="支付状态"
127 275 placeholder="请输入支付状态"
128 276 />
129   - <ProFormText
130   - width="lg"
  277 +
  278 + <ProFormSelect
  279 + placeholder="请输入支付方式"
131 280 name="paymentMethod"
  281 + width="lg"
132 282 label="支付方式"
133   - placeholder="请输入支付方式"
  283 + request={async () => {
  284 + // 发送请求获取选项数据
  285 + const { data } = await getServiceOrderProvidePaymentMethod();
  286 + return enumToSelect(data);
  287 + }}
134 288 />
135   - <ProFormText
136   - width="lg"
  289 + <ProFormSelect
  290 + placeholder="请输入支付渠道"
137 291 name="paymentChannel"
  292 + width="lg"
138 293 label="支付渠道"
139   - placeholder="请输入支付渠道"
  294 + request={async () => {
  295 + // 发送请求获取选项数据
  296 + const { data } = await getServiceOrderProvidePaymentChannel();
  297 + return enumToSelect(data);
  298 + }}
140 299 />
141 300 <ProFormText
142 301 width="lg"
... ... @@ -185,11 +344,11 @@ export default ({ onClose, data }) =&gt; {
185 344 name="orderStatus"
186 345 label="订单状态"
187 346 placeholder="请输入订单状态"
188   - />
  347 + /> */}
189 348  
190 349 <h2>商品信息</h2>
191 350 <ProFormList
192   - name="subOrderInformationLists"
  351 + name="list"
193 352 label=""
194 353 initialValue={[
195 354 {
... ... @@ -217,70 +376,103 @@ export default ({ onClose, data }) =&gt; {
217 376 return;
218 377 }
219 378 rowNumber.current = 1;
220   - setTimeout(() => resolve(true), 1000);
  379 + setTimeout(() => {
  380 + resolve(true);
  381 + }, 1000);
221 382 });
222 383 },
223 384 }}
224   - itemRender={({ listDom, action }) => {
  385 + itemRender={(doms, listMeta) => {
  386 + // const list = actionRef.current?.getList();
225 387 return (
226 388 <ProCard
227 389 bordered
228   - extra={action}
  390 + extra={doms.action}
229 391 title={'商品' + rowNumber.current++}
230 392 style={{
231 393 marginBlockEnd: 8,
232 394 }}
233 395 >
234   - {listDom}
  396 + {[
  397 + <ProFormSelect
  398 + key={listMeta.field.key}
  399 + label="商品名称"
  400 + width="lg"
  401 + showSearch
  402 + name="productName"
  403 + placeholder="请搜索商品"
  404 + onChange={(_, option) => {
  405 + autoFillProductInfo(option, listMeta);
  406 + }}
  407 + request={async (value) => {
  408 + const { data } =
  409 + await postServiceOrderQueryProductInformation({
  410 + data: { productName: value.keyWords },
  411 + });
  412 + return data.map((p: any) => {
  413 + return { ...p, label: p.productName, value: p.id };
  414 + });
  415 + }}
  416 + />,
  417 + doms.listDom,
  418 + ]}
235 419 </ProCard>
236 420 );
237 421 }}
238 422 actionRef={actionRef}
239 423 >
240   - <ProFormGroup key="group">
241   - <ProFormText
242   - width="md"
243   - name="productCode"
244   - label="商品编码"
245   - placeholder="请输入商品编码"
246   - />
247   - <ProFormText
248   - width="md"
249   - name="productName"
250   - label="商品名称"
251   - placeholder="请输入商品名称"
252   - />
253   - <ProFormText
254   - width="md"
255   - name="quantity"
256   - label="商品数量"
257   - placeholder="请输入商品数量"
258   - />
259   - <ProFormText
260   - width="md"
261   - name="productPrice"
262   - label="商品单价"
263   - placeholder="请输入商品单价"
264   - />
265   - <ProFormText
266   - width="md"
267   - name="unit"
268   - label="价格单位"
269   - placeholder="请输入价格单位"
270   - />
271   - <ProFormText
272   - width="md"
273   - name="parameters"
274   - label="商品参数"
275   - placeholder="请输入商品参数"
276   - />
277   - <ProFormText
278   - width="md"
279   - name="subOrderPayment"
280   - label="子订单金额"
281   - placeholder="请输入子订单金额"
282   - />
283   - </ProFormGroup>
  424 + <ProFormText
  425 + width="lg"
  426 + name="productCode"
  427 + disabled
  428 + label="商品编码"
  429 + placeholder="未输入商品名称"
  430 + />
  431 + <ProFormText
  432 + width="lg"
  433 + disabled
  434 + name="parameters"
  435 + label="商品参数"
  436 + placeholder="请输入商品参数"
  437 + />
  438 + <ProFormText
  439 + width="lg"
  440 + name="quantity"
  441 + label="商品数量"
  442 + placeholder="请输入商品数量"
  443 + />
  444 + <ProFormDigit
  445 + width="lg"
  446 + name="productPrice"
  447 + label="商品单价"
  448 + placeholder="请输入商品单价"
  449 + />
  450 + <ProFormText
  451 + width="lg"
  452 + name="unit"
  453 + disabled
  454 + label="价格单位"
  455 + placeholder="请输入价格单位"
  456 + />
  457 +
  458 + <ProFormDigit
  459 + width="lg"
  460 + name="subOrderPayment"
  461 + label="子订单金额"
  462 + placeholder="请输入子订单金额"
  463 + />
  464 + <ProFormText
  465 + width="lg"
  466 + name="serialNumber"
  467 + label="物流单号"
  468 + placeholder="请输入物流单号"
  469 + />
  470 + <ProFormText
  471 + width="lg"
  472 + name="notes"
  473 + label="备注"
  474 + placeholder="请输入备注"
  475 + />
284 476 </ProFormList>
285 477  
286 478 {/* <ProFormDateRangePicker name="contractTime" label="合同生效时间" /> */}
... ...
src/pages/Order/constant.ts
... ... @@ -182,3 +182,41 @@ export const SUB_ORDER_COLUMNS = [
182 182 component: 'tag',
183 183 },
184 184 ];
  185 +
  186 +export const PAYMENT_CHANNEL_OPTIONS = {
  187 + ALIPAY: '支付宝',
  188 + WECHAT: '微信',
  189 + BANK_TRANSFER: '银行转账',
  190 +};
  191 +
  192 +export const PAYMENT_METHOD_OPTIONS = {
  193 + PAYMENT_IN_ADVANCE: '预付',
  194 + CASH_ON_DELIVERY: '货到付款',
  195 +};
  196 +
  197 +export const PRODUCT_BELONG_DEPARTMENT_OPTIONS = {
  198 + APPLICATION_PROJECT: '应用项目事业部门',
  199 + TEST: '测试事业部门',
  200 + CUSTOMIZATION: '定制化事业部门',
  201 + EXPERIMENTAL_EQUIPMENT: '实验设备事业部门',
  202 + EXPERIMENTAL_CONSUMABLES: '实验耗材事业部门',
  203 +};
  204 +
  205 +export const INVOCING_STATUS_OPTIONS = {
  206 + UN_INVOICE: '未开票',
  207 + INVOICED: '已开票',
  208 +};
  209 +
  210 +export const LOGISTICS_STATUS_OPTIONS = {
  211 + JINGDONG_LOGISTICS: '京东物流',
  212 + DEBANG_LOGISTICS: '德邦物流',
  213 +};
  214 +
  215 +export const ORDER_STATUS_OPTIONS = {
  216 + CONFIRM_RECEIPT: '确认收货',
  217 + UNAUDITED: '未审核',
  218 + AUDITED: '已审核',
  219 + WAIT_SHIP: '待发货',
  220 + AUDIT_FAILED: '审核失败',
  221 + SHIPPED: '已发货',
  222 +};
... ...
src/pages/Order/index.tsx
1 1 import ButtonConfirm from '@/components/ButtomConfirm';
2   -import { postErpOrderListByPage } from '@/services';
  2 +import { postServiceOrderQueryServiceOrder } from '@/services';
  3 +import { enumValueToLabel } from '@/utils';
3 4 import {
4 5 PageContainer,
5 6 ProColumns,
6 7 ProTable,
7 8 } from '@ant-design/pro-components';
8   -import { Button, Divider, Flex, Space, Tag, message } from 'antd';
9   -import { Key, useState } from 'react';
  9 +import { Button, Checkbox, Divider, Flex, Space, Tag, message } from 'antd';
  10 +import { Key, useRef, useState } from 'react';
10 11 import CheckModal from './components/CheckModal';
11 12 import DeliverModal from './components/DeliverModal';
12 13 import OrderDrawer from './components/OrderDrawer';
13   -import { MAIN_ORDER_COLUMNS, SUB_ORDER_COLUMNS } from './constant';
  14 +import {
  15 + INVOCING_STATUS_OPTIONS,
  16 + MAIN_ORDER_COLUMNS,
  17 + ORDER_STATUS_OPTIONS,
  18 + PAYMENT_CHANNEL_OPTIONS,
  19 + PAYMENT_METHOD_OPTIONS,
  20 + SUB_ORDER_COLUMNS,
  21 +} from './constant';
14 22 import './index.less';
15 23 import { OrderListItemType, OrderType } from './type.d';
16 24  
... ... @@ -20,27 +28,31 @@ const OrderPage = () =&gt; {
20 28 const [deliverVisible, setDeliverVisible] = useState<boolean>(false);
21 29 const [expandedRowKeys, setExpandedRowKeys] = useState<Key[]>([]);
22 30 const [orderRow, setOrderRow] = useState<Partial<OrderType>>({});
23   - const [subOrderShowText, setSubOrderShowText] = useState('订单详情');
  31 + const [mainOrderAllItemKeys, setMainOrderAllItemKeys] = useState([]);
24 32  
25 33 const [selectedRows, setSelectedRows] = useState({});
26 34 const [selectedRowObj, setSelectedRowObj] = useState({});
  35 + const [selectedItems, setSelectedItems] = useState([]);
  36 + const mainTableRef = useRef();
27 37  
28   - // const onCheckboxChange = (itemKey: number) => {
29   - // const newSelectedItems = selectedItems.includes(itemKey)
30   - // ? selectedItems.filter((key) => key !== itemKey)
31   - // : [...selectedItems, itemKey];
  38 + const onCheckboxChange = (itemKey: never) => {
  39 + const newSelectedItems = selectedItems.includes(itemKey)
  40 + ? selectedItems.filter((key) => key !== itemKey)
  41 + : [...selectedItems, itemKey];
32 42  
33   - // setSelectedItems(newSelectedItems);
34   - // };
  43 + setSelectedItems(newSelectedItems);
  44 + };
  45 + const handleAllExpand = () => {
  46 + if (expandedRowKeys.length === mainOrderAllItemKeys.length) {
  47 + setExpandedRowKeys([]);
  48 + return;
  49 + }
35 50  
  51 + setExpandedRowKeys(mainOrderAllItemKeys);
  52 + };
36 53 // 主订单内容渲染
37 54 const MainOrderColumnRender = ({ record }: { record: OrderListItemType }) => {
38 55 const handleExpand = (key: number) => {
39   - if (expandedRowKeys.includes(key)) {
40   - setSubOrderShowText('查看详情');
41   - } else {
42   - setSubOrderShowText('收起详情');
43   - }
44 56 const newExpandedRowKeys = expandedRowKeys.includes(key)
45 57 ? expandedRowKeys.filter((k) => k !== key)
46 58 : [...expandedRowKeys, key];
... ... @@ -51,15 +63,15 @@ const OrderPage = () =&gt; {
51 63 <Flex vertical={true}>
52 64 {/* 编号、时间、销售信息 */}
53 65 <Flex justify="space-between" className="px-2 py-4 bg-gray-100">
54   - {/* <Checkbox
55   - onChange={() => onCheckboxChange(record.main_order_id)}
56   - checked={selectedItems.includes(record.main_order_id)}
57   - > */}
58   - <Flex wrap="wrap" gap="middle">
59   - <div>{record.createTime}</div>
60   - <div>订单编号:{record.main_order_id}</div>
61   - </Flex>
62   - {/* </Checkbox> */}
  66 + <Checkbox
  67 + onChange={() => onCheckboxChange(record.id)}
  68 + checked={selectedItems.includes(record.id)}
  69 + >
  70 + <Flex wrap="wrap" gap="middle">
  71 + <div>{record.createTime}</div>
  72 + <div>订单编号:{record.id}</div>
  73 + </Flex>
  74 + </Checkbox>
63 75 </Flex>
64 76 {/* 收货、开票、备注信息 */}
65 77 <Flex justify="space-between" className="px-2 py-4">
... ... @@ -156,6 +168,7 @@ const OrderPage = () =&gt; {
156 168 className="p-0"
157 169 type="link"
158 170 onClick={() => {
  171 + setOrderRow(record);
159 172 setCheckVisible(true);
160 173 }}
161 174 >
... ... @@ -176,7 +189,7 @@ const OrderPage = () =&gt; {
176 189 onClick={() => handleExpand(record.id)}
177 190 size="small"
178 191 >
179   - {subOrderShowText}
  192 + {expandedRowKeys.includes(record.id) ? '收起详情' : '订单详情'}
180 193 </Button>
181 194 </Space.Compact>
182 195 </Space>
... ... @@ -211,11 +224,30 @@ const OrderPage = () =&gt; {
211 224 return {
212 225 ...item,
213 226 render: (text: string) => {
  227 + let label = enumValueToLabel(text, ORDER_STATUS_OPTIONS);
  228 + console.log('label:' + label);
  229 + if (label === undefined) {
  230 + label = enumValueToLabel(text, INVOCING_STATUS_OPTIONS);
  231 + }
214 232 let color = 'gold';
215   - if (text === '已开票' || text === '已审核') {
  233 + if (label === '已开票' || label === '已审核') {
216 234 color = 'green';
217 235 }
218   - return <Tag color={color}>{text}</Tag>;
  236 + return <Tag color={color}>{label}</Tag>;
  237 + },
  238 + };
  239 + }
  240 +
  241 + //枚举字段处理
  242 + if (item.key === 'paymentMethod' || item.key === 'paymentChannel') {
  243 + return {
  244 + ...item,
  245 + render: (text: string) => {
  246 + let label = enumValueToLabel(text, PAYMENT_CHANNEL_OPTIONS);
  247 + if (label === undefined) {
  248 + label = enumValueToLabel(text, PAYMENT_METHOD_OPTIONS);
  249 + }
  250 + return label;
219 251 },
220 252 };
221 253 }
... ... @@ -227,9 +259,15 @@ const OrderPage = () =&gt; {
227 259 dataIndex: 'operation',
228 260 key: 'operation',
229 261 align: 'center',
230   - render: () => (
  262 + render: (optText, optRecord) => (
231 263 <Flex>
232   - <Button type="link" size="small">
  264 + <Button
  265 + type="link"
  266 + size="small"
  267 + onClick={() => {
  268 + mainTableRef.current?.reload();
  269 + }}
  270 + >
233 271 编辑
234 272 </Button>
235 273 <Button
... ... @@ -237,7 +275,7 @@ const OrderPage = () =&gt; {
237 275 size="small"
238 276 onClick={() => {
239 277 setCheckVisible(true);
240   - setOrderRow(record);
  278 + setOrderRow(optRecord);
241 279 }}
242 280 >
243 281 审核
... ... @@ -294,11 +332,13 @@ const OrderPage = () =&gt; {
294 332 }}
295 333 >
296 334 <ProTable
  335 + actionRef={mainTableRef}
297 336 expandIconColumnIndex={-1}
298 337 columns={mainOrdersColumns}
299 338 rowKey="id"
300 339 pagination={{
301 340 showQuickJumper: true,
  341 + pageSize: 10,
302 342 }}
303 343 expandedRowKeys={expandedRowKeys}
304 344 expandable={{ expandedRowRender }}
... ... @@ -311,14 +351,11 @@ const OrderPage = () =&gt; {
311 351 request={async (
312 352 // 第一个参数 params 查询表单和 params 参数的结合
313 353 // 第一个参数中一定会有 pageSize 和 current ,这两个参数是 antd 的规范
314   - params: {
315   - pageSize: 10;
316   - current: 1;
317   - },
  354 + params,
318 355 sorter,
319 356 filter,
320 357 ) => {
321   - const { data } = await postErpOrderListByPage({
  358 + const { data } = await postServiceOrderQueryServiceOrder({
322 359 // ...params,
323 360 // FIXME: remove @ts-ignore
324 361 // @ts-ignore
... ... @@ -326,17 +363,27 @@ const OrderPage = () =&gt; {
326 363 filter,
327 364 data: params,
328 365 });
329   - console.log(data);
  366 + setMainOrderAllItemKeys(data?.data?.map((d) => d.id)); //存储所有主订单的key,一键展开用
330 367 return {
331 368 data: data?.data || [],
  369 + total: data?.total || 0,
332 370 };
333 371 }}
334 372 toolBarRender={() => [
335   - <Button key="show">一键展开</Button>,
  373 + <Button
  374 + key="show"
  375 + onClick={() => {
  376 + handleAllExpand();
  377 + }}
  378 + >
  379 + {mainOrderAllItemKeys.length !== expandedRowKeys.length
  380 + ? '一键展开'
  381 + : '一键收起'}
  382 + </Button>,
336 383 <Button key="out" onClick={() => setOrderDrawerVisible(true)}>
337 384 新增
338 385 </Button>,
339   - <Button key="primary" type="primary">
  386 + <Button key="primary" type="primary" onClick={() => {}}>
340 387 导出
341 388 </Button>,
342 389 ]}
... ... @@ -348,17 +395,19 @@ const OrderPage = () =&gt; {
348 395 onClose={() => {
349 396 setOrderDrawerVisible(false);
350 397 setOrderRow({});
  398 + mainTableRef.current?.reload();
351 399 }}
352 400 />
353 401 )}
354 402  
355 403 {checkVisible && (
356 404 <CheckModal
357   - data={orderRow}
358 405 setCheckVisible={setCheckVisible}
  406 + data={orderRow}
359 407 onClose={() => {
360 408 setCheckVisible(false);
361 409 setOrderRow({});
  410 + mainTableRef.current?.reload();
362 411 }}
363 412 />
364 413 )}
... ...
src/pages/OrderPrint/index.tsx
... ... @@ -19,7 +19,9 @@ function InvoiceDetails() {
19 19 <div className="grid grid-cols-2 gap-4 mb-6 text-sm">
20 20 <div>
21 21 <p>单位名称: 某某科技有限公司</p>
  22 + <p>联系人: 张三</p>
22 23 <p>联系电话: 18583817221</p>
  24 + <p>送货地址: 广东省东莞市</p>
23 25 </div>
24 26 <div className="text-right">
25 27 <p>编号: Canrd-DZ-2023-1101-004</p>
... ... @@ -34,24 +36,24 @@ function ProductsTable() {
34 36 <div className="mb-6">
35 37 <table className="w-full text-sm border border-gray-300 table-fixed">
36 38 <thead>
37   - <tr className="bg-gray-200">
  39 + <tr className="">
38 40 <th className="w-1/4 p-2 border border-gray-300 border-solid">
39   - 名称
  41 + 序号
40 42 </th>
41 43 <th className="w-1/6 p-2 border border-gray-300 border-solid">
42   - 规格
  44 + 订单号
43 45 </th>
44 46 <th className="w-1/6 p-2 border border-gray-300 border-solid">
45   - 单位
  47 + 货品名称
46 48 </th>
47 49 <th className="w-1/12 p-2 border border-gray-300 border-solid">
48   - 数量
  50 + 规格
49 51 </th>
50 52 <th className="w-1/6 p-2 border border-gray-300 border-solid">
51   - 单
  53 + 单
52 54 </th>
53 55 <th className="w-1/6 p-2 border border-gray-300 border-solid">
54   - 金额
  56 + 数量
55 57 </th>
56 58 <th className="w-1/4 p-2 border border-gray-300 border-solid">
57 59 备注
... ...
src/services/definition.ts
... ... @@ -2,3 +2,857 @@
2 2 /* tslint:disable */
3 3 /** Do not modify manually.
4 4 content is generated automatically by `ts-gear`. */
  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';
  74 +export interface AdminAuthRoleVO {
  75 + menuIds?: Array<number>;
  76 + /** @format int64 */
  77 + roleId?: number;
  78 +}
  79 +
  80 +export interface AdminAuthUserVO {
  81 + roleIds?: Array<number>;
  82 + /** @format int64 */
  83 + userId?: number;
  84 +}
  85 +
  86 +export interface AdminDeptQueryVO {
  87 + /** @format int32 */
  88 + current?: number;
  89 + /** @format int64 */
  90 + id?: number;
  91 + ids?: Array<number>;
  92 + name?: string;
  93 + /** @format int32 */
  94 + pageSize?: number;
  95 + /** @format int64 */
  96 + pid?: number;
  97 + /** @format int32 */
  98 + total?: number;
  99 +}
  100 +
  101 +export interface AdminDeptVO {
  102 + /** @format int64 */
  103 + id?: number;
  104 + name?: string;
  105 + /** @format int64 */
  106 + pid?: number;
  107 +}
  108 +
  109 +export interface AdminJobQueryVO {
  110 + /** @format int32 */
  111 + current?: number;
  112 + /** @format int64 */
  113 + id?: number;
  114 + ids?: Array<number>;
  115 + name?: string;
  116 + /** @format int32 */
  117 + pageSize?: number;
  118 + /** @format int32 */
  119 + sort?: number;
  120 + /** @format int32 */
  121 + total?: number;
  122 +}
  123 +
  124 +export interface AdminJobVO {
  125 + /** @format int64 */
  126 + id?: number;
  127 + name?: string;
  128 + /** @format int32 */
  129 + sort?: number;
  130 +}
  131 +
  132 +export interface AdminMenuQueryVO {
  133 + /** @format int32 */
  134 + cache?: number;
  135 + component?: string;
  136 + /** @format int32 */
  137 + current?: number;
  138 + /** @format int32 */
  139 + hidden?: number;
  140 + icon?: string;
  141 + /** @format int64 */
  142 + id?: number;
  143 + ids?: Array<number>;
  144 + /** @format int32 */
  145 + iframe?: number;
  146 + name?: string;
  147 + /** @format int32 */
  148 + pageSize?: number;
  149 + path?: string;
  150 + permission?: string;
  151 + /** @format int64 */
  152 + pid?: number;
  153 + /** @format int32 */
  154 + total?: number;
  155 + /** @format int32 */
  156 + type?: number;
  157 +}
  158 +
  159 +export interface AdminMenuVO {
  160 + /** @format int32 */
  161 + cache?: number;
  162 + component?: string;
  163 + /** @format int32 */
  164 + hidden?: number;
  165 + icon?: string;
  166 + /** @format int64 */
  167 + id?: number;
  168 + /** @format int32 */
  169 + iframe?: number;
  170 + name?: string;
  171 + path?: string;
  172 + permission?: string;
  173 + /** @format int64 */
  174 + pid?: number;
  175 + title?: string;
  176 + /** @format int32 */
  177 + type?: number;
  178 +}
  179 +
  180 +export interface AdminRoleQueryVO {
  181 + /** @format int32 */
  182 + current?: number;
  183 + dataScope?: string;
  184 + /** @format int64 */
  185 + id?: number;
  186 + ids?: Array<number>;
  187 + /** @format int32 */
  188 + level?: number;
  189 + name?: string;
  190 + /** @format int32 */
  191 + pageSize?: number;
  192 + permission?: string;
  193 + remark?: string;
  194 + /** @format int32 */
  195 + total?: number;
  196 +}
  197 +
  198 +export interface AdminRoleVO {
  199 + dataScope?: string;
  200 + description?: string;
  201 + /** @format int64 */
  202 + id?: number;
  203 + /** @format int32 */
  204 + level?: number;
  205 + name?: string;
  206 +}
  207 +
  208 +export interface AdminUserLoginByPhoneVO {
  209 + /** @format int32 */
  210 + current?: number;
  211 + /** @format int32 */
  212 + pageSize?: number;
  213 + phone?: string;
  214 + smsCaptchaCode?: string;
  215 + /** @format int32 */
  216 + total?: number;
  217 +}
  218 +
  219 +export interface AdminUserLoginByPwdVO {
  220 + /** @format int32 */
  221 + current?: number;
  222 + imgCaptchaCode?: string;
  223 + imgCaptchaUuid?: string;
  224 + /** @format int32 */
  225 + pageSize?: number;
  226 + password?: string;
  227 + /** @format int32 */
  228 + total?: number;
  229 + userName?: string;
  230 +}
  231 +
  232 +export interface AdminUserModifyPwdVO {
  233 + confirmPassword?: string;
  234 + /** @format int32 */
  235 + current?: number;
  236 + /** @format int32 */
  237 + pageSize?: number;
  238 + password?: string;
  239 + phone?: string;
  240 + smsCaptchaCode?: string;
  241 + /** @format int32 */
  242 + total?: number;
  243 +}
  244 +
  245 +export interface AdminUserPasswordRecoverEmailVO {
  246 + /** @format int32 */
  247 + current?: number;
  248 + /** @format int32 */
  249 + pageSize?: number;
  250 + /** @format int32 */
  251 + total?: number;
  252 + userName?: string;
  253 +}
  254 +
  255 +export interface AdminUserQueryVO {
  256 + /** @format int32 */
  257 + current?: number;
  258 + email?: string;
  259 + /** @format int64 */
  260 + id?: number;
  261 + ids?: Array<number>;
  262 + nickName?: string;
  263 + /** @format int32 */
  264 + pageSize?: number;
  265 + password?: string;
  266 + phone?: string;
  267 + sex?: string;
  268 + /** @format int32 */
  269 + total?: number;
  270 + userName?: string;
  271 + workerType?: string;
  272 +}
  273 +
  274 +export interface AdminUserRegisterVO {
  275 + confirmPassword?: string;
  276 + /** @format int32 */
  277 + current?: number;
  278 + email?: string;
  279 + isAgreeAgreement?: boolean;
  280 + /** @format int32 */
  281 + pageSize?: number;
  282 + password?: string;
  283 + phone?: string;
  284 + safeAnswer?: string;
  285 + safeQuestion?: string;
  286 + smsCaptchaCode?: string;
  287 + /** @format int32 */
  288 + total?: number;
  289 + userName?: string;
  290 +}
  291 +
  292 +export interface AdminUserVO {
  293 + avatarName?: string;
  294 + avatarPath?: string;
  295 + /** @format int64 */
  296 + deptId?: number;
  297 + email?: string;
  298 + gender?: string;
  299 + /** @format int64 */
  300 + id?: number;
  301 + isAdmin?: boolean;
  302 + nickName?: string;
  303 + password?: string;
  304 + phone?: string;
  305 + /** @format date-time */
  306 + pwdResetTime?: string;
  307 + remark?: string;
  308 + /** @format int64 */
  309 + roleId?: number;
  310 + userName?: string;
  311 +}
  312 +
  313 +export interface AuditVO {
  314 + /** @format int32 */
  315 + current?: number;
  316 + /** @format int64 */
  317 + id?: number;
  318 + /** @format int32 */
  319 + pageSize?: number;
  320 + /** @format int32 */
  321 + status?: number;
  322 + /** @format int32 */
  323 + total?: number;
  324 +}
  325 +
  326 +export interface CaptchaMessageVO {
  327 + /** @format int32 */
  328 + current?: number;
  329 + imgCaptchaCode?: string;
  330 + imgCaptchaUuid?: string;
  331 + /** @format int32 */
  332 + pageSize?: number;
  333 + phone?: string;
  334 + /** @format int32 */
  335 + total?: number;
  336 + type?: string;
  337 +}
  338 +
  339 +export interface DictionaryQueryVO {
  340 + /** @format int32 */
  341 + current?: number;
  342 + dictCode?: string;
  343 + dictName?: string;
  344 + dictValue?: string;
  345 + /** @format int64 */
  346 + id?: number;
  347 + ids?: Array<number>;
  348 + /** @format int32 */
  349 + pageSize?: number;
  350 + remark?: string;
  351 + /** @format int32 */
  352 + sort?: number;
  353 + /** @format int32 */
  354 + total?: number;
  355 +}
  356 +
  357 +export interface DictionaryVO {
  358 + dictCode?: string;
  359 + dictName?: string;
  360 + dictValue?: string;
  361 + /** @format int64 */
  362 + id?: number;
  363 + remark?: string;
  364 + /** @format int32 */
  365 + sort?: number;
  366 +}
  367 +
  368 +export interface ModelAndView {
  369 + empty?: boolean;
  370 + model?: any;
  371 + modelMap?: {
  372 + [propertyName: string]: any;
  373 + };
  374 + reference?: boolean;
  375 + status?: ModelAndViewStatus;
  376 + view?: View;
  377 + viewName?: string;
  378 +}
  379 +
  380 +export interface OrderAddVO {
  381 + baseInfo?: OrderBaseInfoVO;
  382 + inspectionStageInfo?: OrderInspectionStageVO;
  383 + profitAnalysisInfo?: OrderProfitAnalysisVO;
  384 + reportInfo?: OrderCompletionReportVO;
  385 + trackStageInfo?: OrderTrackStageVO;
  386 +}
  387 +
  388 +export interface OrderAuditLogQueryVO {
  389 + /** @format int64 */
  390 + applyId?: number;
  391 + /** @format int32 */
  392 + current?: number;
  393 + /** @format int64 */
  394 + id?: number;
  395 + ids?: Array<number>;
  396 + optType?: string;
  397 + /** @format int64 */
  398 + orderId?: number;
  399 + /** @format int32 */
  400 + pageSize?: number;
  401 + /** @format int32 */
  402 + total?: number;
  403 +}
  404 +
  405 +export interface OrderBaseFieldVO {
  406 + cnColor?: string;
  407 + collection?: string;
  408 + customerCode?: string;
  409 + customerPo?: string;
  410 + customerStyle?: string;
  411 + innerNo?: string;
  412 + modeleLo?: string;
  413 + orderComposition?: string;
  414 + orderCount?: string;
  415 + orderHodTime?: string;
  416 + orderStatus?: string;
  417 + outboundType?: string;
  418 + packetType?: string;
  419 + picUrl?: string;
  420 + poColor?: string;
  421 + productStyle?: string;
  422 + productionComment?: string;
  423 + productionDepartment?: string;
  424 + productionDepartmentConsignTime?: string;
  425 + projectNo?: string;
  426 +}
  427 +
  428 +export interface OrderBaseInfoQueryVO {
  429 + cnColor?: string;
  430 + collection?: string;
  431 + /** @format int32 */
  432 + current?: number;
  433 + customerCode?: string;
  434 + customerPo?: string;
  435 + customerStyle?: string;
  436 + /** @format int64 */
  437 + id?: number;
  438 + ids?: Array<number>;
  439 + innerNo?: string;
  440 + modeleLo?: string;
  441 + orderComposition?: string;
  442 + /** @format int32 */
  443 + orderCount?: number;
  444 + orderHodTime?: string;
  445 + outboundType?: string;
  446 + packetType?: string;
  447 + /** @format int32 */
  448 + pageSize?: number;
  449 + picUrl?: string;
  450 + poColor?: string;
  451 + productStyle?: string;
  452 + productionComment?: string;
  453 + productionDepartment?: string;
  454 + productionDepartmentConsignTime?: string;
  455 + projectNo?: string;
  456 + /** @format int32 */
  457 + total?: number;
  458 +}
  459 +
  460 +export interface OrderBaseInfoVO {
  461 + cnColor?: string;
  462 + collection?: string;
  463 + customerCode?: string;
  464 + customerPo?: string;
  465 + customerStyle?: string;
  466 + /** @format int64 */
  467 + id?: number;
  468 + innerNo?: string;
  469 + modeleLo?: string;
  470 + orderComposition?: string;
  471 + /** @format int32 */
  472 + orderCount?: number;
  473 + orderHodTime?: string;
  474 + /** @format int32 */
  475 + orderStatus?: number;
  476 + outboundType?: string;
  477 + packetType?: string;
  478 + picUrl?: string;
  479 + poColor?: string;
  480 + productStyle?: string;
  481 + productionComment?: string;
  482 + productionDepartment?: string;
  483 + productionDepartmentConsignTime?: string;
  484 + projectNo?: string;
  485 + smallPicUrl?: string;
  486 +}
  487 +
  488 +export interface OrderCompletionReportFieldVO {
  489 + ideaManualRate?: string;
  490 + ideaSource?: string;
  491 + manualPreform?: string;
  492 + /** @format int64 */
  493 + orderId?: number;
  494 + orderStatus?: string;
  495 +}
  496 +
  497 +export interface OrderCompletionReportVO {
  498 + /** @format int64 */
  499 + id?: number;
  500 + /** @format double */
  501 + ideaManualRate?: number;
  502 + ideaSource?: string;
  503 + manualPreform?: string;
  504 + /** @format int64 */
  505 + orderId?: number;
  506 + /** @format int32 */
  507 + orderStatus?: number;
  508 +}
  509 +
  510 +export interface OrderFieldLockApplyQueryVO {
  511 + /** @format int64 */
  512 + applyUserId?: number;
  513 + /** @format int64 */
  514 + auditUserId?: number;
  515 + /** @format int32 */
  516 + current?: number;
  517 + fields?: string;
  518 + /** @format int64 */
  519 + id?: number;
  520 + ids?: Array<number>;
  521 + /** @format int64 */
  522 + orderId?: number;
  523 + /** @format int32 */
  524 + pageSize?: number;
  525 + /** @format int32 */
  526 + status?: number;
  527 + statusList?: Array<number>;
  528 + /** @format int32 */
  529 + total?: number;
  530 + /** @format int32 */
  531 + type?: number;
  532 +}
  533 +
  534 +export interface OrderInspectionStageFieldVO {
  535 + boxPacket?: string;
  536 + electroplate?: string;
  537 + endCheckApplyTime?: string;
  538 + endCheckResult?: string;
  539 + functionality?: string;
  540 + midCheckApplyTime?: string;
  541 + midCheckComment?: string;
  542 + midCheckResult?: string;
  543 + orderStatus?: string;
  544 + specification?: string;
  545 + value1?: string;
  546 + value2?: string;
  547 + value3?: string;
  548 +}
  549 +
  550 +export interface OrderInspectionStageVO {
  551 + boxPacket?: string;
  552 + electroplate?: string;
  553 + endCheckApplyTime?: string;
  554 + endCheckResult?: string;
  555 + functionality?: string;
  556 + /** @format int64 */
  557 + id?: number;
  558 + midCheckApplyTime?: string;
  559 + midCheckComment?: string;
  560 + midCheckResult?: string;
  561 + /** @format int64 */
  562 + orderId?: number;
  563 + /** @format int32 */
  564 + orderStatus?: number;
  565 + specification?: string;
  566 + value1?: string;
  567 + value2?: string;
  568 + value3?: string;
  569 +}
  570 +
  571 +export interface OrderOptLogQueryVO {
  572 + /** @format int32 */
  573 + current?: number;
  574 + /** @format int64 */
  575 + id?: number;
  576 + ids?: Array<number>;
  577 + /** @format int64 */
  578 + orderId?: number;
  579 + /** @format int32 */
  580 + pageSize?: number;
  581 + /** @format int32 */
  582 + total?: number;
  583 +}
  584 +
  585 +export interface OrderProfitAnalysisFieldVO {
  586 + customerPrice?: string;
  587 + customerTotalPrice?: string;
  588 + exchangeRate?: string;
  589 + /** @format int64 */
  590 + orderId?: number;
  591 + orderStatus?: string;
  592 + packetPrice?: string;
  593 + packetTotalPrice?: string;
  594 + productionDepartmentPrice?: string;
  595 + productionDepartmentTotalPrice?: string;
  596 + profitRate?: string;
  597 +}
  598 +
  599 +export interface OrderProfitAnalysisVO {
  600 + customerCurrency?: string;
  601 + /** @format double */
  602 + customerPrice?: number;
  603 + /** @format double */
  604 + customerTotalPrice?: number;
  605 + /** @format double */
  606 + exchangeRate?: number;
  607 + /** @format int64 */
  608 + id?: number;
  609 + /** @format int64 */
  610 + orderId?: number;
  611 + /** @format int32 */
  612 + orderStatus?: number;
  613 + packetCurrency?: string;
  614 + /** @format double */
  615 + packetPrice?: number;
  616 + /** @format double */
  617 + packetTotalPrice?: number;
  618 + productionDepartmentCurrency?: string;
  619 + /** @format double */
  620 + productionDepartmentPrice?: number;
  621 + /** @format double */
  622 + productionDepartmentTotalPrice?: number;
  623 + /** @format double */
  624 + profitRate?: number;
  625 +}
  626 +
  627 +export interface OrderProfitAnalysisVo {
  628 + orderIds?: Array<number>;
  629 +}
  630 +
  631 +export interface OrderTrackStageFieldVO {
  632 + aitexTestFinishResult?: string;
  633 + aitexTestSendTime?: string;
  634 + barcodeStickerArrivalTime?: string;
  635 + esoSampleSendTime?: string;
  636 + latestArrivalTime?: string;
  637 + latestBkTime?: string;
  638 + orderStatus?: string;
  639 + ppConfirmResult?: string;
  640 + ppTime?: string;
  641 + selfTestPassTime?: string;
  642 + sgsTestFinishResult?: string;
  643 + sgsTestSendTime?: string;
  644 + shippmentSampleConfirmResult?: string;
  645 + shippmentSampleSendTime?: string;
  646 +}
  647 +
  648 +export interface OrderTrackStageVO {
  649 + aitexTestFinishResult?: string;
  650 + aitexTestSendTime?: string;
  651 + barcodeStickerArrivalTime?: string;
  652 + esoSampleSendTime?: string;
  653 + /** @format int64 */
  654 + id?: number;
  655 + latestArrivalTime?: string;
  656 + latestBkTime?: string;
  657 + /** @format int64 */
  658 + orderId?: number;
  659 + /** @format int32 */
  660 + orderStatus?: number;
  661 + ppConfirmResult?: string;
  662 + ppTime?: string;
  663 + selfTestPassTime?: string;
  664 + sgsTestFinishResult?: string;
  665 + sgsTestSendTime?: string;
  666 + shippmentSampleConfirmResult?: string;
  667 + shippmentSampleSendTime?: string;
  668 +}
  669 +
  670 +export interface OrderUnlockFieldApplyVO {
  671 + baseFields?: OrderBaseFieldVO;
  672 + inspectionStageFields?: OrderInspectionStageFieldVO;
  673 + /** @format int64 */
  674 + orderId?: number;
  675 + profitAnalysisFields?: OrderProfitAnalysisFieldVO;
  676 + reportFields?: OrderCompletionReportFieldVO;
  677 + trackStageFields?: OrderTrackStageFieldVO;
  678 +}
  679 +
  680 +export interface OrderUpdateVO {
  681 + baseInfo?: OrderBaseInfoVO;
  682 + inspectionStageInfo?: OrderInspectionStageVO;
  683 + /** @format int64 */
  684 + orderId?: number;
  685 + profitAnalysisInfo?: OrderProfitAnalysisVO;
  686 + reportInfo?: OrderCompletionReportVO;
  687 + trackStageInfo?: OrderTrackStageVO;
  688 +}
  689 +
  690 +export interface ProductInformationDto {
  691 + /**
  692 + * @description
  693 + * 货品编码
  694 + */
  695 + productCode?: string;
  696 + /**
  697 + * @description
  698 + * 货品名称
  699 + */
  700 + productName?: string;
  701 +}
  702 +
  703 +export interface ResetPwdVO {
  704 + /** @format int64 */
  705 + userId?: number;
  706 +}
  707 +
  708 +export interface ServerResult {
  709 + data?: any;
  710 + message?: string;
  711 + /** @format int32 */
  712 + result?: number;
  713 +}
  714 +
  715 +export interface SysLogQueryVO {
  716 + address?: string;
  717 + browser?: string;
  718 + /** @format int32 */
  719 + current?: number;
  720 + description?: string;
  721 + exceptionDetail?: string;
  722 + /** @format int64 */
  723 + id?: number;
  724 + ids?: Array<number>;
  725 + logType?: string;
  726 + method?: string;
  727 + /** @format int32 */
  728 + pageSize?: number;
  729 + params?: string;
  730 + requestIp?: string;
  731 + /** @format int64 */
  732 + time?: number;
  733 + /** @format int32 */
  734 + total?: number;
  735 + username?: string;
  736 +}
  737 +
  738 +export interface UpdatePwdVO {
  739 + confirmPassword?: string;
  740 + password?: string;
  741 + /** @format int64 */
  742 + userId?: number;
  743 +}
  744 +
  745 +export interface View {
  746 + contentType?: string;
  747 +}
  748 +
  749 +export interface Dto {
  750 + /**
  751 + * @description
  752 + * 银行名称
  753 + */
  754 + bank?: string;
  755 + /**
  756 + * @description
  757 + * 开始时间
  758 + * @format date-time
  759 + * @example
  760 + * 2023-11-11 10:10
  761 + */
  762 + beginTime?: string;
  763 + /** @format int32 */
  764 + current?: number;
  765 + /**
  766 + * @description
  767 + * 收货人联系手机号
  768 + */
  769 + customerContactNumber?: string;
  770 + /**
  771 + * @description
  772 + * 收货人姓名
  773 + */
  774 + customerName?: string;
  775 + /**
  776 + * @description
  777 + * 收货人地址信息
  778 + */
  779 + customerShippingAddress?: string;
  780 + /**
  781 + * @description
  782 + * 结束时间
  783 + * @format date-time
  784 + * @example
  785 + * 2023-11-11 10:20
  786 + */
  787 + endTime?: string;
  788 + /**
  789 + * @description
  790 + * 主订单号id
  791 + * @format int64
  792 + */
  793 + id?: number;
  794 + /**
  795 + * @description
  796 + * 单位
  797 + */
  798 + institution?: string;
  799 + /**
  800 + * @description
  801 + * 单位联系人
  802 + */
  803 + institutionContactName?: string;
  804 + /**
  805 + * @description
  806 + * 开票状态
  807 + */
  808 + invoicingStatus?: string;
  809 + /**
  810 + * @description
  811 + * 物流方式
  812 + */
  813 + logisticsMethod?: string;
  814 + /**
  815 + * @description
  816 + * 订单状态
  817 + */
  818 + orderStatus?: string;
  819 + /** @format int32 */
  820 + pageSize?: number;
  821 + /**
  822 + * @description
  823 + * 商品参数
  824 + */
  825 + parameters?: string;
  826 + /**
  827 + * @description
  828 + * 支付渠道
  829 + */
  830 + paymentChannel?: string;
  831 + /**
  832 + * @description
  833 + * 支付方式
  834 + */
  835 + paymentMethod?: string;
  836 + /**
  837 + * @description
  838 + * 支付流水号
  839 + */
  840 + paymentTransactionId?: string;
  841 + /**
  842 + * @description
  843 + * 商品所属事业部门
  844 + */
  845 + productBelongBusiness?: string;
  846 + /**
  847 + * @description
  848 + * 商品名称
  849 + */
  850 + productName?: string;
  851 + /**
  852 + * @description
  853 + * 销售代号
  854 + */
  855 + salesCode?: string;
  856 + /** @format int32 */
  857 + total?: number;
  858 +}
... ...
src/services/request.ts
... ... @@ -3,99 +3,120 @@
3 3 /** Do not modify manually.
4 4 content is generated automatically by `ts-gear`. */
5 5 import { request as requester } from 'umi';
6   -import type {} from './definition';
7   -
8   -/** @description request parameter type for postErpOrderListByPage */
9   -export interface PostErpOrderListByPageOption {
10   - body?: {
11   - root?: {
12   - bank?: string;
13   - beginTime?: string;
14   - current?: number;
15   - customerContactNumber?: string;
16   - customerName?: string;
17   - customerShippingAddress?: string;
18   - endTime?: string;
19   - id?: number;
20   - institution?: string;
21   - institutionContactName?: string;
22   - invoicingStatus?: string;
23   - logisticsMethod?: string;
24   - orderStatus?: string;
25   - pageSize?: number;
26   - parameters?: string;
27   - paymentChannel?: string;
28   - paymentMethod?: string;
29   - paymentTransactionId?: string;
30   - productBelongBusiness?: string;
31   - productName?: string;
32   - salesCode?: string;
33   - total?: number;
34   - };
35   - };
36   -}
37   -
38   -/** @description response type for postErpOrderListByPage */
39   -export interface PostErpOrderListByPageResponse {
40   - /**
41   - * @description
42   - * successful operation
  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 + AuditVO,
  25 + CaptchaMessageVO,
  26 + DictionaryQueryVO,
  27 + DictionaryVO,
  28 + Dto,
  29 + OrderAddVO,
  30 + OrderAuditLogQueryVO,
  31 + OrderBaseInfoQueryVO,
  32 + OrderFieldLockApplyQueryVO,
  33 + OrderOptLogQueryVO,
  34 + OrderProfitAnalysisVo,
  35 + OrderUnlockFieldApplyVO,
  36 + OrderUpdateVO,
  37 + ProductInformationDto,
  38 + ResetPwdVO,
  39 + ServerResult,
  40 + SysLogQueryVO,
  41 + UpdatePwdVO,
  42 +} from './definition';
  43 +
  44 +/** @description request parameter type for postApiLocalStorageUpload */
  45 +export interface PostApiLocalStorageUploadOption {
  46 + /**
  47 + * @description
  48 + * file
43 49 */
44   - 200: {
45   - data?: {
46   - data?: Array<{
47   - bank?: string;
48   - bankAccountNumber?: string;
49   - createTime?: string;
50   - customerContactNumber?: string;
51   - customerName?: string;
52   - customerShippingAddress?: string;
53   - id?: number;
54   - institution?: string;
55   - institutionContactName?: string;
56   - invoiceIdentificationNumber?: string;
57   - notes?: string;
58   - salesCode?: string;
59   - subOrderInformationLists?: Array<{
60   - id: number;
61   - invoicingStatus: string;
62   - mainOrderId: number;
63   - orderStatus: string;
64   - parameters: string;
65   - paymentChannel: string;
66   - productCode: string;
67   - productName: string;
68   - quantity: string;
69   - subOrderPayment: number;
70   - }>;
71   - totalPayment?: number;
72   - }>;
73   - pageSize?: number;
74   - total?: number;
75   - };
76   - message?: string;
77   - result?: number;
  50 + formData: {
  51 + /**
  52 + @description
  53 + file */
  54 + file: File;
  55 + };
  56 +}
  57 +
  58 +/** @description request parameter type for postApiLocalStorageUpload */
  59 +export interface PostApiLocalStorageUploadOption {
  60 + /**
  61 + * @description
  62 + * name
  63 + */
  64 + query: {
  65 + /**
  66 + @description
  67 + name */
  68 + name: string;
78 69 };
79 70 }
80 71  
81   -export type PostErpOrderListByPageResponseSuccess =
82   - PostErpOrderListByPageResponse[200];
  72 +/** @description response type for postApiLocalStorageUpload */
  73 +export interface PostApiLocalStorageUploadResponse {
  74 + /**
  75 + * @description
  76 + * OK
  77 + */
  78 + 200: ServerResult;
  79 + /**
  80 + * @description
  81 + * Created
  82 + */
  83 + 201: any;
  84 + /**
  85 + * @description
  86 + * Unauthorized
  87 + */
  88 + 401: any;
  89 + /**
  90 + * @description
  91 + * Forbidden
  92 + */
  93 + 403: any;
  94 + /**
  95 + * @description
  96 + * Not Found
  97 + */
  98 + 404: any;
  99 +}
  100 +
  101 +export type PostApiLocalStorageUploadResponseSuccess =
  102 + PostApiLocalStorageUploadResponse[200];
83 103 /**
84 104 * @description
85   - * 订单列表查询
86   - * @tags 公共分类
87   - * @consumes application/json
  105 + * 上传文件
  106 + * @tags 文件上传
  107 + * @produces *
  108 + * @consumes multipart/form-data
88 109 */
89   -export const postErpOrderListByPage = /* #__PURE__ */ (() => {
  110 +export const postApiLocalStorageUpload = /* #__PURE__ */ (() => {
90 111 const method = 'post';
91   - const url = '/erp/order/listByPage';
  112 + const url = '/api/localStorage/upload';
92 113 function request(
93   - option?: PostErpOrderListByPageOption,
94   - ): Promise<PostErpOrderListByPageResponseSuccess> {
  114 + option: PostApiLocalStorageUploadOption,
  115 + ): Promise<PostApiLocalStorageUploadResponseSuccess> {
95 116 return requester(request.url, {
96 117 method: request.method,
97 118 ...option,
98   - }) as unknown as Promise<PostErpOrderListByPageResponseSuccess>;
  119 + }) as unknown as Promise<PostApiLocalStorageUploadResponseSuccess>;
99 120 }
100 121  
101 122 /** http method */
... ... @@ -105,95 +126,340 @@ export const postErpOrderListByPage = /* #__PURE__ */ (() =&gt; {
105 126 return request;
106 127 })();
107 128  
108   -/** @description request parameter type for postErpOrderAdd */
109   -export interface PostErpOrderAddOption {
  129 +/** @description request parameter type for postApiLocalStorageUploadOss */
  130 +export interface PostApiLocalStorageUploadOssOption {
110 131 /**
111 132 * @description
112   - * add_token (Only:undefined)
  133 + * file
113 134 */
114   - header: {
  135 + formData: {
115 136 /**
116 137 @description
117   - add_token (Only:undefined) */
118   - add_token: string;
  138 + file */
  139 + file: File;
119 140 };
120 141 }
121 142  
122   -/** @description request parameter type for postErpOrderAdd */
123   -export interface PostErpOrderAddOption {
124   - body?: {
125   - root?: {
126   - /**
127   - @description
128   - 订单编号 */
129   - id: string;
130   - sales_code: string;
131   - customer_name: string;
132   - customer_contact_number: string;
133   - customer_shipping_address: string;
134   - institution_contact_name: string;
135   - institution: string;
136   - sub_orders: Array<{
137   - /**
138   - @description
139   - 子订单编号 */
140   - id: string;
141   - product_code: number;
142   - product_name: string;
143   - quantity: number;
144   - product_price: number;
145   - unit: string;
146   - parameters: string;
147   - total_payment: number;
148   - sub_order_payment: number;
149   - payment_status: string;
150   - payment_method: string;
151   - payment_channel: string;
152   - /**
153   - @description
154   - 预付必填 */
155   - payment_transaction_id?: string;
156   - /**
  143 +/** @description request parameter type for postApiLocalStorageUploadOss */
  144 +export interface PostApiLocalStorageUploadOssOption {
  145 + /**
  146 + * @description
  147 + * name
  148 + */
  149 + query: {
  150 + /**
157 151 @description
158   - 需要开票必填 */
159   - invoice_information?: string;
160   - invoicing_status: string;
161   - product_belong_department: string;
162   - notes?: string;
163   - }>;
164   - };
  152 + name */
  153 + name: string;
  154 + };
  155 +}
  156 +
  157 +/** @description response type for postApiLocalStorageUploadOss */
  158 +export interface PostApiLocalStorageUploadOssResponse {
  159 + /**
  160 + * @description
  161 + * OK
  162 + */
  163 + 200: ServerResult;
  164 + /**
  165 + * @description
  166 + * Created
  167 + */
  168 + 201: any;
  169 + /**
  170 + * @description
  171 + * Unauthorized
  172 + */
  173 + 401: any;
  174 + /**
  175 + * @description
  176 + * Forbidden
  177 + */
  178 + 403: any;
  179 + /**
  180 + * @description
  181 + * Not Found
  182 + */
  183 + 404: any;
  184 +}
  185 +
  186 +export type PostApiLocalStorageUploadOssResponseSuccess =
  187 + PostApiLocalStorageUploadOssResponse[200];
  188 +/**
  189 + * @description
  190 + * 上传文件到oss服务
  191 + * @tags 文件上传
  192 + * @produces *
  193 + * @consumes multipart/form-data
  194 + */
  195 +export const postApiLocalStorageUploadOss = /* #__PURE__ */ (() => {
  196 + const method = 'post';
  197 + const url = '/api/localStorage/upload_oss';
  198 + function request(
  199 + option: PostApiLocalStorageUploadOssOption,
  200 + ): Promise<PostApiLocalStorageUploadOssResponseSuccess> {
  201 + return requester(request.url, {
  202 + method: request.method,
  203 + ...option,
  204 + }) as unknown as Promise<PostApiLocalStorageUploadOssResponseSuccess>;
  205 + }
  206 +
  207 + /** http method */
  208 + request.method = method;
  209 + /** request url */
  210 + request.url = url;
  211 + return request;
  212 +})();
  213 +
  214 +/** @description response type for getError */
  215 +export interface GetErrorResponse {
  216 + /**
  217 + * @description
  218 + * OK
  219 + */
  220 + 200: {
  221 + [propertyName: string]: any;
  222 + };
  223 + /**
  224 + * @description
  225 + * Unauthorized
  226 + */
  227 + 401: any;
  228 + /**
  229 + * @description
  230 + * Forbidden
  231 + */
  232 + 403: any;
  233 + /**
  234 + * @description
  235 + * Not Found
  236 + */
  237 + 404: any;
  238 +}
  239 +
  240 +export type GetErrorResponseSuccess = GetErrorResponse[200];
  241 +/**
  242 + * @description
  243 + * error
  244 + * @tags basic-error-controller
  245 + * @produces *
  246 + */
  247 +export const getError = /* #__PURE__ */ (() => {
  248 + const method = 'get';
  249 + const url = '/error';
  250 + function request(): Promise<GetErrorResponseSuccess> {
  251 + return requester(request.url, {
  252 + method: request.method,
  253 + }) as unknown as Promise<GetErrorResponseSuccess>;
  254 + }
  255 +
  256 + /** http method */
  257 + request.method = method;
  258 + /** request url */
  259 + request.url = url;
  260 + return request;
  261 +})();
  262 +
  263 +/** @description response type for putError */
  264 +export interface PutErrorResponse {
  265 + /**
  266 + * @description
  267 + * OK
  268 + */
  269 + 200: {
  270 + [propertyName: string]: any;
165 271 };
  272 + /**
  273 + * @description
  274 + * Created
  275 + */
  276 + 201: any;
  277 + /**
  278 + * @description
  279 + * Unauthorized
  280 + */
  281 + 401: any;
  282 + /**
  283 + * @description
  284 + * Forbidden
  285 + */
  286 + 403: any;
  287 + /**
  288 + * @description
  289 + * Not Found
  290 + */
  291 + 404: any;
166 292 }
167 293  
168   -/** @description response type for postErpOrderAdd */
169   -export interface PostErpOrderAddResponse {
  294 +export type PutErrorResponseSuccess = PutErrorResponse[200];
  295 +/**
  296 + * @description
  297 + * error
  298 + * @tags basic-error-controller
  299 + * @produces *
  300 + * @consumes application/json
  301 + */
  302 +export const putError = /* #__PURE__ */ (() => {
  303 + const method = 'put';
  304 + const url = '/error';
  305 + function request(): Promise<PutErrorResponseSuccess> {
  306 + return requester(request.url, {
  307 + method: request.method,
  308 + }) as unknown as Promise<PutErrorResponseSuccess>;
  309 + }
  310 +
  311 + /** http method */
  312 + request.method = method;
  313 + /** request url */
  314 + request.url = url;
  315 + return request;
  316 +})();
  317 +
  318 +/** @description response type for postError */
  319 +export interface PostErrorResponse {
170 320 /**
171 321 * @description
172   - * successful operation
  322 + * OK
173 323 */
174 324 200: {
175   - message?: string;
176   - code?: number;
  325 + [propertyName: string]: any;
177 326 };
  327 + /**
  328 + * @description
  329 + * Created
  330 + */
  331 + 201: any;
  332 + /**
  333 + * @description
  334 + * Unauthorized
  335 + */
  336 + 401: any;
  337 + /**
  338 + * @description
  339 + * Forbidden
  340 + */
  341 + 403: any;
  342 + /**
  343 + * @description
  344 + * Not Found
  345 + */
  346 + 404: any;
178 347 }
179 348  
180   -export type PostErpOrderAddResponseSuccess = PostErpOrderAddResponse[200];
  349 +export type PostErrorResponseSuccess = PostErrorResponse[200];
181 350 /**
182 351 * @description
183   - * 订单新增
184   - * @tags 公共分类
  352 + * error
  353 + * @tags basic-error-controller
  354 + * @produces *
185 355 * @consumes application/json
186 356 */
187   -export const postErpOrderAdd = /* #__PURE__ */ (() => {
  357 +export const postError = /* #__PURE__ */ (() => {
188 358 const method = 'post';
189   - const url = '/erp/order/add';
190   - function request(
191   - option: PostErpOrderAddOption,
192   - ): Promise<PostErpOrderAddResponseSuccess> {
  359 + const url = '/error';
  360 + function request(): Promise<PostErrorResponseSuccess> {
193 361 return requester(request.url, {
194 362 method: request.method,
195   - ...option,
196   - }) as unknown as Promise<PostErpOrderAddResponseSuccess>;
  363 + }) as unknown as Promise<PostErrorResponseSuccess>;
  364 + }
  365 +
  366 + /** http method */
  367 + request.method = method;
  368 + /** request url */
  369 + request.url = url;
  370 + return request;
  371 +})();
  372 +
  373 +/** @description response type for deleteError */
  374 +export interface DeleteErrorResponse {
  375 + /**
  376 + * @description
  377 + * OK
  378 + */
  379 + 200: {
  380 + [propertyName: string]: any;
  381 + };
  382 + /**
  383 + * @description
  384 + * No Content
  385 + */
  386 + 204: any;
  387 + /**
  388 + * @description
  389 + * Unauthorized
  390 + */
  391 + 401: any;
  392 + /**
  393 + * @description
  394 + * Forbidden
  395 + */
  396 + 403: any;
  397 +}
  398 +
  399 +export type DeleteErrorResponseSuccess = DeleteErrorResponse[200];
  400 +/**
  401 + * @description
  402 + * error
  403 + * @tags basic-error-controller
  404 + * @produces *
  405 + */
  406 +export const deleteError = /* #__PURE__ */ (() => {
  407 + const method = 'delete';
  408 + const url = '/error';
  409 + function request(): Promise<DeleteErrorResponseSuccess> {
  410 + return requester(request.url, {
  411 + method: request.method,
  412 + }) as unknown as Promise<DeleteErrorResponseSuccess>;
  413 + }
  414 +
  415 + /** http method */
  416 + request.method = method;
  417 + /** request url */
  418 + request.url = url;
  419 + return request;
  420 +})();
  421 +
  422 +/** @description response type for optionsError */
  423 +export interface OptionsErrorResponse {
  424 + /**
  425 + * @description
  426 + * OK
  427 + */
  428 + 200: {
  429 + [propertyName: string]: any;
  430 + };
  431 + /**
  432 + * @description
  433 + * No Content
  434 + */
  435 + 204: any;
  436 + /**
  437 + * @description
  438 + * Unauthorized
  439 + */
  440 + 401: any;
  441 + /**
  442 + * @description
  443 + * Forbidden
  444 + */
  445 + 403: any;
  446 +}
  447 +
  448 +export type OptionsErrorResponseSuccess = OptionsErrorResponse[200];
  449 +/**
  450 + * @description
  451 + * error
  452 + * @tags basic-error-controller
  453 + * @produces *
  454 + * @consumes application/json
  455 + */
  456 +export const optionsError = /* #__PURE__ */ (() => {
  457 + const method = 'options';
  458 + const url = '/error';
  459 + function request(): Promise<OptionsErrorResponseSuccess> {
  460 + return requester(request.url, {
  461 + method: request.method,
  462 + }) as unknown as Promise<OptionsErrorResponseSuccess>;
197 463 }
198 464  
199 465 /** http method */
... ... @@ -203,67 +469,5375 @@ export const postErpOrderAdd = /* #__PURE__ */ (() =&gt; {
203 469 return request;
204 470 })();
205 471  
206   -/** @description request parameter type for postErpOrderUpdate */
207   -export interface PostErpOrderUpdateOption {
208   - body?: {
209   - root?: {
210   - sales_code: string;
211   - customer_name: string;
212   - customer_contact_number: string;
213   - customer_shipping_address: string;
214   - institution_contact_name: string;
215   - institution: string;
216   - sub_orders: Array<{
217   - product_code: number;
218   - product_name: string;
219   - quantity: number;
220   - product_price: number;
221   - unit: string;
222   - parameters: string;
223   - total_payment: number;
224   - sub_order_payment: number;
225   - payment_status: string;
226   - payment_method: string;
227   - payment_channel: string;
228   - payment_transaction_id?: string;
229   - invoice_information?: string;
230   - invoicing_status: string;
231   - product_belong_department: string;
232   - notes?: string;
233   - }>;
234   - };
  472 +/** @description response type for headError */
  473 +export interface HeadErrorResponse {
  474 + /**
  475 + * @description
  476 + * OK
  477 + */
  478 + 200: {
  479 + [propertyName: string]: any;
235 480 };
  481 + /**
  482 + * @description
  483 + * No Content
  484 + */
  485 + 204: any;
  486 + /**
  487 + * @description
  488 + * Unauthorized
  489 + */
  490 + 401: any;
  491 + /**
  492 + * @description
  493 + * Forbidden
  494 + */
  495 + 403: any;
236 496 }
237 497  
238   -/** @description response type for postErpOrderUpdate */
239   -export interface PostErpOrderUpdateResponse {
  498 +export type HeadErrorResponseSuccess = HeadErrorResponse[200];
  499 +/**
  500 + * @description
  501 + * error
  502 + * @tags basic-error-controller
  503 + * @produces *
  504 + * @consumes application/json
  505 + */
  506 +export const headError = /* #__PURE__ */ (() => {
  507 + const method = 'head';
  508 + const url = '/error';
  509 + function request(): Promise<HeadErrorResponseSuccess> {
  510 + return requester(request.url, {
  511 + method: request.method,
  512 + }) as unknown as Promise<HeadErrorResponseSuccess>;
  513 + }
  514 +
  515 + /** http method */
  516 + request.method = method;
  517 + /** request url */
  518 + request.url = url;
  519 + return request;
  520 +})();
  521 +
  522 +/** @description response type for patchError */
  523 +export interface PatchErrorResponse {
240 524 /**
241 525 * @description
242   - * successful operation
  526 + * OK
243 527 */
244 528 200: {
245   - message?: string;
246   - code?: number;
  529 + [propertyName: string]: any;
247 530 };
  531 + /**
  532 + * @description
  533 + * No Content
  534 + */
  535 + 204: any;
  536 + /**
  537 + * @description
  538 + * Unauthorized
  539 + */
  540 + 401: any;
  541 + /**
  542 + * @description
  543 + * Forbidden
  544 + */
  545 + 403: any;
  546 +}
  547 +
  548 +export type PatchErrorResponseSuccess = PatchErrorResponse[200];
  549 +/**
  550 + * @description
  551 + * error
  552 + * @tags basic-error-controller
  553 + * @produces *
  554 + * @consumes application/json
  555 + */
  556 +export const patchError = /* #__PURE__ */ (() => {
  557 + const method = 'patch';
  558 + const url = '/error';
  559 + function request(): Promise<PatchErrorResponseSuccess> {
  560 + return requester(request.url, {
  561 + method: request.method,
  562 + }) as unknown as Promise<PatchErrorResponseSuccess>;
  563 + }
  564 +
  565 + /** http method */
  566 + request.method = method;
  567 + /** request url */
  568 + request.url = url;
  569 + return request;
  570 +})();
  571 +
  572 +/** @description request parameter type for postOrderErpApplyList */
  573 +export interface PostOrderErpApplyListOption {
  574 + /**
  575 + * @description
  576 + * orderFieldLockApplyQueryVO
  577 + */
  578 + body: {
  579 + /**
  580 + @description
  581 + orderFieldLockApplyQueryVO */
  582 + orderFieldLockApplyQueryVO: OrderFieldLockApplyQueryVO;
  583 + };
  584 +}
  585 +
  586 +/** @description response type for postOrderErpApplyList */
  587 +export interface PostOrderErpApplyListResponse {
  588 + /**
  589 + * @description
  590 + * OK
  591 + */
  592 + 200: ServerResult;
  593 + /**
  594 + * @description
  595 + * Created
  596 + */
  597 + 201: any;
  598 + /**
  599 + * @description
  600 + * Unauthorized
  601 + */
  602 + 401: any;
  603 + /**
  604 + * @description
  605 + * Forbidden
  606 + */
  607 + 403: any;
  608 + /**
  609 + * @description
  610 + * Not Found
  611 + */
  612 + 404: any;
  613 +}
  614 +
  615 +export type PostOrderErpApplyListResponseSuccess =
  616 + PostOrderErpApplyListResponse[200];
  617 +/**
  618 + * @description
  619 + * 分页查询
  620 + * @tags 用户订单-字段锁定申请(忽略)
  621 + * @produces *
  622 + * @consumes application/json
  623 + */
  624 +export const postOrderErpApplyList = /* #__PURE__ */ (() => {
  625 + const method = 'post';
  626 + const url = '/order/erp/apply/list';
  627 + function request(
  628 + option: PostOrderErpApplyListOption,
  629 + ): Promise<PostOrderErpApplyListResponseSuccess> {
  630 + return requester(request.url, {
  631 + method: request.method,
  632 + ...option,
  633 + }) as unknown as Promise<PostOrderErpApplyListResponseSuccess>;
  634 + }
  635 +
  636 + /** http method */
  637 + request.method = method;
  638 + /** request url */
  639 + request.url = url;
  640 + return request;
  641 +})();
  642 +
  643 +/** @description request parameter type for postOrderErpAuditAuditList */
  644 +export interface PostOrderErpAuditAuditListOption {
  645 + /**
  646 + * @description
  647 + * queryVO
  648 + */
  649 + body: {
  650 + /**
  651 + @description
  652 + queryVO */
  653 + queryVO: OrderFieldLockApplyQueryVO;
  654 + };
  655 +}
  656 +
  657 +/** @description response type for postOrderErpAuditAuditList */
  658 +export interface PostOrderErpAuditAuditListResponse {
  659 + /**
  660 + * @description
  661 + * OK
  662 + */
  663 + 200: ServerResult;
  664 + /**
  665 + * @description
  666 + * Created
  667 + */
  668 + 201: any;
  669 + /**
  670 + * @description
  671 + * Unauthorized
  672 + */
  673 + 401: any;
  674 + /**
  675 + * @description
  676 + * Forbidden
  677 + */
  678 + 403: any;
  679 + /**
  680 + * @description
  681 + * Not Found
  682 + */
  683 + 404: any;
  684 +}
  685 +
  686 +export type PostOrderErpAuditAuditListResponseSuccess =
  687 + PostOrderErpAuditAuditListResponse[200];
  688 +/**
  689 + * @description
  690 + * 已审批列表
  691 + * @tags 审批管理
  692 + * @produces *
  693 + * @consumes application/json
  694 + */
  695 +export const postOrderErpAuditAuditList = /* #__PURE__ */ (() => {
  696 + const method = 'post';
  697 + const url = '/order/erp/audit/audit_list';
  698 + function request(
  699 + option: PostOrderErpAuditAuditListOption,
  700 + ): Promise<PostOrderErpAuditAuditListResponseSuccess> {
  701 + return requester(request.url, {
  702 + method: request.method,
  703 + ...option,
  704 + }) as unknown as Promise<PostOrderErpAuditAuditListResponseSuccess>;
  705 + }
  706 +
  707 + /** http method */
  708 + request.method = method;
  709 + /** request url */
  710 + request.url = url;
  711 + return request;
  712 +})();
  713 +
  714 +/** @description request parameter type for postOrderErpAuditDoAudit */
  715 +export interface PostOrderErpAuditDoAuditOption {
  716 + /**
  717 + * @description
  718 + * auditVO
  719 + */
  720 + body: {
  721 + /**
  722 + @description
  723 + auditVO */
  724 + auditVO: AuditVO;
  725 + };
  726 +}
  727 +
  728 +/** @description response type for postOrderErpAuditDoAudit */
  729 +export interface PostOrderErpAuditDoAuditResponse {
  730 + /**
  731 + * @description
  732 + * OK
  733 + */
  734 + 200: ServerResult;
  735 + /**
  736 + * @description
  737 + * Created
  738 + */
  739 + 201: any;
  740 + /**
  741 + * @description
  742 + * Unauthorized
  743 + */
  744 + 401: any;
  745 + /**
  746 + * @description
  747 + * Forbidden
  748 + */
  749 + 403: any;
  750 + /**
  751 + * @description
  752 + * Not Found
  753 + */
  754 + 404: any;
  755 +}
  756 +
  757 +export type PostOrderErpAuditDoAuditResponseSuccess =
  758 + PostOrderErpAuditDoAuditResponse[200];
  759 +/**
  760 + * @description
  761 + * 审核
  762 + * @tags 审批管理
  763 + * @produces *
  764 + * @consumes application/json
  765 + */
  766 +export const postOrderErpAuditDoAudit = /* #__PURE__ */ (() => {
  767 + const method = 'post';
  768 + const url = '/order/erp/audit/do_audit';
  769 + function request(
  770 + option: PostOrderErpAuditDoAuditOption,
  771 + ): Promise<PostOrderErpAuditDoAuditResponseSuccess> {
  772 + return requester(request.url, {
  773 + method: request.method,
  774 + ...option,
  775 + }) as unknown as Promise<PostOrderErpAuditDoAuditResponseSuccess>;
  776 + }
  777 +
  778 + /** http method */
  779 + request.method = method;
  780 + /** request url */
  781 + request.url = url;
  782 + return request;
  783 +})();
  784 +
  785 +/** @description request parameter type for postOrderErpAuditListByPage */
  786 +export interface PostOrderErpAuditListByPageOption {
  787 + /**
  788 + * @description
  789 + * queryVO
  790 + */
  791 + body: {
  792 + /**
  793 + @description
  794 + queryVO */
  795 + queryVO: OrderFieldLockApplyQueryVO;
  796 + };
  797 +}
  798 +
  799 +/** @description response type for postOrderErpAuditListByPage */
  800 +export interface PostOrderErpAuditListByPageResponse {
  801 + /**
  802 + * @description
  803 + * OK
  804 + */
  805 + 200: ServerResult;
  806 + /**
  807 + * @description
  808 + * Created
  809 + */
  810 + 201: any;
  811 + /**
  812 + * @description
  813 + * Unauthorized
  814 + */
  815 + 401: any;
  816 + /**
  817 + * @description
  818 + * Forbidden
  819 + */
  820 + 403: any;
  821 + /**
  822 + * @description
  823 + * Not Found
  824 + */
  825 + 404: any;
  826 +}
  827 +
  828 +export type PostOrderErpAuditListByPageResponseSuccess =
  829 + PostOrderErpAuditListByPageResponse[200];
  830 +/**
  831 + * @description
  832 + * 分页查询
  833 + * @tags 审批管理
  834 + * @produces *
  835 + * @consumes application/json
  836 + */
  837 +export const postOrderErpAuditListByPage = /* #__PURE__ */ (() => {
  838 + const method = 'post';
  839 + const url = '/order/erp/audit/list_by_page';
  840 + function request(
  841 + option: PostOrderErpAuditListByPageOption,
  842 + ): Promise<PostOrderErpAuditListByPageResponseSuccess> {
  843 + return requester(request.url, {
  844 + method: request.method,
  845 + ...option,
  846 + }) as unknown as Promise<PostOrderErpAuditListByPageResponseSuccess>;
  847 + }
  848 +
  849 + /** http method */
  850 + request.method = method;
  851 + /** request url */
  852 + request.url = url;
  853 + return request;
  854 +})();
  855 +
  856 +/** @description request parameter type for postOrderErpAuditLogListByPage */
  857 +export interface PostOrderErpAuditLogListByPageOption {
  858 + /**
  859 + * @description
  860 + * orderAuditLogQueryVO
  861 + */
  862 + body: {
  863 + /**
  864 + @description
  865 + orderAuditLogQueryVO */
  866 + orderAuditLogQueryVO: OrderAuditLogQueryVO;
  867 + };
  868 +}
  869 +
  870 +/** @description response type for postOrderErpAuditLogListByPage */
  871 +export interface PostOrderErpAuditLogListByPageResponse {
  872 + /**
  873 + * @description
  874 + * OK
  875 + */
  876 + 200: ServerResult;
  877 + /**
  878 + * @description
  879 + * Created
  880 + */
  881 + 201: any;
  882 + /**
  883 + * @description
  884 + * Unauthorized
  885 + */
  886 + 401: any;
  887 + /**
  888 + * @description
  889 + * Forbidden
  890 + */
  891 + 403: any;
  892 + /**
  893 + * @description
  894 + * Not Found
  895 + */
  896 + 404: any;
  897 +}
  898 +
  899 +export type PostOrderErpAuditLogListByPageResponseSuccess =
  900 + PostOrderErpAuditLogListByPageResponse[200];
  901 +/**
  902 + * @description
  903 + * 分页查询
  904 + * @tags 用户订单审批日志
  905 + * @produces *
  906 + * @consumes application/json
  907 + */
  908 +export const postOrderErpAuditLogListByPage = /* #__PURE__ */ (() => {
  909 + const method = 'post';
  910 + const url = '/order/erp/audit/log/list_by_page';
  911 + function request(
  912 + option: PostOrderErpAuditLogListByPageOption,
  913 + ): Promise<PostOrderErpAuditLogListByPageResponseSuccess> {
  914 + return requester(request.url, {
  915 + method: request.method,
  916 + ...option,
  917 + }) as unknown as Promise<PostOrderErpAuditLogListByPageResponseSuccess>;
  918 + }
  919 +
  920 + /** http method */
  921 + request.method = method;
  922 + /** request url */
  923 + request.url = url;
  924 + return request;
  925 +})();
  926 +
  927 +/** @description request parameter type for postOrderErpAuditLogQueryById */
  928 +export interface PostOrderErpAuditLogQueryByIdOption {
  929 + /**
  930 + * @description
  931 + * orderAuditLogQueryVO
  932 + */
  933 + body: {
  934 + /**
  935 + @description
  936 + orderAuditLogQueryVO */
  937 + orderAuditLogQueryVO: OrderAuditLogQueryVO;
  938 + };
  939 +}
  940 +
  941 +/** @description response type for postOrderErpAuditLogQueryById */
  942 +export interface PostOrderErpAuditLogQueryByIdResponse {
  943 + /**
  944 + * @description
  945 + * OK
  946 + */
  947 + 200: ServerResult;
  948 + /**
  949 + * @description
  950 + * Created
  951 + */
  952 + 201: any;
  953 + /**
  954 + * @description
  955 + * Unauthorized
  956 + */
  957 + 401: any;
  958 + /**
  959 + * @description
  960 + * Forbidden
  961 + */
  962 + 403: any;
  963 + /**
  964 + * @description
  965 + * Not Found
  966 + */
  967 + 404: any;
  968 +}
  969 +
  970 +export type PostOrderErpAuditLogQueryByIdResponseSuccess =
  971 + PostOrderErpAuditLogQueryByIdResponse[200];
  972 +/**
  973 + * @description
  974 + * 通过主键查询单条数据
  975 + * @tags 用户订单审批日志
  976 + * @produces *
  977 + * @consumes application/json
  978 + */
  979 +export const postOrderErpAuditLogQueryById = /* #__PURE__ */ (() => {
  980 + const method = 'post';
  981 + const url = '/order/erp/audit/log/query_by_id';
  982 + function request(
  983 + option: PostOrderErpAuditLogQueryByIdOption,
  984 + ): Promise<PostOrderErpAuditLogQueryByIdResponseSuccess> {
  985 + return requester(request.url, {
  986 + method: request.method,
  987 + ...option,
  988 + }) as unknown as Promise<PostOrderErpAuditLogQueryByIdResponseSuccess>;
  989 + }
  990 +
  991 + /** http method */
  992 + request.method = method;
  993 + /** request url */
  994 + request.url = url;
  995 + return request;
  996 +})();
  997 +
  998 +/** @description request parameter type for postOrderErpAuditWaitAuditList */
  999 +export interface PostOrderErpAuditWaitAuditListOption {
  1000 + /**
  1001 + * @description
  1002 + * queryVO
  1003 + */
  1004 + body: {
  1005 + /**
  1006 + @description
  1007 + queryVO */
  1008 + queryVO: OrderFieldLockApplyQueryVO;
  1009 + };
  1010 +}
  1011 +
  1012 +/** @description response type for postOrderErpAuditWaitAuditList */
  1013 +export interface PostOrderErpAuditWaitAuditListResponse {
  1014 + /**
  1015 + * @description
  1016 + * OK
  1017 + */
  1018 + 200: ServerResult;
  1019 + /**
  1020 + * @description
  1021 + * Created
  1022 + */
  1023 + 201: any;
  1024 + /**
  1025 + * @description
  1026 + * Unauthorized
  1027 + */
  1028 + 401: any;
  1029 + /**
  1030 + * @description
  1031 + * Forbidden
  1032 + */
  1033 + 403: any;
  1034 + /**
  1035 + * @description
  1036 + * Not Found
  1037 + */
  1038 + 404: any;
  1039 +}
  1040 +
  1041 +export type PostOrderErpAuditWaitAuditListResponseSuccess =
  1042 + PostOrderErpAuditWaitAuditListResponse[200];
  1043 +/**
  1044 + * @description
  1045 + * 待审批列表
  1046 + * @tags 审批管理
  1047 + * @produces *
  1048 + * @consumes application/json
  1049 + */
  1050 +export const postOrderErpAuditWaitAuditList = /* #__PURE__ */ (() => {
  1051 + const method = 'post';
  1052 + const url = '/order/erp/audit/wait_audit_list';
  1053 + function request(
  1054 + option: PostOrderErpAuditWaitAuditListOption,
  1055 + ): Promise<PostOrderErpAuditWaitAuditListResponseSuccess> {
  1056 + return requester(request.url, {
  1057 + method: request.method,
  1058 + ...option,
  1059 + }) as unknown as Promise<PostOrderErpAuditWaitAuditListResponseSuccess>;
  1060 + }
  1061 +
  1062 + /** http method */
  1063 + request.method = method;
  1064 + /** request url */
  1065 + request.url = url;
  1066 + return request;
  1067 +})();
  1068 +
  1069 +/** @description request parameter type for postOrderErpAuthLoginByPhone */
  1070 +export interface PostOrderErpAuthLoginByPhoneOption {
  1071 + /**
  1072 + * @description
  1073 + * loginByPhoneVO
  1074 + */
  1075 + body: {
  1076 + /**
  1077 + @description
  1078 + loginByPhoneVO */
  1079 + loginByPhoneVO: AdminUserLoginByPhoneVO;
  1080 + };
  1081 +}
  1082 +
  1083 +/** @description response type for postOrderErpAuthLoginByPhone */
  1084 +export interface PostOrderErpAuthLoginByPhoneResponse {
  1085 + /**
  1086 + * @description
  1087 + * OK
  1088 + */
  1089 + 200: ServerResult;
  1090 + /**
  1091 + * @description
  1092 + * Created
  1093 + */
  1094 + 201: any;
  1095 + /**
  1096 + * @description
  1097 + * Unauthorized
  1098 + */
  1099 + 401: any;
  1100 + /**
  1101 + * @description
  1102 + * Forbidden
  1103 + */
  1104 + 403: any;
  1105 + /**
  1106 + * @description
  1107 + * Not Found
  1108 + */
  1109 + 404: any;
  1110 +}
  1111 +
  1112 +export type PostOrderErpAuthLoginByPhoneResponseSuccess =
  1113 + PostOrderErpAuthLoginByPhoneResponse[200];
  1114 +/**
  1115 + * @description
  1116 + * 手机登录
  1117 + * @tags login-controller
  1118 + * @produces *
  1119 + * @consumes application/json
  1120 + */
  1121 +export const postOrderErpAuthLoginByPhone = /* #__PURE__ */ (() => {
  1122 + const method = 'post';
  1123 + const url = '/order/erp/auth/login_by_phone';
  1124 + function request(
  1125 + option: PostOrderErpAuthLoginByPhoneOption,
  1126 + ): Promise<PostOrderErpAuthLoginByPhoneResponseSuccess> {
  1127 + return requester(request.url, {
  1128 + method: request.method,
  1129 + ...option,
  1130 + }) as unknown as Promise<PostOrderErpAuthLoginByPhoneResponseSuccess>;
  1131 + }
  1132 +
  1133 + /** http method */
  1134 + request.method = method;
  1135 + /** request url */
  1136 + request.url = url;
  1137 + return request;
  1138 +})();
  1139 +
  1140 +/** @description request parameter type for postOrderErpAuthLoginByPwd */
  1141 +export interface PostOrderErpAuthLoginByPwdOption {
  1142 + /**
  1143 + * @description
  1144 + * loginByPwdVO
  1145 + */
  1146 + body: {
  1147 + /**
  1148 + @description
  1149 + loginByPwdVO */
  1150 + loginByPwdVO: AdminUserLoginByPwdVO;
  1151 + };
  1152 +}
  1153 +
  1154 +/** @description response type for postOrderErpAuthLoginByPwd */
  1155 +export interface PostOrderErpAuthLoginByPwdResponse {
  1156 + /**
  1157 + * @description
  1158 + * OK
  1159 + */
  1160 + 200: ServerResult;
  1161 + /**
  1162 + * @description
  1163 + * Created
  1164 + */
  1165 + 201: any;
  1166 + /**
  1167 + * @description
  1168 + * Unauthorized
  1169 + */
  1170 + 401: any;
  1171 + /**
  1172 + * @description
  1173 + * Forbidden
  1174 + */
  1175 + 403: any;
  1176 + /**
  1177 + * @description
  1178 + * Not Found
  1179 + */
  1180 + 404: any;
  1181 +}
  1182 +
  1183 +export type PostOrderErpAuthLoginByPwdResponseSuccess =
  1184 + PostOrderErpAuthLoginByPwdResponse[200];
  1185 +/**
  1186 + * @description
  1187 + * 用户登录
  1188 + * @tags login-controller
  1189 + * @produces *
  1190 + * @consumes application/json
  1191 + */
  1192 +export const postOrderErpAuthLoginByPwd = /* #__PURE__ */ (() => {
  1193 + const method = 'post';
  1194 + const url = '/order/erp/auth/login_by_pwd';
  1195 + function request(
  1196 + option: PostOrderErpAuthLoginByPwdOption,
  1197 + ): Promise<PostOrderErpAuthLoginByPwdResponseSuccess> {
  1198 + return requester(request.url, {
  1199 + method: request.method,
  1200 + ...option,
  1201 + }) as unknown as Promise<PostOrderErpAuthLoginByPwdResponseSuccess>;
  1202 + }
  1203 +
  1204 + /** http method */
  1205 + request.method = method;
  1206 + /** request url */
  1207 + request.url = url;
  1208 + return request;
  1209 +})();
  1210 +
  1211 +/** @description response type for postOrderErpAuthLoginOut */
  1212 +export interface PostOrderErpAuthLoginOutResponse {
  1213 + /**
  1214 + * @description
  1215 + * OK
  1216 + */
  1217 + 200: ServerResult;
  1218 + /**
  1219 + * @description
  1220 + * Created
  1221 + */
  1222 + 201: any;
  1223 + /**
  1224 + * @description
  1225 + * Unauthorized
  1226 + */
  1227 + 401: any;
  1228 + /**
  1229 + * @description
  1230 + * Forbidden
  1231 + */
  1232 + 403: any;
  1233 + /**
  1234 + * @description
  1235 + * Not Found
  1236 + */
  1237 + 404: any;
  1238 +}
  1239 +
  1240 +export type PostOrderErpAuthLoginOutResponseSuccess =
  1241 + PostOrderErpAuthLoginOutResponse[200];
  1242 +/**
  1243 + * @description
  1244 + * 退出登录
  1245 + * @tags login-controller
  1246 + * @produces *
  1247 + * @consumes application/json
  1248 + */
  1249 +export const postOrderErpAuthLoginOut = /* #__PURE__ */ (() => {
  1250 + const method = 'post';
  1251 + const url = '/order/erp/auth/login_out';
  1252 + function request(): Promise<PostOrderErpAuthLoginOutResponseSuccess> {
  1253 + return requester(request.url, {
  1254 + method: request.method,
  1255 + }) as unknown as Promise<PostOrderErpAuthLoginOutResponseSuccess>;
  1256 + }
  1257 +
  1258 + /** http method */
  1259 + request.method = method;
  1260 + /** request url */
  1261 + request.url = url;
  1262 + return request;
  1263 +})();
  1264 +
  1265 +/** @description request parameter type for postOrderErpAuthPasswordModify */
  1266 +export interface PostOrderErpAuthPasswordModifyOption {
  1267 + /**
  1268 + * @description
  1269 + * modifyPwdVO
  1270 + */
  1271 + body: {
  1272 + /**
  1273 + @description
  1274 + modifyPwdVO */
  1275 + modifyPwdVO: AdminUserModifyPwdVO;
  1276 + };
  1277 +}
  1278 +
  1279 +/** @description response type for postOrderErpAuthPasswordModify */
  1280 +export interface PostOrderErpAuthPasswordModifyResponse {
  1281 + /**
  1282 + * @description
  1283 + * OK
  1284 + */
  1285 + 200: ServerResult;
  1286 + /**
  1287 + * @description
  1288 + * Created
  1289 + */
  1290 + 201: any;
  1291 + /**
  1292 + * @description
  1293 + * Unauthorized
  1294 + */
  1295 + 401: any;
  1296 + /**
  1297 + * @description
  1298 + * Forbidden
  1299 + */
  1300 + 403: any;
  1301 + /**
  1302 + * @description
  1303 + * Not Found
  1304 + */
  1305 + 404: any;
  1306 +}
  1307 +
  1308 +export type PostOrderErpAuthPasswordModifyResponseSuccess =
  1309 + PostOrderErpAuthPasswordModifyResponse[200];
  1310 +/**
  1311 + * @description
  1312 + * 用户登录
  1313 + * @tags login-controller
  1314 + * @produces *
  1315 + * @consumes application/json
  1316 + */
  1317 +export const postOrderErpAuthPasswordModify = /* #__PURE__ */ (() => {
  1318 + const method = 'post';
  1319 + const url = '/order/erp/auth/password_modify';
  1320 + function request(
  1321 + option: PostOrderErpAuthPasswordModifyOption,
  1322 + ): Promise<PostOrderErpAuthPasswordModifyResponseSuccess> {
  1323 + return requester(request.url, {
  1324 + method: request.method,
  1325 + ...option,
  1326 + }) as unknown as Promise<PostOrderErpAuthPasswordModifyResponseSuccess>;
  1327 + }
  1328 +
  1329 + /** http method */
  1330 + request.method = method;
  1331 + /** request url */
  1332 + request.url = url;
  1333 + return request;
  1334 +})();
  1335 +
  1336 +/** @description request parameter type for postOrderErpAuthPhoneRegister */
  1337 +export interface PostOrderErpAuthPhoneRegisterOption {
  1338 + /**
  1339 + * @description
  1340 + * registerVO
  1341 + */
  1342 + body: {
  1343 + /**
  1344 + @description
  1345 + registerVO */
  1346 + registerVO: AdminUserRegisterVO;
  1347 + };
  1348 +}
  1349 +
  1350 +/** @description response type for postOrderErpAuthPhoneRegister */
  1351 +export interface PostOrderErpAuthPhoneRegisterResponse {
  1352 + /**
  1353 + * @description
  1354 + * OK
  1355 + */
  1356 + 200: ServerResult;
  1357 + /**
  1358 + * @description
  1359 + * Created
  1360 + */
  1361 + 201: any;
  1362 + /**
  1363 + * @description
  1364 + * Unauthorized
  1365 + */
  1366 + 401: any;
  1367 + /**
  1368 + * @description
  1369 + * Forbidden
  1370 + */
  1371 + 403: any;
  1372 + /**
  1373 + * @description
  1374 + * Not Found
  1375 + */
  1376 + 404: any;
  1377 +}
  1378 +
  1379 +export type PostOrderErpAuthPhoneRegisterResponseSuccess =
  1380 + PostOrderErpAuthPhoneRegisterResponse[200];
  1381 +/**
  1382 + * @description
  1383 + * 手机注册
  1384 + * @tags login-controller
  1385 + * @produces *
  1386 + * @consumes application/json
  1387 + */
  1388 +export const postOrderErpAuthPhoneRegister = /* #__PURE__ */ (() => {
  1389 + const method = 'post';
  1390 + const url = '/order/erp/auth/phone_register';
  1391 + function request(
  1392 + option: PostOrderErpAuthPhoneRegisterOption,
  1393 + ): Promise<PostOrderErpAuthPhoneRegisterResponseSuccess> {
  1394 + return requester(request.url, {
  1395 + method: request.method,
  1396 + ...option,
  1397 + }) as unknown as Promise<PostOrderErpAuthPhoneRegisterResponseSuccess>;
  1398 + }
  1399 +
  1400 + /** http method */
  1401 + request.method = method;
  1402 + /** request url */
  1403 + request.url = url;
  1404 + return request;
  1405 +})();
  1406 +
  1407 +/** @description request parameter type for postOrderErpAuthSendPasswordRecoverMail */
  1408 +export interface PostOrderErpAuthSendPasswordRecoverMailOption {
  1409 + /**
  1410 + * @description
  1411 + * recoverEmailVO
  1412 + */
  1413 + body: {
  1414 + /**
  1415 + @description
  1416 + recoverEmailVO */
  1417 + recoverEmailVO: AdminUserPasswordRecoverEmailVO;
  1418 + };
  1419 +}
  1420 +
  1421 +/** @description response type for postOrderErpAuthSendPasswordRecoverMail */
  1422 +export interface PostOrderErpAuthSendPasswordRecoverMailResponse {
  1423 + /**
  1424 + * @description
  1425 + * OK
  1426 + */
  1427 + 200: ServerResult;
  1428 + /**
  1429 + * @description
  1430 + * Created
  1431 + */
  1432 + 201: any;
  1433 + /**
  1434 + * @description
  1435 + * Unauthorized
  1436 + */
  1437 + 401: any;
  1438 + /**
  1439 + * @description
  1440 + * Forbidden
  1441 + */
  1442 + 403: any;
  1443 + /**
  1444 + * @description
  1445 + * Not Found
  1446 + */
  1447 + 404: any;
  1448 +}
  1449 +
  1450 +export type PostOrderErpAuthSendPasswordRecoverMailResponseSuccess =
  1451 + PostOrderErpAuthSendPasswordRecoverMailResponse[200];
  1452 +/**
  1453 + * @description
  1454 + * sendPasswordRecoverMail
  1455 + * @tags login-controller
  1456 + * @produces *
  1457 + * @consumes application/json
  1458 + */
  1459 +export const postOrderErpAuthSendPasswordRecoverMail = /* #__PURE__ */ (() => {
  1460 + const method = 'post';
  1461 + const url = '/order/erp/auth/send_password_recover_mail';
  1462 + function request(
  1463 + option: PostOrderErpAuthSendPasswordRecoverMailOption,
  1464 + ): Promise<PostOrderErpAuthSendPasswordRecoverMailResponseSuccess> {
  1465 + return requester(request.url, {
  1466 + method: request.method,
  1467 + ...option,
  1468 + }) as unknown as Promise<PostOrderErpAuthSendPasswordRecoverMailResponseSuccess>;
  1469 + }
  1470 +
  1471 + /** http method */
  1472 + request.method = method;
  1473 + /** request url */
  1474 + request.url = url;
  1475 + return request;
  1476 +})();
  1477 +
  1478 +/** @description response type for postOrderErpCaptchaGetImgCaptchaCode */
  1479 +export interface PostOrderErpCaptchaGetImgCaptchaCodeResponse {
  1480 + /**
  1481 + * @description
  1482 + * OK
  1483 + */
  1484 + 200: ServerResult;
  1485 + /**
  1486 + * @description
  1487 + * Created
  1488 + */
  1489 + 201: any;
  1490 + /**
  1491 + * @description
  1492 + * Unauthorized
  1493 + */
  1494 + 401: any;
  1495 + /**
  1496 + * @description
  1497 + * Forbidden
  1498 + */
  1499 + 403: any;
  1500 + /**
  1501 + * @description
  1502 + * Not Found
  1503 + */
  1504 + 404: any;
  1505 +}
  1506 +
  1507 +export type PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess =
  1508 + PostOrderErpCaptchaGetImgCaptchaCodeResponse[200];
  1509 +/**
  1510 + * @description
  1511 + * 获取图片验证码
  1512 + * @tags 验证码
  1513 + * @produces *
  1514 + * @consumes application/json
  1515 + */
  1516 +export const postOrderErpCaptchaGetImgCaptchaCode = /* #__PURE__ */ (() => {
  1517 + const method = 'post';
  1518 + const url = '/order/erp/captcha/get_img_captcha_code';
  1519 + function request(): Promise<PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess> {
  1520 + return requester(request.url, {
  1521 + method: request.method,
  1522 + }) as unknown as Promise<PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess>;
  1523 + }
  1524 +
  1525 + /** http method */
  1526 + request.method = method;
  1527 + /** request url */
  1528 + request.url = url;
  1529 + return request;
  1530 +})();
  1531 +
  1532 +/** @description request parameter type for postOrderErpCaptchaSendCaptchaCode */
  1533 +export interface PostOrderErpCaptchaSendCaptchaCodeOption {
  1534 + /**
  1535 + * @description
  1536 + * msgVo
  1537 + */
  1538 + body: {
  1539 + /**
  1540 + @description
  1541 + msgVo */
  1542 + msgVo: CaptchaMessageVO;
  1543 + };
  1544 +}
  1545 +
  1546 +/** @description response type for postOrderErpCaptchaSendCaptchaCode */
  1547 +export interface PostOrderErpCaptchaSendCaptchaCodeResponse {
  1548 + /**
  1549 + * @description
  1550 + * OK
  1551 + */
  1552 + 200: ServerResult;
  1553 + /**
  1554 + * @description
  1555 + * Created
  1556 + */
  1557 + 201: any;
  1558 + /**
  1559 + * @description
  1560 + * Unauthorized
  1561 + */
  1562 + 401: any;
  1563 + /**
  1564 + * @description
  1565 + * Forbidden
  1566 + */
  1567 + 403: any;
  1568 + /**
  1569 + * @description
  1570 + * Not Found
  1571 + */
  1572 + 404: any;
  1573 +}
  1574 +
  1575 +export type PostOrderErpCaptchaSendCaptchaCodeResponseSuccess =
  1576 + PostOrderErpCaptchaSendCaptchaCodeResponse[200];
  1577 +/**
  1578 + * @description
  1579 + * 获取验证码
  1580 + * @tags 验证码
  1581 + * @produces *
  1582 + * @consumes application/json
  1583 + */
  1584 +export const postOrderErpCaptchaSendCaptchaCode = /* #__PURE__ */ (() => {
  1585 + const method = 'post';
  1586 + const url = '/order/erp/captcha/send_captcha_code';
  1587 + function request(
  1588 + option: PostOrderErpCaptchaSendCaptchaCodeOption,
  1589 + ): Promise<PostOrderErpCaptchaSendCaptchaCodeResponseSuccess> {
  1590 + return requester(request.url, {
  1591 + method: request.method,
  1592 + ...option,
  1593 + }) as unknown as Promise<PostOrderErpCaptchaSendCaptchaCodeResponseSuccess>;
  1594 + }
  1595 +
  1596 + /** http method */
  1597 + request.method = method;
  1598 + /** request url */
  1599 + request.url = url;
  1600 + return request;
  1601 +})();
  1602 +
  1603 +/** @description request parameter type for putOrderErpDepts */
  1604 +export interface PutOrderErpDeptsOption {
  1605 + /**
  1606 + * @description
  1607 + * deptVO
  1608 + */
  1609 + body: {
  1610 + /**
  1611 + @description
  1612 + deptVO */
  1613 + deptVO: AdminDeptVO;
  1614 + };
  1615 +}
  1616 +
  1617 +/** @description response type for putOrderErpDepts */
  1618 +export interface PutOrderErpDeptsResponse {
  1619 + /**
  1620 + * @description
  1621 + * OK
  1622 + */
  1623 + 200: ServerResult;
  1624 + /**
  1625 + * @description
  1626 + * Created
  1627 + */
  1628 + 201: any;
  1629 + /**
  1630 + * @description
  1631 + * Unauthorized
  1632 + */
  1633 + 401: any;
  1634 + /**
  1635 + * @description
  1636 + * Forbidden
  1637 + */
  1638 + 403: any;
  1639 + /**
  1640 + * @description
  1641 + * Not Found
  1642 + */
  1643 + 404: any;
  1644 +}
  1645 +
  1646 +export type PutOrderErpDeptsResponseSuccess = PutOrderErpDeptsResponse[200];
  1647 +/**
  1648 + * @description
  1649 + * 修改部门
  1650 + * @tags 系统:部门管理
  1651 + * @produces *
  1652 + * @consumes application/json
  1653 + */
  1654 +export const putOrderErpDepts = /* #__PURE__ */ (() => {
  1655 + const method = 'put';
  1656 + const url = '/order/erp/depts';
  1657 + function request(
  1658 + option: PutOrderErpDeptsOption,
  1659 + ): Promise<PutOrderErpDeptsResponseSuccess> {
  1660 + return requester(request.url, {
  1661 + method: request.method,
  1662 + ...option,
  1663 + }) as unknown as Promise<PutOrderErpDeptsResponseSuccess>;
  1664 + }
  1665 +
  1666 + /** http method */
  1667 + request.method = method;
  1668 + /** request url */
  1669 + request.url = url;
  1670 + return request;
  1671 +})();
  1672 +
  1673 +/** @description request parameter type for deleteOrderErpDepts */
  1674 +export interface DeleteOrderErpDeptsOption {
  1675 + /**
  1676 + * @description
  1677 + * queryVO
  1678 + */
  1679 + body: {
  1680 + /**
  1681 + @description
  1682 + queryVO */
  1683 + queryVO: AdminDeptQueryVO;
  1684 + };
  1685 +}
  1686 +
  1687 +/** @description response type for deleteOrderErpDepts */
  1688 +export interface DeleteOrderErpDeptsResponse {
  1689 + /**
  1690 + * @description
  1691 + * OK
  1692 + */
  1693 + 200: ServerResult;
  1694 + /**
  1695 + * @description
  1696 + * No Content
  1697 + */
  1698 + 204: any;
  1699 + /**
  1700 + * @description
  1701 + * Unauthorized
  1702 + */
  1703 + 401: any;
  1704 + /**
  1705 + * @description
  1706 + * Forbidden
  1707 + */
  1708 + 403: any;
  1709 +}
  1710 +
  1711 +export type DeleteOrderErpDeptsResponseSuccess =
  1712 + DeleteOrderErpDeptsResponse[200];
  1713 +/**
  1714 + * @description
  1715 + * 删除部门
  1716 + * @tags 系统:部门管理
  1717 + * @produces *
  1718 + */
  1719 +export const deleteOrderErpDepts = /* #__PURE__ */ (() => {
  1720 + const method = 'delete';
  1721 + const url = '/order/erp/depts';
  1722 + function request(
  1723 + option: DeleteOrderErpDeptsOption,
  1724 + ): Promise<DeleteOrderErpDeptsResponseSuccess> {
  1725 + return requester(request.url, {
  1726 + method: request.method,
  1727 + ...option,
  1728 + }) as unknown as Promise<DeleteOrderErpDeptsResponseSuccess>;
  1729 + }
  1730 +
  1731 + /** http method */
  1732 + request.method = method;
  1733 + /** request url */
  1734 + request.url = url;
  1735 + return request;
  1736 +})();
  1737 +
  1738 +/** @description request parameter type for postOrderErpDeptsAdd */
  1739 +export interface PostOrderErpDeptsAddOption {
  1740 + /**
  1741 + * @description
  1742 + * deptVO
  1743 + */
  1744 + body: {
  1745 + /**
  1746 + @description
  1747 + deptVO */
  1748 + deptVO: AdminDeptVO;
  1749 + };
  1750 +}
  1751 +
  1752 +/** @description response type for postOrderErpDeptsAdd */
  1753 +export interface PostOrderErpDeptsAddResponse {
  1754 + /**
  1755 + * @description
  1756 + * OK
  1757 + */
  1758 + 200: ServerResult;
  1759 + /**
  1760 + * @description
  1761 + * Created
  1762 + */
  1763 + 201: any;
  1764 + /**
  1765 + * @description
  1766 + * Unauthorized
  1767 + */
  1768 + 401: any;
  1769 + /**
  1770 + * @description
  1771 + * Forbidden
  1772 + */
  1773 + 403: any;
  1774 + /**
  1775 + * @description
  1776 + * Not Found
  1777 + */
  1778 + 404: any;
  1779 +}
  1780 +
  1781 +export type PostOrderErpDeptsAddResponseSuccess =
  1782 + PostOrderErpDeptsAddResponse[200];
  1783 +/**
  1784 + * @description
  1785 + * 新增部门
  1786 + * @tags 系统:部门管理
  1787 + * @produces *
  1788 + * @consumes application/json
  1789 + */
  1790 +export const postOrderErpDeptsAdd = /* #__PURE__ */ (() => {
  1791 + const method = 'post';
  1792 + const url = '/order/erp/depts/add';
  1793 + function request(
  1794 + option: PostOrderErpDeptsAddOption,
  1795 + ): Promise<PostOrderErpDeptsAddResponseSuccess> {
  1796 + return requester(request.url, {
  1797 + method: request.method,
  1798 + ...option,
  1799 + }) as unknown as Promise<PostOrderErpDeptsAddResponseSuccess>;
  1800 + }
  1801 +
  1802 + /** http method */
  1803 + request.method = method;
  1804 + /** request url */
  1805 + request.url = url;
  1806 + return request;
  1807 +})();
  1808 +
  1809 +/** @description request parameter type for postOrderErpDeptsListByPage */
  1810 +export interface PostOrderErpDeptsListByPageOption {
  1811 + /**
  1812 + * @description
  1813 + * queryVO
  1814 + */
  1815 + body: {
  1816 + /**
  1817 + @description
  1818 + queryVO */
  1819 + queryVO: AdminDeptQueryVO;
  1820 + };
  1821 +}
  1822 +
  1823 +/** @description response type for postOrderErpDeptsListByPage */
  1824 +export interface PostOrderErpDeptsListByPageResponse {
  1825 + /**
  1826 + * @description
  1827 + * OK
  1828 + */
  1829 + 200: ServerResult;
  1830 + /**
  1831 + * @description
  1832 + * Created
  1833 + */
  1834 + 201: any;
  1835 + /**
  1836 + * @description
  1837 + * Unauthorized
  1838 + */
  1839 + 401: any;
  1840 + /**
  1841 + * @description
  1842 + * Forbidden
  1843 + */
  1844 + 403: any;
  1845 + /**
  1846 + * @description
  1847 + * Not Found
  1848 + */
  1849 + 404: any;
  1850 +}
  1851 +
  1852 +export type PostOrderErpDeptsListByPageResponseSuccess =
  1853 + PostOrderErpDeptsListByPageResponse[200];
  1854 +/**
  1855 + * @description
  1856 + * 查询部门
  1857 + * @tags 系统:部门管理
  1858 + * @produces *
  1859 + * @consumes application/json
  1860 + */
  1861 +export const postOrderErpDeptsListByPage = /* #__PURE__ */ (() => {
  1862 + const method = 'post';
  1863 + const url = '/order/erp/depts/list_by_page';
  1864 + function request(
  1865 + option: PostOrderErpDeptsListByPageOption,
  1866 + ): Promise<PostOrderErpDeptsListByPageResponseSuccess> {
  1867 + return requester(request.url, {
  1868 + method: request.method,
  1869 + ...option,
  1870 + }) as unknown as Promise<PostOrderErpDeptsListByPageResponseSuccess>;
  1871 + }
  1872 +
  1873 + /** http method */
  1874 + request.method = method;
  1875 + /** request url */
  1876 + request.url = url;
  1877 + return request;
  1878 +})();
  1879 +
  1880 +/** @description request parameter type for postOrderErpDictionaryAdd */
  1881 +export interface PostOrderErpDictionaryAddOption {
  1882 + /**
  1883 + * @description
  1884 + * dictionaryVO
  1885 + */
  1886 + body: {
  1887 + /**
  1888 + @description
  1889 + dictionaryVO */
  1890 + dictionaryVO: DictionaryVO;
  1891 + };
  1892 +}
  1893 +
  1894 +/** @description response type for postOrderErpDictionaryAdd */
  1895 +export interface PostOrderErpDictionaryAddResponse {
  1896 + /**
  1897 + * @description
  1898 + * OK
  1899 + */
  1900 + 200: ServerResult;
  1901 + /**
  1902 + * @description
  1903 + * Created
  1904 + */
  1905 + 201: any;
  1906 + /**
  1907 + * @description
  1908 + * Unauthorized
  1909 + */
  1910 + 401: any;
  1911 + /**
  1912 + * @description
  1913 + * Forbidden
  1914 + */
  1915 + 403: any;
  1916 + /**
  1917 + * @description
  1918 + * Not Found
  1919 + */
  1920 + 404: any;
  1921 +}
  1922 +
  1923 +export type PostOrderErpDictionaryAddResponseSuccess =
  1924 + PostOrderErpDictionaryAddResponse[200];
  1925 +/**
  1926 + * @description
  1927 + * 新增字典
  1928 + * @tags 系统:字典管理
  1929 + * @produces *
  1930 + * @consumes application/json
  1931 + */
  1932 +export const postOrderErpDictionaryAdd = /* #__PURE__ */ (() => {
  1933 + const method = 'post';
  1934 + const url = '/order/erp/dictionary/add';
  1935 + function request(
  1936 + option: PostOrderErpDictionaryAddOption,
  1937 + ): Promise<PostOrderErpDictionaryAddResponseSuccess> {
  1938 + return requester(request.url, {
  1939 + method: request.method,
  1940 + ...option,
  1941 + }) as unknown as Promise<PostOrderErpDictionaryAddResponseSuccess>;
  1942 + }
  1943 +
  1944 + /** http method */
  1945 + request.method = method;
  1946 + /** request url */
  1947 + request.url = url;
  1948 + return request;
  1949 +})();
  1950 +
  1951 +/** @description request parameter type for postOrderErpDictionaryDelete */
  1952 +export interface PostOrderErpDictionaryDeleteOption {
  1953 + /**
  1954 + * @description
  1955 + * queryVO
  1956 + */
  1957 + body: {
  1958 + /**
  1959 + @description
  1960 + queryVO */
  1961 + queryVO: DictionaryQueryVO;
  1962 + };
  1963 +}
  1964 +
  1965 +/** @description response type for postOrderErpDictionaryDelete */
  1966 +export interface PostOrderErpDictionaryDeleteResponse {
  1967 + /**
  1968 + * @description
  1969 + * OK
  1970 + */
  1971 + 200: ServerResult;
  1972 + /**
  1973 + * @description
  1974 + * Created
  1975 + */
  1976 + 201: any;
  1977 + /**
  1978 + * @description
  1979 + * Unauthorized
  1980 + */
  1981 + 401: any;
  1982 + /**
  1983 + * @description
  1984 + * Forbidden
  1985 + */
  1986 + 403: any;
  1987 + /**
  1988 + * @description
  1989 + * Not Found
  1990 + */
  1991 + 404: any;
  1992 +}
  1993 +
  1994 +export type PostOrderErpDictionaryDeleteResponseSuccess =
  1995 + PostOrderErpDictionaryDeleteResponse[200];
  1996 +/**
  1997 + * @description
  1998 + * 删除字典
  1999 + * @tags 系统:字典管理
  2000 + * @produces *
  2001 + * @consumes application/json
  2002 + */
  2003 +export const postOrderErpDictionaryDelete = /* #__PURE__ */ (() => {
  2004 + const method = 'post';
  2005 + const url = '/order/erp/dictionary/delete';
  2006 + function request(
  2007 + option: PostOrderErpDictionaryDeleteOption,
  2008 + ): Promise<PostOrderErpDictionaryDeleteResponseSuccess> {
  2009 + return requester(request.url, {
  2010 + method: request.method,
  2011 + ...option,
  2012 + }) as unknown as Promise<PostOrderErpDictionaryDeleteResponseSuccess>;
  2013 + }
  2014 +
  2015 + /** http method */
  2016 + request.method = method;
  2017 + /** request url */
  2018 + request.url = url;
  2019 + return request;
  2020 +})();
  2021 +
  2022 +/** @description request parameter type for postOrderErpDictionaryEdit */
  2023 +export interface PostOrderErpDictionaryEditOption {
  2024 + /**
  2025 + * @description
  2026 + * dictionaryVO
  2027 + */
  2028 + body: {
  2029 + /**
  2030 + @description
  2031 + dictionaryVO */
  2032 + dictionaryVO: DictionaryVO;
  2033 + };
  2034 +}
  2035 +
  2036 +/** @description response type for postOrderErpDictionaryEdit */
  2037 +export interface PostOrderErpDictionaryEditResponse {
  2038 + /**
  2039 + * @description
  2040 + * OK
  2041 + */
  2042 + 200: ServerResult;
  2043 + /**
  2044 + * @description
  2045 + * Created
  2046 + */
  2047 + 201: any;
  2048 + /**
  2049 + * @description
  2050 + * Unauthorized
  2051 + */
  2052 + 401: any;
  2053 + /**
  2054 + * @description
  2055 + * Forbidden
  2056 + */
  2057 + 403: any;
  2058 + /**
  2059 + * @description
  2060 + * Not Found
  2061 + */
  2062 + 404: any;
  2063 +}
  2064 +
  2065 +export type PostOrderErpDictionaryEditResponseSuccess =
  2066 + PostOrderErpDictionaryEditResponse[200];
  2067 +/**
  2068 + * @description
  2069 + * 修改字典
  2070 + * @tags 系统:字典管理
  2071 + * @produces *
  2072 + * @consumes application/json
  2073 + */
  2074 +export const postOrderErpDictionaryEdit = /* #__PURE__ */ (() => {
  2075 + const method = 'post';
  2076 + const url = '/order/erp/dictionary/edit';
  2077 + function request(
  2078 + option: PostOrderErpDictionaryEditOption,
  2079 + ): Promise<PostOrderErpDictionaryEditResponseSuccess> {
  2080 + return requester(request.url, {
  2081 + method: request.method,
  2082 + ...option,
  2083 + }) as unknown as Promise<PostOrderErpDictionaryEditResponseSuccess>;
  2084 + }
  2085 +
  2086 + /** http method */
  2087 + request.method = method;
  2088 + /** request url */
  2089 + request.url = url;
  2090 + return request;
  2091 +})();
  2092 +
  2093 +/** @description request parameter type for postOrderErpDictionaryGetAll */
  2094 +export interface PostOrderErpDictionaryGetAllOption {
  2095 + /**
  2096 + * @description
  2097 + * queryVO
  2098 + */
  2099 + body: {
  2100 + /**
  2101 + @description
  2102 + queryVO */
  2103 + queryVO: DictionaryQueryVO;
  2104 + };
  2105 +}
  2106 +
  2107 +/** @description response type for postOrderErpDictionaryGetAll */
  2108 +export interface PostOrderErpDictionaryGetAllResponse {
  2109 + /**
  2110 + * @description
  2111 + * OK
  2112 + */
  2113 + 200: ServerResult;
  2114 + /**
  2115 + * @description
  2116 + * Created
  2117 + */
  2118 + 201: any;
  2119 + /**
  2120 + * @description
  2121 + * Unauthorized
  2122 + */
  2123 + 401: any;
  2124 + /**
  2125 + * @description
  2126 + * Forbidden
  2127 + */
  2128 + 403: any;
  2129 + /**
  2130 + * @description
  2131 + * Not Found
  2132 + */
  2133 + 404: any;
  2134 +}
  2135 +
  2136 +export type PostOrderErpDictionaryGetAllResponseSuccess =
  2137 + PostOrderErpDictionaryGetAllResponse[200];
  2138 +/**
  2139 + * @description
  2140 + * 获取所有字典
  2141 + * @tags 系统:字典管理
  2142 + * @produces *
  2143 + * @consumes application/json
  2144 + */
  2145 +export const postOrderErpDictionaryGetAll = /* #__PURE__ */ (() => {
  2146 + const method = 'post';
  2147 + const url = '/order/erp/dictionary/get_all';
  2148 + function request(
  2149 + option: PostOrderErpDictionaryGetAllOption,
  2150 + ): Promise<PostOrderErpDictionaryGetAllResponseSuccess> {
  2151 + return requester(request.url, {
  2152 + method: request.method,
  2153 + ...option,
  2154 + }) as unknown as Promise<PostOrderErpDictionaryGetAllResponseSuccess>;
  2155 + }
  2156 +
  2157 + /** http method */
  2158 + request.method = method;
  2159 + /** request url */
  2160 + request.url = url;
  2161 + return request;
  2162 +})();
  2163 +
  2164 +/** @description request parameter type for postOrderErpDictionaryListByPage */
  2165 +export interface PostOrderErpDictionaryListByPageOption {
  2166 + /**
  2167 + * @description
  2168 + * queryVO
  2169 + */
  2170 + body: {
  2171 + /**
  2172 + @description
  2173 + queryVO */
  2174 + queryVO: DictionaryQueryVO;
  2175 + };
  2176 +}
  2177 +
  2178 +/** @description response type for postOrderErpDictionaryListByPage */
  2179 +export interface PostOrderErpDictionaryListByPageResponse {
  2180 + /**
  2181 + * @description
  2182 + * OK
  2183 + */
  2184 + 200: ServerResult;
  2185 + /**
  2186 + * @description
  2187 + * Created
  2188 + */
  2189 + 201: any;
  2190 + /**
  2191 + * @description
  2192 + * Unauthorized
  2193 + */
  2194 + 401: any;
  2195 + /**
  2196 + * @description
  2197 + * Forbidden
  2198 + */
  2199 + 403: any;
  2200 + /**
  2201 + * @description
  2202 + * Not Found
  2203 + */
  2204 + 404: any;
  2205 +}
  2206 +
  2207 +export type PostOrderErpDictionaryListByPageResponseSuccess =
  2208 + PostOrderErpDictionaryListByPageResponse[200];
  2209 +/**
  2210 + * @description
  2211 + * 查询字典列表
  2212 + * @tags 系统:字典管理
  2213 + * @produces *
  2214 + * @consumes application/json
  2215 + */
  2216 +export const postOrderErpDictionaryListByPage = /* #__PURE__ */ (() => {
  2217 + const method = 'post';
  2218 + const url = '/order/erp/dictionary/list_by_page';
  2219 + function request(
  2220 + option: PostOrderErpDictionaryListByPageOption,
  2221 + ): Promise<PostOrderErpDictionaryListByPageResponseSuccess> {
  2222 + return requester(request.url, {
  2223 + method: request.method,
  2224 + ...option,
  2225 + }) as unknown as Promise<PostOrderErpDictionaryListByPageResponseSuccess>;
  2226 + }
  2227 +
  2228 + /** http method */
  2229 + request.method = method;
  2230 + /** request url */
  2231 + request.url = url;
  2232 + return request;
  2233 +})();
  2234 +
  2235 +/** @description response type for getOrderErpIndexChartData */
  2236 +export interface GetOrderErpIndexChartDataResponse {
  2237 + /**
  2238 + * @description
  2239 + * OK
  2240 + */
  2241 + 200: ServerResult;
  2242 + /**
  2243 + * @description
  2244 + * Unauthorized
  2245 + */
  2246 + 401: any;
  2247 + /**
  2248 + * @description
  2249 + * Forbidden
  2250 + */
  2251 + 403: any;
  2252 + /**
  2253 + * @description
  2254 + * Not Found
  2255 + */
  2256 + 404: any;
  2257 +}
  2258 +
  2259 +export type GetOrderErpIndexChartDataResponseSuccess =
  2260 + GetOrderErpIndexChartDataResponse[200];
  2261 +/**
  2262 + * @description
  2263 + * 首页订单趋势
  2264 + * @tags 首页
  2265 + * @produces *
  2266 + */
  2267 +export const getOrderErpIndexChartData = /* #__PURE__ */ (() => {
  2268 + const method = 'get';
  2269 + const url = '/order/erp/index/chartData';
  2270 + function request(): Promise<GetOrderErpIndexChartDataResponseSuccess> {
  2271 + return requester(request.url, {
  2272 + method: request.method,
  2273 + }) as unknown as Promise<GetOrderErpIndexChartDataResponseSuccess>;
  2274 + }
  2275 +
  2276 + /** http method */
  2277 + request.method = method;
  2278 + /** request url */
  2279 + request.url = url;
  2280 + return request;
  2281 +})();
  2282 +
  2283 +/** @description response type for getOrderErpIndexData */
  2284 +export interface GetOrderErpIndexDataResponse {
  2285 + /**
  2286 + * @description
  2287 + * OK
  2288 + */
  2289 + 200: ServerResult;
  2290 + /**
  2291 + * @description
  2292 + * Unauthorized
  2293 + */
  2294 + 401: any;
  2295 + /**
  2296 + * @description
  2297 + * Forbidden
  2298 + */
  2299 + 403: any;
  2300 + /**
  2301 + * @description
  2302 + * Not Found
  2303 + */
  2304 + 404: any;
  2305 +}
  2306 +
  2307 +export type GetOrderErpIndexDataResponseSuccess =
  2308 + GetOrderErpIndexDataResponse[200];
  2309 +/**
  2310 + * @description
  2311 + * 首页统计数据
  2312 + * @tags 首页
  2313 + * @produces *
  2314 + */
  2315 +export const getOrderErpIndexData = /* #__PURE__ */ (() => {
  2316 + const method = 'get';
  2317 + const url = '/order/erp/index/data';
  2318 + function request(): Promise<GetOrderErpIndexDataResponseSuccess> {
  2319 + return requester(request.url, {
  2320 + method: request.method,
  2321 + }) as unknown as Promise<GetOrderErpIndexDataResponseSuccess>;
  2322 + }
  2323 +
  2324 + /** http method */
  2325 + request.method = method;
  2326 + /** request url */
  2327 + request.url = url;
  2328 + return request;
  2329 +})();
  2330 +
  2331 +/** @description request parameter type for postOrderErpJobsAdd */
  2332 +export interface PostOrderErpJobsAddOption {
  2333 + /**
  2334 + * @description
  2335 + * jobVO
  2336 + */
  2337 + body: {
  2338 + /**
  2339 + @description
  2340 + jobVO */
  2341 + jobVO: AdminJobVO;
  2342 + };
  2343 +}
  2344 +
  2345 +/** @description response type for postOrderErpJobsAdd */
  2346 +export interface PostOrderErpJobsAddResponse {
  2347 + /**
  2348 + * @description
  2349 + * OK
  2350 + */
  2351 + 200: ServerResult;
  2352 + /**
  2353 + * @description
  2354 + * Created
  2355 + */
  2356 + 201: any;
  2357 + /**
  2358 + * @description
  2359 + * Unauthorized
  2360 + */
  2361 + 401: any;
  2362 + /**
  2363 + * @description
  2364 + * Forbidden
  2365 + */
  2366 + 403: any;
  2367 + /**
  2368 + * @description
  2369 + * Not Found
  2370 + */
  2371 + 404: any;
  2372 +}
  2373 +
  2374 +export type PostOrderErpJobsAddResponseSuccess =
  2375 + PostOrderErpJobsAddResponse[200];
  2376 +/**
  2377 + * @description
  2378 + * 新增岗位
  2379 + * @tags 系统:岗位管理
  2380 + * @produces *
  2381 + * @consumes application/json
  2382 + */
  2383 +export const postOrderErpJobsAdd = /* #__PURE__ */ (() => {
  2384 + const method = 'post';
  2385 + const url = '/order/erp/jobs/add';
  2386 + function request(
  2387 + option: PostOrderErpJobsAddOption,
  2388 + ): Promise<PostOrderErpJobsAddResponseSuccess> {
  2389 + return requester(request.url, {
  2390 + method: request.method,
  2391 + ...option,
  2392 + }) as unknown as Promise<PostOrderErpJobsAddResponseSuccess>;
  2393 + }
  2394 +
  2395 + /** http method */
  2396 + request.method = method;
  2397 + /** request url */
  2398 + request.url = url;
  2399 + return request;
  2400 +})();
  2401 +
  2402 +/** @description request parameter type for postOrderErpJobsDelete */
  2403 +export interface PostOrderErpJobsDeleteOption {
  2404 + /**
  2405 + * @description
  2406 + * queryVO
  2407 + */
  2408 + body: {
  2409 + /**
  2410 + @description
  2411 + queryVO */
  2412 + queryVO: AdminJobQueryVO;
  2413 + };
  2414 +}
  2415 +
  2416 +/** @description response type for postOrderErpJobsDelete */
  2417 +export interface PostOrderErpJobsDeleteResponse {
  2418 + /**
  2419 + * @description
  2420 + * OK
  2421 + */
  2422 + 200: ServerResult;
  2423 + /**
  2424 + * @description
  2425 + * Created
  2426 + */
  2427 + 201: any;
  2428 + /**
  2429 + * @description
  2430 + * Unauthorized
  2431 + */
  2432 + 401: any;
  2433 + /**
  2434 + * @description
  2435 + * Forbidden
  2436 + */
  2437 + 403: any;
  2438 + /**
  2439 + * @description
  2440 + * Not Found
  2441 + */
  2442 + 404: any;
  2443 +}
  2444 +
  2445 +export type PostOrderErpJobsDeleteResponseSuccess =
  2446 + PostOrderErpJobsDeleteResponse[200];
  2447 +/**
  2448 + * @description
  2449 + * 删除岗位
  2450 + * @tags 系统:岗位管理
  2451 + * @produces *
  2452 + * @consumes application/json
  2453 + */
  2454 +export const postOrderErpJobsDelete = /* #__PURE__ */ (() => {
  2455 + const method = 'post';
  2456 + const url = '/order/erp/jobs/delete';
  2457 + function request(
  2458 + option: PostOrderErpJobsDeleteOption,
  2459 + ): Promise<PostOrderErpJobsDeleteResponseSuccess> {
  2460 + return requester(request.url, {
  2461 + method: request.method,
  2462 + ...option,
  2463 + }) as unknown as Promise<PostOrderErpJobsDeleteResponseSuccess>;
  2464 + }
  2465 +
  2466 + /** http method */
  2467 + request.method = method;
  2468 + /** request url */
  2469 + request.url = url;
  2470 + return request;
  2471 +})();
  2472 +
  2473 +/** @description request parameter type for postOrderErpJobsEdit */
  2474 +export interface PostOrderErpJobsEditOption {
  2475 + /**
  2476 + * @description
  2477 + * jobVO
  2478 + */
  2479 + body: {
  2480 + /**
  2481 + @description
  2482 + jobVO */
  2483 + jobVO: AdminJobVO;
  2484 + };
  2485 +}
  2486 +
  2487 +/** @description response type for postOrderErpJobsEdit */
  2488 +export interface PostOrderErpJobsEditResponse {
  2489 + /**
  2490 + * @description
  2491 + * OK
  2492 + */
  2493 + 200: ServerResult;
  2494 + /**
  2495 + * @description
  2496 + * Created
  2497 + */
  2498 + 201: any;
  2499 + /**
  2500 + * @description
  2501 + * Unauthorized
  2502 + */
  2503 + 401: any;
  2504 + /**
  2505 + * @description
  2506 + * Forbidden
  2507 + */
  2508 + 403: any;
  2509 + /**
  2510 + * @description
  2511 + * Not Found
  2512 + */
  2513 + 404: any;
  2514 +}
  2515 +
  2516 +export type PostOrderErpJobsEditResponseSuccess =
  2517 + PostOrderErpJobsEditResponse[200];
  2518 +/**
  2519 + * @description
  2520 + * 修改岗位
  2521 + * @tags 系统:岗位管理
  2522 + * @produces *
  2523 + * @consumes application/json
  2524 + */
  2525 +export const postOrderErpJobsEdit = /* #__PURE__ */ (() => {
  2526 + const method = 'post';
  2527 + const url = '/order/erp/jobs/edit';
  2528 + function request(
  2529 + option: PostOrderErpJobsEditOption,
  2530 + ): Promise<PostOrderErpJobsEditResponseSuccess> {
  2531 + return requester(request.url, {
  2532 + method: request.method,
  2533 + ...option,
  2534 + }) as unknown as Promise<PostOrderErpJobsEditResponseSuccess>;
  2535 + }
  2536 +
  2537 + /** http method */
  2538 + request.method = method;
  2539 + /** request url */
  2540 + request.url = url;
  2541 + return request;
  2542 +})();
  2543 +
  2544 +/** @description request parameter type for postOrderErpJobsListByPage */
  2545 +export interface PostOrderErpJobsListByPageOption {
  2546 + /**
  2547 + * @description
  2548 + * queryVO
  2549 + */
  2550 + body: {
  2551 + /**
  2552 + @description
  2553 + queryVO */
  2554 + queryVO: AdminJobQueryVO;
  2555 + };
  2556 +}
  2557 +
  2558 +/** @description response type for postOrderErpJobsListByPage */
  2559 +export interface PostOrderErpJobsListByPageResponse {
  2560 + /**
  2561 + * @description
  2562 + * OK
  2563 + */
  2564 + 200: ServerResult;
  2565 + /**
  2566 + * @description
  2567 + * Created
  2568 + */
  2569 + 201: any;
  2570 + /**
  2571 + * @description
  2572 + * Unauthorized
  2573 + */
  2574 + 401: any;
  2575 + /**
  2576 + * @description
  2577 + * Forbidden
  2578 + */
  2579 + 403: any;
  2580 + /**
  2581 + * @description
  2582 + * Not Found
  2583 + */
  2584 + 404: any;
  2585 +}
  2586 +
  2587 +export type PostOrderErpJobsListByPageResponseSuccess =
  2588 + PostOrderErpJobsListByPageResponse[200];
  2589 +/**
  2590 + * @description
  2591 + * 查询岗位
  2592 + * @tags 系统:岗位管理
  2593 + * @produces *
  2594 + * @consumes application/json
  2595 + */
  2596 +export const postOrderErpJobsListByPage = /* #__PURE__ */ (() => {
  2597 + const method = 'post';
  2598 + const url = '/order/erp/jobs/list_by_page';
  2599 + function request(
  2600 + option: PostOrderErpJobsListByPageOption,
  2601 + ): Promise<PostOrderErpJobsListByPageResponseSuccess> {
  2602 + return requester(request.url, {
  2603 + method: request.method,
  2604 + ...option,
  2605 + }) as unknown as Promise<PostOrderErpJobsListByPageResponseSuccess>;
  2606 + }
  2607 +
  2608 + /** http method */
  2609 + request.method = method;
  2610 + /** request url */
  2611 + request.url = url;
  2612 + return request;
  2613 +})();
  2614 +
  2615 +/** @description request parameter type for postOrderErpLogsList */
  2616 +export interface PostOrderErpLogsListOption {
  2617 + /**
  2618 + * @description
  2619 + * sysLogQueryVO
  2620 + */
  2621 + body: {
  2622 + /**
  2623 + @description
  2624 + sysLogQueryVO */
  2625 + sysLogQueryVO: SysLogQueryVO;
  2626 + };
  2627 +}
  2628 +
  2629 +/** @description response type for postOrderErpLogsList */
  2630 +export interface PostOrderErpLogsListResponse {
  2631 + /**
  2632 + * @description
  2633 + * OK
  2634 + */
  2635 + 200: ServerResult;
  2636 + /**
  2637 + * @description
  2638 + * Created
  2639 + */
  2640 + 201: any;
  2641 + /**
  2642 + * @description
  2643 + * Unauthorized
  2644 + */
  2645 + 401: any;
  2646 + /**
  2647 + * @description
  2648 + * Forbidden
  2649 + */
  2650 + 403: any;
  2651 + /**
  2652 + * @description
  2653 + * Not Found
  2654 + */
  2655 + 404: any;
  2656 +}
  2657 +
  2658 +export type PostOrderErpLogsListResponseSuccess =
  2659 + PostOrderErpLogsListResponse[200];
  2660 +/**
  2661 + * @description
  2662 + * 分页查询
  2663 + * @tags 系统日志
  2664 + * @produces *
  2665 + * @consumes application/json
  2666 + */
  2667 +export const postOrderErpLogsList = /* #__PURE__ */ (() => {
  2668 + const method = 'post';
  2669 + const url = '/order/erp/logs/list';
  2670 + function request(
  2671 + option: PostOrderErpLogsListOption,
  2672 + ): Promise<PostOrderErpLogsListResponseSuccess> {
  2673 + return requester(request.url, {
  2674 + method: request.method,
  2675 + ...option,
  2676 + }) as unknown as Promise<PostOrderErpLogsListResponseSuccess>;
  2677 + }
  2678 +
  2679 + /** http method */
  2680 + request.method = method;
  2681 + /** request url */
  2682 + request.url = url;
  2683 + return request;
  2684 +})();
  2685 +
  2686 +/** @description request parameter type for postOrderErpMenusAdd */
  2687 +export interface PostOrderErpMenusAddOption {
  2688 + /**
  2689 + * @description
  2690 + * menuVO
  2691 + */
  2692 + body: {
  2693 + /**
  2694 + @description
  2695 + menuVO */
  2696 + menuVO: AdminMenuVO;
  2697 + };
  2698 +}
  2699 +
  2700 +/** @description response type for postOrderErpMenusAdd */
  2701 +export interface PostOrderErpMenusAddResponse {
  2702 + /**
  2703 + * @description
  2704 + * OK
  2705 + */
  2706 + 200: ServerResult;
  2707 + /**
  2708 + * @description
  2709 + * Created
  2710 + */
  2711 + 201: any;
  2712 + /**
  2713 + * @description
  2714 + * Unauthorized
  2715 + */
  2716 + 401: any;
  2717 + /**
  2718 + * @description
  2719 + * Forbidden
  2720 + */
  2721 + 403: any;
  2722 + /**
  2723 + * @description
  2724 + * Not Found
  2725 + */
  2726 + 404: any;
  2727 +}
  2728 +
  2729 +export type PostOrderErpMenusAddResponseSuccess =
  2730 + PostOrderErpMenusAddResponse[200];
  2731 +/**
  2732 + * @description
  2733 + * 新增菜单
  2734 + * @tags 系统:菜单管理
  2735 + * @produces *
  2736 + * @consumes application/json
  2737 + */
  2738 +export const postOrderErpMenusAdd = /* #__PURE__ */ (() => {
  2739 + const method = 'post';
  2740 + const url = '/order/erp/menus/add';
  2741 + function request(
  2742 + option: PostOrderErpMenusAddOption,
  2743 + ): Promise<PostOrderErpMenusAddResponseSuccess> {
  2744 + return requester(request.url, {
  2745 + method: request.method,
  2746 + ...option,
  2747 + }) as unknown as Promise<PostOrderErpMenusAddResponseSuccess>;
  2748 + }
  2749 +
  2750 + /** http method */
  2751 + request.method = method;
  2752 + /** request url */
  2753 + request.url = url;
  2754 + return request;
  2755 +})();
  2756 +
  2757 +/** @description request parameter type for postOrderErpMenusAll */
  2758 +export interface PostOrderErpMenusAllOption {
  2759 + /**
  2760 + * @description
  2761 + * queryVO
  2762 + */
  2763 + body: {
  2764 + /**
  2765 + @description
  2766 + queryVO */
  2767 + queryVO: AdminMenuQueryVO;
  2768 + };
  2769 +}
  2770 +
  2771 +/** @description response type for postOrderErpMenusAll */
  2772 +export interface PostOrderErpMenusAllResponse {
  2773 + /**
  2774 + * @description
  2775 + * OK
  2776 + */
  2777 + 200: ServerResult;
  2778 + /**
  2779 + * @description
  2780 + * Created
  2781 + */
  2782 + 201: any;
  2783 + /**
  2784 + * @description
  2785 + * Unauthorized
  2786 + */
  2787 + 401: any;
  2788 + /**
  2789 + * @description
  2790 + * Forbidden
  2791 + */
  2792 + 403: any;
  2793 + /**
  2794 + * @description
  2795 + * Not Found
  2796 + */
  2797 + 404: any;
  2798 +}
  2799 +
  2800 +export type PostOrderErpMenusAllResponseSuccess =
  2801 + PostOrderErpMenusAllResponse[200];
  2802 +/**
  2803 + * @description
  2804 + * 查询菜单
  2805 + * @tags 系统:菜单管理
  2806 + * @produces *
  2807 + * @consumes application/json
  2808 + */
  2809 +export const postOrderErpMenusAll = /* #__PURE__ */ (() => {
  2810 + const method = 'post';
  2811 + const url = '/order/erp/menus/all';
  2812 + function request(
  2813 + option: PostOrderErpMenusAllOption,
  2814 + ): Promise<PostOrderErpMenusAllResponseSuccess> {
  2815 + return requester(request.url, {
  2816 + method: request.method,
  2817 + ...option,
  2818 + }) as unknown as Promise<PostOrderErpMenusAllResponseSuccess>;
  2819 + }
  2820 +
  2821 + /** http method */
  2822 + request.method = method;
  2823 + /** request url */
  2824 + request.url = url;
  2825 + return request;
  2826 +})();
  2827 +
  2828 +/** @description response type for postOrderErpMenusBuild */
  2829 +export interface PostOrderErpMenusBuildResponse {
  2830 + /**
  2831 + * @description
  2832 + * OK
  2833 + */
  2834 + 200: ServerResult;
  2835 + /**
  2836 + * @description
  2837 + * Created
  2838 + */
  2839 + 201: any;
  2840 + /**
  2841 + * @description
  2842 + * Unauthorized
  2843 + */
  2844 + 401: any;
  2845 + /**
  2846 + * @description
  2847 + * Forbidden
  2848 + */
  2849 + 403: any;
  2850 + /**
  2851 + * @description
  2852 + * Not Found
  2853 + */
  2854 + 404: any;
  2855 +}
  2856 +
  2857 +export type PostOrderErpMenusBuildResponseSuccess =
  2858 + PostOrderErpMenusBuildResponse[200];
  2859 +/**
  2860 + * @description
  2861 + * 获取前端所需菜单
  2862 + * @tags 系统:菜单管理
  2863 + * @produces *
  2864 + * @consumes application/json
  2865 + */
  2866 +export const postOrderErpMenusBuild = /* #__PURE__ */ (() => {
  2867 + const method = 'post';
  2868 + const url = '/order/erp/menus/build';
  2869 + function request(): Promise<PostOrderErpMenusBuildResponseSuccess> {
  2870 + return requester(request.url, {
  2871 + method: request.method,
  2872 + }) as unknown as Promise<PostOrderErpMenusBuildResponseSuccess>;
  2873 + }
  2874 +
  2875 + /** http method */
  2876 + request.method = method;
  2877 + /** request url */
  2878 + request.url = url;
  2879 + return request;
  2880 +})();
  2881 +
  2882 +/** @description request parameter type for postOrderErpMenusDelete */
  2883 +export interface PostOrderErpMenusDeleteOption {
  2884 + /**
  2885 + * @description
  2886 + * queryVO
  2887 + */
  2888 + body: {
  2889 + /**
  2890 + @description
  2891 + queryVO */
  2892 + queryVO: AdminMenuQueryVO;
  2893 + };
  2894 +}
  2895 +
  2896 +/** @description response type for postOrderErpMenusDelete */
  2897 +export interface PostOrderErpMenusDeleteResponse {
  2898 + /**
  2899 + * @description
  2900 + * OK
  2901 + */
  2902 + 200: ServerResult;
  2903 + /**
  2904 + * @description
  2905 + * Created
  2906 + */
  2907 + 201: any;
  2908 + /**
  2909 + * @description
  2910 + * Unauthorized
  2911 + */
  2912 + 401: any;
  2913 + /**
  2914 + * @description
  2915 + * Forbidden
  2916 + */
  2917 + 403: any;
  2918 + /**
  2919 + * @description
  2920 + * Not Found
  2921 + */
  2922 + 404: any;
  2923 +}
  2924 +
  2925 +export type PostOrderErpMenusDeleteResponseSuccess =
  2926 + PostOrderErpMenusDeleteResponse[200];
  2927 +/**
  2928 + * @description
  2929 + * 删除菜单
  2930 + * @tags 系统:菜单管理
  2931 + * @produces *
  2932 + * @consumes application/json
  2933 + */
  2934 +export const postOrderErpMenusDelete = /* #__PURE__ */ (() => {
  2935 + const method = 'post';
  2936 + const url = '/order/erp/menus/delete';
  2937 + function request(
  2938 + option: PostOrderErpMenusDeleteOption,
  2939 + ): Promise<PostOrderErpMenusDeleteResponseSuccess> {
  2940 + return requester(request.url, {
  2941 + method: request.method,
  2942 + ...option,
  2943 + }) as unknown as Promise<PostOrderErpMenusDeleteResponseSuccess>;
  2944 + }
  2945 +
  2946 + /** http method */
  2947 + request.method = method;
  2948 + /** request url */
  2949 + request.url = url;
  2950 + return request;
  2951 +})();
  2952 +
  2953 +/** @description request parameter type for postOrderErpMenusEdit */
  2954 +export interface PostOrderErpMenusEditOption {
  2955 + /**
  2956 + * @description
  2957 + * menuVO
  2958 + */
  2959 + body: {
  2960 + /**
  2961 + @description
  2962 + menuVO */
  2963 + menuVO: AdminMenuVO;
  2964 + };
  2965 +}
  2966 +
  2967 +/** @description response type for postOrderErpMenusEdit */
  2968 +export interface PostOrderErpMenusEditResponse {
  2969 + /**
  2970 + * @description
  2971 + * OK
  2972 + */
  2973 + 200: ServerResult;
  2974 + /**
  2975 + * @description
  2976 + * Created
  2977 + */
  2978 + 201: any;
  2979 + /**
  2980 + * @description
  2981 + * Unauthorized
  2982 + */
  2983 + 401: any;
  2984 + /**
  2985 + * @description
  2986 + * Forbidden
  2987 + */
  2988 + 403: any;
  2989 + /**
  2990 + * @description
  2991 + * Not Found
  2992 + */
  2993 + 404: any;
  2994 +}
  2995 +
  2996 +export type PostOrderErpMenusEditResponseSuccess =
  2997 + PostOrderErpMenusEditResponse[200];
  2998 +/**
  2999 + * @description
  3000 + * 修改菜单
  3001 + * @tags 系统:菜单管理
  3002 + * @produces *
  3003 + * @consumes application/json
  3004 + */
  3005 +export const postOrderErpMenusEdit = /* #__PURE__ */ (() => {
  3006 + const method = 'post';
  3007 + const url = '/order/erp/menus/edit';
  3008 + function request(
  3009 + option: PostOrderErpMenusEditOption,
  3010 + ): Promise<PostOrderErpMenusEditResponseSuccess> {
  3011 + return requester(request.url, {
  3012 + method: request.method,
  3013 + ...option,
  3014 + }) as unknown as Promise<PostOrderErpMenusEditResponseSuccess>;
  3015 + }
  3016 +
  3017 + /** http method */
  3018 + request.method = method;
  3019 + /** request url */
  3020 + request.url = url;
  3021 + return request;
  3022 +})();
  3023 +
  3024 +/** @description response type for postOrderErpMenusTree */
  3025 +export interface PostOrderErpMenusTreeResponse {
  3026 + /**
  3027 + * @description
  3028 + * OK
  3029 + */
  3030 + 200: ServerResult;
  3031 + /**
  3032 + * @description
  3033 + * Created
  3034 + */
  3035 + 201: any;
  3036 + /**
  3037 + * @description
  3038 + * Unauthorized
  3039 + */
  3040 + 401: any;
  3041 + /**
  3042 + * @description
  3043 + * Forbidden
  3044 + */
  3045 + 403: any;
  3046 + /**
  3047 + * @description
  3048 + * Not Found
  3049 + */
  3050 + 404: any;
  3051 +}
  3052 +
  3053 +export type PostOrderErpMenusTreeResponseSuccess =
  3054 + PostOrderErpMenusTreeResponse[200];
  3055 +/**
  3056 + * @description
  3057 + * 返回全部的菜单
  3058 + * @tags 系统:菜单管理
  3059 + * @produces *
  3060 + * @consumes application/json
  3061 + */
  3062 +export const postOrderErpMenusTree = /* #__PURE__ */ (() => {
  3063 + const method = 'post';
  3064 + const url = '/order/erp/menus/tree';
  3065 + function request(): Promise<PostOrderErpMenusTreeResponseSuccess> {
  3066 + return requester(request.url, {
  3067 + method: request.method,
  3068 + }) as unknown as Promise<PostOrderErpMenusTreeResponseSuccess>;
  3069 + }
  3070 +
  3071 + /** http method */
  3072 + request.method = method;
  3073 + /** request url */
  3074 + request.url = url;
  3075 + return request;
  3076 +})();
  3077 +
  3078 +/** @description request parameter type for postOrderErpOptLogListByPage */
  3079 +export interface PostOrderErpOptLogListByPageOption {
  3080 + /**
  3081 + * @description
  3082 + * queryVO
  3083 + */
  3084 + body: {
  3085 + /**
  3086 + @description
  3087 + queryVO */
  3088 + queryVO: OrderOptLogQueryVO;
  3089 + };
  3090 +}
  3091 +
  3092 +/** @description response type for postOrderErpOptLogListByPage */
  3093 +export interface PostOrderErpOptLogListByPageResponse {
  3094 + /**
  3095 + * @description
  3096 + * OK
  3097 + */
  3098 + 200: ServerResult;
  3099 + /**
  3100 + * @description
  3101 + * Created
  3102 + */
  3103 + 201: any;
  3104 + /**
  3105 + * @description
  3106 + * Unauthorized
  3107 + */
  3108 + 401: any;
  3109 + /**
  3110 + * @description
  3111 + * Forbidden
  3112 + */
  3113 + 403: any;
  3114 + /**
  3115 + * @description
  3116 + * Not Found
  3117 + */
  3118 + 404: any;
  3119 +}
  3120 +
  3121 +export type PostOrderErpOptLogListByPageResponseSuccess =
  3122 + PostOrderErpOptLogListByPageResponse[200];
  3123 +/**
  3124 + * @description
  3125 + * 分页查询
  3126 + * @tags 订单操作日志
  3127 + * @produces *
  3128 + * @consumes application/json
  3129 + */
  3130 +export const postOrderErpOptLogListByPage = /* #__PURE__ */ (() => {
  3131 + const method = 'post';
  3132 + const url = '/order/erp/opt/log/list_by_page';
  3133 + function request(
  3134 + option: PostOrderErpOptLogListByPageOption,
  3135 + ): Promise<PostOrderErpOptLogListByPageResponseSuccess> {
  3136 + return requester(request.url, {
  3137 + method: request.method,
  3138 + ...option,
  3139 + }) as unknown as Promise<PostOrderErpOptLogListByPageResponseSuccess>;
  3140 + }
  3141 +
  3142 + /** http method */
  3143 + request.method = method;
  3144 + /** request url */
  3145 + request.url = url;
  3146 + return request;
  3147 +})();
  3148 +
  3149 +/** @description request parameter type for postOrderErpOrderAdd */
  3150 +export interface PostOrderErpOrderAddOption {
  3151 + /**
  3152 + * @description
  3153 + * orderAddVO
  3154 + */
  3155 + body: {
  3156 + /**
  3157 + @description
  3158 + orderAddVO */
  3159 + orderAddVO: OrderAddVO;
  3160 + };
  3161 +}
  3162 +
  3163 +/** @description response type for postOrderErpOrderAdd */
  3164 +export interface PostOrderErpOrderAddResponse {
  3165 + /**
  3166 + * @description
  3167 + * OK
  3168 + */
  3169 + 200: ServerResult;
  3170 + /**
  3171 + * @description
  3172 + * Created
  3173 + */
  3174 + 201: any;
  3175 + /**
  3176 + * @description
  3177 + * Unauthorized
  3178 + */
  3179 + 401: any;
  3180 + /**
  3181 + * @description
  3182 + * Forbidden
  3183 + */
  3184 + 403: any;
  3185 + /**
  3186 + * @description
  3187 + * Not Found
  3188 + */
  3189 + 404: any;
  3190 +}
  3191 +
  3192 +export type PostOrderErpOrderAddResponseSuccess =
  3193 + PostOrderErpOrderAddResponse[200];
  3194 +/**
  3195 + * @description
  3196 + * 新增数据
  3197 + * @tags 订单管理
  3198 + * @produces *
  3199 + * @consumes application/json
  3200 + */
  3201 +export const postOrderErpOrderAdd = /* #__PURE__ */ (() => {
  3202 + const method = 'post';
  3203 + const url = '/order/erp/order/add';
  3204 + function request(
  3205 + option: PostOrderErpOrderAddOption,
  3206 + ): Promise<PostOrderErpOrderAddResponseSuccess> {
  3207 + return requester(request.url, {
  3208 + method: request.method,
  3209 + ...option,
  3210 + }) as unknown as Promise<PostOrderErpOrderAddResponseSuccess>;
  3211 + }
  3212 +
  3213 + /** http method */
  3214 + request.method = method;
  3215 + /** request url */
  3216 + request.url = url;
  3217 + return request;
  3218 +})();
  3219 +
  3220 +/** @description request parameter type for postOrderErpOrderDeleteById */
  3221 +export interface PostOrderErpOrderDeleteByIdOption {
  3222 + /**
  3223 + * @description
  3224 + * orderBaseInfoQueryVO
  3225 + */
  3226 + body: {
  3227 + /**
  3228 + @description
  3229 + orderBaseInfoQueryVO */
  3230 + orderBaseInfoQueryVO: OrderBaseInfoQueryVO;
  3231 + };
  3232 +}
  3233 +
  3234 +/** @description response type for postOrderErpOrderDeleteById */
  3235 +export interface PostOrderErpOrderDeleteByIdResponse {
  3236 + /**
  3237 + * @description
  3238 + * OK
  3239 + */
  3240 + 200: ServerResult;
  3241 + /**
  3242 + * @description
  3243 + * Created
  3244 + */
  3245 + 201: any;
  3246 + /**
  3247 + * @description
  3248 + * Unauthorized
  3249 + */
  3250 + 401: any;
  3251 + /**
  3252 + * @description
  3253 + * Forbidden
  3254 + */
  3255 + 403: any;
  3256 + /**
  3257 + * @description
  3258 + * Not Found
  3259 + */
  3260 + 404: any;
  3261 +}
  3262 +
  3263 +export type PostOrderErpOrderDeleteByIdResponseSuccess =
  3264 + PostOrderErpOrderDeleteByIdResponse[200];
  3265 +/**
  3266 + * @description
  3267 + * 删除数据
  3268 + * @tags 订单管理
  3269 + * @produces *
  3270 + * @consumes application/json
  3271 + */
  3272 +export const postOrderErpOrderDeleteById = /* #__PURE__ */ (() => {
  3273 + const method = 'post';
  3274 + const url = '/order/erp/order/delete_by_id';
  3275 + function request(
  3276 + option: PostOrderErpOrderDeleteByIdOption,
  3277 + ): Promise<PostOrderErpOrderDeleteByIdResponseSuccess> {
  3278 + return requester(request.url, {
  3279 + method: request.method,
  3280 + ...option,
  3281 + }) as unknown as Promise<PostOrderErpOrderDeleteByIdResponseSuccess>;
  3282 + }
  3283 +
  3284 + /** http method */
  3285 + request.method = method;
  3286 + /** request url */
  3287 + request.url = url;
  3288 + return request;
  3289 +})();
  3290 +
  3291 +/** @description request parameter type for postOrderErpOrderEdit */
  3292 +export interface PostOrderErpOrderEditOption {
  3293 + /**
  3294 + * @description
  3295 + * updateVO
  3296 + */
  3297 + body: {
  3298 + /**
  3299 + @description
  3300 + updateVO */
  3301 + updateVO: OrderUpdateVO;
  3302 + };
  3303 +}
  3304 +
  3305 +/** @description response type for postOrderErpOrderEdit */
  3306 +export interface PostOrderErpOrderEditResponse {
  3307 + /**
  3308 + * @description
  3309 + * OK
  3310 + */
  3311 + 200: ServerResult;
  3312 + /**
  3313 + * @description
  3314 + * Created
  3315 + */
  3316 + 201: any;
  3317 + /**
  3318 + * @description
  3319 + * Unauthorized
  3320 + */
  3321 + 401: any;
  3322 + /**
  3323 + * @description
  3324 + * Forbidden
  3325 + */
  3326 + 403: any;
  3327 + /**
  3328 + * @description
  3329 + * Not Found
  3330 + */
  3331 + 404: any;
  3332 +}
  3333 +
  3334 +export type PostOrderErpOrderEditResponseSuccess =
  3335 + PostOrderErpOrderEditResponse[200];
  3336 +/**
  3337 + * @description
  3338 + * 编辑数据
  3339 + * @tags 订单管理
  3340 + * @produces *
  3341 + * @consumes application/json
  3342 + */
  3343 +export const postOrderErpOrderEdit = /* #__PURE__ */ (() => {
  3344 + const method = 'post';
  3345 + const url = '/order/erp/order/edit';
  3346 + function request(
  3347 + option: PostOrderErpOrderEditOption,
  3348 + ): Promise<PostOrderErpOrderEditResponseSuccess> {
  3349 + return requester(request.url, {
  3350 + method: request.method,
  3351 + ...option,
  3352 + }) as unknown as Promise<PostOrderErpOrderEditResponseSuccess>;
  3353 + }
  3354 +
  3355 + /** http method */
  3356 + request.method = method;
  3357 + /** request url */
  3358 + request.url = url;
  3359 + return request;
  3360 +})();
  3361 +
  3362 +/** @description request parameter type for postOrderErpOrderExport */
  3363 +export interface PostOrderErpOrderExportOption {
  3364 + /**
  3365 + * @description
  3366 + * orderBaseInfoQueryVO
  3367 + */
  3368 + body: {
  3369 + /**
  3370 + @description
  3371 + orderBaseInfoQueryVO */
  3372 + orderBaseInfoQueryVO: OrderBaseInfoQueryVO;
  3373 + };
  3374 +}
  3375 +
  3376 +/** @description response type for postOrderErpOrderExport */
  3377 +export interface PostOrderErpOrderExportResponse {
  3378 + /**
  3379 + * @description
  3380 + * OK
  3381 + */
  3382 + 200: ServerResult;
  3383 + /**
  3384 + * @description
  3385 + * Created
  3386 + */
  3387 + 201: any;
  3388 + /**
  3389 + * @description
  3390 + * Unauthorized
  3391 + */
  3392 + 401: any;
  3393 + /**
  3394 + * @description
  3395 + * Forbidden
  3396 + */
  3397 + 403: any;
  3398 + /**
  3399 + * @description
  3400 + * Not Found
  3401 + */
  3402 + 404: any;
  3403 +}
  3404 +
  3405 +export type PostOrderErpOrderExportResponseSuccess =
  3406 + PostOrderErpOrderExportResponse[200];
  3407 +/**
  3408 + * @description
  3409 + * 导出订单
  3410 + * @tags 订单管理
  3411 + * @produces *
  3412 + * @consumes application/json
  3413 + */
  3414 +export const postOrderErpOrderExport = /* #__PURE__ */ (() => {
  3415 + const method = 'post';
  3416 + const url = '/order/erp/order/export';
  3417 + function request(
  3418 + option: PostOrderErpOrderExportOption,
  3419 + ): Promise<PostOrderErpOrderExportResponseSuccess> {
  3420 + return requester(request.url, {
  3421 + method: request.method,
  3422 + ...option,
  3423 + }) as unknown as Promise<PostOrderErpOrderExportResponseSuccess>;
  3424 + }
  3425 +
  3426 + /** http method */
  3427 + request.method = method;
  3428 + /** request url */
  3429 + request.url = url;
  3430 + return request;
  3431 +})();
  3432 +
  3433 +/** @description request parameter type for postOrderErpOrderFieldUnlockApply */
  3434 +export interface PostOrderErpOrderFieldUnlockApplyOption {
  3435 + /**
  3436 + * @description
  3437 + * fieldVO
  3438 + */
  3439 + body: {
  3440 + /**
  3441 + @description
  3442 + fieldVO */
  3443 + fieldVO: OrderUnlockFieldApplyVO;
  3444 + };
  3445 +}
  3446 +
  3447 +/** @description response type for postOrderErpOrderFieldUnlockApply */
  3448 +export interface PostOrderErpOrderFieldUnlockApplyResponse {
  3449 + /**
  3450 + * @description
  3451 + * OK
  3452 + */
  3453 + 200: ServerResult;
  3454 + /**
  3455 + * @description
  3456 + * Created
  3457 + */
  3458 + 201: any;
  3459 + /**
  3460 + * @description
  3461 + * Unauthorized
  3462 + */
  3463 + 401: any;
  3464 + /**
  3465 + * @description
  3466 + * Forbidden
  3467 + */
  3468 + 403: any;
  3469 + /**
  3470 + * @description
  3471 + * Not Found
  3472 + */
  3473 + 404: any;
  3474 +}
  3475 +
  3476 +export type PostOrderErpOrderFieldUnlockApplyResponseSuccess =
  3477 + PostOrderErpOrderFieldUnlockApplyResponse[200];
  3478 +/**
  3479 + * @description
  3480 + * 字段解锁申请
  3481 + * @tags 订单管理
  3482 + * @produces *
  3483 + * @consumes application/json
  3484 + */
  3485 +export const postOrderErpOrderFieldUnlockApply = /* #__PURE__ */ (() => {
  3486 + const method = 'post';
  3487 + const url = '/order/erp/order/field_unlock_apply';
  3488 + function request(
  3489 + option: PostOrderErpOrderFieldUnlockApplyOption,
  3490 + ): Promise<PostOrderErpOrderFieldUnlockApplyResponseSuccess> {
  3491 + return requester(request.url, {
  3492 + method: request.method,
  3493 + ...option,
  3494 + }) as unknown as Promise<PostOrderErpOrderFieldUnlockApplyResponseSuccess>;
  3495 + }
  3496 +
  3497 + /** http method */
  3498 + request.method = method;
  3499 + /** request url */
  3500 + request.url = url;
  3501 + return request;
  3502 +})();
  3503 +
  3504 +/** @description request parameter type for postOrderErpOrderListByPage */
  3505 +export interface PostOrderErpOrderListByPageOption {
  3506 + /**
  3507 + * @description
  3508 + * orderBaseInfoQueryVO
  3509 + */
  3510 + body: {
  3511 + /**
  3512 + @description
  3513 + orderBaseInfoQueryVO */
  3514 + orderBaseInfoQueryVO: OrderBaseInfoQueryVO;
  3515 + };
  3516 +}
  3517 +
  3518 +/** @description response type for postOrderErpOrderListByPage */
  3519 +export interface PostOrderErpOrderListByPageResponse {
  3520 + /**
  3521 + * @description
  3522 + * OK
  3523 + */
  3524 + 200: ServerResult;
  3525 + /**
  3526 + * @description
  3527 + * Created
  3528 + */
  3529 + 201: any;
  3530 + /**
  3531 + * @description
  3532 + * Unauthorized
  3533 + */
  3534 + 401: any;
  3535 + /**
  3536 + * @description
  3537 + * Forbidden
  3538 + */
  3539 + 403: any;
  3540 + /**
  3541 + * @description
  3542 + * Not Found
  3543 + */
  3544 + 404: any;
  3545 +}
  3546 +
  3547 +export type PostOrderErpOrderListByPageResponseSuccess =
  3548 + PostOrderErpOrderListByPageResponse[200];
  3549 +/**
  3550 + * @description
  3551 + * 分页查询
  3552 + * @tags 订单管理
  3553 + * @produces *
  3554 + * @consumes application/json
  3555 + */
  3556 +export const postOrderErpOrderListByPage = /* #__PURE__ */ (() => {
  3557 + const method = 'post';
  3558 + const url = '/order/erp/order/list_by_page';
  3559 + function request(
  3560 + option: PostOrderErpOrderListByPageOption,
  3561 + ): Promise<PostOrderErpOrderListByPageResponseSuccess> {
  3562 + return requester(request.url, {
  3563 + method: request.method,
  3564 + ...option,
  3565 + }) as unknown as Promise<PostOrderErpOrderListByPageResponseSuccess>;
  3566 + }
  3567 +
  3568 + /** http method */
  3569 + request.method = method;
  3570 + /** request url */
  3571 + request.url = url;
  3572 + return request;
  3573 +})();
  3574 +
  3575 +/** @description request parameter type for postOrderErpOrderQueryById */
  3576 +export interface PostOrderErpOrderQueryByIdOption {
  3577 + /**
  3578 + * @description
  3579 + * orderBaseInfoQueryVO
  3580 + */
  3581 + body: {
  3582 + /**
  3583 + @description
  3584 + orderBaseInfoQueryVO */
  3585 + orderBaseInfoQueryVO: OrderBaseInfoQueryVO;
  3586 + };
  3587 +}
  3588 +
  3589 +/** @description response type for postOrderErpOrderQueryById */
  3590 +export interface PostOrderErpOrderQueryByIdResponse {
  3591 + /**
  3592 + * @description
  3593 + * OK
  3594 + */
  3595 + 200: ServerResult;
  3596 + /**
  3597 + * @description
  3598 + * Created
  3599 + */
  3600 + 201: any;
  3601 + /**
  3602 + * @description
  3603 + * Unauthorized
  3604 + */
  3605 + 401: any;
  3606 + /**
  3607 + * @description
  3608 + * Forbidden
  3609 + */
  3610 + 403: any;
  3611 + /**
  3612 + * @description
  3613 + * Not Found
  3614 + */
  3615 + 404: any;
  3616 +}
  3617 +
  3618 +export type PostOrderErpOrderQueryByIdResponseSuccess =
  3619 + PostOrderErpOrderQueryByIdResponse[200];
  3620 +/**
  3621 + * @description
  3622 + * queryById
  3623 + * @tags 订单管理
  3624 + * @produces *
  3625 + * @consumes application/json
  3626 + */
  3627 +export const postOrderErpOrderQueryById = /* #__PURE__ */ (() => {
  3628 + const method = 'post';
  3629 + const url = '/order/erp/order/query_by_id';
  3630 + function request(
  3631 + option: PostOrderErpOrderQueryByIdOption,
  3632 + ): Promise<PostOrderErpOrderQueryByIdResponseSuccess> {
  3633 + return requester(request.url, {
  3634 + method: request.method,
  3635 + ...option,
  3636 + }) as unknown as Promise<PostOrderErpOrderQueryByIdResponseSuccess>;
  3637 + }
  3638 +
  3639 + /** http method */
  3640 + request.method = method;
  3641 + /** request url */
  3642 + request.url = url;
  3643 + return request;
  3644 +})();
  3645 +
  3646 +/** @description request parameter type for postOrderErpProfitAnalysis */
  3647 +export interface PostOrderErpProfitAnalysisOption {
  3648 + /**
  3649 + * @description
  3650 + * orderProfitAnalysisVo
  3651 + */
  3652 + body: {
  3653 + /**
  3654 + @description
  3655 + orderProfitAnalysisVo */
  3656 + orderProfitAnalysisVo: OrderProfitAnalysisVo;
  3657 + };
  3658 +}
  3659 +
  3660 +/** @description response type for postOrderErpProfitAnalysis */
  3661 +export interface PostOrderErpProfitAnalysisResponse {
  3662 + /**
  3663 + * @description
  3664 + * OK
  3665 + */
  3666 + 200: ServerResult;
  3667 + /**
  3668 + * @description
  3669 + * Created
  3670 + */
  3671 + 201: any;
  3672 + /**
  3673 + * @description
  3674 + * Unauthorized
  3675 + */
  3676 + 401: any;
  3677 + /**
  3678 + * @description
  3679 + * Forbidden
  3680 + */
  3681 + 403: any;
  3682 + /**
  3683 + * @description
  3684 + * Not Found
  3685 + */
  3686 + 404: any;
  3687 +}
  3688 +
  3689 +export type PostOrderErpProfitAnalysisResponseSuccess =
  3690 + PostOrderErpProfitAnalysisResponse[200];
  3691 +/**
  3692 + * @description
  3693 + * analysis
  3694 + * @tags order-profit-controller
  3695 + * @produces *
  3696 + * @consumes application/json
  3697 + */
  3698 +export const postOrderErpProfitAnalysis = /* #__PURE__ */ (() => {
  3699 + const method = 'post';
  3700 + const url = '/order/erp/profit/analysis';
  3701 + function request(
  3702 + option: PostOrderErpProfitAnalysisOption,
  3703 + ): Promise<PostOrderErpProfitAnalysisResponseSuccess> {
  3704 + return requester(request.url, {
  3705 + method: request.method,
  3706 + ...option,
  3707 + }) as unknown as Promise<PostOrderErpProfitAnalysisResponseSuccess>;
  3708 + }
  3709 +
  3710 + /** http method */
  3711 + request.method = method;
  3712 + /** request url */
  3713 + request.url = url;
  3714 + return request;
  3715 +})();
  3716 +
  3717 +/** @description request parameter type for postOrderErpRolesAdd */
  3718 +export interface PostOrderErpRolesAddOption {
  3719 + /**
  3720 + * @description
  3721 + * roleVO
  3722 + */
  3723 + body: {
  3724 + /**
  3725 + @description
  3726 + roleVO */
  3727 + roleVO: AdminRoleVO;
  3728 + };
  3729 +}
  3730 +
  3731 +/** @description response type for postOrderErpRolesAdd */
  3732 +export interface PostOrderErpRolesAddResponse {
  3733 + /**
  3734 + * @description
  3735 + * OK
  3736 + */
  3737 + 200: ServerResult;
  3738 + /**
  3739 + * @description
  3740 + * Created
  3741 + */
  3742 + 201: any;
  3743 + /**
  3744 + * @description
  3745 + * Unauthorized
  3746 + */
  3747 + 401: any;
  3748 + /**
  3749 + * @description
  3750 + * Forbidden
  3751 + */
  3752 + 403: any;
  3753 + /**
  3754 + * @description
  3755 + * Not Found
  3756 + */
  3757 + 404: any;
  3758 +}
  3759 +
  3760 +export type PostOrderErpRolesAddResponseSuccess =
  3761 + PostOrderErpRolesAddResponse[200];
  3762 +/**
  3763 + * @description
  3764 + * 新增角色
  3765 + * @tags 系统:角色管理
  3766 + * @produces *
  3767 + * @consumes application/json
  3768 + */
  3769 +export const postOrderErpRolesAdd = /* #__PURE__ */ (() => {
  3770 + const method = 'post';
  3771 + const url = '/order/erp/roles/add';
  3772 + function request(
  3773 + option: PostOrderErpRolesAddOption,
  3774 + ): Promise<PostOrderErpRolesAddResponseSuccess> {
  3775 + return requester(request.url, {
  3776 + method: request.method,
  3777 + ...option,
  3778 + }) as unknown as Promise<PostOrderErpRolesAddResponseSuccess>;
  3779 + }
  3780 +
  3781 + /** http method */
  3782 + request.method = method;
  3783 + /** request url */
  3784 + request.url = url;
  3785 + return request;
  3786 +})();
  3787 +
  3788 +/** @description request parameter type for postOrderErpRolesAll */
  3789 +export interface PostOrderErpRolesAllOption {
  3790 + /**
  3791 + * @description
  3792 + * queryVO
  3793 + */
  3794 + body: {
  3795 + /**
  3796 + @description
  3797 + queryVO */
  3798 + queryVO: AdminRoleQueryVO;
  3799 + };
  3800 +}
  3801 +
  3802 +/** @description response type for postOrderErpRolesAll */
  3803 +export interface PostOrderErpRolesAllResponse {
  3804 + /**
  3805 + * @description
  3806 + * OK
  3807 + */
  3808 + 200: ServerResult;
  3809 + /**
  3810 + * @description
  3811 + * Created
  3812 + */
  3813 + 201: any;
  3814 + /**
  3815 + * @description
  3816 + * Unauthorized
  3817 + */
  3818 + 401: any;
  3819 + /**
  3820 + * @description
  3821 + * Forbidden
  3822 + */
  3823 + 403: any;
  3824 + /**
  3825 + * @description
  3826 + * Not Found
  3827 + */
  3828 + 404: any;
  3829 +}
  3830 +
  3831 +export type PostOrderErpRolesAllResponseSuccess =
  3832 + PostOrderErpRolesAllResponse[200];
  3833 +/**
  3834 + * @description
  3835 + * 返回全部的角色
  3836 + * @tags 系统:角色管理
  3837 + * @produces *
  3838 + * @consumes application/json
  3839 + */
  3840 +export const postOrderErpRolesAll = /* #__PURE__ */ (() => {
  3841 + const method = 'post';
  3842 + const url = '/order/erp/roles/all';
  3843 + function request(
  3844 + option: PostOrderErpRolesAllOption,
  3845 + ): Promise<PostOrderErpRolesAllResponseSuccess> {
  3846 + return requester(request.url, {
  3847 + method: request.method,
  3848 + ...option,
  3849 + }) as unknown as Promise<PostOrderErpRolesAllResponseSuccess>;
  3850 + }
  3851 +
  3852 + /** http method */
  3853 + request.method = method;
  3854 + /** request url */
  3855 + request.url = url;
  3856 + return request;
  3857 +})();
  3858 +
  3859 +/** @description request parameter type for postOrderErpRolesAuthMenu */
  3860 +export interface PostOrderErpRolesAuthMenuOption {
  3861 + /**
  3862 + * @description
  3863 + * roleVO
  3864 + */
  3865 + body: {
  3866 + /**
  3867 + @description
  3868 + roleVO */
  3869 + roleVO: AdminAuthRoleVO;
  3870 + };
  3871 +}
  3872 +
  3873 +/** @description response type for postOrderErpRolesAuthMenu */
  3874 +export interface PostOrderErpRolesAuthMenuResponse {
  3875 + /**
  3876 + * @description
  3877 + * OK
  3878 + */
  3879 + 200: ServerResult;
  3880 + /**
  3881 + * @description
  3882 + * Created
  3883 + */
  3884 + 201: any;
  3885 + /**
  3886 + * @description
  3887 + * Unauthorized
  3888 + */
  3889 + 401: any;
  3890 + /**
  3891 + * @description
  3892 + * Forbidden
  3893 + */
  3894 + 403: any;
  3895 + /**
  3896 + * @description
  3897 + * Not Found
  3898 + */
  3899 + 404: any;
  3900 +}
  3901 +
  3902 +export type PostOrderErpRolesAuthMenuResponseSuccess =
  3903 + PostOrderErpRolesAuthMenuResponse[200];
  3904 +/**
  3905 + * @description
  3906 + * 授权角色菜单
  3907 + * @tags 系统:角色管理
  3908 + * @produces *
  3909 + * @consumes application/json
  3910 + */
  3911 +export const postOrderErpRolesAuthMenu = /* #__PURE__ */ (() => {
  3912 + const method = 'post';
  3913 + const url = '/order/erp/roles/auth_menu';
  3914 + function request(
  3915 + option: PostOrderErpRolesAuthMenuOption,
  3916 + ): Promise<PostOrderErpRolesAuthMenuResponseSuccess> {
  3917 + return requester(request.url, {
  3918 + method: request.method,
  3919 + ...option,
  3920 + }) as unknown as Promise<PostOrderErpRolesAuthMenuResponseSuccess>;
  3921 + }
  3922 +
  3923 + /** http method */
  3924 + request.method = method;
  3925 + /** request url */
  3926 + request.url = url;
  3927 + return request;
  3928 +})();
  3929 +
  3930 +/** @description request parameter type for postOrderErpRolesDelete */
  3931 +export interface PostOrderErpRolesDeleteOption {
  3932 + /**
  3933 + * @description
  3934 + * queryVO
  3935 + */
  3936 + body: {
  3937 + /**
  3938 + @description
  3939 + queryVO */
  3940 + queryVO: AdminRoleQueryVO;
  3941 + };
  3942 +}
  3943 +
  3944 +/** @description response type for postOrderErpRolesDelete */
  3945 +export interface PostOrderErpRolesDeleteResponse {
  3946 + /**
  3947 + * @description
  3948 + * OK
  3949 + */
  3950 + 200: ServerResult;
  3951 + /**
  3952 + * @description
  3953 + * Created
  3954 + */
  3955 + 201: any;
  3956 + /**
  3957 + * @description
  3958 + * Unauthorized
  3959 + */
  3960 + 401: any;
  3961 + /**
  3962 + * @description
  3963 + * Forbidden
  3964 + */
  3965 + 403: any;
  3966 + /**
  3967 + * @description
  3968 + * Not Found
  3969 + */
  3970 + 404: any;
  3971 +}
  3972 +
  3973 +export type PostOrderErpRolesDeleteResponseSuccess =
  3974 + PostOrderErpRolesDeleteResponse[200];
  3975 +/**
  3976 + * @description
  3977 + * 删除角色
  3978 + * @tags 系统:角色管理
  3979 + * @produces *
  3980 + * @consumes application/json
  3981 + */
  3982 +export const postOrderErpRolesDelete = /* #__PURE__ */ (() => {
  3983 + const method = 'post';
  3984 + const url = '/order/erp/roles/delete';
  3985 + function request(
  3986 + option: PostOrderErpRolesDeleteOption,
  3987 + ): Promise<PostOrderErpRolesDeleteResponseSuccess> {
  3988 + return requester(request.url, {
  3989 + method: request.method,
  3990 + ...option,
  3991 + }) as unknown as Promise<PostOrderErpRolesDeleteResponseSuccess>;
  3992 + }
  3993 +
  3994 + /** http method */
  3995 + request.method = method;
  3996 + /** request url */
  3997 + request.url = url;
  3998 + return request;
  3999 +})();
  4000 +
  4001 +/** @description request parameter type for postOrderErpRolesDetail */
  4002 +export interface PostOrderErpRolesDetailOption {
  4003 + /**
  4004 + * @description
  4005 + * queryVO
  4006 + */
  4007 + body: {
  4008 + /**
  4009 + @description
  4010 + queryVO */
  4011 + queryVO: AdminRoleQueryVO;
  4012 + };
  4013 +}
  4014 +
  4015 +/** @description response type for postOrderErpRolesDetail */
  4016 +export interface PostOrderErpRolesDetailResponse {
  4017 + /**
  4018 + * @description
  4019 + * OK
  4020 + */
  4021 + 200: ServerResult;
  4022 + /**
  4023 + * @description
  4024 + * Created
  4025 + */
  4026 + 201: any;
  4027 + /**
  4028 + * @description
  4029 + * Unauthorized
  4030 + */
  4031 + 401: any;
  4032 + /**
  4033 + * @description
  4034 + * Forbidden
  4035 + */
  4036 + 403: any;
  4037 + /**
  4038 + * @description
  4039 + * Not Found
  4040 + */
  4041 + 404: any;
  4042 +}
  4043 +
  4044 +export type PostOrderErpRolesDetailResponseSuccess =
  4045 + PostOrderErpRolesDetailResponse[200];
  4046 +/**
  4047 + * @description
  4048 + * 获取单个role
  4049 + * @tags 系统:角色管理
  4050 + * @produces *
  4051 + * @consumes application/json
  4052 + */
  4053 +export const postOrderErpRolesDetail = /* #__PURE__ */ (() => {
  4054 + const method = 'post';
  4055 + const url = '/order/erp/roles/detail';
  4056 + function request(
  4057 + option: PostOrderErpRolesDetailOption,
  4058 + ): Promise<PostOrderErpRolesDetailResponseSuccess> {
  4059 + return requester(request.url, {
  4060 + method: request.method,
  4061 + ...option,
  4062 + }) as unknown as Promise<PostOrderErpRolesDetailResponseSuccess>;
  4063 + }
  4064 +
  4065 + /** http method */
  4066 + request.method = method;
  4067 + /** request url */
  4068 + request.url = url;
  4069 + return request;
  4070 +})();
  4071 +
  4072 +/** @description request parameter type for postOrderErpRolesEdit */
  4073 +export interface PostOrderErpRolesEditOption {
  4074 + /**
  4075 + * @description
  4076 + * roleVO
  4077 + */
  4078 + body: {
  4079 + /**
  4080 + @description
  4081 + roleVO */
  4082 + roleVO: AdminRoleVO;
  4083 + };
  4084 +}
  4085 +
  4086 +/** @description response type for postOrderErpRolesEdit */
  4087 +export interface PostOrderErpRolesEditResponse {
  4088 + /**
  4089 + * @description
  4090 + * OK
  4091 + */
  4092 + 200: ServerResult;
  4093 + /**
  4094 + * @description
  4095 + * Created
  4096 + */
  4097 + 201: any;
  4098 + /**
  4099 + * @description
  4100 + * Unauthorized
  4101 + */
  4102 + 401: any;
  4103 + /**
  4104 + * @description
  4105 + * Forbidden
  4106 + */
  4107 + 403: any;
  4108 + /**
  4109 + * @description
  4110 + * Not Found
  4111 + */
  4112 + 404: any;
  4113 +}
  4114 +
  4115 +export type PostOrderErpRolesEditResponseSuccess =
  4116 + PostOrderErpRolesEditResponse[200];
  4117 +/**
  4118 + * @description
  4119 + * 修改角色
  4120 + * @tags 系统:角色管理
  4121 + * @produces *
  4122 + * @consumes application/json
  4123 + */
  4124 +export const postOrderErpRolesEdit = /* #__PURE__ */ (() => {
  4125 + const method = 'post';
  4126 + const url = '/order/erp/roles/edit';
  4127 + function request(
  4128 + option: PostOrderErpRolesEditOption,
  4129 + ): Promise<PostOrderErpRolesEditResponseSuccess> {
  4130 + return requester(request.url, {
  4131 + method: request.method,
  4132 + ...option,
  4133 + }) as unknown as Promise<PostOrderErpRolesEditResponseSuccess>;
  4134 + }
  4135 +
  4136 + /** http method */
  4137 + request.method = method;
  4138 + /** request url */
  4139 + request.url = url;
  4140 + return request;
  4141 +})();
  4142 +
  4143 +/** @description request parameter type for postOrderErpRolesListByPage */
  4144 +export interface PostOrderErpRolesListByPageOption {
  4145 + /**
  4146 + * @description
  4147 + * queryVO
  4148 + */
  4149 + body: {
  4150 + /**
  4151 + @description
  4152 + queryVO */
  4153 + queryVO: AdminRoleQueryVO;
  4154 + };
  4155 +}
  4156 +
  4157 +/** @description response type for postOrderErpRolesListByPage */
  4158 +export interface PostOrderErpRolesListByPageResponse {
  4159 + /**
  4160 + * @description
  4161 + * OK
  4162 + */
  4163 + 200: ServerResult;
  4164 + /**
  4165 + * @description
  4166 + * Created
  4167 + */
  4168 + 201: any;
  4169 + /**
  4170 + * @description
  4171 + * Unauthorized
  4172 + */
  4173 + 401: any;
  4174 + /**
  4175 + * @description
  4176 + * Forbidden
  4177 + */
  4178 + 403: any;
  4179 + /**
  4180 + * @description
  4181 + * Not Found
  4182 + */
  4183 + 404: any;
  4184 +}
  4185 +
  4186 +export type PostOrderErpRolesListByPageResponseSuccess =
  4187 + PostOrderErpRolesListByPageResponse[200];
  4188 +/**
  4189 + * @description
  4190 + * 查询角色
  4191 + * @tags 系统:角色管理
  4192 + * @produces *
  4193 + * @consumes application/json
  4194 + */
  4195 +export const postOrderErpRolesListByPage = /* #__PURE__ */ (() => {
  4196 + const method = 'post';
  4197 + const url = '/order/erp/roles/list_by_page';
  4198 + function request(
  4199 + option: PostOrderErpRolesListByPageOption,
  4200 + ): Promise<PostOrderErpRolesListByPageResponseSuccess> {
  4201 + return requester(request.url, {
  4202 + method: request.method,
  4203 + ...option,
  4204 + }) as unknown as Promise<PostOrderErpRolesListByPageResponseSuccess>;
  4205 + }
  4206 +
  4207 + /** http method */
  4208 + request.method = method;
  4209 + /** request url */
  4210 + request.url = url;
  4211 + return request;
  4212 +})();
  4213 +
  4214 +/** @description request parameter type for postOrderErpUsersAdd */
  4215 +export interface PostOrderErpUsersAddOption {
  4216 + /**
  4217 + * @description
  4218 + * userVO
  4219 + */
  4220 + body: {
  4221 + /**
  4222 + @description
  4223 + userVO */
  4224 + userVO: AdminUserVO;
  4225 + };
  4226 +}
  4227 +
  4228 +/** @description response type for postOrderErpUsersAdd */
  4229 +export interface PostOrderErpUsersAddResponse {
  4230 + /**
  4231 + * @description
  4232 + * OK
  4233 + */
  4234 + 200: ServerResult;
  4235 + /**
  4236 + * @description
  4237 + * Created
  4238 + */
  4239 + 201: any;
  4240 + /**
  4241 + * @description
  4242 + * Unauthorized
  4243 + */
  4244 + 401: any;
  4245 + /**
  4246 + * @description
  4247 + * Forbidden
  4248 + */
  4249 + 403: any;
  4250 + /**
  4251 + * @description
  4252 + * Not Found
  4253 + */
  4254 + 404: any;
  4255 +}
  4256 +
  4257 +export type PostOrderErpUsersAddResponseSuccess =
  4258 + PostOrderErpUsersAddResponse[200];
  4259 +/**
  4260 + * @description
  4261 + * 新增用户
  4262 + * @tags 系统:用户管理
  4263 + * @produces *
  4264 + * @consumes application/json
  4265 + */
  4266 +export const postOrderErpUsersAdd = /* #__PURE__ */ (() => {
  4267 + const method = 'post';
  4268 + const url = '/order/erp/users/add';
  4269 + function request(
  4270 + option: PostOrderErpUsersAddOption,
  4271 + ): Promise<PostOrderErpUsersAddResponseSuccess> {
  4272 + return requester(request.url, {
  4273 + method: request.method,
  4274 + ...option,
  4275 + }) as unknown as Promise<PostOrderErpUsersAddResponseSuccess>;
  4276 + }
  4277 +
  4278 + /** http method */
  4279 + request.method = method;
  4280 + /** request url */
  4281 + request.url = url;
  4282 + return request;
  4283 +})();
  4284 +
  4285 +/** @description request parameter type for postOrderErpUsersAuthRole */
  4286 +export interface PostOrderErpUsersAuthRoleOption {
  4287 + /**
  4288 + * @description
  4289 + * userVO
  4290 + */
  4291 + body: {
  4292 + /**
  4293 + @description
  4294 + userVO */
  4295 + userVO: AdminAuthUserVO;
  4296 + };
  4297 +}
  4298 +
  4299 +/** @description response type for postOrderErpUsersAuthRole */
  4300 +export interface PostOrderErpUsersAuthRoleResponse {
  4301 + /**
  4302 + * @description
  4303 + * OK
  4304 + */
  4305 + 200: ServerResult;
  4306 + /**
  4307 + * @description
  4308 + * Created
  4309 + */
  4310 + 201: any;
  4311 + /**
  4312 + * @description
  4313 + * Unauthorized
  4314 + */
  4315 + 401: any;
  4316 + /**
  4317 + * @description
  4318 + * Forbidden
  4319 + */
  4320 + 403: any;
  4321 + /**
  4322 + * @description
  4323 + * Not Found
  4324 + */
  4325 + 404: any;
  4326 +}
  4327 +
  4328 +export type PostOrderErpUsersAuthRoleResponseSuccess =
  4329 + PostOrderErpUsersAuthRoleResponse[200];
  4330 +/**
  4331 + * @description
  4332 + * 授权角色
  4333 + * @tags 系统:用户管理
  4334 + * @produces *
  4335 + * @consumes application/json
  4336 + */
  4337 +export const postOrderErpUsersAuthRole = /* #__PURE__ */ (() => {
  4338 + const method = 'post';
  4339 + const url = '/order/erp/users/auth_role';
  4340 + function request(
  4341 + option: PostOrderErpUsersAuthRoleOption,
  4342 + ): Promise<PostOrderErpUsersAuthRoleResponseSuccess> {
  4343 + return requester(request.url, {
  4344 + method: request.method,
  4345 + ...option,
  4346 + }) as unknown as Promise<PostOrderErpUsersAuthRoleResponseSuccess>;
  4347 + }
  4348 +
  4349 + /** http method */
  4350 + request.method = method;
  4351 + /** request url */
  4352 + request.url = url;
  4353 + return request;
  4354 +})();
  4355 +
  4356 +/** @description request parameter type for postOrderErpUsersDelete */
  4357 +export interface PostOrderErpUsersDeleteOption {
  4358 + /**
  4359 + * @description
  4360 + * queryVO
  4361 + */
  4362 + body: {
  4363 + /**
  4364 + @description
  4365 + queryVO */
  4366 + queryVO: AdminUserQueryVO;
  4367 + };
  4368 +}
  4369 +
  4370 +/** @description response type for postOrderErpUsersDelete */
  4371 +export interface PostOrderErpUsersDeleteResponse {
  4372 + /**
  4373 + * @description
  4374 + * OK
  4375 + */
  4376 + 200: ServerResult;
  4377 + /**
  4378 + * @description
  4379 + * Created
  4380 + */
  4381 + 201: any;
  4382 + /**
  4383 + * @description
  4384 + * Unauthorized
  4385 + */
  4386 + 401: any;
  4387 + /**
  4388 + * @description
  4389 + * Forbidden
  4390 + */
  4391 + 403: any;
  4392 + /**
  4393 + * @description
  4394 + * Not Found
  4395 + */
  4396 + 404: any;
  4397 +}
  4398 +
  4399 +export type PostOrderErpUsersDeleteResponseSuccess =
  4400 + PostOrderErpUsersDeleteResponse[200];
  4401 +/**
  4402 + * @description
  4403 + * 删除用户
  4404 + * @tags 系统:用户管理
  4405 + * @produces *
  4406 + * @consumes application/json
  4407 + */
  4408 +export const postOrderErpUsersDelete = /* #__PURE__ */ (() => {
  4409 + const method = 'post';
  4410 + const url = '/order/erp/users/delete';
  4411 + function request(
  4412 + option: PostOrderErpUsersDeleteOption,
  4413 + ): Promise<PostOrderErpUsersDeleteResponseSuccess> {
  4414 + return requester(request.url, {
  4415 + method: request.method,
  4416 + ...option,
  4417 + }) as unknown as Promise<PostOrderErpUsersDeleteResponseSuccess>;
  4418 + }
  4419 +
  4420 + /** http method */
  4421 + request.method = method;
  4422 + /** request url */
  4423 + request.url = url;
  4424 + return request;
  4425 +})();
  4426 +
  4427 +/** @description request parameter type for postOrderErpUsersEdit */
  4428 +export interface PostOrderErpUsersEditOption {
  4429 + /**
  4430 + * @description
  4431 + * userVO
  4432 + */
  4433 + body: {
  4434 + /**
  4435 + @description
  4436 + userVO */
  4437 + userVO: AdminUserVO;
  4438 + };
  4439 +}
  4440 +
  4441 +/** @description response type for postOrderErpUsersEdit */
  4442 +export interface PostOrderErpUsersEditResponse {
  4443 + /**
  4444 + * @description
  4445 + * OK
  4446 + */
  4447 + 200: ServerResult;
  4448 + /**
  4449 + * @description
  4450 + * Created
  4451 + */
  4452 + 201: any;
  4453 + /**
  4454 + * @description
  4455 + * Unauthorized
  4456 + */
  4457 + 401: any;
  4458 + /**
  4459 + * @description
  4460 + * Forbidden
  4461 + */
  4462 + 403: any;
  4463 + /**
  4464 + * @description
  4465 + * Not Found
  4466 + */
  4467 + 404: any;
  4468 +}
  4469 +
  4470 +export type PostOrderErpUsersEditResponseSuccess =
  4471 + PostOrderErpUsersEditResponse[200];
  4472 +/**
  4473 + * @description
  4474 + * 修改用户
  4475 + * @tags 系统:用户管理
  4476 + * @produces *
  4477 + * @consumes application/json
  4478 + */
  4479 +export const postOrderErpUsersEdit = /* #__PURE__ */ (() => {
  4480 + const method = 'post';
  4481 + const url = '/order/erp/users/edit';
  4482 + function request(
  4483 + option: PostOrderErpUsersEditOption,
  4484 + ): Promise<PostOrderErpUsersEditResponseSuccess> {
  4485 + return requester(request.url, {
  4486 + method: request.method,
  4487 + ...option,
  4488 + }) as unknown as Promise<PostOrderErpUsersEditResponseSuccess>;
  4489 + }
  4490 +
  4491 + /** http method */
  4492 + request.method = method;
  4493 + /** request url */
  4494 + request.url = url;
  4495 + return request;
  4496 +})();
  4497 +
  4498 +/** @description request parameter type for postOrderErpUsersListByPage */
  4499 +export interface PostOrderErpUsersListByPageOption {
  4500 + /**
  4501 + * @description
  4502 + * queryVO
  4503 + */
  4504 + body: {
  4505 + /**
  4506 + @description
  4507 + queryVO */
  4508 + queryVO: AdminUserQueryVO;
  4509 + };
  4510 +}
  4511 +
  4512 +/** @description response type for postOrderErpUsersListByPage */
  4513 +export interface PostOrderErpUsersListByPageResponse {
  4514 + /**
  4515 + * @description
  4516 + * OK
  4517 + */
  4518 + 200: ServerResult;
  4519 + /**
  4520 + * @description
  4521 + * Created
  4522 + */
  4523 + 201: any;
  4524 + /**
  4525 + * @description
  4526 + * Unauthorized
  4527 + */
  4528 + 401: any;
  4529 + /**
  4530 + * @description
  4531 + * Forbidden
  4532 + */
  4533 + 403: any;
  4534 + /**
  4535 + * @description
  4536 + * Not Found
  4537 + */
  4538 + 404: any;
  4539 +}
  4540 +
  4541 +export type PostOrderErpUsersListByPageResponseSuccess =
  4542 + PostOrderErpUsersListByPageResponse[200];
  4543 +/**
  4544 + * @description
  4545 + * 查询用户
  4546 + * @tags 系统:用户管理
  4547 + * @produces *
  4548 + * @consumes application/json
  4549 + */
  4550 +export const postOrderErpUsersListByPage = /* #__PURE__ */ (() => {
  4551 + const method = 'post';
  4552 + const url = '/order/erp/users/list_by_page';
  4553 + function request(
  4554 + option: PostOrderErpUsersListByPageOption,
  4555 + ): Promise<PostOrderErpUsersListByPageResponseSuccess> {
  4556 + return requester(request.url, {
  4557 + method: request.method,
  4558 + ...option,
  4559 + }) as unknown as Promise<PostOrderErpUsersListByPageResponseSuccess>;
  4560 + }
  4561 +
  4562 + /** http method */
  4563 + request.method = method;
  4564 + /** request url */
  4565 + request.url = url;
  4566 + return request;
  4567 +})();
  4568 +
  4569 +/** @description request parameter type for postOrderErpUsersReset */
  4570 +export interface PostOrderErpUsersResetOption {
  4571 + /**
  4572 + * @description
  4573 + * resetPwdVO
  4574 + */
  4575 + body: {
  4576 + /**
  4577 + @description
  4578 + resetPwdVO */
  4579 + resetPwdVO: ResetPwdVO;
  4580 + };
  4581 +}
  4582 +
  4583 +/** @description response type for postOrderErpUsersReset */
  4584 +export interface PostOrderErpUsersResetResponse {
  4585 + /**
  4586 + * @description
  4587 + * OK
  4588 + */
  4589 + 200: ServerResult;
  4590 + /**
  4591 + * @description
  4592 + * Created
  4593 + */
  4594 + 201: any;
  4595 + /**
  4596 + * @description
  4597 + * Unauthorized
  4598 + */
  4599 + 401: any;
  4600 + /**
  4601 + * @description
  4602 + * Forbidden
  4603 + */
  4604 + 403: any;
  4605 + /**
  4606 + * @description
  4607 + * Not Found
  4608 + */
  4609 + 404: any;
  4610 +}
  4611 +
  4612 +export type PostOrderErpUsersResetResponseSuccess =
  4613 + PostOrderErpUsersResetResponse[200];
  4614 +/**
  4615 + * @description
  4616 + * 重置密码
  4617 + * @tags 系统:用户管理
  4618 + * @produces *
  4619 + * @consumes application/json
  4620 + */
  4621 +export const postOrderErpUsersReset = /* #__PURE__ */ (() => {
  4622 + const method = 'post';
  4623 + const url = '/order/erp/users/reset';
  4624 + function request(
  4625 + option: PostOrderErpUsersResetOption,
  4626 + ): Promise<PostOrderErpUsersResetResponseSuccess> {
  4627 + return requester(request.url, {
  4628 + method: request.method,
  4629 + ...option,
  4630 + }) as unknown as Promise<PostOrderErpUsersResetResponseSuccess>;
  4631 + }
  4632 +
  4633 + /** http method */
  4634 + request.method = method;
  4635 + /** request url */
  4636 + request.url = url;
  4637 + return request;
  4638 +})();
  4639 +
  4640 +/** @description request parameter type for postOrderErpUsersUpdatePass */
  4641 +export interface PostOrderErpUsersUpdatePassOption {
  4642 + /**
  4643 + * @description
  4644 + * pwdVO
  4645 + */
  4646 + body: {
  4647 + /**
  4648 + @description
  4649 + pwdVO */
  4650 + pwdVO: UpdatePwdVO;
  4651 + };
  4652 +}
  4653 +
  4654 +/** @description response type for postOrderErpUsersUpdatePass */
  4655 +export interface PostOrderErpUsersUpdatePassResponse {
  4656 + /**
  4657 + * @description
  4658 + * OK
  4659 + */
  4660 + 200: ServerResult;
  4661 + /**
  4662 + * @description
  4663 + * Created
  4664 + */
  4665 + 201: any;
  4666 + /**
  4667 + * @description
  4668 + * Unauthorized
  4669 + */
  4670 + 401: any;
  4671 + /**
  4672 + * @description
  4673 + * Forbidden
  4674 + */
  4675 + 403: any;
  4676 + /**
  4677 + * @description
  4678 + * Not Found
  4679 + */
  4680 + 404: any;
  4681 +}
  4682 +
  4683 +export type PostOrderErpUsersUpdatePassResponseSuccess =
  4684 + PostOrderErpUsersUpdatePassResponse[200];
  4685 +/**
  4686 + * @description
  4687 + * 修改密码
  4688 + * @tags 系统:用户管理
  4689 + * @produces *
  4690 + * @consumes application/json
  4691 + */
  4692 +export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => {
  4693 + const method = 'post';
  4694 + const url = '/order/erp/users/update_pass';
  4695 + function request(
  4696 + option: PostOrderErpUsersUpdatePassOption,
  4697 + ): Promise<PostOrderErpUsersUpdatePassResponseSuccess> {
  4698 + return requester(request.url, {
  4699 + method: request.method,
  4700 + ...option,
  4701 + }) as unknown as Promise<PostOrderErpUsersUpdatePassResponseSuccess>;
  4702 + }
  4703 +
  4704 + /** http method */
  4705 + request.method = method;
  4706 + /** request url */
  4707 + request.url = url;
  4708 + return request;
  4709 +})();
  4710 +
  4711 +/** @description request parameter type for getServiceOrderOrderCancelId */
  4712 +export interface GetServiceOrderOrderCancelIdOption {
  4713 + /**
  4714 + * @description
  4715 + * id
  4716 + * @format int64
  4717 + */
  4718 + path: {
  4719 + /**
  4720 + @description
  4721 + id
  4722 + @format int64 */
  4723 + id: number;
  4724 + };
  4725 +}
  4726 +
  4727 +/** @description response type for getServiceOrderOrderCancelId */
  4728 +export interface GetServiceOrderOrderCancelIdResponse {
  4729 + /**
  4730 + * @description
  4731 + * OK
  4732 + */
  4733 + 200: ServerResult;
  4734 + /**
  4735 + * @description
  4736 + * Unauthorized
  4737 + */
  4738 + 401: any;
  4739 + /**
  4740 + * @description
  4741 + * Forbidden
  4742 + */
  4743 + 403: any;
  4744 + /**
  4745 + * @description
  4746 + * Not Found
  4747 + */
  4748 + 404: any;
  4749 +}
  4750 +
  4751 +export type GetServiceOrderOrderCancelIdResponseSuccess =
  4752 + GetServiceOrderOrderCancelIdResponse[200];
  4753 +/**
  4754 + * @description
  4755 + * 订单作废
  4756 + * @tags 内部订单
  4757 + * @produces *
  4758 + */
  4759 +export const getServiceOrderOrderCancelId = /* #__PURE__ */ (() => {
  4760 + const method = 'get';
  4761 + const url = '/service/order/OrderCancel/:id';
  4762 + function request(
  4763 + option: GetServiceOrderOrderCancelIdOption,
  4764 + ): Promise<GetServiceOrderOrderCancelIdResponseSuccess> {
  4765 + return requester(request.url, {
  4766 + method: request.method,
  4767 + ...option,
  4768 + }) as unknown as Promise<GetServiceOrderOrderCancelIdResponseSuccess>;
  4769 + }
  4770 +
  4771 + /** http method */
  4772 + request.method = method;
  4773 + /** request url */
  4774 + request.url = url;
  4775 + return request;
  4776 +})();
  4777 +
  4778 +/** @description request parameter type for postServiceOrderAddOrder */
  4779 +export interface PostServiceOrderAddOrderOption {
  4780 + /**
  4781 + * @description
  4782 + * dto
  4783 + */
  4784 + body: {
  4785 + /**
  4786 + @description
  4787 + dto */
  4788 + dto: Dto;
  4789 + };
  4790 +}
  4791 +
  4792 +/** @description response type for postServiceOrderAddOrder */
  4793 +export interface PostServiceOrderAddOrderResponse {
  4794 + /**
  4795 + * @description
  4796 + * OK
  4797 + */
  4798 + 200: ServerResult;
  4799 + /**
  4800 + * @description
  4801 + * Created
  4802 + */
  4803 + 201: any;
  4804 + /**
  4805 + * @description
  4806 + * Unauthorized
  4807 + */
  4808 + 401: any;
  4809 + /**
  4810 + * @description
  4811 + * Forbidden
  4812 + */
  4813 + 403: any;
  4814 + /**
  4815 + * @description
  4816 + * Not Found
  4817 + */
  4818 + 404: any;
  4819 +}
  4820 +
  4821 +export type PostServiceOrderAddOrderResponseSuccess =
  4822 + PostServiceOrderAddOrderResponse[200];
  4823 +/**
  4824 + * @description
  4825 + * 新增订单
  4826 + * @tags 内部订单
  4827 + * @produces *
  4828 + * @consumes application/json
  4829 + */
  4830 +export const postServiceOrderAddOrder = /* #__PURE__ */ (() => {
  4831 + const method = 'post';
  4832 + const url = '/service/order/addOrder';
  4833 + function request(
  4834 + option: PostServiceOrderAddOrderOption,
  4835 + ): Promise<PostServiceOrderAddOrderResponseSuccess> {
  4836 + return requester(request.url, {
  4837 + method: request.method,
  4838 + ...option,
  4839 + }) as unknown as Promise<PostServiceOrderAddOrderResponseSuccess>;
  4840 + }
  4841 +
  4842 + /** http method */
  4843 + request.method = method;
  4844 + /** request url */
  4845 + request.url = url;
  4846 + return request;
  4847 +})();
  4848 +
  4849 +/** @description request parameter type for postServiceOrderCheckOrder */
  4850 +export interface PostServiceOrderCheckOrderOption {
  4851 + /**
  4852 + * @description
  4853 + * dto
  4854 + */
  4855 + body: {
  4856 + /**
  4857 + @description
  4858 + dto */
  4859 + dto: Dto;
  4860 + };
  4861 +}
  4862 +
  4863 +/** @description response type for postServiceOrderCheckOrder */
  4864 +export interface PostServiceOrderCheckOrderResponse {
  4865 + /**
  4866 + * @description
  4867 + * OK
  4868 + */
  4869 + 200: ServerResult;
  4870 + /**
  4871 + * @description
  4872 + * Created
  4873 + */
  4874 + 201: any;
  4875 + /**
  4876 + * @description
  4877 + * Unauthorized
  4878 + */
  4879 + 401: any;
  4880 + /**
  4881 + * @description
  4882 + * Forbidden
  4883 + */
  4884 + 403: any;
  4885 + /**
  4886 + * @description
  4887 + * Not Found
  4888 + */
  4889 + 404: any;
  4890 +}
  4891 +
  4892 +export type PostServiceOrderCheckOrderResponseSuccess =
  4893 + PostServiceOrderCheckOrderResponse[200];
  4894 +/**
  4895 + * @description
  4896 + * 审核订单
  4897 + * @tags 内部订单
  4898 + * @produces *
  4899 + * @consumes application/json
  4900 + */
  4901 +export const postServiceOrderCheckOrder = /* #__PURE__ */ (() => {
  4902 + const method = 'post';
  4903 + const url = '/service/order/checkOrder';
  4904 + function request(
  4905 + option: PostServiceOrderCheckOrderOption,
  4906 + ): Promise<PostServiceOrderCheckOrderResponseSuccess> {
  4907 + return requester(request.url, {
  4908 + method: request.method,
  4909 + ...option,
  4910 + }) as unknown as Promise<PostServiceOrderCheckOrderResponseSuccess>;
  4911 + }
  4912 +
  4913 + /** http method */
  4914 + request.method = method;
  4915 + /** request url */
  4916 + request.url = url;
  4917 + return request;
  4918 +})();
  4919 +
  4920 +/** @description request parameter type for getServiceOrderConfirmReceipt */
  4921 +export interface GetServiceOrderConfirmReceiptOption {
  4922 + /**
  4923 + * @description
  4924 + * file
  4925 + */
  4926 + formData: {
  4927 + /**
  4928 + @description
  4929 + file */
  4930 + file: File;
  4931 + };
  4932 +}
  4933 +
  4934 +/** @description request parameter type for getServiceOrderConfirmReceipt */
  4935 +export interface GetServiceOrderConfirmReceiptOption {
  4936 + /**
  4937 + * @description
  4938 + * id
  4939 + * @format int64
  4940 + */
  4941 + path: {
  4942 + /**
  4943 + @description
  4944 + id
  4945 + @format int64 */
  4946 + id: number;
  4947 + };
  4948 +}
  4949 +
  4950 +/** @description response type for getServiceOrderConfirmReceipt */
  4951 +export interface GetServiceOrderConfirmReceiptResponse {
  4952 + /**
  4953 + * @description
  4954 + * OK
  4955 + */
  4956 + 200: ServerResult;
  4957 + /**
  4958 + * @description
  4959 + * Unauthorized
  4960 + */
  4961 + 401: any;
  4962 + /**
  4963 + * @description
  4964 + * Forbidden
  4965 + */
  4966 + 403: any;
  4967 + /**
  4968 + * @description
  4969 + * Not Found
  4970 + */
  4971 + 404: any;
  4972 +}
  4973 +
  4974 +export type GetServiceOrderConfirmReceiptResponseSuccess =
  4975 + GetServiceOrderConfirmReceiptResponse[200];
  4976 +/**
  4977 + * @description
  4978 + * 确认收货
  4979 + * @tags 内部订单
  4980 + * @produces *
  4981 + * @consumes multipart/form-data
  4982 + */
  4983 +export const getServiceOrderConfirmReceipt = /* #__PURE__ */ (() => {
  4984 + const method = 'get';
  4985 + const url = '/service/order/confirmReceipt';
  4986 + function request(
  4987 + option: GetServiceOrderConfirmReceiptOption,
  4988 + ): Promise<GetServiceOrderConfirmReceiptResponseSuccess> {
  4989 + return requester(request.url, {
  4990 + method: request.method,
  4991 + ...option,
  4992 + }) as unknown as Promise<GetServiceOrderConfirmReceiptResponseSuccess>;
  4993 + }
  4994 +
  4995 + /** http method */
  4996 + request.method = method;
  4997 + /** request url */
  4998 + request.url = url;
  4999 + return request;
  5000 +})();
  5001 +
  5002 +/** @description request parameter type for postServiceOrderExport */
  5003 +export interface PostServiceOrderExportOption {
  5004 + /**
  5005 + * @description
  5006 + * dto
  5007 + */
  5008 + body: {
  5009 + /**
  5010 + @description
  5011 + dto */
  5012 + dto: Dto;
  5013 + };
  5014 +}
  5015 +
  5016 +/** @description response type for postServiceOrderExport */
  5017 +export interface PostServiceOrderExportResponse {
  5018 + /**
  5019 + * @description
  5020 + * OK
  5021 + */
  5022 + 200: ServerResult;
  5023 + /**
  5024 + * @description
  5025 + * Created
  5026 + */
  5027 + 201: any;
  5028 + /**
  5029 + * @description
  5030 + * Unauthorized
  5031 + */
  5032 + 401: any;
  5033 + /**
  5034 + * @description
  5035 + * Forbidden
  5036 + */
  5037 + 403: any;
  5038 + /**
  5039 + * @description
  5040 + * Not Found
  5041 + */
  5042 + 404: any;
  5043 +}
  5044 +
  5045 +export type PostServiceOrderExportResponseSuccess =
  5046 + PostServiceOrderExportResponse[200];
  5047 +/**
  5048 + * @description
  5049 + * 导出订单表格
  5050 + * @tags 内部订单
  5051 + * @produces *
  5052 + * @consumes application/json
  5053 + */
  5054 +export const postServiceOrderExport = /* #__PURE__ */ (() => {
  5055 + const method = 'post';
  5056 + const url = '/service/order/export';
  5057 + function request(
  5058 + option: PostServiceOrderExportOption,
  5059 + ): Promise<PostServiceOrderExportResponseSuccess> {
  5060 + return requester(request.url, {
  5061 + method: request.method,
  5062 + ...option,
  5063 + }) as unknown as Promise<PostServiceOrderExportResponseSuccess>;
  5064 + }
  5065 +
  5066 + /** http method */
  5067 + request.method = method;
  5068 + /** request url */
  5069 + request.url = url;
  5070 + return request;
  5071 +})();
  5072 +
  5073 +/** @description response type for postServiceOrderInvoicing */
  5074 +export interface PostServiceOrderInvoicingResponse {
  5075 + /**
  5076 + * @description
  5077 + * OK
  5078 + */
  5079 + 200: ServerResult;
  5080 + /**
  5081 + * @description
  5082 + * Created
  5083 + */
  5084 + 201: any;
  5085 + /**
  5086 + * @description
  5087 + * Unauthorized
  5088 + */
  5089 + 401: any;
  5090 + /**
  5091 + * @description
  5092 + * Forbidden
  5093 + */
  5094 + 403: any;
  5095 + /**
  5096 + * @description
  5097 + * Not Found
  5098 + */
  5099 + 404: any;
  5100 +}
  5101 +
  5102 +export type PostServiceOrderInvoicingResponseSuccess =
  5103 + PostServiceOrderInvoicingResponse[200];
  5104 +/**
  5105 + * @description
  5106 + * 开票
  5107 + * @tags 内部订单
  5108 + * @produces *
  5109 + * @consumes application/json
  5110 + */
  5111 +export const postServiceOrderInvoicing = /* #__PURE__ */ (() => {
  5112 + const method = 'post';
  5113 + const url = '/service/order/invoicing';
  5114 + function request(): Promise<PostServiceOrderInvoicingResponseSuccess> {
  5115 + return requester(request.url, {
  5116 + method: request.method,
  5117 + }) as unknown as Promise<PostServiceOrderInvoicingResponseSuccess>;
  5118 + }
  5119 +
  5120 + /** http method */
  5121 + request.method = method;
  5122 + /** request url */
  5123 + request.url = url;
  5124 + return request;
  5125 +})();
  5126 +
  5127 +/** @description response type for postServiceOrderPrintOrder */
  5128 +export interface PostServiceOrderPrintOrderResponse {
  5129 + /**
  5130 + * @description
  5131 + * OK
  5132 + */
  5133 + 200: ServerResult;
  5134 + /**
  5135 + * @description
  5136 + * Created
  5137 + */
  5138 + 201: any;
  5139 + /**
  5140 + * @description
  5141 + * Unauthorized
  5142 + */
  5143 + 401: any;
  5144 + /**
  5145 + * @description
  5146 + * Forbidden
  5147 + */
  5148 + 403: any;
  5149 + /**
  5150 + * @description
  5151 + * Not Found
  5152 + */
  5153 + 404: any;
  5154 +}
  5155 +
  5156 +export type PostServiceOrderPrintOrderResponseSuccess =
  5157 + PostServiceOrderPrintOrderResponse[200];
  5158 +/**
  5159 + * @description
  5160 + * 打印订单
  5161 + * @tags 内部订单
  5162 + * @produces *
  5163 + * @consumes application/json
  5164 + */
  5165 +export const postServiceOrderPrintOrder = /* #__PURE__ */ (() => {
  5166 + const method = 'post';
  5167 + const url = '/service/order/printOrder';
  5168 + function request(): Promise<PostServiceOrderPrintOrderResponseSuccess> {
  5169 + return requester(request.url, {
  5170 + method: request.method,
  5171 + }) as unknown as Promise<PostServiceOrderPrintOrderResponseSuccess>;
  5172 + }
  5173 +
  5174 + /** http method */
  5175 + request.method = method;
  5176 + /** request url */
  5177 + request.url = url;
  5178 + return request;
  5179 +})();
  5180 +
  5181 +/** @description response type for getServiceOrderProvideInvoicingStatus */
  5182 +export interface GetServiceOrderProvideInvoicingStatusResponse {
  5183 + /**
  5184 + * @description
  5185 + * OK
  5186 + */
  5187 + 200: ServerResult;
  5188 + /**
  5189 + * @description
  5190 + * Unauthorized
  5191 + */
  5192 + 401: any;
  5193 + /**
  5194 + * @description
  5195 + * Forbidden
  5196 + */
  5197 + 403: any;
  5198 + /**
  5199 + * @description
  5200 + * Not Found
  5201 + */
  5202 + 404: any;
  5203 +}
  5204 +
  5205 +export type GetServiceOrderProvideInvoicingStatusResponseSuccess =
  5206 + GetServiceOrderProvideInvoicingStatusResponse[200];
  5207 +/**
  5208 + * @description
  5209 + * 提供开票状态
  5210 + * @tags 内部订单
  5211 + * @produces *
  5212 + */
  5213 +export const getServiceOrderProvideInvoicingStatus = /* #__PURE__ */ (() => {
  5214 + const method = 'get';
  5215 + const url = '/service/order/provideInvoicingStatus';
  5216 + function request(): Promise<GetServiceOrderProvideInvoicingStatusResponseSuccess> {
  5217 + return requester(request.url, {
  5218 + method: request.method,
  5219 + }) as unknown as Promise<GetServiceOrderProvideInvoicingStatusResponseSuccess>;
  5220 + }
  5221 +
  5222 + /** http method */
  5223 + request.method = method;
  5224 + /** request url */
  5225 + request.url = url;
  5226 + return request;
  5227 +})();
  5228 +
  5229 +/** @description response type for getServiceOrderProvideLogisticsStatus */
  5230 +export interface GetServiceOrderProvideLogisticsStatusResponse {
  5231 + /**
  5232 + * @description
  5233 + * OK
  5234 + */
  5235 + 200: ServerResult;
  5236 + /**
  5237 + * @description
  5238 + * Unauthorized
  5239 + */
  5240 + 401: any;
  5241 + /**
  5242 + * @description
  5243 + * Forbidden
  5244 + */
  5245 + 403: any;
  5246 + /**
  5247 + * @description
  5248 + * Not Found
  5249 + */
  5250 + 404: any;
  5251 +}
  5252 +
  5253 +export type GetServiceOrderProvideLogisticsStatusResponseSuccess =
  5254 + GetServiceOrderProvideLogisticsStatusResponse[200];
  5255 +/**
  5256 + * @description
  5257 + * 提供物流方式
  5258 + * @tags 内部订单
  5259 + * @produces *
  5260 + */
  5261 +export const getServiceOrderProvideLogisticsStatus = /* #__PURE__ */ (() => {
  5262 + const method = 'get';
  5263 + const url = '/service/order/provideLogisticsStatus';
  5264 + function request(): Promise<GetServiceOrderProvideLogisticsStatusResponseSuccess> {
  5265 + return requester(request.url, {
  5266 + method: request.method,
  5267 + }) as unknown as Promise<GetServiceOrderProvideLogisticsStatusResponseSuccess>;
  5268 + }
  5269 +
  5270 + /** http method */
  5271 + request.method = method;
  5272 + /** request url */
  5273 + request.url = url;
  5274 + return request;
  5275 +})();
  5276 +
  5277 +/** @description response type for getServiceOrderProvideOrderStatus */
  5278 +export interface GetServiceOrderProvideOrderStatusResponse {
  5279 + /**
  5280 + * @description
  5281 + * OK
  5282 + */
  5283 + 200: ServerResult;
  5284 + /**
  5285 + * @description
  5286 + * Unauthorized
  5287 + */
  5288 + 401: any;
  5289 + /**
  5290 + * @description
  5291 + * Forbidden
  5292 + */
  5293 + 403: any;
  5294 + /**
  5295 + * @description
  5296 + * Not Found
  5297 + */
  5298 + 404: any;
  5299 +}
  5300 +
  5301 +export type GetServiceOrderProvideOrderStatusResponseSuccess =
  5302 + GetServiceOrderProvideOrderStatusResponse[200];
  5303 +/**
  5304 + * @description
  5305 + * 提供订单状态
  5306 + * @tags 内部订单
  5307 + * @produces *
  5308 + */
  5309 +export const getServiceOrderProvideOrderStatus = /* #__PURE__ */ (() => {
  5310 + const method = 'get';
  5311 + const url = '/service/order/provideOrderStatus';
  5312 + function request(): Promise<GetServiceOrderProvideOrderStatusResponseSuccess> {
  5313 + return requester(request.url, {
  5314 + method: request.method,
  5315 + }) as unknown as Promise<GetServiceOrderProvideOrderStatusResponseSuccess>;
  5316 + }
  5317 +
  5318 + /** http method */
  5319 + request.method = method;
  5320 + /** request url */
  5321 + request.url = url;
  5322 + return request;
  5323 +})();
  5324 +
  5325 +/** @description response type for getServiceOrderProvidePaymentChannel */
  5326 +export interface GetServiceOrderProvidePaymentChannelResponse {
  5327 + /**
  5328 + * @description
  5329 + * OK
  5330 + */
  5331 + 200: ServerResult;
  5332 + /**
  5333 + * @description
  5334 + * Unauthorized
  5335 + */
  5336 + 401: any;
  5337 + /**
  5338 + * @description
  5339 + * Forbidden
  5340 + */
  5341 + 403: any;
  5342 + /**
  5343 + * @description
  5344 + * Not Found
  5345 + */
  5346 + 404: any;
  5347 +}
  5348 +
  5349 +export type GetServiceOrderProvidePaymentChannelResponseSuccess =
  5350 + GetServiceOrderProvidePaymentChannelResponse[200];
  5351 +/**
  5352 + * @description
  5353 + * 提供支付渠道
  5354 + * @tags 内部订单
  5355 + * @produces *
  5356 + */
  5357 +export const getServiceOrderProvidePaymentChannel = /* #__PURE__ */ (() => {
  5358 + const method = 'get';
  5359 + const url = '/service/order/providePaymentChannel';
  5360 + function request(): Promise<GetServiceOrderProvidePaymentChannelResponseSuccess> {
  5361 + return requester(request.url, {
  5362 + method: request.method,
  5363 + }) as unknown as Promise<GetServiceOrderProvidePaymentChannelResponseSuccess>;
  5364 + }
  5365 +
  5366 + /** http method */
  5367 + request.method = method;
  5368 + /** request url */
  5369 + request.url = url;
  5370 + return request;
  5371 +})();
  5372 +
  5373 +/** @description response type for getServiceOrderProvidePaymentMethod */
  5374 +export interface GetServiceOrderProvidePaymentMethodResponse {
  5375 + /**
  5376 + * @description
  5377 + * OK
  5378 + */
  5379 + 200: ServerResult;
  5380 + /**
  5381 + * @description
  5382 + * Unauthorized
  5383 + */
  5384 + 401: any;
  5385 + /**
  5386 + * @description
  5387 + * Forbidden
  5388 + */
  5389 + 403: any;
  5390 + /**
  5391 + * @description
  5392 + * Not Found
  5393 + */
  5394 + 404: any;
  5395 +}
  5396 +
  5397 +export type GetServiceOrderProvidePaymentMethodResponseSuccess =
  5398 + GetServiceOrderProvidePaymentMethodResponse[200];
  5399 +/**
  5400 + * @description
  5401 + * 提供支付方式
  5402 + * @tags 内部订单
  5403 + * @produces *
  5404 + */
  5405 +export const getServiceOrderProvidePaymentMethod = /* #__PURE__ */ (() => {
  5406 + const method = 'get';
  5407 + const url = '/service/order/providePaymentMethod';
  5408 + function request(): Promise<GetServiceOrderProvidePaymentMethodResponseSuccess> {
  5409 + return requester(request.url, {
  5410 + method: request.method,
  5411 + }) as unknown as Promise<GetServiceOrderProvidePaymentMethodResponseSuccess>;
  5412 + }
  5413 +
  5414 + /** http method */
  5415 + request.method = method;
  5416 + /** request url */
  5417 + request.url = url;
  5418 + return request;
  5419 +})();
  5420 +
  5421 +/** @description response type for getServiceOrderProvideProductBelongDepartment */
  5422 +export interface GetServiceOrderProvideProductBelongDepartmentResponse {
  5423 + /**
  5424 + * @description
  5425 + * OK
  5426 + */
  5427 + 200: ServerResult;
  5428 + /**
  5429 + * @description
  5430 + * Unauthorized
  5431 + */
  5432 + 401: any;
  5433 + /**
  5434 + * @description
  5435 + * Forbidden
  5436 + */
  5437 + 403: any;
  5438 + /**
  5439 + * @description
  5440 + * Not Found
  5441 + */
  5442 + 404: any;
  5443 +}
  5444 +
  5445 +export type GetServiceOrderProvideProductBelongDepartmentResponseSuccess =
  5446 + GetServiceOrderProvideProductBelongDepartmentResponse[200];
  5447 +/**
  5448 + * @description
  5449 + * 提供商品所属事业部门
  5450 + * @tags 内部订单
  5451 + * @produces *
  5452 + */
  5453 +export const getServiceOrderProvideProductBelongDepartment =
  5454 + /* #__PURE__ */ (() => {
  5455 + const method = 'get';
  5456 + const url = '/service/order/provideProductBelongDepartment';
  5457 + function request(): Promise<GetServiceOrderProvideProductBelongDepartmentResponseSuccess> {
  5458 + return requester(request.url, {
  5459 + method: request.method,
  5460 + }) as unknown as Promise<GetServiceOrderProvideProductBelongDepartmentResponseSuccess>;
  5461 + }
  5462 +
  5463 + /** http method */
  5464 + request.method = method;
  5465 + /** request url */
  5466 + request.url = url;
  5467 + return request;
  5468 + })();
  5469 +
  5470 +/** @description response type for getServiceOrderProvideProductUnit */
  5471 +export interface GetServiceOrderProvideProductUnitResponse {
  5472 + /**
  5473 + * @description
  5474 + * OK
  5475 + */
  5476 + 200: ServerResult;
  5477 + /**
  5478 + * @description
  5479 + * Unauthorized
  5480 + */
  5481 + 401: any;
  5482 + /**
  5483 + * @description
  5484 + * Forbidden
  5485 + */
  5486 + 403: any;
  5487 + /**
  5488 + * @description
  5489 + * Not Found
  5490 + */
  5491 + 404: any;
  5492 +}
  5493 +
  5494 +export type GetServiceOrderProvideProductUnitResponseSuccess =
  5495 + GetServiceOrderProvideProductUnitResponse[200];
  5496 +/**
  5497 + * @description
  5498 + * 提供商品单位
  5499 + * @tags 内部订单
  5500 + * @produces *
  5501 + */
  5502 +export const getServiceOrderProvideProductUnit = /* #__PURE__ */ (() => {
  5503 + const method = 'get';
  5504 + const url = '/service/order/provideProductUnit';
  5505 + function request(): Promise<GetServiceOrderProvideProductUnitResponseSuccess> {
  5506 + return requester(request.url, {
  5507 + method: request.method,
  5508 + }) as unknown as Promise<GetServiceOrderProvideProductUnitResponseSuccess>;
  5509 + }
  5510 +
  5511 + /** http method */
  5512 + request.method = method;
  5513 + /** request url */
  5514 + request.url = url;
  5515 + return request;
  5516 +})();
  5517 +
  5518 +/** @description response type for getServiceOrderProvideToken */
  5519 +export interface GetServiceOrderProvideTokenResponse {
  5520 + /**
  5521 + * @description
  5522 + * OK
  5523 + */
  5524 + 200: ServerResult;
  5525 + /**
  5526 + * @description
  5527 + * Unauthorized
  5528 + */
  5529 + 401: any;
  5530 + /**
  5531 + * @description
  5532 + * Forbidden
  5533 + */
  5534 + 403: any;
  5535 + /**
  5536 + * @description
  5537 + * Not Found
  5538 + */
  5539 + 404: any;
  5540 +}
  5541 +
  5542 +export type GetServiceOrderProvideTokenResponseSuccess =
  5543 + GetServiceOrderProvideTokenResponse[200];
  5544 +/**
  5545 + * @description
  5546 + * 新增订单的时候提供一个token值
  5547 + * @tags 内部订单
  5548 + * @produces *
  5549 + */
  5550 +export const getServiceOrderProvideToken = /* #__PURE__ */ (() => {
  5551 + const method = 'get';
  5552 + const url = '/service/order/provideToken';
  5553 + function request(): Promise<GetServiceOrderProvideTokenResponseSuccess> {
  5554 + return requester(request.url, {
  5555 + method: request.method,
  5556 + }) as unknown as Promise<GetServiceOrderProvideTokenResponseSuccess>;
  5557 + }
  5558 +
  5559 + /** http method */
  5560 + request.method = method;
  5561 + /** request url */
  5562 + request.url = url;
  5563 + return request;
  5564 +})();
  5565 +
  5566 +/** @description request parameter type for postServiceOrderQueryProductInformation */
  5567 +export interface PostServiceOrderQueryProductInformationOption {
  5568 + /**
  5569 + * @description
  5570 + * dto
  5571 + */
  5572 + body: {
  5573 + /**
  5574 + @description
  5575 + dto */
  5576 + dto: ProductInformationDto;
  5577 + };
  5578 +}
  5579 +
  5580 +/** @description response type for postServiceOrderQueryProductInformation */
  5581 +export interface PostServiceOrderQueryProductInformationResponse {
  5582 + /**
  5583 + * @description
  5584 + * OK
  5585 + */
  5586 + 200: ServerResult;
  5587 + /**
  5588 + * @description
  5589 + * Created
  5590 + */
  5591 + 201: any;
  5592 + /**
  5593 + * @description
  5594 + * Unauthorized
  5595 + */
  5596 + 401: any;
  5597 + /**
  5598 + * @description
  5599 + * Forbidden
  5600 + */
  5601 + 403: any;
  5602 + /**
  5603 + * @description
  5604 + * Not Found
  5605 + */
  5606 + 404: any;
  5607 +}
  5608 +
  5609 +export type PostServiceOrderQueryProductInformationResponseSuccess =
  5610 + PostServiceOrderQueryProductInformationResponse[200];
  5611 +/**
  5612 + * @description
  5613 + * 查询货品信息
  5614 + * @tags 内部订单
  5615 + * @produces *
  5616 + * @consumes application/json
  5617 + */
  5618 +export const postServiceOrderQueryProductInformation = /* #__PURE__ */ (() => {
  5619 + const method = 'post';
  5620 + const url = '/service/order/queryProductInformation';
  5621 + function request(
  5622 + option: PostServiceOrderQueryProductInformationOption,
  5623 + ): Promise<PostServiceOrderQueryProductInformationResponseSuccess> {
  5624 + return requester(request.url, {
  5625 + method: request.method,
  5626 + ...option,
  5627 + }) as unknown as Promise<PostServiceOrderQueryProductInformationResponseSuccess>;
  5628 + }
  5629 +
  5630 + /** http method */
  5631 + request.method = method;
  5632 + /** request url */
  5633 + request.url = url;
  5634 + return request;
  5635 +})();
  5636 +
  5637 +/** @description request parameter type for postServiceOrderQueryServiceOrder */
  5638 +export interface PostServiceOrderQueryServiceOrderOption {
  5639 + /**
  5640 + * @description
  5641 + * dto
  5642 + */
  5643 + body: {
  5644 + /**
  5645 + @description
  5646 + dto */
  5647 + dto: Dto;
  5648 + };
  5649 +}
  5650 +
  5651 +/** @description response type for postServiceOrderQueryServiceOrder */
  5652 +export interface PostServiceOrderQueryServiceOrderResponse {
  5653 + /**
  5654 + * @description
  5655 + * OK
  5656 + */
  5657 + 200: ServerResult;
  5658 + /**
  5659 + * @description
  5660 + * Created
  5661 + */
  5662 + 201: any;
  5663 + /**
  5664 + * @description
  5665 + * Unauthorized
  5666 + */
  5667 + 401: any;
  5668 + /**
  5669 + * @description
  5670 + * Forbidden
  5671 + */
  5672 + 403: any;
  5673 + /**
  5674 + * @description
  5675 + * Not Found
  5676 + */
  5677 + 404: any;
  5678 +}
  5679 +
  5680 +export type PostServiceOrderQueryServiceOrderResponseSuccess =
  5681 + PostServiceOrderQueryServiceOrderResponse[200];
  5682 +/**
  5683 + * @description
  5684 + * 订单页查询
  5685 + * @tags 内部订单
  5686 + * @produces *
  5687 + * @consumes application/json
  5688 + */
  5689 +export const postServiceOrderQueryServiceOrder = /* #__PURE__ */ (() => {
  5690 + const method = 'post';
  5691 + const url = '/service/order/queryServiceOrder';
  5692 + function request(
  5693 + option: PostServiceOrderQueryServiceOrderOption,
  5694 + ): Promise<PostServiceOrderQueryServiceOrderResponseSuccess> {
  5695 + return requester(request.url, {
  5696 + method: request.method,
  5697 + ...option,
  5698 + }) as unknown as Promise<PostServiceOrderQueryServiceOrderResponseSuccess>;
  5699 + }
  5700 +
  5701 + /** http method */
  5702 + request.method = method;
  5703 + /** request url */
  5704 + request.url = url;
  5705 + return request;
  5706 +})();
  5707 +
  5708 +/** @description request parameter type for postServiceOrderSendProduct */
  5709 +export interface PostServiceOrderSendProductOption {
  5710 + /**
  5711 + * @description
  5712 + * dto
  5713 + */
  5714 + body: {
  5715 + /**
  5716 + @description
  5717 + dto */
  5718 + dto: Dto;
  5719 + };
  5720 +}
  5721 +
  5722 +/** @description response type for postServiceOrderSendProduct */
  5723 +export interface PostServiceOrderSendProductResponse {
  5724 + /**
  5725 + * @description
  5726 + * OK
  5727 + */
  5728 + 200: ServerResult;
  5729 + /**
  5730 + * @description
  5731 + * Created
  5732 + */
  5733 + 201: any;
  5734 + /**
  5735 + * @description
  5736 + * Unauthorized
  5737 + */
  5738 + 401: any;
  5739 + /**
  5740 + * @description
  5741 + * Forbidden
  5742 + */
  5743 + 403: any;
  5744 + /**
  5745 + * @description
  5746 + * Not Found
  5747 + */
  5748 + 404: any;
  5749 +}
  5750 +
  5751 +export type PostServiceOrderSendProductResponseSuccess =
  5752 + PostServiceOrderSendProductResponse[200];
  5753 +/**
  5754 + * @description
  5755 + * 发货
  5756 + * @tags 内部订单
  5757 + * @produces *
  5758 + * @consumes application/json
  5759 + */
  5760 +export const postServiceOrderSendProduct = /* #__PURE__ */ (() => {
  5761 + const method = 'post';
  5762 + const url = '/service/order/sendProduct';
  5763 + function request(
  5764 + option: PostServiceOrderSendProductOption,
  5765 + ): Promise<PostServiceOrderSendProductResponseSuccess> {
  5766 + return requester(request.url, {
  5767 + method: request.method,
  5768 + ...option,
  5769 + }) as unknown as Promise<PostServiceOrderSendProductResponseSuccess>;
  5770 + }
  5771 +
  5772 + /** http method */
  5773 + request.method = method;
  5774 + /** request url */
  5775 + request.url = url;
  5776 + return request;
  5777 +})();
  5778 +
  5779 +/** @description request parameter type for postServiceOrderUpdateOrder */
  5780 +export interface PostServiceOrderUpdateOrderOption {
  5781 + /**
  5782 + * @description
  5783 + * dto
  5784 + */
  5785 + body: {
  5786 + /**
  5787 + @description
  5788 + dto */
  5789 + dto: Dto;
  5790 + };
  5791 +}
  5792 +
  5793 +/** @description response type for postServiceOrderUpdateOrder */
  5794 +export interface PostServiceOrderUpdateOrderResponse {
  5795 + /**
  5796 + * @description
  5797 + * OK
  5798 + */
  5799 + 200: ServerResult;
  5800 + /**
  5801 + * @description
  5802 + * Created
  5803 + */
  5804 + 201: any;
  5805 + /**
  5806 + * @description
  5807 + * Unauthorized
  5808 + */
  5809 + 401: any;
  5810 + /**
  5811 + * @description
  5812 + * Forbidden
  5813 + */
  5814 + 403: any;
  5815 + /**
  5816 + * @description
  5817 + * Not Found
  5818 + */
  5819 + 404: any;
248 5820 }
249 5821  
250   -export type PostErpOrderUpdateResponseSuccess = PostErpOrderUpdateResponse[200];
  5822 +export type PostServiceOrderUpdateOrderResponseSuccess =
  5823 + PostServiceOrderUpdateOrderResponse[200];
251 5824 /**
252 5825 * @description
253   - * 订单编辑
254   - * @tags 公共分类
  5826 + * 编辑订单
  5827 + * @tags 内部订单
  5828 + * @produces *
255 5829 * @consumes application/json
256 5830 */
257   -export const postErpOrderUpdate = /* #__PURE__ */ (() => {
  5831 +export const postServiceOrderUpdateOrder = /* #__PURE__ */ (() => {
258 5832 const method = 'post';
259   - const url = '/erp/order/update';
  5833 + const url = '/service/order/updateOrder';
260 5834 function request(
261   - option?: PostErpOrderUpdateOption,
262   - ): Promise<PostErpOrderUpdateResponseSuccess> {
  5835 + option: PostServiceOrderUpdateOrderOption,
  5836 + ): Promise<PostServiceOrderUpdateOrderResponseSuccess> {
263 5837 return requester(request.url, {
264 5838 method: request.method,
265 5839 ...option,
266   - }) as unknown as Promise<PostErpOrderUpdateResponseSuccess>;
  5840 + }) as unknown as Promise<PostServiceOrderUpdateOrderResponseSuccess>;
267 5841 }
268 5842  
269 5843 /** http method */
... ...
src/tsg.config.ts
... ... @@ -33,7 +33,7 @@ const projects: Project[] = [
33 33 * openapi 文档地址,可以是远程的json文件,也可以是本地的json文件
34 34 * 如果使用本地文件,相对路径以当前'tsg.config.ts'为基准
35 35 * */
36   - source: 'http://localhost:8000/request.json',
  36 + source: 'http://localhost:8085/request.json',
37 37  
38 38 // source: 'https://petstore3.swagger.io/api/v3/openapi.json',
39 39 // source: './fixture/pet.json',
... ...
src/utils/index.ts
1 1 import customMessage from './message';
2 2  
3   -export { customMessage };
  3 +//将enum转换为{label:"",value:""}形式
  4 +function enumToSelect(data: any) {
  5 + const keys = Object.keys(data);
  6 + return keys.map((value) => {
  7 + return { label: data[value], value: value };
  8 + });
  9 +}
  10 +
  11 +//将枚举的value值转换为label
  12 +function enumValueToLabel(value: any, enumObj: any) {
  13 + if (enumObj !== undefined) {
  14 + return enumObj[value];
  15 + }
  16 + return '';
  17 +}
  18 +
  19 +export { customMessage, enumToSelect, enumValueToLabel };
... ...