Commit 4e743bb55d57df338be7c422d81dfb8213e8f9c3
1 parent
c56d1a59
feat: update地区管理
Showing
19 changed files
with
3162 additions
and
4892 deletions
.umirc.ts
src/pages/Instalment/components/comfire/comfire.tsx
1 | 1 | import { ModalForm } from '@ant-design/pro-components'; |
2 | -import { Form, message } from 'antd'; | |
2 | +import { Form } from 'antd'; | |
3 | 3 | import { useState } from 'react'; |
4 | 4 | |
5 | 5 | const waitTime = (time: number = 100) => { |
... | ... | @@ -41,7 +41,6 @@ export default ({ currtDid, sureDelete }) => { |
41 | 41 | onFinish={async () => { |
42 | 42 | await waitTime(100); |
43 | 43 | sureDelete([ids]); |
44 | - message.success('提交成功'); | |
45 | 44 | return true; |
46 | 45 | }} |
47 | 46 | > | ... | ... |
src/pages/Instalment/components/detail/detail.tsx
... | ... | @@ -207,6 +207,7 @@ export default ({ toReload }) => { |
207 | 207 | payWay: values.payWay || contextBody.payWay, |
208 | 208 | annex: contextBody.annex, |
209 | 209 | remark: values.remark || contextBody.remark, |
210 | + createByName: null, | |
210 | 211 | }; |
211 | 212 | if (values.annex) { |
212 | 213 | formData.append('file', values.annex[0].originFileObj as RcFile); |
... | ... | @@ -221,6 +222,9 @@ export default ({ toReload }) => { |
221 | 222 | toSendEdit.annex = res.data; |
222 | 223 | } |
223 | 224 | } |
225 | + toSendEdit.createByName = JSON.parse( | |
226 | + localStorage.getItem('userInfo'), | |
227 | + ).username; | |
224 | 228 | const isSaveOrUpdate = await postOrderErpOrderStagesAdd({ |
225 | 229 | data: { ...toSendEdit }, |
226 | 230 | }); |
... | ... | @@ -230,31 +234,32 @@ export default ({ toReload }) => { |
230 | 234 | |
231 | 235 | otherBody.forEach((item) => { |
232 | 236 | let remakeItem = { |
233 | - ossId: item.ossId, | |
237 | + ossId: contextBody.id, | |
234 | 238 | number: item.id, |
235 | 239 | dateRange: item.payDate, |
236 | 240 | fileName: item.fileName, |
241 | + fileUrl: item.fileUrl, | |
237 | 242 | }; |
238 | - if ( | |
239 | - typeof item.fileUrl === 'object' && | |
240 | - item.fileUrl instanceof File | |
241 | - ) { | |
242 | - const formData = new FormData(); | |
243 | - formData.append('file', item.fileUrl as RcFile); | |
244 | - const uploadPromise = async () => { | |
245 | - const res = await postOrderErpOrderStagesUpload({ | |
246 | - data: formData, | |
247 | - headers: { | |
248 | - 'Content-Type': | |
249 | - 'multipart/form-data; boundary=----WebKitFormBoundarynl6gT1BKdPWIejNq', | |
250 | - }, | |
251 | - }); | |
252 | - if (res.data) { | |
253 | - remakeItem.fileUrl = res.data; | |
254 | - } | |
255 | - }; | |
256 | - promises.push(uploadPromise()); | |
257 | - } | |
243 | + // if ( | |
244 | + // typeof item.fileUrl === 'object' && | |
245 | + // item.fileUrl instanceof File | |
246 | + // ) { | |
247 | + // const formData = new FormData(); | |
248 | + // formData.append('file', item.fileUrl as RcFile); | |
249 | + // const uploadPromise = async () => { | |
250 | + // const res = await postOrderErpOrderStagesUpload({ | |
251 | + // data: formData, | |
252 | + // headers: { | |
253 | + // 'Content-Type': | |
254 | + // 'multipart/form-data; boundary=----WebKitFormBoundarynl6gT1BKdPWIejNq', | |
255 | + // }, | |
256 | + // }); | |
257 | + // if (res.data) { | |
258 | + // remakeItem.fileUrl = res.data; | |
259 | + // } | |
260 | + // }; | |
261 | + // promises.push(uploadPromise()); | |
262 | + // } | |
258 | 263 | remakeValue.push(remakeItem); |
259 | 264 | }); |
260 | 265 | ... | ... |
src/pages/Instalment/components/edit/edit.tsx
... | ... | @@ -33,7 +33,6 @@ export default ({ currentContract, toReload }) => { |
33 | 33 | const [total, setTotal] = useState(0); |
34 | 34 | const [payWayBody, setPayWayBody] = useState([]); |
35 | 35 | const [otherBody, setOtherBody] = useState([]); |
36 | - | |
37 | 36 | type OrderStagesWithListItem = { |
38 | 37 | //文件编号 |
39 | 38 | id: number; |
... | ... | @@ -85,6 +84,7 @@ export default ({ currentContract, toReload }) => { |
85 | 84 | } |
86 | 85 | |
87 | 86 | function setSave(value) { |
87 | + console.log(value); | |
88 | 88 | setOtherBody(value); |
89 | 89 | } |
90 | 90 | |
... | ... | @@ -134,18 +134,32 @@ export default ({ currentContract, toReload }) => { |
134 | 134 | } |
135 | 135 | }; |
136 | 136 | |
137 | - async function getBody() { | |
138 | - const res = await postOrderErpOrderStagesSearch({ | |
139 | - data: { contract: currentContract }, | |
140 | - }); | |
141 | - const context = res.data[0]; | |
142 | - | |
143 | - if (context.contract !== null) { | |
144 | - setContextBody(context); | |
145 | - setTotal(context.totalPrice); | |
146 | - form.setFieldValue('totalPrice', context.totalPrice); | |
137 | + async function getBody(value) { | |
138 | + if (value !== null) { | |
139 | + const res = await postOrderErpOrderStagesSearch({ | |
140 | + data: { contract: value }, | |
141 | + }); | |
142 | + const context = res.data[0]; | |
143 | + console.log(context); | |
144 | + if (context.contract !== null) { | |
145 | + setContextBody(context); | |
146 | + setTotal(context.totalPrice); | |
147 | + form.setFieldValue('totalPrice', context.totalPrice); | |
148 | + } | |
149 | + handleInputChange(context.payWay, 0, context.totalPrice); | |
150 | + } else { | |
151 | + const res = await postOrderErpOrderStagesSearch({ | |
152 | + data: { contract: currentContract }, | |
153 | + }); | |
154 | + const context = res.data[0]; | |
155 | + console.log(context); | |
156 | + if (context.contract !== null) { | |
157 | + setContextBody(context); | |
158 | + setTotal(context.totalPrice); | |
159 | + form.setFieldValue('totalPrice', context.totalPrice); | |
160 | + } | |
161 | + handleInputChange(context.payWay, 0, context.totalPrice); | |
147 | 162 | } |
148 | - handleInputChange(context.payWay, 0, context.totalPrice); | |
149 | 163 | } |
150 | 164 | |
151 | 165 | function getEditProductBody(value) { |
... | ... | @@ -157,7 +171,8 @@ export default ({ currentContract, toReload }) => { |
157 | 171 | } |
158 | 172 | |
159 | 173 | useEffect(() => { |
160 | - getBody(); | |
174 | + console.log('1'); | |
175 | + getBody(null); | |
161 | 176 | }, []); |
162 | 177 | |
163 | 178 | return ( |
... | ... | @@ -177,34 +192,35 @@ export default ({ currentContract, toReload }) => { |
177 | 192 | } |
178 | 193 | let remakeValue = []; |
179 | 194 | const promises = []; |
180 | - | |
195 | + console.log(otherBody); | |
181 | 196 | otherBody.forEach((item) => { |
182 | 197 | let remakeItem = { |
183 | 198 | ossId: contextBody.id, |
184 | 199 | number: item.id, |
185 | 200 | dateRange: item.payDate, |
186 | 201 | fileName: item.fileName, |
202 | + fileUrl: item.fileUrl, | |
187 | 203 | }; |
188 | - if ( | |
189 | - typeof item.fileUrl === 'object' && | |
190 | - item.fileUrl instanceof File | |
191 | - ) { | |
192 | - const formData = new FormData(); | |
193 | - formData.append('file', item.fileUrl as RcFile); | |
194 | - const uploadPromise = async () => { | |
195 | - const res = await postOrderErpOrderStagesUpload({ | |
196 | - data: formData, | |
197 | - headers: { | |
198 | - 'Content-Type': | |
199 | - 'multipart/form-data; boundary=----WebKitFormBoundarynl6gT1BKdPWIejNq', | |
200 | - }, | |
201 | - }); | |
202 | - if (res.data) { | |
203 | - remakeItem.fileUrl = res.data; | |
204 | - } | |
205 | - }; | |
206 | - promises.push(uploadPromise()); | |
207 | - } | |
204 | + // if ( | |
205 | + // typeof item.fileUrl === 'object' && | |
206 | + // item.fileUrl instanceof File | |
207 | + // ) { | |
208 | + // const formData = new FormData(); | |
209 | + // formData.append('file', item.fileUrl as RcFile); | |
210 | + // const uploadPromise = async () => { | |
211 | + // const res = await postOrderErpOrderStagesUpload({ | |
212 | + // data: formData, | |
213 | + // headers: { | |
214 | + // 'Content-Type': | |
215 | + // 'multipart/form-data; boundary=----WebKitFormBoundarynl6gT1BKdPWIejNq', | |
216 | + // }, | |
217 | + // }); | |
218 | + // if (res.data) { | |
219 | + // remakeItem.fileUrl = res.data; | |
220 | + // } | |
221 | + // }; | |
222 | + // promises.push(uploadPromise()); | |
223 | + // } | |
208 | 224 | remakeValue.push(remakeItem); |
209 | 225 | }); |
210 | 226 | Promise.all(promises).then(async () => { |
... | ... | @@ -243,8 +259,9 @@ export default ({ currentContract, toReload }) => { |
243 | 259 | const isSaveOrUpdate = await postOrderErpOrderStagesSaveOrUpdate({ |
244 | 260 | data: { ...toSendEdit }, |
245 | 261 | }); |
246 | - if (isSaveOrUpdate) { | |
247 | - getBody(); | |
262 | + if (isSaveOrUpdate.message === '成功') { | |
263 | + console.log('2'); | |
264 | + getBody(toSendEdit.contract); | |
248 | 265 | toReload(); |
249 | 266 | } |
250 | 267 | await waitTime(2000); | ... | ... |
src/pages/Instalment/components/payWayDetail/payWayDetail.tsx
... | ... | @@ -4,19 +4,18 @@ import { |
4 | 4 | EditableProTable, |
5 | 5 | ProFormDatePicker, |
6 | 6 | ProFormRadio, |
7 | - ProFormUploadButton, | |
8 | 7 | } from '@ant-design/pro-components'; |
9 | -import { message } from 'antd'; | |
10 | 8 | import React, { useEffect, useState } from 'react'; |
9 | +import PayWayUpload from '../upload/payWayUpload'; | |
11 | 10 | import './payWayDetail.less'; |
12 | 11 | |
13 | -const waitTime = (time: number = 100) => { | |
14 | - return new Promise((resolve) => { | |
15 | - setTimeout(() => { | |
16 | - resolve(true); | |
17 | - }, time); | |
18 | - }); | |
19 | -}; | |
12 | +// const waitTime = (time: number = 100) => { | |
13 | +// return new Promise((resolve) => { | |
14 | +// setTimeout(() => { | |
15 | +// resolve(true); | |
16 | +// }, time); | |
17 | +// }); | |
18 | +// }; | |
20 | 19 | |
21 | 20 | type DataSourceType = { |
22 | 21 | id: number; |
... | ... | @@ -74,6 +73,7 @@ export default ({ payBody, thisId, currtSave }) => { |
74 | 73 | ]; |
75 | 74 | |
76 | 75 | const [editableKeys, setEditableRowKeys] = useState<React.Key[]>([]); |
76 | + const [isRetrun, setIsRetrun] = useState(false); | |
77 | 77 | const [position, setPosition] = useState<'top' | 'bottom' | 'hidden'>( |
78 | 78 | 'hidden', |
79 | 79 | ); |
... | ... | @@ -81,9 +81,17 @@ export default ({ payBody, thisId, currtSave }) => { |
81 | 81 | readonly DataSourceType[] |
82 | 82 | >([...defaultData]); |
83 | 83 | // const [body, setBody] = useState([]) |
84 | - const [isAccept, setIsAccept] = useState(null); | |
84 | + // const [isAccept, setIsAccept] = useState(null); | |
85 | 85 | // const [isCurrtSave, setIsCurrtSave] = useState(false); |
86 | 86 | |
87 | + const waitTime = (time: number = 100) => { | |
88 | + return new Promise((resolve) => { | |
89 | + setTimeout(() => { | |
90 | + resolve(true); | |
91 | + }, time); | |
92 | + }); | |
93 | + }; | |
94 | + | |
87 | 95 | async function getOther(value, arr) { |
88 | 96 | const res = await postOrderErpOrderStagesPayWaySelect({ |
89 | 97 | data: { ossId: value }, |
... | ... | @@ -106,11 +114,32 @@ export default ({ payBody, thisId, currtSave }) => { |
106 | 114 | }); |
107 | 115 | return currt; |
108 | 116 | }); |
117 | + // console.log(remake); | |
109 | 118 | setPayWayDetailBody(remake); |
119 | + setIsRetrun(true); | |
110 | 120 | } |
111 | 121 | } |
112 | 122 | |
113 | - function setPayWay(value) { | |
123 | + function getUploadFile(value) { | |
124 | + let remakeBody = []; | |
125 | + let remakeBodyItem = {}; | |
126 | + payWayDetailBody.forEach((item) => { | |
127 | + if (item.id === value.id) { | |
128 | + remakeBodyItem = { | |
129 | + ...item, | |
130 | + fileUrl: value.url, | |
131 | + fileName: value.name, | |
132 | + }; | |
133 | + } else { | |
134 | + remakeBodyItem = { ...item }; | |
135 | + } | |
136 | + remakeBody.push(remakeBodyItem); | |
137 | + }); | |
138 | + setPayWayDetailBody(remakeBody); | |
139 | + currtSave(remakeBody); | |
140 | + } | |
141 | + | |
142 | + async function setPayWay(value) { | |
114 | 143 | const remakeData = payWayDetailBody.map((obj) => { |
115 | 144 | return { |
116 | 145 | ...obj, |
... | ... | @@ -127,9 +156,6 @@ export default ({ payBody, thisId, currtSave }) => { |
127 | 156 | getOther(thisId, remakeData); |
128 | 157 | } |
129 | 158 | } |
130 | - // useEffect(() => { | |
131 | - // getOther(thisId) | |
132 | - // }, [thisId]) | |
133 | 159 | |
134 | 160 | useEffect(() => { |
135 | 161 | setPayWay(payBody); |
... | ... | @@ -175,6 +201,7 @@ export default ({ payBody, thisId, currtSave }) => { |
175 | 201 | render: (text, record) => { |
176 | 202 | const handleChange = (value) => { |
177 | 203 | const updatedDataSource = payWayDetailBody.map((item) => { |
204 | + console.log(value); | |
178 | 205 | if (item.id === record.id) { |
179 | 206 | return { |
180 | 207 | ...item, |
... | ... | @@ -207,74 +234,33 @@ export default ({ payBody, thisId, currtSave }) => { |
207 | 234 | title: '付款单回执', |
208 | 235 | dataIndex: 'fileName', |
209 | 236 | render: (text, record) => { |
210 | - if (isAccept !== record.id) { | |
211 | - if ( | |
212 | - typeof record.fileUrl === 'object' && | |
213 | - record.fileUrl instanceof File | |
214 | - ) { | |
215 | - return ( | |
216 | - <a onClick={() => message.error('请先保存')}>{record.fileName}</a> | |
217 | - ); | |
218 | - } else { | |
219 | - return <a href={record.fileUrl}>{record.fileName}</a>; | |
220 | - } | |
237 | + if (record.fileUrl !== undefined) { | |
238 | + return ( | |
239 | + <PayWayUpload | |
240 | + natureModel={{ | |
241 | + id: record.id, | |
242 | + fileName: record.fileName, | |
243 | + fileUrl: record.fileUrl, | |
244 | + }} | |
245 | + setCurryFile={getUploadFile} | |
246 | + key={isRetrun} | |
247 | + ></PayWayUpload> | |
248 | + ); | |
221 | 249 | } else { |
222 | 250 | return ( |
223 | - <ProFormUploadButton | |
224 | - name={record.id} | |
225 | - onChange={(value) => { | |
226 | - console.log(value); | |
227 | - // console.log(payWayDetailBody); | |
228 | - let remakeBody = []; | |
229 | - let remakeBodyItem = {}; | |
230 | - payWayDetailBody.forEach((item) => { | |
231 | - if (item.id === record.id) { | |
232 | - remakeBodyItem = { | |
233 | - ...item, | |
234 | - fileUrl: value.fileList.originFileObj, | |
235 | - fileName: value.fileList.name, | |
236 | - }; | |
237 | - } else { | |
238 | - remakeBodyItem = { ...item }; | |
239 | - } | |
240 | - // if (value.fileList.length == 0) { | |
241 | - // remakeBodyItem = { ...item, fileUrl: undefined, fileName: undefined } | |
242 | - // } | |
243 | - remakeBody.push(remakeBodyItem); | |
244 | - }); | |
245 | - setPayWayDetailBody(remakeBody); | |
246 | - currtSave(remakeBody); | |
251 | + <PayWayUpload | |
252 | + natureModel={{ | |
253 | + id: record.id, | |
254 | + fileName: undefined, | |
255 | + fileUrl: undefined, | |
247 | 256 | }} |
248 | - width="md" | |
249 | - max={1} | |
250 | - /> | |
257 | + setCurryFile={getUploadFile} | |
258 | + key={isRetrun} | |
259 | + ></PayWayUpload> | |
251 | 260 | ); |
252 | 261 | } |
253 | 262 | }, |
254 | 263 | }, |
255 | - { | |
256 | - title: '操作', | |
257 | - valueType: 'option', | |
258 | - width: 200, | |
259 | - render: (text, record) => [ | |
260 | - <a | |
261 | - key="editable" | |
262 | - onClick={() => { | |
263 | - if (isAccept !== record.id) { | |
264 | - setIsAccept(record.id); | |
265 | - } else { | |
266 | - setIsAccept(null); | |
267 | - } | |
268 | - }} | |
269 | - > | |
270 | - {record.fileName !== undefined && | |
271 | - record.fileName !== '' && | |
272 | - record.fileName !== null | |
273 | - ? '重新上传' | |
274 | - : '上传回执'} | |
275 | - </a>, | |
276 | - ], | |
277 | - }, | |
278 | 264 | ]; |
279 | 265 | |
280 | 266 | return ( | ... | ... |
src/pages/Instalment/components/upload/payWayUpload.tsx
0 → 100644
1 | +import { postOrderErpOrderStagesUpload } from '@/services/request'; | |
2 | +import { UploadOutlined } from '@ant-design/icons'; | |
3 | +import type { UploadProps } from 'antd'; | |
4 | +import { Button, Upload, message } from 'antd'; | |
5 | +import { RcFile } from 'antd/es/upload'; | |
6 | +import React, { useEffect } from 'react'; | |
7 | + | |
8 | +const App: React.FC = ({ natureModel, setCurryFile }) => { | |
9 | + const [fileList, setFileList] = React.useState([{}]); | |
10 | + useEffect(() => { | |
11 | + console.log(natureModel); | |
12 | + if (natureModel.fileUrl !== undefined && natureModel.fileUrl !== null) { | |
13 | + setFileList([{ name: natureModel.fileName, url: natureModel.fileUrl }]); | |
14 | + } | |
15 | + }, []); | |
16 | + | |
17 | + const handleUploadChange = (value) => { | |
18 | + setFileList(value.fileList); | |
19 | + setCurryFile({ | |
20 | + id: natureModel.id, | |
21 | + name: null, | |
22 | + url: null, | |
23 | + }); | |
24 | + if ( | |
25 | + value.fileList.length !== 0 && | |
26 | + value.fileList[0].status === 'uploading' | |
27 | + ) { | |
28 | + (async () => { | |
29 | + if (!(value.fileList[0].originFileObj instanceof File)) { | |
30 | + console.log('is not file'); | |
31 | + return false; | |
32 | + } else { | |
33 | + const formData = new FormData(); | |
34 | + formData.append('file', value.fileList[0].originFileObj as RcFile); | |
35 | + const res = await postOrderErpOrderStagesUpload({ | |
36 | + data: formData, | |
37 | + headers: { | |
38 | + 'Content-Type': 'multipart/form-data', | |
39 | + }, | |
40 | + }); | |
41 | + if (res) { | |
42 | + message.success('提交成功'); | |
43 | + console.log({ | |
44 | + uid: value.fileList[0].originFileObj.uid, | |
45 | + name: value.fileList[0].originFileObj.name, | |
46 | + url: res.data, | |
47 | + }); | |
48 | + console.log(natureModel.id); | |
49 | + | |
50 | + setCurryFile({ | |
51 | + id: natureModel.id, | |
52 | + name: value.fileList[0].originFileObj.name, | |
53 | + url: res.data, | |
54 | + }); | |
55 | + setFileList([ | |
56 | + { | |
57 | + id: value.fileList[0].originFileObj.uid, | |
58 | + name: value.fileList[0].originFileObj.name, | |
59 | + url: res.data, | |
60 | + }, | |
61 | + ]); | |
62 | + return ( | |
63 | + <a href={res.data} target="_blank" rel="noopener noreferrer"> | |
64 | + {value.fileList[0].originFileObj.name} | |
65 | + </a> | |
66 | + ); | |
67 | + } | |
68 | + } | |
69 | + })(); | |
70 | + } | |
71 | + }; | |
72 | + | |
73 | + const props: UploadProps = { | |
74 | + onChange(value) { | |
75 | + handleUploadChange(value); | |
76 | + }, | |
77 | + }; | |
78 | + | |
79 | + const shouldShowUploadButton = | |
80 | + fileList.length !== 1 || fileList[0].url === undefined; | |
81 | + | |
82 | + return ( | |
83 | + <Upload | |
84 | + {...props} | |
85 | + fileList={fileList.filter( | |
86 | + (item) => item.url !== undefined && item.url !== null, | |
87 | + )} | |
88 | + > | |
89 | + {shouldShowUploadButton && ( | |
90 | + <Button icon={<UploadOutlined />}>上传</Button> | |
91 | + )} | |
92 | + </Upload> | |
93 | + ); | |
94 | +}; | |
95 | + | |
96 | +export default App; | |
97 | + | |
98 | +{ | |
99 | + /* {!shouldShowUploadButton && <a href={fileList[0].url}>{fileList[0].name}</a>} */ | |
100 | +} | ... | ... |
src/pages/Instalment/components/upload/uploadApp.tsx
... | ... | @@ -21,13 +21,7 @@ const App: React.FC = ({ uploadFile }) => { |
21 | 21 | <p className="ant-upload-drag-icon"> |
22 | 22 | <InboxOutlined /> |
23 | 23 | </p> |
24 | - <p className="ant-upload-text"> | |
25 | - Click or drag file to this area to upload | |
26 | - </p> | |
27 | - <p className="ant-upload-hint"> | |
28 | - Support for a single or bulk upload. Strictly prohibited from | |
29 | - uploading company data or other banned files. | |
30 | - </p> | |
24 | + <p className="ant-upload-text">点击或者拖动文件到此处</p> | |
31 | 25 | </Dragger> |
32 | 26 | <a |
33 | 27 | href="https://order-erp.oss-cn-qingdao.aliyuncs.com/%E5%88%86%E6%9C%9F%E4%BB%98%E6%AC%BE-%E5%AF%BC%E5%85%A5%E6%A8%A1%E6%9D%BF.xlsx?Expires=2035527699&OSSAccessKeyId=LTAIZCPI7OaWud0m&Signature=npHyEhfRd6LugJ0St8OkvRmLYtQ%3D" | ... | ... |
src/pages/Order/components/OrderDrawer.tsx
... | ... | @@ -3,6 +3,8 @@ import { |
3 | 3 | postCanrdApiUserAddressList, |
4 | 4 | postCanrdApiUserDetail, |
5 | 5 | postCanrdApiUserNowMoneyCheck, |
6 | + postDistrictSelectBelongByName, | |
7 | + postDistrictSelectByLevel, | |
6 | 8 | postKingdeeRepCustomerDetail, |
7 | 9 | postKingdeeRepMaterial, |
8 | 10 | postKingdeeRepMaterialUnit, |
... | ... | @@ -71,6 +73,10 @@ export default ({ onClose, data, subOrders, orderOptType }) => { |
71 | 73 | // [], |
72 | 74 | // ); //商品的仓库选项 |
73 | 75 | const [productUnitOptionsList, setProductUnitOptionsList] = useState([]); //商品的单位选项 |
76 | + //省市区 | |
77 | + const [province, setProvince] = useState(''); | |
78 | + const [city, setCity] = useState(''); | |
79 | + const [district, setDistrict] = useState(''); | |
74 | 80 | // const [productCustomerContactOptions, setProductCustomerContactOptions] = |
75 | 81 | // useState([]); //客户的收货人选项 |
76 | 82 | const [form] = Form.useForm<{ |
... | ... | @@ -246,7 +252,7 @@ export default ({ onClose, data, subOrders, orderOptType }) => { |
246 | 252 | newAccountOptions.push(uidDetail); |
247 | 253 | } |
248 | 254 | |
249 | - //查询当前手机号允许使用的预存账号 | |
255 | + // 查询当前手机号允许使用的预存账号 | |
250 | 256 | if (phone) { |
251 | 257 | let res = await postPrepaidPhoneAvailableList({ data: { phone: phone } }); |
252 | 258 | if (res && res.result === RESPONSE_CODE.SUCCESS) { |
... | ... | @@ -863,6 +869,8 @@ export default ({ onClose, data, subOrders, orderOptType }) => { |
863 | 869 | values.institution = values.institution?.trim(); |
864 | 870 | values.institutionContactName = values.institutionContactName?.trim(); |
865 | 871 | values.customerName = values.customerNameString.trim(); |
872 | + values.customerShippingAddress = | |
873 | + province + city + district + values.customerShippingAddress; | |
866 | 874 | |
867 | 875 | if (typeof values.erpCustomerId !== 'string') { |
868 | 876 | values.erpCustomerId = values.erpCustomerId?.id; |
... | ... | @@ -1015,7 +1023,6 @@ export default ({ onClose, data, subOrders, orderOptType }) => { |
1015 | 1023 | name="contactAddress" |
1016 | 1024 | hidden |
1017 | 1025 | ></ProFormText> |
1018 | - | |
1019 | 1026 | <ProFormSelect |
1020 | 1027 | key="customerName" |
1021 | 1028 | label="收货人" |
... | ... | @@ -1176,6 +1183,113 @@ export default ({ onClose, data, subOrders, orderOptType }) => { |
1176 | 1183 | placeholder="请输入课题组" |
1177 | 1184 | rules={[{ required: true, message: '课题组必填' }]} |
1178 | 1185 | /> |
1186 | + <div | |
1187 | + style={{ | |
1188 | + display: 'flex', | |
1189 | + justifyContent: 'space-between', | |
1190 | + width: 340, | |
1191 | + }} | |
1192 | + > | |
1193 | + <ProFormSelect | |
1194 | + name="province" | |
1195 | + key="province" | |
1196 | + width={100} | |
1197 | + label="省" | |
1198 | + fieldProps={{ | |
1199 | + labelInValue: true, | |
1200 | + }} | |
1201 | + onChange={(value) => { | |
1202 | + setProvince(value?.value); | |
1203 | + }} | |
1204 | + placeholder="请选择" | |
1205 | + rules={[ | |
1206 | + { | |
1207 | + required: true, | |
1208 | + message: '请选择!', | |
1209 | + }, | |
1210 | + ]} | |
1211 | + request={async () => { | |
1212 | + let province = []; | |
1213 | + let res = await postDistrictSelectByLevel({ data: 1 }); | |
1214 | + if (res) { | |
1215 | + res.data.forEach((item) => { | |
1216 | + province.push({ value: item.district, label: item.district }); | |
1217 | + }); | |
1218 | + } | |
1219 | + return province; | |
1220 | + }} | |
1221 | + /> | |
1222 | + <ProFormSelect | |
1223 | + key={province} | |
1224 | + name="city" | |
1225 | + width={100} | |
1226 | + label="市" | |
1227 | + disabled={province === ''} | |
1228 | + fieldProps={{ | |
1229 | + labelInValue: true, | |
1230 | + }} | |
1231 | + placeholder="请选择" | |
1232 | + onChange={(value) => { | |
1233 | + setCity(value?.value); | |
1234 | + }} | |
1235 | + rules={[ | |
1236 | + { | |
1237 | + required: true, | |
1238 | + message: '请选择!', | |
1239 | + }, | |
1240 | + ]} | |
1241 | + request={async () => { | |
1242 | + if (province !== '') { | |
1243 | + let cityOptions = []; | |
1244 | + let res = await postDistrictSelectBelongByName({ | |
1245 | + data: province, | |
1246 | + }); | |
1247 | + if (res && res.data) { | |
1248 | + cityOptions = res.data.map((item) => ({ | |
1249 | + value: item.district, | |
1250 | + label: item.district, | |
1251 | + })); | |
1252 | + } | |
1253 | + return cityOptions; | |
1254 | + } | |
1255 | + return []; | |
1256 | + }} | |
1257 | + /> | |
1258 | + <ProFormSelect | |
1259 | + key={city ? city.toString() : 'district'} | |
1260 | + name="district" | |
1261 | + width={100} | |
1262 | + label="区" | |
1263 | + onChange={(value) => { | |
1264 | + setDistrict(value?.value); | |
1265 | + }} | |
1266 | + disabled={city === ''} | |
1267 | + fieldProps={{ | |
1268 | + labelInValue: true, | |
1269 | + }} | |
1270 | + placeholder="请选择" | |
1271 | + rules={[ | |
1272 | + { | |
1273 | + required: true, | |
1274 | + message: '请选择!', | |
1275 | + }, | |
1276 | + ]} | |
1277 | + request={async () => { | |
1278 | + if (city !== '') { | |
1279 | + let districtOptions = []; | |
1280 | + let res = await postDistrictSelectBelongByName({ data: city }); | |
1281 | + if (res && res.data) { | |
1282 | + districtOptions = res.data.map((item) => ({ | |
1283 | + value: item.district, | |
1284 | + label: item.district, | |
1285 | + })); | |
1286 | + } | |
1287 | + return districtOptions; | |
1288 | + } | |
1289 | + return []; | |
1290 | + }} | |
1291 | + /> | |
1292 | + </div> | |
1179 | 1293 | <ProFormTextArea |
1180 | 1294 | width="lg" |
1181 | 1295 | key="customerShippingAddress" | ... | ... |
src/pages/OrderReport/index.tsx
1 | 1 | import { |
2 | + getOrderErpOrderZoNingSelectAll, | |
3 | + getOrderErpOrderZoNingSelectUserAll, | |
4 | + postOrderErpOrderZoNingSelectSaleUserByProvince, | |
2 | 5 | postServiceOrderQueryReportFormsInformation, |
3 | 6 | postServiceOrderQuerySalesCode, |
4 | 7 | } from '@/services'; |
... | ... | @@ -63,7 +66,7 @@ const OrderReportPage = () => { |
63 | 66 | setLoading(true); |
64 | 67 | let body = { |
65 | 68 | statisticsMethod: '', |
66 | - salesCode: form.getFieldValue('salesCode'), | |
69 | + salesCode: [null], | |
67 | 70 | productBelongBusiness: form.getFieldValue('productBelongBusiness'), |
68 | 71 | maxAccount: form.getFieldValue('maxAccount'), |
69 | 72 | includeExperimentalEquipment: form.getFieldValue( |
... | ... | @@ -72,6 +75,36 @@ const OrderReportPage = () => { |
72 | 75 | // beginTime:"", |
73 | 76 | // endTime:"" |
74 | 77 | }; |
78 | + // console.log(form.getFieldValue('zoning').value); | |
79 | + | |
80 | + let res = await getOrderErpOrderZoNingSelectUserAll(); | |
81 | + if (res && res.data) { | |
82 | + let safeUserList = []; | |
83 | + res.data.forEach((element) => { | |
84 | + safeUserList.push(element.userName); | |
85 | + }); | |
86 | + body = { ...body, salesCode: safeUserList }; | |
87 | + } | |
88 | + if (form.getFieldValue('salesCode')) { | |
89 | + body = { ...body, salesCode: [form.getFieldValue('salesCode')] }; | |
90 | + } | |
91 | + if (form.getFieldValue('zoning')) { | |
92 | + if ( | |
93 | + form.getFieldValue('zoning').value !== '' || | |
94 | + form.getFieldValue('zoning').value !== null || | |
95 | + form.getFieldValue('zoning').value !== undefined | |
96 | + ) { | |
97 | + let res = await postOrderErpOrderZoNingSelectSaleUserByProvince({ | |
98 | + data: form.getFieldValue('zoning').value, | |
99 | + }); | |
100 | + if (res && res.data) { | |
101 | + body = { ...body, salesCode: res.data }; | |
102 | + } | |
103 | + } | |
104 | + } | |
105 | + | |
106 | + if (form.getFieldValue('zoning')) { | |
107 | + } | |
75 | 108 | |
76 | 109 | // if(form.getFieldValue("dateRange")!==undefined){ |
77 | 110 | // body.beginTime=formatDate(form.getFieldValue("dateRange")[0]), |
... | ... | @@ -162,6 +195,30 @@ const OrderReportPage = () => { |
162 | 195 | initialValue={false} |
163 | 196 | label="包含实验设备事业部汇总统计" |
164 | 197 | /> |
198 | + | |
199 | + <ProFormSelect | |
200 | + key="zoning" | |
201 | + name="zoning" | |
202 | + width="md" | |
203 | + label="所属地区" | |
204 | + fieldProps={{ | |
205 | + labelInValue: true, | |
206 | + }} | |
207 | + placeholder="请选择" | |
208 | + request={async () => { | |
209 | + let zoningOptions = []; | |
210 | + let res = await getOrderErpOrderZoNingSelectAll(); | |
211 | + if (res && res.data) { | |
212 | + console.log(res.data); | |
213 | + | |
214 | + zoningOptions = res.data.map((item) => ({ | |
215 | + value: item.zoning, | |
216 | + label: item.zoning, | |
217 | + })); | |
218 | + } | |
219 | + return zoningOptions; | |
220 | + }} | |
221 | + /> | |
165 | 222 | </QueryFilter> |
166 | 223 | </ProCard> |
167 | 224 | ... | ... |
src/pages/ResearchGroup/components/ImportModal.tsx
... | ... | @@ -6,7 +6,7 @@ import { Button, Modal, Upload, message } from 'antd'; |
6 | 6 | import { RcFile, UploadFile, UploadProps } from 'antd/es/upload'; |
7 | 7 | import { useState } from 'react'; |
8 | 8 | export default ({ onClose }) => { |
9 | - // const [form] = Form.useForm<{ name: string; company: string }>(); | |
9 | + // const [form] = Form.useForm<{ name: string; company: string }>(); | |
10 | 10 | const [messageApi, contextHolder] = message.useMessage(); |
11 | 11 | const [fileList, setFileList] = useState<UploadFile[]>([]); |
12 | 12 | const [uploading, setUploading] = useState(false); |
... | ... | @@ -41,8 +41,8 @@ export default ({ onClose }) => { |
41 | 41 | //originFileObj二进制文件 |
42 | 42 | formData.append('file', file.originFileObj as RcFile); |
43 | 43 | }); |
44 | - // console.log(fileList[0] as RcFile) | |
45 | - // formData.append('file', fileList[0] as RcFile); | |
44 | + console.log(fileList[0] as RcFile); | |
45 | + formData.append('file', fileList[0] as RcFile); | |
46 | 46 | setUploading(true); |
47 | 47 | // You can use any AJAX library you like |
48 | 48 | const res = await postResearchGroupsImport({ | ... | ... |
src/pages/ResearchGroup/index.css
0 → 100644
src/pages/ZoNing/components/constant.tsx
1 | 1 | import { List } from 'lodash'; |
2 | 2 | |
3 | 3 | export type zoningItem = { |
4 | - id: number; //id | |
4 | + id?: number; //id | |
5 | 5 | zoning: string; //区域名称 |
6 | 6 | orderProvinceVoList: List<provinceItem>; //所包含的省份列表 |
7 | 7 | orderUserVoList: List<userItem>; //所包含的销售列表 |
8 | 8 | }; |
9 | 9 | |
10 | 10 | export type zoningShowItem = { |
11 | - id: number; //id | |
11 | + id?: number; //id | |
12 | 12 | zoning: string; //区域名称 |
13 | 13 | orderProvinceShowList: string; //所包含的省份列表 |
14 | 14 | orderUserShowList: string; //所包含的销售列表 |
15 | + orderUserNumberShowList: number[]; //销售对应的uId | |
15 | 16 | }; |
16 | 17 | |
17 | 18 | export type provinceItem = { |
18 | - pId: number; | |
19 | + pId?: number; | |
19 | 20 | province: string; |
20 | 21 | }; |
21 | 22 | |
22 | 23 | export type userItem = { |
23 | 24 | uId: number; |
24 | - userName: string; | |
25 | + userName?: string; | |
26 | +}; | |
27 | + | |
28 | +export const provinceEnum = { | |
29 | + 全选: '全选', | |
30 | + 北京市: '北京市', | |
31 | + 天津市: '天津市', | |
32 | + 河北省: '河北省', | |
33 | + 山西省: '山西省', | |
34 | + 内蒙古自治区: '内蒙古自治区', | |
35 | + 辽宁省: '辽宁省', | |
36 | + 吉林省: '吉林省', | |
37 | + 黑龙江省: '黑龙江省', | |
38 | + 上海市: '上海市', | |
39 | + 江苏省: '江苏省', | |
40 | + 浙江省: '浙江省', | |
41 | + 安徽省: '安徽省', | |
42 | + 福建省: '福建省', | |
43 | + 江西省: '江西省', | |
44 | + 山东省: '山东省', | |
45 | + 河南省: '河南省', | |
46 | + 湖北省: '湖北省', | |
47 | + 湖南省: '湖南省', | |
48 | + 广东省: '广东省', | |
49 | + 广西壮族自治区: '广西壮族自治区', | |
50 | + 海南省: '海南省', | |
51 | + 重庆市: '重庆市', | |
52 | + 四川省: '四川省', | |
53 | + 贵州省: '贵州省', | |
54 | + 云南省: '云南省', | |
55 | + 西藏自治区: '西藏自治区', | |
56 | + 陕西省: '陕西省', | |
57 | + 甘肃省: '甘肃省', | |
58 | + 青海省: '青海省', | |
59 | + 宁夏回族自治区: '宁夏回族自治区', | |
60 | + 新疆维吾尔自治区: '新疆维吾尔自治区', | |
61 | + 台湾省: '台湾省', | |
62 | + 香港特别行政区: '香港特别行政区', | |
63 | + 澳门特别行政区: '澳门特别行政区', | |
25 | 64 | }; | ... | ... |
src/pages/ZoNing/components/modal.tsx
1 | -import { getOrderErpOrderZoNingSelectProvinceAll } from '@/services'; | |
1 | +import { | |
2 | + getOrderErpOrderZoNingSelectUserAll, | |
3 | + postOrderErpOrderZoNingSaveOrUpdate, | |
4 | +} from '@/services'; | |
2 | 5 | import { PlusOutlined } from '@ant-design/icons'; |
3 | 6 | import { |
4 | 7 | ModalForm, |
... | ... | @@ -7,8 +10,7 @@ import { |
7 | 10 | ProFormText, |
8 | 11 | } from '@ant-design/pro-components'; |
9 | 12 | import { Button, Form, message } from 'antd'; |
10 | -import { zoningItem } from './constant'; | |
11 | - | |
13 | +import { provinceEnum, zoningItem } from './constant'; | |
12 | 14 | const waitTime = (time: number = 100) => { |
13 | 15 | return new Promise((resolve) => { |
14 | 16 | setTimeout(() => { |
... | ... | @@ -17,71 +19,126 @@ const waitTime = (time: number = 100) => { |
17 | 19 | }); |
18 | 20 | }; |
19 | 21 | |
20 | -export default () => { | |
22 | +export default ({ toReload, option, needEditBody }) => { | |
21 | 23 | const [form] = Form.useForm<zoningItem>(); |
24 | + | |
22 | 25 | return ( |
23 | 26 | <ModalForm<{ |
24 | - name: string; | |
25 | - company: string; | |
27 | + zoning: string; | |
28 | + province: string[]; | |
29 | + user: number[]; | |
26 | 30 | }> |
27 | - title="新增区域" | |
31 | + title={option} | |
28 | 32 | trigger={ |
29 | - <Button type="primary"> | |
30 | - <PlusOutlined /> | |
31 | - 新增区域 | |
33 | + <Button type="primary" key={option.id}> | |
34 | + {option !== '编辑' && <PlusOutlined />} | |
35 | + {option} | |
32 | 36 | </Button> |
33 | 37 | } |
34 | 38 | form={form} |
35 | 39 | autoFocusFirstInput |
40 | + initialValues={{ | |
41 | + zoning: needEditBody.zoning ? needEditBody.zoning : '', | |
42 | + province: needEditBody.orderProvinceShowList | |
43 | + ? needEditBody.orderProvinceShowList.split('、') | |
44 | + : [], | |
45 | + user: needEditBody.orderUserNumberShowList | |
46 | + ? needEditBody.orderUserNumberShowList | |
47 | + : [], | |
48 | + }} | |
36 | 49 | modalProps={{ |
37 | 50 | destroyOnClose: true, |
38 | - onCancel: () => console.log('run'), | |
39 | 51 | }} |
40 | - submitTimeout={2000} | |
52 | + submitTimeout={500} | |
41 | 53 | onFinish={async (values) => { |
42 | - await waitTime(2000); | |
43 | - console.log(values.name); | |
44 | - message.success('提交成功'); | |
45 | - return true; | |
54 | + console.log(values); | |
55 | + const orderProvinceList = values.province.map((item) => { | |
56 | + return { province: item }; | |
57 | + }); | |
58 | + const orderUserList = values.user.map((item) => { | |
59 | + return { uId: item }; | |
60 | + }); | |
61 | + const fetchData: zoningItem = { | |
62 | + zoning: values.zoning, | |
63 | + orderProvinceVoList: orderProvinceList, | |
64 | + orderUserVoList: orderUserList, | |
65 | + }; | |
66 | + let res = await postOrderErpOrderZoNingSaveOrUpdate({ | |
67 | + data: fetchData, | |
68 | + }); | |
69 | + if (res) { | |
70 | + console.log(res); | |
71 | + await waitTime(500); | |
72 | + console.log(values); | |
73 | + message.success('提交成功'); | |
74 | + toReload(); | |
75 | + return true; | |
76 | + } | |
77 | + return false; | |
46 | 78 | }} |
47 | 79 | > |
48 | 80 | <ProForm.Group> |
49 | 81 | <ProFormText |
50 | - width="md" | |
82 | + width="lg" | |
51 | 83 | name="zoning" |
52 | 84 | label="区域名称" |
53 | 85 | placeholder="请输入" |
86 | + rules={[{ required: true, message: '此项为必填项' }]} | |
54 | 87 | /> |
55 | 88 | </ProForm.Group> |
56 | 89 | <ProForm.Group> |
57 | 90 | <ProFormSelect |
91 | + name="user" | |
92 | + width="lg" | |
93 | + label="负责销售" | |
58 | 94 | request={async () => { |
59 | - const provinceList = | |
60 | - await getOrderErpOrderZoNingSelectProvinceAll(); | |
61 | - if (provinceList) { | |
62 | - return provinceList.data.map((item) => ({ | |
63 | - value: { pId: item.pId, province: item.province }, | |
64 | - label: item.province, | |
65 | - })); | |
95 | + const userList = await getOrderErpOrderZoNingSelectUserAll(); | |
96 | + if (userList) { | |
97 | + let userSelList = []; | |
98 | + userList.data.forEach((item: { uId: any; userName: any }) => | |
99 | + userSelList.push({ | |
100 | + value: item.uId, | |
101 | + label: item.userName, | |
102 | + }), | |
103 | + ); | |
104 | + userSelList.unshift({ | |
105 | + value: 0, | |
106 | + label: '全选', | |
107 | + }); | |
108 | + return userSelList; | |
66 | 109 | } |
67 | 110 | return []; |
68 | 111 | }} |
69 | - width="xs" | |
70 | - name="orderProvinceVoList" | |
71 | - label="合同约定生效方式" | |
112 | + fieldProps={{ | |
113 | + mode: 'multiple', | |
114 | + }} | |
115 | + placeholder="请选择" | |
116 | + rules={[ | |
117 | + { | |
118 | + required: true, | |
119 | + message: '请选择!', | |
120 | + type: 'array', | |
121 | + }, | |
122 | + ]} | |
72 | 123 | /> |
73 | 124 | </ProForm.Group> |
74 | 125 | <ProForm.Group> |
75 | 126 | <ProFormSelect |
76 | - width="xs" | |
77 | - options={[ | |
127 | + name="province" | |
128 | + width="lg" | |
129 | + label="管辖地区" | |
130 | + valueEnum={provinceEnum} | |
131 | + fieldProps={{ | |
132 | + mode: 'multiple', | |
133 | + }} | |
134 | + placeholder="请选择" | |
135 | + rules={[ | |
78 | 136 | { |
79 | - value: 'time', | |
80 | - label: '履行完终止', | |
137 | + required: true, | |
138 | + message: '请选择!', | |
139 | + type: 'array', | |
81 | 140 | }, |
82 | 141 | ]} |
83 | - name="orderUserVoList" | |
84 | - label="合同约定失效效方式" | |
85 | 142 | /> |
86 | 143 | </ProForm.Group> |
87 | 144 | </ModalForm> | ... | ... |
src/pages/ZoNing/components/table.tsx
1 | -import type { ProColumns } from '@ant-design/pro-components'; | |
2 | 1 | import { |
3 | - EditableProTable, | |
4 | - ProCard, | |
5 | - ProFormField, | |
6 | -} from '@ant-design/pro-components'; | |
7 | -import React, { useState } from 'react'; | |
2 | + deleteOrderErpOrderZoNingDelete, | |
3 | + getOrderErpOrderZoNingSelectAll, | |
4 | +} from '@/services'; | |
5 | +import type { ProColumns } from '@ant-design/pro-components'; | |
6 | +import { EditableProTable } from '@ant-design/pro-components'; | |
7 | +import { Button, Popconfirm, PopconfirmProps, message } from 'antd'; | |
8 | +import React, { useRef, useState } from 'react'; | |
9 | +import '../index.less'; | |
8 | 10 | import { zoningItem, zoningShowItem } from './constant'; |
9 | 11 | import Modal from './modal'; |
10 | 12 | |
... | ... | @@ -16,68 +18,81 @@ const waitTime = (time: number = 100) => { |
16 | 18 | }); |
17 | 19 | }; |
18 | 20 | |
19 | -const defaultData: zoningItem[] = [ | |
20 | - { | |
21 | - id: 1, | |
22 | - zoning: '华南地区', | |
23 | - orderProvinceVoList: [ | |
24 | - { | |
25 | - pId: 1, | |
26 | - province: '广东省', | |
27 | - }, | |
28 | - { | |
29 | - pId: 2, | |
30 | - province: '四川省', | |
31 | - }, | |
32 | - { | |
33 | - pId: 3, | |
34 | - province: '北京市', | |
35 | - }, | |
36 | - { | |
37 | - pId: 4, | |
38 | - province: '上海市', | |
39 | - }, | |
40 | - ], | |
41 | - orderUserVoList: [ | |
42 | - { | |
43 | - uId: 1, | |
44 | - userName: '李华', | |
45 | - }, | |
46 | - ], | |
47 | - }, | |
48 | -]; | |
21 | +function changeToShow(array: zoningItem[]) { | |
22 | + console.log(JSON.parse(localStorage.getItem('userInfo')).username); | |
23 | + const showArray: zoningShowItem[] = array.map((item) => { | |
24 | + let orderProvinceShowList = ''; | |
25 | + let orderUserShowList = ''; | |
26 | + let orderUserNumberShowList: number[] = []; | |
27 | + item.orderProvinceVoList.forEach((element, index) => { | |
28 | + orderProvinceShowList += element.province; | |
29 | + if (index < item.orderProvinceVoList.length - 1) { | |
30 | + orderProvinceShowList += '、'; | |
31 | + } | |
32 | + }); | |
49 | 33 | |
50 | -const defaultShowData: zoningShowItem[] = defaultData.map((item) => { | |
51 | - let orderProvinceShowList = ''; | |
52 | - let orderUserShowList = ''; | |
34 | + item.orderUserVoList.forEach((event, index) => { | |
35 | + orderUserShowList += event.userName; | |
36 | + orderUserNumberShowList.push(event.uId); | |
37 | + if (index < item.orderUserVoList.length - 1) { | |
38 | + orderUserShowList += '、'; | |
39 | + } | |
40 | + }); | |
53 | 41 | |
54 | - item.orderProvinceVoList.forEach((element, index) => { | |
55 | - orderProvinceShowList += element.province; | |
56 | - if (index < item.orderProvinceVoList.length - 1) { | |
57 | - orderProvinceShowList += '、'; | |
42 | + if (orderUserShowList === '') { | |
43 | + orderUserShowList = '全选'; | |
44 | + orderUserNumberShowList.push(0); | |
58 | 45 | } |
59 | - }); | |
60 | 46 | |
61 | - item.orderUserVoList.forEach((event, index) => { | |
62 | - orderUserShowList += event.userName; | |
63 | - if (index < item.orderUserVoList.length - 1) { | |
64 | - orderUserShowList += '、'; | |
65 | - } | |
47 | + return { | |
48 | + id: item.id, | |
49 | + zoning: item.zoning, | |
50 | + orderProvinceShowList, | |
51 | + orderUserShowList, | |
52 | + orderUserNumberShowList, | |
53 | + }; | |
66 | 54 | }); |
67 | - | |
68 | - return { | |
69 | - id: item.id, | |
70 | - zoning: item.zoning, | |
71 | - orderProvinceShowList, | |
72 | - orderUserShowList, | |
73 | - }; | |
74 | -}); | |
55 | + return showArray; | |
56 | +} | |
75 | 57 | |
76 | 58 | export default () => { |
77 | 59 | const [editableKeys, setEditableRowKeys] = useState<React.Key[]>([]); |
78 | 60 | const [dataSource, setDataSource] = useState<readonly zoningItem[]>([]); |
79 | 61 | const [position] = useState<'top' | 'bottom' | 'hidden'>('hidden'); |
80 | 62 | |
63 | + interface ActionType { | |
64 | + reload: (resetPageIndex?: boolean) => void; | |
65 | + reloadAndRest: () => void; | |
66 | + reset: () => void; | |
67 | + clearSelected?: () => void; | |
68 | + startEditable: (rowKey: Key) => boolean; | |
69 | + cancelEditable: (rowKey: Key) => boolean; | |
70 | + } | |
71 | + | |
72 | + const ref = useRef<ActionType>({ | |
73 | + reload: () => {}, | |
74 | + reloadAndRest: () => {}, | |
75 | + reset: () => {}, | |
76 | + startEditable: () => {}, | |
77 | + cancelEditable: () => {}, | |
78 | + }); | |
79 | + | |
80 | + function reload() { | |
81 | + ref.current.reload(); | |
82 | + } | |
83 | + | |
84 | + const confirm: PopconfirmProps['onConfirm'] = async (id) => { | |
85 | + await deleteOrderErpOrderZoNingDelete({ | |
86 | + data: id, | |
87 | + }); | |
88 | + reload(); | |
89 | + message.success('删除成功'); | |
90 | + }; | |
91 | + | |
92 | + const cancel: PopconfirmProps['onCancel'] = () => { | |
93 | + message.error('取消删除'); | |
94 | + }; | |
95 | + | |
81 | 96 | const columns: ProColumns<zoningItem>[] = [ |
82 | 97 | { |
83 | 98 | title: '区域名称', |
... | ... | @@ -101,74 +116,72 @@ export default () => { |
101 | 116 | title: '操作', |
102 | 117 | valueType: 'option', |
103 | 118 | width: 200, |
104 | - render: (text, record, _, action) => [ | |
105 | - <a | |
106 | - key="editable" | |
107 | - onClick={() => { | |
108 | - action?.startEditable?.(record.id); | |
109 | - }} | |
110 | - > | |
111 | - 编辑 | |
112 | - </a>, | |
113 | - <a | |
114 | - key="delete" | |
115 | - onClick={() => { | |
116 | - setDataSource(dataSource.filter((item) => item.id !== record.id)); | |
117 | - }} | |
118 | - > | |
119 | - 删除 | |
120 | - </a>, | |
119 | + render: (text, record) => [ | |
120 | + <> | |
121 | + <Modal | |
122 | + toReload={reload} | |
123 | + option={'编辑'} | |
124 | + needEditBody={record} | |
125 | + key={record.id} | |
126 | + /> | |
127 | + <Popconfirm | |
128 | + title="删除此项" | |
129 | + description="你确定你要删除此项吗?" | |
130 | + onConfirm={() => { | |
131 | + confirm(record.id); | |
132 | + }} | |
133 | + onCancel={cancel} | |
134 | + okText="确定" | |
135 | + cancelText="取消" | |
136 | + > | |
137 | + <Button>删除</Button> | |
138 | + </Popconfirm> | |
139 | + </>, | |
121 | 140 | ], |
122 | 141 | }, |
123 | 142 | ]; |
124 | 143 | |
125 | 144 | return ( |
126 | - <> | |
127 | - <EditableProTable<zoningItem> | |
128 | - rowKey="id" | |
129 | - headerTitle={<Modal></Modal>} | |
130 | - maxLength={5} | |
131 | - scroll={{ | |
132 | - x: 960, | |
133 | - }} | |
134 | - recordCreatorProps={ | |
135 | - position !== 'hidden' | |
136 | - ? { | |
137 | - position: position as 'top', | |
138 | - record: () => ({ id: (Math.random() * 1000000).toFixed(0) }), | |
139 | - } | |
140 | - : false | |
145 | + <EditableProTable<zoningItem> | |
146 | + rowKey="id" | |
147 | + className="table-index" | |
148 | + deletePopconfirmMessage | |
149 | + actionRef={ref} | |
150 | + headerTitle={ | |
151 | + <Modal toReload={reload} option={'新增区域'} needEditBody={{}}></Modal> | |
152 | + } | |
153 | + maxLength={5} | |
154 | + scroll={{ | |
155 | + x: 960, | |
156 | + }} | |
157 | + recordCreatorProps={ | |
158 | + position !== 'hidden' | |
159 | + ? { | |
160 | + position: position as 'top', | |
161 | + record: () => ({ id: (Math.random() * 1000000).toFixed(0) }), | |
162 | + } | |
163 | + : false | |
164 | + } | |
165 | + loading={false} | |
166 | + columns={columns} | |
167 | + request={async () => { | |
168 | + const res = await getOrderErpOrderZoNingSelectAll(); | |
169 | + if (res) { | |
170 | + const initDataSource = changeToShow(res.data); | |
171 | + return { data: initDataSource || [] }; | |
141 | 172 | } |
142 | - loading={false} | |
143 | - columns={columns} | |
144 | - request={async () => ({ | |
145 | - data: defaultShowData, | |
146 | - })} | |
147 | - value={dataSource} | |
148 | - onChange={setDataSource} | |
149 | - editable={{ | |
150 | - type: 'multiple', | |
151 | - editableKeys, | |
152 | - onSave: async (rowKey, data, row) => { | |
153 | - console.log(rowKey, data, row); | |
154 | - await waitTime(2000); | |
155 | - }, | |
156 | - onChange: setEditableRowKeys, | |
157 | - }} | |
158 | - /> | |
159 | - <ProCard title="表格数据" headerBordered collapsible defaultCollapsed> | |
160 | - <ProFormField | |
161 | - ignoreFormItem | |
162 | - fieldProps={{ | |
163 | - style: { | |
164 | - width: '100%', | |
165 | - }, | |
166 | - }} | |
167 | - mode="read" | |
168 | - valueType="jsonCode" | |
169 | - text={JSON.stringify(dataSource)} | |
170 | - /> | |
171 | - </ProCard> | |
172 | - </> | |
173 | + }} | |
174 | + value={dataSource} | |
175 | + onChange={setDataSource} | |
176 | + editable={{ | |
177 | + type: 'multiple', | |
178 | + editableKeys, | |
179 | + onSave: async (rowKey, data, row) => { | |
180 | + console.log(rowKey, data, row); | |
181 | + await waitTime(2000); | |
182 | + }, | |
183 | + onChange: setEditableRowKeys, | |
184 | + }} | |
185 | + /> | |
173 | 186 | ); |
174 | 187 | }; | ... | ... |
src/pages/ZoNing/index.css
0 → 100644
1 | +.item { | |
2 | + background: '#0092ff'; | |
3 | + padding: '8px 0'; | |
4 | + display: flex; | |
5 | + flex-flow: row nowrap; | |
6 | + align-content: normal; | |
7 | + align-items: center; | |
8 | + padding-bottom: 20px; | |
9 | +} | |
10 | + | |
11 | +.table-index td { | |
12 | + font-family: 'San Francisco', 'Helvetica Neue', Helvetica, Arial, | |
13 | + 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Heiti SC', | |
14 | + 'WenQuanYi Micro Hei', sans-serif; | |
15 | + font-size: 14px; | |
16 | +} | ... | ... |
src/pages/ZoNing/index.less
0 → 100644
1 | +.item { | |
2 | + background: '#0092ff'; | |
3 | + padding: '8px 0'; | |
4 | + display: flex; | |
5 | + flex-flow: row nowrap; | |
6 | + // flex-direction: row; | |
7 | + // flex-wrap: nowrap; | |
8 | + align-content: normal; | |
9 | + align-items: center; | |
10 | + padding-bottom: 20px; | |
11 | +} | |
12 | + | |
13 | +.table-index td { | |
14 | + font-family: 'San Francisco', 'Helvetica Neue', Helvetica, Arial, | |
15 | + 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Heiti SC', | |
16 | + 'WenQuanYi Micro Hei', sans-serif; | |
17 | + font-size: 14px; | |
18 | +} | ... | ... |
src/services/definition.ts
... | ... | @@ -528,221 +528,6 @@ export interface ApiQueryOrderStatusCountsRequest { |
528 | 528 | uid?: number; |
529 | 529 | } |
530 | 530 | |
531 | -export interface ApplyInvoiceDto { | |
532 | - /** | |
533 | - * @description | |
534 | - * 备注 | |
535 | - */ | |
536 | - applyInvoicingNotes?: string; | |
537 | - /** | |
538 | - * @description | |
539 | - * 开票备注 | |
540 | - */ | |
541 | - comment?: string; | |
542 | - /** | |
543 | - * @description | |
544 | - * 联系人 | |
545 | - */ | |
546 | - contacts?: string; | |
547 | - /** | |
548 | - * @description | |
549 | - * 开票内容 | |
550 | - */ | |
551 | - content?: string; | |
552 | - createByName?: string; | |
553 | - /** @format date-time */ | |
554 | - createTime?: string; | |
555 | - failureReason?: string; | |
556 | - /** | |
557 | - * @description | |
558 | - * id | |
559 | - * @format int64 | |
560 | - */ | |
561 | - id?: number; | |
562 | - /** | |
563 | - * @description | |
564 | - * 发票地址 | |
565 | - */ | |
566 | - invoiceAddress?: string; | |
567 | - /** | |
568 | - * @description | |
569 | - * 发票明细 | |
570 | - */ | |
571 | - invoiceDetails?: Array<InvoiceDetail>; | |
572 | - /** | |
573 | - * @description | |
574 | - * 关联发票id | |
575 | - */ | |
576 | - invoiceId?: string; | |
577 | - /** | |
578 | - * @description | |
579 | - * 发票号码 | |
580 | - */ | |
581 | - invoiceNumber?: string; | |
582 | - /** | |
583 | - * @description | |
584 | - * 开票人 | |
585 | - */ | |
586 | - invoicingPerson?: string; | |
587 | - /** | |
588 | - * @description | |
589 | - * 开票时间 | |
590 | - * @format date-time | |
591 | - */ | |
592 | - invoicingTime?: string; | |
593 | - /** | |
594 | - * @description | |
595 | - * 开具类型 | |
596 | - */ | |
597 | - invoicingType?: string; | |
598 | - /** | |
599 | - * @description | |
600 | - * 开具类型 | |
601 | - */ | |
602 | - invoicingTypeText?: string; | |
603 | - /** @format date */ | |
604 | - invoicingdate?: string; | |
605 | - /** | |
606 | - * @description | |
607 | - * 是否加急 | |
608 | - */ | |
609 | - isUrgent?: boolean; | |
610 | - /** | |
611 | - * @description | |
612 | - * 是否加急文本 | |
613 | - */ | |
614 | - isUrgentText?: string; | |
615 | - logicDelete?: boolean; | |
616 | - /** | |
617 | - * @description | |
618 | - * 买方注册地址 | |
619 | - */ | |
620 | - partyAAddress?: string; | |
621 | - /** | |
622 | - * @description | |
623 | - * 买方开户行账号 | |
624 | - */ | |
625 | - partyABankAccount?: string; | |
626 | - /** | |
627 | - * @description | |
628 | - * 买方名称 | |
629 | - */ | |
630 | - partyAName?: string; | |
631 | - /** | |
632 | - * @description | |
633 | - * 买方开户行 | |
634 | - */ | |
635 | - partyAOpenBank?: string; | |
636 | - /** | |
637 | - * @description | |
638 | - * 买方电话号码 | |
639 | - */ | |
640 | - partyAPhoneNumber?: string; | |
641 | - /** | |
642 | - * @description | |
643 | - * 买方税号 | |
644 | - */ | |
645 | - partyATaxid?: string; | |
646 | - /** | |
647 | - * @description | |
648 | - * 抬头类型 | |
649 | - */ | |
650 | - partyAType?: string; | |
651 | - partyB?: string; | |
652 | - /** | |
653 | - * @description | |
654 | - * 卖方注册地址 | |
655 | - */ | |
656 | - partyBAddress?: string; | |
657 | - /** | |
658 | - * @description | |
659 | - * 卖方开户行账号 | |
660 | - */ | |
661 | - partyBBankAccount?: string; | |
662 | - /** | |
663 | - * @description | |
664 | - * 卖方名称 | |
665 | - */ | |
666 | - partyBName?: string; | |
667 | - /** | |
668 | - * @description | |
669 | - * 卖方开户行 | |
670 | - */ | |
671 | - partyBOpenBank?: string; | |
672 | - /** | |
673 | - * @description | |
674 | - * 卖方电话号码 | |
675 | - */ | |
676 | - partyBPhoneNumber?: string; | |
677 | - /** | |
678 | - * @description | |
679 | - * 卖方税号 | |
680 | - */ | |
681 | - partyBTaxid?: string; | |
682 | - /** | |
683 | - * @description | |
684 | - * 发票金额 | |
685 | - * @format double | |
686 | - */ | |
687 | - price?: number; | |
688 | - /** | |
689 | - * @description | |
690 | - * 接收邮箱地址 | |
691 | - */ | |
692 | - receiveEmail?: string; | |
693 | - /** | |
694 | - * @description | |
695 | - * 订单来源 | |
696 | - */ | |
697 | - salesCodes?: Array<string>; | |
698 | - /** | |
699 | - * @description | |
700 | - * 订单来源 | |
701 | - */ | |
702 | - salesCodesText?: string; | |
703 | - /** | |
704 | - * @description | |
705 | - * 开票状态 | |
706 | - */ | |
707 | - status?: string; | |
708 | - /** | |
709 | - * @description | |
710 | - * 开票状态 | |
711 | - */ | |
712 | - statusText?: string; | |
713 | - /** | |
714 | - * @description | |
715 | - * 子订单id | |
716 | - */ | |
717 | - subOrderIds?: Array<number>; | |
718 | - /** | |
719 | - * @description | |
720 | - * 关联订单 | |
721 | - */ | |
722 | - subOrders?: Array<SubOrder>; | |
723 | - /** @format double */ | |
724 | - totalPrice?: number; | |
725 | - totalPriceText?: string; | |
726 | - /** | |
727 | - * @description | |
728 | - * 开票类型 | |
729 | - */ | |
730 | - type?: string; | |
731 | - /** | |
732 | - * @description | |
733 | - * 开票类型文本 | |
734 | - */ | |
735 | - typeText?: string; | |
736 | - /** | |
737 | - * @description | |
738 | - * 用户id | |
739 | - */ | |
740 | - uid?: string; | |
741 | - updateByName?: string; | |
742 | - /** @format date-time */ | |
743 | - updateTime?: string; | |
744 | -} | |
745 | - | |
746 | 531 | export interface AuditDto { |
747 | 532 | /** |
748 | 533 | * @description |
... | ... | @@ -1061,6 +846,13 @@ export interface DictionaryVO { |
1061 | 846 | sort?: number; |
1062 | 847 | } |
1063 | 848 | |
849 | +export interface DistrictDo { | |
850 | + /** @format int32 */ | |
851 | + level?: number; | |
852 | + /** @format int32 */ | |
853 | + pid?: number; | |
854 | +} | |
855 | + | |
1064 | 856 | export interface Entry { |
1065 | 857 | bankAccount?: string; |
1066 | 858 | bankName?: string; |
... | ... | @@ -1169,396 +961,23 @@ export interface InvoiceDto { |
1169 | 961 | * @description |
1170 | 962 | * 销售 |
1171 | 963 | */ |
1172 | - sale?: string; | |
1173 | - /** | |
1174 | - * @description | |
1175 | - * 状态 | |
1176 | - */ | |
1177 | - status?: string; | |
1178 | -} | |
1179 | - | |
1180 | -export interface InvoiceRecordDto { | |
1181 | - applyInvoicingNotes?: string; | |
1182 | - /** | |
1183 | - * @description | |
1184 | - * 开票备注 | |
1185 | - */ | |
1186 | - comment?: string; | |
1187 | - /** | |
1188 | - * @description | |
1189 | - * 联系人 | |
1190 | - */ | |
1191 | - contacts?: string; | |
1192 | - /** | |
1193 | - * @description | |
1194 | - * 开票内容 | |
1195 | - */ | |
1196 | - content?: string; | |
1197 | - createByName?: string; | |
1198 | - /** @format date-time */ | |
1199 | - createTime?: string; | |
1200 | - failureReason?: string; | |
1201 | - /** | |
1202 | - * @description | |
1203 | - * id | |
1204 | - * @format int64 | |
1205 | - */ | |
1206 | - id?: number; | |
1207 | - /** | |
1208 | - * @description | |
1209 | - * 发票地址 | |
1210 | - */ | |
1211 | - invoiceAddress?: string; | |
1212 | - /** | |
1213 | - * @description | |
1214 | - * 发票明细 | |
1215 | - */ | |
1216 | - invoiceDetails?: Array<InvoiceDetail>; | |
1217 | - /** | |
1218 | - * @description | |
1219 | - * 关联发票id | |
1220 | - */ | |
1221 | - invoiceId?: string; | |
1222 | - /** | |
1223 | - * @description | |
1224 | - * 发票号码 | |
1225 | - */ | |
1226 | - invoiceNumber?: string; | |
1227 | - /** | |
1228 | - * @description | |
1229 | - * 开票人 | |
1230 | - */ | |
1231 | - invoicingPerson?: string; | |
1232 | - /** | |
1233 | - * @description | |
1234 | - * 开票时间 | |
1235 | - * @format date-time | |
1236 | - */ | |
1237 | - invoicingTime?: string; | |
1238 | - /** | |
1239 | - * @description | |
1240 | - * 开具类型 | |
1241 | - */ | |
1242 | - invoicingType?: string; | |
1243 | - /** | |
1244 | - * @description | |
1245 | - * 开具类型 | |
1246 | - */ | |
1247 | - invoicingTypeText?: string; | |
1248 | - /** @format date */ | |
1249 | - invoicingdate?: string; | |
1250 | - /** | |
1251 | - * @description | |
1252 | - * 是否加急 | |
1253 | - */ | |
1254 | - isUrgent?: boolean; | |
1255 | - /** | |
1256 | - * @description | |
1257 | - * 是否加急文本 | |
1258 | - */ | |
1259 | - isUrgentText?: string; | |
1260 | - logicDelete?: boolean; | |
1261 | - /** | |
1262 | - * @description | |
1263 | - * 买方注册地址 | |
1264 | - */ | |
1265 | - partyAAddress?: string; | |
1266 | - /** | |
1267 | - * @description | |
1268 | - * 买方开户行账号 | |
1269 | - */ | |
1270 | - partyABankAccount?: string; | |
1271 | - /** | |
1272 | - * @description | |
1273 | - * 买方名称 | |
1274 | - */ | |
1275 | - partyAName?: string; | |
1276 | - /** | |
1277 | - * @description | |
1278 | - * 买方开户行 | |
1279 | - */ | |
1280 | - partyAOpenBank?: string; | |
1281 | - /** | |
1282 | - * @description | |
1283 | - * 买方电话号码 | |
1284 | - */ | |
1285 | - partyAPhoneNumber?: string; | |
1286 | - /** | |
1287 | - * @description | |
1288 | - * 买方税号 | |
1289 | - */ | |
1290 | - partyATaxid?: string; | |
1291 | - /** | |
1292 | - * @description | |
1293 | - * 抬头类型 | |
1294 | - */ | |
1295 | - partyAType?: string; | |
1296 | - partyB?: string; | |
1297 | - /** | |
1298 | - * @description | |
1299 | - * 卖方注册地址 | |
1300 | - */ | |
1301 | - partyBAddress?: string; | |
1302 | - /** | |
1303 | - * @description | |
1304 | - * 卖方开户行账号 | |
1305 | - */ | |
1306 | - partyBBankAccount?: string; | |
1307 | - /** | |
1308 | - * @description | |
1309 | - * 卖方名称 | |
1310 | - */ | |
1311 | - partyBName?: string; | |
1312 | - /** | |
1313 | - * @description | |
1314 | - * 卖方开户行 | |
1315 | - */ | |
1316 | - partyBOpenBank?: string; | |
1317 | - /** | |
1318 | - * @description | |
1319 | - * 卖方电话号码 | |
1320 | - */ | |
1321 | - partyBPhoneNumber?: string; | |
1322 | - /** | |
1323 | - * @description | |
1324 | - * 卖方税号 | |
1325 | - */ | |
1326 | - partyBTaxid?: string; | |
1327 | - /** | |
1328 | - * @description | |
1329 | - * 发票金额 | |
1330 | - * @format double | |
1331 | - */ | |
1332 | - price?: number; | |
1333 | - /** | |
1334 | - * @description | |
1335 | - * 接收邮箱地址 | |
1336 | - */ | |
1337 | - receiveEmail?: string; | |
1338 | - /** | |
1339 | - * @description | |
1340 | - * 订单来源 | |
1341 | - */ | |
1342 | - salesCodes?: Array<string>; | |
1343 | - /** | |
1344 | - * @description | |
1345 | - * 订单来源 | |
1346 | - */ | |
1347 | - salesCodesText?: string; | |
1348 | - /** | |
1349 | - * @description | |
1350 | - * 开票状态 | |
1351 | - */ | |
1352 | - status?: string; | |
1353 | - /** | |
1354 | - * @description | |
1355 | - * 开票状态 | |
1356 | - */ | |
1357 | - statusText?: string; | |
1358 | - /** | |
1359 | - * @description | |
1360 | - * 子订单id | |
1361 | - */ | |
1362 | - subOrderIds?: Array<number>; | |
1363 | - /** | |
1364 | - * @description | |
1365 | - * 关联订单 | |
1366 | - */ | |
1367 | - subOrders?: Array<SubOrder>; | |
1368 | - /** @format double */ | |
1369 | - totalPrice?: number; | |
1370 | - totalPriceText?: string; | |
1371 | - /** | |
1372 | - * @description | |
1373 | - * 开票类型 | |
1374 | - */ | |
1375 | - type?: string; | |
1376 | - /** | |
1377 | - * @description | |
1378 | - * 开票类型文本 | |
1379 | - */ | |
1380 | - typeText?: string; | |
1381 | - /** | |
1382 | - * @description | |
1383 | - * 用户id | |
1384 | - */ | |
1385 | - uid?: string; | |
1386 | - updateByName?: string; | |
1387 | - /** @format date-time */ | |
1388 | - updateTime?: string; | |
1389 | -} | |
1390 | - | |
1391 | -export interface InvoiceRecordQueryRequest { | |
1392 | - /** | |
1393 | - * @description | |
1394 | - * 联系人 | |
1395 | - */ | |
1396 | - contactsLike?: string; | |
1397 | - /** @format date-time */ | |
1398 | - createTimeGe?: string; | |
1399 | - /** @format date-time */ | |
1400 | - createTimeLe?: string; | |
1401 | - /** @format int32 */ | |
1402 | - current?: number; | |
1403 | - /** @format int32 */ | |
1404 | - end?: number; | |
1405 | - /** | |
1406 | - * @description | |
1407 | - * id | |
1408 | - * @format int64 | |
1409 | - */ | |
1410 | - id?: number; | |
1411 | - /** | |
1412 | - * @description | |
1413 | - * IdIn | |
1414 | - */ | |
1415 | - idIn?: Array<number>; | |
1416 | - /** | |
1417 | - * @description | |
1418 | - * 关联发票id | |
1419 | - */ | |
1420 | - invoiceId?: string; | |
1421 | - /** | |
1422 | - * @description | |
1423 | - * 发票号码 | |
1424 | - */ | |
1425 | - invoiceNumber?: string; | |
1426 | - /** | |
1427 | - * @description | |
1428 | - * 发票号码 | |
1429 | - */ | |
1430 | - invoiceNumberLike?: string; | |
1431 | - /** | |
1432 | - * @description | |
1433 | - * 开票时间 | |
1434 | - * @format date-time | |
1435 | - */ | |
1436 | - invoicingTimeGe?: string; | |
1437 | - /** | |
1438 | - * @description | |
1439 | - * 开票时间 | |
1440 | - * @format date-time | |
1441 | - */ | |
1442 | - invoicingTimeLe?: string; | |
1443 | - /** | |
1444 | - * @description | |
1445 | - * 开票类型 | |
1446 | - */ | |
1447 | - invoicingType?: string; | |
1448 | - /** | |
1449 | - * @description | |
1450 | - * 是否加急 | |
1451 | - */ | |
1452 | - isUrgent?: boolean; | |
1453 | - /** | |
1454 | - * @description | |
1455 | - * 订单号 | |
1456 | - * @format int64 | |
1457 | - */ | |
1458 | - mainOrderId?: number; | |
1459 | - /** | |
1460 | - * @description | |
1461 | - * 主订单idIn | |
1462 | - */ | |
1463 | - mainOrderIdIn?: Array<number>; | |
1464 | - /** | |
1465 | - * @description | |
1466 | - * 订单号 | |
1467 | - */ | |
1468 | - mainOrderIdLike?: string; | |
1469 | - /** | |
1470 | - * @description | |
1471 | - * 是否需要构建发票明细 | |
1472 | - */ | |
1473 | - needBuildDetails?: boolean; | |
1474 | - /** | |
1475 | - * @description | |
1476 | - * 是否需要构建发票明细 | |
1477 | - */ | |
1478 | - needBuildSubOrders?: boolean; | |
1479 | - /** @format int32 */ | |
1480 | - pageSize?: number; | |
1481 | - /** | |
1482 | - * @description | |
1483 | - * 买方名称 | |
1484 | - */ | |
1485 | - partyANameLike?: string; | |
1486 | - /** | |
1487 | - * @description | |
1488 | - * 买方电话号码 | |
1489 | - */ | |
1490 | - partyAPhoneNumberLike?: string; | |
1491 | - /** | |
1492 | - * @description | |
1493 | - * 买方税号 | |
1494 | - */ | |
1495 | - partyATaxid?: string; | |
1496 | - /** | |
1497 | - * @description | |
1498 | - * 买方税号 | |
1499 | - */ | |
1500 | - partyATaxidLike?: string; | |
1501 | - partyB?: string; | |
1502 | - /** | |
1503 | - * @description | |
1504 | - * 卖方名称 | |
1505 | - */ | |
1506 | - partyBName?: string; | |
1507 | - /** | |
1508 | - * @description | |
1509 | - * 销售代表 | |
1510 | - */ | |
1511 | - salesCode?: string; | |
1512 | - /** | |
1513 | - * @description | |
1514 | - * 销售代表 | |
1515 | - */ | |
1516 | - salesCodeLike?: string; | |
1517 | - /** @format int32 */ | |
1518 | - start?: number; | |
1519 | - /** | |
1520 | - * @description | |
1521 | - * 发票状态 | |
1522 | - */ | |
1523 | - status?: string; | |
1524 | - /** | |
1525 | - * @description | |
1526 | - * 状态非空 | |
1527 | - */ | |
1528 | - statusIn?: Array<string>; | |
1529 | - /** | |
1530 | - * @description | |
1531 | - * 状态非空 | |
1532 | - */ | |
1533 | - statusIsNotNull?: boolean; | |
1534 | - /** | |
1535 | - * @description | |
1536 | - * 状态为空 | |
1537 | - */ | |
1538 | - statusIsNull?: boolean; | |
1539 | - /** | |
1540 | - * @description | |
1541 | - * 子订单 | |
1542 | - * @format int64 | |
1543 | - */ | |
1544 | - subOrderId?: number; | |
1545 | - /** | |
1546 | - * @description | |
1547 | - * 子订单idIn | |
1548 | - */ | |
1549 | - subOrderIdIn?: Array<number>; | |
1550 | - /** | |
1551 | - * @description | |
1552 | - * 子订单 | |
1553 | - */ | |
1554 | - subOrderIdLike?: string; | |
1555 | - /** @format int32 */ | |
1556 | - total?: number; | |
964 | + sale?: string; | |
1557 | 965 | /** |
1558 | 966 | * @description |
1559 | - * 开票类型 | |
967 | + * 状态 | |
1560 | 968 | */ |
1561 | - type?: string; | |
969 | + status?: string; | |
970 | +} | |
971 | + | |
972 | +export interface InvoiceRecordQueryRequest { | |
973 | + /** @format date */ | |
974 | + createTimeGe?: string; | |
975 | + /** @format date */ | |
976 | + createTimeLe?: string; | |
977 | + /** @format int32 */ | |
978 | + pageNumber?: number; | |
979 | + /** @format int32 */ | |
980 | + pageSize?: number; | |
1562 | 981 | /** |
1563 | 982 | * @description |
1564 | 983 | * 用户id |
... | ... | @@ -1581,14 +1000,6 @@ export interface ItemSaItem { |
1581 | 1000 | |
1582 | 1001 | export interface MainOrderqueryRequest { |
1583 | 1002 | afterInvoicingStatusIsNull?: boolean; |
1584 | - /** @format date */ | |
1585 | - createDateGe?: string; | |
1586 | - /** @format date */ | |
1587 | - createDateLe?: string; | |
1588 | - /** @format date-time */ | |
1589 | - createTimeGe?: string; | |
1590 | - /** @format date-time */ | |
1591 | - createTimeLe?: string; | |
1592 | 1003 | orderStatusNotIn?: Array<string>; |
1593 | 1004 | /** @format int32 */ |
1594 | 1005 | pageNumber?: number; |
... | ... | @@ -2329,198 +1740,6 @@ export interface QueryInvoiceDetailDto { |
2329 | 1740 | invoiceId?: number; |
2330 | 1741 | } |
2331 | 1742 | |
2332 | -export interface QueryInvoiceProjectDto { | |
2333 | - /** @format int32 */ | |
2334 | - current?: number; | |
2335 | - /** @format int32 */ | |
2336 | - end?: number; | |
2337 | - nameLike?: string; | |
2338 | - /** @format int32 */ | |
2339 | - pageSize?: number; | |
2340 | - /** @format int32 */ | |
2341 | - start?: number; | |
2342 | - /** @format int32 */ | |
2343 | - total?: number; | |
2344 | -} | |
2345 | - | |
2346 | -export interface QueryInvoiceRecordDto { | |
2347 | - /** | |
2348 | - * @description | |
2349 | - * 联系人 | |
2350 | - */ | |
2351 | - contactsLike?: string; | |
2352 | - /** @format date-time */ | |
2353 | - createTimeGe?: string; | |
2354 | - /** @format date-time */ | |
2355 | - createTimeLe?: string; | |
2356 | - /** @format int32 */ | |
2357 | - current?: number; | |
2358 | - /** @format int32 */ | |
2359 | - end?: number; | |
2360 | - /** | |
2361 | - * @description | |
2362 | - * id | |
2363 | - * @format int64 | |
2364 | - */ | |
2365 | - id?: number; | |
2366 | - /** | |
2367 | - * @description | |
2368 | - * IdIn | |
2369 | - */ | |
2370 | - idIn?: Array<number>; | |
2371 | - /** | |
2372 | - * @description | |
2373 | - * 关联发票id | |
2374 | - */ | |
2375 | - invoiceId?: string; | |
2376 | - /** | |
2377 | - * @description | |
2378 | - * 发票号码 | |
2379 | - */ | |
2380 | - invoiceNumber?: string; | |
2381 | - /** | |
2382 | - * @description | |
2383 | - * 发票号码 | |
2384 | - */ | |
2385 | - invoiceNumberLike?: string; | |
2386 | - /** | |
2387 | - * @description | |
2388 | - * 开票时间 | |
2389 | - * @format date-time | |
2390 | - */ | |
2391 | - invoicingTimeGe?: string; | |
2392 | - /** | |
2393 | - * @description | |
2394 | - * 开票时间 | |
2395 | - * @format date-time | |
2396 | - */ | |
2397 | - invoicingTimeLe?: string; | |
2398 | - /** | |
2399 | - * @description | |
2400 | - * 开票类型 | |
2401 | - */ | |
2402 | - invoicingType?: string; | |
2403 | - /** | |
2404 | - * @description | |
2405 | - * 是否加急 | |
2406 | - */ | |
2407 | - isUrgent?: boolean; | |
2408 | - /** | |
2409 | - * @description | |
2410 | - * 订单号 | |
2411 | - * @format int64 | |
2412 | - */ | |
2413 | - mainOrderId?: number; | |
2414 | - /** | |
2415 | - * @description | |
2416 | - * 主订单idIn | |
2417 | - */ | |
2418 | - mainOrderIdIn?: Array<number>; | |
2419 | - /** | |
2420 | - * @description | |
2421 | - * 订单号 | |
2422 | - */ | |
2423 | - mainOrderIdLike?: string; | |
2424 | - /** | |
2425 | - * @description | |
2426 | - * 是否需要构建发票明细 | |
2427 | - */ | |
2428 | - needBuildDetails?: boolean; | |
2429 | - /** | |
2430 | - * @description | |
2431 | - * 是否需要构建发票明细 | |
2432 | - */ | |
2433 | - needBuildSubOrders?: boolean; | |
2434 | - /** @format int32 */ | |
2435 | - pageSize?: number; | |
2436 | - /** | |
2437 | - * @description | |
2438 | - * 买方名称 | |
2439 | - */ | |
2440 | - partyANameLike?: string; | |
2441 | - /** | |
2442 | - * @description | |
2443 | - * 买方电话号码 | |
2444 | - */ | |
2445 | - partyAPhoneNumberLike?: string; | |
2446 | - /** | |
2447 | - * @description | |
2448 | - * 买方税号 | |
2449 | - */ | |
2450 | - partyATaxid?: string; | |
2451 | - /** | |
2452 | - * @description | |
2453 | - * 买方税号 | |
2454 | - */ | |
2455 | - partyATaxidLike?: string; | |
2456 | - partyB?: string; | |
2457 | - /** | |
2458 | - * @description | |
2459 | - * 卖方名称 | |
2460 | - */ | |
2461 | - partyBName?: string; | |
2462 | - /** | |
2463 | - * @description | |
2464 | - * 销售代表 | |
2465 | - */ | |
2466 | - salesCode?: string; | |
2467 | - /** | |
2468 | - * @description | |
2469 | - * 销售代表 | |
2470 | - */ | |
2471 | - salesCodeLike?: string; | |
2472 | - /** @format int32 */ | |
2473 | - start?: number; | |
2474 | - /** | |
2475 | - * @description | |
2476 | - * 发票状态 | |
2477 | - */ | |
2478 | - status?: string; | |
2479 | - /** | |
2480 | - * @description | |
2481 | - * 状态非空 | |
2482 | - */ | |
2483 | - statusIn?: Array<string>; | |
2484 | - /** | |
2485 | - * @description | |
2486 | - * 状态非空 | |
2487 | - */ | |
2488 | - statusIsNotNull?: boolean; | |
2489 | - /** | |
2490 | - * @description | |
2491 | - * 状态为空 | |
2492 | - */ | |
2493 | - statusIsNull?: boolean; | |
2494 | - /** | |
2495 | - * @description | |
2496 | - * 子订单 | |
2497 | - * @format int64 | |
2498 | - */ | |
2499 | - subOrderId?: number; | |
2500 | - /** | |
2501 | - * @description | |
2502 | - * 子订单idIn | |
2503 | - */ | |
2504 | - subOrderIdIn?: Array<number>; | |
2505 | - /** | |
2506 | - * @description | |
2507 | - * 子订单 | |
2508 | - */ | |
2509 | - subOrderIdLike?: string; | |
2510 | - /** @format int32 */ | |
2511 | - total?: number; | |
2512 | - /** | |
2513 | - * @description | |
2514 | - * 开票类型 | |
2515 | - */ | |
2516 | - type?: string; | |
2517 | - /** | |
2518 | - * @description | |
2519 | - * 用户id | |
2520 | - */ | |
2521 | - uid?: string; | |
2522 | -} | |
2523 | - | |
2524 | 1743 | export interface QueryMainOrderDto { |
2525 | 1744 | /** |
2526 | 1745 | * @description |
... | ... | @@ -2551,7 +1770,7 @@ export interface QueryReportFormsDto { |
2551 | 1770 | * @description |
2552 | 1771 | * 销售代表 |
2553 | 1772 | */ |
2554 | - salesCode?: string; | |
1773 | + salesCode?: Array<string>; | |
2555 | 1774 | /** |
2556 | 1775 | * @description |
2557 | 1776 | * 统计方式 |
... | ... | @@ -2604,128 +1823,6 @@ export interface ShippingWarehouseChangeDto { |
2604 | 1823 | shippingWarehouse?: string; |
2605 | 1824 | } |
2606 | 1825 | |
2607 | -export interface SubOrder { | |
2608 | - afterInvoicingStatus?: string; | |
2609 | - /** @format date-time */ | |
2610 | - afterInvoicingStatusUpdateTime?: string; | |
2611 | - afterSalesAnnex?: string; | |
2612 | - afterSalesNotes?: string; | |
2613 | - afterSalesPlan?: string; | |
2614 | - annex?: string; | |
2615 | - applyInvoicingAnnex?: string; | |
2616 | - applyInvoicingNotes?: string; | |
2617 | - /** @format date-time */ | |
2618 | - applyTime?: string; | |
2619 | - /** @format int32 */ | |
2620 | - attrId?: number; | |
2621 | - checkNotes?: string; | |
2622 | - /** @format date-time */ | |
2623 | - collectMoneyTime?: string; | |
2624 | - confirmDeliverNotes?: string; | |
2625 | - confirmReissueNotes?: string; | |
2626 | - createByName?: string; | |
2627 | - /** @format date-time */ | |
2628 | - createTime?: string; | |
2629 | - /** @format date-time */ | |
2630 | - deadline?: string; | |
2631 | - ext?: string; | |
2632 | - extendField?: string; | |
2633 | - /** @format date-time */ | |
2634 | - financialReceiptIssuanceTime?: string; | |
2635 | - fullPaymentStatus?: string; | |
2636 | - /** @format double */ | |
2637 | - goodsVolume?: number; | |
2638 | - /** @format double */ | |
2639 | - goodsWeight?: number; | |
2640 | - /** @format int64 */ | |
2641 | - id?: number; | |
2642 | - image?: string; | |
2643 | - invoiceApplyUsername?: string; | |
2644 | - invoiceInformation?: string; | |
2645 | - /** @format int64 */ | |
2646 | - invoiceRecordId?: number; | |
2647 | - invoicingCheckAnnex?: string; | |
2648 | - invoicingNotes?: string; | |
2649 | - invoicingStatus?: string; | |
2650 | - /** @format date-time */ | |
2651 | - invoicingTime?: string; | |
2652 | - invoicingUrgentCause?: string; | |
2653 | - isUrgent?: boolean; | |
2654 | - kingdeeErrorMessage?: string; | |
2655 | - logicDelete?: boolean; | |
2656 | - logisticsMethod?: string; | |
2657 | - logisticsNotes?: string; | |
2658 | - /** @format int64 */ | |
2659 | - mainOrderAmountProportion?: number; | |
2660 | - /** @format int64 */ | |
2661 | - mainOrderId?: number; | |
2662 | - materialId?: string; | |
2663 | - modified?: boolean; | |
2664 | - modifiedAuditNotes?: string; | |
2665 | - modifiedAuditStatus?: string; | |
2666 | - modifiedOptFlag?: string; | |
2667 | - nextOrderStatus?: string; | |
2668 | - notes?: string; | |
2669 | - orderStatus?: string; | |
2670 | - orderStatusBeforeModify?: string; | |
2671 | - /** @format date-time */ | |
2672 | - orderStatusUpdateTime?: string; | |
2673 | - /** @format int32 */ | |
2674 | - packageNumber?: number; | |
2675 | - parameters?: string; | |
2676 | - paymentChannel?: string; | |
2677 | - paymentMethod?: string; | |
2678 | - paymentReceiptAnnex?: string; | |
2679 | - paymentReceiptNotes?: string; | |
2680 | - paymentReceiptStatus?: string; | |
2681 | - paymentStatus?: string; | |
2682 | - paymentTransactionId?: string; | |
2683 | - postAuditNotes?: string; | |
2684 | - postAuditStatus?: string; | |
2685 | - /** @format date-time */ | |
2686 | - postAuditStatusUpdateTime?: string; | |
2687 | - preAfterInvoicingStatus?: string; | |
2688 | - procureConvertNotes?: string; | |
2689 | - procureNotes?: string; | |
2690 | - /** @format date-time */ | |
2691 | - procureOrderDatetime?: string; | |
2692 | - procureOrderStatus?: string; | |
2693 | - productBelongBusiness?: string; | |
2694 | - productCode?: string; | |
2695 | - /** @format int32 */ | |
2696 | - productId?: number; | |
2697 | - productName?: string; | |
2698 | - /** @format int64 */ | |
2699 | - productPrice?: number; | |
2700 | - /** @format date-time */ | |
2701 | - productionEndTime?: string; | |
2702 | - /** @format date-time */ | |
2703 | - productionStartTime?: string; | |
2704 | - productionTimePushStatus?: string; | |
2705 | - /** @format int32 */ | |
2706 | - quantity?: number; | |
2707 | - receivingCompany?: string; | |
2708 | - reissueNotes?: string; | |
2709 | - serialNumber?: string; | |
2710 | - shippingWarehouse?: string; | |
2711 | - /** @format int64 */ | |
2712 | - subOrderPayment?: number; | |
2713 | - supplierName?: string; | |
2714 | - supplierNotes?: string; | |
2715 | - /** @format int64 */ | |
2716 | - totalPayment?: number; | |
2717 | - /** @format int32 */ | |
2718 | - uid?: number; | |
2719 | - unit?: string; | |
2720 | - unitId?: string; | |
2721 | - updateByName?: string; | |
2722 | - /** @format date-time */ | |
2723 | - updateTime?: string; | |
2724 | - urgentInvoiceAuditNotes?: string; | |
2725 | - /** @format int32 */ | |
2726 | - version?: number; | |
2727 | -} | |
2728 | - | |
2729 | 1826 | export interface SysLogQueryVO { |
2730 | 1827 | address?: string; |
2731 | 1828 | browser?: string; |
... | ... | @@ -3039,44 +2136,6 @@ export interface TsgFile { |
3039 | 2136 | writable?: boolean; |
3040 | 2137 | } |
3041 | 2138 | |
3042 | -export interface InvoiceDetail { | |
3043 | - /** @format int64 */ | |
3044 | - id?: number; | |
3045 | - /** | |
3046 | - * @description | |
3047 | - * 发票id | |
3048 | - * @format int64 | |
3049 | - */ | |
3050 | - invoiceRecordId?: number; | |
3051 | - /** | |
3052 | - * @description | |
3053 | - * 单价 | |
3054 | - * @format double | |
3055 | - */ | |
3056 | - price?: number; | |
3057 | - projectName?: string; | |
3058 | - /** @format double */ | |
3059 | - quantity?: number; | |
3060 | - /** | |
3061 | - * @description | |
3062 | - * 型号 | |
3063 | - */ | |
3064 | - specification?: string; | |
3065 | - /** @format int64 */ | |
3066 | - subOrderId?: number; | |
3067 | - /** @format double */ | |
3068 | - taxPrice?: number; | |
3069 | - /** @format double */ | |
3070 | - taxRate?: number; | |
3071 | - /** | |
3072 | - * @description | |
3073 | - * 总价 | |
3074 | - * @format double | |
3075 | - */ | |
3076 | - totalPrice?: number; | |
3077 | - unit?: string; | |
3078 | -} | |
3079 | - | |
3080 | 2139 | export interface SalesRechargePrepaymentAuditRequest { |
3081 | 2140 | /** |
3082 | 2141 | * @description | ... | ... |
src/services/request.ts
... | ... | @@ -29,7 +29,6 @@ import type { |
29 | 29 | ApiOrderEvaluatedRequest, |
30 | 30 | ApiQueryOrderDetailRequest, |
31 | 31 | ApiQueryOrderStatusCountsRequest, |
32 | - ApplyInvoiceDto, | |
33 | 32 | AuditDto, |
34 | 33 | AuditVO, |
35 | 34 | CancelInvoiceAndBankStatementDto, |
... | ... | @@ -43,10 +42,10 @@ import type { |
43 | 42 | CustomerSaveReq, |
44 | 43 | DictionaryQueryVO, |
45 | 44 | DictionaryVO, |
45 | + DistrictDo, | |
46 | 46 | Dto, |
47 | 47 | InventoryMaterialStockReq, |
48 | 48 | InvoiceDto, |
49 | - InvoiceRecordDto, | |
50 | 49 | InvoiceRecordQueryRequest, |
51 | 50 | MainOrderqueryRequest, |
52 | 51 | MaterialListReply, |
... | ... | @@ -55,7 +54,6 @@ import type { |
55 | 54 | MaterialUnitListRes, |
56 | 55 | MeasureUnitListRes, |
57 | 56 | MessageQueryDTO, |
58 | - ModelAndView, | |
59 | 57 | OrderAddVO, |
60 | 58 | OrderAuditLogQueryVO, |
61 | 59 | OrderBaseInfoQueryVO, |
... | ... | @@ -81,8 +79,6 @@ import type { |
81 | 79 | QueryCustomerInformationDto, |
82 | 80 | QueryHistoryRecordDto, |
83 | 81 | QueryInvoiceDetailDto, |
84 | - QueryInvoiceProjectDto, | |
85 | - QueryInvoiceRecordDto, | |
86 | 82 | QueryMainOrderDto, |
87 | 83 | QueryReportFormsDto, |
88 | 84 | ReissueInvoiceDto, |
... | ... | @@ -1543,13 +1539,13 @@ export const postCanrdApiUserList = /* #__PURE__ */ (() => { |
1543 | 1539 | return request; |
1544 | 1540 | })(); |
1545 | 1541 | |
1546 | -/** @description response type for getError */ | |
1547 | -export interface GetErrorResponse { | |
1542 | +/** @description response type for getDistrictSelectAll */ | |
1543 | +export interface GetDistrictSelectAllResponse { | |
1548 | 1544 | /** |
1549 | 1545 | * @description |
1550 | 1546 | * OK |
1551 | 1547 | */ |
1552 | - 200: ModelAndView; | |
1548 | + 200: ServerResult; | |
1553 | 1549 | /** |
1554 | 1550 | * @description |
1555 | 1551 | * Unauthorized |
... | ... | @@ -1567,20 +1563,21 @@ export interface GetErrorResponse { |
1567 | 1563 | 404: any; |
1568 | 1564 | } |
1569 | 1565 | |
1570 | -export type GetErrorResponseSuccess = GetErrorResponse[200]; | |
1566 | +export type GetDistrictSelectAllResponseSuccess = | |
1567 | + GetDistrictSelectAllResponse[200]; | |
1571 | 1568 | /** |
1572 | 1569 | * @description |
1573 | - * errorHtml | |
1574 | - * @tags basic-error-controller | |
1575 | - * @produces text/html | |
1570 | + * 查询全部 | |
1571 | + * @tags order-district-controller | |
1572 | + * @produces * | |
1576 | 1573 | */ |
1577 | -export const getError = /* #__PURE__ */ (() => { | |
1574 | +export const getDistrictSelectAll = /* #__PURE__ */ (() => { | |
1578 | 1575 | const method = 'get'; |
1579 | - const url = '/error'; | |
1580 | - function request(): Promise<GetErrorResponseSuccess> { | |
1576 | + const url = '/district/selectAll'; | |
1577 | + function request(): Promise<GetDistrictSelectAllResponseSuccess> { | |
1581 | 1578 | return requester(request.url, { |
1582 | 1579 | method: request.method, |
1583 | - }) as unknown as Promise<GetErrorResponseSuccess>; | |
1580 | + }) as unknown as Promise<GetDistrictSelectAllResponseSuccess>; | |
1584 | 1581 | } |
1585 | 1582 | |
1586 | 1583 | /** http method */ |
... | ... | @@ -1590,13 +1587,27 @@ export const getError = /* #__PURE__ */ (() => { |
1590 | 1587 | return request; |
1591 | 1588 | })(); |
1592 | 1589 | |
1593 | -/** @description response type for putError */ | |
1594 | -export interface PutErrorResponse { | |
1590 | +/** @description request parameter type for postDistrictSelectBelong */ | |
1591 | +export interface PostDistrictSelectBelongOption { | |
1592 | + /** | |
1593 | + * @description | |
1594 | + * pid | |
1595 | + */ | |
1596 | + body: { | |
1597 | + /** | |
1598 | + @description | |
1599 | + pid */ | |
1600 | + pid: number; | |
1601 | + }; | |
1602 | +} | |
1603 | + | |
1604 | +/** @description response type for postDistrictSelectBelong */ | |
1605 | +export interface PostDistrictSelectBelongResponse { | |
1595 | 1606 | /** |
1596 | 1607 | * @description |
1597 | 1608 | * OK |
1598 | 1609 | */ |
1599 | - 200: ModelAndView; | |
1610 | + 200: ServerResult; | |
1600 | 1611 | /** |
1601 | 1612 | * @description |
1602 | 1613 | * Created |
... | ... | @@ -1619,21 +1630,25 @@ export interface PutErrorResponse { |
1619 | 1630 | 404: any; |
1620 | 1631 | } |
1621 | 1632 | |
1622 | -export type PutErrorResponseSuccess = PutErrorResponse[200]; | |
1633 | +export type PostDistrictSelectBelongResponseSuccess = | |
1634 | + PostDistrictSelectBelongResponse[200]; | |
1623 | 1635 | /** |
1624 | 1636 | * @description |
1625 | - * errorHtml | |
1626 | - * @tags basic-error-controller | |
1627 | - * @produces text/html | |
1637 | + * 根据父级进行筛选 | |
1638 | + * @tags order-district-controller | |
1639 | + * @produces * | |
1628 | 1640 | * @consumes application/json |
1629 | 1641 | */ |
1630 | -export const putError = /* #__PURE__ */ (() => { | |
1631 | - const method = 'put'; | |
1632 | - const url = '/error'; | |
1633 | - function request(): Promise<PutErrorResponseSuccess> { | |
1642 | +export const postDistrictSelectBelong = /* #__PURE__ */ (() => { | |
1643 | + const method = 'post'; | |
1644 | + const url = '/district/selectBelong'; | |
1645 | + function request( | |
1646 | + option: PostDistrictSelectBelongOption, | |
1647 | + ): Promise<PostDistrictSelectBelongResponseSuccess> { | |
1634 | 1648 | return requester(request.url, { |
1635 | 1649 | method: request.method, |
1636 | - }) as unknown as Promise<PutErrorResponseSuccess>; | |
1650 | + ...option, | |
1651 | + }) as unknown as Promise<PostDistrictSelectBelongResponseSuccess>; | |
1637 | 1652 | } |
1638 | 1653 | |
1639 | 1654 | /** http method */ |
... | ... | @@ -1643,13 +1658,27 @@ export const putError = /* #__PURE__ */ (() => { |
1643 | 1658 | return request; |
1644 | 1659 | })(); |
1645 | 1660 | |
1646 | -/** @description response type for postError */ | |
1647 | -export interface PostErrorResponse { | |
1661 | +/** @description request parameter type for postDistrictSelectBelongAndLevel */ | |
1662 | +export interface PostDistrictSelectBelongAndLevelOption { | |
1663 | + /** | |
1664 | + * @description | |
1665 | + * districtDo | |
1666 | + */ | |
1667 | + body: { | |
1668 | + /** | |
1669 | + @description | |
1670 | + districtDo */ | |
1671 | + districtDo: DistrictDo; | |
1672 | + }; | |
1673 | +} | |
1674 | + | |
1675 | +/** @description response type for postDistrictSelectBelongAndLevel */ | |
1676 | +export interface PostDistrictSelectBelongAndLevelResponse { | |
1648 | 1677 | /** |
1649 | 1678 | * @description |
1650 | 1679 | * OK |
1651 | 1680 | */ |
1652 | - 200: ModelAndView; | |
1681 | + 200: ServerResult; | |
1653 | 1682 | /** |
1654 | 1683 | * @description |
1655 | 1684 | * Created |
... | ... | @@ -1672,21 +1701,25 @@ export interface PostErrorResponse { |
1672 | 1701 | 404: any; |
1673 | 1702 | } |
1674 | 1703 | |
1675 | -export type PostErrorResponseSuccess = PostErrorResponse[200]; | |
1704 | +export type PostDistrictSelectBelongAndLevelResponseSuccess = | |
1705 | + PostDistrictSelectBelongAndLevelResponse[200]; | |
1676 | 1706 | /** |
1677 | 1707 | * @description |
1678 | - * errorHtml | |
1679 | - * @tags basic-error-controller | |
1680 | - * @produces text/html | |
1708 | + * 根据父级和等级进行筛选 | |
1709 | + * @tags order-district-controller | |
1710 | + * @produces * | |
1681 | 1711 | * @consumes application/json |
1682 | 1712 | */ |
1683 | -export const postError = /* #__PURE__ */ (() => { | |
1713 | +export const postDistrictSelectBelongAndLevel = /* #__PURE__ */ (() => { | |
1684 | 1714 | const method = 'post'; |
1685 | - const url = '/error'; | |
1686 | - function request(): Promise<PostErrorResponseSuccess> { | |
1715 | + const url = '/district/selectBelongAndLevel'; | |
1716 | + function request( | |
1717 | + option: PostDistrictSelectBelongAndLevelOption, | |
1718 | + ): Promise<PostDistrictSelectBelongAndLevelResponseSuccess> { | |
1687 | 1719 | return requester(request.url, { |
1688 | 1720 | method: request.method, |
1689 | - }) as unknown as Promise<PostErrorResponseSuccess>; | |
1721 | + ...option, | |
1722 | + }) as unknown as Promise<PostDistrictSelectBelongAndLevelResponseSuccess>; | |
1690 | 1723 | } |
1691 | 1724 | |
1692 | 1725 | /** http method */ |
... | ... | @@ -1696,18 +1729,32 @@ export const postError = /* #__PURE__ */ (() => { |
1696 | 1729 | return request; |
1697 | 1730 | })(); |
1698 | 1731 | |
1699 | -/** @description response type for deleteError */ | |
1700 | -export interface DeleteErrorResponse { | |
1732 | +/** @description request parameter type for postDistrictSelectBelongByName */ | |
1733 | +export interface PostDistrictSelectBelongByNameOption { | |
1734 | + /** | |
1735 | + * @description | |
1736 | + * district | |
1737 | + */ | |
1738 | + body: { | |
1739 | + /** | |
1740 | + @description | |
1741 | + district */ | |
1742 | + district: string; | |
1743 | + }; | |
1744 | +} | |
1745 | + | |
1746 | +/** @description response type for postDistrictSelectBelongByName */ | |
1747 | +export interface PostDistrictSelectBelongByNameResponse { | |
1701 | 1748 | /** |
1702 | 1749 | * @description |
1703 | 1750 | * OK |
1704 | 1751 | */ |
1705 | - 200: ModelAndView; | |
1752 | + 200: ServerResult; | |
1706 | 1753 | /** |
1707 | 1754 | * @description |
1708 | - * No Content | |
1755 | + * Created | |
1709 | 1756 | */ |
1710 | - 204: any; | |
1757 | + 201: any; | |
1711 | 1758 | /** |
1712 | 1759 | * @description |
1713 | 1760 | * Unauthorized |
... | ... | @@ -1718,22 +1765,32 @@ export interface DeleteErrorResponse { |
1718 | 1765 | * Forbidden |
1719 | 1766 | */ |
1720 | 1767 | 403: any; |
1768 | + /** | |
1769 | + * @description | |
1770 | + * Not Found | |
1771 | + */ | |
1772 | + 404: any; | |
1721 | 1773 | } |
1722 | 1774 | |
1723 | -export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; | |
1775 | +export type PostDistrictSelectBelongByNameResponseSuccess = | |
1776 | + PostDistrictSelectBelongByNameResponse[200]; | |
1724 | 1777 | /** |
1725 | 1778 | * @description |
1726 | - * errorHtml | |
1727 | - * @tags basic-error-controller | |
1728 | - * @produces text/html | |
1779 | + * 根据父级名字进行筛选 | |
1780 | + * @tags order-district-controller | |
1781 | + * @produces * | |
1782 | + * @consumes application/json | |
1729 | 1783 | */ |
1730 | -export const deleteError = /* #__PURE__ */ (() => { | |
1731 | - const method = 'delete'; | |
1732 | - const url = '/error'; | |
1733 | - function request(): Promise<DeleteErrorResponseSuccess> { | |
1784 | +export const postDistrictSelectBelongByName = /* #__PURE__ */ (() => { | |
1785 | + const method = 'post'; | |
1786 | + const url = '/district/selectBelongByName'; | |
1787 | + function request( | |
1788 | + option: PostDistrictSelectBelongByNameOption, | |
1789 | + ): Promise<PostDistrictSelectBelongByNameResponseSuccess> { | |
1734 | 1790 | return requester(request.url, { |
1735 | 1791 | method: request.method, |
1736 | - }) as unknown as Promise<DeleteErrorResponseSuccess>; | |
1792 | + ...option, | |
1793 | + }) as unknown as Promise<PostDistrictSelectBelongByNameResponseSuccess>; | |
1737 | 1794 | } |
1738 | 1795 | |
1739 | 1796 | /** http method */ |
... | ... | @@ -1743,18 +1800,32 @@ export const deleteError = /* #__PURE__ */ (() => { |
1743 | 1800 | return request; |
1744 | 1801 | })(); |
1745 | 1802 | |
1746 | -/** @description response type for optionsError */ | |
1747 | -export interface OptionsErrorResponse { | |
1803 | +/** @description request parameter type for postDistrictSelectByLevel */ | |
1804 | +export interface PostDistrictSelectByLevelOption { | |
1805 | + /** | |
1806 | + * @description | |
1807 | + * level | |
1808 | + */ | |
1809 | + body: { | |
1810 | + /** | |
1811 | + @description | |
1812 | + level */ | |
1813 | + level: number; | |
1814 | + }; | |
1815 | +} | |
1816 | + | |
1817 | +/** @description response type for postDistrictSelectByLevel */ | |
1818 | +export interface PostDistrictSelectByLevelResponse { | |
1748 | 1819 | /** |
1749 | 1820 | * @description |
1750 | 1821 | * OK |
1751 | 1822 | */ |
1752 | - 200: ModelAndView; | |
1823 | + 200: ServerResult; | |
1753 | 1824 | /** |
1754 | 1825 | * @description |
1755 | - * No Content | |
1826 | + * Created | |
1756 | 1827 | */ |
1757 | - 204: any; | |
1828 | + 201: any; | |
1758 | 1829 | /** |
1759 | 1830 | * @description |
1760 | 1831 | * Unauthorized |
... | ... | @@ -1765,23 +1836,32 @@ export interface OptionsErrorResponse { |
1765 | 1836 | * Forbidden |
1766 | 1837 | */ |
1767 | 1838 | 403: any; |
1839 | + /** | |
1840 | + * @description | |
1841 | + * Not Found | |
1842 | + */ | |
1843 | + 404: any; | |
1768 | 1844 | } |
1769 | 1845 | |
1770 | -export type OptionsErrorResponseSuccess = OptionsErrorResponse[200]; | |
1846 | +export type PostDistrictSelectByLevelResponseSuccess = | |
1847 | + PostDistrictSelectByLevelResponse[200]; | |
1771 | 1848 | /** |
1772 | 1849 | * @description |
1773 | - * errorHtml | |
1774 | - * @tags basic-error-controller | |
1775 | - * @produces text/html | |
1850 | + * 根据等级查询 | |
1851 | + * @tags order-district-controller | |
1852 | + * @produces * | |
1776 | 1853 | * @consumes application/json |
1777 | 1854 | */ |
1778 | -export const optionsError = /* #__PURE__ */ (() => { | |
1779 | - const method = 'options'; | |
1780 | - const url = '/error'; | |
1781 | - function request(): Promise<OptionsErrorResponseSuccess> { | |
1855 | +export const postDistrictSelectByLevel = /* #__PURE__ */ (() => { | |
1856 | + const method = 'post'; | |
1857 | + const url = '/district/selectByLevel'; | |
1858 | + function request( | |
1859 | + option: PostDistrictSelectByLevelOption, | |
1860 | + ): Promise<PostDistrictSelectByLevelResponseSuccess> { | |
1782 | 1861 | return requester(request.url, { |
1783 | 1862 | method: request.method, |
1784 | - }) as unknown as Promise<OptionsErrorResponseSuccess>; | |
1863 | + ...option, | |
1864 | + }) as unknown as Promise<PostDistrictSelectByLevelResponseSuccess>; | |
1785 | 1865 | } |
1786 | 1866 | |
1787 | 1867 | /** http method */ |
... | ... | @@ -1791,18 +1871,15 @@ export const optionsError = /* #__PURE__ */ (() => { |
1791 | 1871 | return request; |
1792 | 1872 | })(); |
1793 | 1873 | |
1794 | -/** @description response type for headError */ | |
1795 | -export interface HeadErrorResponse { | |
1874 | +/** @description response type for getError */ | |
1875 | +export interface GetErrorResponse { | |
1796 | 1876 | /** |
1797 | 1877 | * @description |
1798 | 1878 | * OK |
1799 | 1879 | */ |
1800 | - 200: ModelAndView; | |
1801 | - /** | |
1802 | - * @description | |
1803 | - * No Content | |
1804 | - */ | |
1805 | - 204: any; | |
1880 | + 200: { | |
1881 | + [propertyName: string]: any; | |
1882 | + }; | |
1806 | 1883 | /** |
1807 | 1884 | * @description |
1808 | 1885 | * Unauthorized |
... | ... | @@ -1813,23 +1890,27 @@ export interface HeadErrorResponse { |
1813 | 1890 | * Forbidden |
1814 | 1891 | */ |
1815 | 1892 | 403: any; |
1893 | + /** | |
1894 | + * @description | |
1895 | + * Not Found | |
1896 | + */ | |
1897 | + 404: any; | |
1816 | 1898 | } |
1817 | 1899 | |
1818 | -export type HeadErrorResponseSuccess = HeadErrorResponse[200]; | |
1900 | +export type GetErrorResponseSuccess = GetErrorResponse[200]; | |
1819 | 1901 | /** |
1820 | 1902 | * @description |
1821 | - * errorHtml | |
1903 | + * error | |
1822 | 1904 | * @tags basic-error-controller |
1823 | - * @produces text/html | |
1824 | - * @consumes application/json | |
1905 | + * @produces * | |
1825 | 1906 | */ |
1826 | -export const headError = /* #__PURE__ */ (() => { | |
1827 | - const method = 'head'; | |
1907 | +export const getError = /* #__PURE__ */ (() => { | |
1908 | + const method = 'get'; | |
1828 | 1909 | const url = '/error'; |
1829 | - function request(): Promise<HeadErrorResponseSuccess> { | |
1910 | + function request(): Promise<GetErrorResponseSuccess> { | |
1830 | 1911 | return requester(request.url, { |
1831 | 1912 | method: request.method, |
1832 | - }) as unknown as Promise<HeadErrorResponseSuccess>; | |
1913 | + }) as unknown as Promise<GetErrorResponseSuccess>; | |
1833 | 1914 | } |
1834 | 1915 | |
1835 | 1916 | /** http method */ |
... | ... | @@ -1839,18 +1920,20 @@ export const headError = /* #__PURE__ */ (() => { |
1839 | 1920 | return request; |
1840 | 1921 | })(); |
1841 | 1922 | |
1842 | -/** @description response type for patchError */ | |
1843 | -export interface PatchErrorResponse { | |
1923 | +/** @description response type for putError */ | |
1924 | +export interface PutErrorResponse { | |
1844 | 1925 | /** |
1845 | 1926 | * @description |
1846 | 1927 | * OK |
1847 | 1928 | */ |
1848 | - 200: ModelAndView; | |
1929 | + 200: { | |
1930 | + [propertyName: string]: any; | |
1931 | + }; | |
1849 | 1932 | /** |
1850 | 1933 | * @description |
1851 | - * No Content | |
1934 | + * Created | |
1852 | 1935 | */ |
1853 | - 204: any; | |
1936 | + 201: any; | |
1854 | 1937 | /** |
1855 | 1938 | * @description |
1856 | 1939 | * Unauthorized |
... | ... | @@ -1861,23 +1944,28 @@ export interface PatchErrorResponse { |
1861 | 1944 | * Forbidden |
1862 | 1945 | */ |
1863 | 1946 | 403: any; |
1947 | + /** | |
1948 | + * @description | |
1949 | + * Not Found | |
1950 | + */ | |
1951 | + 404: any; | |
1864 | 1952 | } |
1865 | 1953 | |
1866 | -export type PatchErrorResponseSuccess = PatchErrorResponse[200]; | |
1954 | +export type PutErrorResponseSuccess = PutErrorResponse[200]; | |
1867 | 1955 | /** |
1868 | 1956 | * @description |
1869 | - * errorHtml | |
1957 | + * error | |
1870 | 1958 | * @tags basic-error-controller |
1871 | - * @produces text/html | |
1959 | + * @produces * | |
1872 | 1960 | * @consumes application/json |
1873 | 1961 | */ |
1874 | -export const patchError = /* #__PURE__ */ (() => { | |
1875 | - const method = 'patch'; | |
1962 | +export const putError = /* #__PURE__ */ (() => { | |
1963 | + const method = 'put'; | |
1876 | 1964 | const url = '/error'; |
1877 | - function request(): Promise<PatchErrorResponseSuccess> { | |
1965 | + function request(): Promise<PutErrorResponseSuccess> { | |
1878 | 1966 | return requester(request.url, { |
1879 | 1967 | method: request.method, |
1880 | - }) as unknown as Promise<PatchErrorResponseSuccess>; | |
1968 | + }) as unknown as Promise<PutErrorResponseSuccess>; | |
1881 | 1969 | } |
1882 | 1970 | |
1883 | 1971 | /** http method */ |
... | ... | @@ -1887,27 +1975,15 @@ export const patchError = /* #__PURE__ */ (() => { |
1887 | 1975 | return request; |
1888 | 1976 | })(); |
1889 | 1977 | |
1890 | -/** @description request parameter type for postKingdeeRepCustomer */ | |
1891 | -export interface PostKingdeeRepCustomerOption { | |
1892 | - /** | |
1893 | - * @description | |
1894 | - * req | |
1895 | - */ | |
1896 | - body: { | |
1897 | - /** | |
1898 | - @description | |
1899 | - req */ | |
1900 | - req: CustomerCustomerListReq; | |
1901 | - }; | |
1902 | -} | |
1903 | - | |
1904 | -/** @description response type for postKingdeeRepCustomer */ | |
1905 | -export interface PostKingdeeRepCustomerResponse { | |
1978 | +/** @description response type for postError */ | |
1979 | +export interface PostErrorResponse { | |
1906 | 1980 | /** |
1907 | 1981 | * @description |
1908 | 1982 | * OK |
1909 | 1983 | */ |
1910 | - 200: CustomerListRes; | |
1984 | + 200: { | |
1985 | + [propertyName: string]: any; | |
1986 | + }; | |
1911 | 1987 | /** |
1912 | 1988 | * @description |
1913 | 1989 | * Created |
... | ... | @@ -1930,25 +2006,21 @@ export interface PostKingdeeRepCustomerResponse { |
1930 | 2006 | 404: any; |
1931 | 2007 | } |
1932 | 2008 | |
1933 | -export type PostKingdeeRepCustomerResponseSuccess = | |
1934 | - PostKingdeeRepCustomerResponse[200]; | |
2009 | +export type PostErrorResponseSuccess = PostErrorResponse[200]; | |
1935 | 2010 | /** |
1936 | 2011 | * @description |
1937 | - * listCustomers | |
1938 | - * @tags kingdee-erp-controller | |
2012 | + * error | |
2013 | + * @tags basic-error-controller | |
1939 | 2014 | * @produces * |
1940 | 2015 | * @consumes application/json |
1941 | 2016 | */ |
1942 | -export const postKingdeeRepCustomer = /* #__PURE__ */ (() => { | |
2017 | +export const postError = /* #__PURE__ */ (() => { | |
1943 | 2018 | const method = 'post'; |
1944 | - const url = '/kingdee/rep/customer'; | |
1945 | - function request( | |
1946 | - option: PostKingdeeRepCustomerOption, | |
1947 | - ): Promise<PostKingdeeRepCustomerResponseSuccess> { | |
2019 | + const url = '/error'; | |
2020 | + function request(): Promise<PostErrorResponseSuccess> { | |
1948 | 2021 | return requester(request.url, { |
1949 | 2022 | method: request.method, |
1950 | - ...option, | |
1951 | - }) as unknown as Promise<PostKingdeeRepCustomerResponseSuccess>; | |
2023 | + }) as unknown as Promise<PostErrorResponseSuccess>; | |
1952 | 2024 | } |
1953 | 2025 | |
1954 | 2026 | /** http method */ |
... | ... | @@ -1958,32 +2030,20 @@ export const postKingdeeRepCustomer = /* #__PURE__ */ (() => { |
1958 | 2030 | return request; |
1959 | 2031 | })(); |
1960 | 2032 | |
1961 | -/** @description request parameter type for postKingdeeRepCustomerDetail */ | |
1962 | -export interface PostKingdeeRepCustomerDetailOption { | |
1963 | - /** | |
1964 | - * @description | |
1965 | - * dto | |
1966 | - */ | |
1967 | - body: { | |
1968 | - /** | |
1969 | - @description | |
1970 | - dto */ | |
1971 | - dto: CustomerDetailDto; | |
1972 | - }; | |
1973 | -} | |
1974 | - | |
1975 | -/** @description response type for postKingdeeRepCustomerDetail */ | |
1976 | -export interface PostKingdeeRepCustomerDetailResponse { | |
2033 | +/** @description response type for deleteError */ | |
2034 | +export interface DeleteErrorResponse { | |
1977 | 2035 | /** |
1978 | 2036 | * @description |
1979 | 2037 | * OK |
1980 | 2038 | */ |
1981 | - 200: CustomerDetailRes; | |
2039 | + 200: { | |
2040 | + [propertyName: string]: any; | |
2041 | + }; | |
1982 | 2042 | /** |
1983 | 2043 | * @description |
1984 | - * Created | |
2044 | + * No Content | |
1985 | 2045 | */ |
1986 | - 201: any; | |
2046 | + 204: any; | |
1987 | 2047 | /** |
1988 | 2048 | * @description |
1989 | 2049 | * Unauthorized |
... | ... | @@ -1994,32 +2054,22 @@ export interface PostKingdeeRepCustomerDetailResponse { |
1994 | 2054 | * Forbidden |
1995 | 2055 | */ |
1996 | 2056 | 403: any; |
1997 | - /** | |
1998 | - * @description | |
1999 | - * Not Found | |
2000 | - */ | |
2001 | - 404: any; | |
2002 | 2057 | } |
2003 | 2058 | |
2004 | -export type PostKingdeeRepCustomerDetailResponseSuccess = | |
2005 | - PostKingdeeRepCustomerDetailResponse[200]; | |
2059 | +export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; | |
2006 | 2060 | /** |
2007 | 2061 | * @description |
2008 | - * getCustomerDetail | |
2009 | - * @tags kingdee-erp-controller | |
2062 | + * error | |
2063 | + * @tags basic-error-controller | |
2010 | 2064 | * @produces * |
2011 | - * @consumes application/json | |
2012 | 2065 | */ |
2013 | -export const postKingdeeRepCustomerDetail = /* #__PURE__ */ (() => { | |
2014 | - const method = 'post'; | |
2015 | - const url = '/kingdee/rep/customerDetail'; | |
2016 | - function request( | |
2017 | - option: PostKingdeeRepCustomerDetailOption, | |
2018 | - ): Promise<PostKingdeeRepCustomerDetailResponseSuccess> { | |
2066 | +export const deleteError = /* #__PURE__ */ (() => { | |
2067 | + const method = 'delete'; | |
2068 | + const url = '/error'; | |
2069 | + function request(): Promise<DeleteErrorResponseSuccess> { | |
2019 | 2070 | return requester(request.url, { |
2020 | 2071 | method: request.method, |
2021 | - ...option, | |
2022 | - }) as unknown as Promise<PostKingdeeRepCustomerDetailResponseSuccess>; | |
2072 | + }) as unknown as Promise<DeleteErrorResponseSuccess>; | |
2023 | 2073 | } |
2024 | 2074 | |
2025 | 2075 | /** http method */ |
... | ... | @@ -2029,32 +2079,20 @@ export const postKingdeeRepCustomerDetail = /* #__PURE__ */ (() => { |
2029 | 2079 | return request; |
2030 | 2080 | })(); |
2031 | 2081 | |
2032 | -/** @description request parameter type for postKingdeeRepCustomerSave */ | |
2033 | -export interface PostKingdeeRepCustomerSaveOption { | |
2034 | - /** | |
2035 | - * @description | |
2036 | - * req | |
2037 | - */ | |
2038 | - body: { | |
2039 | - /** | |
2040 | - @description | |
2041 | - req */ | |
2042 | - req: CustomerSaveReq; | |
2043 | - }; | |
2044 | -} | |
2045 | - | |
2046 | -/** @description response type for postKingdeeRepCustomerSave */ | |
2047 | -export interface PostKingdeeRepCustomerSaveResponse { | |
2082 | +/** @description response type for optionsError */ | |
2083 | +export interface OptionsErrorResponse { | |
2048 | 2084 | /** |
2049 | 2085 | * @description |
2050 | 2086 | * OK |
2051 | 2087 | */ |
2052 | - 200: SaveReply; | |
2088 | + 200: { | |
2089 | + [propertyName: string]: any; | |
2090 | + }; | |
2053 | 2091 | /** |
2054 | 2092 | * @description |
2055 | - * Created | |
2093 | + * No Content | |
2056 | 2094 | */ |
2057 | - 201: any; | |
2095 | + 204: any; | |
2058 | 2096 | /** |
2059 | 2097 | * @description |
2060 | 2098 | * Unauthorized |
... | ... | @@ -2065,32 +2103,23 @@ export interface PostKingdeeRepCustomerSaveResponse { |
2065 | 2103 | * Forbidden |
2066 | 2104 | */ |
2067 | 2105 | 403: any; |
2068 | - /** | |
2069 | - * @description | |
2070 | - * Not Found | |
2071 | - */ | |
2072 | - 404: any; | |
2073 | 2106 | } |
2074 | 2107 | |
2075 | -export type PostKingdeeRepCustomerSaveResponseSuccess = | |
2076 | - PostKingdeeRepCustomerSaveResponse[200]; | |
2108 | +export type OptionsErrorResponseSuccess = OptionsErrorResponse[200]; | |
2077 | 2109 | /** |
2078 | 2110 | * @description |
2079 | - * customerSave | |
2080 | - * @tags kingdee-erp-controller | |
2111 | + * error | |
2112 | + * @tags basic-error-controller | |
2081 | 2113 | * @produces * |
2082 | 2114 | * @consumes application/json |
2083 | 2115 | */ |
2084 | -export const postKingdeeRepCustomerSave = /* #__PURE__ */ (() => { | |
2085 | - const method = 'post'; | |
2086 | - const url = '/kingdee/rep/customerSave'; | |
2087 | - function request( | |
2088 | - option: PostKingdeeRepCustomerSaveOption, | |
2089 | - ): Promise<PostKingdeeRepCustomerSaveResponseSuccess> { | |
2116 | +export const optionsError = /* #__PURE__ */ (() => { | |
2117 | + const method = 'options'; | |
2118 | + const url = '/error'; | |
2119 | + function request(): Promise<OptionsErrorResponseSuccess> { | |
2090 | 2120 | return requester(request.url, { |
2091 | 2121 | method: request.method, |
2092 | - ...option, | |
2093 | - }) as unknown as Promise<PostKingdeeRepCustomerSaveResponseSuccess>; | |
2122 | + }) as unknown as Promise<OptionsErrorResponseSuccess>; | |
2094 | 2123 | } |
2095 | 2124 | |
2096 | 2125 | /** http method */ |
... | ... | @@ -2100,32 +2129,20 @@ export const postKingdeeRepCustomerSave = /* #__PURE__ */ (() => { |
2100 | 2129 | return request; |
2101 | 2130 | })(); |
2102 | 2131 | |
2103 | -/** @description request parameter type for postKingdeeRepMaterial */ | |
2104 | -export interface PostKingdeeRepMaterialOption { | |
2105 | - /** | |
2106 | - * @description | |
2107 | - * req | |
2108 | - */ | |
2109 | - body: { | |
2110 | - /** | |
2111 | - @description | |
2112 | - req */ | |
2113 | - req: MaterialMaterialListReq; | |
2114 | - }; | |
2115 | -} | |
2116 | - | |
2117 | -/** @description response type for postKingdeeRepMaterial */ | |
2118 | -export interface PostKingdeeRepMaterialResponse { | |
2132 | +/** @description response type for headError */ | |
2133 | +export interface HeadErrorResponse { | |
2119 | 2134 | /** |
2120 | 2135 | * @description |
2121 | 2136 | * OK |
2122 | 2137 | */ |
2123 | - 200: MaterialListReply; | |
2138 | + 200: { | |
2139 | + [propertyName: string]: any; | |
2140 | + }; | |
2124 | 2141 | /** |
2125 | 2142 | * @description |
2126 | - * Created | |
2143 | + * No Content | |
2127 | 2144 | */ |
2128 | - 201: any; | |
2145 | + 204: any; | |
2129 | 2146 | /** |
2130 | 2147 | * @description |
2131 | 2148 | * Unauthorized |
... | ... | @@ -2136,32 +2153,23 @@ export interface PostKingdeeRepMaterialResponse { |
2136 | 2153 | * Forbidden |
2137 | 2154 | */ |
2138 | 2155 | 403: any; |
2139 | - /** | |
2140 | - * @description | |
2141 | - * Not Found | |
2142 | - */ | |
2143 | - 404: any; | |
2144 | 2156 | } |
2145 | 2157 | |
2146 | -export type PostKingdeeRepMaterialResponseSuccess = | |
2147 | - PostKingdeeRepMaterialResponse[200]; | |
2158 | +export type HeadErrorResponseSuccess = HeadErrorResponse[200]; | |
2148 | 2159 | /** |
2149 | 2160 | * @description |
2150 | - * listMaterial | |
2151 | - * @tags kingdee-erp-controller | |
2161 | + * error | |
2162 | + * @tags basic-error-controller | |
2152 | 2163 | * @produces * |
2153 | 2164 | * @consumes application/json |
2154 | 2165 | */ |
2155 | -export const postKingdeeRepMaterial = /* #__PURE__ */ (() => { | |
2156 | - const method = 'post'; | |
2157 | - const url = '/kingdee/rep/material'; | |
2158 | - function request( | |
2159 | - option: PostKingdeeRepMaterialOption, | |
2160 | - ): Promise<PostKingdeeRepMaterialResponseSuccess> { | |
2166 | +export const headError = /* #__PURE__ */ (() => { | |
2167 | + const method = 'head'; | |
2168 | + const url = '/error'; | |
2169 | + function request(): Promise<HeadErrorResponseSuccess> { | |
2161 | 2170 | return requester(request.url, { |
2162 | 2171 | method: request.method, |
2163 | - ...option, | |
2164 | - }) as unknown as Promise<PostKingdeeRepMaterialResponseSuccess>; | |
2172 | + }) as unknown as Promise<HeadErrorResponseSuccess>; | |
2165 | 2173 | } |
2166 | 2174 | |
2167 | 2175 | /** http method */ |
... | ... | @@ -2171,32 +2179,20 @@ export const postKingdeeRepMaterial = /* #__PURE__ */ (() => { |
2171 | 2179 | return request; |
2172 | 2180 | })(); |
2173 | 2181 | |
2174 | -/** @description request parameter type for postKingdeeRepMaterialStock */ | |
2175 | -export interface PostKingdeeRepMaterialStockOption { | |
2176 | - /** | |
2177 | - * @description | |
2178 | - * req | |
2179 | - */ | |
2180 | - body: { | |
2181 | - /** | |
2182 | - @description | |
2183 | - req */ | |
2184 | - req: InventoryMaterialStockReq; | |
2185 | - }; | |
2186 | -} | |
2187 | - | |
2188 | -/** @description response type for postKingdeeRepMaterialStock */ | |
2189 | -export interface PostKingdeeRepMaterialStockResponse { | |
2182 | +/** @description response type for patchError */ | |
2183 | +export interface PatchErrorResponse { | |
2190 | 2184 | /** |
2191 | 2185 | * @description |
2192 | 2186 | * OK |
2193 | 2187 | */ |
2194 | - 200: MaterialStockRes; | |
2188 | + 200: { | |
2189 | + [propertyName: string]: any; | |
2190 | + }; | |
2195 | 2191 | /** |
2196 | 2192 | * @description |
2197 | - * Created | |
2193 | + * No Content | |
2198 | 2194 | */ |
2199 | - 201: any; | |
2195 | + 204: any; | |
2200 | 2196 | /** |
2201 | 2197 | * @description |
2202 | 2198 | * Unauthorized |
... | ... | @@ -2207,32 +2203,23 @@ export interface PostKingdeeRepMaterialStockResponse { |
2207 | 2203 | * Forbidden |
2208 | 2204 | */ |
2209 | 2205 | 403: any; |
2210 | - /** | |
2211 | - * @description | |
2212 | - * Not Found | |
2213 | - */ | |
2214 | - 404: any; | |
2215 | 2206 | } |
2216 | 2207 | |
2217 | -export type PostKingdeeRepMaterialStockResponseSuccess = | |
2218 | - PostKingdeeRepMaterialStockResponse[200]; | |
2208 | +export type PatchErrorResponseSuccess = PatchErrorResponse[200]; | |
2219 | 2209 | /** |
2220 | 2210 | * @description |
2221 | - * listMaterialStock | |
2222 | - * @tags kingdee-erp-controller | |
2211 | + * error | |
2212 | + * @tags basic-error-controller | |
2223 | 2213 | * @produces * |
2224 | 2214 | * @consumes application/json |
2225 | 2215 | */ |
2226 | -export const postKingdeeRepMaterialStock = /* #__PURE__ */ (() => { | |
2227 | - const method = 'post'; | |
2228 | - const url = '/kingdee/rep/materialStock'; | |
2229 | - function request( | |
2230 | - option: PostKingdeeRepMaterialStockOption, | |
2231 | - ): Promise<PostKingdeeRepMaterialStockResponseSuccess> { | |
2216 | +export const patchError = /* #__PURE__ */ (() => { | |
2217 | + const method = 'patch'; | |
2218 | + const url = '/error'; | |
2219 | + function request(): Promise<PatchErrorResponseSuccess> { | |
2232 | 2220 | return requester(request.url, { |
2233 | 2221 | method: request.method, |
2234 | - ...option, | |
2235 | - }) as unknown as Promise<PostKingdeeRepMaterialStockResponseSuccess>; | |
2222 | + }) as unknown as Promise<PatchErrorResponseSuccess>; | |
2236 | 2223 | } |
2237 | 2224 | |
2238 | 2225 | /** http method */ |
... | ... | @@ -2242,8 +2229,8 @@ export const postKingdeeRepMaterialStock = /* #__PURE__ */ (() => { |
2242 | 2229 | return request; |
2243 | 2230 | })(); |
2244 | 2231 | |
2245 | -/** @description request parameter type for postKingdeeRepMaterialUnit */ | |
2246 | -export interface PostKingdeeRepMaterialUnitOption { | |
2232 | +/** @description request parameter type for postKingdeeRepCustomer */ | |
2233 | +export interface PostKingdeeRepCustomerOption { | |
2247 | 2234 | /** |
2248 | 2235 | * @description |
2249 | 2236 | * req |
... | ... | @@ -2252,17 +2239,17 @@ export interface PostKingdeeRepMaterialUnitOption { |
2252 | 2239 | /** |
2253 | 2240 | @description |
2254 | 2241 | req */ |
2255 | - req: UnitMaterialUnitListReq; | |
2242 | + req: CustomerCustomerListReq; | |
2256 | 2243 | }; |
2257 | 2244 | } |
2258 | 2245 | |
2259 | -/** @description response type for postKingdeeRepMaterialUnit */ | |
2260 | -export interface PostKingdeeRepMaterialUnitResponse { | |
2246 | +/** @description response type for postKingdeeRepCustomer */ | |
2247 | +export interface PostKingdeeRepCustomerResponse { | |
2261 | 2248 | /** |
2262 | 2249 | * @description |
2263 | 2250 | * OK |
2264 | 2251 | */ |
2265 | - 200: MaterialUnitListRes; | |
2252 | + 200: CustomerListRes; | |
2266 | 2253 | /** |
2267 | 2254 | * @description |
2268 | 2255 | * Created |
... | ... | @@ -2285,25 +2272,25 @@ export interface PostKingdeeRepMaterialUnitResponse { |
2285 | 2272 | 404: any; |
2286 | 2273 | } |
2287 | 2274 | |
2288 | -export type PostKingdeeRepMaterialUnitResponseSuccess = | |
2289 | - PostKingdeeRepMaterialUnitResponse[200]; | |
2275 | +export type PostKingdeeRepCustomerResponseSuccess = | |
2276 | + PostKingdeeRepCustomerResponse[200]; | |
2290 | 2277 | /** |
2291 | 2278 | * @description |
2292 | - * getMaterialDetail | |
2279 | + * listCustomers | |
2293 | 2280 | * @tags kingdee-erp-controller |
2294 | 2281 | * @produces * |
2295 | 2282 | * @consumes application/json |
2296 | 2283 | */ |
2297 | -export const postKingdeeRepMaterialUnit = /* #__PURE__ */ (() => { | |
2284 | +export const postKingdeeRepCustomer = /* #__PURE__ */ (() => { | |
2298 | 2285 | const method = 'post'; |
2299 | - const url = '/kingdee/rep/materialUnit'; | |
2286 | + const url = '/kingdee/rep/customer'; | |
2300 | 2287 | function request( |
2301 | - option: PostKingdeeRepMaterialUnitOption, | |
2302 | - ): Promise<PostKingdeeRepMaterialUnitResponseSuccess> { | |
2288 | + option: PostKingdeeRepCustomerOption, | |
2289 | + ): Promise<PostKingdeeRepCustomerResponseSuccess> { | |
2303 | 2290 | return requester(request.url, { |
2304 | 2291 | method: request.method, |
2305 | 2292 | ...option, |
2306 | - }) as unknown as Promise<PostKingdeeRepMaterialUnitResponseSuccess>; | |
2293 | + }) as unknown as Promise<PostKingdeeRepCustomerResponseSuccess>; | |
2307 | 2294 | } |
2308 | 2295 | |
2309 | 2296 | /** http method */ |
... | ... | @@ -2313,27 +2300,27 @@ export const postKingdeeRepMaterialUnit = /* #__PURE__ */ (() => { |
2313 | 2300 | return request; |
2314 | 2301 | })(); |
2315 | 2302 | |
2316 | -/** @description request parameter type for postKingdeeRepMeasureUnit */ | |
2317 | -export interface PostKingdeeRepMeasureUnitOption { | |
2303 | +/** @description request parameter type for postKingdeeRepCustomerDetail */ | |
2304 | +export interface PostKingdeeRepCustomerDetailOption { | |
2318 | 2305 | /** |
2319 | 2306 | * @description |
2320 | - * req | |
2307 | + * dto | |
2321 | 2308 | */ |
2322 | 2309 | body: { |
2323 | 2310 | /** |
2324 | 2311 | @description |
2325 | - req */ | |
2326 | - req: UnitMeasureUnitListReq; | |
2312 | + dto */ | |
2313 | + dto: CustomerDetailDto; | |
2327 | 2314 | }; |
2328 | 2315 | } |
2329 | 2316 | |
2330 | -/** @description response type for postKingdeeRepMeasureUnit */ | |
2331 | -export interface PostKingdeeRepMeasureUnitResponse { | |
2317 | +/** @description response type for postKingdeeRepCustomerDetail */ | |
2318 | +export interface PostKingdeeRepCustomerDetailResponse { | |
2332 | 2319 | /** |
2333 | 2320 | * @description |
2334 | 2321 | * OK |
2335 | 2322 | */ |
2336 | - 200: MeasureUnitListRes; | |
2323 | + 200: CustomerDetailRes; | |
2337 | 2324 | /** |
2338 | 2325 | * @description |
2339 | 2326 | * Created |
... | ... | @@ -2356,8 +2343,8 @@ export interface PostKingdeeRepMeasureUnitResponse { |
2356 | 2343 | 404: any; |
2357 | 2344 | } |
2358 | 2345 | |
2359 | -export type PostKingdeeRepMeasureUnitResponseSuccess = | |
2360 | - PostKingdeeRepMeasureUnitResponse[200]; | |
2346 | +export type PostKingdeeRepCustomerDetailResponseSuccess = | |
2347 | + PostKingdeeRepCustomerDetailResponse[200]; | |
2361 | 2348 | /** |
2362 | 2349 | * @description |
2363 | 2350 | * getCustomerDetail |
... | ... | @@ -2365,16 +2352,16 @@ export type PostKingdeeRepMeasureUnitResponseSuccess = |
2365 | 2352 | * @produces * |
2366 | 2353 | * @consumes application/json |
2367 | 2354 | */ |
2368 | -export const postKingdeeRepMeasureUnit = /* #__PURE__ */ (() => { | |
2355 | +export const postKingdeeRepCustomerDetail = /* #__PURE__ */ (() => { | |
2369 | 2356 | const method = 'post'; |
2370 | - const url = '/kingdee/rep/measureUnit'; | |
2357 | + const url = '/kingdee/rep/customerDetail'; | |
2371 | 2358 | function request( |
2372 | - option: PostKingdeeRepMeasureUnitOption, | |
2373 | - ): Promise<PostKingdeeRepMeasureUnitResponseSuccess> { | |
2359 | + option: PostKingdeeRepCustomerDetailOption, | |
2360 | + ): Promise<PostKingdeeRepCustomerDetailResponseSuccess> { | |
2374 | 2361 | return requester(request.url, { |
2375 | 2362 | method: request.method, |
2376 | 2363 | ...option, |
2377 | - }) as unknown as Promise<PostKingdeeRepMeasureUnitResponseSuccess>; | |
2364 | + }) as unknown as Promise<PostKingdeeRepCustomerDetailResponseSuccess>; | |
2378 | 2365 | } |
2379 | 2366 | |
2380 | 2367 | /** http method */ |
... | ... | @@ -2384,27 +2371,27 @@ export const postKingdeeRepMeasureUnit = /* #__PURE__ */ (() => { |
2384 | 2371 | return request; |
2385 | 2372 | })(); |
2386 | 2373 | |
2387 | -/** @description request parameter type for postKingdeeRepSalBillOutbound */ | |
2388 | -export interface PostKingdeeRepSalBillOutboundOption { | |
2374 | +/** @description request parameter type for postKingdeeRepCustomerSave */ | |
2375 | +export interface PostKingdeeRepCustomerSaveOption { | |
2389 | 2376 | /** |
2390 | 2377 | * @description |
2391 | - * salOrderSaveDto | |
2378 | + * req | |
2392 | 2379 | */ |
2393 | 2380 | body: { |
2394 | 2381 | /** |
2395 | 2382 | @description |
2396 | - salOrderSaveDto */ | |
2397 | - salOrderSaveDto: SalOrderSaveDto; | |
2383 | + req */ | |
2384 | + req: CustomerSaveReq; | |
2398 | 2385 | }; |
2399 | 2386 | } |
2400 | 2387 | |
2401 | -/** @description response type for postKingdeeRepSalBillOutbound */ | |
2402 | -export interface PostKingdeeRepSalBillOutboundResponse { | |
2388 | +/** @description response type for postKingdeeRepCustomerSave */ | |
2389 | +export interface PostKingdeeRepCustomerSaveResponse { | |
2403 | 2390 | /** |
2404 | 2391 | * @description |
2405 | 2392 | * OK |
2406 | 2393 | */ |
2407 | - 200: ServerResult; | |
2394 | + 200: SaveReply; | |
2408 | 2395 | /** |
2409 | 2396 | * @description |
2410 | 2397 | * Created |
... | ... | @@ -2427,25 +2414,25 @@ export interface PostKingdeeRepSalBillOutboundResponse { |
2427 | 2414 | 404: any; |
2428 | 2415 | } |
2429 | 2416 | |
2430 | -export type PostKingdeeRepSalBillOutboundResponseSuccess = | |
2431 | - PostKingdeeRepSalBillOutboundResponse[200]; | |
2417 | +export type PostKingdeeRepCustomerSaveResponseSuccess = | |
2418 | + PostKingdeeRepCustomerSaveResponse[200]; | |
2432 | 2419 | /** |
2433 | 2420 | * @description |
2434 | - * salBillOutbound | |
2421 | + * customerSave | |
2435 | 2422 | * @tags kingdee-erp-controller |
2436 | 2423 | * @produces * |
2437 | 2424 | * @consumes application/json |
2438 | 2425 | */ |
2439 | -export const postKingdeeRepSalBillOutbound = /* #__PURE__ */ (() => { | |
2426 | +export const postKingdeeRepCustomerSave = /* #__PURE__ */ (() => { | |
2440 | 2427 | const method = 'post'; |
2441 | - const url = '/kingdee/rep/salBillOutbound'; | |
2428 | + const url = '/kingdee/rep/customerSave'; | |
2442 | 2429 | function request( |
2443 | - option: PostKingdeeRepSalBillOutboundOption, | |
2444 | - ): Promise<PostKingdeeRepSalBillOutboundResponseSuccess> { | |
2430 | + option: PostKingdeeRepCustomerSaveOption, | |
2431 | + ): Promise<PostKingdeeRepCustomerSaveResponseSuccess> { | |
2445 | 2432 | return requester(request.url, { |
2446 | 2433 | method: request.method, |
2447 | 2434 | ...option, |
2448 | - }) as unknown as Promise<PostKingdeeRepSalBillOutboundResponseSuccess>; | |
2435 | + }) as unknown as Promise<PostKingdeeRepCustomerSaveResponseSuccess>; | |
2449 | 2436 | } |
2450 | 2437 | |
2451 | 2438 | /** http method */ |
... | ... | @@ -2455,27 +2442,27 @@ export const postKingdeeRepSalBillOutbound = /* #__PURE__ */ (() => { |
2455 | 2442 | return request; |
2456 | 2443 | })(); |
2457 | 2444 | |
2458 | -/** @description request parameter type for postKingdeeRepSalOrderSave */ | |
2459 | -export interface PostKingdeeRepSalOrderSaveOption { | |
2445 | +/** @description request parameter type for postKingdeeRepMaterial */ | |
2446 | +export interface PostKingdeeRepMaterialOption { | |
2460 | 2447 | /** |
2461 | 2448 | * @description |
2462 | - * salOrderSaveDto | |
2449 | + * req | |
2463 | 2450 | */ |
2464 | 2451 | body: { |
2465 | 2452 | /** |
2466 | 2453 | @description |
2467 | - salOrderSaveDto */ | |
2468 | - salOrderSaveDto: SalOrderSaveDto; | |
2454 | + req */ | |
2455 | + req: MaterialMaterialListReq; | |
2469 | 2456 | }; |
2470 | 2457 | } |
2471 | 2458 | |
2472 | -/** @description response type for postKingdeeRepSalOrderSave */ | |
2473 | -export interface PostKingdeeRepSalOrderSaveResponse { | |
2459 | +/** @description response type for postKingdeeRepMaterial */ | |
2460 | +export interface PostKingdeeRepMaterialResponse { | |
2474 | 2461 | /** |
2475 | 2462 | * @description |
2476 | 2463 | * OK |
2477 | 2464 | */ |
2478 | - 200: ServerResult; | |
2465 | + 200: MaterialListReply; | |
2479 | 2466 | /** |
2480 | 2467 | * @description |
2481 | 2468 | * Created |
... | ... | @@ -2498,25 +2485,25 @@ export interface PostKingdeeRepSalOrderSaveResponse { |
2498 | 2485 | 404: any; |
2499 | 2486 | } |
2500 | 2487 | |
2501 | -export type PostKingdeeRepSalOrderSaveResponseSuccess = | |
2502 | - PostKingdeeRepSalOrderSaveResponse[200]; | |
2488 | +export type PostKingdeeRepMaterialResponseSuccess = | |
2489 | + PostKingdeeRepMaterialResponse[200]; | |
2503 | 2490 | /** |
2504 | 2491 | * @description |
2505 | - * salOrderSave | |
2492 | + * listMaterial | |
2506 | 2493 | * @tags kingdee-erp-controller |
2507 | 2494 | * @produces * |
2508 | 2495 | * @consumes application/json |
2509 | 2496 | */ |
2510 | -export const postKingdeeRepSalOrderSave = /* #__PURE__ */ (() => { | |
2497 | +export const postKingdeeRepMaterial = /* #__PURE__ */ (() => { | |
2511 | 2498 | const method = 'post'; |
2512 | - const url = '/kingdee/rep/salOrderSave'; | |
2499 | + const url = '/kingdee/rep/material'; | |
2513 | 2500 | function request( |
2514 | - option: PostKingdeeRepSalOrderSaveOption, | |
2515 | - ): Promise<PostKingdeeRepSalOrderSaveResponseSuccess> { | |
2501 | + option: PostKingdeeRepMaterialOption, | |
2502 | + ): Promise<PostKingdeeRepMaterialResponseSuccess> { | |
2516 | 2503 | return requester(request.url, { |
2517 | 2504 | method: request.method, |
2518 | 2505 | ...option, |
2519 | - }) as unknown as Promise<PostKingdeeRepSalOrderSaveResponseSuccess>; | |
2506 | + }) as unknown as Promise<PostKingdeeRepMaterialResponseSuccess>; | |
2520 | 2507 | } |
2521 | 2508 | |
2522 | 2509 | /** http method */ |
... | ... | @@ -2526,8 +2513,8 @@ export const postKingdeeRepSalOrderSave = /* #__PURE__ */ (() => { |
2526 | 2513 | return request; |
2527 | 2514 | })(); |
2528 | 2515 | |
2529 | -/** @description request parameter type for postKingdeeRepSystemCustomField */ | |
2530 | -export interface PostKingdeeRepSystemCustomFieldOption { | |
2516 | +/** @description request parameter type for postKingdeeRepMaterialStock */ | |
2517 | +export interface PostKingdeeRepMaterialStockOption { | |
2531 | 2518 | /** |
2532 | 2519 | * @description |
2533 | 2520 | * req |
... | ... | @@ -2536,17 +2523,17 @@ export interface PostKingdeeRepSystemCustomFieldOption { |
2536 | 2523 | /** |
2537 | 2524 | @description |
2538 | 2525 | req */ |
2539 | - req: SystemCustomFieldReq; | |
2526 | + req: InventoryMaterialStockReq; | |
2540 | 2527 | }; |
2541 | 2528 | } |
2542 | 2529 | |
2543 | -/** @description response type for postKingdeeRepSystemCustomField */ | |
2544 | -export interface PostKingdeeRepSystemCustomFieldResponse { | |
2530 | +/** @description response type for postKingdeeRepMaterialStock */ | |
2531 | +export interface PostKingdeeRepMaterialStockResponse { | |
2545 | 2532 | /** |
2546 | 2533 | * @description |
2547 | 2534 | * OK |
2548 | 2535 | */ |
2549 | - 200: CustomFieldRes; | |
2536 | + 200: MaterialStockRes; | |
2550 | 2537 | /** |
2551 | 2538 | * @description |
2552 | 2539 | * Created |
... | ... | @@ -2569,25 +2556,25 @@ export interface PostKingdeeRepSystemCustomFieldResponse { |
2569 | 2556 | 404: any; |
2570 | 2557 | } |
2571 | 2558 | |
2572 | -export type PostKingdeeRepSystemCustomFieldResponseSuccess = | |
2573 | - PostKingdeeRepSystemCustomFieldResponse[200]; | |
2559 | +export type PostKingdeeRepMaterialStockResponseSuccess = | |
2560 | + PostKingdeeRepMaterialStockResponse[200]; | |
2574 | 2561 | /** |
2575 | 2562 | * @description |
2576 | - * listCustomFields | |
2563 | + * listMaterialStock | |
2577 | 2564 | * @tags kingdee-erp-controller |
2578 | 2565 | * @produces * |
2579 | 2566 | * @consumes application/json |
2580 | 2567 | */ |
2581 | -export const postKingdeeRepSystemCustomField = /* #__PURE__ */ (() => { | |
2568 | +export const postKingdeeRepMaterialStock = /* #__PURE__ */ (() => { | |
2582 | 2569 | const method = 'post'; |
2583 | - const url = '/kingdee/rep/systemCustomField'; | |
2570 | + const url = '/kingdee/rep/materialStock'; | |
2584 | 2571 | function request( |
2585 | - option: PostKingdeeRepSystemCustomFieldOption, | |
2586 | - ): Promise<PostKingdeeRepSystemCustomFieldResponseSuccess> { | |
2572 | + option: PostKingdeeRepMaterialStockOption, | |
2573 | + ): Promise<PostKingdeeRepMaterialStockResponseSuccess> { | |
2587 | 2574 | return requester(request.url, { |
2588 | 2575 | method: request.method, |
2589 | 2576 | ...option, |
2590 | - }) as unknown as Promise<PostKingdeeRepSystemCustomFieldResponseSuccess>; | |
2577 | + }) as unknown as Promise<PostKingdeeRepMaterialStockResponseSuccess>; | |
2591 | 2578 | } |
2592 | 2579 | |
2593 | 2580 | /** http method */ |
... | ... | @@ -2597,27 +2584,27 @@ export const postKingdeeRepSystemCustomField = /* #__PURE__ */ (() => { |
2597 | 2584 | return request; |
2598 | 2585 | })(); |
2599 | 2586 | |
2600 | -/** @description request parameter type for postOfficialWebsiteUploadAliOss */ | |
2601 | -export interface PostOfficialWebsiteUploadAliOssOption { | |
2587 | +/** @description request parameter type for postKingdeeRepMaterialUnit */ | |
2588 | +export interface PostKingdeeRepMaterialUnitOption { | |
2602 | 2589 | /** |
2603 | 2590 | * @description |
2604 | - * files | |
2591 | + * req | |
2605 | 2592 | */ |
2606 | - formData: { | |
2593 | + body: { | |
2607 | 2594 | /** |
2608 | 2595 | @description |
2609 | - files */ | |
2610 | - files: Array<File>; | |
2596 | + req */ | |
2597 | + req: UnitMaterialUnitListReq; | |
2611 | 2598 | }; |
2612 | 2599 | } |
2613 | 2600 | |
2614 | -/** @description response type for postOfficialWebsiteUploadAliOss */ | |
2615 | -export interface PostOfficialWebsiteUploadAliOssResponse { | |
2601 | +/** @description response type for postKingdeeRepMaterialUnit */ | |
2602 | +export interface PostKingdeeRepMaterialUnitResponse { | |
2616 | 2603 | /** |
2617 | 2604 | * @description |
2618 | 2605 | * OK |
2619 | 2606 | */ |
2620 | - 200: ServerResult; | |
2607 | + 200: MaterialUnitListRes; | |
2621 | 2608 | /** |
2622 | 2609 | * @description |
2623 | 2610 | * Created |
... | ... | @@ -2640,25 +2627,25 @@ export interface PostOfficialWebsiteUploadAliOssResponse { |
2640 | 2627 | 404: any; |
2641 | 2628 | } |
2642 | 2629 | |
2643 | -export type PostOfficialWebsiteUploadAliOssResponseSuccess = | |
2644 | - PostOfficialWebsiteUploadAliOssResponse[200]; | |
2630 | +export type PostKingdeeRepMaterialUnitResponseSuccess = | |
2631 | + PostKingdeeRepMaterialUnitResponse[200]; | |
2645 | 2632 | /** |
2646 | 2633 | * @description |
2647 | - * 为官网提供上传文件的接口 | |
2648 | - * @tags 官网 | |
2634 | + * getMaterialDetail | |
2635 | + * @tags kingdee-erp-controller | |
2649 | 2636 | * @produces * |
2650 | 2637 | * @consumes application/json |
2651 | 2638 | */ |
2652 | -export const postOfficialWebsiteUploadAliOss = /* #__PURE__ */ (() => { | |
2639 | +export const postKingdeeRepMaterialUnit = /* #__PURE__ */ (() => { | |
2653 | 2640 | const method = 'post'; |
2654 | - const url = '/official/website/uploadAliOss'; | |
2641 | + const url = '/kingdee/rep/materialUnit'; | |
2655 | 2642 | function request( |
2656 | - option: PostOfficialWebsiteUploadAliOssOption, | |
2657 | - ): Promise<PostOfficialWebsiteUploadAliOssResponseSuccess> { | |
2643 | + option: PostKingdeeRepMaterialUnitOption, | |
2644 | + ): Promise<PostKingdeeRepMaterialUnitResponseSuccess> { | |
2658 | 2645 | return requester(request.url, { |
2659 | 2646 | method: request.method, |
2660 | 2647 | ...option, |
2661 | - }) as unknown as Promise<PostOfficialWebsiteUploadAliOssResponseSuccess>; | |
2648 | + }) as unknown as Promise<PostKingdeeRepMaterialUnitResponseSuccess>; | |
2662 | 2649 | } |
2663 | 2650 | |
2664 | 2651 | /** http method */ |
... | ... | @@ -2668,27 +2655,27 @@ export const postOfficialWebsiteUploadAliOss = /* #__PURE__ */ (() => { |
2668 | 2655 | return request; |
2669 | 2656 | })(); |
2670 | 2657 | |
2671 | -/** @description request parameter type for postOrderErpApplyList */ | |
2672 | -export interface PostOrderErpApplyListOption { | |
2658 | +/** @description request parameter type for postKingdeeRepMeasureUnit */ | |
2659 | +export interface PostKingdeeRepMeasureUnitOption { | |
2673 | 2660 | /** |
2674 | 2661 | * @description |
2675 | - * orderFieldLockApplyQueryVO | |
2662 | + * req | |
2676 | 2663 | */ |
2677 | 2664 | body: { |
2678 | 2665 | /** |
2679 | 2666 | @description |
2680 | - orderFieldLockApplyQueryVO */ | |
2681 | - orderFieldLockApplyQueryVO: OrderFieldLockApplyQueryVO; | |
2667 | + req */ | |
2668 | + req: UnitMeasureUnitListReq; | |
2682 | 2669 | }; |
2683 | 2670 | } |
2684 | 2671 | |
2685 | -/** @description response type for postOrderErpApplyList */ | |
2686 | -export interface PostOrderErpApplyListResponse { | |
2672 | +/** @description response type for postKingdeeRepMeasureUnit */ | |
2673 | +export interface PostKingdeeRepMeasureUnitResponse { | |
2687 | 2674 | /** |
2688 | 2675 | * @description |
2689 | 2676 | * OK |
2690 | 2677 | */ |
2691 | - 200: ServerResult; | |
2678 | + 200: MeasureUnitListRes; | |
2692 | 2679 | /** |
2693 | 2680 | * @description |
2694 | 2681 | * Created |
... | ... | @@ -2711,25 +2698,25 @@ export interface PostOrderErpApplyListResponse { |
2711 | 2698 | 404: any; |
2712 | 2699 | } |
2713 | 2700 | |
2714 | -export type PostOrderErpApplyListResponseSuccess = | |
2715 | - PostOrderErpApplyListResponse[200]; | |
2701 | +export type PostKingdeeRepMeasureUnitResponseSuccess = | |
2702 | + PostKingdeeRepMeasureUnitResponse[200]; | |
2716 | 2703 | /** |
2717 | 2704 | * @description |
2718 | - * 分页查询 | |
2719 | - * @tags 用户订单-字段锁定申请(忽略) | |
2705 | + * getCustomerDetail | |
2706 | + * @tags kingdee-erp-controller | |
2720 | 2707 | * @produces * |
2721 | 2708 | * @consumes application/json |
2722 | 2709 | */ |
2723 | -export const postOrderErpApplyList = /* #__PURE__ */ (() => { | |
2710 | +export const postKingdeeRepMeasureUnit = /* #__PURE__ */ (() => { | |
2724 | 2711 | const method = 'post'; |
2725 | - const url = '/order/erp/apply/list'; | |
2712 | + const url = '/kingdee/rep/measureUnit'; | |
2726 | 2713 | function request( |
2727 | - option: PostOrderErpApplyListOption, | |
2728 | - ): Promise<PostOrderErpApplyListResponseSuccess> { | |
2714 | + option: PostKingdeeRepMeasureUnitOption, | |
2715 | + ): Promise<PostKingdeeRepMeasureUnitResponseSuccess> { | |
2729 | 2716 | return requester(request.url, { |
2730 | 2717 | method: request.method, |
2731 | 2718 | ...option, |
2732 | - }) as unknown as Promise<PostOrderErpApplyListResponseSuccess>; | |
2719 | + }) as unknown as Promise<PostKingdeeRepMeasureUnitResponseSuccess>; | |
2733 | 2720 | } |
2734 | 2721 | |
2735 | 2722 | /** http method */ |
... | ... | @@ -2739,22 +2726,22 @@ export const postOrderErpApplyList = /* #__PURE__ */ (() => { |
2739 | 2726 | return request; |
2740 | 2727 | })(); |
2741 | 2728 | |
2742 | -/** @description request parameter type for postOrderErpAuditAuditList */ | |
2743 | -export interface PostOrderErpAuditAuditListOption { | |
2729 | +/** @description request parameter type for postKingdeeRepSalBillOutbound */ | |
2730 | +export interface PostKingdeeRepSalBillOutboundOption { | |
2744 | 2731 | /** |
2745 | 2732 | * @description |
2746 | - * queryVO | |
2733 | + * salOrderSaveDto | |
2747 | 2734 | */ |
2748 | 2735 | body: { |
2749 | 2736 | /** |
2750 | 2737 | @description |
2751 | - queryVO */ | |
2752 | - queryVO: OrderFieldLockApplyQueryVO; | |
2738 | + salOrderSaveDto */ | |
2739 | + salOrderSaveDto: SalOrderSaveDto; | |
2753 | 2740 | }; |
2754 | 2741 | } |
2755 | 2742 | |
2756 | -/** @description response type for postOrderErpAuditAuditList */ | |
2757 | -export interface PostOrderErpAuditAuditListResponse { | |
2743 | +/** @description response type for postKingdeeRepSalBillOutbound */ | |
2744 | +export interface PostKingdeeRepSalBillOutboundResponse { | |
2758 | 2745 | /** |
2759 | 2746 | * @description |
2760 | 2747 | * OK |
... | ... | @@ -2782,25 +2769,25 @@ export interface PostOrderErpAuditAuditListResponse { |
2782 | 2769 | 404: any; |
2783 | 2770 | } |
2784 | 2771 | |
2785 | -export type PostOrderErpAuditAuditListResponseSuccess = | |
2786 | - PostOrderErpAuditAuditListResponse[200]; | |
2772 | +export type PostKingdeeRepSalBillOutboundResponseSuccess = | |
2773 | + PostKingdeeRepSalBillOutboundResponse[200]; | |
2787 | 2774 | /** |
2788 | 2775 | * @description |
2789 | - * 已审批列表 | |
2790 | - * @tags 审批管理 | |
2776 | + * salBillOutbound | |
2777 | + * @tags kingdee-erp-controller | |
2791 | 2778 | * @produces * |
2792 | 2779 | * @consumes application/json |
2793 | 2780 | */ |
2794 | -export const postOrderErpAuditAuditList = /* #__PURE__ */ (() => { | |
2781 | +export const postKingdeeRepSalBillOutbound = /* #__PURE__ */ (() => { | |
2795 | 2782 | const method = 'post'; |
2796 | - const url = '/order/erp/audit/audit_list'; | |
2783 | + const url = '/kingdee/rep/salBillOutbound'; | |
2797 | 2784 | function request( |
2798 | - option: PostOrderErpAuditAuditListOption, | |
2799 | - ): Promise<PostOrderErpAuditAuditListResponseSuccess> { | |
2785 | + option: PostKingdeeRepSalBillOutboundOption, | |
2786 | + ): Promise<PostKingdeeRepSalBillOutboundResponseSuccess> { | |
2800 | 2787 | return requester(request.url, { |
2801 | 2788 | method: request.method, |
2802 | 2789 | ...option, |
2803 | - }) as unknown as Promise<PostOrderErpAuditAuditListResponseSuccess>; | |
2790 | + }) as unknown as Promise<PostKingdeeRepSalBillOutboundResponseSuccess>; | |
2804 | 2791 | } |
2805 | 2792 | |
2806 | 2793 | /** http method */ |
... | ... | @@ -2810,22 +2797,22 @@ export const postOrderErpAuditAuditList = /* #__PURE__ */ (() => { |
2810 | 2797 | return request; |
2811 | 2798 | })(); |
2812 | 2799 | |
2813 | -/** @description request parameter type for postOrderErpAuditDoAudit */ | |
2814 | -export interface PostOrderErpAuditDoAuditOption { | |
2800 | +/** @description request parameter type for postKingdeeRepSalOrderSave */ | |
2801 | +export interface PostKingdeeRepSalOrderSaveOption { | |
2815 | 2802 | /** |
2816 | 2803 | * @description |
2817 | - * auditVO | |
2804 | + * salOrderSaveDto | |
2818 | 2805 | */ |
2819 | 2806 | body: { |
2820 | 2807 | /** |
2821 | 2808 | @description |
2822 | - auditVO */ | |
2823 | - auditVO: AuditVO; | |
2809 | + salOrderSaveDto */ | |
2810 | + salOrderSaveDto: SalOrderSaveDto; | |
2824 | 2811 | }; |
2825 | 2812 | } |
2826 | 2813 | |
2827 | -/** @description response type for postOrderErpAuditDoAudit */ | |
2828 | -export interface PostOrderErpAuditDoAuditResponse { | |
2814 | +/** @description response type for postKingdeeRepSalOrderSave */ | |
2815 | +export interface PostKingdeeRepSalOrderSaveResponse { | |
2829 | 2816 | /** |
2830 | 2817 | * @description |
2831 | 2818 | * OK |
... | ... | @@ -2853,25 +2840,25 @@ export interface PostOrderErpAuditDoAuditResponse { |
2853 | 2840 | 404: any; |
2854 | 2841 | } |
2855 | 2842 | |
2856 | -export type PostOrderErpAuditDoAuditResponseSuccess = | |
2857 | - PostOrderErpAuditDoAuditResponse[200]; | |
2843 | +export type PostKingdeeRepSalOrderSaveResponseSuccess = | |
2844 | + PostKingdeeRepSalOrderSaveResponse[200]; | |
2858 | 2845 | /** |
2859 | 2846 | * @description |
2860 | - * 审核 | |
2861 | - * @tags 审批管理 | |
2847 | + * salOrderSave | |
2848 | + * @tags kingdee-erp-controller | |
2862 | 2849 | * @produces * |
2863 | 2850 | * @consumes application/json |
2864 | 2851 | */ |
2865 | -export const postOrderErpAuditDoAudit = /* #__PURE__ */ (() => { | |
2852 | +export const postKingdeeRepSalOrderSave = /* #__PURE__ */ (() => { | |
2866 | 2853 | const method = 'post'; |
2867 | - const url = '/order/erp/audit/do_audit'; | |
2854 | + const url = '/kingdee/rep/salOrderSave'; | |
2868 | 2855 | function request( |
2869 | - option: PostOrderErpAuditDoAuditOption, | |
2870 | - ): Promise<PostOrderErpAuditDoAuditResponseSuccess> { | |
2856 | + option: PostKingdeeRepSalOrderSaveOption, | |
2857 | + ): Promise<PostKingdeeRepSalOrderSaveResponseSuccess> { | |
2871 | 2858 | return requester(request.url, { |
2872 | 2859 | method: request.method, |
2873 | 2860 | ...option, |
2874 | - }) as unknown as Promise<PostOrderErpAuditDoAuditResponseSuccess>; | |
2861 | + }) as unknown as Promise<PostKingdeeRepSalOrderSaveResponseSuccess>; | |
2875 | 2862 | } |
2876 | 2863 | |
2877 | 2864 | /** http method */ |
... | ... | @@ -2881,27 +2868,27 @@ export const postOrderErpAuditDoAudit = /* #__PURE__ */ (() => { |
2881 | 2868 | return request; |
2882 | 2869 | })(); |
2883 | 2870 | |
2884 | -/** @description request parameter type for postOrderErpAuditListByPage */ | |
2885 | -export interface PostOrderErpAuditListByPageOption { | |
2871 | +/** @description request parameter type for postKingdeeRepSystemCustomField */ | |
2872 | +export interface PostKingdeeRepSystemCustomFieldOption { | |
2886 | 2873 | /** |
2887 | 2874 | * @description |
2888 | - * queryVO | |
2875 | + * req | |
2889 | 2876 | */ |
2890 | 2877 | body: { |
2891 | 2878 | /** |
2892 | 2879 | @description |
2893 | - queryVO */ | |
2894 | - queryVO: OrderFieldLockApplyQueryVO; | |
2880 | + req */ | |
2881 | + req: SystemCustomFieldReq; | |
2895 | 2882 | }; |
2896 | 2883 | } |
2897 | 2884 | |
2898 | -/** @description response type for postOrderErpAuditListByPage */ | |
2899 | -export interface PostOrderErpAuditListByPageResponse { | |
2885 | +/** @description response type for postKingdeeRepSystemCustomField */ | |
2886 | +export interface PostKingdeeRepSystemCustomFieldResponse { | |
2900 | 2887 | /** |
2901 | 2888 | * @description |
2902 | 2889 | * OK |
2903 | 2890 | */ |
2904 | - 200: ServerResult; | |
2891 | + 200: CustomFieldRes; | |
2905 | 2892 | /** |
2906 | 2893 | * @description |
2907 | 2894 | * Created |
... | ... | @@ -2924,25 +2911,25 @@ export interface PostOrderErpAuditListByPageResponse { |
2924 | 2911 | 404: any; |
2925 | 2912 | } |
2926 | 2913 | |
2927 | -export type PostOrderErpAuditListByPageResponseSuccess = | |
2928 | - PostOrderErpAuditListByPageResponse[200]; | |
2914 | +export type PostKingdeeRepSystemCustomFieldResponseSuccess = | |
2915 | + PostKingdeeRepSystemCustomFieldResponse[200]; | |
2929 | 2916 | /** |
2930 | 2917 | * @description |
2931 | - * 分页查询 | |
2932 | - * @tags 审批管理 | |
2918 | + * listCustomFields | |
2919 | + * @tags kingdee-erp-controller | |
2933 | 2920 | * @produces * |
2934 | 2921 | * @consumes application/json |
2935 | 2922 | */ |
2936 | -export const postOrderErpAuditListByPage = /* #__PURE__ */ (() => { | |
2923 | +export const postKingdeeRepSystemCustomField = /* #__PURE__ */ (() => { | |
2937 | 2924 | const method = 'post'; |
2938 | - const url = '/order/erp/audit/list_by_page'; | |
2925 | + const url = '/kingdee/rep/systemCustomField'; | |
2939 | 2926 | function request( |
2940 | - option: PostOrderErpAuditListByPageOption, | |
2941 | - ): Promise<PostOrderErpAuditListByPageResponseSuccess> { | |
2927 | + option: PostKingdeeRepSystemCustomFieldOption, | |
2928 | + ): Promise<PostKingdeeRepSystemCustomFieldResponseSuccess> { | |
2942 | 2929 | return requester(request.url, { |
2943 | 2930 | method: request.method, |
2944 | 2931 | ...option, |
2945 | - }) as unknown as Promise<PostOrderErpAuditListByPageResponseSuccess>; | |
2932 | + }) as unknown as Promise<PostKingdeeRepSystemCustomFieldResponseSuccess>; | |
2946 | 2933 | } |
2947 | 2934 | |
2948 | 2935 | /** http method */ |
... | ... | @@ -2952,22 +2939,22 @@ export const postOrderErpAuditListByPage = /* #__PURE__ */ (() => { |
2952 | 2939 | return request; |
2953 | 2940 | })(); |
2954 | 2941 | |
2955 | -/** @description request parameter type for postOrderErpAuditLogListByPage */ | |
2956 | -export interface PostOrderErpAuditLogListByPageOption { | |
2942 | +/** @description request parameter type for postOfficialWebsiteUploadAliOss */ | |
2943 | +export interface PostOfficialWebsiteUploadAliOssOption { | |
2957 | 2944 | /** |
2958 | 2945 | * @description |
2959 | - * orderAuditLogQueryVO | |
2946 | + * files | |
2960 | 2947 | */ |
2961 | - body: { | |
2948 | + formData: { | |
2962 | 2949 | /** |
2963 | 2950 | @description |
2964 | - orderAuditLogQueryVO */ | |
2965 | - orderAuditLogQueryVO: OrderAuditLogQueryVO; | |
2951 | + files */ | |
2952 | + files: Array<File>; | |
2966 | 2953 | }; |
2967 | 2954 | } |
2968 | 2955 | |
2969 | -/** @description response type for postOrderErpAuditLogListByPage */ | |
2970 | -export interface PostOrderErpAuditLogListByPageResponse { | |
2956 | +/** @description response type for postOfficialWebsiteUploadAliOss */ | |
2957 | +export interface PostOfficialWebsiteUploadAliOssResponse { | |
2971 | 2958 | /** |
2972 | 2959 | * @description |
2973 | 2960 | * OK |
... | ... | @@ -2995,25 +2982,25 @@ export interface PostOrderErpAuditLogListByPageResponse { |
2995 | 2982 | 404: any; |
2996 | 2983 | } |
2997 | 2984 | |
2998 | -export type PostOrderErpAuditLogListByPageResponseSuccess = | |
2999 | - PostOrderErpAuditLogListByPageResponse[200]; | |
2985 | +export type PostOfficialWebsiteUploadAliOssResponseSuccess = | |
2986 | + PostOfficialWebsiteUploadAliOssResponse[200]; | |
3000 | 2987 | /** |
3001 | 2988 | * @description |
3002 | - * 分页查询 | |
3003 | - * @tags 用户订单审批日志 | |
2989 | + * 为官网提供上传文件的接口 | |
2990 | + * @tags 官网 | |
3004 | 2991 | * @produces * |
3005 | 2992 | * @consumes application/json |
3006 | 2993 | */ |
3007 | -export const postOrderErpAuditLogListByPage = /* #__PURE__ */ (() => { | |
2994 | +export const postOfficialWebsiteUploadAliOss = /* #__PURE__ */ (() => { | |
3008 | 2995 | const method = 'post'; |
3009 | - const url = '/order/erp/audit/log/list_by_page'; | |
2996 | + const url = '/official/website/uploadAliOss'; | |
3010 | 2997 | function request( |
3011 | - option: PostOrderErpAuditLogListByPageOption, | |
3012 | - ): Promise<PostOrderErpAuditLogListByPageResponseSuccess> { | |
2998 | + option: PostOfficialWebsiteUploadAliOssOption, | |
2999 | + ): Promise<PostOfficialWebsiteUploadAliOssResponseSuccess> { | |
3013 | 3000 | return requester(request.url, { |
3014 | 3001 | method: request.method, |
3015 | 3002 | ...option, |
3016 | - }) as unknown as Promise<PostOrderErpAuditLogListByPageResponseSuccess>; | |
3003 | + }) as unknown as Promise<PostOfficialWebsiteUploadAliOssResponseSuccess>; | |
3017 | 3004 | } |
3018 | 3005 | |
3019 | 3006 | /** http method */ |
... | ... | @@ -3023,22 +3010,22 @@ export const postOrderErpAuditLogListByPage = /* #__PURE__ */ (() => { |
3023 | 3010 | return request; |
3024 | 3011 | })(); |
3025 | 3012 | |
3026 | -/** @description request parameter type for postOrderErpAuditLogQueryById */ | |
3027 | -export interface PostOrderErpAuditLogQueryByIdOption { | |
3013 | +/** @description request parameter type for postOrderErpApplyList */ | |
3014 | +export interface PostOrderErpApplyListOption { | |
3028 | 3015 | /** |
3029 | 3016 | * @description |
3030 | - * orderAuditLogQueryVO | |
3017 | + * orderFieldLockApplyQueryVO | |
3031 | 3018 | */ |
3032 | 3019 | body: { |
3033 | 3020 | /** |
3034 | 3021 | @description |
3035 | - orderAuditLogQueryVO */ | |
3036 | - orderAuditLogQueryVO: OrderAuditLogQueryVO; | |
3022 | + orderFieldLockApplyQueryVO */ | |
3023 | + orderFieldLockApplyQueryVO: OrderFieldLockApplyQueryVO; | |
3037 | 3024 | }; |
3038 | 3025 | } |
3039 | 3026 | |
3040 | -/** @description response type for postOrderErpAuditLogQueryById */ | |
3041 | -export interface PostOrderErpAuditLogQueryByIdResponse { | |
3027 | +/** @description response type for postOrderErpApplyList */ | |
3028 | +export interface PostOrderErpApplyListResponse { | |
3042 | 3029 | /** |
3043 | 3030 | * @description |
3044 | 3031 | * OK |
... | ... | @@ -3066,25 +3053,25 @@ export interface PostOrderErpAuditLogQueryByIdResponse { |
3066 | 3053 | 404: any; |
3067 | 3054 | } |
3068 | 3055 | |
3069 | -export type PostOrderErpAuditLogQueryByIdResponseSuccess = | |
3070 | - PostOrderErpAuditLogQueryByIdResponse[200]; | |
3056 | +export type PostOrderErpApplyListResponseSuccess = | |
3057 | + PostOrderErpApplyListResponse[200]; | |
3071 | 3058 | /** |
3072 | 3059 | * @description |
3073 | - * 通过主键查询单条数据 | |
3074 | - * @tags 用户订单审批日志 | |
3060 | + * 分页查询 | |
3061 | + * @tags 用户订单-字段锁定申请(忽略) | |
3075 | 3062 | * @produces * |
3076 | 3063 | * @consumes application/json |
3077 | 3064 | */ |
3078 | -export const postOrderErpAuditLogQueryById = /* #__PURE__ */ (() => { | |
3065 | +export const postOrderErpApplyList = /* #__PURE__ */ (() => { | |
3079 | 3066 | const method = 'post'; |
3080 | - const url = '/order/erp/audit/log/query_by_id'; | |
3067 | + const url = '/order/erp/apply/list'; | |
3081 | 3068 | function request( |
3082 | - option: PostOrderErpAuditLogQueryByIdOption, | |
3083 | - ): Promise<PostOrderErpAuditLogQueryByIdResponseSuccess> { | |
3069 | + option: PostOrderErpApplyListOption, | |
3070 | + ): Promise<PostOrderErpApplyListResponseSuccess> { | |
3084 | 3071 | return requester(request.url, { |
3085 | 3072 | method: request.method, |
3086 | 3073 | ...option, |
3087 | - }) as unknown as Promise<PostOrderErpAuditLogQueryByIdResponseSuccess>; | |
3074 | + }) as unknown as Promise<PostOrderErpApplyListResponseSuccess>; | |
3088 | 3075 | } |
3089 | 3076 | |
3090 | 3077 | /** http method */ |
... | ... | @@ -3094,8 +3081,8 @@ export const postOrderErpAuditLogQueryById = /* #__PURE__ */ (() => { |
3094 | 3081 | return request; |
3095 | 3082 | })(); |
3096 | 3083 | |
3097 | -/** @description request parameter type for postOrderErpAuditWaitAuditList */ | |
3098 | -export interface PostOrderErpAuditWaitAuditListOption { | |
3084 | +/** @description request parameter type for postOrderErpAuditAuditList */ | |
3085 | +export interface PostOrderErpAuditAuditListOption { | |
3099 | 3086 | /** |
3100 | 3087 | * @description |
3101 | 3088 | * queryVO |
... | ... | @@ -3108,8 +3095,8 @@ export interface PostOrderErpAuditWaitAuditListOption { |
3108 | 3095 | }; |
3109 | 3096 | } |
3110 | 3097 | |
3111 | -/** @description response type for postOrderErpAuditWaitAuditList */ | |
3112 | -export interface PostOrderErpAuditWaitAuditListResponse { | |
3098 | +/** @description response type for postOrderErpAuditAuditList */ | |
3099 | +export interface PostOrderErpAuditAuditListResponse { | |
3113 | 3100 | /** |
3114 | 3101 | * @description |
3115 | 3102 | * OK |
... | ... | @@ -3137,25 +3124,25 @@ export interface PostOrderErpAuditWaitAuditListResponse { |
3137 | 3124 | 404: any; |
3138 | 3125 | } |
3139 | 3126 | |
3140 | -export type PostOrderErpAuditWaitAuditListResponseSuccess = | |
3141 | - PostOrderErpAuditWaitAuditListResponse[200]; | |
3127 | +export type PostOrderErpAuditAuditListResponseSuccess = | |
3128 | + PostOrderErpAuditAuditListResponse[200]; | |
3142 | 3129 | /** |
3143 | 3130 | * @description |
3144 | - * 待审批列表 | |
3131 | + * 已审批列表 | |
3145 | 3132 | * @tags 审批管理 |
3146 | 3133 | * @produces * |
3147 | 3134 | * @consumes application/json |
3148 | 3135 | */ |
3149 | -export const postOrderErpAuditWaitAuditList = /* #__PURE__ */ (() => { | |
3136 | +export const postOrderErpAuditAuditList = /* #__PURE__ */ (() => { | |
3150 | 3137 | const method = 'post'; |
3151 | - const url = '/order/erp/audit/wait_audit_list'; | |
3138 | + const url = '/order/erp/audit/audit_list'; | |
3152 | 3139 | function request( |
3153 | - option: PostOrderErpAuditWaitAuditListOption, | |
3154 | - ): Promise<PostOrderErpAuditWaitAuditListResponseSuccess> { | |
3140 | + option: PostOrderErpAuditAuditListOption, | |
3141 | + ): Promise<PostOrderErpAuditAuditListResponseSuccess> { | |
3155 | 3142 | return requester(request.url, { |
3156 | 3143 | method: request.method, |
3157 | 3144 | ...option, |
3158 | - }) as unknown as Promise<PostOrderErpAuditWaitAuditListResponseSuccess>; | |
3145 | + }) as unknown as Promise<PostOrderErpAuditAuditListResponseSuccess>; | |
3159 | 3146 | } |
3160 | 3147 | |
3161 | 3148 | /** http method */ |
... | ... | @@ -3165,22 +3152,22 @@ export const postOrderErpAuditWaitAuditList = /* #__PURE__ */ (() => { |
3165 | 3152 | return request; |
3166 | 3153 | })(); |
3167 | 3154 | |
3168 | -/** @description request parameter type for postOrderErpAuthLoginByPhone */ | |
3169 | -export interface PostOrderErpAuthLoginByPhoneOption { | |
3155 | +/** @description request parameter type for postOrderErpAuditDoAudit */ | |
3156 | +export interface PostOrderErpAuditDoAuditOption { | |
3170 | 3157 | /** |
3171 | 3158 | * @description |
3172 | - * loginByPhoneVO | |
3159 | + * auditVO | |
3173 | 3160 | */ |
3174 | 3161 | body: { |
3175 | 3162 | /** |
3176 | 3163 | @description |
3177 | - loginByPhoneVO */ | |
3178 | - loginByPhoneVO: AdminUserLoginByPhoneVO; | |
3164 | + auditVO */ | |
3165 | + auditVO: AuditVO; | |
3179 | 3166 | }; |
3180 | 3167 | } |
3181 | 3168 | |
3182 | -/** @description response type for postOrderErpAuthLoginByPhone */ | |
3183 | -export interface PostOrderErpAuthLoginByPhoneResponse { | |
3169 | +/** @description response type for postOrderErpAuditDoAudit */ | |
3170 | +export interface PostOrderErpAuditDoAuditResponse { | |
3184 | 3171 | /** |
3185 | 3172 | * @description |
3186 | 3173 | * OK |
... | ... | @@ -3208,25 +3195,25 @@ export interface PostOrderErpAuthLoginByPhoneResponse { |
3208 | 3195 | 404: any; |
3209 | 3196 | } |
3210 | 3197 | |
3211 | -export type PostOrderErpAuthLoginByPhoneResponseSuccess = | |
3212 | - PostOrderErpAuthLoginByPhoneResponse[200]; | |
3198 | +export type PostOrderErpAuditDoAuditResponseSuccess = | |
3199 | + PostOrderErpAuditDoAuditResponse[200]; | |
3213 | 3200 | /** |
3214 | 3201 | * @description |
3215 | - * 手机登录 | |
3216 | - * @tags login-controller | |
3202 | + * 审核 | |
3203 | + * @tags 审批管理 | |
3217 | 3204 | * @produces * |
3218 | 3205 | * @consumes application/json |
3219 | 3206 | */ |
3220 | -export const postOrderErpAuthLoginByPhone = /* #__PURE__ */ (() => { | |
3207 | +export const postOrderErpAuditDoAudit = /* #__PURE__ */ (() => { | |
3221 | 3208 | const method = 'post'; |
3222 | - const url = '/order/erp/auth/login_by_phone'; | |
3209 | + const url = '/order/erp/audit/do_audit'; | |
3223 | 3210 | function request( |
3224 | - option: PostOrderErpAuthLoginByPhoneOption, | |
3225 | - ): Promise<PostOrderErpAuthLoginByPhoneResponseSuccess> { | |
3211 | + option: PostOrderErpAuditDoAuditOption, | |
3212 | + ): Promise<PostOrderErpAuditDoAuditResponseSuccess> { | |
3226 | 3213 | return requester(request.url, { |
3227 | 3214 | method: request.method, |
3228 | 3215 | ...option, |
3229 | - }) as unknown as Promise<PostOrderErpAuthLoginByPhoneResponseSuccess>; | |
3216 | + }) as unknown as Promise<PostOrderErpAuditDoAuditResponseSuccess>; | |
3230 | 3217 | } |
3231 | 3218 | |
3232 | 3219 | /** http method */ |
... | ... | @@ -3236,22 +3223,22 @@ export const postOrderErpAuthLoginByPhone = /* #__PURE__ */ (() => { |
3236 | 3223 | return request; |
3237 | 3224 | })(); |
3238 | 3225 | |
3239 | -/** @description request parameter type for postOrderErpAuthLoginByPwd */ | |
3240 | -export interface PostOrderErpAuthLoginByPwdOption { | |
3226 | +/** @description request parameter type for postOrderErpAuditListByPage */ | |
3227 | +export interface PostOrderErpAuditListByPageOption { | |
3241 | 3228 | /** |
3242 | 3229 | * @description |
3243 | - * loginByPwdVO | |
3230 | + * queryVO | |
3244 | 3231 | */ |
3245 | 3232 | body: { |
3246 | 3233 | /** |
3247 | 3234 | @description |
3248 | - loginByPwdVO */ | |
3249 | - loginByPwdVO: AdminUserLoginByPwdVO; | |
3235 | + queryVO */ | |
3236 | + queryVO: OrderFieldLockApplyQueryVO; | |
3250 | 3237 | }; |
3251 | 3238 | } |
3252 | 3239 | |
3253 | -/** @description response type for postOrderErpAuthLoginByPwd */ | |
3254 | -export interface PostOrderErpAuthLoginByPwdResponse { | |
3240 | +/** @description response type for postOrderErpAuditListByPage */ | |
3241 | +export interface PostOrderErpAuditListByPageResponse { | |
3255 | 3242 | /** |
3256 | 3243 | * @description |
3257 | 3244 | * OK |
... | ... | @@ -3279,25 +3266,25 @@ export interface PostOrderErpAuthLoginByPwdResponse { |
3279 | 3266 | 404: any; |
3280 | 3267 | } |
3281 | 3268 | |
3282 | -export type PostOrderErpAuthLoginByPwdResponseSuccess = | |
3283 | - PostOrderErpAuthLoginByPwdResponse[200]; | |
3269 | +export type PostOrderErpAuditListByPageResponseSuccess = | |
3270 | + PostOrderErpAuditListByPageResponse[200]; | |
3284 | 3271 | /** |
3285 | 3272 | * @description |
3286 | - * 用户登录 | |
3287 | - * @tags login-controller | |
3273 | + * 分页查询 | |
3274 | + * @tags 审批管理 | |
3288 | 3275 | * @produces * |
3289 | 3276 | * @consumes application/json |
3290 | 3277 | */ |
3291 | -export const postOrderErpAuthLoginByPwd = /* #__PURE__ */ (() => { | |
3278 | +export const postOrderErpAuditListByPage = /* #__PURE__ */ (() => { | |
3292 | 3279 | const method = 'post'; |
3293 | - const url = '/order/erp/auth/login_by_pwd'; | |
3280 | + const url = '/order/erp/audit/list_by_page'; | |
3294 | 3281 | function request( |
3295 | - option: PostOrderErpAuthLoginByPwdOption, | |
3296 | - ): Promise<PostOrderErpAuthLoginByPwdResponseSuccess> { | |
3282 | + option: PostOrderErpAuditListByPageOption, | |
3283 | + ): Promise<PostOrderErpAuditListByPageResponseSuccess> { | |
3297 | 3284 | return requester(request.url, { |
3298 | 3285 | method: request.method, |
3299 | 3286 | ...option, |
3300 | - }) as unknown as Promise<PostOrderErpAuthLoginByPwdResponseSuccess>; | |
3287 | + }) as unknown as Promise<PostOrderErpAuditListByPageResponseSuccess>; | |
3301 | 3288 | } |
3302 | 3289 | |
3303 | 3290 | /** http method */ |
... | ... | @@ -3307,8 +3294,22 @@ export const postOrderErpAuthLoginByPwd = /* #__PURE__ */ (() => { |
3307 | 3294 | return request; |
3308 | 3295 | })(); |
3309 | 3296 | |
3310 | -/** @description response type for postOrderErpAuthLoginOut */ | |
3311 | -export interface PostOrderErpAuthLoginOutResponse { | |
3297 | +/** @description request parameter type for postOrderErpAuditLogListByPage */ | |
3298 | +export interface PostOrderErpAuditLogListByPageOption { | |
3299 | + /** | |
3300 | + * @description | |
3301 | + * orderAuditLogQueryVO | |
3302 | + */ | |
3303 | + body: { | |
3304 | + /** | |
3305 | + @description | |
3306 | + orderAuditLogQueryVO */ | |
3307 | + orderAuditLogQueryVO: OrderAuditLogQueryVO; | |
3308 | + }; | |
3309 | +} | |
3310 | + | |
3311 | +/** @description response type for postOrderErpAuditLogListByPage */ | |
3312 | +export interface PostOrderErpAuditLogListByPageResponse { | |
3312 | 3313 | /** |
3313 | 3314 | * @description |
3314 | 3315 | * OK |
... | ... | @@ -3336,22 +3337,25 @@ export interface PostOrderErpAuthLoginOutResponse { |
3336 | 3337 | 404: any; |
3337 | 3338 | } |
3338 | 3339 | |
3339 | -export type PostOrderErpAuthLoginOutResponseSuccess = | |
3340 | - PostOrderErpAuthLoginOutResponse[200]; | |
3340 | +export type PostOrderErpAuditLogListByPageResponseSuccess = | |
3341 | + PostOrderErpAuditLogListByPageResponse[200]; | |
3341 | 3342 | /** |
3342 | 3343 | * @description |
3343 | - * 退出登录 | |
3344 | - * @tags login-controller | |
3344 | + * 分页查询 | |
3345 | + * @tags 用户订单审批日志 | |
3345 | 3346 | * @produces * |
3346 | 3347 | * @consumes application/json |
3347 | 3348 | */ |
3348 | -export const postOrderErpAuthLoginOut = /* #__PURE__ */ (() => { | |
3349 | +export const postOrderErpAuditLogListByPage = /* #__PURE__ */ (() => { | |
3349 | 3350 | const method = 'post'; |
3350 | - const url = '/order/erp/auth/login_out'; | |
3351 | - function request(): Promise<PostOrderErpAuthLoginOutResponseSuccess> { | |
3351 | + const url = '/order/erp/audit/log/list_by_page'; | |
3352 | + function request( | |
3353 | + option: PostOrderErpAuditLogListByPageOption, | |
3354 | + ): Promise<PostOrderErpAuditLogListByPageResponseSuccess> { | |
3352 | 3355 | return requester(request.url, { |
3353 | 3356 | method: request.method, |
3354 | - }) as unknown as Promise<PostOrderErpAuthLoginOutResponseSuccess>; | |
3357 | + ...option, | |
3358 | + }) as unknown as Promise<PostOrderErpAuditLogListByPageResponseSuccess>; | |
3355 | 3359 | } |
3356 | 3360 | |
3357 | 3361 | /** http method */ |
... | ... | @@ -3361,22 +3365,22 @@ export const postOrderErpAuthLoginOut = /* #__PURE__ */ (() => { |
3361 | 3365 | return request; |
3362 | 3366 | })(); |
3363 | 3367 | |
3364 | -/** @description request parameter type for postOrderErpAuthPasswordModify */ | |
3365 | -export interface PostOrderErpAuthPasswordModifyOption { | |
3368 | +/** @description request parameter type for postOrderErpAuditLogQueryById */ | |
3369 | +export interface PostOrderErpAuditLogQueryByIdOption { | |
3366 | 3370 | /** |
3367 | 3371 | * @description |
3368 | - * modifyPwdVO | |
3372 | + * orderAuditLogQueryVO | |
3369 | 3373 | */ |
3370 | 3374 | body: { |
3371 | 3375 | /** |
3372 | 3376 | @description |
3373 | - modifyPwdVO */ | |
3374 | - modifyPwdVO: AdminUserModifyPwdVO; | |
3377 | + orderAuditLogQueryVO */ | |
3378 | + orderAuditLogQueryVO: OrderAuditLogQueryVO; | |
3375 | 3379 | }; |
3376 | 3380 | } |
3377 | 3381 | |
3378 | -/** @description response type for postOrderErpAuthPasswordModify */ | |
3379 | -export interface PostOrderErpAuthPasswordModifyResponse { | |
3382 | +/** @description response type for postOrderErpAuditLogQueryById */ | |
3383 | +export interface PostOrderErpAuditLogQueryByIdResponse { | |
3380 | 3384 | /** |
3381 | 3385 | * @description |
3382 | 3386 | * OK |
... | ... | @@ -3404,25 +3408,25 @@ export interface PostOrderErpAuthPasswordModifyResponse { |
3404 | 3408 | 404: any; |
3405 | 3409 | } |
3406 | 3410 | |
3407 | -export type PostOrderErpAuthPasswordModifyResponseSuccess = | |
3408 | - PostOrderErpAuthPasswordModifyResponse[200]; | |
3411 | +export type PostOrderErpAuditLogQueryByIdResponseSuccess = | |
3412 | + PostOrderErpAuditLogQueryByIdResponse[200]; | |
3409 | 3413 | /** |
3410 | 3414 | * @description |
3411 | - * 用户登录 | |
3412 | - * @tags login-controller | |
3415 | + * 通过主键查询单条数据 | |
3416 | + * @tags 用户订单审批日志 | |
3413 | 3417 | * @produces * |
3414 | 3418 | * @consumes application/json |
3415 | 3419 | */ |
3416 | -export const postOrderErpAuthPasswordModify = /* #__PURE__ */ (() => { | |
3420 | +export const postOrderErpAuditLogQueryById = /* #__PURE__ */ (() => { | |
3417 | 3421 | const method = 'post'; |
3418 | - const url = '/order/erp/auth/password_modify'; | |
3422 | + const url = '/order/erp/audit/log/query_by_id'; | |
3419 | 3423 | function request( |
3420 | - option: PostOrderErpAuthPasswordModifyOption, | |
3421 | - ): Promise<PostOrderErpAuthPasswordModifyResponseSuccess> { | |
3424 | + option: PostOrderErpAuditLogQueryByIdOption, | |
3425 | + ): Promise<PostOrderErpAuditLogQueryByIdResponseSuccess> { | |
3422 | 3426 | return requester(request.url, { |
3423 | 3427 | method: request.method, |
3424 | 3428 | ...option, |
3425 | - }) as unknown as Promise<PostOrderErpAuthPasswordModifyResponseSuccess>; | |
3429 | + }) as unknown as Promise<PostOrderErpAuditLogQueryByIdResponseSuccess>; | |
3426 | 3430 | } |
3427 | 3431 | |
3428 | 3432 | /** http method */ |
... | ... | @@ -3432,22 +3436,22 @@ export const postOrderErpAuthPasswordModify = /* #__PURE__ */ (() => { |
3432 | 3436 | return request; |
3433 | 3437 | })(); |
3434 | 3438 | |
3435 | -/** @description request parameter type for postOrderErpAuthPhoneRegister */ | |
3436 | -export interface PostOrderErpAuthPhoneRegisterOption { | |
3439 | +/** @description request parameter type for postOrderErpAuditWaitAuditList */ | |
3440 | +export interface PostOrderErpAuditWaitAuditListOption { | |
3437 | 3441 | /** |
3438 | 3442 | * @description |
3439 | - * registerVO | |
3443 | + * queryVO | |
3440 | 3444 | */ |
3441 | 3445 | body: { |
3442 | 3446 | /** |
3443 | 3447 | @description |
3444 | - registerVO */ | |
3445 | - registerVO: AdminUserRegisterVO; | |
3448 | + queryVO */ | |
3449 | + queryVO: OrderFieldLockApplyQueryVO; | |
3446 | 3450 | }; |
3447 | 3451 | } |
3448 | 3452 | |
3449 | -/** @description response type for postOrderErpAuthPhoneRegister */ | |
3450 | -export interface PostOrderErpAuthPhoneRegisterResponse { | |
3453 | +/** @description response type for postOrderErpAuditWaitAuditList */ | |
3454 | +export interface PostOrderErpAuditWaitAuditListResponse { | |
3451 | 3455 | /** |
3452 | 3456 | * @description |
3453 | 3457 | * OK |
... | ... | @@ -3475,25 +3479,25 @@ export interface PostOrderErpAuthPhoneRegisterResponse { |
3475 | 3479 | 404: any; |
3476 | 3480 | } |
3477 | 3481 | |
3478 | -export type PostOrderErpAuthPhoneRegisterResponseSuccess = | |
3479 | - PostOrderErpAuthPhoneRegisterResponse[200]; | |
3482 | +export type PostOrderErpAuditWaitAuditListResponseSuccess = | |
3483 | + PostOrderErpAuditWaitAuditListResponse[200]; | |
3480 | 3484 | /** |
3481 | 3485 | * @description |
3482 | - * 手机注册 | |
3483 | - * @tags login-controller | |
3486 | + * 待审批列表 | |
3487 | + * @tags 审批管理 | |
3484 | 3488 | * @produces * |
3485 | 3489 | * @consumes application/json |
3486 | 3490 | */ |
3487 | -export const postOrderErpAuthPhoneRegister = /* #__PURE__ */ (() => { | |
3491 | +export const postOrderErpAuditWaitAuditList = /* #__PURE__ */ (() => { | |
3488 | 3492 | const method = 'post'; |
3489 | - const url = '/order/erp/auth/phone_register'; | |
3493 | + const url = '/order/erp/audit/wait_audit_list'; | |
3490 | 3494 | function request( |
3491 | - option: PostOrderErpAuthPhoneRegisterOption, | |
3492 | - ): Promise<PostOrderErpAuthPhoneRegisterResponseSuccess> { | |
3495 | + option: PostOrderErpAuditWaitAuditListOption, | |
3496 | + ): Promise<PostOrderErpAuditWaitAuditListResponseSuccess> { | |
3493 | 3497 | return requester(request.url, { |
3494 | 3498 | method: request.method, |
3495 | 3499 | ...option, |
3496 | - }) as unknown as Promise<PostOrderErpAuthPhoneRegisterResponseSuccess>; | |
3500 | + }) as unknown as Promise<PostOrderErpAuditWaitAuditListResponseSuccess>; | |
3497 | 3501 | } |
3498 | 3502 | |
3499 | 3503 | /** http method */ |
... | ... | @@ -3503,22 +3507,22 @@ export const postOrderErpAuthPhoneRegister = /* #__PURE__ */ (() => { |
3503 | 3507 | return request; |
3504 | 3508 | })(); |
3505 | 3509 | |
3506 | -/** @description request parameter type for postOrderErpAuthSendPasswordRecoverMail */ | |
3507 | -export interface PostOrderErpAuthSendPasswordRecoverMailOption { | |
3510 | +/** @description request parameter type for postOrderErpAuthLoginByPhone */ | |
3511 | +export interface PostOrderErpAuthLoginByPhoneOption { | |
3508 | 3512 | /** |
3509 | 3513 | * @description |
3510 | - * recoverEmailVO | |
3514 | + * loginByPhoneVO | |
3511 | 3515 | */ |
3512 | 3516 | body: { |
3513 | 3517 | /** |
3514 | 3518 | @description |
3515 | - recoverEmailVO */ | |
3516 | - recoverEmailVO: AdminUserPasswordRecoverEmailVO; | |
3519 | + loginByPhoneVO */ | |
3520 | + loginByPhoneVO: AdminUserLoginByPhoneVO; | |
3517 | 3521 | }; |
3518 | 3522 | } |
3519 | 3523 | |
3520 | -/** @description response type for postOrderErpAuthSendPasswordRecoverMail */ | |
3521 | -export interface PostOrderErpAuthSendPasswordRecoverMailResponse { | |
3524 | +/** @description response type for postOrderErpAuthLoginByPhone */ | |
3525 | +export interface PostOrderErpAuthLoginByPhoneResponse { | |
3522 | 3526 | /** |
3523 | 3527 | * @description |
3524 | 3528 | * OK |
... | ... | @@ -3546,25 +3550,25 @@ export interface PostOrderErpAuthSendPasswordRecoverMailResponse { |
3546 | 3550 | 404: any; |
3547 | 3551 | } |
3548 | 3552 | |
3549 | -export type PostOrderErpAuthSendPasswordRecoverMailResponseSuccess = | |
3550 | - PostOrderErpAuthSendPasswordRecoverMailResponse[200]; | |
3553 | +export type PostOrderErpAuthLoginByPhoneResponseSuccess = | |
3554 | + PostOrderErpAuthLoginByPhoneResponse[200]; | |
3551 | 3555 | /** |
3552 | 3556 | * @description |
3553 | - * sendPasswordRecoverMail | |
3557 | + * 手机登录 | |
3554 | 3558 | * @tags login-controller |
3555 | 3559 | * @produces * |
3556 | 3560 | * @consumes application/json |
3557 | 3561 | */ |
3558 | -export const postOrderErpAuthSendPasswordRecoverMail = /* #__PURE__ */ (() => { | |
3562 | +export const postOrderErpAuthLoginByPhone = /* #__PURE__ */ (() => { | |
3559 | 3563 | const method = 'post'; |
3560 | - const url = '/order/erp/auth/send_password_recover_mail'; | |
3564 | + const url = '/order/erp/auth/login_by_phone'; | |
3561 | 3565 | function request( |
3562 | - option: PostOrderErpAuthSendPasswordRecoverMailOption, | |
3563 | - ): Promise<PostOrderErpAuthSendPasswordRecoverMailResponseSuccess> { | |
3566 | + option: PostOrderErpAuthLoginByPhoneOption, | |
3567 | + ): Promise<PostOrderErpAuthLoginByPhoneResponseSuccess> { | |
3564 | 3568 | return requester(request.url, { |
3565 | 3569 | method: request.method, |
3566 | 3570 | ...option, |
3567 | - }) as unknown as Promise<PostOrderErpAuthSendPasswordRecoverMailResponseSuccess>; | |
3571 | + }) as unknown as Promise<PostOrderErpAuthLoginByPhoneResponseSuccess>; | |
3568 | 3572 | } |
3569 | 3573 | |
3570 | 3574 | /** http method */ |
... | ... | @@ -3574,22 +3578,22 @@ export const postOrderErpAuthSendPasswordRecoverMail = /* #__PURE__ */ (() => { |
3574 | 3578 | return request; |
3575 | 3579 | })(); |
3576 | 3580 | |
3577 | -/** @description request parameter type for postOrderErpAuthToken */ | |
3578 | -export interface PostOrderErpAuthTokenOption { | |
3581 | +/** @description request parameter type for postOrderErpAuthLoginByPwd */ | |
3582 | +export interface PostOrderErpAuthLoginByPwdOption { | |
3579 | 3583 | /** |
3580 | 3584 | * @description |
3581 | - * tokenApiDto | |
3585 | + * loginByPwdVO | |
3582 | 3586 | */ |
3583 | 3587 | body: { |
3584 | 3588 | /** |
3585 | 3589 | @description |
3586 | - tokenApiDto */ | |
3587 | - tokenApiDto: TokenApiDto; | |
3590 | + loginByPwdVO */ | |
3591 | + loginByPwdVO: AdminUserLoginByPwdVO; | |
3588 | 3592 | }; |
3589 | 3593 | } |
3590 | 3594 | |
3591 | -/** @description response type for postOrderErpAuthToken */ | |
3592 | -export interface PostOrderErpAuthTokenResponse { | |
3595 | +/** @description response type for postOrderErpAuthLoginByPwd */ | |
3596 | +export interface PostOrderErpAuthLoginByPwdResponse { | |
3593 | 3597 | /** |
3594 | 3598 | * @description |
3595 | 3599 | * OK |
... | ... | @@ -3617,25 +3621,25 @@ export interface PostOrderErpAuthTokenResponse { |
3617 | 3621 | 404: any; |
3618 | 3622 | } |
3619 | 3623 | |
3620 | -export type PostOrderErpAuthTokenResponseSuccess = | |
3621 | - PostOrderErpAuthTokenResponse[200]; | |
3624 | +export type PostOrderErpAuthLoginByPwdResponseSuccess = | |
3625 | + PostOrderErpAuthLoginByPwdResponse[200]; | |
3622 | 3626 | /** |
3623 | 3627 | * @description |
3624 | - * 获取token | |
3628 | + * 用户登录 | |
3625 | 3629 | * @tags login-controller |
3626 | 3630 | * @produces * |
3627 | 3631 | * @consumes application/json |
3628 | 3632 | */ |
3629 | -export const postOrderErpAuthToken = /* #__PURE__ */ (() => { | |
3633 | +export const postOrderErpAuthLoginByPwd = /* #__PURE__ */ (() => { | |
3630 | 3634 | const method = 'post'; |
3631 | - const url = '/order/erp/auth/token'; | |
3635 | + const url = '/order/erp/auth/login_by_pwd'; | |
3632 | 3636 | function request( |
3633 | - option: PostOrderErpAuthTokenOption, | |
3634 | - ): Promise<PostOrderErpAuthTokenResponseSuccess> { | |
3637 | + option: PostOrderErpAuthLoginByPwdOption, | |
3638 | + ): Promise<PostOrderErpAuthLoginByPwdResponseSuccess> { | |
3635 | 3639 | return requester(request.url, { |
3636 | 3640 | method: request.method, |
3637 | 3641 | ...option, |
3638 | - }) as unknown as Promise<PostOrderErpAuthTokenResponseSuccess>; | |
3642 | + }) as unknown as Promise<PostOrderErpAuthLoginByPwdResponseSuccess>; | |
3639 | 3643 | } |
3640 | 3644 | |
3641 | 3645 | /** http method */ |
... | ... | @@ -3645,8 +3649,8 @@ export const postOrderErpAuthToken = /* #__PURE__ */ (() => { |
3645 | 3649 | return request; |
3646 | 3650 | })(); |
3647 | 3651 | |
3648 | -/** @description response type for postOrderErpCaptchaGetImgCaptchaCode */ | |
3649 | -export interface PostOrderErpCaptchaGetImgCaptchaCodeResponse { | |
3652 | +/** @description response type for postOrderErpAuthLoginOut */ | |
3653 | +export interface PostOrderErpAuthLoginOutResponse { | |
3650 | 3654 | /** |
3651 | 3655 | * @description |
3652 | 3656 | * OK |
... | ... | @@ -3674,22 +3678,22 @@ export interface PostOrderErpCaptchaGetImgCaptchaCodeResponse { |
3674 | 3678 | 404: any; |
3675 | 3679 | } |
3676 | 3680 | |
3677 | -export type PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess = | |
3678 | - PostOrderErpCaptchaGetImgCaptchaCodeResponse[200]; | |
3681 | +export type PostOrderErpAuthLoginOutResponseSuccess = | |
3682 | + PostOrderErpAuthLoginOutResponse[200]; | |
3679 | 3683 | /** |
3680 | 3684 | * @description |
3681 | - * 获取图片验证码 | |
3682 | - * @tags 验证码 | |
3685 | + * 退出登录 | |
3686 | + * @tags login-controller | |
3683 | 3687 | * @produces * |
3684 | 3688 | * @consumes application/json |
3685 | 3689 | */ |
3686 | -export const postOrderErpCaptchaGetImgCaptchaCode = /* #__PURE__ */ (() => { | |
3690 | +export const postOrderErpAuthLoginOut = /* #__PURE__ */ (() => { | |
3687 | 3691 | const method = 'post'; |
3688 | - const url = '/order/erp/captcha/get_img_captcha_code'; | |
3689 | - function request(): Promise<PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess> { | |
3692 | + const url = '/order/erp/auth/login_out'; | |
3693 | + function request(): Promise<PostOrderErpAuthLoginOutResponseSuccess> { | |
3690 | 3694 | return requester(request.url, { |
3691 | 3695 | method: request.method, |
3692 | - }) as unknown as Promise<PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess>; | |
3696 | + }) as unknown as Promise<PostOrderErpAuthLoginOutResponseSuccess>; | |
3693 | 3697 | } |
3694 | 3698 | |
3695 | 3699 | /** http method */ |
... | ... | @@ -3699,22 +3703,22 @@ export const postOrderErpCaptchaGetImgCaptchaCode = /* #__PURE__ */ (() => { |
3699 | 3703 | return request; |
3700 | 3704 | })(); |
3701 | 3705 | |
3702 | -/** @description request parameter type for postOrderErpCaptchaSendCaptchaCode */ | |
3703 | -export interface PostOrderErpCaptchaSendCaptchaCodeOption { | |
3706 | +/** @description request parameter type for postOrderErpAuthPasswordModify */ | |
3707 | +export interface PostOrderErpAuthPasswordModifyOption { | |
3704 | 3708 | /** |
3705 | 3709 | * @description |
3706 | - * msgVo | |
3710 | + * modifyPwdVO | |
3707 | 3711 | */ |
3708 | 3712 | body: { |
3709 | 3713 | /** |
3710 | 3714 | @description |
3711 | - msgVo */ | |
3712 | - msgVo: CaptchaMessageVO; | |
3715 | + modifyPwdVO */ | |
3716 | + modifyPwdVO: AdminUserModifyPwdVO; | |
3713 | 3717 | }; |
3714 | 3718 | } |
3715 | 3719 | |
3716 | -/** @description response type for postOrderErpCaptchaSendCaptchaCode */ | |
3717 | -export interface PostOrderErpCaptchaSendCaptchaCodeResponse { | |
3720 | +/** @description response type for postOrderErpAuthPasswordModify */ | |
3721 | +export interface PostOrderErpAuthPasswordModifyResponse { | |
3718 | 3722 | /** |
3719 | 3723 | * @description |
3720 | 3724 | * OK |
... | ... | @@ -3742,25 +3746,25 @@ export interface PostOrderErpCaptchaSendCaptchaCodeResponse { |
3742 | 3746 | 404: any; |
3743 | 3747 | } |
3744 | 3748 | |
3745 | -export type PostOrderErpCaptchaSendCaptchaCodeResponseSuccess = | |
3746 | - PostOrderErpCaptchaSendCaptchaCodeResponse[200]; | |
3749 | +export type PostOrderErpAuthPasswordModifyResponseSuccess = | |
3750 | + PostOrderErpAuthPasswordModifyResponse[200]; | |
3747 | 3751 | /** |
3748 | 3752 | * @description |
3749 | - * 获取验证码 | |
3750 | - * @tags 验证码 | |
3753 | + * 用户登录 | |
3754 | + * @tags login-controller | |
3751 | 3755 | * @produces * |
3752 | 3756 | * @consumes application/json |
3753 | 3757 | */ |
3754 | -export const postOrderErpCaptchaSendCaptchaCode = /* #__PURE__ */ (() => { | |
3758 | +export const postOrderErpAuthPasswordModify = /* #__PURE__ */ (() => { | |
3755 | 3759 | const method = 'post'; |
3756 | - const url = '/order/erp/captcha/send_captcha_code'; | |
3760 | + const url = '/order/erp/auth/password_modify'; | |
3757 | 3761 | function request( |
3758 | - option: PostOrderErpCaptchaSendCaptchaCodeOption, | |
3759 | - ): Promise<PostOrderErpCaptchaSendCaptchaCodeResponseSuccess> { | |
3762 | + option: PostOrderErpAuthPasswordModifyOption, | |
3763 | + ): Promise<PostOrderErpAuthPasswordModifyResponseSuccess> { | |
3760 | 3764 | return requester(request.url, { |
3761 | 3765 | method: request.method, |
3762 | 3766 | ...option, |
3763 | - }) as unknown as Promise<PostOrderErpCaptchaSendCaptchaCodeResponseSuccess>; | |
3767 | + }) as unknown as Promise<PostOrderErpAuthPasswordModifyResponseSuccess>; | |
3764 | 3768 | } |
3765 | 3769 | |
3766 | 3770 | /** http method */ |
... | ... | @@ -3770,22 +3774,22 @@ export const postOrderErpCaptchaSendCaptchaCode = /* #__PURE__ */ (() => { |
3770 | 3774 | return request; |
3771 | 3775 | })(); |
3772 | 3776 | |
3773 | -/** @description request parameter type for putOrderErpDepts */ | |
3774 | -export interface PutOrderErpDeptsOption { | |
3777 | +/** @description request parameter type for postOrderErpAuthPhoneRegister */ | |
3778 | +export interface PostOrderErpAuthPhoneRegisterOption { | |
3775 | 3779 | /** |
3776 | 3780 | * @description |
3777 | - * deptVO | |
3781 | + * registerVO | |
3778 | 3782 | */ |
3779 | 3783 | body: { |
3780 | 3784 | /** |
3781 | 3785 | @description |
3782 | - deptVO */ | |
3783 | - deptVO: AdminDeptVO; | |
3786 | + registerVO */ | |
3787 | + registerVO: AdminUserRegisterVO; | |
3784 | 3788 | }; |
3785 | 3789 | } |
3786 | 3790 | |
3787 | -/** @description response type for putOrderErpDepts */ | |
3788 | -export interface PutOrderErpDeptsResponse { | |
3791 | +/** @description response type for postOrderErpAuthPhoneRegister */ | |
3792 | +export interface PostOrderErpAuthPhoneRegisterResponse { | |
3789 | 3793 | /** |
3790 | 3794 | * @description |
3791 | 3795 | * OK |
... | ... | @@ -3813,24 +3817,25 @@ export interface PutOrderErpDeptsResponse { |
3813 | 3817 | 404: any; |
3814 | 3818 | } |
3815 | 3819 | |
3816 | -export type PutOrderErpDeptsResponseSuccess = PutOrderErpDeptsResponse[200]; | |
3820 | +export type PostOrderErpAuthPhoneRegisterResponseSuccess = | |
3821 | + PostOrderErpAuthPhoneRegisterResponse[200]; | |
3817 | 3822 | /** |
3818 | 3823 | * @description |
3819 | - * 修改部门 | |
3820 | - * @tags 系统:部门管理 | |
3824 | + * 手机注册 | |
3825 | + * @tags login-controller | |
3821 | 3826 | * @produces * |
3822 | 3827 | * @consumes application/json |
3823 | 3828 | */ |
3824 | -export const putOrderErpDepts = /* #__PURE__ */ (() => { | |
3825 | - const method = 'put'; | |
3826 | - const url = '/order/erp/depts'; | |
3829 | +export const postOrderErpAuthPhoneRegister = /* #__PURE__ */ (() => { | |
3830 | + const method = 'post'; | |
3831 | + const url = '/order/erp/auth/phone_register'; | |
3827 | 3832 | function request( |
3828 | - option: PutOrderErpDeptsOption, | |
3829 | - ): Promise<PutOrderErpDeptsResponseSuccess> { | |
3833 | + option: PostOrderErpAuthPhoneRegisterOption, | |
3834 | + ): Promise<PostOrderErpAuthPhoneRegisterResponseSuccess> { | |
3830 | 3835 | return requester(request.url, { |
3831 | 3836 | method: request.method, |
3832 | 3837 | ...option, |
3833 | - }) as unknown as Promise<PutOrderErpDeptsResponseSuccess>; | |
3838 | + }) as unknown as Promise<PostOrderErpAuthPhoneRegisterResponseSuccess>; | |
3834 | 3839 | } |
3835 | 3840 | |
3836 | 3841 | /** http method */ |
... | ... | @@ -3840,22 +3845,22 @@ export const putOrderErpDepts = /* #__PURE__ */ (() => { |
3840 | 3845 | return request; |
3841 | 3846 | })(); |
3842 | 3847 | |
3843 | -/** @description request parameter type for deleteOrderErpDepts */ | |
3844 | -export interface DeleteOrderErpDeptsOption { | |
3848 | +/** @description request parameter type for postOrderErpAuthSendPasswordRecoverMail */ | |
3849 | +export interface PostOrderErpAuthSendPasswordRecoverMailOption { | |
3845 | 3850 | /** |
3846 | 3851 | * @description |
3847 | - * queryVO | |
3852 | + * recoverEmailVO | |
3848 | 3853 | */ |
3849 | 3854 | body: { |
3850 | 3855 | /** |
3851 | 3856 | @description |
3852 | - queryVO */ | |
3853 | - queryVO: AdminDeptQueryVO; | |
3857 | + recoverEmailVO */ | |
3858 | + recoverEmailVO: AdminUserPasswordRecoverEmailVO; | |
3854 | 3859 | }; |
3855 | 3860 | } |
3856 | 3861 | |
3857 | -/** @description response type for deleteOrderErpDepts */ | |
3858 | -export interface DeleteOrderErpDeptsResponse { | |
3862 | +/** @description response type for postOrderErpAuthSendPasswordRecoverMail */ | |
3863 | +export interface PostOrderErpAuthSendPasswordRecoverMailResponse { | |
3859 | 3864 | /** |
3860 | 3865 | * @description |
3861 | 3866 | * OK |
... | ... | @@ -3863,9 +3868,9 @@ export interface DeleteOrderErpDeptsResponse { |
3863 | 3868 | 200: ServerResult; |
3864 | 3869 | /** |
3865 | 3870 | * @description |
3866 | - * No Content | |
3871 | + * Created | |
3867 | 3872 | */ |
3868 | - 204: any; | |
3873 | + 201: any; | |
3869 | 3874 | /** |
3870 | 3875 | * @description |
3871 | 3876 | * Unauthorized |
... | ... | @@ -3876,26 +3881,32 @@ export interface DeleteOrderErpDeptsResponse { |
3876 | 3881 | * Forbidden |
3877 | 3882 | */ |
3878 | 3883 | 403: any; |
3884 | + /** | |
3885 | + * @description | |
3886 | + * Not Found | |
3887 | + */ | |
3888 | + 404: any; | |
3879 | 3889 | } |
3880 | 3890 | |
3881 | -export type DeleteOrderErpDeptsResponseSuccess = | |
3882 | - DeleteOrderErpDeptsResponse[200]; | |
3891 | +export type PostOrderErpAuthSendPasswordRecoverMailResponseSuccess = | |
3892 | + PostOrderErpAuthSendPasswordRecoverMailResponse[200]; | |
3883 | 3893 | /** |
3884 | 3894 | * @description |
3885 | - * 删除部门 | |
3886 | - * @tags 系统:部门管理 | |
3895 | + * sendPasswordRecoverMail | |
3896 | + * @tags login-controller | |
3887 | 3897 | * @produces * |
3898 | + * @consumes application/json | |
3888 | 3899 | */ |
3889 | -export const deleteOrderErpDepts = /* #__PURE__ */ (() => { | |
3890 | - const method = 'delete'; | |
3891 | - const url = '/order/erp/depts'; | |
3900 | +export const postOrderErpAuthSendPasswordRecoverMail = /* #__PURE__ */ (() => { | |
3901 | + const method = 'post'; | |
3902 | + const url = '/order/erp/auth/send_password_recover_mail'; | |
3892 | 3903 | function request( |
3893 | - option: DeleteOrderErpDeptsOption, | |
3894 | - ): Promise<DeleteOrderErpDeptsResponseSuccess> { | |
3904 | + option: PostOrderErpAuthSendPasswordRecoverMailOption, | |
3905 | + ): Promise<PostOrderErpAuthSendPasswordRecoverMailResponseSuccess> { | |
3895 | 3906 | return requester(request.url, { |
3896 | 3907 | method: request.method, |
3897 | 3908 | ...option, |
3898 | - }) as unknown as Promise<DeleteOrderErpDeptsResponseSuccess>; | |
3909 | + }) as unknown as Promise<PostOrderErpAuthSendPasswordRecoverMailResponseSuccess>; | |
3899 | 3910 | } |
3900 | 3911 | |
3901 | 3912 | /** http method */ |
... | ... | @@ -3905,22 +3916,22 @@ export const deleteOrderErpDepts = /* #__PURE__ */ (() => { |
3905 | 3916 | return request; |
3906 | 3917 | })(); |
3907 | 3918 | |
3908 | -/** @description request parameter type for postOrderErpDeptsAdd */ | |
3909 | -export interface PostOrderErpDeptsAddOption { | |
3919 | +/** @description request parameter type for postOrderErpAuthToken */ | |
3920 | +export interface PostOrderErpAuthTokenOption { | |
3910 | 3921 | /** |
3911 | 3922 | * @description |
3912 | - * deptVO | |
3923 | + * tokenApiDto | |
3913 | 3924 | */ |
3914 | 3925 | body: { |
3915 | 3926 | /** |
3916 | 3927 | @description |
3917 | - deptVO */ | |
3918 | - deptVO: AdminDeptVO; | |
3928 | + tokenApiDto */ | |
3929 | + tokenApiDto: TokenApiDto; | |
3919 | 3930 | }; |
3920 | 3931 | } |
3921 | 3932 | |
3922 | -/** @description response type for postOrderErpDeptsAdd */ | |
3923 | -export interface PostOrderErpDeptsAddResponse { | |
3933 | +/** @description response type for postOrderErpAuthToken */ | |
3934 | +export interface PostOrderErpAuthTokenResponse { | |
3924 | 3935 | /** |
3925 | 3936 | * @description |
3926 | 3937 | * OK |
... | ... | @@ -3948,25 +3959,25 @@ export interface PostOrderErpDeptsAddResponse { |
3948 | 3959 | 404: any; |
3949 | 3960 | } |
3950 | 3961 | |
3951 | -export type PostOrderErpDeptsAddResponseSuccess = | |
3952 | - PostOrderErpDeptsAddResponse[200]; | |
3962 | +export type PostOrderErpAuthTokenResponseSuccess = | |
3963 | + PostOrderErpAuthTokenResponse[200]; | |
3953 | 3964 | /** |
3954 | 3965 | * @description |
3955 | - * 新增部门 | |
3956 | - * @tags 系统:部门管理 | |
3966 | + * 获取token | |
3967 | + * @tags login-controller | |
3957 | 3968 | * @produces * |
3958 | 3969 | * @consumes application/json |
3959 | 3970 | */ |
3960 | -export const postOrderErpDeptsAdd = /* #__PURE__ */ (() => { | |
3971 | +export const postOrderErpAuthToken = /* #__PURE__ */ (() => { | |
3961 | 3972 | const method = 'post'; |
3962 | - const url = '/order/erp/depts/add'; | |
3973 | + const url = '/order/erp/auth/token'; | |
3963 | 3974 | function request( |
3964 | - option: PostOrderErpDeptsAddOption, | |
3965 | - ): Promise<PostOrderErpDeptsAddResponseSuccess> { | |
3975 | + option: PostOrderErpAuthTokenOption, | |
3976 | + ): Promise<PostOrderErpAuthTokenResponseSuccess> { | |
3966 | 3977 | return requester(request.url, { |
3967 | 3978 | method: request.method, |
3968 | 3979 | ...option, |
3969 | - }) as unknown as Promise<PostOrderErpDeptsAddResponseSuccess>; | |
3980 | + }) as unknown as Promise<PostOrderErpAuthTokenResponseSuccess>; | |
3970 | 3981 | } |
3971 | 3982 | |
3972 | 3983 | /** http method */ |
... | ... | @@ -3976,22 +3987,8 @@ export const postOrderErpDeptsAdd = /* #__PURE__ */ (() => { |
3976 | 3987 | return request; |
3977 | 3988 | })(); |
3978 | 3989 | |
3979 | -/** @description request parameter type for postOrderErpDeptsListByPage */ | |
3980 | -export interface PostOrderErpDeptsListByPageOption { | |
3981 | - /** | |
3982 | - * @description | |
3983 | - * queryVO | |
3984 | - */ | |
3985 | - body: { | |
3986 | - /** | |
3987 | - @description | |
3988 | - queryVO */ | |
3989 | - queryVO: AdminDeptQueryVO; | |
3990 | - }; | |
3991 | -} | |
3992 | - | |
3993 | -/** @description response type for postOrderErpDeptsListByPage */ | |
3994 | -export interface PostOrderErpDeptsListByPageResponse { | |
3990 | +/** @description response type for postOrderErpCaptchaGetImgCaptchaCode */ | |
3991 | +export interface PostOrderErpCaptchaGetImgCaptchaCodeResponse { | |
3995 | 3992 | /** |
3996 | 3993 | * @description |
3997 | 3994 | * OK |
... | ... | @@ -4019,25 +4016,22 @@ export interface PostOrderErpDeptsListByPageResponse { |
4019 | 4016 | 404: any; |
4020 | 4017 | } |
4021 | 4018 | |
4022 | -export type PostOrderErpDeptsListByPageResponseSuccess = | |
4023 | - PostOrderErpDeptsListByPageResponse[200]; | |
4019 | +export type PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess = | |
4020 | + PostOrderErpCaptchaGetImgCaptchaCodeResponse[200]; | |
4024 | 4021 | /** |
4025 | 4022 | * @description |
4026 | - * 查询部门 | |
4027 | - * @tags 系统:部门管理 | |
4023 | + * 获取图片验证码 | |
4024 | + * @tags 验证码 | |
4028 | 4025 | * @produces * |
4029 | 4026 | * @consumes application/json |
4030 | 4027 | */ |
4031 | -export const postOrderErpDeptsListByPage = /* #__PURE__ */ (() => { | |
4028 | +export const postOrderErpCaptchaGetImgCaptchaCode = /* #__PURE__ */ (() => { | |
4032 | 4029 | const method = 'post'; |
4033 | - const url = '/order/erp/depts/list_by_page'; | |
4034 | - function request( | |
4035 | - option: PostOrderErpDeptsListByPageOption, | |
4036 | - ): Promise<PostOrderErpDeptsListByPageResponseSuccess> { | |
4030 | + const url = '/order/erp/captcha/get_img_captcha_code'; | |
4031 | + function request(): Promise<PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess> { | |
4037 | 4032 | return requester(request.url, { |
4038 | 4033 | method: request.method, |
4039 | - ...option, | |
4040 | - }) as unknown as Promise<PostOrderErpDeptsListByPageResponseSuccess>; | |
4034 | + }) as unknown as Promise<PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess>; | |
4041 | 4035 | } |
4042 | 4036 | |
4043 | 4037 | /** http method */ |
... | ... | @@ -4047,22 +4041,22 @@ export const postOrderErpDeptsListByPage = /* #__PURE__ */ (() => { |
4047 | 4041 | return request; |
4048 | 4042 | })(); |
4049 | 4043 | |
4050 | -/** @description request parameter type for postOrderErpDictionaryAdd */ | |
4051 | -export interface PostOrderErpDictionaryAddOption { | |
4044 | +/** @description request parameter type for postOrderErpCaptchaSendCaptchaCode */ | |
4045 | +export interface PostOrderErpCaptchaSendCaptchaCodeOption { | |
4052 | 4046 | /** |
4053 | 4047 | * @description |
4054 | - * dictionaryVO | |
4048 | + * msgVo | |
4055 | 4049 | */ |
4056 | 4050 | body: { |
4057 | 4051 | /** |
4058 | 4052 | @description |
4059 | - dictionaryVO */ | |
4060 | - dictionaryVO: DictionaryVO; | |
4053 | + msgVo */ | |
4054 | + msgVo: CaptchaMessageVO; | |
4061 | 4055 | }; |
4062 | 4056 | } |
4063 | 4057 | |
4064 | -/** @description response type for postOrderErpDictionaryAdd */ | |
4065 | -export interface PostOrderErpDictionaryAddResponse { | |
4058 | +/** @description response type for postOrderErpCaptchaSendCaptchaCode */ | |
4059 | +export interface PostOrderErpCaptchaSendCaptchaCodeResponse { | |
4066 | 4060 | /** |
4067 | 4061 | * @description |
4068 | 4062 | * OK |
... | ... | @@ -4090,25 +4084,25 @@ export interface PostOrderErpDictionaryAddResponse { |
4090 | 4084 | 404: any; |
4091 | 4085 | } |
4092 | 4086 | |
4093 | -export type PostOrderErpDictionaryAddResponseSuccess = | |
4094 | - PostOrderErpDictionaryAddResponse[200]; | |
4087 | +export type PostOrderErpCaptchaSendCaptchaCodeResponseSuccess = | |
4088 | + PostOrderErpCaptchaSendCaptchaCodeResponse[200]; | |
4095 | 4089 | /** |
4096 | 4090 | * @description |
4097 | - * 新增字典 | |
4098 | - * @tags 系统:字典管理 | |
4091 | + * 获取验证码 | |
4092 | + * @tags 验证码 | |
4099 | 4093 | * @produces * |
4100 | 4094 | * @consumes application/json |
4101 | 4095 | */ |
4102 | -export const postOrderErpDictionaryAdd = /* #__PURE__ */ (() => { | |
4096 | +export const postOrderErpCaptchaSendCaptchaCode = /* #__PURE__ */ (() => { | |
4103 | 4097 | const method = 'post'; |
4104 | - const url = '/order/erp/dictionary/add'; | |
4098 | + const url = '/order/erp/captcha/send_captcha_code'; | |
4105 | 4099 | function request( |
4106 | - option: PostOrderErpDictionaryAddOption, | |
4107 | - ): Promise<PostOrderErpDictionaryAddResponseSuccess> { | |
4100 | + option: PostOrderErpCaptchaSendCaptchaCodeOption, | |
4101 | + ): Promise<PostOrderErpCaptchaSendCaptchaCodeResponseSuccess> { | |
4108 | 4102 | return requester(request.url, { |
4109 | 4103 | method: request.method, |
4110 | 4104 | ...option, |
4111 | - }) as unknown as Promise<PostOrderErpDictionaryAddResponseSuccess>; | |
4105 | + }) as unknown as Promise<PostOrderErpCaptchaSendCaptchaCodeResponseSuccess>; | |
4112 | 4106 | } |
4113 | 4107 | |
4114 | 4108 | /** http method */ |
... | ... | @@ -4118,22 +4112,22 @@ export const postOrderErpDictionaryAdd = /* #__PURE__ */ (() => { |
4118 | 4112 | return request; |
4119 | 4113 | })(); |
4120 | 4114 | |
4121 | -/** @description request parameter type for postOrderErpDictionaryDelete */ | |
4122 | -export interface PostOrderErpDictionaryDeleteOption { | |
4115 | +/** @description request parameter type for putOrderErpDepts */ | |
4116 | +export interface PutOrderErpDeptsOption { | |
4123 | 4117 | /** |
4124 | 4118 | * @description |
4125 | - * queryVO | |
4119 | + * deptVO | |
4126 | 4120 | */ |
4127 | 4121 | body: { |
4128 | 4122 | /** |
4129 | 4123 | @description |
4130 | - queryVO */ | |
4131 | - queryVO: DictionaryQueryVO; | |
4124 | + deptVO */ | |
4125 | + deptVO: AdminDeptVO; | |
4132 | 4126 | }; |
4133 | 4127 | } |
4134 | 4128 | |
4135 | -/** @description response type for postOrderErpDictionaryDelete */ | |
4136 | -export interface PostOrderErpDictionaryDeleteResponse { | |
4129 | +/** @description response type for putOrderErpDepts */ | |
4130 | +export interface PutOrderErpDeptsResponse { | |
4137 | 4131 | /** |
4138 | 4132 | * @description |
4139 | 4133 | * OK |
... | ... | @@ -4161,25 +4155,24 @@ export interface PostOrderErpDictionaryDeleteResponse { |
4161 | 4155 | 404: any; |
4162 | 4156 | } |
4163 | 4157 | |
4164 | -export type PostOrderErpDictionaryDeleteResponseSuccess = | |
4165 | - PostOrderErpDictionaryDeleteResponse[200]; | |
4158 | +export type PutOrderErpDeptsResponseSuccess = PutOrderErpDeptsResponse[200]; | |
4166 | 4159 | /** |
4167 | 4160 | * @description |
4168 | - * 删除字典 | |
4169 | - * @tags 系统:字典管理 | |
4161 | + * 修改部门 | |
4162 | + * @tags 系统:部门管理 | |
4170 | 4163 | * @produces * |
4171 | 4164 | * @consumes application/json |
4172 | 4165 | */ |
4173 | -export const postOrderErpDictionaryDelete = /* #__PURE__ */ (() => { | |
4174 | - const method = 'post'; | |
4175 | - const url = '/order/erp/dictionary/delete'; | |
4166 | +export const putOrderErpDepts = /* #__PURE__ */ (() => { | |
4167 | + const method = 'put'; | |
4168 | + const url = '/order/erp/depts'; | |
4176 | 4169 | function request( |
4177 | - option: PostOrderErpDictionaryDeleteOption, | |
4178 | - ): Promise<PostOrderErpDictionaryDeleteResponseSuccess> { | |
4170 | + option: PutOrderErpDeptsOption, | |
4171 | + ): Promise<PutOrderErpDeptsResponseSuccess> { | |
4179 | 4172 | return requester(request.url, { |
4180 | 4173 | method: request.method, |
4181 | 4174 | ...option, |
4182 | - }) as unknown as Promise<PostOrderErpDictionaryDeleteResponseSuccess>; | |
4175 | + }) as unknown as Promise<PutOrderErpDeptsResponseSuccess>; | |
4183 | 4176 | } |
4184 | 4177 | |
4185 | 4178 | /** http method */ |
... | ... | @@ -4189,22 +4182,22 @@ export const postOrderErpDictionaryDelete = /* #__PURE__ */ (() => { |
4189 | 4182 | return request; |
4190 | 4183 | })(); |
4191 | 4184 | |
4192 | -/** @description request parameter type for postOrderErpDictionaryEdit */ | |
4193 | -export interface PostOrderErpDictionaryEditOption { | |
4185 | +/** @description request parameter type for deleteOrderErpDepts */ | |
4186 | +export interface DeleteOrderErpDeptsOption { | |
4194 | 4187 | /** |
4195 | 4188 | * @description |
4196 | - * dictionaryVO | |
4189 | + * queryVO | |
4197 | 4190 | */ |
4198 | 4191 | body: { |
4199 | 4192 | /** |
4200 | 4193 | @description |
4201 | - dictionaryVO */ | |
4202 | - dictionaryVO: DictionaryVO; | |
4194 | + queryVO */ | |
4195 | + queryVO: AdminDeptQueryVO; | |
4203 | 4196 | }; |
4204 | 4197 | } |
4205 | 4198 | |
4206 | -/** @description response type for postOrderErpDictionaryEdit */ | |
4207 | -export interface PostOrderErpDictionaryEditResponse { | |
4199 | +/** @description response type for deleteOrderErpDepts */ | |
4200 | +export interface DeleteOrderErpDeptsResponse { | |
4208 | 4201 | /** |
4209 | 4202 | * @description |
4210 | 4203 | * OK |
... | ... | @@ -4212,9 +4205,9 @@ export interface PostOrderErpDictionaryEditResponse { |
4212 | 4205 | 200: ServerResult; |
4213 | 4206 | /** |
4214 | 4207 | * @description |
4215 | - * Created | |
4208 | + * No Content | |
4216 | 4209 | */ |
4217 | - 201: any; | |
4210 | + 204: any; | |
4218 | 4211 | /** |
4219 | 4212 | * @description |
4220 | 4213 | * Unauthorized |
... | ... | @@ -4225,32 +4218,26 @@ export interface PostOrderErpDictionaryEditResponse { |
4225 | 4218 | * Forbidden |
4226 | 4219 | */ |
4227 | 4220 | 403: any; |
4228 | - /** | |
4229 | - * @description | |
4230 | - * Not Found | |
4231 | - */ | |
4232 | - 404: any; | |
4233 | 4221 | } |
4234 | 4222 | |
4235 | -export type PostOrderErpDictionaryEditResponseSuccess = | |
4236 | - PostOrderErpDictionaryEditResponse[200]; | |
4223 | +export type DeleteOrderErpDeptsResponseSuccess = | |
4224 | + DeleteOrderErpDeptsResponse[200]; | |
4237 | 4225 | /** |
4238 | 4226 | * @description |
4239 | - * 修改字典 | |
4240 | - * @tags 系统:字典管理 | |
4227 | + * 删除部门 | |
4228 | + * @tags 系统:部门管理 | |
4241 | 4229 | * @produces * |
4242 | - * @consumes application/json | |
4243 | 4230 | */ |
4244 | -export const postOrderErpDictionaryEdit = /* #__PURE__ */ (() => { | |
4245 | - const method = 'post'; | |
4246 | - const url = '/order/erp/dictionary/edit'; | |
4231 | +export const deleteOrderErpDepts = /* #__PURE__ */ (() => { | |
4232 | + const method = 'delete'; | |
4233 | + const url = '/order/erp/depts'; | |
4247 | 4234 | function request( |
4248 | - option: PostOrderErpDictionaryEditOption, | |
4249 | - ): Promise<PostOrderErpDictionaryEditResponseSuccess> { | |
4235 | + option: DeleteOrderErpDeptsOption, | |
4236 | + ): Promise<DeleteOrderErpDeptsResponseSuccess> { | |
4250 | 4237 | return requester(request.url, { |
4251 | 4238 | method: request.method, |
4252 | 4239 | ...option, |
4253 | - }) as unknown as Promise<PostOrderErpDictionaryEditResponseSuccess>; | |
4240 | + }) as unknown as Promise<DeleteOrderErpDeptsResponseSuccess>; | |
4254 | 4241 | } |
4255 | 4242 | |
4256 | 4243 | /** http method */ |
... | ... | @@ -4260,22 +4247,22 @@ export const postOrderErpDictionaryEdit = /* #__PURE__ */ (() => { |
4260 | 4247 | return request; |
4261 | 4248 | })(); |
4262 | 4249 | |
4263 | -/** @description request parameter type for postOrderErpDictionaryGetAll */ | |
4264 | -export interface PostOrderErpDictionaryGetAllOption { | |
4250 | +/** @description request parameter type for postOrderErpDeptsAdd */ | |
4251 | +export interface PostOrderErpDeptsAddOption { | |
4265 | 4252 | /** |
4266 | 4253 | * @description |
4267 | - * queryVO | |
4254 | + * deptVO | |
4268 | 4255 | */ |
4269 | 4256 | body: { |
4270 | 4257 | /** |
4271 | 4258 | @description |
4272 | - queryVO */ | |
4273 | - queryVO: DictionaryQueryVO; | |
4259 | + deptVO */ | |
4260 | + deptVO: AdminDeptVO; | |
4274 | 4261 | }; |
4275 | 4262 | } |
4276 | 4263 | |
4277 | -/** @description response type for postOrderErpDictionaryGetAll */ | |
4278 | -export interface PostOrderErpDictionaryGetAllResponse { | |
4264 | +/** @description response type for postOrderErpDeptsAdd */ | |
4265 | +export interface PostOrderErpDeptsAddResponse { | |
4279 | 4266 | /** |
4280 | 4267 | * @description |
4281 | 4268 | * OK |
... | ... | @@ -4303,25 +4290,25 @@ export interface PostOrderErpDictionaryGetAllResponse { |
4303 | 4290 | 404: any; |
4304 | 4291 | } |
4305 | 4292 | |
4306 | -export type PostOrderErpDictionaryGetAllResponseSuccess = | |
4307 | - PostOrderErpDictionaryGetAllResponse[200]; | |
4293 | +export type PostOrderErpDeptsAddResponseSuccess = | |
4294 | + PostOrderErpDeptsAddResponse[200]; | |
4308 | 4295 | /** |
4309 | 4296 | * @description |
4310 | - * 获取所有字典 | |
4311 | - * @tags 系统:字典管理 | |
4297 | + * 新增部门 | |
4298 | + * @tags 系统:部门管理 | |
4312 | 4299 | * @produces * |
4313 | 4300 | * @consumes application/json |
4314 | 4301 | */ |
4315 | -export const postOrderErpDictionaryGetAll = /* #__PURE__ */ (() => { | |
4302 | +export const postOrderErpDeptsAdd = /* #__PURE__ */ (() => { | |
4316 | 4303 | const method = 'post'; |
4317 | - const url = '/order/erp/dictionary/get_all'; | |
4304 | + const url = '/order/erp/depts/add'; | |
4318 | 4305 | function request( |
4319 | - option: PostOrderErpDictionaryGetAllOption, | |
4320 | - ): Promise<PostOrderErpDictionaryGetAllResponseSuccess> { | |
4306 | + option: PostOrderErpDeptsAddOption, | |
4307 | + ): Promise<PostOrderErpDeptsAddResponseSuccess> { | |
4321 | 4308 | return requester(request.url, { |
4322 | 4309 | method: request.method, |
4323 | 4310 | ...option, |
4324 | - }) as unknown as Promise<PostOrderErpDictionaryGetAllResponseSuccess>; | |
4311 | + }) as unknown as Promise<PostOrderErpDeptsAddResponseSuccess>; | |
4325 | 4312 | } |
4326 | 4313 | |
4327 | 4314 | /** http method */ |
... | ... | @@ -4331,8 +4318,8 @@ export const postOrderErpDictionaryGetAll = /* #__PURE__ */ (() => { |
4331 | 4318 | return request; |
4332 | 4319 | })(); |
4333 | 4320 | |
4334 | -/** @description request parameter type for postOrderErpDictionaryListByPage */ | |
4335 | -export interface PostOrderErpDictionaryListByPageOption { | |
4321 | +/** @description request parameter type for postOrderErpDeptsListByPage */ | |
4322 | +export interface PostOrderErpDeptsListByPageOption { | |
4336 | 4323 | /** |
4337 | 4324 | * @description |
4338 | 4325 | * queryVO |
... | ... | @@ -4341,12 +4328,12 @@ export interface PostOrderErpDictionaryListByPageOption { |
4341 | 4328 | /** |
4342 | 4329 | @description |
4343 | 4330 | queryVO */ |
4344 | - queryVO: DictionaryQueryVO; | |
4331 | + queryVO: AdminDeptQueryVO; | |
4345 | 4332 | }; |
4346 | 4333 | } |
4347 | 4334 | |
4348 | -/** @description response type for postOrderErpDictionaryListByPage */ | |
4349 | -export interface PostOrderErpDictionaryListByPageResponse { | |
4335 | +/** @description response type for postOrderErpDeptsListByPage */ | |
4336 | +export interface PostOrderErpDeptsListByPageResponse { | |
4350 | 4337 | /** |
4351 | 4338 | * @description |
4352 | 4339 | * OK |
... | ... | @@ -4374,25 +4361,25 @@ export interface PostOrderErpDictionaryListByPageResponse { |
4374 | 4361 | 404: any; |
4375 | 4362 | } |
4376 | 4363 | |
4377 | -export type PostOrderErpDictionaryListByPageResponseSuccess = | |
4378 | - PostOrderErpDictionaryListByPageResponse[200]; | |
4364 | +export type PostOrderErpDeptsListByPageResponseSuccess = | |
4365 | + PostOrderErpDeptsListByPageResponse[200]; | |
4379 | 4366 | /** |
4380 | 4367 | * @description |
4381 | - * 查询字典列表 | |
4382 | - * @tags 系统:字典管理 | |
4368 | + * 查询部门 | |
4369 | + * @tags 系统:部门管理 | |
4383 | 4370 | * @produces * |
4384 | 4371 | * @consumes application/json |
4385 | 4372 | */ |
4386 | -export const postOrderErpDictionaryListByPage = /* #__PURE__ */ (() => { | |
4373 | +export const postOrderErpDeptsListByPage = /* #__PURE__ */ (() => { | |
4387 | 4374 | const method = 'post'; |
4388 | - const url = '/order/erp/dictionary/list_by_page'; | |
4375 | + const url = '/order/erp/depts/list_by_page'; | |
4389 | 4376 | function request( |
4390 | - option: PostOrderErpDictionaryListByPageOption, | |
4391 | - ): Promise<PostOrderErpDictionaryListByPageResponseSuccess> { | |
4377 | + option: PostOrderErpDeptsListByPageOption, | |
4378 | + ): Promise<PostOrderErpDeptsListByPageResponseSuccess> { | |
4392 | 4379 | return requester(request.url, { |
4393 | 4380 | method: request.method, |
4394 | 4381 | ...option, |
4395 | - }) as unknown as Promise<PostOrderErpDictionaryListByPageResponseSuccess>; | |
4382 | + }) as unknown as Promise<PostOrderErpDeptsListByPageResponseSuccess>; | |
4396 | 4383 | } |
4397 | 4384 | |
4398 | 4385 | /** http method */ |
... | ... | @@ -4402,8 +4389,22 @@ export const postOrderErpDictionaryListByPage = /* #__PURE__ */ (() => { |
4402 | 4389 | return request; |
4403 | 4390 | })(); |
4404 | 4391 | |
4405 | -/** @description response type for getOrderErpIndexChartData */ | |
4406 | -export interface GetOrderErpIndexChartDataResponse { | |
4392 | +/** @description request parameter type for postOrderErpDictionaryAdd */ | |
4393 | +export interface PostOrderErpDictionaryAddOption { | |
4394 | + /** | |
4395 | + * @description | |
4396 | + * dictionaryVO | |
4397 | + */ | |
4398 | + body: { | |
4399 | + /** | |
4400 | + @description | |
4401 | + dictionaryVO */ | |
4402 | + dictionaryVO: DictionaryVO; | |
4403 | + }; | |
4404 | +} | |
4405 | + | |
4406 | +/** @description response type for postOrderErpDictionaryAdd */ | |
4407 | +export interface PostOrderErpDictionaryAddResponse { | |
4407 | 4408 | /** |
4408 | 4409 | * @description |
4409 | 4410 | * OK |
... | ... | @@ -4411,6 +4412,11 @@ export interface GetOrderErpIndexChartDataResponse { |
4411 | 4412 | 200: ServerResult; |
4412 | 4413 | /** |
4413 | 4414 | * @description |
4415 | + * Created | |
4416 | + */ | |
4417 | + 201: any; | |
4418 | + /** | |
4419 | + * @description | |
4414 | 4420 | * Unauthorized |
4415 | 4421 | */ |
4416 | 4422 | 401: any; |
... | ... | @@ -4426,21 +4432,25 @@ export interface GetOrderErpIndexChartDataResponse { |
4426 | 4432 | 404: any; |
4427 | 4433 | } |
4428 | 4434 | |
4429 | -export type GetOrderErpIndexChartDataResponseSuccess = | |
4430 | - GetOrderErpIndexChartDataResponse[200]; | |
4435 | +export type PostOrderErpDictionaryAddResponseSuccess = | |
4436 | + PostOrderErpDictionaryAddResponse[200]; | |
4431 | 4437 | /** |
4432 | 4438 | * @description |
4433 | - * 首页订单趋势 | |
4434 | - * @tags 首页 | |
4439 | + * 新增字典 | |
4440 | + * @tags 系统:字典管理 | |
4435 | 4441 | * @produces * |
4442 | + * @consumes application/json | |
4436 | 4443 | */ |
4437 | -export const getOrderErpIndexChartData = /* #__PURE__ */ (() => { | |
4438 | - const method = 'get'; | |
4439 | - const url = '/order/erp/index/chartData'; | |
4440 | - function request(): Promise<GetOrderErpIndexChartDataResponseSuccess> { | |
4444 | +export const postOrderErpDictionaryAdd = /* #__PURE__ */ (() => { | |
4445 | + const method = 'post'; | |
4446 | + const url = '/order/erp/dictionary/add'; | |
4447 | + function request( | |
4448 | + option: PostOrderErpDictionaryAddOption, | |
4449 | + ): Promise<PostOrderErpDictionaryAddResponseSuccess> { | |
4441 | 4450 | return requester(request.url, { |
4442 | 4451 | method: request.method, |
4443 | - }) as unknown as Promise<GetOrderErpIndexChartDataResponseSuccess>; | |
4452 | + ...option, | |
4453 | + }) as unknown as Promise<PostOrderErpDictionaryAddResponseSuccess>; | |
4444 | 4454 | } |
4445 | 4455 | |
4446 | 4456 | /** http method */ |
... | ... | @@ -4450,8 +4460,22 @@ export const getOrderErpIndexChartData = /* #__PURE__ */ (() => { |
4450 | 4460 | return request; |
4451 | 4461 | })(); |
4452 | 4462 | |
4453 | -/** @description response type for getOrderErpIndexData */ | |
4454 | -export interface GetOrderErpIndexDataResponse { | |
4463 | +/** @description request parameter type for postOrderErpDictionaryDelete */ | |
4464 | +export interface PostOrderErpDictionaryDeleteOption { | |
4465 | + /** | |
4466 | + * @description | |
4467 | + * queryVO | |
4468 | + */ | |
4469 | + body: { | |
4470 | + /** | |
4471 | + @description | |
4472 | + queryVO */ | |
4473 | + queryVO: DictionaryQueryVO; | |
4474 | + }; | |
4475 | +} | |
4476 | + | |
4477 | +/** @description response type for postOrderErpDictionaryDelete */ | |
4478 | +export interface PostOrderErpDictionaryDeleteResponse { | |
4455 | 4479 | /** |
4456 | 4480 | * @description |
4457 | 4481 | * OK |
... | ... | @@ -4459,6 +4483,11 @@ export interface GetOrderErpIndexDataResponse { |
4459 | 4483 | 200: ServerResult; |
4460 | 4484 | /** |
4461 | 4485 | * @description |
4486 | + * Created | |
4487 | + */ | |
4488 | + 201: any; | |
4489 | + /** | |
4490 | + * @description | |
4462 | 4491 | * Unauthorized |
4463 | 4492 | */ |
4464 | 4493 | 401: any; |
... | ... | @@ -4474,21 +4503,25 @@ export interface GetOrderErpIndexDataResponse { |
4474 | 4503 | 404: any; |
4475 | 4504 | } |
4476 | 4505 | |
4477 | -export type GetOrderErpIndexDataResponseSuccess = | |
4478 | - GetOrderErpIndexDataResponse[200]; | |
4506 | +export type PostOrderErpDictionaryDeleteResponseSuccess = | |
4507 | + PostOrderErpDictionaryDeleteResponse[200]; | |
4479 | 4508 | /** |
4480 | 4509 | * @description |
4481 | - * 首页统计数据 | |
4482 | - * @tags 首页 | |
4510 | + * 删除字典 | |
4511 | + * @tags 系统:字典管理 | |
4483 | 4512 | * @produces * |
4513 | + * @consumes application/json | |
4484 | 4514 | */ |
4485 | -export const getOrderErpIndexData = /* #__PURE__ */ (() => { | |
4486 | - const method = 'get'; | |
4487 | - const url = '/order/erp/index/data'; | |
4488 | - function request(): Promise<GetOrderErpIndexDataResponseSuccess> { | |
4515 | +export const postOrderErpDictionaryDelete = /* #__PURE__ */ (() => { | |
4516 | + const method = 'post'; | |
4517 | + const url = '/order/erp/dictionary/delete'; | |
4518 | + function request( | |
4519 | + option: PostOrderErpDictionaryDeleteOption, | |
4520 | + ): Promise<PostOrderErpDictionaryDeleteResponseSuccess> { | |
4489 | 4521 | return requester(request.url, { |
4490 | 4522 | method: request.method, |
4491 | - }) as unknown as Promise<GetOrderErpIndexDataResponseSuccess>; | |
4523 | + ...option, | |
4524 | + }) as unknown as Promise<PostOrderErpDictionaryDeleteResponseSuccess>; | |
4492 | 4525 | } |
4493 | 4526 | |
4494 | 4527 | /** http method */ |
... | ... | @@ -4498,22 +4531,22 @@ export const getOrderErpIndexData = /* #__PURE__ */ (() => { |
4498 | 4531 | return request; |
4499 | 4532 | })(); |
4500 | 4533 | |
4501 | -/** @description request parameter type for postOrderErpJobsAdd */ | |
4502 | -export interface PostOrderErpJobsAddOption { | |
4534 | +/** @description request parameter type for postOrderErpDictionaryEdit */ | |
4535 | +export interface PostOrderErpDictionaryEditOption { | |
4503 | 4536 | /** |
4504 | 4537 | * @description |
4505 | - * jobVO | |
4538 | + * dictionaryVO | |
4506 | 4539 | */ |
4507 | 4540 | body: { |
4508 | 4541 | /** |
4509 | 4542 | @description |
4510 | - jobVO */ | |
4511 | - jobVO: AdminJobVO; | |
4543 | + dictionaryVO */ | |
4544 | + dictionaryVO: DictionaryVO; | |
4512 | 4545 | }; |
4513 | 4546 | } |
4514 | 4547 | |
4515 | -/** @description response type for postOrderErpJobsAdd */ | |
4516 | -export interface PostOrderErpJobsAddResponse { | |
4548 | +/** @description response type for postOrderErpDictionaryEdit */ | |
4549 | +export interface PostOrderErpDictionaryEditResponse { | |
4517 | 4550 | /** |
4518 | 4551 | * @description |
4519 | 4552 | * OK |
... | ... | @@ -4541,25 +4574,25 @@ export interface PostOrderErpJobsAddResponse { |
4541 | 4574 | 404: any; |
4542 | 4575 | } |
4543 | 4576 | |
4544 | -export type PostOrderErpJobsAddResponseSuccess = | |
4545 | - PostOrderErpJobsAddResponse[200]; | |
4577 | +export type PostOrderErpDictionaryEditResponseSuccess = | |
4578 | + PostOrderErpDictionaryEditResponse[200]; | |
4546 | 4579 | /** |
4547 | 4580 | * @description |
4548 | - * 新增岗位 | |
4549 | - * @tags 系统:岗位管理 | |
4581 | + * 修改字典 | |
4582 | + * @tags 系统:字典管理 | |
4550 | 4583 | * @produces * |
4551 | 4584 | * @consumes application/json |
4552 | 4585 | */ |
4553 | -export const postOrderErpJobsAdd = /* #__PURE__ */ (() => { | |
4586 | +export const postOrderErpDictionaryEdit = /* #__PURE__ */ (() => { | |
4554 | 4587 | const method = 'post'; |
4555 | - const url = '/order/erp/jobs/add'; | |
4588 | + const url = '/order/erp/dictionary/edit'; | |
4556 | 4589 | function request( |
4557 | - option: PostOrderErpJobsAddOption, | |
4558 | - ): Promise<PostOrderErpJobsAddResponseSuccess> { | |
4590 | + option: PostOrderErpDictionaryEditOption, | |
4591 | + ): Promise<PostOrderErpDictionaryEditResponseSuccess> { | |
4559 | 4592 | return requester(request.url, { |
4560 | 4593 | method: request.method, |
4561 | 4594 | ...option, |
4562 | - }) as unknown as Promise<PostOrderErpJobsAddResponseSuccess>; | |
4595 | + }) as unknown as Promise<PostOrderErpDictionaryEditResponseSuccess>; | |
4563 | 4596 | } |
4564 | 4597 | |
4565 | 4598 | /** http method */ |
... | ... | @@ -4569,8 +4602,8 @@ export const postOrderErpJobsAdd = /* #__PURE__ */ (() => { |
4569 | 4602 | return request; |
4570 | 4603 | })(); |
4571 | 4604 | |
4572 | -/** @description request parameter type for postOrderErpJobsDelete */ | |
4573 | -export interface PostOrderErpJobsDeleteOption { | |
4605 | +/** @description request parameter type for postOrderErpDictionaryGetAll */ | |
4606 | +export interface PostOrderErpDictionaryGetAllOption { | |
4574 | 4607 | /** |
4575 | 4608 | * @description |
4576 | 4609 | * queryVO |
... | ... | @@ -4579,12 +4612,12 @@ export interface PostOrderErpJobsDeleteOption { |
4579 | 4612 | /** |
4580 | 4613 | @description |
4581 | 4614 | queryVO */ |
4582 | - queryVO: AdminJobQueryVO; | |
4615 | + queryVO: DictionaryQueryVO; | |
4583 | 4616 | }; |
4584 | 4617 | } |
4585 | 4618 | |
4586 | -/** @description response type for postOrderErpJobsDelete */ | |
4587 | -export interface PostOrderErpJobsDeleteResponse { | |
4619 | +/** @description response type for postOrderErpDictionaryGetAll */ | |
4620 | +export interface PostOrderErpDictionaryGetAllResponse { | |
4588 | 4621 | /** |
4589 | 4622 | * @description |
4590 | 4623 | * OK |
... | ... | @@ -4612,25 +4645,25 @@ export interface PostOrderErpJobsDeleteResponse { |
4612 | 4645 | 404: any; |
4613 | 4646 | } |
4614 | 4647 | |
4615 | -export type PostOrderErpJobsDeleteResponseSuccess = | |
4616 | - PostOrderErpJobsDeleteResponse[200]; | |
4617 | -/** | |
4648 | +export type PostOrderErpDictionaryGetAllResponseSuccess = | |
4649 | + PostOrderErpDictionaryGetAllResponse[200]; | |
4650 | +/** | |
4618 | 4651 | * @description |
4619 | - * 删除岗位 | |
4620 | - * @tags 系统:岗位管理 | |
4652 | + * 获取所有字典 | |
4653 | + * @tags 系统:字典管理 | |
4621 | 4654 | * @produces * |
4622 | 4655 | * @consumes application/json |
4623 | 4656 | */ |
4624 | -export const postOrderErpJobsDelete = /* #__PURE__ */ (() => { | |
4657 | +export const postOrderErpDictionaryGetAll = /* #__PURE__ */ (() => { | |
4625 | 4658 | const method = 'post'; |
4626 | - const url = '/order/erp/jobs/delete'; | |
4659 | + const url = '/order/erp/dictionary/get_all'; | |
4627 | 4660 | function request( |
4628 | - option: PostOrderErpJobsDeleteOption, | |
4629 | - ): Promise<PostOrderErpJobsDeleteResponseSuccess> { | |
4661 | + option: PostOrderErpDictionaryGetAllOption, | |
4662 | + ): Promise<PostOrderErpDictionaryGetAllResponseSuccess> { | |
4630 | 4663 | return requester(request.url, { |
4631 | 4664 | method: request.method, |
4632 | 4665 | ...option, |
4633 | - }) as unknown as Promise<PostOrderErpJobsDeleteResponseSuccess>; | |
4666 | + }) as unknown as Promise<PostOrderErpDictionaryGetAllResponseSuccess>; | |
4634 | 4667 | } |
4635 | 4668 | |
4636 | 4669 | /** http method */ |
... | ... | @@ -4640,22 +4673,22 @@ export const postOrderErpJobsDelete = /* #__PURE__ */ (() => { |
4640 | 4673 | return request; |
4641 | 4674 | })(); |
4642 | 4675 | |
4643 | -/** @description request parameter type for postOrderErpJobsEdit */ | |
4644 | -export interface PostOrderErpJobsEditOption { | |
4676 | +/** @description request parameter type for postOrderErpDictionaryListByPage */ | |
4677 | +export interface PostOrderErpDictionaryListByPageOption { | |
4645 | 4678 | /** |
4646 | 4679 | * @description |
4647 | - * jobVO | |
4680 | + * queryVO | |
4648 | 4681 | */ |
4649 | 4682 | body: { |
4650 | 4683 | /** |
4651 | 4684 | @description |
4652 | - jobVO */ | |
4653 | - jobVO: AdminJobVO; | |
4685 | + queryVO */ | |
4686 | + queryVO: DictionaryQueryVO; | |
4654 | 4687 | }; |
4655 | 4688 | } |
4656 | 4689 | |
4657 | -/** @description response type for postOrderErpJobsEdit */ | |
4658 | -export interface PostOrderErpJobsEditResponse { | |
4690 | +/** @description response type for postOrderErpDictionaryListByPage */ | |
4691 | +export interface PostOrderErpDictionaryListByPageResponse { | |
4659 | 4692 | /** |
4660 | 4693 | * @description |
4661 | 4694 | * OK |
... | ... | @@ -4683,25 +4716,25 @@ export interface PostOrderErpJobsEditResponse { |
4683 | 4716 | 404: any; |
4684 | 4717 | } |
4685 | 4718 | |
4686 | -export type PostOrderErpJobsEditResponseSuccess = | |
4687 | - PostOrderErpJobsEditResponse[200]; | |
4719 | +export type PostOrderErpDictionaryListByPageResponseSuccess = | |
4720 | + PostOrderErpDictionaryListByPageResponse[200]; | |
4688 | 4721 | /** |
4689 | 4722 | * @description |
4690 | - * 修改岗位 | |
4691 | - * @tags 系统:岗位管理 | |
4723 | + * 查询字典列表 | |
4724 | + * @tags 系统:字典管理 | |
4692 | 4725 | * @produces * |
4693 | 4726 | * @consumes application/json |
4694 | 4727 | */ |
4695 | -export const postOrderErpJobsEdit = /* #__PURE__ */ (() => { | |
4728 | +export const postOrderErpDictionaryListByPage = /* #__PURE__ */ (() => { | |
4696 | 4729 | const method = 'post'; |
4697 | - const url = '/order/erp/jobs/edit'; | |
4730 | + const url = '/order/erp/dictionary/list_by_page'; | |
4698 | 4731 | function request( |
4699 | - option: PostOrderErpJobsEditOption, | |
4700 | - ): Promise<PostOrderErpJobsEditResponseSuccess> { | |
4732 | + option: PostOrderErpDictionaryListByPageOption, | |
4733 | + ): Promise<PostOrderErpDictionaryListByPageResponseSuccess> { | |
4701 | 4734 | return requester(request.url, { |
4702 | 4735 | method: request.method, |
4703 | 4736 | ...option, |
4704 | - }) as unknown as Promise<PostOrderErpJobsEditResponseSuccess>; | |
4737 | + }) as unknown as Promise<PostOrderErpDictionaryListByPageResponseSuccess>; | |
4705 | 4738 | } |
4706 | 4739 | |
4707 | 4740 | /** http method */ |
... | ... | @@ -4711,22 +4744,8 @@ export const postOrderErpJobsEdit = /* #__PURE__ */ (() => { |
4711 | 4744 | return request; |
4712 | 4745 | })(); |
4713 | 4746 | |
4714 | -/** @description request parameter type for postOrderErpJobsListByPage */ | |
4715 | -export interface PostOrderErpJobsListByPageOption { | |
4716 | - /** | |
4717 | - * @description | |
4718 | - * queryVO | |
4719 | - */ | |
4720 | - body: { | |
4721 | - /** | |
4722 | - @description | |
4723 | - queryVO */ | |
4724 | - queryVO: AdminJobQueryVO; | |
4725 | - }; | |
4726 | -} | |
4727 | - | |
4728 | -/** @description response type for postOrderErpJobsListByPage */ | |
4729 | -export interface PostOrderErpJobsListByPageResponse { | |
4747 | +/** @description response type for getOrderErpIndexChartData */ | |
4748 | +export interface GetOrderErpIndexChartDataResponse { | |
4730 | 4749 | /** |
4731 | 4750 | * @description |
4732 | 4751 | * OK |
... | ... | @@ -4734,11 +4753,6 @@ export interface PostOrderErpJobsListByPageResponse { |
4734 | 4753 | 200: ServerResult; |
4735 | 4754 | /** |
4736 | 4755 | * @description |
4737 | - * Created | |
4738 | - */ | |
4739 | - 201: any; | |
4740 | - /** | |
4741 | - * @description | |
4742 | 4756 | * Unauthorized |
4743 | 4757 | */ |
4744 | 4758 | 401: any; |
... | ... | @@ -4754,25 +4768,21 @@ export interface PostOrderErpJobsListByPageResponse { |
4754 | 4768 | 404: any; |
4755 | 4769 | } |
4756 | 4770 | |
4757 | -export type PostOrderErpJobsListByPageResponseSuccess = | |
4758 | - PostOrderErpJobsListByPageResponse[200]; | |
4771 | +export type GetOrderErpIndexChartDataResponseSuccess = | |
4772 | + GetOrderErpIndexChartDataResponse[200]; | |
4759 | 4773 | /** |
4760 | 4774 | * @description |
4761 | - * 查询岗位 | |
4762 | - * @tags 系统:岗位管理 | |
4775 | + * 首页订单趋势 | |
4776 | + * @tags 首页 | |
4763 | 4777 | * @produces * |
4764 | - * @consumes application/json | |
4765 | 4778 | */ |
4766 | -export const postOrderErpJobsListByPage = /* #__PURE__ */ (() => { | |
4767 | - const method = 'post'; | |
4768 | - const url = '/order/erp/jobs/list_by_page'; | |
4769 | - function request( | |
4770 | - option: PostOrderErpJobsListByPageOption, | |
4771 | - ): Promise<PostOrderErpJobsListByPageResponseSuccess> { | |
4779 | +export const getOrderErpIndexChartData = /* #__PURE__ */ (() => { | |
4780 | + const method = 'get'; | |
4781 | + const url = '/order/erp/index/chartData'; | |
4782 | + function request(): Promise<GetOrderErpIndexChartDataResponseSuccess> { | |
4772 | 4783 | return requester(request.url, { |
4773 | 4784 | method: request.method, |
4774 | - ...option, | |
4775 | - }) as unknown as Promise<PostOrderErpJobsListByPageResponseSuccess>; | |
4785 | + }) as unknown as Promise<GetOrderErpIndexChartDataResponseSuccess>; | |
4776 | 4786 | } |
4777 | 4787 | |
4778 | 4788 | /** http method */ |
... | ... | @@ -4782,22 +4792,8 @@ export const postOrderErpJobsListByPage = /* #__PURE__ */ (() => { |
4782 | 4792 | return request; |
4783 | 4793 | })(); |
4784 | 4794 | |
4785 | -/** @description request parameter type for postOrderErpLogsList */ | |
4786 | -export interface PostOrderErpLogsListOption { | |
4787 | - /** | |
4788 | - * @description | |
4789 | - * sysLogQueryVO | |
4790 | - */ | |
4791 | - body: { | |
4792 | - /** | |
4793 | - @description | |
4794 | - sysLogQueryVO */ | |
4795 | - sysLogQueryVO: SysLogQueryVO; | |
4796 | - }; | |
4797 | -} | |
4798 | - | |
4799 | -/** @description response type for postOrderErpLogsList */ | |
4800 | -export interface PostOrderErpLogsListResponse { | |
4795 | +/** @description response type for getOrderErpIndexData */ | |
4796 | +export interface GetOrderErpIndexDataResponse { | |
4801 | 4797 | /** |
4802 | 4798 | * @description |
4803 | 4799 | * OK |
... | ... | @@ -4805,11 +4801,6 @@ export interface PostOrderErpLogsListResponse { |
4805 | 4801 | 200: ServerResult; |
4806 | 4802 | /** |
4807 | 4803 | * @description |
4808 | - * Created | |
4809 | - */ | |
4810 | - 201: any; | |
4811 | - /** | |
4812 | - * @description | |
4813 | 4804 | * Unauthorized |
4814 | 4805 | */ |
4815 | 4806 | 401: any; |
... | ... | @@ -4825,25 +4816,21 @@ export interface PostOrderErpLogsListResponse { |
4825 | 4816 | 404: any; |
4826 | 4817 | } |
4827 | 4818 | |
4828 | -export type PostOrderErpLogsListResponseSuccess = | |
4829 | - PostOrderErpLogsListResponse[200]; | |
4819 | +export type GetOrderErpIndexDataResponseSuccess = | |
4820 | + GetOrderErpIndexDataResponse[200]; | |
4830 | 4821 | /** |
4831 | 4822 | * @description |
4832 | - * 分页查询 | |
4833 | - * @tags 系统日志 | |
4823 | + * 首页统计数据 | |
4824 | + * @tags 首页 | |
4834 | 4825 | * @produces * |
4835 | - * @consumes application/json | |
4836 | 4826 | */ |
4837 | -export const postOrderErpLogsList = /* #__PURE__ */ (() => { | |
4838 | - const method = 'post'; | |
4839 | - const url = '/order/erp/logs/list'; | |
4840 | - function request( | |
4841 | - option: PostOrderErpLogsListOption, | |
4842 | - ): Promise<PostOrderErpLogsListResponseSuccess> { | |
4827 | +export const getOrderErpIndexData = /* #__PURE__ */ (() => { | |
4828 | + const method = 'get'; | |
4829 | + const url = '/order/erp/index/data'; | |
4830 | + function request(): Promise<GetOrderErpIndexDataResponseSuccess> { | |
4843 | 4831 | return requester(request.url, { |
4844 | 4832 | method: request.method, |
4845 | - ...option, | |
4846 | - }) as unknown as Promise<PostOrderErpLogsListResponseSuccess>; | |
4833 | + }) as unknown as Promise<GetOrderErpIndexDataResponseSuccess>; | |
4847 | 4834 | } |
4848 | 4835 | |
4849 | 4836 | /** http method */ |
... | ... | @@ -4853,22 +4840,22 @@ export const postOrderErpLogsList = /* #__PURE__ */ (() => { |
4853 | 4840 | return request; |
4854 | 4841 | })(); |
4855 | 4842 | |
4856 | -/** @description request parameter type for postOrderErpMenusAdd */ | |
4857 | -export interface PostOrderErpMenusAddOption { | |
4843 | +/** @description request parameter type for postOrderErpJobsAdd */ | |
4844 | +export interface PostOrderErpJobsAddOption { | |
4858 | 4845 | /** |
4859 | 4846 | * @description |
4860 | - * menuVO | |
4847 | + * jobVO | |
4861 | 4848 | */ |
4862 | 4849 | body: { |
4863 | 4850 | /** |
4864 | 4851 | @description |
4865 | - menuVO */ | |
4866 | - menuVO: AdminMenuVO; | |
4852 | + jobVO */ | |
4853 | + jobVO: AdminJobVO; | |
4867 | 4854 | }; |
4868 | 4855 | } |
4869 | 4856 | |
4870 | -/** @description response type for postOrderErpMenusAdd */ | |
4871 | -export interface PostOrderErpMenusAddResponse { | |
4857 | +/** @description response type for postOrderErpJobsAdd */ | |
4858 | +export interface PostOrderErpJobsAddResponse { | |
4872 | 4859 | /** |
4873 | 4860 | * @description |
4874 | 4861 | * OK |
... | ... | @@ -4896,25 +4883,25 @@ export interface PostOrderErpMenusAddResponse { |
4896 | 4883 | 404: any; |
4897 | 4884 | } |
4898 | 4885 | |
4899 | -export type PostOrderErpMenusAddResponseSuccess = | |
4900 | - PostOrderErpMenusAddResponse[200]; | |
4886 | +export type PostOrderErpJobsAddResponseSuccess = | |
4887 | + PostOrderErpJobsAddResponse[200]; | |
4901 | 4888 | /** |
4902 | 4889 | * @description |
4903 | - * 新增菜单 | |
4904 | - * @tags 系统:菜单管理 | |
4890 | + * 新增岗位 | |
4891 | + * @tags 系统:岗位管理 | |
4905 | 4892 | * @produces * |
4906 | 4893 | * @consumes application/json |
4907 | 4894 | */ |
4908 | -export const postOrderErpMenusAdd = /* #__PURE__ */ (() => { | |
4895 | +export const postOrderErpJobsAdd = /* #__PURE__ */ (() => { | |
4909 | 4896 | const method = 'post'; |
4910 | - const url = '/order/erp/menus/add'; | |
4897 | + const url = '/order/erp/jobs/add'; | |
4911 | 4898 | function request( |
4912 | - option: PostOrderErpMenusAddOption, | |
4913 | - ): Promise<PostOrderErpMenusAddResponseSuccess> { | |
4899 | + option: PostOrderErpJobsAddOption, | |
4900 | + ): Promise<PostOrderErpJobsAddResponseSuccess> { | |
4914 | 4901 | return requester(request.url, { |
4915 | 4902 | method: request.method, |
4916 | 4903 | ...option, |
4917 | - }) as unknown as Promise<PostOrderErpMenusAddResponseSuccess>; | |
4904 | + }) as unknown as Promise<PostOrderErpJobsAddResponseSuccess>; | |
4918 | 4905 | } |
4919 | 4906 | |
4920 | 4907 | /** http method */ |
... | ... | @@ -4924,8 +4911,8 @@ export const postOrderErpMenusAdd = /* #__PURE__ */ (() => { |
4924 | 4911 | return request; |
4925 | 4912 | })(); |
4926 | 4913 | |
4927 | -/** @description request parameter type for postOrderErpMenusAll */ | |
4928 | -export interface PostOrderErpMenusAllOption { | |
4914 | +/** @description request parameter type for postOrderErpJobsDelete */ | |
4915 | +export interface PostOrderErpJobsDeleteOption { | |
4929 | 4916 | /** |
4930 | 4917 | * @description |
4931 | 4918 | * queryVO |
... | ... | @@ -4934,12 +4921,12 @@ export interface PostOrderErpMenusAllOption { |
4934 | 4921 | /** |
4935 | 4922 | @description |
4936 | 4923 | queryVO */ |
4937 | - queryVO: AdminMenuQueryVO; | |
4924 | + queryVO: AdminJobQueryVO; | |
4938 | 4925 | }; |
4939 | 4926 | } |
4940 | 4927 | |
4941 | -/** @description response type for postOrderErpMenusAll */ | |
4942 | -export interface PostOrderErpMenusAllResponse { | |
4928 | +/** @description response type for postOrderErpJobsDelete */ | |
4929 | +export interface PostOrderErpJobsDeleteResponse { | |
4943 | 4930 | /** |
4944 | 4931 | * @description |
4945 | 4932 | * OK |
... | ... | @@ -4967,25 +4954,25 @@ export interface PostOrderErpMenusAllResponse { |
4967 | 4954 | 404: any; |
4968 | 4955 | } |
4969 | 4956 | |
4970 | -export type PostOrderErpMenusAllResponseSuccess = | |
4971 | - PostOrderErpMenusAllResponse[200]; | |
4957 | +export type PostOrderErpJobsDeleteResponseSuccess = | |
4958 | + PostOrderErpJobsDeleteResponse[200]; | |
4972 | 4959 | /** |
4973 | 4960 | * @description |
4974 | - * 查询菜单 | |
4975 | - * @tags 系统:菜单管理 | |
4961 | + * 删除岗位 | |
4962 | + * @tags 系统:岗位管理 | |
4976 | 4963 | * @produces * |
4977 | 4964 | * @consumes application/json |
4978 | 4965 | */ |
4979 | -export const postOrderErpMenusAll = /* #__PURE__ */ (() => { | |
4966 | +export const postOrderErpJobsDelete = /* #__PURE__ */ (() => { | |
4980 | 4967 | const method = 'post'; |
4981 | - const url = '/order/erp/menus/all'; | |
4968 | + const url = '/order/erp/jobs/delete'; | |
4982 | 4969 | function request( |
4983 | - option: PostOrderErpMenusAllOption, | |
4984 | - ): Promise<PostOrderErpMenusAllResponseSuccess> { | |
4970 | + option: PostOrderErpJobsDeleteOption, | |
4971 | + ): Promise<PostOrderErpJobsDeleteResponseSuccess> { | |
4985 | 4972 | return requester(request.url, { |
4986 | 4973 | method: request.method, |
4987 | 4974 | ...option, |
4988 | - }) as unknown as Promise<PostOrderErpMenusAllResponseSuccess>; | |
4975 | + }) as unknown as Promise<PostOrderErpJobsDeleteResponseSuccess>; | |
4989 | 4976 | } |
4990 | 4977 | |
4991 | 4978 | /** http method */ |
... | ... | @@ -4995,8 +4982,22 @@ export const postOrderErpMenusAll = /* #__PURE__ */ (() => { |
4995 | 4982 | return request; |
4996 | 4983 | })(); |
4997 | 4984 | |
4998 | -/** @description response type for postOrderErpMenusBuild */ | |
4999 | -export interface PostOrderErpMenusBuildResponse { | |
4985 | +/** @description request parameter type for postOrderErpJobsEdit */ | |
4986 | +export interface PostOrderErpJobsEditOption { | |
4987 | + /** | |
4988 | + * @description | |
4989 | + * jobVO | |
4990 | + */ | |
4991 | + body: { | |
4992 | + /** | |
4993 | + @description | |
4994 | + jobVO */ | |
4995 | + jobVO: AdminJobVO; | |
4996 | + }; | |
4997 | +} | |
4998 | + | |
4999 | +/** @description response type for postOrderErpJobsEdit */ | |
5000 | +export interface PostOrderErpJobsEditResponse { | |
5000 | 5001 | /** |
5001 | 5002 | * @description |
5002 | 5003 | * OK |
... | ... | @@ -5024,22 +5025,25 @@ export interface PostOrderErpMenusBuildResponse { |
5024 | 5025 | 404: any; |
5025 | 5026 | } |
5026 | 5027 | |
5027 | -export type PostOrderErpMenusBuildResponseSuccess = | |
5028 | - PostOrderErpMenusBuildResponse[200]; | |
5028 | +export type PostOrderErpJobsEditResponseSuccess = | |
5029 | + PostOrderErpJobsEditResponse[200]; | |
5029 | 5030 | /** |
5030 | 5031 | * @description |
5031 | - * 获取前端所需菜单 | |
5032 | - * @tags 系统:菜单管理 | |
5032 | + * 修改岗位 | |
5033 | + * @tags 系统:岗位管理 | |
5033 | 5034 | * @produces * |
5034 | 5035 | * @consumes application/json |
5035 | 5036 | */ |
5036 | -export const postOrderErpMenusBuild = /* #__PURE__ */ (() => { | |
5037 | +export const postOrderErpJobsEdit = /* #__PURE__ */ (() => { | |
5037 | 5038 | const method = 'post'; |
5038 | - const url = '/order/erp/menus/build'; | |
5039 | - function request(): Promise<PostOrderErpMenusBuildResponseSuccess> { | |
5039 | + const url = '/order/erp/jobs/edit'; | |
5040 | + function request( | |
5041 | + option: PostOrderErpJobsEditOption, | |
5042 | + ): Promise<PostOrderErpJobsEditResponseSuccess> { | |
5040 | 5043 | return requester(request.url, { |
5041 | 5044 | method: request.method, |
5042 | - }) as unknown as Promise<PostOrderErpMenusBuildResponseSuccess>; | |
5045 | + ...option, | |
5046 | + }) as unknown as Promise<PostOrderErpJobsEditResponseSuccess>; | |
5043 | 5047 | } |
5044 | 5048 | |
5045 | 5049 | /** http method */ |
... | ... | @@ -5049,8 +5053,8 @@ export const postOrderErpMenusBuild = /* #__PURE__ */ (() => { |
5049 | 5053 | return request; |
5050 | 5054 | })(); |
5051 | 5055 | |
5052 | -/** @description request parameter type for postOrderErpMenusDelete */ | |
5053 | -export interface PostOrderErpMenusDeleteOption { | |
5056 | +/** @description request parameter type for postOrderErpJobsListByPage */ | |
5057 | +export interface PostOrderErpJobsListByPageOption { | |
5054 | 5058 | /** |
5055 | 5059 | * @description |
5056 | 5060 | * queryVO |
... | ... | @@ -5059,12 +5063,12 @@ export interface PostOrderErpMenusDeleteOption { |
5059 | 5063 | /** |
5060 | 5064 | @description |
5061 | 5065 | queryVO */ |
5062 | - queryVO: AdminMenuQueryVO; | |
5066 | + queryVO: AdminJobQueryVO; | |
5063 | 5067 | }; |
5064 | 5068 | } |
5065 | 5069 | |
5066 | -/** @description response type for postOrderErpMenusDelete */ | |
5067 | -export interface PostOrderErpMenusDeleteResponse { | |
5070 | +/** @description response type for postOrderErpJobsListByPage */ | |
5071 | +export interface PostOrderErpJobsListByPageResponse { | |
5068 | 5072 | /** |
5069 | 5073 | * @description |
5070 | 5074 | * OK |
... | ... | @@ -5092,25 +5096,25 @@ export interface PostOrderErpMenusDeleteResponse { |
5092 | 5096 | 404: any; |
5093 | 5097 | } |
5094 | 5098 | |
5095 | -export type PostOrderErpMenusDeleteResponseSuccess = | |
5096 | - PostOrderErpMenusDeleteResponse[200]; | |
5099 | +export type PostOrderErpJobsListByPageResponseSuccess = | |
5100 | + PostOrderErpJobsListByPageResponse[200]; | |
5097 | 5101 | /** |
5098 | 5102 | * @description |
5099 | - * 删除菜单 | |
5100 | - * @tags 系统:菜单管理 | |
5103 | + * 查询岗位 | |
5104 | + * @tags 系统:岗位管理 | |
5101 | 5105 | * @produces * |
5102 | 5106 | * @consumes application/json |
5103 | 5107 | */ |
5104 | -export const postOrderErpMenusDelete = /* #__PURE__ */ (() => { | |
5108 | +export const postOrderErpJobsListByPage = /* #__PURE__ */ (() => { | |
5105 | 5109 | const method = 'post'; |
5106 | - const url = '/order/erp/menus/delete'; | |
5110 | + const url = '/order/erp/jobs/list_by_page'; | |
5107 | 5111 | function request( |
5108 | - option: PostOrderErpMenusDeleteOption, | |
5109 | - ): Promise<PostOrderErpMenusDeleteResponseSuccess> { | |
5112 | + option: PostOrderErpJobsListByPageOption, | |
5113 | + ): Promise<PostOrderErpJobsListByPageResponseSuccess> { | |
5110 | 5114 | return requester(request.url, { |
5111 | 5115 | method: request.method, |
5112 | 5116 | ...option, |
5113 | - }) as unknown as Promise<PostOrderErpMenusDeleteResponseSuccess>; | |
5117 | + }) as unknown as Promise<PostOrderErpJobsListByPageResponseSuccess>; | |
5114 | 5118 | } |
5115 | 5119 | |
5116 | 5120 | /** http method */ |
... | ... | @@ -5120,22 +5124,22 @@ export const postOrderErpMenusDelete = /* #__PURE__ */ (() => { |
5120 | 5124 | return request; |
5121 | 5125 | })(); |
5122 | 5126 | |
5123 | -/** @description request parameter type for postOrderErpMenusEdit */ | |
5124 | -export interface PostOrderErpMenusEditOption { | |
5127 | +/** @description request parameter type for postOrderErpLogsList */ | |
5128 | +export interface PostOrderErpLogsListOption { | |
5125 | 5129 | /** |
5126 | 5130 | * @description |
5127 | - * menuVO | |
5131 | + * sysLogQueryVO | |
5128 | 5132 | */ |
5129 | 5133 | body: { |
5130 | 5134 | /** |
5131 | 5135 | @description |
5132 | - menuVO */ | |
5133 | - menuVO: AdminMenuVO; | |
5136 | + sysLogQueryVO */ | |
5137 | + sysLogQueryVO: SysLogQueryVO; | |
5134 | 5138 | }; |
5135 | 5139 | } |
5136 | 5140 | |
5137 | -/** @description response type for postOrderErpMenusEdit */ | |
5138 | -export interface PostOrderErpMenusEditResponse { | |
5141 | +/** @description response type for postOrderErpLogsList */ | |
5142 | +export interface PostOrderErpLogsListResponse { | |
5139 | 5143 | /** |
5140 | 5144 | * @description |
5141 | 5145 | * OK |
... | ... | @@ -5163,25 +5167,25 @@ export interface PostOrderErpMenusEditResponse { |
5163 | 5167 | 404: any; |
5164 | 5168 | } |
5165 | 5169 | |
5166 | -export type PostOrderErpMenusEditResponseSuccess = | |
5167 | - PostOrderErpMenusEditResponse[200]; | |
5170 | +export type PostOrderErpLogsListResponseSuccess = | |
5171 | + PostOrderErpLogsListResponse[200]; | |
5168 | 5172 | /** |
5169 | 5173 | * @description |
5170 | - * 修改菜单 | |
5171 | - * @tags 系统:菜单管理 | |
5174 | + * 分页查询 | |
5175 | + * @tags 系统日志 | |
5172 | 5176 | * @produces * |
5173 | 5177 | * @consumes application/json |
5174 | 5178 | */ |
5175 | -export const postOrderErpMenusEdit = /* #__PURE__ */ (() => { | |
5179 | +export const postOrderErpLogsList = /* #__PURE__ */ (() => { | |
5176 | 5180 | const method = 'post'; |
5177 | - const url = '/order/erp/menus/edit'; | |
5181 | + const url = '/order/erp/logs/list'; | |
5178 | 5182 | function request( |
5179 | - option: PostOrderErpMenusEditOption, | |
5180 | - ): Promise<PostOrderErpMenusEditResponseSuccess> { | |
5183 | + option: PostOrderErpLogsListOption, | |
5184 | + ): Promise<PostOrderErpLogsListResponseSuccess> { | |
5181 | 5185 | return requester(request.url, { |
5182 | 5186 | method: request.method, |
5183 | 5187 | ...option, |
5184 | - }) as unknown as Promise<PostOrderErpMenusEditResponseSuccess>; | |
5188 | + }) as unknown as Promise<PostOrderErpLogsListResponseSuccess>; | |
5185 | 5189 | } |
5186 | 5190 | |
5187 | 5191 | /** http method */ |
... | ... | @@ -5191,8 +5195,22 @@ export const postOrderErpMenusEdit = /* #__PURE__ */ (() => { |
5191 | 5195 | return request; |
5192 | 5196 | })(); |
5193 | 5197 | |
5194 | -/** @description response type for postOrderErpMenusTree */ | |
5195 | -export interface PostOrderErpMenusTreeResponse { | |
5198 | +/** @description request parameter type for postOrderErpMenusAdd */ | |
5199 | +export interface PostOrderErpMenusAddOption { | |
5200 | + /** | |
5201 | + * @description | |
5202 | + * menuVO | |
5203 | + */ | |
5204 | + body: { | |
5205 | + /** | |
5206 | + @description | |
5207 | + menuVO */ | |
5208 | + menuVO: AdminMenuVO; | |
5209 | + }; | |
5210 | +} | |
5211 | + | |
5212 | +/** @description response type for postOrderErpMenusAdd */ | |
5213 | +export interface PostOrderErpMenusAddResponse { | |
5196 | 5214 | /** |
5197 | 5215 | * @description |
5198 | 5216 | * OK |
... | ... | @@ -5220,22 +5238,25 @@ export interface PostOrderErpMenusTreeResponse { |
5220 | 5238 | 404: any; |
5221 | 5239 | } |
5222 | 5240 | |
5223 | -export type PostOrderErpMenusTreeResponseSuccess = | |
5224 | - PostOrderErpMenusTreeResponse[200]; | |
5241 | +export type PostOrderErpMenusAddResponseSuccess = | |
5242 | + PostOrderErpMenusAddResponse[200]; | |
5225 | 5243 | /** |
5226 | 5244 | * @description |
5227 | - * 返回全部的菜单 | |
5245 | + * 新增菜单 | |
5228 | 5246 | * @tags 系统:菜单管理 |
5229 | 5247 | * @produces * |
5230 | 5248 | * @consumes application/json |
5231 | 5249 | */ |
5232 | -export const postOrderErpMenusTree = /* #__PURE__ */ (() => { | |
5250 | +export const postOrderErpMenusAdd = /* #__PURE__ */ (() => { | |
5233 | 5251 | const method = 'post'; |
5234 | - const url = '/order/erp/menus/tree'; | |
5235 | - function request(): Promise<PostOrderErpMenusTreeResponseSuccess> { | |
5252 | + const url = '/order/erp/menus/add'; | |
5253 | + function request( | |
5254 | + option: PostOrderErpMenusAddOption, | |
5255 | + ): Promise<PostOrderErpMenusAddResponseSuccess> { | |
5236 | 5256 | return requester(request.url, { |
5237 | 5257 | method: request.method, |
5238 | - }) as unknown as Promise<PostOrderErpMenusTreeResponseSuccess>; | |
5258 | + ...option, | |
5259 | + }) as unknown as Promise<PostOrderErpMenusAddResponseSuccess>; | |
5239 | 5260 | } |
5240 | 5261 | |
5241 | 5262 | /** http method */ |
... | ... | @@ -5245,8 +5266,22 @@ export const postOrderErpMenusTree = /* #__PURE__ */ (() => { |
5245 | 5266 | return request; |
5246 | 5267 | })(); |
5247 | 5268 | |
5248 | -/** @description response type for postOrderErpMessageGetUnreadNum */ | |
5249 | -export interface PostOrderErpMessageGetUnreadNumResponse { | |
5269 | +/** @description request parameter type for postOrderErpMenusAll */ | |
5270 | +export interface PostOrderErpMenusAllOption { | |
5271 | + /** | |
5272 | + * @description | |
5273 | + * queryVO | |
5274 | + */ | |
5275 | + body: { | |
5276 | + /** | |
5277 | + @description | |
5278 | + queryVO */ | |
5279 | + queryVO: AdminMenuQueryVO; | |
5280 | + }; | |
5281 | +} | |
5282 | + | |
5283 | +/** @description response type for postOrderErpMenusAll */ | |
5284 | +export interface PostOrderErpMenusAllResponse { | |
5250 | 5285 | /** |
5251 | 5286 | * @description |
5252 | 5287 | * OK |
... | ... | @@ -5274,22 +5309,25 @@ export interface PostOrderErpMessageGetUnreadNumResponse { |
5274 | 5309 | 404: any; |
5275 | 5310 | } |
5276 | 5311 | |
5277 | -export type PostOrderErpMessageGetUnreadNumResponseSuccess = | |
5278 | - PostOrderErpMessageGetUnreadNumResponse[200]; | |
5312 | +export type PostOrderErpMenusAllResponseSuccess = | |
5313 | + PostOrderErpMenusAllResponse[200]; | |
5279 | 5314 | /** |
5280 | 5315 | * @description |
5281 | - * getUnreadNum | |
5282 | - * @tags message-controller | |
5316 | + * 查询菜单 | |
5317 | + * @tags 系统:菜单管理 | |
5283 | 5318 | * @produces * |
5284 | 5319 | * @consumes application/json |
5285 | 5320 | */ |
5286 | -export const postOrderErpMessageGetUnreadNum = /* #__PURE__ */ (() => { | |
5321 | +export const postOrderErpMenusAll = /* #__PURE__ */ (() => { | |
5287 | 5322 | const method = 'post'; |
5288 | - const url = '/order/erp/message/getUnreadNum'; | |
5289 | - function request(): Promise<PostOrderErpMessageGetUnreadNumResponseSuccess> { | |
5323 | + const url = '/order/erp/menus/all'; | |
5324 | + function request( | |
5325 | + option: PostOrderErpMenusAllOption, | |
5326 | + ): Promise<PostOrderErpMenusAllResponseSuccess> { | |
5290 | 5327 | return requester(request.url, { |
5291 | 5328 | method: request.method, |
5292 | - }) as unknown as Promise<PostOrderErpMessageGetUnreadNumResponseSuccess>; | |
5329 | + ...option, | |
5330 | + }) as unknown as Promise<PostOrderErpMenusAllResponseSuccess>; | |
5293 | 5331 | } |
5294 | 5332 | |
5295 | 5333 | /** http method */ |
... | ... | @@ -5299,22 +5337,8 @@ export const postOrderErpMessageGetUnreadNum = /* #__PURE__ */ (() => { |
5299 | 5337 | return request; |
5300 | 5338 | })(); |
5301 | 5339 | |
5302 | -/** @description request parameter type for postOrderErpMessageQueryMyMessage */ | |
5303 | -export interface PostOrderErpMessageQueryMyMessageOption { | |
5304 | - /** | |
5305 | - * @description | |
5306 | - * messageQueryDTO | |
5307 | - */ | |
5308 | - body: { | |
5309 | - /** | |
5310 | - @description | |
5311 | - messageQueryDTO */ | |
5312 | - messageQueryDTO: MessageQueryDTO; | |
5313 | - }; | |
5314 | -} | |
5315 | - | |
5316 | -/** @description response type for postOrderErpMessageQueryMyMessage */ | |
5317 | -export interface PostOrderErpMessageQueryMyMessageResponse { | |
5340 | +/** @description response type for postOrderErpMenusBuild */ | |
5341 | +export interface PostOrderErpMenusBuildResponse { | |
5318 | 5342 | /** |
5319 | 5343 | * @description |
5320 | 5344 | * OK |
... | ... | @@ -5342,25 +5366,22 @@ export interface PostOrderErpMessageQueryMyMessageResponse { |
5342 | 5366 | 404: any; |
5343 | 5367 | } |
5344 | 5368 | |
5345 | -export type PostOrderErpMessageQueryMyMessageResponseSuccess = | |
5346 | - PostOrderErpMessageQueryMyMessageResponse[200]; | |
5369 | +export type PostOrderErpMenusBuildResponseSuccess = | |
5370 | + PostOrderErpMenusBuildResponse[200]; | |
5347 | 5371 | /** |
5348 | 5372 | * @description |
5349 | - * queryMyMessage | |
5350 | - * @tags message-controller | |
5373 | + * 获取前端所需菜单 | |
5374 | + * @tags 系统:菜单管理 | |
5351 | 5375 | * @produces * |
5352 | 5376 | * @consumes application/json |
5353 | 5377 | */ |
5354 | -export const postOrderErpMessageQueryMyMessage = /* #__PURE__ */ (() => { | |
5378 | +export const postOrderErpMenusBuild = /* #__PURE__ */ (() => { | |
5355 | 5379 | const method = 'post'; |
5356 | - const url = '/order/erp/message/queryMyMessage'; | |
5357 | - function request( | |
5358 | - option: PostOrderErpMessageQueryMyMessageOption, | |
5359 | - ): Promise<PostOrderErpMessageQueryMyMessageResponseSuccess> { | |
5380 | + const url = '/order/erp/menus/build'; | |
5381 | + function request(): Promise<PostOrderErpMenusBuildResponseSuccess> { | |
5360 | 5382 | return requester(request.url, { |
5361 | 5383 | method: request.method, |
5362 | - ...option, | |
5363 | - }) as unknown as Promise<PostOrderErpMessageQueryMyMessageResponseSuccess>; | |
5384 | + }) as unknown as Promise<PostOrderErpMenusBuildResponseSuccess>; | |
5364 | 5385 | } |
5365 | 5386 | |
5366 | 5387 | /** http method */ |
... | ... | @@ -5370,22 +5391,22 @@ export const postOrderErpMessageQueryMyMessage = /* #__PURE__ */ (() => { |
5370 | 5391 | return request; |
5371 | 5392 | })(); |
5372 | 5393 | |
5373 | -/** @description request parameter type for postOrderErpMessageRead */ | |
5374 | -export interface PostOrderErpMessageReadOption { | |
5394 | +/** @description request parameter type for postOrderErpMenusDelete */ | |
5395 | +export interface PostOrderErpMenusDeleteOption { | |
5375 | 5396 | /** |
5376 | 5397 | * @description |
5377 | - * ids | |
5398 | + * queryVO | |
5378 | 5399 | */ |
5379 | 5400 | body: { |
5380 | 5401 | /** |
5381 | 5402 | @description |
5382 | - ids */ | |
5383 | - ids: Array<number>; | |
5403 | + queryVO */ | |
5404 | + queryVO: AdminMenuQueryVO; | |
5384 | 5405 | }; |
5385 | 5406 | } |
5386 | 5407 | |
5387 | -/** @description response type for postOrderErpMessageRead */ | |
5388 | -export interface PostOrderErpMessageReadResponse { | |
5408 | +/** @description response type for postOrderErpMenusDelete */ | |
5409 | +export interface PostOrderErpMenusDeleteResponse { | |
5389 | 5410 | /** |
5390 | 5411 | * @description |
5391 | 5412 | * OK |
... | ... | @@ -5413,25 +5434,25 @@ export interface PostOrderErpMessageReadResponse { |
5413 | 5434 | 404: any; |
5414 | 5435 | } |
5415 | 5436 | |
5416 | -export type PostOrderErpMessageReadResponseSuccess = | |
5417 | - PostOrderErpMessageReadResponse[200]; | |
5437 | +export type PostOrderErpMenusDeleteResponseSuccess = | |
5438 | + PostOrderErpMenusDeleteResponse[200]; | |
5418 | 5439 | /** |
5419 | 5440 | * @description |
5420 | - * read | |
5421 | - * @tags message-controller | |
5441 | + * 删除菜单 | |
5442 | + * @tags 系统:菜单管理 | |
5422 | 5443 | * @produces * |
5423 | 5444 | * @consumes application/json |
5424 | 5445 | */ |
5425 | -export const postOrderErpMessageRead = /* #__PURE__ */ (() => { | |
5446 | +export const postOrderErpMenusDelete = /* #__PURE__ */ (() => { | |
5426 | 5447 | const method = 'post'; |
5427 | - const url = '/order/erp/message/read'; | |
5448 | + const url = '/order/erp/menus/delete'; | |
5428 | 5449 | function request( |
5429 | - option: PostOrderErpMessageReadOption, | |
5430 | - ): Promise<PostOrderErpMessageReadResponseSuccess> { | |
5450 | + option: PostOrderErpMenusDeleteOption, | |
5451 | + ): Promise<PostOrderErpMenusDeleteResponseSuccess> { | |
5431 | 5452 | return requester(request.url, { |
5432 | 5453 | method: request.method, |
5433 | 5454 | ...option, |
5434 | - }) as unknown as Promise<PostOrderErpMessageReadResponseSuccess>; | |
5455 | + }) as unknown as Promise<PostOrderErpMenusDeleteResponseSuccess>; | |
5435 | 5456 | } |
5436 | 5457 | |
5437 | 5458 | /** http method */ |
... | ... | @@ -5441,8 +5462,22 @@ export const postOrderErpMessageRead = /* #__PURE__ */ (() => { |
5441 | 5462 | return request; |
5442 | 5463 | })(); |
5443 | 5464 | |
5444 | -/** @description response type for postOrderErpMessageReadAll */ | |
5445 | -export interface PostOrderErpMessageReadAllResponse { | |
5465 | +/** @description request parameter type for postOrderErpMenusEdit */ | |
5466 | +export interface PostOrderErpMenusEditOption { | |
5467 | + /** | |
5468 | + * @description | |
5469 | + * menuVO | |
5470 | + */ | |
5471 | + body: { | |
5472 | + /** | |
5473 | + @description | |
5474 | + menuVO */ | |
5475 | + menuVO: AdminMenuVO; | |
5476 | + }; | |
5477 | +} | |
5478 | + | |
5479 | +/** @description response type for postOrderErpMenusEdit */ | |
5480 | +export interface PostOrderErpMenusEditResponse { | |
5446 | 5481 | /** |
5447 | 5482 | * @description |
5448 | 5483 | * OK |
... | ... | @@ -5470,22 +5505,25 @@ export interface PostOrderErpMessageReadAllResponse { |
5470 | 5505 | 404: any; |
5471 | 5506 | } |
5472 | 5507 | |
5473 | -export type PostOrderErpMessageReadAllResponseSuccess = | |
5474 | - PostOrderErpMessageReadAllResponse[200]; | |
5508 | +export type PostOrderErpMenusEditResponseSuccess = | |
5509 | + PostOrderErpMenusEditResponse[200]; | |
5475 | 5510 | /** |
5476 | 5511 | * @description |
5477 | - * readAll | |
5478 | - * @tags message-controller | |
5512 | + * 修改菜单 | |
5513 | + * @tags 系统:菜单管理 | |
5479 | 5514 | * @produces * |
5480 | 5515 | * @consumes application/json |
5481 | 5516 | */ |
5482 | -export const postOrderErpMessageReadAll = /* #__PURE__ */ (() => { | |
5517 | +export const postOrderErpMenusEdit = /* #__PURE__ */ (() => { | |
5483 | 5518 | const method = 'post'; |
5484 | - const url = '/order/erp/message/readAll'; | |
5485 | - function request(): Promise<PostOrderErpMessageReadAllResponseSuccess> { | |
5519 | + const url = '/order/erp/menus/edit'; | |
5520 | + function request( | |
5521 | + option: PostOrderErpMenusEditOption, | |
5522 | + ): Promise<PostOrderErpMenusEditResponseSuccess> { | |
5486 | 5523 | return requester(request.url, { |
5487 | 5524 | method: request.method, |
5488 | - }) as unknown as Promise<PostOrderErpMessageReadAllResponseSuccess>; | |
5525 | + ...option, | |
5526 | + }) as unknown as Promise<PostOrderErpMenusEditResponseSuccess>; | |
5489 | 5527 | } |
5490 | 5528 | |
5491 | 5529 | /** http method */ |
... | ... | @@ -5495,22 +5533,8 @@ export const postOrderErpMessageReadAll = /* #__PURE__ */ (() => { |
5495 | 5533 | return request; |
5496 | 5534 | })(); |
5497 | 5535 | |
5498 | -/** @description request parameter type for postOrderErpOptLogListByPage */ | |
5499 | -export interface PostOrderErpOptLogListByPageOption { | |
5500 | - /** | |
5501 | - * @description | |
5502 | - * queryVO | |
5503 | - */ | |
5504 | - body: { | |
5505 | - /** | |
5506 | - @description | |
5507 | - queryVO */ | |
5508 | - queryVO: OrderOptLogQueryVO; | |
5509 | - }; | |
5510 | -} | |
5511 | - | |
5512 | -/** @description response type for postOrderErpOptLogListByPage */ | |
5513 | -export interface PostOrderErpOptLogListByPageResponse { | |
5536 | +/** @description response type for postOrderErpMenusTree */ | |
5537 | +export interface PostOrderErpMenusTreeResponse { | |
5514 | 5538 | /** |
5515 | 5539 | * @description |
5516 | 5540 | * OK |
... | ... | @@ -5538,25 +5562,22 @@ export interface PostOrderErpOptLogListByPageResponse { |
5538 | 5562 | 404: any; |
5539 | 5563 | } |
5540 | 5564 | |
5541 | -export type PostOrderErpOptLogListByPageResponseSuccess = | |
5542 | - PostOrderErpOptLogListByPageResponse[200]; | |
5565 | +export type PostOrderErpMenusTreeResponseSuccess = | |
5566 | + PostOrderErpMenusTreeResponse[200]; | |
5543 | 5567 | /** |
5544 | 5568 | * @description |
5545 | - * 分页查询 | |
5546 | - * @tags 订单操作日志 | |
5569 | + * 返回全部的菜单 | |
5570 | + * @tags 系统:菜单管理 | |
5547 | 5571 | * @produces * |
5548 | 5572 | * @consumes application/json |
5549 | 5573 | */ |
5550 | -export const postOrderErpOptLogListByPage = /* #__PURE__ */ (() => { | |
5574 | +export const postOrderErpMenusTree = /* #__PURE__ */ (() => { | |
5551 | 5575 | const method = 'post'; |
5552 | - const url = '/order/erp/opt/log/list_by_page'; | |
5553 | - function request( | |
5554 | - option: PostOrderErpOptLogListByPageOption, | |
5555 | - ): Promise<PostOrderErpOptLogListByPageResponseSuccess> { | |
5576 | + const url = '/order/erp/menus/tree'; | |
5577 | + function request(): Promise<PostOrderErpMenusTreeResponseSuccess> { | |
5556 | 5578 | return requester(request.url, { |
5557 | 5579 | method: request.method, |
5558 | - ...option, | |
5559 | - }) as unknown as Promise<PostOrderErpOptLogListByPageResponseSuccess>; | |
5580 | + }) as unknown as Promise<PostOrderErpMenusTreeResponseSuccess>; | |
5560 | 5581 | } |
5561 | 5582 | |
5562 | 5583 | /** http method */ |
... | ... | @@ -5566,22 +5587,8 @@ export const postOrderErpOptLogListByPage = /* #__PURE__ */ (() => { |
5566 | 5587 | return request; |
5567 | 5588 | })(); |
5568 | 5589 | |
5569 | -/** @description request parameter type for postOrderErpOrderAdd */ | |
5570 | -export interface PostOrderErpOrderAddOption { | |
5571 | - /** | |
5572 | - * @description | |
5573 | - * orderAddVO | |
5574 | - */ | |
5575 | - body: { | |
5576 | - /** | |
5577 | - @description | |
5578 | - orderAddVO */ | |
5579 | - orderAddVO: OrderAddVO; | |
5580 | - }; | |
5581 | -} | |
5582 | - | |
5583 | -/** @description response type for postOrderErpOrderAdd */ | |
5584 | -export interface PostOrderErpOrderAddResponse { | |
5590 | +/** @description response type for postOrderErpMessageGetUnreadNum */ | |
5591 | +export interface PostOrderErpMessageGetUnreadNumResponse { | |
5585 | 5592 | /** |
5586 | 5593 | * @description |
5587 | 5594 | * OK |
... | ... | @@ -5609,25 +5616,22 @@ export interface PostOrderErpOrderAddResponse { |
5609 | 5616 | 404: any; |
5610 | 5617 | } |
5611 | 5618 | |
5612 | -export type PostOrderErpOrderAddResponseSuccess = | |
5613 | - PostOrderErpOrderAddResponse[200]; | |
5619 | +export type PostOrderErpMessageGetUnreadNumResponseSuccess = | |
5620 | + PostOrderErpMessageGetUnreadNumResponse[200]; | |
5614 | 5621 | /** |
5615 | 5622 | * @description |
5616 | - * 新增数据 | |
5617 | - * @tags 订单管理 | |
5623 | + * getUnreadNum | |
5624 | + * @tags message-controller | |
5618 | 5625 | * @produces * |
5619 | 5626 | * @consumes application/json |
5620 | 5627 | */ |
5621 | -export const postOrderErpOrderAdd = /* #__PURE__ */ (() => { | |
5628 | +export const postOrderErpMessageGetUnreadNum = /* #__PURE__ */ (() => { | |
5622 | 5629 | const method = 'post'; |
5623 | - const url = '/order/erp/order/add'; | |
5624 | - function request( | |
5625 | - option: PostOrderErpOrderAddOption, | |
5626 | - ): Promise<PostOrderErpOrderAddResponseSuccess> { | |
5630 | + const url = '/order/erp/message/getUnreadNum'; | |
5631 | + function request(): Promise<PostOrderErpMessageGetUnreadNumResponseSuccess> { | |
5627 | 5632 | return requester(request.url, { |
5628 | 5633 | method: request.method, |
5629 | - ...option, | |
5630 | - }) as unknown as Promise<PostOrderErpOrderAddResponseSuccess>; | |
5634 | + }) as unknown as Promise<PostOrderErpMessageGetUnreadNumResponseSuccess>; | |
5631 | 5635 | } |
5632 | 5636 | |
5633 | 5637 | /** http method */ |
... | ... | @@ -5637,22 +5641,22 @@ export const postOrderErpOrderAdd = /* #__PURE__ */ (() => { |
5637 | 5641 | return request; |
5638 | 5642 | })(); |
5639 | 5643 | |
5640 | -/** @description request parameter type for postOrderErpOrderDeleteById */ | |
5641 | -export interface PostOrderErpOrderDeleteByIdOption { | |
5644 | +/** @description request parameter type for postOrderErpMessageQueryMyMessage */ | |
5645 | +export interface PostOrderErpMessageQueryMyMessageOption { | |
5642 | 5646 | /** |
5643 | 5647 | * @description |
5644 | - * orderBaseInfoQueryVO | |
5648 | + * messageQueryDTO | |
5645 | 5649 | */ |
5646 | 5650 | body: { |
5647 | 5651 | /** |
5648 | 5652 | @description |
5649 | - orderBaseInfoQueryVO */ | |
5650 | - orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
5653 | + messageQueryDTO */ | |
5654 | + messageQueryDTO: MessageQueryDTO; | |
5651 | 5655 | }; |
5652 | 5656 | } |
5653 | 5657 | |
5654 | -/** @description response type for postOrderErpOrderDeleteById */ | |
5655 | -export interface PostOrderErpOrderDeleteByIdResponse { | |
5658 | +/** @description response type for postOrderErpMessageQueryMyMessage */ | |
5659 | +export interface PostOrderErpMessageQueryMyMessageResponse { | |
5656 | 5660 | /** |
5657 | 5661 | * @description |
5658 | 5662 | * OK |
... | ... | @@ -5680,25 +5684,25 @@ export interface PostOrderErpOrderDeleteByIdResponse { |
5680 | 5684 | 404: any; |
5681 | 5685 | } |
5682 | 5686 | |
5683 | -export type PostOrderErpOrderDeleteByIdResponseSuccess = | |
5684 | - PostOrderErpOrderDeleteByIdResponse[200]; | |
5687 | +export type PostOrderErpMessageQueryMyMessageResponseSuccess = | |
5688 | + PostOrderErpMessageQueryMyMessageResponse[200]; | |
5685 | 5689 | /** |
5686 | 5690 | * @description |
5687 | - * 删除数据 | |
5688 | - * @tags 订单管理 | |
5691 | + * queryMyMessage | |
5692 | + * @tags message-controller | |
5689 | 5693 | * @produces * |
5690 | 5694 | * @consumes application/json |
5691 | 5695 | */ |
5692 | -export const postOrderErpOrderDeleteById = /* #__PURE__ */ (() => { | |
5696 | +export const postOrderErpMessageQueryMyMessage = /* #__PURE__ */ (() => { | |
5693 | 5697 | const method = 'post'; |
5694 | - const url = '/order/erp/order/delete_by_id'; | |
5698 | + const url = '/order/erp/message/queryMyMessage'; | |
5695 | 5699 | function request( |
5696 | - option: PostOrderErpOrderDeleteByIdOption, | |
5697 | - ): Promise<PostOrderErpOrderDeleteByIdResponseSuccess> { | |
5700 | + option: PostOrderErpMessageQueryMyMessageOption, | |
5701 | + ): Promise<PostOrderErpMessageQueryMyMessageResponseSuccess> { | |
5698 | 5702 | return requester(request.url, { |
5699 | 5703 | method: request.method, |
5700 | 5704 | ...option, |
5701 | - }) as unknown as Promise<PostOrderErpOrderDeleteByIdResponseSuccess>; | |
5705 | + }) as unknown as Promise<PostOrderErpMessageQueryMyMessageResponseSuccess>; | |
5702 | 5706 | } |
5703 | 5707 | |
5704 | 5708 | /** http method */ |
... | ... | @@ -5708,22 +5712,22 @@ export const postOrderErpOrderDeleteById = /* #__PURE__ */ (() => { |
5708 | 5712 | return request; |
5709 | 5713 | })(); |
5710 | 5714 | |
5711 | -/** @description request parameter type for postOrderErpOrderEdit */ | |
5712 | -export interface PostOrderErpOrderEditOption { | |
5715 | +/** @description request parameter type for postOrderErpMessageRead */ | |
5716 | +export interface PostOrderErpMessageReadOption { | |
5713 | 5717 | /** |
5714 | 5718 | * @description |
5715 | - * updateVO | |
5719 | + * ids | |
5716 | 5720 | */ |
5717 | 5721 | body: { |
5718 | 5722 | /** |
5719 | 5723 | @description |
5720 | - updateVO */ | |
5721 | - updateVO: OrderUpdateVO; | |
5724 | + ids */ | |
5725 | + ids: Array<number>; | |
5722 | 5726 | }; |
5723 | 5727 | } |
5724 | 5728 | |
5725 | -/** @description response type for postOrderErpOrderEdit */ | |
5726 | -export interface PostOrderErpOrderEditResponse { | |
5729 | +/** @description response type for postOrderErpMessageRead */ | |
5730 | +export interface PostOrderErpMessageReadResponse { | |
5727 | 5731 | /** |
5728 | 5732 | * @description |
5729 | 5733 | * OK |
... | ... | @@ -5751,25 +5755,25 @@ export interface PostOrderErpOrderEditResponse { |
5751 | 5755 | 404: any; |
5752 | 5756 | } |
5753 | 5757 | |
5754 | -export type PostOrderErpOrderEditResponseSuccess = | |
5755 | - PostOrderErpOrderEditResponse[200]; | |
5758 | +export type PostOrderErpMessageReadResponseSuccess = | |
5759 | + PostOrderErpMessageReadResponse[200]; | |
5756 | 5760 | /** |
5757 | 5761 | * @description |
5758 | - * 编辑数据 | |
5759 | - * @tags 订单管理 | |
5762 | + * read | |
5763 | + * @tags message-controller | |
5760 | 5764 | * @produces * |
5761 | 5765 | * @consumes application/json |
5762 | 5766 | */ |
5763 | -export const postOrderErpOrderEdit = /* #__PURE__ */ (() => { | |
5767 | +export const postOrderErpMessageRead = /* #__PURE__ */ (() => { | |
5764 | 5768 | const method = 'post'; |
5765 | - const url = '/order/erp/order/edit'; | |
5769 | + const url = '/order/erp/message/read'; | |
5766 | 5770 | function request( |
5767 | - option: PostOrderErpOrderEditOption, | |
5768 | - ): Promise<PostOrderErpOrderEditResponseSuccess> { | |
5771 | + option: PostOrderErpMessageReadOption, | |
5772 | + ): Promise<PostOrderErpMessageReadResponseSuccess> { | |
5769 | 5773 | return requester(request.url, { |
5770 | 5774 | method: request.method, |
5771 | 5775 | ...option, |
5772 | - }) as unknown as Promise<PostOrderErpOrderEditResponseSuccess>; | |
5776 | + }) as unknown as Promise<PostOrderErpMessageReadResponseSuccess>; | |
5773 | 5777 | } |
5774 | 5778 | |
5775 | 5779 | /** http method */ |
... | ... | @@ -5779,22 +5783,8 @@ export const postOrderErpOrderEdit = /* #__PURE__ */ (() => { |
5779 | 5783 | return request; |
5780 | 5784 | })(); |
5781 | 5785 | |
5782 | -/** @description request parameter type for postOrderErpOrderExport */ | |
5783 | -export interface PostOrderErpOrderExportOption { | |
5784 | - /** | |
5785 | - * @description | |
5786 | - * orderBaseInfoQueryVO | |
5787 | - */ | |
5788 | - body: { | |
5789 | - /** | |
5790 | - @description | |
5791 | - orderBaseInfoQueryVO */ | |
5792 | - orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
5793 | - }; | |
5794 | -} | |
5795 | - | |
5796 | -/** @description response type for postOrderErpOrderExport */ | |
5797 | -export interface PostOrderErpOrderExportResponse { | |
5786 | +/** @description response type for postOrderErpMessageReadAll */ | |
5787 | +export interface PostOrderErpMessageReadAllResponse { | |
5798 | 5788 | /** |
5799 | 5789 | * @description |
5800 | 5790 | * OK |
... | ... | @@ -5822,25 +5812,22 @@ export interface PostOrderErpOrderExportResponse { |
5822 | 5812 | 404: any; |
5823 | 5813 | } |
5824 | 5814 | |
5825 | -export type PostOrderErpOrderExportResponseSuccess = | |
5826 | - PostOrderErpOrderExportResponse[200]; | |
5815 | +export type PostOrderErpMessageReadAllResponseSuccess = | |
5816 | + PostOrderErpMessageReadAllResponse[200]; | |
5827 | 5817 | /** |
5828 | 5818 | * @description |
5829 | - * 导出订单 | |
5830 | - * @tags 订单管理 | |
5819 | + * readAll | |
5820 | + * @tags message-controller | |
5831 | 5821 | * @produces * |
5832 | 5822 | * @consumes application/json |
5833 | 5823 | */ |
5834 | -export const postOrderErpOrderExport = /* #__PURE__ */ (() => { | |
5824 | +export const postOrderErpMessageReadAll = /* #__PURE__ */ (() => { | |
5835 | 5825 | const method = 'post'; |
5836 | - const url = '/order/erp/order/export'; | |
5837 | - function request( | |
5838 | - option: PostOrderErpOrderExportOption, | |
5839 | - ): Promise<PostOrderErpOrderExportResponseSuccess> { | |
5826 | + const url = '/order/erp/message/readAll'; | |
5827 | + function request(): Promise<PostOrderErpMessageReadAllResponseSuccess> { | |
5840 | 5828 | return requester(request.url, { |
5841 | 5829 | method: request.method, |
5842 | - ...option, | |
5843 | - }) as unknown as Promise<PostOrderErpOrderExportResponseSuccess>; | |
5830 | + }) as unknown as Promise<PostOrderErpMessageReadAllResponseSuccess>; | |
5844 | 5831 | } |
5845 | 5832 | |
5846 | 5833 | /** http method */ |
... | ... | @@ -5850,22 +5837,22 @@ export const postOrderErpOrderExport = /* #__PURE__ */ (() => { |
5850 | 5837 | return request; |
5851 | 5838 | })(); |
5852 | 5839 | |
5853 | -/** @description request parameter type for postOrderErpOrderFieldUnlockApply */ | |
5854 | -export interface PostOrderErpOrderFieldUnlockApplyOption { | |
5840 | +/** @description request parameter type for postOrderErpOptLogListByPage */ | |
5841 | +export interface PostOrderErpOptLogListByPageOption { | |
5855 | 5842 | /** |
5856 | 5843 | * @description |
5857 | - * fieldVO | |
5844 | + * queryVO | |
5858 | 5845 | */ |
5859 | 5846 | body: { |
5860 | 5847 | /** |
5861 | 5848 | @description |
5862 | - fieldVO */ | |
5863 | - fieldVO: OrderUnlockFieldApplyVO; | |
5849 | + queryVO */ | |
5850 | + queryVO: OrderOptLogQueryVO; | |
5864 | 5851 | }; |
5865 | 5852 | } |
5866 | 5853 | |
5867 | -/** @description response type for postOrderErpOrderFieldUnlockApply */ | |
5868 | -export interface PostOrderErpOrderFieldUnlockApplyResponse { | |
5854 | +/** @description response type for postOrderErpOptLogListByPage */ | |
5855 | +export interface PostOrderErpOptLogListByPageResponse { | |
5869 | 5856 | /** |
5870 | 5857 | * @description |
5871 | 5858 | * OK |
... | ... | @@ -5893,25 +5880,25 @@ export interface PostOrderErpOrderFieldUnlockApplyResponse { |
5893 | 5880 | 404: any; |
5894 | 5881 | } |
5895 | 5882 | |
5896 | -export type PostOrderErpOrderFieldUnlockApplyResponseSuccess = | |
5897 | - PostOrderErpOrderFieldUnlockApplyResponse[200]; | |
5883 | +export type PostOrderErpOptLogListByPageResponseSuccess = | |
5884 | + PostOrderErpOptLogListByPageResponse[200]; | |
5898 | 5885 | /** |
5899 | 5886 | * @description |
5900 | - * 字段解锁申请 | |
5901 | - * @tags 订单管理 | |
5887 | + * 分页查询 | |
5888 | + * @tags 订单操作日志 | |
5902 | 5889 | * @produces * |
5903 | 5890 | * @consumes application/json |
5904 | 5891 | */ |
5905 | -export const postOrderErpOrderFieldUnlockApply = /* #__PURE__ */ (() => { | |
5892 | +export const postOrderErpOptLogListByPage = /* #__PURE__ */ (() => { | |
5906 | 5893 | const method = 'post'; |
5907 | - const url = '/order/erp/order/field_unlock_apply'; | |
5894 | + const url = '/order/erp/opt/log/list_by_page'; | |
5908 | 5895 | function request( |
5909 | - option: PostOrderErpOrderFieldUnlockApplyOption, | |
5910 | - ): Promise<PostOrderErpOrderFieldUnlockApplyResponseSuccess> { | |
5896 | + option: PostOrderErpOptLogListByPageOption, | |
5897 | + ): Promise<PostOrderErpOptLogListByPageResponseSuccess> { | |
5911 | 5898 | return requester(request.url, { |
5912 | 5899 | method: request.method, |
5913 | 5900 | ...option, |
5914 | - }) as unknown as Promise<PostOrderErpOrderFieldUnlockApplyResponseSuccess>; | |
5901 | + }) as unknown as Promise<PostOrderErpOptLogListByPageResponseSuccess>; | |
5915 | 5902 | } |
5916 | 5903 | |
5917 | 5904 | /** http method */ |
... | ... | @@ -5921,22 +5908,22 @@ export const postOrderErpOrderFieldUnlockApply = /* #__PURE__ */ (() => { |
5921 | 5908 | return request; |
5922 | 5909 | })(); |
5923 | 5910 | |
5924 | -/** @description request parameter type for postOrderErpOrderListByPage */ | |
5925 | -export interface PostOrderErpOrderListByPageOption { | |
5911 | +/** @description request parameter type for postOrderErpOrderAdd */ | |
5912 | +export interface PostOrderErpOrderAddOption { | |
5926 | 5913 | /** |
5927 | 5914 | * @description |
5928 | - * orderBaseInfoQueryVO | |
5915 | + * orderAddVO | |
5929 | 5916 | */ |
5930 | 5917 | body: { |
5931 | 5918 | /** |
5932 | 5919 | @description |
5933 | - orderBaseInfoQueryVO */ | |
5934 | - orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
5920 | + orderAddVO */ | |
5921 | + orderAddVO: OrderAddVO; | |
5935 | 5922 | }; |
5936 | 5923 | } |
5937 | 5924 | |
5938 | -/** @description response type for postOrderErpOrderListByPage */ | |
5939 | -export interface PostOrderErpOrderListByPageResponse { | |
5925 | +/** @description response type for postOrderErpOrderAdd */ | |
5926 | +export interface PostOrderErpOrderAddResponse { | |
5940 | 5927 | /** |
5941 | 5928 | * @description |
5942 | 5929 | * OK |
... | ... | @@ -5964,25 +5951,25 @@ export interface PostOrderErpOrderListByPageResponse { |
5964 | 5951 | 404: any; |
5965 | 5952 | } |
5966 | 5953 | |
5967 | -export type PostOrderErpOrderListByPageResponseSuccess = | |
5968 | - PostOrderErpOrderListByPageResponse[200]; | |
5954 | +export type PostOrderErpOrderAddResponseSuccess = | |
5955 | + PostOrderErpOrderAddResponse[200]; | |
5969 | 5956 | /** |
5970 | 5957 | * @description |
5971 | - * 分页查询 | |
5958 | + * 新增数据 | |
5972 | 5959 | * @tags 订单管理 |
5973 | 5960 | * @produces * |
5974 | 5961 | * @consumes application/json |
5975 | 5962 | */ |
5976 | -export const postOrderErpOrderListByPage = /* #__PURE__ */ (() => { | |
5963 | +export const postOrderErpOrderAdd = /* #__PURE__ */ (() => { | |
5977 | 5964 | const method = 'post'; |
5978 | - const url = '/order/erp/order/list_by_page'; | |
5965 | + const url = '/order/erp/order/add'; | |
5979 | 5966 | function request( |
5980 | - option: PostOrderErpOrderListByPageOption, | |
5981 | - ): Promise<PostOrderErpOrderListByPageResponseSuccess> { | |
5967 | + option: PostOrderErpOrderAddOption, | |
5968 | + ): Promise<PostOrderErpOrderAddResponseSuccess> { | |
5982 | 5969 | return requester(request.url, { |
5983 | 5970 | method: request.method, |
5984 | 5971 | ...option, |
5985 | - }) as unknown as Promise<PostOrderErpOrderListByPageResponseSuccess>; | |
5972 | + }) as unknown as Promise<PostOrderErpOrderAddResponseSuccess>; | |
5986 | 5973 | } |
5987 | 5974 | |
5988 | 5975 | /** http method */ |
... | ... | @@ -5992,8 +5979,8 @@ export const postOrderErpOrderListByPage = /* #__PURE__ */ (() => { |
5992 | 5979 | return request; |
5993 | 5980 | })(); |
5994 | 5981 | |
5995 | -/** @description request parameter type for postOrderErpOrderQueryById */ | |
5996 | -export interface PostOrderErpOrderQueryByIdOption { | |
5982 | +/** @description request parameter type for postOrderErpOrderDeleteById */ | |
5983 | +export interface PostOrderErpOrderDeleteByIdOption { | |
5997 | 5984 | /** |
5998 | 5985 | * @description |
5999 | 5986 | * orderBaseInfoQueryVO |
... | ... | @@ -6006,8 +5993,8 @@ export interface PostOrderErpOrderQueryByIdOption { |
6006 | 5993 | }; |
6007 | 5994 | } |
6008 | 5995 | |
6009 | -/** @description response type for postOrderErpOrderQueryById */ | |
6010 | -export interface PostOrderErpOrderQueryByIdResponse { | |
5996 | +/** @description response type for postOrderErpOrderDeleteById */ | |
5997 | +export interface PostOrderErpOrderDeleteByIdResponse { | |
6011 | 5998 | /** |
6012 | 5999 | * @description |
6013 | 6000 | * OK |
... | ... | @@ -6035,25 +6022,25 @@ export interface PostOrderErpOrderQueryByIdResponse { |
6035 | 6022 | 404: any; |
6036 | 6023 | } |
6037 | 6024 | |
6038 | -export type PostOrderErpOrderQueryByIdResponseSuccess = | |
6039 | - PostOrderErpOrderQueryByIdResponse[200]; | |
6025 | +export type PostOrderErpOrderDeleteByIdResponseSuccess = | |
6026 | + PostOrderErpOrderDeleteByIdResponse[200]; | |
6040 | 6027 | /** |
6041 | 6028 | * @description |
6042 | - * queryById | |
6029 | + * 删除数据 | |
6043 | 6030 | * @tags 订单管理 |
6044 | 6031 | * @produces * |
6045 | 6032 | * @consumes application/json |
6046 | 6033 | */ |
6047 | -export const postOrderErpOrderQueryById = /* #__PURE__ */ (() => { | |
6034 | +export const postOrderErpOrderDeleteById = /* #__PURE__ */ (() => { | |
6048 | 6035 | const method = 'post'; |
6049 | - const url = '/order/erp/order/query_by_id'; | |
6036 | + const url = '/order/erp/order/delete_by_id'; | |
6050 | 6037 | function request( |
6051 | - option: PostOrderErpOrderQueryByIdOption, | |
6052 | - ): Promise<PostOrderErpOrderQueryByIdResponseSuccess> { | |
6038 | + option: PostOrderErpOrderDeleteByIdOption, | |
6039 | + ): Promise<PostOrderErpOrderDeleteByIdResponseSuccess> { | |
6053 | 6040 | return requester(request.url, { |
6054 | 6041 | method: request.method, |
6055 | 6042 | ...option, |
6056 | - }) as unknown as Promise<PostOrderErpOrderQueryByIdResponseSuccess>; | |
6043 | + }) as unknown as Promise<PostOrderErpOrderDeleteByIdResponseSuccess>; | |
6057 | 6044 | } |
6058 | 6045 | |
6059 | 6046 | /** http method */ |
... | ... | @@ -6063,22 +6050,22 @@ export const postOrderErpOrderQueryById = /* #__PURE__ */ (() => { |
6063 | 6050 | return request; |
6064 | 6051 | })(); |
6065 | 6052 | |
6066 | -/** @description request parameter type for postOrderErpOrderStagesAdd */ | |
6067 | -export interface PostOrderErpOrderStagesAddOption { | |
6053 | +/** @description request parameter type for postOrderErpOrderEdit */ | |
6054 | +export interface PostOrderErpOrderEditOption { | |
6068 | 6055 | /** |
6069 | 6056 | * @description |
6070 | - * orderStagesFromDo | |
6057 | + * updateVO | |
6071 | 6058 | */ |
6072 | 6059 | body: { |
6073 | 6060 | /** |
6074 | 6061 | @description |
6075 | - orderStagesFromDo */ | |
6076 | - orderStagesFromDo: OrderStagesFromDo; | |
6062 | + updateVO */ | |
6063 | + updateVO: OrderUpdateVO; | |
6077 | 6064 | }; |
6078 | 6065 | } |
6079 | 6066 | |
6080 | -/** @description response type for postOrderErpOrderStagesAdd */ | |
6081 | -export interface PostOrderErpOrderStagesAddResponse { | |
6067 | +/** @description response type for postOrderErpOrderEdit */ | |
6068 | +export interface PostOrderErpOrderEditResponse { | |
6082 | 6069 | /** |
6083 | 6070 | * @description |
6084 | 6071 | * OK |
... | ... | @@ -6106,25 +6093,25 @@ export interface PostOrderErpOrderStagesAddResponse { |
6106 | 6093 | 404: any; |
6107 | 6094 | } |
6108 | 6095 | |
6109 | -export type PostOrderErpOrderStagesAddResponseSuccess = | |
6110 | - PostOrderErpOrderStagesAddResponse[200]; | |
6096 | +export type PostOrderErpOrderEditResponseSuccess = | |
6097 | + PostOrderErpOrderEditResponse[200]; | |
6111 | 6098 | /** |
6112 | 6099 | * @description |
6113 | - * 添加或者修改分期账单 | |
6114 | - * @tags order-stages-controller | |
6100 | + * 编辑数据 | |
6101 | + * @tags 订单管理 | |
6115 | 6102 | * @produces * |
6116 | 6103 | * @consumes application/json |
6117 | 6104 | */ |
6118 | -export const postOrderErpOrderStagesAdd = /* #__PURE__ */ (() => { | |
6105 | +export const postOrderErpOrderEdit = /* #__PURE__ */ (() => { | |
6119 | 6106 | const method = 'post'; |
6120 | - const url = '/order/erp/orderStages/add'; | |
6107 | + const url = '/order/erp/order/edit'; | |
6121 | 6108 | function request( |
6122 | - option: PostOrderErpOrderStagesAddOption, | |
6123 | - ): Promise<PostOrderErpOrderStagesAddResponseSuccess> { | |
6109 | + option: PostOrderErpOrderEditOption, | |
6110 | + ): Promise<PostOrderErpOrderEditResponseSuccess> { | |
6124 | 6111 | return requester(request.url, { |
6125 | 6112 | method: request.method, |
6126 | 6113 | ...option, |
6127 | - }) as unknown as Promise<PostOrderErpOrderStagesAddResponseSuccess>; | |
6114 | + }) as unknown as Promise<PostOrderErpOrderEditResponseSuccess>; | |
6128 | 6115 | } |
6129 | 6116 | |
6130 | 6117 | /** http method */ |
... | ... | @@ -6134,22 +6121,22 @@ export const postOrderErpOrderStagesAdd = /* #__PURE__ */ (() => { |
6134 | 6121 | return request; |
6135 | 6122 | })(); |
6136 | 6123 | |
6137 | -/** @description request parameter type for deleteOrderErpOrderStagesDelect */ | |
6138 | -export interface DeleteOrderErpOrderStagesDelectOption { | |
6124 | +/** @description request parameter type for postOrderErpOrderExport */ | |
6125 | +export interface PostOrderErpOrderExportOption { | |
6139 | 6126 | /** |
6140 | 6127 | * @description |
6141 | - * orderStagesDelDo | |
6128 | + * orderBaseInfoQueryVO | |
6142 | 6129 | */ |
6143 | 6130 | body: { |
6144 | 6131 | /** |
6145 | 6132 | @description |
6146 | - orderStagesDelDo */ | |
6147 | - orderStagesDelDo: OrderStagesDelDo; | |
6133 | + orderBaseInfoQueryVO */ | |
6134 | + orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
6148 | 6135 | }; |
6149 | 6136 | } |
6150 | 6137 | |
6151 | -/** @description response type for deleteOrderErpOrderStagesDelect */ | |
6152 | -export interface DeleteOrderErpOrderStagesDelectResponse { | |
6138 | +/** @description response type for postOrderErpOrderExport */ | |
6139 | +export interface PostOrderErpOrderExportResponse { | |
6153 | 6140 | /** |
6154 | 6141 | * @description |
6155 | 6142 | * OK |
... | ... | @@ -6157,9 +6144,9 @@ export interface DeleteOrderErpOrderStagesDelectResponse { |
6157 | 6144 | 200: ServerResult; |
6158 | 6145 | /** |
6159 | 6146 | * @description |
6160 | - * No Content | |
6147 | + * Created | |
6161 | 6148 | */ |
6162 | - 204: any; | |
6149 | + 201: any; | |
6163 | 6150 | /** |
6164 | 6151 | * @description |
6165 | 6152 | * Unauthorized |
... | ... | @@ -6170,26 +6157,32 @@ export interface DeleteOrderErpOrderStagesDelectResponse { |
6170 | 6157 | * Forbidden |
6171 | 6158 | */ |
6172 | 6159 | 403: any; |
6160 | + /** | |
6161 | + * @description | |
6162 | + * Not Found | |
6163 | + */ | |
6164 | + 404: any; | |
6173 | 6165 | } |
6174 | 6166 | |
6175 | -export type DeleteOrderErpOrderStagesDelectResponseSuccess = | |
6176 | - DeleteOrderErpOrderStagesDelectResponse[200]; | |
6167 | +export type PostOrderErpOrderExportResponseSuccess = | |
6168 | + PostOrderErpOrderExportResponse[200]; | |
6177 | 6169 | /** |
6178 | 6170 | * @description |
6179 | - * 删除分期账单 | |
6180 | - * @tags order-stages-controller | |
6171 | + * 导出订单 | |
6172 | + * @tags 订单管理 | |
6181 | 6173 | * @produces * |
6174 | + * @consumes application/json | |
6182 | 6175 | */ |
6183 | -export const deleteOrderErpOrderStagesDelect = /* #__PURE__ */ (() => { | |
6184 | - const method = 'delete'; | |
6185 | - const url = '/order/erp/orderStages/delect'; | |
6176 | +export const postOrderErpOrderExport = /* #__PURE__ */ (() => { | |
6177 | + const method = 'post'; | |
6178 | + const url = '/order/erp/order/export'; | |
6186 | 6179 | function request( |
6187 | - option: DeleteOrderErpOrderStagesDelectOption, | |
6188 | - ): Promise<DeleteOrderErpOrderStagesDelectResponseSuccess> { | |
6180 | + option: PostOrderErpOrderExportOption, | |
6181 | + ): Promise<PostOrderErpOrderExportResponseSuccess> { | |
6189 | 6182 | return requester(request.url, { |
6190 | 6183 | method: request.method, |
6191 | 6184 | ...option, |
6192 | - }) as unknown as Promise<DeleteOrderErpOrderStagesDelectResponseSuccess>; | |
6185 | + }) as unknown as Promise<PostOrderErpOrderExportResponseSuccess>; | |
6193 | 6186 | } |
6194 | 6187 | |
6195 | 6188 | /** http method */ |
... | ... | @@ -6199,13 +6192,32 @@ export const deleteOrderErpOrderStagesDelect = /* #__PURE__ */ (() => { |
6199 | 6192 | return request; |
6200 | 6193 | })(); |
6201 | 6194 | |
6202 | -/** @description response type for getOrderErpOrderStagesExport */ | |
6203 | -export interface GetOrderErpOrderStagesExportResponse { | |
6195 | +/** @description request parameter type for postOrderErpOrderFieldUnlockApply */ | |
6196 | +export interface PostOrderErpOrderFieldUnlockApplyOption { | |
6197 | + /** | |
6198 | + * @description | |
6199 | + * fieldVO | |
6200 | + */ | |
6201 | + body: { | |
6202 | + /** | |
6203 | + @description | |
6204 | + fieldVO */ | |
6205 | + fieldVO: OrderUnlockFieldApplyVO; | |
6206 | + }; | |
6207 | +} | |
6208 | + | |
6209 | +/** @description response type for postOrderErpOrderFieldUnlockApply */ | |
6210 | +export interface PostOrderErpOrderFieldUnlockApplyResponse { | |
6204 | 6211 | /** |
6205 | 6212 | * @description |
6206 | 6213 | * OK |
6207 | 6214 | */ |
6208 | - 200: any; | |
6215 | + 200: ServerResult; | |
6216 | + /** | |
6217 | + * @description | |
6218 | + * Created | |
6219 | + */ | |
6220 | + 201: any; | |
6209 | 6221 | /** |
6210 | 6222 | * @description |
6211 | 6223 | * Unauthorized |
... | ... | @@ -6223,21 +6235,25 @@ export interface GetOrderErpOrderStagesExportResponse { |
6223 | 6235 | 404: any; |
6224 | 6236 | } |
6225 | 6237 | |
6226 | -export type GetOrderErpOrderStagesExportResponseSuccess = | |
6227 | - GetOrderErpOrderStagesExportResponse[200]; | |
6238 | +export type PostOrderErpOrderFieldUnlockApplyResponseSuccess = | |
6239 | + PostOrderErpOrderFieldUnlockApplyResponse[200]; | |
6228 | 6240 | /** |
6229 | 6241 | * @description |
6230 | - * 导出分期账单 | |
6231 | - * @tags order-stages-controller | |
6242 | + * 字段解锁申请 | |
6243 | + * @tags 订单管理 | |
6232 | 6244 | * @produces * |
6245 | + * @consumes application/json | |
6233 | 6246 | */ |
6234 | -export const getOrderErpOrderStagesExport = /* #__PURE__ */ (() => { | |
6235 | - const method = 'get'; | |
6236 | - const url = '/order/erp/orderStages/export'; | |
6237 | - function request(): Promise<GetOrderErpOrderStagesExportResponseSuccess> { | |
6247 | +export const postOrderErpOrderFieldUnlockApply = /* #__PURE__ */ (() => { | |
6248 | + const method = 'post'; | |
6249 | + const url = '/order/erp/order/field_unlock_apply'; | |
6250 | + function request( | |
6251 | + option: PostOrderErpOrderFieldUnlockApplyOption, | |
6252 | + ): Promise<PostOrderErpOrderFieldUnlockApplyResponseSuccess> { | |
6238 | 6253 | return requester(request.url, { |
6239 | 6254 | method: request.method, |
6240 | - }) as unknown as Promise<GetOrderErpOrderStagesExportResponseSuccess>; | |
6255 | + ...option, | |
6256 | + }) as unknown as Promise<PostOrderErpOrderFieldUnlockApplyResponseSuccess>; | |
6241 | 6257 | } |
6242 | 6258 | |
6243 | 6259 | /** http method */ |
... | ... | @@ -6247,22 +6263,22 @@ export const getOrderErpOrderStagesExport = /* #__PURE__ */ (() => { |
6247 | 6263 | return request; |
6248 | 6264 | })(); |
6249 | 6265 | |
6250 | -/** @description request parameter type for postOrderErpOrderStagesImport */ | |
6251 | -export interface PostOrderErpOrderStagesImportOption { | |
6266 | +/** @description request parameter type for postOrderErpOrderListByPage */ | |
6267 | +export interface PostOrderErpOrderListByPageOption { | |
6252 | 6268 | /** |
6253 | 6269 | * @description |
6254 | - * file | |
6270 | + * orderBaseInfoQueryVO | |
6255 | 6271 | */ |
6256 | - formData: { | |
6272 | + body: { | |
6257 | 6273 | /** |
6258 | 6274 | @description |
6259 | - file */ | |
6260 | - file: File; | |
6275 | + orderBaseInfoQueryVO */ | |
6276 | + orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
6261 | 6277 | }; |
6262 | 6278 | } |
6263 | 6279 | |
6264 | -/** @description response type for postOrderErpOrderStagesImport */ | |
6265 | -export interface PostOrderErpOrderStagesImportResponse { | |
6280 | +/** @description response type for postOrderErpOrderListByPage */ | |
6281 | +export interface PostOrderErpOrderListByPageResponse { | |
6266 | 6282 | /** |
6267 | 6283 | * @description |
6268 | 6284 | * OK |
... | ... | @@ -6290,25 +6306,25 @@ export interface PostOrderErpOrderStagesImportResponse { |
6290 | 6306 | 404: any; |
6291 | 6307 | } |
6292 | 6308 | |
6293 | -export type PostOrderErpOrderStagesImportResponseSuccess = | |
6294 | - PostOrderErpOrderStagesImportResponse[200]; | |
6309 | +export type PostOrderErpOrderListByPageResponseSuccess = | |
6310 | + PostOrderErpOrderListByPageResponse[200]; | |
6295 | 6311 | /** |
6296 | 6312 | * @description |
6297 | - * 导入分期账单 | |
6298 | - * @tags order-stages-controller | |
6313 | + * 分页查询 | |
6314 | + * @tags 订单管理 | |
6299 | 6315 | * @produces * |
6300 | - * @consumes multipart/form-data | |
6316 | + * @consumes application/json | |
6301 | 6317 | */ |
6302 | -export const postOrderErpOrderStagesImport = /* #__PURE__ */ (() => { | |
6318 | +export const postOrderErpOrderListByPage = /* #__PURE__ */ (() => { | |
6303 | 6319 | const method = 'post'; |
6304 | - const url = '/order/erp/orderStages/import'; | |
6320 | + const url = '/order/erp/order/list_by_page'; | |
6305 | 6321 | function request( |
6306 | - option: PostOrderErpOrderStagesImportOption, | |
6307 | - ): Promise<PostOrderErpOrderStagesImportResponseSuccess> { | |
6322 | + option: PostOrderErpOrderListByPageOption, | |
6323 | + ): Promise<PostOrderErpOrderListByPageResponseSuccess> { | |
6308 | 6324 | return requester(request.url, { |
6309 | 6325 | method: request.method, |
6310 | 6326 | ...option, |
6311 | - }) as unknown as Promise<PostOrderErpOrderStagesImportResponseSuccess>; | |
6327 | + }) as unknown as Promise<PostOrderErpOrderListByPageResponseSuccess>; | |
6312 | 6328 | } |
6313 | 6329 | |
6314 | 6330 | /** http method */ |
... | ... | @@ -6318,8 +6334,22 @@ export const postOrderErpOrderStagesImport = /* #__PURE__ */ (() => { |
6318 | 6334 | return request; |
6319 | 6335 | })(); |
6320 | 6336 | |
6321 | -/** @description response type for getOrderErpOrderStagesListAll */ | |
6322 | -export interface GetOrderErpOrderStagesListAllResponse { | |
6337 | +/** @description request parameter type for postOrderErpOrderQueryById */ | |
6338 | +export interface PostOrderErpOrderQueryByIdOption { | |
6339 | + /** | |
6340 | + * @description | |
6341 | + * orderBaseInfoQueryVO | |
6342 | + */ | |
6343 | + body: { | |
6344 | + /** | |
6345 | + @description | |
6346 | + orderBaseInfoQueryVO */ | |
6347 | + orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
6348 | + }; | |
6349 | +} | |
6350 | + | |
6351 | +/** @description response type for postOrderErpOrderQueryById */ | |
6352 | +export interface PostOrderErpOrderQueryByIdResponse { | |
6323 | 6353 | /** |
6324 | 6354 | * @description |
6325 | 6355 | * OK |
... | ... | @@ -6327,6 +6357,11 @@ export interface GetOrderErpOrderStagesListAllResponse { |
6327 | 6357 | 200: ServerResult; |
6328 | 6358 | /** |
6329 | 6359 | * @description |
6360 | + * Created | |
6361 | + */ | |
6362 | + 201: any; | |
6363 | + /** | |
6364 | + * @description | |
6330 | 6365 | * Unauthorized |
6331 | 6366 | */ |
6332 | 6367 | 401: any; |
... | ... | @@ -6342,21 +6377,25 @@ export interface GetOrderErpOrderStagesListAllResponse { |
6342 | 6377 | 404: any; |
6343 | 6378 | } |
6344 | 6379 | |
6345 | -export type GetOrderErpOrderStagesListAllResponseSuccess = | |
6346 | - GetOrderErpOrderStagesListAllResponse[200]; | |
6380 | +export type PostOrderErpOrderQueryByIdResponseSuccess = | |
6381 | + PostOrderErpOrderQueryByIdResponse[200]; | |
6347 | 6382 | /** |
6348 | 6383 | * @description |
6349 | - * 查询所有分期账单 | |
6350 | - * @tags order-stages-controller | |
6384 | + * queryById | |
6385 | + * @tags 订单管理 | |
6351 | 6386 | * @produces * |
6387 | + * @consumes application/json | |
6352 | 6388 | */ |
6353 | -export const getOrderErpOrderStagesListAll = /* #__PURE__ */ (() => { | |
6354 | - const method = 'get'; | |
6355 | - const url = '/order/erp/orderStages/listAll'; | |
6356 | - function request(): Promise<GetOrderErpOrderStagesListAllResponseSuccess> { | |
6389 | +export const postOrderErpOrderQueryById = /* #__PURE__ */ (() => { | |
6390 | + const method = 'post'; | |
6391 | + const url = '/order/erp/order/query_by_id'; | |
6392 | + function request( | |
6393 | + option: PostOrderErpOrderQueryByIdOption, | |
6394 | + ): Promise<PostOrderErpOrderQueryByIdResponseSuccess> { | |
6357 | 6395 | return requester(request.url, { |
6358 | 6396 | method: request.method, |
6359 | - }) as unknown as Promise<GetOrderErpOrderStagesListAllResponseSuccess>; | |
6397 | + ...option, | |
6398 | + }) as unknown as Promise<PostOrderErpOrderQueryByIdResponseSuccess>; | |
6360 | 6399 | } |
6361 | 6400 | |
6362 | 6401 | /** http method */ |
... | ... | @@ -6366,8 +6405,8 @@ export const getOrderErpOrderStagesListAll = /* #__PURE__ */ (() => { |
6366 | 6405 | return request; |
6367 | 6406 | })(); |
6368 | 6407 | |
6369 | -/** @description request parameter type for postOrderErpOrderStagesSaveOrUpdate */ | |
6370 | -export interface PostOrderErpOrderStagesSaveOrUpdateOption { | |
6408 | +/** @description request parameter type for postOrderErpOrderStagesAdd */ | |
6409 | +export interface PostOrderErpOrderStagesAddOption { | |
6371 | 6410 | /** |
6372 | 6411 | * @description |
6373 | 6412 | * orderStagesFromDo |
... | ... | @@ -6380,8 +6419,8 @@ export interface PostOrderErpOrderStagesSaveOrUpdateOption { |
6380 | 6419 | }; |
6381 | 6420 | } |
6382 | 6421 | |
6383 | -/** @description response type for postOrderErpOrderStagesSaveOrUpdate */ | |
6384 | -export interface PostOrderErpOrderStagesSaveOrUpdateResponse { | |
6422 | +/** @description response type for postOrderErpOrderStagesAdd */ | |
6423 | +export interface PostOrderErpOrderStagesAddResponse { | |
6385 | 6424 | /** |
6386 | 6425 | * @description |
6387 | 6426 | * OK |
... | ... | @@ -6409,8 +6448,8 @@ export interface PostOrderErpOrderStagesSaveOrUpdateResponse { |
6409 | 6448 | 404: any; |
6410 | 6449 | } |
6411 | 6450 | |
6412 | -export type PostOrderErpOrderStagesSaveOrUpdateResponseSuccess = | |
6413 | - PostOrderErpOrderStagesSaveOrUpdateResponse[200]; | |
6451 | +export type PostOrderErpOrderStagesAddResponseSuccess = | |
6452 | + PostOrderErpOrderStagesAddResponse[200]; | |
6414 | 6453 | /** |
6415 | 6454 | * @description |
6416 | 6455 | * 添加或者修改分期账单 |
... | ... | @@ -6418,16 +6457,16 @@ export type PostOrderErpOrderStagesSaveOrUpdateResponseSuccess = |
6418 | 6457 | * @produces * |
6419 | 6458 | * @consumes application/json |
6420 | 6459 | */ |
6421 | -export const postOrderErpOrderStagesSaveOrUpdate = /* #__PURE__ */ (() => { | |
6460 | +export const postOrderErpOrderStagesAdd = /* #__PURE__ */ (() => { | |
6422 | 6461 | const method = 'post'; |
6423 | - const url = '/order/erp/orderStages/saveOrUpdate'; | |
6462 | + const url = '/order/erp/orderStages/add'; | |
6424 | 6463 | function request( |
6425 | - option: PostOrderErpOrderStagesSaveOrUpdateOption, | |
6426 | - ): Promise<PostOrderErpOrderStagesSaveOrUpdateResponseSuccess> { | |
6464 | + option: PostOrderErpOrderStagesAddOption, | |
6465 | + ): Promise<PostOrderErpOrderStagesAddResponseSuccess> { | |
6427 | 6466 | return requester(request.url, { |
6428 | 6467 | method: request.method, |
6429 | 6468 | ...option, |
6430 | - }) as unknown as Promise<PostOrderErpOrderStagesSaveOrUpdateResponseSuccess>; | |
6469 | + }) as unknown as Promise<PostOrderErpOrderStagesAddResponseSuccess>; | |
6431 | 6470 | } |
6432 | 6471 | |
6433 | 6472 | /** http method */ |
... | ... | @@ -6437,22 +6476,22 @@ export const postOrderErpOrderStagesSaveOrUpdate = /* #__PURE__ */ (() => { |
6437 | 6476 | return request; |
6438 | 6477 | })(); |
6439 | 6478 | |
6440 | -/** @description request parameter type for postOrderErpOrderStagesSearch */ | |
6441 | -export interface PostOrderErpOrderStagesSearchOption { | |
6479 | +/** @description request parameter type for deleteOrderErpOrderStagesDelect */ | |
6480 | +export interface DeleteOrderErpOrderStagesDelectOption { | |
6442 | 6481 | /** |
6443 | 6482 | * @description |
6444 | - * orderStagesSelDo | |
6483 | + * orderStagesDelDo | |
6445 | 6484 | */ |
6446 | 6485 | body: { |
6447 | 6486 | /** |
6448 | 6487 | @description |
6449 | - orderStagesSelDo */ | |
6450 | - orderStagesSelDo: OrderStagesSelDo; | |
6488 | + orderStagesDelDo */ | |
6489 | + orderStagesDelDo: OrderStagesDelDo; | |
6451 | 6490 | }; |
6452 | 6491 | } |
6453 | 6492 | |
6454 | -/** @description response type for postOrderErpOrderStagesSearch */ | |
6455 | -export interface PostOrderErpOrderStagesSearchResponse { | |
6493 | +/** @description response type for deleteOrderErpOrderStagesDelect */ | |
6494 | +export interface DeleteOrderErpOrderStagesDelectResponse { | |
6456 | 6495 | /** |
6457 | 6496 | * @description |
6458 | 6497 | * OK |
... | ... | @@ -6460,9 +6499,9 @@ export interface PostOrderErpOrderStagesSearchResponse { |
6460 | 6499 | 200: ServerResult; |
6461 | 6500 | /** |
6462 | 6501 | * @description |
6463 | - * Created | |
6502 | + * No Content | |
6464 | 6503 | */ |
6465 | - 201: any; | |
6504 | + 204: any; | |
6466 | 6505 | /** |
6467 | 6506 | * @description |
6468 | 6507 | * Unauthorized |
... | ... | @@ -6473,32 +6512,26 @@ export interface PostOrderErpOrderStagesSearchResponse { |
6473 | 6512 | * Forbidden |
6474 | 6513 | */ |
6475 | 6514 | 403: any; |
6476 | - /** | |
6477 | - * @description | |
6478 | - * Not Found | |
6479 | - */ | |
6480 | - 404: any; | |
6481 | 6515 | } |
6482 | 6516 | |
6483 | -export type PostOrderErpOrderStagesSearchResponseSuccess = | |
6484 | - PostOrderErpOrderStagesSearchResponse[200]; | |
6517 | +export type DeleteOrderErpOrderStagesDelectResponseSuccess = | |
6518 | + DeleteOrderErpOrderStagesDelectResponse[200]; | |
6485 | 6519 | /** |
6486 | 6520 | * @description |
6487 | - * 条件搜索分期账单 | |
6521 | + * 删除分期账单 | |
6488 | 6522 | * @tags order-stages-controller |
6489 | 6523 | * @produces * |
6490 | - * @consumes application/json | |
6491 | 6524 | */ |
6492 | -export const postOrderErpOrderStagesSearch = /* #__PURE__ */ (() => { | |
6493 | - const method = 'post'; | |
6494 | - const url = '/order/erp/orderStages/search'; | |
6525 | +export const deleteOrderErpOrderStagesDelect = /* #__PURE__ */ (() => { | |
6526 | + const method = 'delete'; | |
6527 | + const url = '/order/erp/orderStages/delect'; | |
6495 | 6528 | function request( |
6496 | - option: PostOrderErpOrderStagesSearchOption, | |
6497 | - ): Promise<PostOrderErpOrderStagesSearchResponseSuccess> { | |
6529 | + option: DeleteOrderErpOrderStagesDelectOption, | |
6530 | + ): Promise<DeleteOrderErpOrderStagesDelectResponseSuccess> { | |
6498 | 6531 | return requester(request.url, { |
6499 | 6532 | method: request.method, |
6500 | 6533 | ...option, |
6501 | - }) as unknown as Promise<PostOrderErpOrderStagesSearchResponseSuccess>; | |
6534 | + }) as unknown as Promise<DeleteOrderErpOrderStagesDelectResponseSuccess>; | |
6502 | 6535 | } |
6503 | 6536 | |
6504 | 6537 | /** http method */ |
... | ... | @@ -6508,37 +6541,18 @@ export const postOrderErpOrderStagesSearch = /* #__PURE__ */ (() => { |
6508 | 6541 | return request; |
6509 | 6542 | })(); |
6510 | 6543 | |
6511 | -/** @description request parameter type for postOrderErpOrderStagesUpload */ | |
6512 | -export interface PostOrderErpOrderStagesUploadOption { | |
6544 | +/** @description response type for getOrderErpOrderStagesExport */ | |
6545 | +export interface GetOrderErpOrderStagesExportResponse { | |
6513 | 6546 | /** |
6514 | 6547 | * @description |
6515 | - * file | |
6548 | + * OK | |
6516 | 6549 | */ |
6517 | - formData: { | |
6518 | - /** | |
6519 | - @description | |
6520 | - file */ | |
6521 | - file: File; | |
6522 | - }; | |
6523 | -} | |
6524 | - | |
6525 | -/** @description response type for postOrderErpOrderStagesUpload */ | |
6526 | -export interface PostOrderErpOrderStagesUploadResponse { | |
6550 | + 200: any; | |
6527 | 6551 | /** |
6528 | 6552 | * @description |
6529 | - * OK | |
6553 | + * Unauthorized | |
6530 | 6554 | */ |
6531 | - 200: ServerResult; | |
6532 | - /** | |
6533 | - * @description | |
6534 | - * Created | |
6535 | - */ | |
6536 | - 201: any; | |
6537 | - /** | |
6538 | - * @description | |
6539 | - * Unauthorized | |
6540 | - */ | |
6541 | - 401: any; | |
6555 | + 401: any; | |
6542 | 6556 | /** |
6543 | 6557 | * @description |
6544 | 6558 | * Forbidden |
... | ... | @@ -6551,25 +6565,21 @@ export interface PostOrderErpOrderStagesUploadResponse { |
6551 | 6565 | 404: any; |
6552 | 6566 | } |
6553 | 6567 | |
6554 | -export type PostOrderErpOrderStagesUploadResponseSuccess = | |
6555 | - PostOrderErpOrderStagesUploadResponse[200]; | |
6568 | +export type GetOrderErpOrderStagesExportResponseSuccess = | |
6569 | + GetOrderErpOrderStagesExportResponse[200]; | |
6556 | 6570 | /** |
6557 | 6571 | * @description |
6558 | - * 合同文件上传 | |
6572 | + * 导出分期账单 | |
6559 | 6573 | * @tags order-stages-controller |
6560 | 6574 | * @produces * |
6561 | - * @consumes multipart/form-data | |
6562 | 6575 | */ |
6563 | -export const postOrderErpOrderStagesUpload = /* #__PURE__ */ (() => { | |
6564 | - const method = 'post'; | |
6565 | - const url = '/order/erp/orderStages/upload'; | |
6566 | - function request( | |
6567 | - option: PostOrderErpOrderStagesUploadOption, | |
6568 | - ): Promise<PostOrderErpOrderStagesUploadResponseSuccess> { | |
6576 | +export const getOrderErpOrderStagesExport = /* #__PURE__ */ (() => { | |
6577 | + const method = 'get'; | |
6578 | + const url = '/order/erp/orderStages/export'; | |
6579 | + function request(): Promise<GetOrderErpOrderStagesExportResponseSuccess> { | |
6569 | 6580 | return requester(request.url, { |
6570 | 6581 | method: request.method, |
6571 | - ...option, | |
6572 | - }) as unknown as Promise<PostOrderErpOrderStagesUploadResponseSuccess>; | |
6582 | + }) as unknown as Promise<GetOrderErpOrderStagesExportResponseSuccess>; | |
6573 | 6583 | } |
6574 | 6584 | |
6575 | 6585 | /** http method */ |
... | ... | @@ -6579,22 +6589,22 @@ export const postOrderErpOrderStagesUpload = /* #__PURE__ */ (() => { |
6579 | 6589 | return request; |
6580 | 6590 | })(); |
6581 | 6591 | |
6582 | -/** @description request parameter type for postOrderErpOrderStagesPayWaySaveOrUpdate */ | |
6583 | -export interface PostOrderErpOrderStagesPayWaySaveOrUpdateOption { | |
6592 | +/** @description request parameter type for postOrderErpOrderStagesImport */ | |
6593 | +export interface PostOrderErpOrderStagesImportOption { | |
6584 | 6594 | /** |
6585 | 6595 | * @description |
6586 | - * orderStagesPayWayList | |
6596 | + * file | |
6587 | 6597 | */ |
6588 | - body: { | |
6598 | + formData: { | |
6589 | 6599 | /** |
6590 | 6600 | @description |
6591 | - orderStagesPayWayList */ | |
6592 | - orderStagesPayWayList: Array<OrderStagesPayWay>; | |
6601 | + file */ | |
6602 | + file: File; | |
6593 | 6603 | }; |
6594 | 6604 | } |
6595 | 6605 | |
6596 | -/** @description response type for postOrderErpOrderStagesPayWaySaveOrUpdate */ | |
6597 | -export interface PostOrderErpOrderStagesPayWaySaveOrUpdateResponse { | |
6606 | +/** @description response type for postOrderErpOrderStagesImport */ | |
6607 | +export interface PostOrderErpOrderStagesImportResponse { | |
6598 | 6608 | /** |
6599 | 6609 | * @description |
6600 | 6610 | * OK |
... | ... | @@ -6622,51 +6632,36 @@ export interface PostOrderErpOrderStagesPayWaySaveOrUpdateResponse { |
6622 | 6632 | 404: any; |
6623 | 6633 | } |
6624 | 6634 | |
6625 | -export type PostOrderErpOrderStagesPayWaySaveOrUpdateResponseSuccess = | |
6626 | - PostOrderErpOrderStagesPayWaySaveOrUpdateResponse[200]; | |
6635 | +export type PostOrderErpOrderStagesImportResponseSuccess = | |
6636 | + PostOrderErpOrderStagesImportResponse[200]; | |
6627 | 6637 | /** |
6628 | 6638 | * @description |
6629 | - * 修改或者保存 | |
6630 | - * @tags order-stages-pay-way-controller | |
6639 | + * 导入分期账单 | |
6640 | + * @tags order-stages-controller | |
6631 | 6641 | * @produces * |
6632 | - * @consumes application/json | |
6642 | + * @consumes multipart/form-data | |
6633 | 6643 | */ |
6634 | -export const postOrderErpOrderStagesPayWaySaveOrUpdate = | |
6635 | - /* #__PURE__ */ (() => { | |
6636 | - const method = 'post'; | |
6637 | - const url = '/order/erp/orderStagesPayWay/saveOrUpdate'; | |
6638 | - function request( | |
6639 | - option: PostOrderErpOrderStagesPayWaySaveOrUpdateOption, | |
6640 | - ): Promise<PostOrderErpOrderStagesPayWaySaveOrUpdateResponseSuccess> { | |
6641 | - return requester(request.url, { | |
6642 | - method: request.method, | |
6643 | - ...option, | |
6644 | - }) as unknown as Promise<PostOrderErpOrderStagesPayWaySaveOrUpdateResponseSuccess>; | |
6645 | - } | |
6646 | - | |
6647 | - /** http method */ | |
6648 | - request.method = method; | |
6649 | - /** request url */ | |
6650 | - request.url = url; | |
6651 | - return request; | |
6652 | - })(); | |
6644 | +export const postOrderErpOrderStagesImport = /* #__PURE__ */ (() => { | |
6645 | + const method = 'post'; | |
6646 | + const url = '/order/erp/orderStages/import'; | |
6647 | + function request( | |
6648 | + option: PostOrderErpOrderStagesImportOption, | |
6649 | + ): Promise<PostOrderErpOrderStagesImportResponseSuccess> { | |
6650 | + return requester(request.url, { | |
6651 | + method: request.method, | |
6652 | + ...option, | |
6653 | + }) as unknown as Promise<PostOrderErpOrderStagesImportResponseSuccess>; | |
6654 | + } | |
6653 | 6655 | |
6654 | -/** @description request parameter type for postOrderErpOrderStagesPayWaySelect */ | |
6655 | -export interface PostOrderErpOrderStagesPayWaySelectOption { | |
6656 | - /** | |
6657 | - * @description | |
6658 | - * orderStagesPayWayDo | |
6659 | - */ | |
6660 | - body: { | |
6661 | - /** | |
6662 | - @description | |
6663 | - orderStagesPayWayDo */ | |
6664 | - orderStagesPayWayDo: OrderStagesPayWayDo; | |
6665 | - }; | |
6666 | -} | |
6656 | + /** http method */ | |
6657 | + request.method = method; | |
6658 | + /** request url */ | |
6659 | + request.url = url; | |
6660 | + return request; | |
6661 | +})(); | |
6667 | 6662 | |
6668 | -/** @description response type for postOrderErpOrderStagesPayWaySelect */ | |
6669 | -export interface PostOrderErpOrderStagesPayWaySelectResponse { | |
6663 | +/** @description response type for getOrderErpOrderStagesListAll */ | |
6664 | +export interface GetOrderErpOrderStagesListAllResponse { | |
6670 | 6665 | /** |
6671 | 6666 | * @description |
6672 | 6667 | * OK |
... | ... | @@ -6674,11 +6669,6 @@ export interface PostOrderErpOrderStagesPayWaySelectResponse { |
6674 | 6669 | 200: ServerResult; |
6675 | 6670 | /** |
6676 | 6671 | * @description |
6677 | - * Created | |
6678 | - */ | |
6679 | - 201: any; | |
6680 | - /** | |
6681 | - * @description | |
6682 | 6672 | * Unauthorized |
6683 | 6673 | */ |
6684 | 6674 | 401: any; |
... | ... | @@ -6694,25 +6684,21 @@ export interface PostOrderErpOrderStagesPayWaySelectResponse { |
6694 | 6684 | 404: any; |
6695 | 6685 | } |
6696 | 6686 | |
6697 | -export type PostOrderErpOrderStagesPayWaySelectResponseSuccess = | |
6698 | - PostOrderErpOrderStagesPayWaySelectResponse[200]; | |
6687 | +export type GetOrderErpOrderStagesListAllResponseSuccess = | |
6688 | + GetOrderErpOrderStagesListAllResponse[200]; | |
6699 | 6689 | /** |
6700 | 6690 | * @description |
6701 | - * 查询该的分期比例 | |
6702 | - * @tags order-stages-pay-way-controller | |
6691 | + * 查询所有分期账单 | |
6692 | + * @tags order-stages-controller | |
6703 | 6693 | * @produces * |
6704 | - * @consumes application/json | |
6705 | 6694 | */ |
6706 | -export const postOrderErpOrderStagesPayWaySelect = /* #__PURE__ */ (() => { | |
6707 | - const method = 'post'; | |
6708 | - const url = '/order/erp/orderStagesPayWay/select'; | |
6709 | - function request( | |
6710 | - option: PostOrderErpOrderStagesPayWaySelectOption, | |
6711 | - ): Promise<PostOrderErpOrderStagesPayWaySelectResponseSuccess> { | |
6695 | +export const getOrderErpOrderStagesListAll = /* #__PURE__ */ (() => { | |
6696 | + const method = 'get'; | |
6697 | + const url = '/order/erp/orderStages/listAll'; | |
6698 | + function request(): Promise<GetOrderErpOrderStagesListAllResponseSuccess> { | |
6712 | 6699 | return requester(request.url, { |
6713 | 6700 | method: request.method, |
6714 | - ...option, | |
6715 | - }) as unknown as Promise<PostOrderErpOrderStagesPayWaySelectResponseSuccess>; | |
6701 | + }) as unknown as Promise<GetOrderErpOrderStagesListAllResponseSuccess>; | |
6716 | 6702 | } |
6717 | 6703 | |
6718 | 6704 | /** http method */ |
... | ... | @@ -6722,22 +6708,22 @@ export const postOrderErpOrderStagesPayWaySelect = /* #__PURE__ */ (() => { |
6722 | 6708 | return request; |
6723 | 6709 | })(); |
6724 | 6710 | |
6725 | -/** @description request parameter type for postOrderErpOrderStagesPayWayUploadForPayWay */ | |
6726 | -export interface PostOrderErpOrderStagesPayWayUploadForPayWayOption { | |
6711 | +/** @description request parameter type for postOrderErpOrderStagesSaveOrUpdate */ | |
6712 | +export interface PostOrderErpOrderStagesSaveOrUpdateOption { | |
6727 | 6713 | /** |
6728 | 6714 | * @description |
6729 | - * orderStagesPayWayFileDo | |
6715 | + * orderStagesFromDo | |
6730 | 6716 | */ |
6731 | 6717 | body: { |
6732 | 6718 | /** |
6733 | 6719 | @description |
6734 | - orderStagesPayWayFileDo */ | |
6735 | - orderStagesPayWayFileDo: OrderStagesPayWayFileDo; | |
6720 | + orderStagesFromDo */ | |
6721 | + orderStagesFromDo: OrderStagesFromDo; | |
6736 | 6722 | }; |
6737 | 6723 | } |
6738 | 6724 | |
6739 | -/** @description response type for postOrderErpOrderStagesPayWayUploadForPayWay */ | |
6740 | -export interface PostOrderErpOrderStagesPayWayUploadForPayWayResponse { | |
6725 | +/** @description response type for postOrderErpOrderStagesSaveOrUpdate */ | |
6726 | +export interface PostOrderErpOrderStagesSaveOrUpdateResponse { | |
6741 | 6727 | /** |
6742 | 6728 | * @description |
6743 | 6729 | * OK |
... | ... | @@ -6765,51 +6751,50 @@ export interface PostOrderErpOrderStagesPayWayUploadForPayWayResponse { |
6765 | 6751 | 404: any; |
6766 | 6752 | } |
6767 | 6753 | |
6768 | -export type PostOrderErpOrderStagesPayWayUploadForPayWayResponseSuccess = | |
6769 | - PostOrderErpOrderStagesPayWayUploadForPayWayResponse[200]; | |
6754 | +export type PostOrderErpOrderStagesSaveOrUpdateResponseSuccess = | |
6755 | + PostOrderErpOrderStagesSaveOrUpdateResponse[200]; | |
6770 | 6756 | /** |
6771 | 6757 | * @description |
6772 | - * 付款合同文件上传 | |
6773 | - * @tags order-stages-pay-way-controller | |
6758 | + * 添加或者修改分期账单 | |
6759 | + * @tags order-stages-controller | |
6774 | 6760 | * @produces * |
6775 | 6761 | * @consumes application/json |
6776 | 6762 | */ |
6777 | -export const postOrderErpOrderStagesPayWayUploadForPayWay = | |
6778 | - /* #__PURE__ */ (() => { | |
6779 | - const method = 'post'; | |
6780 | - const url = '/order/erp/orderStagesPayWay/uploadForPayWay'; | |
6781 | - function request( | |
6782 | - option: PostOrderErpOrderStagesPayWayUploadForPayWayOption, | |
6783 | - ): Promise<PostOrderErpOrderStagesPayWayUploadForPayWayResponseSuccess> { | |
6784 | - return requester(request.url, { | |
6785 | - method: request.method, | |
6786 | - ...option, | |
6787 | - }) as unknown as Promise<PostOrderErpOrderStagesPayWayUploadForPayWayResponseSuccess>; | |
6788 | - } | |
6763 | +export const postOrderErpOrderStagesSaveOrUpdate = /* #__PURE__ */ (() => { | |
6764 | + const method = 'post'; | |
6765 | + const url = '/order/erp/orderStages/saveOrUpdate'; | |
6766 | + function request( | |
6767 | + option: PostOrderErpOrderStagesSaveOrUpdateOption, | |
6768 | + ): Promise<PostOrderErpOrderStagesSaveOrUpdateResponseSuccess> { | |
6769 | + return requester(request.url, { | |
6770 | + method: request.method, | |
6771 | + ...option, | |
6772 | + }) as unknown as Promise<PostOrderErpOrderStagesSaveOrUpdateResponseSuccess>; | |
6773 | + } | |
6789 | 6774 | |
6790 | - /** http method */ | |
6791 | - request.method = method; | |
6792 | - /** request url */ | |
6793 | - request.url = url; | |
6794 | - return request; | |
6795 | - })(); | |
6775 | + /** http method */ | |
6776 | + request.method = method; | |
6777 | + /** request url */ | |
6778 | + request.url = url; | |
6779 | + return request; | |
6780 | +})(); | |
6796 | 6781 | |
6797 | -/** @description request parameter type for deleteOrderErpOrderZoNingDelete */ | |
6798 | -export interface DeleteOrderErpOrderZoNingDeleteOption { | |
6782 | +/** @description request parameter type for postOrderErpOrderStagesSearch */ | |
6783 | +export interface PostOrderErpOrderStagesSearchOption { | |
6799 | 6784 | /** |
6800 | 6785 | * @description |
6801 | - * id | |
6786 | + * orderStagesSelDo | |
6802 | 6787 | */ |
6803 | 6788 | body: { |
6804 | 6789 | /** |
6805 | 6790 | @description |
6806 | - id */ | |
6807 | - id: number; | |
6791 | + orderStagesSelDo */ | |
6792 | + orderStagesSelDo: OrderStagesSelDo; | |
6808 | 6793 | }; |
6809 | 6794 | } |
6810 | 6795 | |
6811 | -/** @description response type for deleteOrderErpOrderZoNingDelete */ | |
6812 | -export interface DeleteOrderErpOrderZoNingDeleteResponse { | |
6796 | +/** @description response type for postOrderErpOrderStagesSearch */ | |
6797 | +export interface PostOrderErpOrderStagesSearchResponse { | |
6813 | 6798 | /** |
6814 | 6799 | * @description |
6815 | 6800 | * OK |
... | ... | @@ -6817,9 +6802,9 @@ export interface DeleteOrderErpOrderZoNingDeleteResponse { |
6817 | 6802 | 200: ServerResult; |
6818 | 6803 | /** |
6819 | 6804 | * @description |
6820 | - * No Content | |
6805 | + * Created | |
6821 | 6806 | */ |
6822 | - 204: any; | |
6807 | + 201: any; | |
6823 | 6808 | /** |
6824 | 6809 | * @description |
6825 | 6810 | * Unauthorized |
... | ... | @@ -6830,26 +6815,32 @@ export interface DeleteOrderErpOrderZoNingDeleteResponse { |
6830 | 6815 | * Forbidden |
6831 | 6816 | */ |
6832 | 6817 | 403: any; |
6818 | + /** | |
6819 | + * @description | |
6820 | + * Not Found | |
6821 | + */ | |
6822 | + 404: any; | |
6833 | 6823 | } |
6834 | 6824 | |
6835 | -export type DeleteOrderErpOrderZoNingDeleteResponseSuccess = | |
6836 | - DeleteOrderErpOrderZoNingDeleteResponse[200]; | |
6825 | +export type PostOrderErpOrderStagesSearchResponseSuccess = | |
6826 | + PostOrderErpOrderStagesSearchResponse[200]; | |
6837 | 6827 | /** |
6838 | 6828 | * @description |
6839 | - * toDetele | |
6840 | - * @tags order-zo-ning-controller | |
6829 | + * 条件搜索分期账单 | |
6830 | + * @tags order-stages-controller | |
6841 | 6831 | * @produces * |
6832 | + * @consumes application/json | |
6842 | 6833 | */ |
6843 | -export const deleteOrderErpOrderZoNingDelete = /* #__PURE__ */ (() => { | |
6844 | - const method = 'delete'; | |
6845 | - const url = '/order/erp/orderZoNing/delete'; | |
6834 | +export const postOrderErpOrderStagesSearch = /* #__PURE__ */ (() => { | |
6835 | + const method = 'post'; | |
6836 | + const url = '/order/erp/orderStages/search'; | |
6846 | 6837 | function request( |
6847 | - option: DeleteOrderErpOrderZoNingDeleteOption, | |
6848 | - ): Promise<DeleteOrderErpOrderZoNingDeleteResponseSuccess> { | |
6838 | + option: PostOrderErpOrderStagesSearchOption, | |
6839 | + ): Promise<PostOrderErpOrderStagesSearchResponseSuccess> { | |
6849 | 6840 | return requester(request.url, { |
6850 | 6841 | method: request.method, |
6851 | 6842 | ...option, |
6852 | - }) as unknown as Promise<DeleteOrderErpOrderZoNingDeleteResponseSuccess>; | |
6843 | + }) as unknown as Promise<PostOrderErpOrderStagesSearchResponseSuccess>; | |
6853 | 6844 | } |
6854 | 6845 | |
6855 | 6846 | /** http method */ |
... | ... | @@ -6859,22 +6850,22 @@ export const deleteOrderErpOrderZoNingDelete = /* #__PURE__ */ (() => { |
6859 | 6850 | return request; |
6860 | 6851 | })(); |
6861 | 6852 | |
6862 | -/** @description request parameter type for postOrderErpOrderZoNingSaveOrUpdate */ | |
6863 | -export interface PostOrderErpOrderZoNingSaveOrUpdateOption { | |
6853 | +/** @description request parameter type for postOrderErpOrderStagesUpload */ | |
6854 | +export interface PostOrderErpOrderStagesUploadOption { | |
6864 | 6855 | /** |
6865 | 6856 | * @description |
6866 | - * orderZoNingProvinceUserDo | |
6857 | + * file | |
6867 | 6858 | */ |
6868 | - body: { | |
6859 | + formData: { | |
6869 | 6860 | /** |
6870 | 6861 | @description |
6871 | - orderZoNingProvinceUserDo */ | |
6872 | - orderZoNingProvinceUserDo: OrderZoNingProvinceUserDo; | |
6862 | + file */ | |
6863 | + file: File; | |
6873 | 6864 | }; |
6874 | 6865 | } |
6875 | 6866 | |
6876 | -/** @description response type for postOrderErpOrderZoNingSaveOrUpdate */ | |
6877 | -export interface PostOrderErpOrderZoNingSaveOrUpdateResponse { | |
6867 | +/** @description response type for postOrderErpOrderStagesUpload */ | |
6868 | +export interface PostOrderErpOrderStagesUploadResponse { | |
6878 | 6869 | /** |
6879 | 6870 | * @description |
6880 | 6871 | * OK |
... | ... | @@ -6902,1021 +6893,25 @@ export interface PostOrderErpOrderZoNingSaveOrUpdateResponse { |
6902 | 6893 | 404: any; |
6903 | 6894 | } |
6904 | 6895 | |
6905 | -export type PostOrderErpOrderZoNingSaveOrUpdateResponseSuccess = | |
6906 | - PostOrderErpOrderZoNingSaveOrUpdateResponse[200]; | |
6907 | -/** | |
6908 | - * @description | |
6909 | - * update | |
6910 | - * @tags order-zo-ning-controller | |
6911 | - * @produces * | |
6912 | - * @consumes application/json | |
6913 | - */ | |
6914 | -export const postOrderErpOrderZoNingSaveOrUpdate = /* #__PURE__ */ (() => { | |
6915 | - const method = 'post'; | |
6916 | - const url = '/order/erp/orderZoNing/saveOrUpdate'; | |
6917 | - function request( | |
6918 | - option: PostOrderErpOrderZoNingSaveOrUpdateOption, | |
6919 | - ): Promise<PostOrderErpOrderZoNingSaveOrUpdateResponseSuccess> { | |
6920 | - return requester(request.url, { | |
6921 | - method: request.method, | |
6922 | - ...option, | |
6923 | - }) as unknown as Promise<PostOrderErpOrderZoNingSaveOrUpdateResponseSuccess>; | |
6924 | - } | |
6925 | - | |
6926 | - /** http method */ | |
6927 | - request.method = method; | |
6928 | - /** request url */ | |
6929 | - request.url = url; | |
6930 | - return request; | |
6931 | -})(); | |
6932 | - | |
6933 | -/** @description response type for getOrderErpOrderZoNingSelectAll */ | |
6934 | -export interface GetOrderErpOrderZoNingSelectAllResponse { | |
6935 | - /** | |
6936 | - * @description | |
6937 | - * OK | |
6938 | - */ | |
6939 | - 200: ServerResult; | |
6940 | - /** | |
6941 | - * @description | |
6942 | - * Unauthorized | |
6943 | - */ | |
6944 | - 401: any; | |
6945 | - /** | |
6946 | - * @description | |
6947 | - * Forbidden | |
6948 | - */ | |
6949 | - 403: any; | |
6950 | - /** | |
6951 | - * @description | |
6952 | - * Not Found | |
6953 | - */ | |
6954 | - 404: any; | |
6955 | -} | |
6956 | - | |
6957 | -export type GetOrderErpOrderZoNingSelectAllResponseSuccess = | |
6958 | - GetOrderErpOrderZoNingSelectAllResponse[200]; | |
6959 | -/** | |
6960 | - * @description | |
6961 | - * 查询 | |
6962 | - * @tags order-zo-ning-controller | |
6963 | - * @produces * | |
6964 | - */ | |
6965 | -export const getOrderErpOrderZoNingSelectAll = /* #__PURE__ */ (() => { | |
6966 | - const method = 'get'; | |
6967 | - const url = '/order/erp/orderZoNing/selectAll'; | |
6968 | - function request(): Promise<GetOrderErpOrderZoNingSelectAllResponseSuccess> { | |
6969 | - return requester(request.url, { | |
6970 | - method: request.method, | |
6971 | - }) as unknown as Promise<GetOrderErpOrderZoNingSelectAllResponseSuccess>; | |
6972 | - } | |
6973 | - | |
6974 | - /** http method */ | |
6975 | - request.method = method; | |
6976 | - /** request url */ | |
6977 | - request.url = url; | |
6978 | - return request; | |
6979 | -})(); | |
6980 | - | |
6981 | -/** @description response type for getOrderErpOrderZoNingSelectProvinceAll */ | |
6982 | -export interface GetOrderErpOrderZoNingSelectProvinceAllResponse { | |
6983 | - /** | |
6984 | - * @description | |
6985 | - * OK | |
6986 | - */ | |
6987 | - 200: ServerResult; | |
6988 | - /** | |
6989 | - * @description | |
6990 | - * Unauthorized | |
6991 | - */ | |
6992 | - 401: any; | |
6993 | - /** | |
6994 | - * @description | |
6995 | - * Forbidden | |
6996 | - */ | |
6997 | - 403: any; | |
6998 | - /** | |
6999 | - * @description | |
7000 | - * Not Found | |
7001 | - */ | |
7002 | - 404: any; | |
7003 | -} | |
7004 | - | |
7005 | -export type GetOrderErpOrderZoNingSelectProvinceAllResponseSuccess = | |
7006 | - GetOrderErpOrderZoNingSelectProvinceAllResponse[200]; | |
7007 | -/** | |
7008 | - * @description | |
7009 | - * 查询所有省份 | |
7010 | - * @tags order-zo-ning-controller | |
7011 | - * @produces * | |
7012 | - */ | |
7013 | -export const getOrderErpOrderZoNingSelectProvinceAll = /* #__PURE__ */ (() => { | |
7014 | - const method = 'get'; | |
7015 | - const url = '/order/erp/orderZoNing/selectProvinceAll'; | |
7016 | - function request(): Promise<GetOrderErpOrderZoNingSelectProvinceAllResponseSuccess> { | |
7017 | - return requester(request.url, { | |
7018 | - method: request.method, | |
7019 | - }) as unknown as Promise<GetOrderErpOrderZoNingSelectProvinceAllResponseSuccess>; | |
7020 | - } | |
7021 | - | |
7022 | - /** http method */ | |
7023 | - request.method = method; | |
7024 | - /** request url */ | |
7025 | - request.url = url; | |
7026 | - return request; | |
7027 | -})(); | |
7028 | - | |
7029 | -/** @description response type for getOrderErpOrderZoNingSelectUserAll */ | |
7030 | -export interface GetOrderErpOrderZoNingSelectUserAllResponse { | |
7031 | - /** | |
7032 | - * @description | |
7033 | - * OK | |
7034 | - */ | |
7035 | - 200: ServerResult; | |
7036 | - /** | |
7037 | - * @description | |
7038 | - * Unauthorized | |
7039 | - */ | |
7040 | - 401: any; | |
7041 | - /** | |
7042 | - * @description | |
7043 | - * Forbidden | |
7044 | - */ | |
7045 | - 403: any; | |
7046 | - /** | |
7047 | - * @description | |
7048 | - * Not Found | |
7049 | - */ | |
7050 | - 404: any; | |
7051 | -} | |
7052 | - | |
7053 | -export type GetOrderErpOrderZoNingSelectUserAllResponseSuccess = | |
7054 | - GetOrderErpOrderZoNingSelectUserAllResponse[200]; | |
7055 | -/** | |
7056 | - * @description | |
7057 | - * 查询所有销售 | |
7058 | - * @tags order-zo-ning-controller | |
7059 | - * @produces * | |
7060 | - */ | |
7061 | -export const getOrderErpOrderZoNingSelectUserAll = /* #__PURE__ */ (() => { | |
7062 | - const method = 'get'; | |
7063 | - const url = '/order/erp/orderZoNing/selectUserAll'; | |
7064 | - function request(): Promise<GetOrderErpOrderZoNingSelectUserAllResponseSuccess> { | |
7065 | - return requester(request.url, { | |
7066 | - method: request.method, | |
7067 | - }) as unknown as Promise<GetOrderErpOrderZoNingSelectUserAllResponseSuccess>; | |
7068 | - } | |
7069 | - | |
7070 | - /** http method */ | |
7071 | - request.method = method; | |
7072 | - /** request url */ | |
7073 | - request.url = url; | |
7074 | - return request; | |
7075 | -})(); | |
7076 | - | |
7077 | -/** @description request parameter type for postOrderErpProfitAnalysis */ | |
7078 | -export interface PostOrderErpProfitAnalysisOption { | |
7079 | - /** | |
7080 | - * @description | |
7081 | - * orderProfitAnalysisVo | |
7082 | - */ | |
7083 | - body: { | |
7084 | - /** | |
7085 | - @description | |
7086 | - orderProfitAnalysisVo */ | |
7087 | - orderProfitAnalysisVo: OrderProfitAnalysisVo; | |
7088 | - }; | |
7089 | -} | |
7090 | - | |
7091 | -/** @description response type for postOrderErpProfitAnalysis */ | |
7092 | -export interface PostOrderErpProfitAnalysisResponse { | |
7093 | - /** | |
7094 | - * @description | |
7095 | - * OK | |
7096 | - */ | |
7097 | - 200: ServerResult; | |
7098 | - /** | |
7099 | - * @description | |
7100 | - * Created | |
7101 | - */ | |
7102 | - 201: any; | |
7103 | - /** | |
7104 | - * @description | |
7105 | - * Unauthorized | |
7106 | - */ | |
7107 | - 401: any; | |
7108 | - /** | |
7109 | - * @description | |
7110 | - * Forbidden | |
7111 | - */ | |
7112 | - 403: any; | |
7113 | - /** | |
7114 | - * @description | |
7115 | - * Not Found | |
7116 | - */ | |
7117 | - 404: any; | |
7118 | -} | |
7119 | - | |
7120 | -export type PostOrderErpProfitAnalysisResponseSuccess = | |
7121 | - PostOrderErpProfitAnalysisResponse[200]; | |
7122 | -/** | |
7123 | - * @description | |
7124 | - * analysis | |
7125 | - * @tags order-profit-controller | |
7126 | - * @produces * | |
7127 | - * @consumes application/json | |
7128 | - */ | |
7129 | -export const postOrderErpProfitAnalysis = /* #__PURE__ */ (() => { | |
7130 | - const method = 'post'; | |
7131 | - const url = '/order/erp/profit/analysis'; | |
7132 | - function request( | |
7133 | - option: PostOrderErpProfitAnalysisOption, | |
7134 | - ): Promise<PostOrderErpProfitAnalysisResponseSuccess> { | |
7135 | - return requester(request.url, { | |
7136 | - method: request.method, | |
7137 | - ...option, | |
7138 | - }) as unknown as Promise<PostOrderErpProfitAnalysisResponseSuccess>; | |
7139 | - } | |
7140 | - | |
7141 | - /** http method */ | |
7142 | - request.method = method; | |
7143 | - /** request url */ | |
7144 | - request.url = url; | |
7145 | - return request; | |
7146 | -})(); | |
7147 | - | |
7148 | -/** @description request parameter type for postOrderErpRolesAdd */ | |
7149 | -export interface PostOrderErpRolesAddOption { | |
7150 | - /** | |
7151 | - * @description | |
7152 | - * roleVO | |
7153 | - */ | |
7154 | - body: { | |
7155 | - /** | |
7156 | - @description | |
7157 | - roleVO */ | |
7158 | - roleVO: AdminRoleVO; | |
7159 | - }; | |
7160 | -} | |
7161 | - | |
7162 | -/** @description response type for postOrderErpRolesAdd */ | |
7163 | -export interface PostOrderErpRolesAddResponse { | |
7164 | - /** | |
7165 | - * @description | |
7166 | - * OK | |
7167 | - */ | |
7168 | - 200: ServerResult; | |
7169 | - /** | |
7170 | - * @description | |
7171 | - * Created | |
7172 | - */ | |
7173 | - 201: any; | |
7174 | - /** | |
7175 | - * @description | |
7176 | - * Unauthorized | |
7177 | - */ | |
7178 | - 401: any; | |
7179 | - /** | |
7180 | - * @description | |
7181 | - * Forbidden | |
7182 | - */ | |
7183 | - 403: any; | |
7184 | - /** | |
7185 | - * @description | |
7186 | - * Not Found | |
7187 | - */ | |
7188 | - 404: any; | |
7189 | -} | |
7190 | - | |
7191 | -export type PostOrderErpRolesAddResponseSuccess = | |
7192 | - PostOrderErpRolesAddResponse[200]; | |
7193 | -/** | |
7194 | - * @description | |
7195 | - * 新增角色 | |
7196 | - * @tags 系统:角色管理 | |
7197 | - * @produces * | |
7198 | - * @consumes application/json | |
7199 | - */ | |
7200 | -export const postOrderErpRolesAdd = /* #__PURE__ */ (() => { | |
7201 | - const method = 'post'; | |
7202 | - const url = '/order/erp/roles/add'; | |
7203 | - function request( | |
7204 | - option: PostOrderErpRolesAddOption, | |
7205 | - ): Promise<PostOrderErpRolesAddResponseSuccess> { | |
7206 | - return requester(request.url, { | |
7207 | - method: request.method, | |
7208 | - ...option, | |
7209 | - }) as unknown as Promise<PostOrderErpRolesAddResponseSuccess>; | |
7210 | - } | |
7211 | - | |
7212 | - /** http method */ | |
7213 | - request.method = method; | |
7214 | - /** request url */ | |
7215 | - request.url = url; | |
7216 | - return request; | |
7217 | -})(); | |
7218 | - | |
7219 | -/** @description request parameter type for postOrderErpRolesAll */ | |
7220 | -export interface PostOrderErpRolesAllOption { | |
7221 | - /** | |
7222 | - * @description | |
7223 | - * queryVO | |
7224 | - */ | |
7225 | - body: { | |
7226 | - /** | |
7227 | - @description | |
7228 | - queryVO */ | |
7229 | - queryVO: AdminRoleQueryVO; | |
7230 | - }; | |
7231 | -} | |
7232 | - | |
7233 | -/** @description response type for postOrderErpRolesAll */ | |
7234 | -export interface PostOrderErpRolesAllResponse { | |
7235 | - /** | |
7236 | - * @description | |
7237 | - * OK | |
7238 | - */ | |
7239 | - 200: ServerResult; | |
7240 | - /** | |
7241 | - * @description | |
7242 | - * Created | |
7243 | - */ | |
7244 | - 201: any; | |
7245 | - /** | |
7246 | - * @description | |
7247 | - * Unauthorized | |
7248 | - */ | |
7249 | - 401: any; | |
7250 | - /** | |
7251 | - * @description | |
7252 | - * Forbidden | |
7253 | - */ | |
7254 | - 403: any; | |
7255 | - /** | |
7256 | - * @description | |
7257 | - * Not Found | |
7258 | - */ | |
7259 | - 404: any; | |
7260 | -} | |
7261 | - | |
7262 | -export type PostOrderErpRolesAllResponseSuccess = | |
7263 | - PostOrderErpRolesAllResponse[200]; | |
7264 | -/** | |
7265 | - * @description | |
7266 | - * 返回全部的角色 | |
7267 | - * @tags 系统:角色管理 | |
7268 | - * @produces * | |
7269 | - * @consumes application/json | |
7270 | - */ | |
7271 | -export const postOrderErpRolesAll = /* #__PURE__ */ (() => { | |
7272 | - const method = 'post'; | |
7273 | - const url = '/order/erp/roles/all'; | |
7274 | - function request( | |
7275 | - option: PostOrderErpRolesAllOption, | |
7276 | - ): Promise<PostOrderErpRolesAllResponseSuccess> { | |
7277 | - return requester(request.url, { | |
7278 | - method: request.method, | |
7279 | - ...option, | |
7280 | - }) as unknown as Promise<PostOrderErpRolesAllResponseSuccess>; | |
7281 | - } | |
7282 | - | |
7283 | - /** http method */ | |
7284 | - request.method = method; | |
7285 | - /** request url */ | |
7286 | - request.url = url; | |
7287 | - return request; | |
7288 | -})(); | |
7289 | - | |
7290 | -/** @description request parameter type for postOrderErpRolesAuthMenu */ | |
7291 | -export interface PostOrderErpRolesAuthMenuOption { | |
7292 | - /** | |
7293 | - * @description | |
7294 | - * roleVO | |
7295 | - */ | |
7296 | - body: { | |
7297 | - /** | |
7298 | - @description | |
7299 | - roleVO */ | |
7300 | - roleVO: AdminAuthRoleVO; | |
7301 | - }; | |
7302 | -} | |
7303 | - | |
7304 | -/** @description response type for postOrderErpRolesAuthMenu */ | |
7305 | -export interface PostOrderErpRolesAuthMenuResponse { | |
7306 | - /** | |
7307 | - * @description | |
7308 | - * OK | |
7309 | - */ | |
7310 | - 200: ServerResult; | |
7311 | - /** | |
7312 | - * @description | |
7313 | - * Created | |
7314 | - */ | |
7315 | - 201: any; | |
7316 | - /** | |
7317 | - * @description | |
7318 | - * Unauthorized | |
7319 | - */ | |
7320 | - 401: any; | |
7321 | - /** | |
7322 | - * @description | |
7323 | - * Forbidden | |
7324 | - */ | |
7325 | - 403: any; | |
7326 | - /** | |
7327 | - * @description | |
7328 | - * Not Found | |
7329 | - */ | |
7330 | - 404: any; | |
7331 | -} | |
7332 | - | |
7333 | -export type PostOrderErpRolesAuthMenuResponseSuccess = | |
7334 | - PostOrderErpRolesAuthMenuResponse[200]; | |
7335 | -/** | |
7336 | - * @description | |
7337 | - * 授权角色菜单 | |
7338 | - * @tags 系统:角色管理 | |
7339 | - * @produces * | |
7340 | - * @consumes application/json | |
7341 | - */ | |
7342 | -export const postOrderErpRolesAuthMenu = /* #__PURE__ */ (() => { | |
7343 | - const method = 'post'; | |
7344 | - const url = '/order/erp/roles/auth_menu'; | |
7345 | - function request( | |
7346 | - option: PostOrderErpRolesAuthMenuOption, | |
7347 | - ): Promise<PostOrderErpRolesAuthMenuResponseSuccess> { | |
7348 | - return requester(request.url, { | |
7349 | - method: request.method, | |
7350 | - ...option, | |
7351 | - }) as unknown as Promise<PostOrderErpRolesAuthMenuResponseSuccess>; | |
7352 | - } | |
7353 | - | |
7354 | - /** http method */ | |
7355 | - request.method = method; | |
7356 | - /** request url */ | |
7357 | - request.url = url; | |
7358 | - return request; | |
7359 | -})(); | |
7360 | - | |
7361 | -/** @description request parameter type for postOrderErpRolesDelete */ | |
7362 | -export interface PostOrderErpRolesDeleteOption { | |
7363 | - /** | |
7364 | - * @description | |
7365 | - * queryVO | |
7366 | - */ | |
7367 | - body: { | |
7368 | - /** | |
7369 | - @description | |
7370 | - queryVO */ | |
7371 | - queryVO: AdminRoleQueryVO; | |
7372 | - }; | |
7373 | -} | |
7374 | - | |
7375 | -/** @description response type for postOrderErpRolesDelete */ | |
7376 | -export interface PostOrderErpRolesDeleteResponse { | |
7377 | - /** | |
7378 | - * @description | |
7379 | - * OK | |
7380 | - */ | |
7381 | - 200: ServerResult; | |
7382 | - /** | |
7383 | - * @description | |
7384 | - * Created | |
7385 | - */ | |
7386 | - 201: any; | |
7387 | - /** | |
7388 | - * @description | |
7389 | - * Unauthorized | |
7390 | - */ | |
7391 | - 401: any; | |
7392 | - /** | |
7393 | - * @description | |
7394 | - * Forbidden | |
7395 | - */ | |
7396 | - 403: any; | |
7397 | - /** | |
7398 | - * @description | |
7399 | - * Not Found | |
7400 | - */ | |
7401 | - 404: any; | |
7402 | -} | |
7403 | - | |
7404 | -export type PostOrderErpRolesDeleteResponseSuccess = | |
7405 | - PostOrderErpRolesDeleteResponse[200]; | |
7406 | -/** | |
7407 | - * @description | |
7408 | - * 删除角色 | |
7409 | - * @tags 系统:角色管理 | |
7410 | - * @produces * | |
7411 | - * @consumes application/json | |
7412 | - */ | |
7413 | -export const postOrderErpRolesDelete = /* #__PURE__ */ (() => { | |
7414 | - const method = 'post'; | |
7415 | - const url = '/order/erp/roles/delete'; | |
7416 | - function request( | |
7417 | - option: PostOrderErpRolesDeleteOption, | |
7418 | - ): Promise<PostOrderErpRolesDeleteResponseSuccess> { | |
7419 | - return requester(request.url, { | |
7420 | - method: request.method, | |
7421 | - ...option, | |
7422 | - }) as unknown as Promise<PostOrderErpRolesDeleteResponseSuccess>; | |
7423 | - } | |
7424 | - | |
7425 | - /** http method */ | |
7426 | - request.method = method; | |
7427 | - /** request url */ | |
7428 | - request.url = url; | |
7429 | - return request; | |
7430 | -})(); | |
7431 | - | |
7432 | -/** @description request parameter type for postOrderErpRolesDetail */ | |
7433 | -export interface PostOrderErpRolesDetailOption { | |
7434 | - /** | |
7435 | - * @description | |
7436 | - * queryVO | |
7437 | - */ | |
7438 | - body: { | |
7439 | - /** | |
7440 | - @description | |
7441 | - queryVO */ | |
7442 | - queryVO: AdminRoleQueryVO; | |
7443 | - }; | |
7444 | -} | |
7445 | - | |
7446 | -/** @description response type for postOrderErpRolesDetail */ | |
7447 | -export interface PostOrderErpRolesDetailResponse { | |
7448 | - /** | |
7449 | - * @description | |
7450 | - * OK | |
7451 | - */ | |
7452 | - 200: ServerResult; | |
7453 | - /** | |
7454 | - * @description | |
7455 | - * Created | |
7456 | - */ | |
7457 | - 201: any; | |
7458 | - /** | |
7459 | - * @description | |
7460 | - * Unauthorized | |
7461 | - */ | |
7462 | - 401: any; | |
7463 | - /** | |
7464 | - * @description | |
7465 | - * Forbidden | |
7466 | - */ | |
7467 | - 403: any; | |
7468 | - /** | |
7469 | - * @description | |
7470 | - * Not Found | |
7471 | - */ | |
7472 | - 404: any; | |
7473 | -} | |
7474 | - | |
7475 | -export type PostOrderErpRolesDetailResponseSuccess = | |
7476 | - PostOrderErpRolesDetailResponse[200]; | |
7477 | -/** | |
7478 | - * @description | |
7479 | - * 获取单个role | |
7480 | - * @tags 系统:角色管理 | |
7481 | - * @produces * | |
7482 | - * @consumes application/json | |
7483 | - */ | |
7484 | -export const postOrderErpRolesDetail = /* #__PURE__ */ (() => { | |
7485 | - const method = 'post'; | |
7486 | - const url = '/order/erp/roles/detail'; | |
7487 | - function request( | |
7488 | - option: PostOrderErpRolesDetailOption, | |
7489 | - ): Promise<PostOrderErpRolesDetailResponseSuccess> { | |
7490 | - return requester(request.url, { | |
7491 | - method: request.method, | |
7492 | - ...option, | |
7493 | - }) as unknown as Promise<PostOrderErpRolesDetailResponseSuccess>; | |
7494 | - } | |
7495 | - | |
7496 | - /** http method */ | |
7497 | - request.method = method; | |
7498 | - /** request url */ | |
7499 | - request.url = url; | |
7500 | - return request; | |
7501 | -})(); | |
7502 | - | |
7503 | -/** @description request parameter type for postOrderErpRolesEdit */ | |
7504 | -export interface PostOrderErpRolesEditOption { | |
7505 | - /** | |
7506 | - * @description | |
7507 | - * roleVO | |
7508 | - */ | |
7509 | - body: { | |
7510 | - /** | |
7511 | - @description | |
7512 | - roleVO */ | |
7513 | - roleVO: AdminRoleVO; | |
7514 | - }; | |
7515 | -} | |
7516 | - | |
7517 | -/** @description response type for postOrderErpRolesEdit */ | |
7518 | -export interface PostOrderErpRolesEditResponse { | |
7519 | - /** | |
7520 | - * @description | |
7521 | - * OK | |
7522 | - */ | |
7523 | - 200: ServerResult; | |
7524 | - /** | |
7525 | - * @description | |
7526 | - * Created | |
7527 | - */ | |
7528 | - 201: any; | |
7529 | - /** | |
7530 | - * @description | |
7531 | - * Unauthorized | |
7532 | - */ | |
7533 | - 401: any; | |
7534 | - /** | |
7535 | - * @description | |
7536 | - * Forbidden | |
7537 | - */ | |
7538 | - 403: any; | |
7539 | - /** | |
7540 | - * @description | |
7541 | - * Not Found | |
7542 | - */ | |
7543 | - 404: any; | |
7544 | -} | |
7545 | - | |
7546 | -export type PostOrderErpRolesEditResponseSuccess = | |
7547 | - PostOrderErpRolesEditResponse[200]; | |
7548 | -/** | |
7549 | - * @description | |
7550 | - * 修改角色 | |
7551 | - * @tags 系统:角色管理 | |
7552 | - * @produces * | |
7553 | - * @consumes application/json | |
7554 | - */ | |
7555 | -export const postOrderErpRolesEdit = /* #__PURE__ */ (() => { | |
7556 | - const method = 'post'; | |
7557 | - const url = '/order/erp/roles/edit'; | |
7558 | - function request( | |
7559 | - option: PostOrderErpRolesEditOption, | |
7560 | - ): Promise<PostOrderErpRolesEditResponseSuccess> { | |
7561 | - return requester(request.url, { | |
7562 | - method: request.method, | |
7563 | - ...option, | |
7564 | - }) as unknown as Promise<PostOrderErpRolesEditResponseSuccess>; | |
7565 | - } | |
7566 | - | |
7567 | - /** http method */ | |
7568 | - request.method = method; | |
7569 | - /** request url */ | |
7570 | - request.url = url; | |
7571 | - return request; | |
7572 | -})(); | |
7573 | - | |
7574 | -/** @description request parameter type for postOrderErpRolesListByPage */ | |
7575 | -export interface PostOrderErpRolesListByPageOption { | |
7576 | - /** | |
7577 | - * @description | |
7578 | - * queryVO | |
7579 | - */ | |
7580 | - body: { | |
7581 | - /** | |
7582 | - @description | |
7583 | - queryVO */ | |
7584 | - queryVO: AdminRoleQueryVO; | |
7585 | - }; | |
7586 | -} | |
7587 | - | |
7588 | -/** @description response type for postOrderErpRolesListByPage */ | |
7589 | -export interface PostOrderErpRolesListByPageResponse { | |
7590 | - /** | |
7591 | - * @description | |
7592 | - * OK | |
7593 | - */ | |
7594 | - 200: ServerResult; | |
7595 | - /** | |
7596 | - * @description | |
7597 | - * Created | |
7598 | - */ | |
7599 | - 201: any; | |
7600 | - /** | |
7601 | - * @description | |
7602 | - * Unauthorized | |
7603 | - */ | |
7604 | - 401: any; | |
7605 | - /** | |
7606 | - * @description | |
7607 | - * Forbidden | |
7608 | - */ | |
7609 | - 403: any; | |
7610 | - /** | |
7611 | - * @description | |
7612 | - * Not Found | |
7613 | - */ | |
7614 | - 404: any; | |
7615 | -} | |
7616 | - | |
7617 | -export type PostOrderErpRolesListByPageResponseSuccess = | |
7618 | - PostOrderErpRolesListByPageResponse[200]; | |
7619 | -/** | |
7620 | - * @description | |
7621 | - * 查询角色 | |
7622 | - * @tags 系统:角色管理 | |
7623 | - * @produces * | |
7624 | - * @consumes application/json | |
7625 | - */ | |
7626 | -export const postOrderErpRolesListByPage = /* #__PURE__ */ (() => { | |
7627 | - const method = 'post'; | |
7628 | - const url = '/order/erp/roles/list_by_page'; | |
7629 | - function request( | |
7630 | - option: PostOrderErpRolesListByPageOption, | |
7631 | - ): Promise<PostOrderErpRolesListByPageResponseSuccess> { | |
7632 | - return requester(request.url, { | |
7633 | - method: request.method, | |
7634 | - ...option, | |
7635 | - }) as unknown as Promise<PostOrderErpRolesListByPageResponseSuccess>; | |
7636 | - } | |
7637 | - | |
7638 | - /** http method */ | |
7639 | - request.method = method; | |
7640 | - /** request url */ | |
7641 | - request.url = url; | |
7642 | - return request; | |
7643 | -})(); | |
7644 | - | |
7645 | -/** @description request parameter type for postOrderErpUsersAdd */ | |
7646 | -export interface PostOrderErpUsersAddOption { | |
7647 | - /** | |
7648 | - * @description | |
7649 | - * userVO | |
7650 | - */ | |
7651 | - body: { | |
7652 | - /** | |
7653 | - @description | |
7654 | - userVO */ | |
7655 | - userVO: AdminUserVO; | |
7656 | - }; | |
7657 | -} | |
7658 | - | |
7659 | -/** @description response type for postOrderErpUsersAdd */ | |
7660 | -export interface PostOrderErpUsersAddResponse { | |
7661 | - /** | |
7662 | - * @description | |
7663 | - * OK | |
7664 | - */ | |
7665 | - 200: ServerResult; | |
7666 | - /** | |
7667 | - * @description | |
7668 | - * Created | |
7669 | - */ | |
7670 | - 201: any; | |
7671 | - /** | |
7672 | - * @description | |
7673 | - * Unauthorized | |
7674 | - */ | |
7675 | - 401: any; | |
7676 | - /** | |
7677 | - * @description | |
7678 | - * Forbidden | |
7679 | - */ | |
7680 | - 403: any; | |
7681 | - /** | |
7682 | - * @description | |
7683 | - * Not Found | |
7684 | - */ | |
7685 | - 404: any; | |
7686 | -} | |
7687 | - | |
7688 | -export type PostOrderErpUsersAddResponseSuccess = | |
7689 | - PostOrderErpUsersAddResponse[200]; | |
7690 | -/** | |
7691 | - * @description | |
7692 | - * 新增用户 | |
7693 | - * @tags 系统:用户管理 | |
7694 | - * @produces * | |
7695 | - * @consumes application/json | |
7696 | - */ | |
7697 | -export const postOrderErpUsersAdd = /* #__PURE__ */ (() => { | |
7698 | - const method = 'post'; | |
7699 | - const url = '/order/erp/users/add'; | |
7700 | - function request( | |
7701 | - option: PostOrderErpUsersAddOption, | |
7702 | - ): Promise<PostOrderErpUsersAddResponseSuccess> { | |
7703 | - return requester(request.url, { | |
7704 | - method: request.method, | |
7705 | - ...option, | |
7706 | - }) as unknown as Promise<PostOrderErpUsersAddResponseSuccess>; | |
7707 | - } | |
7708 | - | |
7709 | - /** http method */ | |
7710 | - request.method = method; | |
7711 | - /** request url */ | |
7712 | - request.url = url; | |
7713 | - return request; | |
7714 | -})(); | |
7715 | - | |
7716 | -/** @description request parameter type for postOrderErpUsersAuthRole */ | |
7717 | -export interface PostOrderErpUsersAuthRoleOption { | |
7718 | - /** | |
7719 | - * @description | |
7720 | - * userVO | |
7721 | - */ | |
7722 | - body: { | |
7723 | - /** | |
7724 | - @description | |
7725 | - userVO */ | |
7726 | - userVO: AdminAuthUserVO; | |
7727 | - }; | |
7728 | -} | |
7729 | - | |
7730 | -/** @description response type for postOrderErpUsersAuthRole */ | |
7731 | -export interface PostOrderErpUsersAuthRoleResponse { | |
7732 | - /** | |
7733 | - * @description | |
7734 | - * OK | |
7735 | - */ | |
7736 | - 200: ServerResult; | |
7737 | - /** | |
7738 | - * @description | |
7739 | - * Created | |
7740 | - */ | |
7741 | - 201: any; | |
7742 | - /** | |
7743 | - * @description | |
7744 | - * Unauthorized | |
7745 | - */ | |
7746 | - 401: any; | |
7747 | - /** | |
7748 | - * @description | |
7749 | - * Forbidden | |
7750 | - */ | |
7751 | - 403: any; | |
7752 | - /** | |
7753 | - * @description | |
7754 | - * Not Found | |
7755 | - */ | |
7756 | - 404: any; | |
7757 | -} | |
7758 | - | |
7759 | -export type PostOrderErpUsersAuthRoleResponseSuccess = | |
7760 | - PostOrderErpUsersAuthRoleResponse[200]; | |
7761 | -/** | |
7762 | - * @description | |
7763 | - * 授权角色 | |
7764 | - * @tags 系统:用户管理 | |
7765 | - * @produces * | |
7766 | - * @consumes application/json | |
7767 | - */ | |
7768 | -export const postOrderErpUsersAuthRole = /* #__PURE__ */ (() => { | |
7769 | - const method = 'post'; | |
7770 | - const url = '/order/erp/users/auth_role'; | |
7771 | - function request( | |
7772 | - option: PostOrderErpUsersAuthRoleOption, | |
7773 | - ): Promise<PostOrderErpUsersAuthRoleResponseSuccess> { | |
7774 | - return requester(request.url, { | |
7775 | - method: request.method, | |
7776 | - ...option, | |
7777 | - }) as unknown as Promise<PostOrderErpUsersAuthRoleResponseSuccess>; | |
7778 | - } | |
7779 | - | |
7780 | - /** http method */ | |
7781 | - request.method = method; | |
7782 | - /** request url */ | |
7783 | - request.url = url; | |
7784 | - return request; | |
7785 | -})(); | |
7786 | - | |
7787 | -/** @description request parameter type for postOrderErpUsersDelete */ | |
7788 | -export interface PostOrderErpUsersDeleteOption { | |
7789 | - /** | |
7790 | - * @description | |
7791 | - * queryVO | |
7792 | - */ | |
7793 | - body: { | |
7794 | - /** | |
7795 | - @description | |
7796 | - queryVO */ | |
7797 | - queryVO: AdminUserQueryVO; | |
7798 | - }; | |
7799 | -} | |
7800 | - | |
7801 | -/** @description response type for postOrderErpUsersDelete */ | |
7802 | -export interface PostOrderErpUsersDeleteResponse { | |
7803 | - /** | |
7804 | - * @description | |
7805 | - * OK | |
7806 | - */ | |
7807 | - 200: ServerResult; | |
7808 | - /** | |
7809 | - * @description | |
7810 | - * Created | |
7811 | - */ | |
7812 | - 201: any; | |
7813 | - /** | |
7814 | - * @description | |
7815 | - * Unauthorized | |
7816 | - */ | |
7817 | - 401: any; | |
7818 | - /** | |
7819 | - * @description | |
7820 | - * Forbidden | |
7821 | - */ | |
7822 | - 403: any; | |
7823 | - /** | |
7824 | - * @description | |
7825 | - * Not Found | |
7826 | - */ | |
7827 | - 404: any; | |
7828 | -} | |
7829 | - | |
7830 | -export type PostOrderErpUsersDeleteResponseSuccess = | |
7831 | - PostOrderErpUsersDeleteResponse[200]; | |
7832 | -/** | |
7833 | - * @description | |
7834 | - * 删除用户 | |
7835 | - * @tags 系统:用户管理 | |
7836 | - * @produces * | |
7837 | - * @consumes application/json | |
7838 | - */ | |
7839 | -export const postOrderErpUsersDelete = /* #__PURE__ */ (() => { | |
7840 | - const method = 'post'; | |
7841 | - const url = '/order/erp/users/delete'; | |
7842 | - function request( | |
7843 | - option: PostOrderErpUsersDeleteOption, | |
7844 | - ): Promise<PostOrderErpUsersDeleteResponseSuccess> { | |
7845 | - return requester(request.url, { | |
7846 | - method: request.method, | |
7847 | - ...option, | |
7848 | - }) as unknown as Promise<PostOrderErpUsersDeleteResponseSuccess>; | |
7849 | - } | |
7850 | - | |
7851 | - /** http method */ | |
7852 | - request.method = method; | |
7853 | - /** request url */ | |
7854 | - request.url = url; | |
7855 | - return request; | |
7856 | -})(); | |
7857 | - | |
7858 | -/** @description request parameter type for postOrderErpUsersEdit */ | |
7859 | -export interface PostOrderErpUsersEditOption { | |
7860 | - /** | |
7861 | - * @description | |
7862 | - * userVO | |
7863 | - */ | |
7864 | - body: { | |
7865 | - /** | |
7866 | - @description | |
7867 | - userVO */ | |
7868 | - userVO: AdminUserVO; | |
7869 | - }; | |
7870 | -} | |
7871 | - | |
7872 | -/** @description response type for postOrderErpUsersEdit */ | |
7873 | -export interface PostOrderErpUsersEditResponse { | |
7874 | - /** | |
7875 | - * @description | |
7876 | - * OK | |
7877 | - */ | |
7878 | - 200: ServerResult; | |
7879 | - /** | |
7880 | - * @description | |
7881 | - * Created | |
7882 | - */ | |
7883 | - 201: any; | |
7884 | - /** | |
7885 | - * @description | |
7886 | - * Unauthorized | |
7887 | - */ | |
7888 | - 401: any; | |
7889 | - /** | |
7890 | - * @description | |
7891 | - * Forbidden | |
7892 | - */ | |
7893 | - 403: any; | |
7894 | - /** | |
7895 | - * @description | |
7896 | - * Not Found | |
7897 | - */ | |
7898 | - 404: any; | |
7899 | -} | |
7900 | - | |
7901 | -export type PostOrderErpUsersEditResponseSuccess = | |
7902 | - PostOrderErpUsersEditResponse[200]; | |
6896 | +export type PostOrderErpOrderStagesUploadResponseSuccess = | |
6897 | + PostOrderErpOrderStagesUploadResponse[200]; | |
7903 | 6898 | /** |
7904 | 6899 | * @description |
7905 | - * 修改用户 | |
7906 | - * @tags 系统:用户管理 | |
6900 | + * 合同文件上传 | |
6901 | + * @tags order-stages-controller | |
7907 | 6902 | * @produces * |
7908 | - * @consumes application/json | |
6903 | + * @consumes multipart/form-data | |
7909 | 6904 | */ |
7910 | -export const postOrderErpUsersEdit = /* #__PURE__ */ (() => { | |
6905 | +export const postOrderErpOrderStagesUpload = /* #__PURE__ */ (() => { | |
7911 | 6906 | const method = 'post'; |
7912 | - const url = '/order/erp/users/edit'; | |
6907 | + const url = '/order/erp/orderStages/upload'; | |
7913 | 6908 | function request( |
7914 | - option: PostOrderErpUsersEditOption, | |
7915 | - ): Promise<PostOrderErpUsersEditResponseSuccess> { | |
6909 | + option: PostOrderErpOrderStagesUploadOption, | |
6910 | + ): Promise<PostOrderErpOrderStagesUploadResponseSuccess> { | |
7916 | 6911 | return requester(request.url, { |
7917 | 6912 | method: request.method, |
7918 | 6913 | ...option, |
7919 | - }) as unknown as Promise<PostOrderErpUsersEditResponseSuccess>; | |
6914 | + }) as unknown as Promise<PostOrderErpOrderStagesUploadResponseSuccess>; | |
7920 | 6915 | } |
7921 | 6916 | |
7922 | 6917 | /** http method */ |
... | ... | @@ -7926,22 +6921,22 @@ export const postOrderErpUsersEdit = /* #__PURE__ */ (() => { |
7926 | 6921 | return request; |
7927 | 6922 | })(); |
7928 | 6923 | |
7929 | -/** @description request parameter type for postOrderErpUsersListByPage */ | |
7930 | -export interface PostOrderErpUsersListByPageOption { | |
6924 | +/** @description request parameter type for postOrderErpOrderStagesPayWaySaveOrUpdate */ | |
6925 | +export interface PostOrderErpOrderStagesPayWaySaveOrUpdateOption { | |
7931 | 6926 | /** |
7932 | 6927 | * @description |
7933 | - * queryVO | |
6928 | + * orderStagesPayWayList | |
7934 | 6929 | */ |
7935 | 6930 | body: { |
7936 | 6931 | /** |
7937 | 6932 | @description |
7938 | - queryVO */ | |
7939 | - queryVO: AdminUserQueryVO; | |
6933 | + orderStagesPayWayList */ | |
6934 | + orderStagesPayWayList: Array<OrderStagesPayWay>; | |
7940 | 6935 | }; |
7941 | 6936 | } |
7942 | 6937 | |
7943 | -/** @description response type for postOrderErpUsersListByPage */ | |
7944 | -export interface PostOrderErpUsersListByPageResponse { | |
6938 | +/** @description response type for postOrderErpOrderStagesPayWaySaveOrUpdate */ | |
6939 | +export interface PostOrderErpOrderStagesPayWaySaveOrUpdateResponse { | |
7945 | 6940 | /** |
7946 | 6941 | * @description |
7947 | 6942 | * OK |
... | ... | @@ -7969,50 +6964,51 @@ export interface PostOrderErpUsersListByPageResponse { |
7969 | 6964 | 404: any; |
7970 | 6965 | } |
7971 | 6966 | |
7972 | -export type PostOrderErpUsersListByPageResponseSuccess = | |
7973 | - PostOrderErpUsersListByPageResponse[200]; | |
6967 | +export type PostOrderErpOrderStagesPayWaySaveOrUpdateResponseSuccess = | |
6968 | + PostOrderErpOrderStagesPayWaySaveOrUpdateResponse[200]; | |
7974 | 6969 | /** |
7975 | 6970 | * @description |
7976 | - * 查询用户 | |
7977 | - * @tags 系统:用户管理 | |
6971 | + * 修改或者保存 | |
6972 | + * @tags order-stages-pay-way-controller | |
7978 | 6973 | * @produces * |
7979 | 6974 | * @consumes application/json |
7980 | 6975 | */ |
7981 | -export const postOrderErpUsersListByPage = /* #__PURE__ */ (() => { | |
7982 | - const method = 'post'; | |
7983 | - const url = '/order/erp/users/list_by_page'; | |
7984 | - function request( | |
7985 | - option: PostOrderErpUsersListByPageOption, | |
7986 | - ): Promise<PostOrderErpUsersListByPageResponseSuccess> { | |
7987 | - return requester(request.url, { | |
7988 | - method: request.method, | |
7989 | - ...option, | |
7990 | - }) as unknown as Promise<PostOrderErpUsersListByPageResponseSuccess>; | |
7991 | - } | |
6976 | +export const postOrderErpOrderStagesPayWaySaveOrUpdate = | |
6977 | + /* #__PURE__ */ (() => { | |
6978 | + const method = 'post'; | |
6979 | + const url = '/order/erp/orderStagesPayWay/saveOrUpdate'; | |
6980 | + function request( | |
6981 | + option: PostOrderErpOrderStagesPayWaySaveOrUpdateOption, | |
6982 | + ): Promise<PostOrderErpOrderStagesPayWaySaveOrUpdateResponseSuccess> { | |
6983 | + return requester(request.url, { | |
6984 | + method: request.method, | |
6985 | + ...option, | |
6986 | + }) as unknown as Promise<PostOrderErpOrderStagesPayWaySaveOrUpdateResponseSuccess>; | |
6987 | + } | |
7992 | 6988 | |
7993 | - /** http method */ | |
7994 | - request.method = method; | |
7995 | - /** request url */ | |
7996 | - request.url = url; | |
7997 | - return request; | |
7998 | -})(); | |
6989 | + /** http method */ | |
6990 | + request.method = method; | |
6991 | + /** request url */ | |
6992 | + request.url = url; | |
6993 | + return request; | |
6994 | + })(); | |
7999 | 6995 | |
8000 | -/** @description request parameter type for postOrderErpUsersReset */ | |
8001 | -export interface PostOrderErpUsersResetOption { | |
6996 | +/** @description request parameter type for postOrderErpOrderStagesPayWaySelect */ | |
6997 | +export interface PostOrderErpOrderStagesPayWaySelectOption { | |
8002 | 6998 | /** |
8003 | 6999 | * @description |
8004 | - * resetPwdVO | |
7000 | + * orderStagesPayWayDo | |
8005 | 7001 | */ |
8006 | 7002 | body: { |
8007 | 7003 | /** |
8008 | 7004 | @description |
8009 | - resetPwdVO */ | |
8010 | - resetPwdVO: ResetPwdVO; | |
7005 | + orderStagesPayWayDo */ | |
7006 | + orderStagesPayWayDo: OrderStagesPayWayDo; | |
8011 | 7007 | }; |
8012 | 7008 | } |
8013 | 7009 | |
8014 | -/** @description response type for postOrderErpUsersReset */ | |
8015 | -export interface PostOrderErpUsersResetResponse { | |
7010 | +/** @description response type for postOrderErpOrderStagesPayWaySelect */ | |
7011 | +export interface PostOrderErpOrderStagesPayWaySelectResponse { | |
8016 | 7012 | /** |
8017 | 7013 | * @description |
8018 | 7014 | * OK |
... | ... | @@ -8040,25 +7036,25 @@ export interface PostOrderErpUsersResetResponse { |
8040 | 7036 | 404: any; |
8041 | 7037 | } |
8042 | 7038 | |
8043 | -export type PostOrderErpUsersResetResponseSuccess = | |
8044 | - PostOrderErpUsersResetResponse[200]; | |
7039 | +export type PostOrderErpOrderStagesPayWaySelectResponseSuccess = | |
7040 | + PostOrderErpOrderStagesPayWaySelectResponse[200]; | |
8045 | 7041 | /** |
8046 | 7042 | * @description |
8047 | - * 重置密码 | |
8048 | - * @tags 系统:用户管理 | |
7043 | + * 查询该的分期比例 | |
7044 | + * @tags order-stages-pay-way-controller | |
8049 | 7045 | * @produces * |
8050 | 7046 | * @consumes application/json |
8051 | 7047 | */ |
8052 | -export const postOrderErpUsersReset = /* #__PURE__ */ (() => { | |
7048 | +export const postOrderErpOrderStagesPayWaySelect = /* #__PURE__ */ (() => { | |
8053 | 7049 | const method = 'post'; |
8054 | - const url = '/order/erp/users/reset'; | |
7050 | + const url = '/order/erp/orderStagesPayWay/select'; | |
8055 | 7051 | function request( |
8056 | - option: PostOrderErpUsersResetOption, | |
8057 | - ): Promise<PostOrderErpUsersResetResponseSuccess> { | |
7052 | + option: PostOrderErpOrderStagesPayWaySelectOption, | |
7053 | + ): Promise<PostOrderErpOrderStagesPayWaySelectResponseSuccess> { | |
8058 | 7054 | return requester(request.url, { |
8059 | 7055 | method: request.method, |
8060 | 7056 | ...option, |
8061 | - }) as unknown as Promise<PostOrderErpUsersResetResponseSuccess>; | |
7057 | + }) as unknown as Promise<PostOrderErpOrderStagesPayWaySelectResponseSuccess>; | |
8062 | 7058 | } |
8063 | 7059 | |
8064 | 7060 | /** http method */ |
... | ... | @@ -8068,22 +7064,22 @@ export const postOrderErpUsersReset = /* #__PURE__ */ (() => { |
8068 | 7064 | return request; |
8069 | 7065 | })(); |
8070 | 7066 | |
8071 | -/** @description request parameter type for postOrderErpUsersUpdatePass */ | |
8072 | -export interface PostOrderErpUsersUpdatePassOption { | |
7067 | +/** @description request parameter type for postOrderErpOrderStagesPayWayUploadForPayWay */ | |
7068 | +export interface PostOrderErpOrderStagesPayWayUploadForPayWayOption { | |
8073 | 7069 | /** |
8074 | 7070 | * @description |
8075 | - * pwdVO | |
7071 | + * orderStagesPayWayFileDo | |
8076 | 7072 | */ |
8077 | 7073 | body: { |
8078 | 7074 | /** |
8079 | 7075 | @description |
8080 | - pwdVO */ | |
8081 | - pwdVO: UpdatePwdVO; | |
7076 | + orderStagesPayWayFileDo */ | |
7077 | + orderStagesPayWayFileDo: OrderStagesPayWayFileDo; | |
8082 | 7078 | }; |
8083 | 7079 | } |
8084 | 7080 | |
8085 | -/** @description response type for postOrderErpUsersUpdatePass */ | |
8086 | -export interface PostOrderErpUsersUpdatePassResponse { | |
7081 | +/** @description response type for postOrderErpOrderStagesPayWayUploadForPayWay */ | |
7082 | +export interface PostOrderErpOrderStagesPayWayUploadForPayWayResponse { | |
8087 | 7083 | /** |
8088 | 7084 | * @description |
8089 | 7085 | * OK |
... | ... | @@ -8111,121 +7107,51 @@ export interface PostOrderErpUsersUpdatePassResponse { |
8111 | 7107 | 404: any; |
8112 | 7108 | } |
8113 | 7109 | |
8114 | -export type PostOrderErpUsersUpdatePassResponseSuccess = | |
8115 | - PostOrderErpUsersUpdatePassResponse[200]; | |
7110 | +export type PostOrderErpOrderStagesPayWayUploadForPayWayResponseSuccess = | |
7111 | + PostOrderErpOrderStagesPayWayUploadForPayWayResponse[200]; | |
8116 | 7112 | /** |
8117 | 7113 | * @description |
8118 | - * 修改密码 | |
8119 | - * @tags 系统:用户管理 | |
7114 | + * 付款合同文件上传 | |
7115 | + * @tags order-stages-pay-way-controller | |
8120 | 7116 | * @produces * |
8121 | 7117 | * @consumes application/json |
8122 | 7118 | */ |
8123 | -export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => { | |
8124 | - const method = 'post'; | |
8125 | - const url = '/order/erp/users/update_pass'; | |
8126 | - function request( | |
8127 | - option: PostOrderErpUsersUpdatePassOption, | |
8128 | - ): Promise<PostOrderErpUsersUpdatePassResponseSuccess> { | |
8129 | - return requester(request.url, { | |
8130 | - method: request.method, | |
8131 | - ...option, | |
8132 | - }) as unknown as Promise<PostOrderErpUsersUpdatePassResponseSuccess>; | |
8133 | - } | |
8134 | - | |
8135 | - /** http method */ | |
8136 | - request.method = method; | |
8137 | - /** request url */ | |
8138 | - request.url = url; | |
8139 | - return request; | |
8140 | -})(); | |
8141 | - | |
8142 | -/** @description request parameter type for postOrderImportImportInvoiceProject */ | |
8143 | -export interface PostOrderImportImportInvoiceProjectOption { | |
8144 | - /** | |
8145 | - * @description | |
8146 | - * file | |
8147 | - */ | |
8148 | - formData: { | |
8149 | - /** | |
8150 | - @description | |
8151 | - file */ | |
8152 | - file: File; | |
8153 | - }; | |
8154 | -} | |
8155 | - | |
8156 | -/** @description response type for postOrderImportImportInvoiceProject */ | |
8157 | -export interface PostOrderImportImportInvoiceProjectResponse { | |
8158 | - /** | |
8159 | - * @description | |
8160 | - * OK | |
8161 | - */ | |
8162 | - 200: ServerResult; | |
8163 | - /** | |
8164 | - * @description | |
8165 | - * Created | |
8166 | - */ | |
8167 | - 201: any; | |
8168 | - /** | |
8169 | - * @description | |
8170 | - * Unauthorized | |
8171 | - */ | |
8172 | - 401: any; | |
8173 | - /** | |
8174 | - * @description | |
8175 | - * Forbidden | |
8176 | - */ | |
8177 | - 403: any; | |
8178 | - /** | |
8179 | - * @description | |
8180 | - * Not Found | |
8181 | - */ | |
8182 | - 404: any; | |
8183 | -} | |
8184 | - | |
8185 | -export type PostOrderImportImportInvoiceProjectResponseSuccess = | |
8186 | - PostOrderImportImportInvoiceProjectResponse[200]; | |
8187 | -/** | |
8188 | - * @description | |
8189 | - * 导入发票项目 | |
8190 | - * @tags 导入 | |
8191 | - * @produces * | |
8192 | - * @consumes multipart/form-data | |
8193 | - */ | |
8194 | -export const postOrderImportImportInvoiceProject = /* #__PURE__ */ (() => { | |
8195 | - const method = 'post'; | |
8196 | - const url = '/order/import/importInvoiceProject'; | |
8197 | - function request( | |
8198 | - option: PostOrderImportImportInvoiceProjectOption, | |
8199 | - ): Promise<PostOrderImportImportInvoiceProjectResponseSuccess> { | |
8200 | - return requester(request.url, { | |
8201 | - method: request.method, | |
8202 | - ...option, | |
8203 | - }) as unknown as Promise<PostOrderImportImportInvoiceProjectResponseSuccess>; | |
8204 | - } | |
7119 | +export const postOrderErpOrderStagesPayWayUploadForPayWay = | |
7120 | + /* #__PURE__ */ (() => { | |
7121 | + const method = 'post'; | |
7122 | + const url = '/order/erp/orderStagesPayWay/uploadForPayWay'; | |
7123 | + function request( | |
7124 | + option: PostOrderErpOrderStagesPayWayUploadForPayWayOption, | |
7125 | + ): Promise<PostOrderErpOrderStagesPayWayUploadForPayWayResponseSuccess> { | |
7126 | + return requester(request.url, { | |
7127 | + method: request.method, | |
7128 | + ...option, | |
7129 | + }) as unknown as Promise<PostOrderErpOrderStagesPayWayUploadForPayWayResponseSuccess>; | |
7130 | + } | |
8205 | 7131 | |
8206 | - /** http method */ | |
8207 | - request.method = method; | |
8208 | - /** request url */ | |
8209 | - request.url = url; | |
8210 | - return request; | |
8211 | -})(); | |
7132 | + /** http method */ | |
7133 | + request.method = method; | |
7134 | + /** request url */ | |
7135 | + request.url = url; | |
7136 | + return request; | |
7137 | + })(); | |
8212 | 7138 | |
8213 | -/** @description request parameter type for postOrderImportImportWeightAndVolume */ | |
8214 | -export interface PostOrderImportImportWeightAndVolumeOption { | |
7139 | +/** @description request parameter type for deleteOrderErpOrderZoNingDelete */ | |
7140 | +export interface DeleteOrderErpOrderZoNingDeleteOption { | |
8215 | 7141 | /** |
8216 | 7142 | * @description |
8217 | - * file | |
7143 | + * id | |
8218 | 7144 | */ |
8219 | - formData: { | |
7145 | + body: { | |
8220 | 7146 | /** |
8221 | 7147 | @description |
8222 | - file */ | |
8223 | - file: File; | |
7148 | + id */ | |
7149 | + id: number; | |
8224 | 7150 | }; |
8225 | 7151 | } |
8226 | 7152 | |
8227 | -/** @description response type for postOrderImportImportWeightAndVolume */ | |
8228 | -export interface PostOrderImportImportWeightAndVolumeResponse { | |
7153 | +/** @description response type for deleteOrderErpOrderZoNingDelete */ | |
7154 | +export interface DeleteOrderErpOrderZoNingDeleteResponse { | |
8229 | 7155 | /** |
8230 | 7156 | * @description |
8231 | 7157 | * OK |
... | ... | @@ -8233,9 +7159,9 @@ export interface PostOrderImportImportWeightAndVolumeResponse { |
8233 | 7159 | 200: ServerResult; |
8234 | 7160 | /** |
8235 | 7161 | * @description |
8236 | - * Created | |
7162 | + * No Content | |
8237 | 7163 | */ |
8238 | - 201: any; | |
7164 | + 204: any; | |
8239 | 7165 | /** |
8240 | 7166 | * @description |
8241 | 7167 | * Unauthorized |
... | ... | @@ -8246,32 +7172,26 @@ export interface PostOrderImportImportWeightAndVolumeResponse { |
8246 | 7172 | * Forbidden |
8247 | 7173 | */ |
8248 | 7174 | 403: any; |
8249 | - /** | |
8250 | - * @description | |
8251 | - * Not Found | |
8252 | - */ | |
8253 | - 404: any; | |
8254 | 7175 | } |
8255 | 7176 | |
8256 | -export type PostOrderImportImportWeightAndVolumeResponseSuccess = | |
8257 | - PostOrderImportImportWeightAndVolumeResponse[200]; | |
7177 | +export type DeleteOrderErpOrderZoNingDeleteResponseSuccess = | |
7178 | + DeleteOrderErpOrderZoNingDeleteResponse[200]; | |
8258 | 7179 | /** |
8259 | 7180 | * @description |
8260 | - * 导入重量和体积 | |
8261 | - * @tags 导入 | |
7181 | + * toDetele | |
7182 | + * @tags order-zo-ning-controller | |
8262 | 7183 | * @produces * |
8263 | - * @consumes multipart/form-data | |
8264 | 7184 | */ |
8265 | -export const postOrderImportImportWeightAndVolume = /* #__PURE__ */ (() => { | |
8266 | - const method = 'post'; | |
8267 | - const url = '/order/import/importWeightAndVolume'; | |
7185 | +export const deleteOrderErpOrderZoNingDelete = /* #__PURE__ */ (() => { | |
7186 | + const method = 'delete'; | |
7187 | + const url = '/order/erp/orderZoNing/delete'; | |
8268 | 7188 | function request( |
8269 | - option: PostOrderImportImportWeightAndVolumeOption, | |
8270 | - ): Promise<PostOrderImportImportWeightAndVolumeResponseSuccess> { | |
7189 | + option: DeleteOrderErpOrderZoNingDeleteOption, | |
7190 | + ): Promise<DeleteOrderErpOrderZoNingDeleteResponseSuccess> { | |
8271 | 7191 | return requester(request.url, { |
8272 | 7192 | method: request.method, |
8273 | 7193 | ...option, |
8274 | - }) as unknown as Promise<PostOrderImportImportWeightAndVolumeResponseSuccess>; | |
7194 | + }) as unknown as Promise<DeleteOrderErpOrderZoNingDeleteResponseSuccess>; | |
8275 | 7195 | } |
8276 | 7196 | |
8277 | 7197 | /** http method */ |
... | ... | @@ -8281,22 +7201,22 @@ export const postOrderImportImportWeightAndVolume = /* #__PURE__ */ (() => { |
8281 | 7201 | return request; |
8282 | 7202 | })(); |
8283 | 7203 | |
8284 | -/** @description request parameter type for postPrepaidAudit */ | |
8285 | -export interface PostPrepaidAuditOption { | |
7204 | +/** @description request parameter type for postOrderErpOrderZoNingSaveOrUpdate */ | |
7205 | +export interface PostOrderErpOrderZoNingSaveOrUpdateOption { | |
8286 | 7206 | /** |
8287 | 7207 | * @description |
8288 | - * request | |
7208 | + * orderZoNingProvinceUserDo | |
8289 | 7209 | */ |
8290 | 7210 | body: { |
8291 | 7211 | /** |
8292 | 7212 | @description |
8293 | - request */ | |
8294 | - request: SalesRechargePrepaymentAuditRequest; | |
7213 | + orderZoNingProvinceUserDo */ | |
7214 | + orderZoNingProvinceUserDo: OrderZoNingProvinceUserDo; | |
8295 | 7215 | }; |
8296 | 7216 | } |
8297 | 7217 | |
8298 | -/** @description response type for postPrepaidAudit */ | |
8299 | -export interface PostPrepaidAuditResponse { | |
7218 | +/** @description response type for postOrderErpOrderZoNingSaveOrUpdate */ | |
7219 | +export interface PostOrderErpOrderZoNingSaveOrUpdateResponse { | |
8300 | 7220 | /** |
8301 | 7221 | * @description |
8302 | 7222 | * OK |
... | ... | @@ -8324,24 +7244,25 @@ export interface PostPrepaidAuditResponse { |
8324 | 7244 | 404: any; |
8325 | 7245 | } |
8326 | 7246 | |
8327 | -export type PostPrepaidAuditResponseSuccess = PostPrepaidAuditResponse[200]; | |
7247 | +export type PostOrderErpOrderZoNingSaveOrUpdateResponseSuccess = | |
7248 | + PostOrderErpOrderZoNingSaveOrUpdateResponse[200]; | |
8328 | 7249 | /** |
8329 | 7250 | * @description |
8330 | - * 财务审核 | |
8331 | - * @tags prepaid-controller | |
7251 | + * update | |
7252 | + * @tags order-zo-ning-controller | |
8332 | 7253 | * @produces * |
8333 | 7254 | * @consumes application/json |
8334 | 7255 | */ |
8335 | -export const postPrepaidAudit = /* #__PURE__ */ (() => { | |
7256 | +export const postOrderErpOrderZoNingSaveOrUpdate = /* #__PURE__ */ (() => { | |
8336 | 7257 | const method = 'post'; |
8337 | - const url = '/prepaid/audit'; | |
7258 | + const url = '/order/erp/orderZoNing/saveOrUpdate'; | |
8338 | 7259 | function request( |
8339 | - option: PostPrepaidAuditOption, | |
8340 | - ): Promise<PostPrepaidAuditResponseSuccess> { | |
7260 | + option: PostOrderErpOrderZoNingSaveOrUpdateOption, | |
7261 | + ): Promise<PostOrderErpOrderZoNingSaveOrUpdateResponseSuccess> { | |
8341 | 7262 | return requester(request.url, { |
8342 | 7263 | method: request.method, |
8343 | 7264 | ...option, |
8344 | - }) as unknown as Promise<PostPrepaidAuditResponseSuccess>; | |
7265 | + }) as unknown as Promise<PostOrderErpOrderZoNingSaveOrUpdateResponseSuccess>; | |
8345 | 7266 | } |
8346 | 7267 | |
8347 | 7268 | /** http method */ |
... | ... | @@ -8351,22 +7272,8 @@ export const postPrepaidAudit = /* #__PURE__ */ (() => { |
8351 | 7272 | return request; |
8352 | 7273 | })(); |
8353 | 7274 | |
8354 | -/** @description request parameter type for postPrepaidCreate */ | |
8355 | -export interface PostPrepaidCreateOption { | |
8356 | - /** | |
8357 | - * @description | |
8358 | - * request | |
8359 | - */ | |
8360 | - body: { | |
8361 | - /** | |
8362 | - @description | |
8363 | - request */ | |
8364 | - request: SalesRechargePrepaymentCreateRequest; | |
8365 | - }; | |
8366 | -} | |
8367 | - | |
8368 | -/** @description response type for postPrepaidCreate */ | |
8369 | -export interface PostPrepaidCreateResponse { | |
7275 | +/** @description response type for getOrderErpOrderZoNingSelectAll */ | |
7276 | +export interface GetOrderErpOrderZoNingSelectAllResponse { | |
8370 | 7277 | /** |
8371 | 7278 | * @description |
8372 | 7279 | * OK |
... | ... | @@ -8374,11 +7281,6 @@ export interface PostPrepaidCreateResponse { |
8374 | 7281 | 200: ServerResult; |
8375 | 7282 | /** |
8376 | 7283 | * @description |
8377 | - * Created | |
8378 | - */ | |
8379 | - 201: any; | |
8380 | - /** | |
8381 | - * @description | |
8382 | 7284 | * Unauthorized |
8383 | 7285 | */ |
8384 | 7286 | 401: any; |
... | ... | @@ -8394,24 +7296,21 @@ export interface PostPrepaidCreateResponse { |
8394 | 7296 | 404: any; |
8395 | 7297 | } |
8396 | 7298 | |
8397 | -export type PostPrepaidCreateResponseSuccess = PostPrepaidCreateResponse[200]; | |
7299 | +export type GetOrderErpOrderZoNingSelectAllResponseSuccess = | |
7300 | + GetOrderErpOrderZoNingSelectAllResponse[200]; | |
8398 | 7301 | /** |
8399 | 7302 | * @description |
8400 | - * 新增预存 | |
8401 | - * @tags prepaid-controller | |
7303 | + * 查询 | |
7304 | + * @tags order-zo-ning-controller | |
8402 | 7305 | * @produces * |
8403 | - * @consumes application/json | |
8404 | 7306 | */ |
8405 | -export const postPrepaidCreate = /* #__PURE__ */ (() => { | |
8406 | - const method = 'post'; | |
8407 | - const url = '/prepaid/create'; | |
8408 | - function request( | |
8409 | - option: PostPrepaidCreateOption, | |
8410 | - ): Promise<PostPrepaidCreateResponseSuccess> { | |
7307 | +export const getOrderErpOrderZoNingSelectAll = /* #__PURE__ */ (() => { | |
7308 | + const method = 'get'; | |
7309 | + const url = '/order/erp/orderZoNing/selectAll'; | |
7310 | + function request(): Promise<GetOrderErpOrderZoNingSelectAllResponseSuccess> { | |
8411 | 7311 | return requester(request.url, { |
8412 | 7312 | method: request.method, |
8413 | - ...option, | |
8414 | - }) as unknown as Promise<PostPrepaidCreateResponseSuccess>; | |
7313 | + }) as unknown as Promise<GetOrderErpOrderZoNingSelectAllResponseSuccess>; | |
8415 | 7314 | } |
8416 | 7315 | |
8417 | 7316 | /** http method */ |
... | ... | @@ -8421,22 +7320,8 @@ export const postPrepaidCreate = /* #__PURE__ */ (() => { |
8421 | 7320 | return request; |
8422 | 7321 | })(); |
8423 | 7322 | |
8424 | -/** @description request parameter type for postPrepaidDelete */ | |
8425 | -export interface PostPrepaidDeleteOption { | |
8426 | - /** | |
8427 | - * @description | |
8428 | - * request | |
8429 | - */ | |
8430 | - body: { | |
8431 | - /** | |
8432 | - @description | |
8433 | - request */ | |
8434 | - request: SalesRechargePrepaymentDeleteRequest; | |
8435 | - }; | |
8436 | -} | |
8437 | - | |
8438 | -/** @description response type for postPrepaidDelete */ | |
8439 | -export interface PostPrepaidDeleteResponse { | |
7323 | +/** @description response type for getOrderErpOrderZoNingSelectProvinceAll */ | |
7324 | +export interface GetOrderErpOrderZoNingSelectProvinceAllResponse { | |
8440 | 7325 | /** |
8441 | 7326 | * @description |
8442 | 7327 | * OK |
... | ... | @@ -8444,11 +7329,6 @@ export interface PostPrepaidDeleteResponse { |
8444 | 7329 | 200: ServerResult; |
8445 | 7330 | /** |
8446 | 7331 | * @description |
8447 | - * Created | |
8448 | - */ | |
8449 | - 201: any; | |
8450 | - /** | |
8451 | - * @description | |
8452 | 7332 | * Unauthorized |
8453 | 7333 | */ |
8454 | 7334 | 401: any; |
... | ... | @@ -8464,24 +7344,21 @@ export interface PostPrepaidDeleteResponse { |
8464 | 7344 | 404: any; |
8465 | 7345 | } |
8466 | 7346 | |
8467 | -export type PostPrepaidDeleteResponseSuccess = PostPrepaidDeleteResponse[200]; | |
7347 | +export type GetOrderErpOrderZoNingSelectProvinceAllResponseSuccess = | |
7348 | + GetOrderErpOrderZoNingSelectProvinceAllResponse[200]; | |
8468 | 7349 | /** |
8469 | 7350 | * @description |
8470 | - * 删除预存 | |
8471 | - * @tags prepaid-controller | |
7351 | + * 查询所有省份 | |
7352 | + * @tags order-zo-ning-controller | |
8472 | 7353 | * @produces * |
8473 | - * @consumes application/json | |
8474 | 7354 | */ |
8475 | -export const postPrepaidDelete = /* #__PURE__ */ (() => { | |
8476 | - const method = 'post'; | |
8477 | - const url = '/prepaid/delete'; | |
8478 | - function request( | |
8479 | - option: PostPrepaidDeleteOption, | |
8480 | - ): Promise<PostPrepaidDeleteResponseSuccess> { | |
7355 | +export const getOrderErpOrderZoNingSelectProvinceAll = /* #__PURE__ */ (() => { | |
7356 | + const method = 'get'; | |
7357 | + const url = '/order/erp/orderZoNing/selectProvinceAll'; | |
7358 | + function request(): Promise<GetOrderErpOrderZoNingSelectProvinceAllResponseSuccess> { | |
8481 | 7359 | return requester(request.url, { |
8482 | 7360 | method: request.method, |
8483 | - ...option, | |
8484 | - }) as unknown as Promise<PostPrepaidDeleteResponseSuccess>; | |
7361 | + }) as unknown as Promise<GetOrderErpOrderZoNingSelectProvinceAllResponseSuccess>; | |
8485 | 7362 | } |
8486 | 7363 | |
8487 | 7364 | /** http method */ |
... | ... | @@ -8491,22 +7368,22 @@ export const postPrepaidDelete = /* #__PURE__ */ (() => { |
8491 | 7368 | return request; |
8492 | 7369 | })(); |
8493 | 7370 | |
8494 | -/** @description request parameter type for postPrepaidList */ | |
8495 | -export interface PostPrepaidListOption { | |
7371 | +/** @description request parameter type for postOrderErpOrderZoNingSelectSaleUserByProvince */ | |
7372 | +export interface PostOrderErpOrderZoNingSelectSaleUserByProvinceOption { | |
8496 | 7373 | /** |
8497 | 7374 | * @description |
8498 | - * request | |
7375 | + * zoning | |
8499 | 7376 | */ |
8500 | 7377 | body: { |
8501 | 7378 | /** |
8502 | 7379 | @description |
8503 | - request */ | |
8504 | - request: SalesRechargePrepaymentRequest; | |
7380 | + zoning */ | |
7381 | + zoning: string; | |
8505 | 7382 | }; |
8506 | 7383 | } |
8507 | 7384 | |
8508 | -/** @description response type for postPrepaidList */ | |
8509 | -export interface PostPrepaidListResponse { | |
7385 | +/** @description response type for postOrderErpOrderZoNingSelectSaleUserByProvince */ | |
7386 | +export interface PostOrderErpOrderZoNingSelectSaleUserByProvinceResponse { | |
8510 | 7387 | /** |
8511 | 7388 | * @description |
8512 | 7389 | * OK |
... | ... | @@ -8534,49 +7411,37 @@ export interface PostPrepaidListResponse { |
8534 | 7411 | 404: any; |
8535 | 7412 | } |
8536 | 7413 | |
8537 | -export type PostPrepaidListResponseSuccess = PostPrepaidListResponse[200]; | |
7414 | +export type PostOrderErpOrderZoNingSelectSaleUserByProvinceResponseSuccess = | |
7415 | + PostOrderErpOrderZoNingSelectSaleUserByProvinceResponse[200]; | |
8538 | 7416 | /** |
8539 | 7417 | * @description |
8540 | - * 查询列表 | |
8541 | - * @tags prepaid-controller | |
7418 | + * 查询出这个大区所包含的销售 | |
7419 | + * @tags order-zo-ning-controller | |
8542 | 7420 | * @produces * |
8543 | 7421 | * @consumes application/json |
8544 | 7422 | */ |
8545 | -export const postPrepaidList = /* #__PURE__ */ (() => { | |
8546 | - const method = 'post'; | |
8547 | - const url = '/prepaid/list'; | |
8548 | - function request( | |
8549 | - option: PostPrepaidListOption, | |
8550 | - ): Promise<PostPrepaidListResponseSuccess> { | |
8551 | - return requester(request.url, { | |
8552 | - method: request.method, | |
8553 | - ...option, | |
8554 | - }) as unknown as Promise<PostPrepaidListResponseSuccess>; | |
8555 | - } | |
8556 | - | |
8557 | - /** http method */ | |
8558 | - request.method = method; | |
8559 | - /** request url */ | |
8560 | - request.url = url; | |
8561 | - return request; | |
8562 | -})(); | |
7423 | +export const postOrderErpOrderZoNingSelectSaleUserByProvince = | |
7424 | + /* #__PURE__ */ (() => { | |
7425 | + const method = 'post'; | |
7426 | + const url = '/order/erp/orderZoNing/selectSaleUserByProvince'; | |
7427 | + function request( | |
7428 | + option: PostOrderErpOrderZoNingSelectSaleUserByProvinceOption, | |
7429 | + ): Promise<PostOrderErpOrderZoNingSelectSaleUserByProvinceResponseSuccess> { | |
7430 | + return requester(request.url, { | |
7431 | + method: request.method, | |
7432 | + ...option, | |
7433 | + }) as unknown as Promise<PostOrderErpOrderZoNingSelectSaleUserByProvinceResponseSuccess>; | |
7434 | + } | |
8563 | 7435 | |
8564 | -/** @description request parameter type for postPrepaidUpdate */ | |
8565 | -export interface PostPrepaidUpdateOption { | |
8566 | - /** | |
8567 | - * @description | |
8568 | - * request | |
8569 | - */ | |
8570 | - body: { | |
8571 | - /** | |
8572 | - @description | |
8573 | - request */ | |
8574 | - request: SalesRechargePrepaymentUpdateRequest; | |
8575 | - }; | |
8576 | -} | |
7436 | + /** http method */ | |
7437 | + request.method = method; | |
7438 | + /** request url */ | |
7439 | + request.url = url; | |
7440 | + return request; | |
7441 | + })(); | |
8577 | 7442 | |
8578 | -/** @description response type for postPrepaidUpdate */ | |
8579 | -export interface PostPrepaidUpdateResponse { | |
7443 | +/** @description response type for getOrderErpOrderZoNingSelectUserAll */ | |
7444 | +export interface GetOrderErpOrderZoNingSelectUserAllResponse { | |
8580 | 7445 | /** |
8581 | 7446 | * @description |
8582 | 7447 | * OK |
... | ... | @@ -8584,11 +7449,6 @@ export interface PostPrepaidUpdateResponse { |
8584 | 7449 | 200: ServerResult; |
8585 | 7450 | /** |
8586 | 7451 | * @description |
8587 | - * Created | |
8588 | - */ | |
8589 | - 201: any; | |
8590 | - /** | |
8591 | - * @description | |
8592 | 7452 | * Unauthorized |
8593 | 7453 | */ |
8594 | 7454 | 401: any; |
... | ... | @@ -8604,24 +7464,21 @@ export interface PostPrepaidUpdateResponse { |
8604 | 7464 | 404: any; |
8605 | 7465 | } |
8606 | 7466 | |
8607 | -export type PostPrepaidUpdateResponseSuccess = PostPrepaidUpdateResponse[200]; | |
7467 | +export type GetOrderErpOrderZoNingSelectUserAllResponseSuccess = | |
7468 | + GetOrderErpOrderZoNingSelectUserAllResponse[200]; | |
8608 | 7469 | /** |
8609 | 7470 | * @description |
8610 | - * 修改预存 | |
8611 | - * @tags prepaid-controller | |
7471 | + * 查询所有销售 | |
7472 | + * @tags order-zo-ning-controller | |
8612 | 7473 | * @produces * |
8613 | - * @consumes application/json | |
8614 | 7474 | */ |
8615 | -export const postPrepaidUpdate = /* #__PURE__ */ (() => { | |
8616 | - const method = 'post'; | |
8617 | - const url = '/prepaid/update'; | |
8618 | - function request( | |
8619 | - option: PostPrepaidUpdateOption, | |
8620 | - ): Promise<PostPrepaidUpdateResponseSuccess> { | |
7475 | +export const getOrderErpOrderZoNingSelectUserAll = /* #__PURE__ */ (() => { | |
7476 | + const method = 'get'; | |
7477 | + const url = '/order/erp/orderZoNing/selectUserAll'; | |
7478 | + function request(): Promise<GetOrderErpOrderZoNingSelectUserAllResponseSuccess> { | |
8621 | 7479 | return requester(request.url, { |
8622 | 7480 | method: request.method, |
8623 | - ...option, | |
8624 | - }) as unknown as Promise<PostPrepaidUpdateResponseSuccess>; | |
7481 | + }) as unknown as Promise<GetOrderErpOrderZoNingSelectUserAllResponseSuccess>; | |
8625 | 7482 | } |
8626 | 7483 | |
8627 | 7484 | /** http method */ |
... | ... | @@ -8631,22 +7488,22 @@ export const postPrepaidUpdate = /* #__PURE__ */ (() => { |
8631 | 7488 | return request; |
8632 | 7489 | })(); |
8633 | 7490 | |
8634 | -/** @description request parameter type for postServiceBankStatementDeleteBankStatement */ | |
8635 | -export interface PostServiceBankStatementDeleteBankStatementOption { | |
7491 | +/** @description request parameter type for postOrderErpProfitAnalysis */ | |
7492 | +export interface PostOrderErpProfitAnalysisOption { | |
8636 | 7493 | /** |
8637 | 7494 | * @description |
8638 | - * dto | |
7495 | + * orderProfitAnalysisVo | |
8639 | 7496 | */ |
8640 | 7497 | body: { |
8641 | 7498 | /** |
8642 | 7499 | @description |
8643 | - dto */ | |
8644 | - dto: Dto; | |
7500 | + orderProfitAnalysisVo */ | |
7501 | + orderProfitAnalysisVo: OrderProfitAnalysisVo; | |
8645 | 7502 | }; |
8646 | 7503 | } |
8647 | 7504 | |
8648 | -/** @description response type for postServiceBankStatementDeleteBankStatement */ | |
8649 | -export interface PostServiceBankStatementDeleteBankStatementResponse { | |
7505 | +/** @description response type for postOrderErpProfitAnalysis */ | |
7506 | +export interface PostOrderErpProfitAnalysisResponse { | |
8650 | 7507 | /** |
8651 | 7508 | * @description |
8652 | 7509 | * OK |
... | ... | @@ -8674,51 +7531,50 @@ export interface PostServiceBankStatementDeleteBankStatementResponse { |
8674 | 7531 | 404: any; |
8675 | 7532 | } |
8676 | 7533 | |
8677 | -export type PostServiceBankStatementDeleteBankStatementResponseSuccess = | |
8678 | - PostServiceBankStatementDeleteBankStatementResponse[200]; | |
7534 | +export type PostOrderErpProfitAnalysisResponseSuccess = | |
7535 | + PostOrderErpProfitAnalysisResponse[200]; | |
8679 | 7536 | /** |
8680 | 7537 | * @description |
8681 | - * 删除银行流水 | |
8682 | - * @tags 银行流水 | |
7538 | + * analysis | |
7539 | + * @tags order-profit-controller | |
8683 | 7540 | * @produces * |
8684 | 7541 | * @consumes application/json |
8685 | 7542 | */ |
8686 | -export const postServiceBankStatementDeleteBankStatement = | |
8687 | - /* #__PURE__ */ (() => { | |
8688 | - const method = 'post'; | |
8689 | - const url = '/service/bankStatement/deleteBankStatement'; | |
8690 | - function request( | |
8691 | - option: PostServiceBankStatementDeleteBankStatementOption, | |
8692 | - ): Promise<PostServiceBankStatementDeleteBankStatementResponseSuccess> { | |
8693 | - return requester(request.url, { | |
8694 | - method: request.method, | |
8695 | - ...option, | |
8696 | - }) as unknown as Promise<PostServiceBankStatementDeleteBankStatementResponseSuccess>; | |
8697 | - } | |
7543 | +export const postOrderErpProfitAnalysis = /* #__PURE__ */ (() => { | |
7544 | + const method = 'post'; | |
7545 | + const url = '/order/erp/profit/analysis'; | |
7546 | + function request( | |
7547 | + option: PostOrderErpProfitAnalysisOption, | |
7548 | + ): Promise<PostOrderErpProfitAnalysisResponseSuccess> { | |
7549 | + return requester(request.url, { | |
7550 | + method: request.method, | |
7551 | + ...option, | |
7552 | + }) as unknown as Promise<PostOrderErpProfitAnalysisResponseSuccess>; | |
7553 | + } | |
8698 | 7554 | |
8699 | - /** http method */ | |
8700 | - request.method = method; | |
8701 | - /** request url */ | |
8702 | - request.url = url; | |
8703 | - return request; | |
8704 | - })(); | |
7555 | + /** http method */ | |
7556 | + request.method = method; | |
7557 | + /** request url */ | |
7558 | + request.url = url; | |
7559 | + return request; | |
7560 | +})(); | |
8705 | 7561 | |
8706 | -/** @description request parameter type for postServiceBankStatementEditBankStatement */ | |
8707 | -export interface PostServiceBankStatementEditBankStatementOption { | |
7562 | +/** @description request parameter type for postOrderErpRolesAdd */ | |
7563 | +export interface PostOrderErpRolesAddOption { | |
8708 | 7564 | /** |
8709 | 7565 | * @description |
8710 | - * dto | |
7566 | + * roleVO | |
8711 | 7567 | */ |
8712 | 7568 | body: { |
8713 | 7569 | /** |
8714 | 7570 | @description |
8715 | - dto */ | |
8716 | - dto: Dto; | |
7571 | + roleVO */ | |
7572 | + roleVO: AdminRoleVO; | |
8717 | 7573 | }; |
8718 | 7574 | } |
8719 | 7575 | |
8720 | -/** @description response type for postServiceBankStatementEditBankStatement */ | |
8721 | -export interface PostServiceBankStatementEditBankStatementResponse { | |
7576 | +/** @description response type for postOrderErpRolesAdd */ | |
7577 | +export interface PostOrderErpRolesAddResponse { | |
8722 | 7578 | /** |
8723 | 7579 | * @description |
8724 | 7580 | * OK |
... | ... | @@ -8746,42 +7602,55 @@ export interface PostServiceBankStatementEditBankStatementResponse { |
8746 | 7602 | 404: any; |
8747 | 7603 | } |
8748 | 7604 | |
8749 | -export type PostServiceBankStatementEditBankStatementResponseSuccess = | |
8750 | - PostServiceBankStatementEditBankStatementResponse[200]; | |
7605 | +export type PostOrderErpRolesAddResponseSuccess = | |
7606 | + PostOrderErpRolesAddResponse[200]; | |
8751 | 7607 | /** |
8752 | 7608 | * @description |
8753 | - * 编辑银行流水 | |
8754 | - * @tags 银行流水 | |
7609 | + * 新增角色 | |
7610 | + * @tags 系统:角色管理 | |
8755 | 7611 | * @produces * |
8756 | 7612 | * @consumes application/json |
8757 | 7613 | */ |
8758 | -export const postServiceBankStatementEditBankStatement = | |
8759 | - /* #__PURE__ */ (() => { | |
8760 | - const method = 'post'; | |
8761 | - const url = '/service/bankStatement/editBankStatement'; | |
8762 | - function request( | |
8763 | - option: PostServiceBankStatementEditBankStatementOption, | |
8764 | - ): Promise<PostServiceBankStatementEditBankStatementResponseSuccess> { | |
8765 | - return requester(request.url, { | |
8766 | - method: request.method, | |
8767 | - ...option, | |
8768 | - }) as unknown as Promise<PostServiceBankStatementEditBankStatementResponseSuccess>; | |
8769 | - } | |
7614 | +export const postOrderErpRolesAdd = /* #__PURE__ */ (() => { | |
7615 | + const method = 'post'; | |
7616 | + const url = '/order/erp/roles/add'; | |
7617 | + function request( | |
7618 | + option: PostOrderErpRolesAddOption, | |
7619 | + ): Promise<PostOrderErpRolesAddResponseSuccess> { | |
7620 | + return requester(request.url, { | |
7621 | + method: request.method, | |
7622 | + ...option, | |
7623 | + }) as unknown as Promise<PostOrderErpRolesAddResponseSuccess>; | |
7624 | + } | |
8770 | 7625 | |
8771 | - /** http method */ | |
8772 | - request.method = method; | |
8773 | - /** request url */ | |
8774 | - request.url = url; | |
8775 | - return request; | |
8776 | - })(); | |
7626 | + /** http method */ | |
7627 | + request.method = method; | |
7628 | + /** request url */ | |
7629 | + request.url = url; | |
7630 | + return request; | |
7631 | +})(); | |
8777 | 7632 | |
8778 | -/** @description response type for postServiceBankStatementExportTemplate */ | |
8779 | -export interface PostServiceBankStatementExportTemplateResponse { | |
7633 | +/** @description request parameter type for postOrderErpRolesAll */ | |
7634 | +export interface PostOrderErpRolesAllOption { | |
7635 | + /** | |
7636 | + * @description | |
7637 | + * queryVO | |
7638 | + */ | |
7639 | + body: { | |
7640 | + /** | |
7641 | + @description | |
7642 | + queryVO */ | |
7643 | + queryVO: AdminRoleQueryVO; | |
7644 | + }; | |
7645 | +} | |
7646 | + | |
7647 | +/** @description response type for postOrderErpRolesAll */ | |
7648 | +export interface PostOrderErpRolesAllResponse { | |
8780 | 7649 | /** |
8781 | 7650 | * @description |
8782 | 7651 | * OK |
8783 | 7652 | */ |
8784 | - 200: any; | |
7653 | + 200: ServerResult; | |
8785 | 7654 | /** |
8786 | 7655 | * @description |
8787 | 7656 | * Created |
... | ... | @@ -8804,22 +7673,25 @@ export interface PostServiceBankStatementExportTemplateResponse { |
8804 | 7673 | 404: any; |
8805 | 7674 | } |
8806 | 7675 | |
8807 | -export type PostServiceBankStatementExportTemplateResponseSuccess = | |
8808 | - PostServiceBankStatementExportTemplateResponse[200]; | |
7676 | +export type PostOrderErpRolesAllResponseSuccess = | |
7677 | + PostOrderErpRolesAllResponse[200]; | |
8809 | 7678 | /** |
8810 | 7679 | * @description |
8811 | - * 下载银行流水模板 | |
8812 | - * @tags 银行流水 | |
7680 | + * 返回全部的角色 | |
7681 | + * @tags 系统:角色管理 | |
8813 | 7682 | * @produces * |
8814 | 7683 | * @consumes application/json |
8815 | 7684 | */ |
8816 | -export const postServiceBankStatementExportTemplate = /* #__PURE__ */ (() => { | |
7685 | +export const postOrderErpRolesAll = /* #__PURE__ */ (() => { | |
8817 | 7686 | const method = 'post'; |
8818 | - const url = '/service/bankStatement/exportTemplate'; | |
8819 | - function request(): Promise<PostServiceBankStatementExportTemplateResponseSuccess> { | |
7687 | + const url = '/order/erp/roles/all'; | |
7688 | + function request( | |
7689 | + option: PostOrderErpRolesAllOption, | |
7690 | + ): Promise<PostOrderErpRolesAllResponseSuccess> { | |
8820 | 7691 | return requester(request.url, { |
8821 | 7692 | method: request.method, |
8822 | - }) as unknown as Promise<PostServiceBankStatementExportTemplateResponseSuccess>; | |
7693 | + ...option, | |
7694 | + }) as unknown as Promise<PostOrderErpRolesAllResponseSuccess>; | |
8823 | 7695 | } |
8824 | 7696 | |
8825 | 7697 | /** http method */ |
... | ... | @@ -8829,22 +7701,22 @@ export const postServiceBankStatementExportTemplate = /* #__PURE__ */ (() => { |
8829 | 7701 | return request; |
8830 | 7702 | })(); |
8831 | 7703 | |
8832 | -/** @description request parameter type for postServiceBankStatementImportBankStatementForm */ | |
8833 | -export interface PostServiceBankStatementImportBankStatementFormOption { | |
7704 | +/** @description request parameter type for postOrderErpRolesAuthMenu */ | |
7705 | +export interface PostOrderErpRolesAuthMenuOption { | |
8834 | 7706 | /** |
8835 | 7707 | * @description |
8836 | - * file | |
7708 | + * roleVO | |
8837 | 7709 | */ |
8838 | - formData: { | |
7710 | + body: { | |
8839 | 7711 | /** |
8840 | 7712 | @description |
8841 | - file */ | |
8842 | - file: File; | |
7713 | + roleVO */ | |
7714 | + roleVO: AdminAuthRoleVO; | |
8843 | 7715 | }; |
8844 | 7716 | } |
8845 | 7717 | |
8846 | -/** @description response type for postServiceBankStatementImportBankStatementForm */ | |
8847 | -export interface PostServiceBankStatementImportBankStatementFormResponse { | |
7718 | +/** @description response type for postOrderErpRolesAuthMenu */ | |
7719 | +export interface PostOrderErpRolesAuthMenuResponse { | |
8848 | 7720 | /** |
8849 | 7721 | * @description |
8850 | 7722 | * OK |
... | ... | @@ -8872,51 +7744,50 @@ export interface PostServiceBankStatementImportBankStatementFormResponse { |
8872 | 7744 | 404: any; |
8873 | 7745 | } |
8874 | 7746 | |
8875 | -export type PostServiceBankStatementImportBankStatementFormResponseSuccess = | |
8876 | - PostServiceBankStatementImportBankStatementFormResponse[200]; | |
7747 | +export type PostOrderErpRolesAuthMenuResponseSuccess = | |
7748 | + PostOrderErpRolesAuthMenuResponse[200]; | |
8877 | 7749 | /** |
8878 | 7750 | * @description |
8879 | - * 导入银行流水表格 | |
8880 | - * @tags 银行流水 | |
7751 | + * 授权角色菜单 | |
7752 | + * @tags 系统:角色管理 | |
8881 | 7753 | * @produces * |
8882 | - * @consumes multipart/form-data | |
7754 | + * @consumes application/json | |
8883 | 7755 | */ |
8884 | -export const postServiceBankStatementImportBankStatementForm = | |
8885 | - /* #__PURE__ */ (() => { | |
8886 | - const method = 'post'; | |
8887 | - const url = '/service/bankStatement/importBankStatementForm'; | |
8888 | - function request( | |
8889 | - option: PostServiceBankStatementImportBankStatementFormOption, | |
8890 | - ): Promise<PostServiceBankStatementImportBankStatementFormResponseSuccess> { | |
8891 | - return requester(request.url, { | |
8892 | - method: request.method, | |
8893 | - ...option, | |
8894 | - }) as unknown as Promise<PostServiceBankStatementImportBankStatementFormResponseSuccess>; | |
8895 | - } | |
7756 | +export const postOrderErpRolesAuthMenu = /* #__PURE__ */ (() => { | |
7757 | + const method = 'post'; | |
7758 | + const url = '/order/erp/roles/auth_menu'; | |
7759 | + function request( | |
7760 | + option: PostOrderErpRolesAuthMenuOption, | |
7761 | + ): Promise<PostOrderErpRolesAuthMenuResponseSuccess> { | |
7762 | + return requester(request.url, { | |
7763 | + method: request.method, | |
7764 | + ...option, | |
7765 | + }) as unknown as Promise<PostOrderErpRolesAuthMenuResponseSuccess>; | |
7766 | + } | |
8896 | 7767 | |
8897 | - /** http method */ | |
8898 | - request.method = method; | |
8899 | - /** request url */ | |
8900 | - request.url = url; | |
8901 | - return request; | |
8902 | - })(); | |
7768 | + /** http method */ | |
7769 | + request.method = method; | |
7770 | + /** request url */ | |
7771 | + request.url = url; | |
7772 | + return request; | |
7773 | +})(); | |
8903 | 7774 | |
8904 | -/** @description request parameter type for postServiceBankStatementQueryBankStatement */ | |
8905 | -export interface PostServiceBankStatementQueryBankStatementOption { | |
7775 | +/** @description request parameter type for postOrderErpRolesDelete */ | |
7776 | +export interface PostOrderErpRolesDeleteOption { | |
8906 | 7777 | /** |
8907 | 7778 | * @description |
8908 | - * dto | |
7779 | + * queryVO | |
8909 | 7780 | */ |
8910 | 7781 | body: { |
8911 | 7782 | /** |
8912 | 7783 | @description |
8913 | - dto */ | |
8914 | - dto: QueryBankStatementDto; | |
7784 | + queryVO */ | |
7785 | + queryVO: AdminRoleQueryVO; | |
8915 | 7786 | }; |
8916 | 7787 | } |
8917 | 7788 | |
8918 | -/** @description response type for postServiceBankStatementQueryBankStatement */ | |
8919 | -export interface PostServiceBankStatementQueryBankStatementResponse { | |
7789 | +/** @description response type for postOrderErpRolesDelete */ | |
7790 | +export interface PostOrderErpRolesDeleteResponse { | |
8920 | 7791 | /** |
8921 | 7792 | * @description |
8922 | 7793 | * OK |
... | ... | @@ -8944,37 +7815,50 @@ export interface PostServiceBankStatementQueryBankStatementResponse { |
8944 | 7815 | 404: any; |
8945 | 7816 | } |
8946 | 7817 | |
8947 | -export type PostServiceBankStatementQueryBankStatementResponseSuccess = | |
8948 | - PostServiceBankStatementQueryBankStatementResponse[200]; | |
7818 | +export type PostOrderErpRolesDeleteResponseSuccess = | |
7819 | + PostOrderErpRolesDeleteResponse[200]; | |
8949 | 7820 | /** |
8950 | 7821 | * @description |
8951 | - * 查询银行流水 | |
8952 | - * @tags 银行流水 | |
7822 | + * 删除角色 | |
7823 | + * @tags 系统:角色管理 | |
8953 | 7824 | * @produces * |
8954 | 7825 | * @consumes application/json |
8955 | 7826 | */ |
8956 | -export const postServiceBankStatementQueryBankStatement = | |
8957 | - /* #__PURE__ */ (() => { | |
8958 | - const method = 'post'; | |
8959 | - const url = '/service/bankStatement/queryBankStatement'; | |
8960 | - function request( | |
8961 | - option: PostServiceBankStatementQueryBankStatementOption, | |
8962 | - ): Promise<PostServiceBankStatementQueryBankStatementResponseSuccess> { | |
8963 | - return requester(request.url, { | |
8964 | - method: request.method, | |
8965 | - ...option, | |
8966 | - }) as unknown as Promise<PostServiceBankStatementQueryBankStatementResponseSuccess>; | |
8967 | - } | |
7827 | +export const postOrderErpRolesDelete = /* #__PURE__ */ (() => { | |
7828 | + const method = 'post'; | |
7829 | + const url = '/order/erp/roles/delete'; | |
7830 | + function request( | |
7831 | + option: PostOrderErpRolesDeleteOption, | |
7832 | + ): Promise<PostOrderErpRolesDeleteResponseSuccess> { | |
7833 | + return requester(request.url, { | |
7834 | + method: request.method, | |
7835 | + ...option, | |
7836 | + }) as unknown as Promise<PostOrderErpRolesDeleteResponseSuccess>; | |
7837 | + } | |
8968 | 7838 | |
8969 | - /** http method */ | |
8970 | - request.method = method; | |
8971 | - /** request url */ | |
8972 | - request.url = url; | |
8973 | - return request; | |
8974 | - })(); | |
7839 | + /** http method */ | |
7840 | + request.method = method; | |
7841 | + /** request url */ | |
7842 | + request.url = url; | |
7843 | + return request; | |
7844 | +})(); | |
7845 | + | |
7846 | +/** @description request parameter type for postOrderErpRolesDetail */ | |
7847 | +export interface PostOrderErpRolesDetailOption { | |
7848 | + /** | |
7849 | + * @description | |
7850 | + * queryVO | |
7851 | + */ | |
7852 | + body: { | |
7853 | + /** | |
7854 | + @description | |
7855 | + queryVO */ | |
7856 | + queryVO: AdminRoleQueryVO; | |
7857 | + }; | |
7858 | +} | |
8975 | 7859 | |
8976 | -/** @description response type for postServiceConstAfterInvoicingInvoiceRecordStatus */ | |
8977 | -export interface PostServiceConstAfterInvoicingInvoiceRecordStatusResponse { | |
7860 | +/** @description response type for postOrderErpRolesDetail */ | |
7861 | +export interface PostOrderErpRolesDetailResponse { | |
8978 | 7862 | /** |
8979 | 7863 | * @description |
8980 | 7864 | * OK |
... | ... | @@ -9002,34 +7886,50 @@ export interface PostServiceConstAfterInvoicingInvoiceRecordStatusResponse { |
9002 | 7886 | 404: any; |
9003 | 7887 | } |
9004 | 7888 | |
9005 | -export type PostServiceConstAfterInvoicingInvoiceRecordStatusResponseSuccess = | |
9006 | - PostServiceConstAfterInvoicingInvoiceRecordStatusResponse[200]; | |
7889 | +export type PostOrderErpRolesDetailResponseSuccess = | |
7890 | + PostOrderErpRolesDetailResponse[200]; | |
9007 | 7891 | /** |
9008 | 7892 | * @description |
9009 | - * 开票后的开票记录状态 | |
9010 | - * @tags front-const-controller | |
7893 | + * 获取单个role | |
7894 | + * @tags 系统:角色管理 | |
9011 | 7895 | * @produces * |
9012 | 7896 | * @consumes application/json |
9013 | 7897 | */ |
9014 | -export const postServiceConstAfterInvoicingInvoiceRecordStatus = | |
9015 | - /* #__PURE__ */ (() => { | |
9016 | - const method = 'post'; | |
9017 | - const url = '/service/const/afterInvoicingInvoiceRecordStatus'; | |
9018 | - function request(): Promise<PostServiceConstAfterInvoicingInvoiceRecordStatusResponseSuccess> { | |
9019 | - return requester(request.url, { | |
9020 | - method: request.method, | |
9021 | - }) as unknown as Promise<PostServiceConstAfterInvoicingInvoiceRecordStatusResponseSuccess>; | |
9022 | - } | |
7898 | +export const postOrderErpRolesDetail = /* #__PURE__ */ (() => { | |
7899 | + const method = 'post'; | |
7900 | + const url = '/order/erp/roles/detail'; | |
7901 | + function request( | |
7902 | + option: PostOrderErpRolesDetailOption, | |
7903 | + ): Promise<PostOrderErpRolesDetailResponseSuccess> { | |
7904 | + return requester(request.url, { | |
7905 | + method: request.method, | |
7906 | + ...option, | |
7907 | + }) as unknown as Promise<PostOrderErpRolesDetailResponseSuccess>; | |
7908 | + } | |
9023 | 7909 | |
9024 | - /** http method */ | |
9025 | - request.method = method; | |
9026 | - /** request url */ | |
9027 | - request.url = url; | |
9028 | - return request; | |
9029 | - })(); | |
7910 | + /** http method */ | |
7911 | + request.method = method; | |
7912 | + /** request url */ | |
7913 | + request.url = url; | |
7914 | + return request; | |
7915 | +})(); | |
7916 | + | |
7917 | +/** @description request parameter type for postOrderErpRolesEdit */ | |
7918 | +export interface PostOrderErpRolesEditOption { | |
7919 | + /** | |
7920 | + * @description | |
7921 | + * roleVO | |
7922 | + */ | |
7923 | + body: { | |
7924 | + /** | |
7925 | + @description | |
7926 | + roleVO */ | |
7927 | + roleVO: AdminRoleVO; | |
7928 | + }; | |
7929 | +} | |
9030 | 7930 | |
9031 | -/** @description response type for postServiceConstAfterInvoicingStatus */ | |
9032 | -export interface PostServiceConstAfterInvoicingStatusResponse { | |
7931 | +/** @description response type for postOrderErpRolesEdit */ | |
7932 | +export interface PostOrderErpRolesEditResponse { | |
9033 | 7933 | /** |
9034 | 7934 | * @description |
9035 | 7935 | * OK |
... | ... | @@ -9057,22 +7957,25 @@ export interface PostServiceConstAfterInvoicingStatusResponse { |
9057 | 7957 | 404: any; |
9058 | 7958 | } |
9059 | 7959 | |
9060 | -export type PostServiceConstAfterInvoicingStatusResponseSuccess = | |
9061 | - PostServiceConstAfterInvoicingStatusResponse[200]; | |
7960 | +export type PostOrderErpRolesEditResponseSuccess = | |
7961 | + PostOrderErpRolesEditResponse[200]; | |
9062 | 7962 | /** |
9063 | 7963 | * @description |
9064 | - * 申请开票后状态 | |
9065 | - * @tags front-const-controller | |
7964 | + * 修改角色 | |
7965 | + * @tags 系统:角色管理 | |
9066 | 7966 | * @produces * |
9067 | 7967 | * @consumes application/json |
9068 | 7968 | */ |
9069 | -export const postServiceConstAfterInvoicingStatus = /* #__PURE__ */ (() => { | |
7969 | +export const postOrderErpRolesEdit = /* #__PURE__ */ (() => { | |
9070 | 7970 | const method = 'post'; |
9071 | - const url = '/service/const/afterInvoicingStatus'; | |
9072 | - function request(): Promise<PostServiceConstAfterInvoicingStatusResponseSuccess> { | |
7971 | + const url = '/order/erp/roles/edit'; | |
7972 | + function request( | |
7973 | + option: PostOrderErpRolesEditOption, | |
7974 | + ): Promise<PostOrderErpRolesEditResponseSuccess> { | |
9073 | 7975 | return requester(request.url, { |
9074 | 7976 | method: request.method, |
9075 | - }) as unknown as Promise<PostServiceConstAfterInvoicingStatusResponseSuccess>; | |
7977 | + ...option, | |
7978 | + }) as unknown as Promise<PostOrderErpRolesEditResponseSuccess>; | |
9076 | 7979 | } |
9077 | 7980 | |
9078 | 7981 | /** http method */ |
... | ... | @@ -9082,8 +7985,22 @@ export const postServiceConstAfterInvoicingStatus = /* #__PURE__ */ (() => { |
9082 | 7985 | return request; |
9083 | 7986 | })(); |
9084 | 7987 | |
9085 | -/** @description response type for postServiceConstBeforeInvoicingInvoiceRecordStatus */ | |
9086 | -export interface PostServiceConstBeforeInvoicingInvoiceRecordStatusResponse { | |
7988 | +/** @description request parameter type for postOrderErpRolesListByPage */ | |
7989 | +export interface PostOrderErpRolesListByPageOption { | |
7990 | + /** | |
7991 | + * @description | |
7992 | + * queryVO | |
7993 | + */ | |
7994 | + body: { | |
7995 | + /** | |
7996 | + @description | |
7997 | + queryVO */ | |
7998 | + queryVO: AdminRoleQueryVO; | |
7999 | + }; | |
8000 | +} | |
8001 | + | |
8002 | +/** @description response type for postOrderErpRolesListByPage */ | |
8003 | +export interface PostOrderErpRolesListByPageResponse { | |
9087 | 8004 | /** |
9088 | 8005 | * @description |
9089 | 8006 | * OK |
... | ... | @@ -9111,34 +8028,50 @@ export interface PostServiceConstBeforeInvoicingInvoiceRecordStatusResponse { |
9111 | 8028 | 404: any; |
9112 | 8029 | } |
9113 | 8030 | |
9114 | -export type PostServiceConstBeforeInvoicingInvoiceRecordStatusResponseSuccess = | |
9115 | - PostServiceConstBeforeInvoicingInvoiceRecordStatusResponse[200]; | |
8031 | +export type PostOrderErpRolesListByPageResponseSuccess = | |
8032 | + PostOrderErpRolesListByPageResponse[200]; | |
9116 | 8033 | /** |
9117 | 8034 | * @description |
9118 | - * 开票前的开票记录状态 | |
9119 | - * @tags front-const-controller | |
8035 | + * 查询角色 | |
8036 | + * @tags 系统:角色管理 | |
9120 | 8037 | * @produces * |
9121 | 8038 | * @consumes application/json |
9122 | 8039 | */ |
9123 | -export const postServiceConstBeforeInvoicingInvoiceRecordStatus = | |
9124 | - /* #__PURE__ */ (() => { | |
9125 | - const method = 'post'; | |
9126 | - const url = '/service/const/beforeInvoicingInvoiceRecordStatus'; | |
9127 | - function request(): Promise<PostServiceConstBeforeInvoicingInvoiceRecordStatusResponseSuccess> { | |
9128 | - return requester(request.url, { | |
9129 | - method: request.method, | |
9130 | - }) as unknown as Promise<PostServiceConstBeforeInvoicingInvoiceRecordStatusResponseSuccess>; | |
9131 | - } | |
8040 | +export const postOrderErpRolesListByPage = /* #__PURE__ */ (() => { | |
8041 | + const method = 'post'; | |
8042 | + const url = '/order/erp/roles/list_by_page'; | |
8043 | + function request( | |
8044 | + option: PostOrderErpRolesListByPageOption, | |
8045 | + ): Promise<PostOrderErpRolesListByPageResponseSuccess> { | |
8046 | + return requester(request.url, { | |
8047 | + method: request.method, | |
8048 | + ...option, | |
8049 | + }) as unknown as Promise<PostOrderErpRolesListByPageResponseSuccess>; | |
8050 | + } | |
9132 | 8051 | |
9133 | - /** http method */ | |
9134 | - request.method = method; | |
9135 | - /** request url */ | |
9136 | - request.url = url; | |
9137 | - return request; | |
9138 | - })(); | |
8052 | + /** http method */ | |
8053 | + request.method = method; | |
8054 | + /** request url */ | |
8055 | + request.url = url; | |
8056 | + return request; | |
8057 | +})(); | |
8058 | + | |
8059 | +/** @description request parameter type for postOrderErpUsersAdd */ | |
8060 | +export interface PostOrderErpUsersAddOption { | |
8061 | + /** | |
8062 | + * @description | |
8063 | + * userVO | |
8064 | + */ | |
8065 | + body: { | |
8066 | + /** | |
8067 | + @description | |
8068 | + userVO */ | |
8069 | + userVO: AdminUserVO; | |
8070 | + }; | |
8071 | +} | |
9139 | 8072 | |
9140 | -/** @description response type for postServiceConstCanApplyAfterInvoicingStatus */ | |
9141 | -export interface PostServiceConstCanApplyAfterInvoicingStatusResponse { | |
8073 | +/** @description response type for postOrderErpUsersAdd */ | |
8074 | +export interface PostOrderErpUsersAddResponse { | |
9142 | 8075 | /** |
9143 | 8076 | * @description |
9144 | 8077 | * OK |
... | ... | @@ -9166,34 +8099,50 @@ export interface PostServiceConstCanApplyAfterInvoicingStatusResponse { |
9166 | 8099 | 404: any; |
9167 | 8100 | } |
9168 | 8101 | |
9169 | -export type PostServiceConstCanApplyAfterInvoicingStatusResponseSuccess = | |
9170 | - PostServiceConstCanApplyAfterInvoicingStatusResponse[200]; | |
8102 | +export type PostOrderErpUsersAddResponseSuccess = | |
8103 | + PostOrderErpUsersAddResponse[200]; | |
9171 | 8104 | /** |
9172 | 8105 | * @description |
9173 | - * 开具类型 | |
9174 | - * @tags front-const-controller | |
8106 | + * 新增用户 | |
8107 | + * @tags 系统:用户管理 | |
9175 | 8108 | * @produces * |
9176 | 8109 | * @consumes application/json |
9177 | 8110 | */ |
9178 | -export const postServiceConstCanApplyAfterInvoicingStatus = | |
9179 | - /* #__PURE__ */ (() => { | |
9180 | - const method = 'post'; | |
9181 | - const url = '/service/const/canApplyAfterInvoicingStatus'; | |
9182 | - function request(): Promise<PostServiceConstCanApplyAfterInvoicingStatusResponseSuccess> { | |
9183 | - return requester(request.url, { | |
9184 | - method: request.method, | |
9185 | - }) as unknown as Promise<PostServiceConstCanApplyAfterInvoicingStatusResponseSuccess>; | |
9186 | - } | |
8111 | +export const postOrderErpUsersAdd = /* #__PURE__ */ (() => { | |
8112 | + const method = 'post'; | |
8113 | + const url = '/order/erp/users/add'; | |
8114 | + function request( | |
8115 | + option: PostOrderErpUsersAddOption, | |
8116 | + ): Promise<PostOrderErpUsersAddResponseSuccess> { | |
8117 | + return requester(request.url, { | |
8118 | + method: request.method, | |
8119 | + ...option, | |
8120 | + }) as unknown as Promise<PostOrderErpUsersAddResponseSuccess>; | |
8121 | + } | |
9187 | 8122 | |
9188 | - /** http method */ | |
9189 | - request.method = method; | |
9190 | - /** request url */ | |
9191 | - request.url = url; | |
9192 | - return request; | |
9193 | - })(); | |
8123 | + /** http method */ | |
8124 | + request.method = method; | |
8125 | + /** request url */ | |
8126 | + request.url = url; | |
8127 | + return request; | |
8128 | +})(); | |
8129 | + | |
8130 | +/** @description request parameter type for postOrderErpUsersAuthRole */ | |
8131 | +export interface PostOrderErpUsersAuthRoleOption { | |
8132 | + /** | |
8133 | + * @description | |
8134 | + * userVO | |
8135 | + */ | |
8136 | + body: { | |
8137 | + /** | |
8138 | + @description | |
8139 | + userVO */ | |
8140 | + userVO: AdminAuthUserVO; | |
8141 | + }; | |
8142 | +} | |
9194 | 8143 | |
9195 | -/** @description response type for postServiceConstGetPayeeEnum */ | |
9196 | -export interface PostServiceConstGetPayeeEnumResponse { | |
8144 | +/** @description response type for postOrderErpUsersAuthRole */ | |
8145 | +export interface PostOrderErpUsersAuthRoleResponse { | |
9197 | 8146 | /** |
9198 | 8147 | * @description |
9199 | 8148 | * OK |
... | ... | @@ -9221,22 +8170,25 @@ export interface PostServiceConstGetPayeeEnumResponse { |
9221 | 8170 | 404: any; |
9222 | 8171 | } |
9223 | 8172 | |
9224 | -export type PostServiceConstGetPayeeEnumResponseSuccess = | |
9225 | - PostServiceConstGetPayeeEnumResponse[200]; | |
8173 | +export type PostOrderErpUsersAuthRoleResponseSuccess = | |
8174 | + PostOrderErpUsersAuthRoleResponse[200]; | |
9226 | 8175 | /** |
9227 | 8176 | * @description |
9228 | - * 获取收款方 | |
9229 | - * @tags front-const-controller | |
8177 | + * 授权角色 | |
8178 | + * @tags 系统:用户管理 | |
9230 | 8179 | * @produces * |
9231 | 8180 | * @consumes application/json |
9232 | 8181 | */ |
9233 | -export const postServiceConstGetPayeeEnum = /* #__PURE__ */ (() => { | |
8182 | +export const postOrderErpUsersAuthRole = /* #__PURE__ */ (() => { | |
9234 | 8183 | const method = 'post'; |
9235 | - const url = '/service/const/getPayeeEnum'; | |
9236 | - function request(): Promise<PostServiceConstGetPayeeEnumResponseSuccess> { | |
8184 | + const url = '/order/erp/users/auth_role'; | |
8185 | + function request( | |
8186 | + option: PostOrderErpUsersAuthRoleOption, | |
8187 | + ): Promise<PostOrderErpUsersAuthRoleResponseSuccess> { | |
9237 | 8188 | return requester(request.url, { |
9238 | 8189 | method: request.method, |
9239 | - }) as unknown as Promise<PostServiceConstGetPayeeEnumResponseSuccess>; | |
8190 | + ...option, | |
8191 | + }) as unknown as Promise<PostOrderErpUsersAuthRoleResponseSuccess>; | |
9240 | 8192 | } |
9241 | 8193 | |
9242 | 8194 | /** http method */ |
... | ... | @@ -9246,8 +8198,22 @@ export const postServiceConstGetPayeeEnum = /* #__PURE__ */ (() => { |
9246 | 8198 | return request; |
9247 | 8199 | })(); |
9248 | 8200 | |
9249 | -/** @description response type for postServiceConstInvoiceType */ | |
9250 | -export interface PostServiceConstInvoiceTypeResponse { | |
8201 | +/** @description request parameter type for postOrderErpUsersDelete */ | |
8202 | +export interface PostOrderErpUsersDeleteOption { | |
8203 | + /** | |
8204 | + * @description | |
8205 | + * queryVO | |
8206 | + */ | |
8207 | + body: { | |
8208 | + /** | |
8209 | + @description | |
8210 | + queryVO */ | |
8211 | + queryVO: AdminUserQueryVO; | |
8212 | + }; | |
8213 | +} | |
8214 | + | |
8215 | +/** @description response type for postOrderErpUsersDelete */ | |
8216 | +export interface PostOrderErpUsersDeleteResponse { | |
9251 | 8217 | /** |
9252 | 8218 | * @description |
9253 | 8219 | * OK |
... | ... | @@ -9275,22 +8241,25 @@ export interface PostServiceConstInvoiceTypeResponse { |
9275 | 8241 | 404: any; |
9276 | 8242 | } |
9277 | 8243 | |
9278 | -export type PostServiceConstInvoiceTypeResponseSuccess = | |
9279 | - PostServiceConstInvoiceTypeResponse[200]; | |
8244 | +export type PostOrderErpUsersDeleteResponseSuccess = | |
8245 | + PostOrderErpUsersDeleteResponse[200]; | |
9280 | 8246 | /** |
9281 | 8247 | * @description |
9282 | - * 发票类型 | |
9283 | - * @tags front-const-controller | |
8248 | + * 删除用户 | |
8249 | + * @tags 系统:用户管理 | |
9284 | 8250 | * @produces * |
9285 | 8251 | * @consumes application/json |
9286 | 8252 | */ |
9287 | -export const postServiceConstInvoiceType = /* #__PURE__ */ (() => { | |
8253 | +export const postOrderErpUsersDelete = /* #__PURE__ */ (() => { | |
9288 | 8254 | const method = 'post'; |
9289 | - const url = '/service/const/invoiceType'; | |
9290 | - function request(): Promise<PostServiceConstInvoiceTypeResponseSuccess> { | |
8255 | + const url = '/order/erp/users/delete'; | |
8256 | + function request( | |
8257 | + option: PostOrderErpUsersDeleteOption, | |
8258 | + ): Promise<PostOrderErpUsersDeleteResponseSuccess> { | |
9291 | 8259 | return requester(request.url, { |
9292 | 8260 | method: request.method, |
9293 | - }) as unknown as Promise<PostServiceConstInvoiceTypeResponseSuccess>; | |
8261 | + ...option, | |
8262 | + }) as unknown as Promise<PostOrderErpUsersDeleteResponseSuccess>; | |
9294 | 8263 | } |
9295 | 8264 | |
9296 | 8265 | /** http method */ |
... | ... | @@ -9300,8 +8269,22 @@ export const postServiceConstInvoiceType = /* #__PURE__ */ (() => { |
9300 | 8269 | return request; |
9301 | 8270 | })(); |
9302 | 8271 | |
9303 | -/** @description response type for postServiceConstInvoicingType */ | |
9304 | -export interface PostServiceConstInvoicingTypeResponse { | |
8272 | +/** @description request parameter type for postOrderErpUsersEdit */ | |
8273 | +export interface PostOrderErpUsersEditOption { | |
8274 | + /** | |
8275 | + * @description | |
8276 | + * userVO | |
8277 | + */ | |
8278 | + body: { | |
8279 | + /** | |
8280 | + @description | |
8281 | + userVO */ | |
8282 | + userVO: AdminUserVO; | |
8283 | + }; | |
8284 | +} | |
8285 | + | |
8286 | +/** @description response type for postOrderErpUsersEdit */ | |
8287 | +export interface PostOrderErpUsersEditResponse { | |
9305 | 8288 | /** |
9306 | 8289 | * @description |
9307 | 8290 | * OK |
... | ... | @@ -9329,22 +8312,25 @@ export interface PostServiceConstInvoicingTypeResponse { |
9329 | 8312 | 404: any; |
9330 | 8313 | } |
9331 | 8314 | |
9332 | -export type PostServiceConstInvoicingTypeResponseSuccess = | |
9333 | - PostServiceConstInvoicingTypeResponse[200]; | |
8315 | +export type PostOrderErpUsersEditResponseSuccess = | |
8316 | + PostOrderErpUsersEditResponse[200]; | |
9334 | 8317 | /** |
9335 | 8318 | * @description |
9336 | - * 开具类型 | |
9337 | - * @tags front-const-controller | |
8319 | + * 修改用户 | |
8320 | + * @tags 系统:用户管理 | |
9338 | 8321 | * @produces * |
9339 | 8322 | * @consumes application/json |
9340 | 8323 | */ |
9341 | -export const postServiceConstInvoicingType = /* #__PURE__ */ (() => { | |
8324 | +export const postOrderErpUsersEdit = /* #__PURE__ */ (() => { | |
9342 | 8325 | const method = 'post'; |
9343 | - const url = '/service/const/invoicingType'; | |
9344 | - function request(): Promise<PostServiceConstInvoicingTypeResponseSuccess> { | |
8326 | + const url = '/order/erp/users/edit'; | |
8327 | + function request( | |
8328 | + option: PostOrderErpUsersEditOption, | |
8329 | + ): Promise<PostOrderErpUsersEditResponseSuccess> { | |
9345 | 8330 | return requester(request.url, { |
9346 | 8331 | method: request.method, |
9347 | - }) as unknown as Promise<PostServiceConstInvoicingTypeResponseSuccess>; | |
8332 | + ...option, | |
8333 | + }) as unknown as Promise<PostOrderErpUsersEditResponseSuccess>; | |
9348 | 8334 | } |
9349 | 8335 | |
9350 | 8336 | /** http method */ |
... | ... | @@ -9354,22 +8340,22 @@ export const postServiceConstInvoicingType = /* #__PURE__ */ (() => { |
9354 | 8340 | return request; |
9355 | 8341 | })(); |
9356 | 8342 | |
9357 | -/** @description request parameter type for postServiceConstListInvoiceDetailNames */ | |
9358 | -export interface PostServiceConstListInvoiceDetailNamesOption { | |
8343 | +/** @description request parameter type for postOrderErpUsersListByPage */ | |
8344 | +export interface PostOrderErpUsersListByPageOption { | |
9359 | 8345 | /** |
9360 | 8346 | * @description |
9361 | - * queryInvoiceProjectDto | |
8347 | + * queryVO | |
9362 | 8348 | */ |
9363 | 8349 | body: { |
9364 | 8350 | /** |
9365 | 8351 | @description |
9366 | - queryInvoiceProjectDto */ | |
9367 | - queryInvoiceProjectDto: QueryInvoiceProjectDto; | |
8352 | + queryVO */ | |
8353 | + queryVO: AdminUserQueryVO; | |
9368 | 8354 | }; |
9369 | 8355 | } |
9370 | 8356 | |
9371 | -/** @description response type for postServiceConstListInvoiceDetailNames */ | |
9372 | -export interface PostServiceConstListInvoiceDetailNamesResponse { | |
8357 | +/** @description response type for postOrderErpUsersListByPage */ | |
8358 | +export interface PostOrderErpUsersListByPageResponse { | |
9373 | 8359 | /** |
9374 | 8360 | * @description |
9375 | 8361 | * OK |
... | ... | @@ -9397,25 +8383,25 @@ export interface PostServiceConstListInvoiceDetailNamesResponse { |
9397 | 8383 | 404: any; |
9398 | 8384 | } |
9399 | 8385 | |
9400 | -export type PostServiceConstListInvoiceDetailNamesResponseSuccess = | |
9401 | - PostServiceConstListInvoiceDetailNamesResponse[200]; | |
8386 | +export type PostOrderErpUsersListByPageResponseSuccess = | |
8387 | + PostOrderErpUsersListByPageResponse[200]; | |
9402 | 8388 | /** |
9403 | 8389 | * @description |
9404 | - * 根据公司名获取收款方 | |
9405 | - * @tags front-const-controller | |
8390 | + * 查询用户 | |
8391 | + * @tags 系统:用户管理 | |
9406 | 8392 | * @produces * |
9407 | 8393 | * @consumes application/json |
9408 | 8394 | */ |
9409 | -export const postServiceConstListInvoiceDetailNames = /* #__PURE__ */ (() => { | |
8395 | +export const postOrderErpUsersListByPage = /* #__PURE__ */ (() => { | |
9410 | 8396 | const method = 'post'; |
9411 | - const url = '/service/const/listInvoiceDetailNames'; | |
8397 | + const url = '/order/erp/users/list_by_page'; | |
9412 | 8398 | function request( |
9413 | - option: PostServiceConstListInvoiceDetailNamesOption, | |
9414 | - ): Promise<PostServiceConstListInvoiceDetailNamesResponseSuccess> { | |
8399 | + option: PostOrderErpUsersListByPageOption, | |
8400 | + ): Promise<PostOrderErpUsersListByPageResponseSuccess> { | |
9415 | 8401 | return requester(request.url, { |
9416 | 8402 | method: request.method, |
9417 | 8403 | ...option, |
9418 | - }) as unknown as Promise<PostServiceConstListInvoiceDetailNamesResponseSuccess>; | |
8404 | + }) as unknown as Promise<PostOrderErpUsersListByPageResponseSuccess>; | |
9419 | 8405 | } |
9420 | 8406 | |
9421 | 8407 | /** http method */ |
... | ... | @@ -9425,91 +8411,32 @@ export const postServiceConstListInvoiceDetailNames = /* #__PURE__ */ (() => { |
9425 | 8411 | return request; |
9426 | 8412 | })(); |
9427 | 8413 | |
9428 | -/** @description response type for postServiceConstNotCanModifyInvoiceRecordStatus */ | |
9429 | -export interface PostServiceConstNotCanModifyInvoiceRecordStatusResponse { | |
9430 | - /** | |
9431 | - * @description | |
9432 | - * OK | |
9433 | - */ | |
9434 | - 200: ServerResult; | |
9435 | - /** | |
9436 | - * @description | |
9437 | - * Created | |
9438 | - */ | |
9439 | - 201: any; | |
9440 | - /** | |
9441 | - * @description | |
9442 | - * Unauthorized | |
9443 | - */ | |
9444 | - 401: any; | |
9445 | - /** | |
9446 | - * @description | |
9447 | - * Forbidden | |
9448 | - */ | |
9449 | - 403: any; | |
8414 | +/** @description request parameter type for postOrderErpUsersReset */ | |
8415 | +export interface PostOrderErpUsersResetOption { | |
9450 | 8416 | /** |
9451 | 8417 | * @description |
9452 | - * Not Found | |
8418 | + * resetPwdVO | |
9453 | 8419 | */ |
9454 | - 404: any; | |
9455 | -} | |
9456 | - | |
9457 | -export type PostServiceConstNotCanModifyInvoiceRecordStatusResponseSuccess = | |
9458 | - PostServiceConstNotCanModifyInvoiceRecordStatusResponse[200]; | |
9459 | -/** | |
9460 | - * @description | |
9461 | - * 不能修改的开票记录状态 | |
9462 | - * @tags front-const-controller | |
9463 | - * @produces * | |
9464 | - * @consumes application/json | |
9465 | - */ | |
9466 | -export const postServiceConstNotCanModifyInvoiceRecordStatus = | |
9467 | - /* #__PURE__ */ (() => { | |
9468 | - const method = 'post'; | |
9469 | - const url = '/service/const/notCanModifyInvoiceRecordStatus'; | |
9470 | - function request(): Promise<PostServiceConstNotCanModifyInvoiceRecordStatusResponseSuccess> { | |
9471 | - return requester(request.url, { | |
9472 | - method: request.method, | |
9473 | - }) as unknown as Promise<PostServiceConstNotCanModifyInvoiceRecordStatusResponseSuccess>; | |
9474 | - } | |
9475 | - | |
9476 | - /** http method */ | |
9477 | - request.method = method; | |
9478 | - /** request url */ | |
9479 | - request.url = url; | |
9480 | - return request; | |
9481 | - })(); | |
9482 | - | |
9483 | -/** @description request parameter type for getServiceInvoiceListInvoiceProject */ | |
9484 | -export interface GetServiceInvoiceListInvoiceProjectOption { | |
9485 | - /** @format int32 */ | |
9486 | - query?: { | |
9487 | - /** | |
9488 | - @format int32 */ | |
9489 | - current?: number; | |
9490 | - /** | |
9491 | - @format int32 */ | |
9492 | - end?: number; | |
9493 | - nameLike?: string; | |
9494 | - /** | |
9495 | - @format int32 */ | |
9496 | - pageSize?: number; | |
9497 | - /** | |
9498 | - @format int32 */ | |
9499 | - start?: number; | |
8420 | + body: { | |
9500 | 8421 | /** |
9501 | - @format int32 */ | |
9502 | - total?: number; | |
8422 | + @description | |
8423 | + resetPwdVO */ | |
8424 | + resetPwdVO: ResetPwdVO; | |
9503 | 8425 | }; |
9504 | 8426 | } |
9505 | 8427 | |
9506 | -/** @description response type for getServiceInvoiceListInvoiceProject */ | |
9507 | -export interface GetServiceInvoiceListInvoiceProjectResponse { | |
8428 | +/** @description response type for postOrderErpUsersReset */ | |
8429 | +export interface PostOrderErpUsersResetResponse { | |
9508 | 8430 | /** |
9509 | 8431 | * @description |
9510 | 8432 | * OK |
9511 | 8433 | */ |
9512 | - 200: any; | |
8434 | + 200: ServerResult; | |
8435 | + /** | |
8436 | + * @description | |
8437 | + * Created | |
8438 | + */ | |
8439 | + 201: any; | |
9513 | 8440 | /** |
9514 | 8441 | * @description |
9515 | 8442 | * Unauthorized |
... | ... | @@ -9527,24 +8454,25 @@ export interface GetServiceInvoiceListInvoiceProjectResponse { |
9527 | 8454 | 404: any; |
9528 | 8455 | } |
9529 | 8456 | |
9530 | -export type GetServiceInvoiceListInvoiceProjectResponseSuccess = | |
9531 | - GetServiceInvoiceListInvoiceProjectResponse[200]; | |
8457 | +export type PostOrderErpUsersResetResponseSuccess = | |
8458 | + PostOrderErpUsersResetResponse[200]; | |
9532 | 8459 | /** |
9533 | 8460 | * @description |
9534 | - * invoiceProjectList | |
9535 | - * @tags 发票 | |
8461 | + * 重置密码 | |
8462 | + * @tags 系统:用户管理 | |
9536 | 8463 | * @produces * |
8464 | + * @consumes application/json | |
9537 | 8465 | */ |
9538 | -export const getServiceInvoiceListInvoiceProject = /* #__PURE__ */ (() => { | |
9539 | - const method = 'get'; | |
9540 | - const url = '/service/invoice/ListInvoiceProject'; | |
8466 | +export const postOrderErpUsersReset = /* #__PURE__ */ (() => { | |
8467 | + const method = 'post'; | |
8468 | + const url = '/order/erp/users/reset'; | |
9541 | 8469 | function request( |
9542 | - option?: GetServiceInvoiceListInvoiceProjectOption, | |
9543 | - ): Promise<GetServiceInvoiceListInvoiceProjectResponseSuccess> { | |
8470 | + option: PostOrderErpUsersResetOption, | |
8471 | + ): Promise<PostOrderErpUsersResetResponseSuccess> { | |
9544 | 8472 | return requester(request.url, { |
9545 | 8473 | method: request.method, |
9546 | 8474 | ...option, |
9547 | - }) as unknown as Promise<GetServiceInvoiceListInvoiceProjectResponseSuccess>; | |
8475 | + }) as unknown as Promise<PostOrderErpUsersResetResponseSuccess>; | |
9548 | 8476 | } |
9549 | 8477 | |
9550 | 8478 | /** http method */ |
... | ... | @@ -9554,22 +8482,22 @@ export const getServiceInvoiceListInvoiceProject = /* #__PURE__ */ (() => { |
9554 | 8482 | return request; |
9555 | 8483 | })(); |
9556 | 8484 | |
9557 | -/** @description request parameter type for postServiceInvoiceAddInvoice */ | |
9558 | -export interface PostServiceInvoiceAddInvoiceOption { | |
8485 | +/** @description request parameter type for postOrderErpUsersUpdatePass */ | |
8486 | +export interface PostOrderErpUsersUpdatePassOption { | |
9559 | 8487 | /** |
9560 | 8488 | * @description |
9561 | - * dto | |
8489 | + * pwdVO | |
9562 | 8490 | */ |
9563 | 8491 | body: { |
9564 | 8492 | /** |
9565 | 8493 | @description |
9566 | - dto */ | |
9567 | - dto: InvoiceDto; | |
8494 | + pwdVO */ | |
8495 | + pwdVO: UpdatePwdVO; | |
9568 | 8496 | }; |
9569 | 8497 | } |
9570 | 8498 | |
9571 | -/** @description response type for postServiceInvoiceAddInvoice */ | |
9572 | -export interface PostServiceInvoiceAddInvoiceResponse { | |
8499 | +/** @description response type for postOrderErpUsersUpdatePass */ | |
8500 | +export interface PostOrderErpUsersUpdatePassResponse { | |
9573 | 8501 | /** |
9574 | 8502 | * @description |
9575 | 8503 | * OK |
... | ... | @@ -9597,25 +8525,25 @@ export interface PostServiceInvoiceAddInvoiceResponse { |
9597 | 8525 | 404: any; |
9598 | 8526 | } |
9599 | 8527 | |
9600 | -export type PostServiceInvoiceAddInvoiceResponseSuccess = | |
9601 | - PostServiceInvoiceAddInvoiceResponse[200]; | |
8528 | +export type PostOrderErpUsersUpdatePassResponseSuccess = | |
8529 | + PostOrderErpUsersUpdatePassResponse[200]; | |
9602 | 8530 | /** |
9603 | 8531 | * @description |
9604 | - * 添加发票 | |
9605 | - * @tags 发票 | |
8532 | + * 修改密码 | |
8533 | + * @tags 系统:用户管理 | |
9606 | 8534 | * @produces * |
9607 | 8535 | * @consumes application/json |
9608 | 8536 | */ |
9609 | -export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { | |
8537 | +export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => { | |
9610 | 8538 | const method = 'post'; |
9611 | - const url = '/service/invoice/addInvoice'; | |
8539 | + const url = '/order/erp/users/update_pass'; | |
9612 | 8540 | function request( |
9613 | - option: PostServiceInvoiceAddInvoiceOption, | |
9614 | - ): Promise<PostServiceInvoiceAddInvoiceResponseSuccess> { | |
8541 | + option: PostOrderErpUsersUpdatePassOption, | |
8542 | + ): Promise<PostOrderErpUsersUpdatePassResponseSuccess> { | |
9615 | 8543 | return requester(request.url, { |
9616 | 8544 | method: request.method, |
9617 | 8545 | ...option, |
9618 | - }) as unknown as Promise<PostServiceInvoiceAddInvoiceResponseSuccess>; | |
8546 | + }) as unknown as Promise<PostOrderErpUsersUpdatePassResponseSuccess>; | |
9619 | 8547 | } |
9620 | 8548 | |
9621 | 8549 | /** http method */ |
... | ... | @@ -9625,22 +8553,22 @@ export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { |
9625 | 8553 | return request; |
9626 | 8554 | })(); |
9627 | 8555 | |
9628 | -/** @description request parameter type for postServiceInvoiceApplyInvoice */ | |
9629 | -export interface PostServiceInvoiceApplyInvoiceOption { | |
8556 | +/** @description request parameter type for postOrderImportImportWeightAndVolume */ | |
8557 | +export interface PostOrderImportImportWeightAndVolumeOption { | |
9630 | 8558 | /** |
9631 | 8559 | * @description |
9632 | - * dto | |
8560 | + * file | |
9633 | 8561 | */ |
9634 | - body: { | |
8562 | + formData: { | |
9635 | 8563 | /** |
9636 | 8564 | @description |
9637 | - dto */ | |
9638 | - dto: ApplyInvoiceDto; | |
8565 | + file */ | |
8566 | + file: File; | |
9639 | 8567 | }; |
9640 | 8568 | } |
9641 | 8569 | |
9642 | -/** @description response type for postServiceInvoiceApplyInvoice */ | |
9643 | -export interface PostServiceInvoiceApplyInvoiceResponse { | |
8570 | +/** @description response type for postOrderImportImportWeightAndVolume */ | |
8571 | +export interface PostOrderImportImportWeightAndVolumeResponse { | |
9644 | 8572 | /** |
9645 | 8573 | * @description |
9646 | 8574 | * OK |
... | ... | @@ -9668,25 +8596,25 @@ export interface PostServiceInvoiceApplyInvoiceResponse { |
9668 | 8596 | 404: any; |
9669 | 8597 | } |
9670 | 8598 | |
9671 | -export type PostServiceInvoiceApplyInvoiceResponseSuccess = | |
9672 | - PostServiceInvoiceApplyInvoiceResponse[200]; | |
8599 | +export type PostOrderImportImportWeightAndVolumeResponseSuccess = | |
8600 | + PostOrderImportImportWeightAndVolumeResponse[200]; | |
9673 | 8601 | /** |
9674 | 8602 | * @description |
9675 | - * 申请开票 | |
9676 | - * @tags 发票 | |
8603 | + * 导入重量和体积 | |
8604 | + * @tags 导入 | |
9677 | 8605 | * @produces * |
9678 | - * @consumes application/json | |
8606 | + * @consumes multipart/form-data | |
9679 | 8607 | */ |
9680 | -export const postServiceInvoiceApplyInvoice = /* #__PURE__ */ (() => { | |
8608 | +export const postOrderImportImportWeightAndVolume = /* #__PURE__ */ (() => { | |
9681 | 8609 | const method = 'post'; |
9682 | - const url = '/service/invoice/applyInvoice'; | |
8610 | + const url = '/order/import/importWeightAndVolume'; | |
9683 | 8611 | function request( |
9684 | - option: PostServiceInvoiceApplyInvoiceOption, | |
9685 | - ): Promise<PostServiceInvoiceApplyInvoiceResponseSuccess> { | |
8612 | + option: PostOrderImportImportWeightAndVolumeOption, | |
8613 | + ): Promise<PostOrderImportImportWeightAndVolumeResponseSuccess> { | |
9686 | 8614 | return requester(request.url, { |
9687 | 8615 | method: request.method, |
9688 | 8616 | ...option, |
9689 | - }) as unknown as Promise<PostServiceInvoiceApplyInvoiceResponseSuccess>; | |
8617 | + }) as unknown as Promise<PostOrderImportImportWeightAndVolumeResponseSuccess>; | |
9690 | 8618 | } |
9691 | 8619 | |
9692 | 8620 | /** http method */ |
... | ... | @@ -9696,22 +8624,22 @@ export const postServiceInvoiceApplyInvoice = /* #__PURE__ */ (() => { |
9696 | 8624 | return request; |
9697 | 8625 | })(); |
9698 | 8626 | |
9699 | -/** @description request parameter type for postServiceInvoiceCancelApply */ | |
9700 | -export interface PostServiceInvoiceCancelApplyOption { | |
8627 | +/** @description request parameter type for postPrepaidAudit */ | |
8628 | +export interface PostPrepaidAuditOption { | |
9701 | 8629 | /** |
9702 | 8630 | * @description |
9703 | - * dto | |
8631 | + * request | |
9704 | 8632 | */ |
9705 | 8633 | body: { |
9706 | 8634 | /** |
9707 | 8635 | @description |
9708 | - dto */ | |
9709 | - dto: Dto; | |
8636 | + request */ | |
8637 | + request: SalesRechargePrepaymentAuditRequest; | |
9710 | 8638 | }; |
9711 | 8639 | } |
9712 | 8640 | |
9713 | -/** @description response type for postServiceInvoiceCancelApply */ | |
9714 | -export interface PostServiceInvoiceCancelApplyResponse { | |
8641 | +/** @description response type for postPrepaidAudit */ | |
8642 | +export interface PostPrepaidAuditResponse { | |
9715 | 8643 | /** |
9716 | 8644 | * @description |
9717 | 8645 | * OK |
... | ... | @@ -9739,25 +8667,24 @@ export interface PostServiceInvoiceCancelApplyResponse { |
9739 | 8667 | 404: any; |
9740 | 8668 | } |
9741 | 8669 | |
9742 | -export type PostServiceInvoiceCancelApplyResponseSuccess = | |
9743 | - PostServiceInvoiceCancelApplyResponse[200]; | |
8670 | +export type PostPrepaidAuditResponseSuccess = PostPrepaidAuditResponse[200]; | |
9744 | 8671 | /** |
9745 | 8672 | * @description |
9746 | - * 取消申请 | |
9747 | - * @tags 发票 | |
8673 | + * 财务审核 | |
8674 | + * @tags prepaid-controller | |
9748 | 8675 | * @produces * |
9749 | 8676 | * @consumes application/json |
9750 | 8677 | */ |
9751 | -export const postServiceInvoiceCancelApply = /* #__PURE__ */ (() => { | |
8678 | +export const postPrepaidAudit = /* #__PURE__ */ (() => { | |
9752 | 8679 | const method = 'post'; |
9753 | - const url = '/service/invoice/cancelApply'; | |
8680 | + const url = '/prepaid/audit'; | |
9754 | 8681 | function request( |
9755 | - option: PostServiceInvoiceCancelApplyOption, | |
9756 | - ): Promise<PostServiceInvoiceCancelApplyResponseSuccess> { | |
8682 | + option: PostPrepaidAuditOption, | |
8683 | + ): Promise<PostPrepaidAuditResponseSuccess> { | |
9757 | 8684 | return requester(request.url, { |
9758 | 8685 | method: request.method, |
9759 | 8686 | ...option, |
9760 | - }) as unknown as Promise<PostServiceInvoiceCancelApplyResponseSuccess>; | |
8687 | + }) as unknown as Promise<PostPrepaidAuditResponseSuccess>; | |
9761 | 8688 | } |
9762 | 8689 | |
9763 | 8690 | /** http method */ |
... | ... | @@ -9767,22 +8694,22 @@ export const postServiceInvoiceCancelApply = /* #__PURE__ */ (() => { |
9767 | 8694 | return request; |
9768 | 8695 | })(); |
9769 | 8696 | |
9770 | -/** @description request parameter type for postServiceInvoiceCancelInvoiceAndBankStatement */ | |
9771 | -export interface PostServiceInvoiceCancelInvoiceAndBankStatementOption { | |
8697 | +/** @description request parameter type for postPrepaidCreate */ | |
8698 | +export interface PostPrepaidCreateOption { | |
9772 | 8699 | /** |
9773 | 8700 | * @description |
9774 | - * dto | |
8701 | + * request | |
9775 | 8702 | */ |
9776 | 8703 | body: { |
9777 | 8704 | /** |
9778 | 8705 | @description |
9779 | - dto */ | |
9780 | - dto: CancelInvoiceAndBankStatementDto; | |
8706 | + request */ | |
8707 | + request: SalesRechargePrepaymentCreateRequest; | |
9781 | 8708 | }; |
9782 | 8709 | } |
9783 | 8710 | |
9784 | -/** @description response type for postServiceInvoiceCancelInvoiceAndBankStatement */ | |
9785 | -export interface PostServiceInvoiceCancelInvoiceAndBankStatementResponse { | |
8711 | +/** @description response type for postPrepaidCreate */ | |
8712 | +export interface PostPrepaidCreateResponse { | |
9786 | 8713 | /** |
9787 | 8714 | * @description |
9788 | 8715 | * OK |
... | ... | @@ -9810,51 +8737,49 @@ export interface PostServiceInvoiceCancelInvoiceAndBankStatementResponse { |
9810 | 8737 | 404: any; |
9811 | 8738 | } |
9812 | 8739 | |
9813 | -export type PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess = | |
9814 | - PostServiceInvoiceCancelInvoiceAndBankStatementResponse[200]; | |
8740 | +export type PostPrepaidCreateResponseSuccess = PostPrepaidCreateResponse[200]; | |
9815 | 8741 | /** |
9816 | 8742 | * @description |
9817 | - * 取消发票与银行流水的关联 | |
9818 | - * @tags 发票 | |
8743 | + * 新增预存 | |
8744 | + * @tags prepaid-controller | |
9819 | 8745 | * @produces * |
9820 | 8746 | * @consumes application/json |
9821 | 8747 | */ |
9822 | -export const postServiceInvoiceCancelInvoiceAndBankStatement = | |
9823 | - /* #__PURE__ */ (() => { | |
9824 | - const method = 'post'; | |
9825 | - const url = '/service/invoice/cancelInvoiceAndBankStatement'; | |
9826 | - function request( | |
9827 | - option: PostServiceInvoiceCancelInvoiceAndBankStatementOption, | |
9828 | - ): Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess> { | |
9829 | - return requester(request.url, { | |
9830 | - method: request.method, | |
9831 | - ...option, | |
9832 | - }) as unknown as Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess>; | |
9833 | - } | |
8748 | +export const postPrepaidCreate = /* #__PURE__ */ (() => { | |
8749 | + const method = 'post'; | |
8750 | + const url = '/prepaid/create'; | |
8751 | + function request( | |
8752 | + option: PostPrepaidCreateOption, | |
8753 | + ): Promise<PostPrepaidCreateResponseSuccess> { | |
8754 | + return requester(request.url, { | |
8755 | + method: request.method, | |
8756 | + ...option, | |
8757 | + }) as unknown as Promise<PostPrepaidCreateResponseSuccess>; | |
8758 | + } | |
9834 | 8759 | |
9835 | - /** http method */ | |
9836 | - request.method = method; | |
9837 | - /** request url */ | |
9838 | - request.url = url; | |
9839 | - return request; | |
9840 | - })(); | |
8760 | + /** http method */ | |
8761 | + request.method = method; | |
8762 | + /** request url */ | |
8763 | + request.url = url; | |
8764 | + return request; | |
8765 | +})(); | |
9841 | 8766 | |
9842 | -/** @description request parameter type for postServiceInvoiceDealInvoicingResult */ | |
9843 | -export interface PostServiceInvoiceDealInvoicingResultOption { | |
8767 | +/** @description request parameter type for postPrepaidDelete */ | |
8768 | +export interface PostPrepaidDeleteOption { | |
9844 | 8769 | /** |
9845 | 8770 | * @description |
9846 | - * dto | |
8771 | + * request | |
9847 | 8772 | */ |
9848 | 8773 | body: { |
9849 | 8774 | /** |
9850 | 8775 | @description |
9851 | - dto */ | |
9852 | - dto: Dto; | |
8776 | + request */ | |
8777 | + request: SalesRechargePrepaymentDeleteRequest; | |
9853 | 8778 | }; |
9854 | 8779 | } |
9855 | 8780 | |
9856 | -/** @description response type for postServiceInvoiceDealInvoicingResult */ | |
9857 | -export interface PostServiceInvoiceDealInvoicingResultResponse { | |
8781 | +/** @description response type for postPrepaidDelete */ | |
8782 | +export interface PostPrepaidDeleteResponse { | |
9858 | 8783 | /** |
9859 | 8784 | * @description |
9860 | 8785 | * OK |
... | ... | @@ -9882,25 +8807,24 @@ export interface PostServiceInvoiceDealInvoicingResultResponse { |
9882 | 8807 | 404: any; |
9883 | 8808 | } |
9884 | 8809 | |
9885 | -export type PostServiceInvoiceDealInvoicingResultResponseSuccess = | |
9886 | - PostServiceInvoiceDealInvoicingResultResponse[200]; | |
8810 | +export type PostPrepaidDeleteResponseSuccess = PostPrepaidDeleteResponse[200]; | |
9887 | 8811 | /** |
9888 | 8812 | * @description |
9889 | - * 拉取开票结果 | |
9890 | - * @tags 发票 | |
8813 | + * 删除预存 | |
8814 | + * @tags prepaid-controller | |
9891 | 8815 | * @produces * |
9892 | 8816 | * @consumes application/json |
9893 | 8817 | */ |
9894 | -export const postServiceInvoiceDealInvoicingResult = /* #__PURE__ */ (() => { | |
8818 | +export const postPrepaidDelete = /* #__PURE__ */ (() => { | |
9895 | 8819 | const method = 'post'; |
9896 | - const url = '/service/invoice/dealInvoicingResult'; | |
8820 | + const url = '/prepaid/delete'; | |
9897 | 8821 | function request( |
9898 | - option: PostServiceInvoiceDealInvoicingResultOption, | |
9899 | - ): Promise<PostServiceInvoiceDealInvoicingResultResponseSuccess> { | |
8822 | + option: PostPrepaidDeleteOption, | |
8823 | + ): Promise<PostPrepaidDeleteResponseSuccess> { | |
9900 | 8824 | return requester(request.url, { |
9901 | 8825 | method: request.method, |
9902 | 8826 | ...option, |
9903 | - }) as unknown as Promise<PostServiceInvoiceDealInvoicingResultResponseSuccess>; | |
8827 | + }) as unknown as Promise<PostPrepaidDeleteResponseSuccess>; | |
9904 | 8828 | } |
9905 | 8829 | |
9906 | 8830 | /** http method */ |
... | ... | @@ -9910,22 +8834,22 @@ export const postServiceInvoiceDealInvoicingResult = /* #__PURE__ */ (() => { |
9910 | 8834 | return request; |
9911 | 8835 | })(); |
9912 | 8836 | |
9913 | -/** @description request parameter type for postServiceInvoiceDeleteInvoice */ | |
9914 | -export interface PostServiceInvoiceDeleteInvoiceOption { | |
8837 | +/** @description request parameter type for postPrepaidList */ | |
8838 | +export interface PostPrepaidListOption { | |
9915 | 8839 | /** |
9916 | 8840 | * @description |
9917 | - * dto | |
8841 | + * request | |
9918 | 8842 | */ |
9919 | 8843 | body: { |
9920 | 8844 | /** |
9921 | 8845 | @description |
9922 | - dto */ | |
9923 | - dto: Dto; | |
8846 | + request */ | |
8847 | + request: SalesRechargePrepaymentRequest; | |
9924 | 8848 | }; |
9925 | 8849 | } |
9926 | 8850 | |
9927 | -/** @description response type for postServiceInvoiceDeleteInvoice */ | |
9928 | -export interface PostServiceInvoiceDeleteInvoiceResponse { | |
8851 | +/** @description response type for postPrepaidList */ | |
8852 | +export interface PostPrepaidListResponse { | |
9929 | 8853 | /** |
9930 | 8854 | * @description |
9931 | 8855 | * OK |
... | ... | @@ -9953,25 +8877,24 @@ export interface PostServiceInvoiceDeleteInvoiceResponse { |
9953 | 8877 | 404: any; |
9954 | 8878 | } |
9955 | 8879 | |
9956 | -export type PostServiceInvoiceDeleteInvoiceResponseSuccess = | |
9957 | - PostServiceInvoiceDeleteInvoiceResponse[200]; | |
8880 | +export type PostPrepaidListResponseSuccess = PostPrepaidListResponse[200]; | |
9958 | 8881 | /** |
9959 | 8882 | * @description |
9960 | - * 删除发票 | |
9961 | - * @tags 发票 | |
8883 | + * 查询列表 | |
8884 | + * @tags prepaid-controller | |
9962 | 8885 | * @produces * |
9963 | 8886 | * @consumes application/json |
9964 | 8887 | */ |
9965 | -export const postServiceInvoiceDeleteInvoice = /* #__PURE__ */ (() => { | |
8888 | +export const postPrepaidList = /* #__PURE__ */ (() => { | |
9966 | 8889 | const method = 'post'; |
9967 | - const url = '/service/invoice/deleteInvoice'; | |
8890 | + const url = '/prepaid/list'; | |
9968 | 8891 | function request( |
9969 | - option: PostServiceInvoiceDeleteInvoiceOption, | |
9970 | - ): Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess> { | |
8892 | + option: PostPrepaidListOption, | |
8893 | + ): Promise<PostPrepaidListResponseSuccess> { | |
9971 | 8894 | return requester(request.url, { |
9972 | 8895 | method: request.method, |
9973 | 8896 | ...option, |
9974 | - }) as unknown as Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess>; | |
8897 | + }) as unknown as Promise<PostPrepaidListResponseSuccess>; | |
9975 | 8898 | } |
9976 | 8899 | |
9977 | 8900 | /** http method */ |
... | ... | @@ -9981,24 +8904,22 @@ export const postServiceInvoiceDeleteInvoice = /* #__PURE__ */ (() => { |
9981 | 8904 | return request; |
9982 | 8905 | })(); |
9983 | 8906 | |
9984 | -/** @description request parameter type for postServiceInvoiceDownloadInvoice */ | |
9985 | -export interface PostServiceInvoiceDownloadInvoiceOption { | |
8907 | +/** @description request parameter type for postPrepaidUpdate */ | |
8908 | +export interface PostPrepaidUpdateOption { | |
9986 | 8909 | /** |
9987 | 8910 | * @description |
9988 | - * recodId | |
9989 | - * @format int64 | |
8911 | + * request | |
9990 | 8912 | */ |
9991 | - query?: { | |
8913 | + body: { | |
9992 | 8914 | /** |
9993 | 8915 | @description |
9994 | - recodId | |
9995 | - @format int64 */ | |
9996 | - recodId?: number; | |
8916 | + request */ | |
8917 | + request: SalesRechargePrepaymentUpdateRequest; | |
9997 | 8918 | }; |
9998 | 8919 | } |
9999 | 8920 | |
10000 | -/** @description response type for postServiceInvoiceDownloadInvoice */ | |
10001 | -export interface PostServiceInvoiceDownloadInvoiceResponse { | |
8921 | +/** @description response type for postPrepaidUpdate */ | |
8922 | +export interface PostPrepaidUpdateResponse { | |
10002 | 8923 | /** |
10003 | 8924 | * @description |
10004 | 8925 | * OK |
... | ... | @@ -10026,25 +8947,24 @@ export interface PostServiceInvoiceDownloadInvoiceResponse { |
10026 | 8947 | 404: any; |
10027 | 8948 | } |
10028 | 8949 | |
10029 | -export type PostServiceInvoiceDownloadInvoiceResponseSuccess = | |
10030 | - PostServiceInvoiceDownloadInvoiceResponse[200]; | |
8950 | +export type PostPrepaidUpdateResponseSuccess = PostPrepaidUpdateResponse[200]; | |
10031 | 8951 | /** |
10032 | 8952 | * @description |
10033 | - * 下载开票 | |
10034 | - * @tags 发票 | |
8953 | + * 修改预存 | |
8954 | + * @tags prepaid-controller | |
10035 | 8955 | * @produces * |
10036 | 8956 | * @consumes application/json |
10037 | 8957 | */ |
10038 | -export const postServiceInvoiceDownloadInvoice = /* #__PURE__ */ (() => { | |
8958 | +export const postPrepaidUpdate = /* #__PURE__ */ (() => { | |
10039 | 8959 | const method = 'post'; |
10040 | - const url = '/service/invoice/downloadInvoice'; | |
8960 | + const url = '/prepaid/update'; | |
10041 | 8961 | function request( |
10042 | - option?: PostServiceInvoiceDownloadInvoiceOption, | |
10043 | - ): Promise<PostServiceInvoiceDownloadInvoiceResponseSuccess> { | |
8962 | + option: PostPrepaidUpdateOption, | |
8963 | + ): Promise<PostPrepaidUpdateResponseSuccess> { | |
10044 | 8964 | return requester(request.url, { |
10045 | 8965 | method: request.method, |
10046 | 8966 | ...option, |
10047 | - }) as unknown as Promise<PostServiceInvoiceDownloadInvoiceResponseSuccess>; | |
8967 | + }) as unknown as Promise<PostPrepaidUpdateResponseSuccess>; | |
10048 | 8968 | } |
10049 | 8969 | |
10050 | 8970 | /** http method */ |
... | ... | @@ -10054,57 +8974,8 @@ export const postServiceInvoiceDownloadInvoice = /* #__PURE__ */ (() => { |
10054 | 8974 | return request; |
10055 | 8975 | })(); |
10056 | 8976 | |
10057 | -/** @description response type for getServiceInvoiceExportInvoiceDetailsTemplate */ | |
10058 | -export interface GetServiceInvoiceExportInvoiceDetailsTemplateResponse { | |
10059 | - /** | |
10060 | - * @description | |
10061 | - * OK | |
10062 | - */ | |
10063 | - 200: any; | |
10064 | - /** | |
10065 | - * @description | |
10066 | - * Unauthorized | |
10067 | - */ | |
10068 | - 401: any; | |
10069 | - /** | |
10070 | - * @description | |
10071 | - * Forbidden | |
10072 | - */ | |
10073 | - 403: any; | |
10074 | - /** | |
10075 | - * @description | |
10076 | - * Not Found | |
10077 | - */ | |
10078 | - 404: any; | |
10079 | -} | |
10080 | - | |
10081 | -export type GetServiceInvoiceExportInvoiceDetailsTemplateResponseSuccess = | |
10082 | - GetServiceInvoiceExportInvoiceDetailsTemplateResponse[200]; | |
10083 | -/** | |
10084 | - * @description | |
10085 | - * 导出发票明细模板 | |
10086 | - * @tags 发票 | |
10087 | - * @produces * | |
10088 | - */ | |
10089 | -export const getServiceInvoiceExportInvoiceDetailsTemplate = | |
10090 | - /* #__PURE__ */ (() => { | |
10091 | - const method = 'get'; | |
10092 | - const url = '/service/invoice/exportInvoiceDetailsTemplate'; | |
10093 | - function request(): Promise<GetServiceInvoiceExportInvoiceDetailsTemplateResponseSuccess> { | |
10094 | - return requester(request.url, { | |
10095 | - method: request.method, | |
10096 | - }) as unknown as Promise<GetServiceInvoiceExportInvoiceDetailsTemplateResponseSuccess>; | |
10097 | - } | |
10098 | - | |
10099 | - /** http method */ | |
10100 | - request.method = method; | |
10101 | - /** request url */ | |
10102 | - request.url = url; | |
10103 | - return request; | |
10104 | - })(); | |
10105 | - | |
10106 | -/** @description request parameter type for postServiceInvoiceExportInvoiceRecords */ | |
10107 | -export interface PostServiceInvoiceExportInvoiceRecordsOption { | |
8977 | +/** @description request parameter type for postServiceBankStatementDeleteBankStatement */ | |
8978 | +export interface PostServiceBankStatementDeleteBankStatementOption { | |
10108 | 8979 | /** |
10109 | 8980 | * @description |
10110 | 8981 | * dto |
... | ... | @@ -10113,17 +8984,17 @@ export interface PostServiceInvoiceExportInvoiceRecordsOption { |
10113 | 8984 | /** |
10114 | 8985 | @description |
10115 | 8986 | dto */ |
10116 | - dto: QueryInvoiceRecordDto; | |
8987 | + dto: Dto; | |
10117 | 8988 | }; |
10118 | 8989 | } |
10119 | 8990 | |
10120 | -/** @description response type for postServiceInvoiceExportInvoiceRecords */ | |
10121 | -export interface PostServiceInvoiceExportInvoiceRecordsResponse { | |
8991 | +/** @description response type for postServiceBankStatementDeleteBankStatement */ | |
8992 | +export interface PostServiceBankStatementDeleteBankStatementResponse { | |
10122 | 8993 | /** |
10123 | 8994 | * @description |
10124 | 8995 | * OK |
10125 | 8996 | */ |
10126 | - 200: any; | |
8997 | + 200: ServerResult; | |
10127 | 8998 | /** |
10128 | 8999 | * @description |
10129 | 9000 | * Created |
... | ... | @@ -10146,36 +9017,37 @@ export interface PostServiceInvoiceExportInvoiceRecordsResponse { |
10146 | 9017 | 404: any; |
10147 | 9018 | } |
10148 | 9019 | |
10149 | -export type PostServiceInvoiceExportInvoiceRecordsResponseSuccess = | |
10150 | - PostServiceInvoiceExportInvoiceRecordsResponse[200]; | |
9020 | +export type PostServiceBankStatementDeleteBankStatementResponseSuccess = | |
9021 | + PostServiceBankStatementDeleteBankStatementResponse[200]; | |
10151 | 9022 | /** |
10152 | 9023 | * @description |
10153 | - * exportInvoiceRecords | |
10154 | - * @tags 发票 | |
9024 | + * 删除银行流水 | |
9025 | + * @tags 银行流水 | |
10155 | 9026 | * @produces * |
10156 | 9027 | * @consumes application/json |
10157 | 9028 | */ |
10158 | -export const postServiceInvoiceExportInvoiceRecords = /* #__PURE__ */ (() => { | |
10159 | - const method = 'post'; | |
10160 | - const url = '/service/invoice/exportInvoiceRecords'; | |
10161 | - function request( | |
10162 | - option: PostServiceInvoiceExportInvoiceRecordsOption, | |
10163 | - ): Promise<PostServiceInvoiceExportInvoiceRecordsResponseSuccess> { | |
10164 | - return requester(request.url, { | |
10165 | - method: request.method, | |
10166 | - ...option, | |
10167 | - }) as unknown as Promise<PostServiceInvoiceExportInvoiceRecordsResponseSuccess>; | |
10168 | - } | |
9029 | +export const postServiceBankStatementDeleteBankStatement = | |
9030 | + /* #__PURE__ */ (() => { | |
9031 | + const method = 'post'; | |
9032 | + const url = '/service/bankStatement/deleteBankStatement'; | |
9033 | + function request( | |
9034 | + option: PostServiceBankStatementDeleteBankStatementOption, | |
9035 | + ): Promise<PostServiceBankStatementDeleteBankStatementResponseSuccess> { | |
9036 | + return requester(request.url, { | |
9037 | + method: request.method, | |
9038 | + ...option, | |
9039 | + }) as unknown as Promise<PostServiceBankStatementDeleteBankStatementResponseSuccess>; | |
9040 | + } | |
10169 | 9041 | |
10170 | - /** http method */ | |
10171 | - request.method = method; | |
10172 | - /** request url */ | |
10173 | - request.url = url; | |
10174 | - return request; | |
10175 | -})(); | |
9042 | + /** http method */ | |
9043 | + request.method = method; | |
9044 | + /** request url */ | |
9045 | + request.url = url; | |
9046 | + return request; | |
9047 | + })(); | |
10176 | 9048 | |
10177 | -/** @description request parameter type for postServiceInvoiceFindInvoice */ | |
10178 | -export interface PostServiceInvoiceFindInvoiceOption { | |
9049 | +/** @description request parameter type for postServiceBankStatementEditBankStatement */ | |
9050 | +export interface PostServiceBankStatementEditBankStatementOption { | |
10179 | 9051 | /** |
10180 | 9052 | * @description |
10181 | 9053 | * dto |
... | ... | @@ -10188,8 +9060,8 @@ export interface PostServiceInvoiceFindInvoiceOption { |
10188 | 9060 | }; |
10189 | 9061 | } |
10190 | 9062 | |
10191 | -/** @description response type for postServiceInvoiceFindInvoice */ | |
10192 | -export interface PostServiceInvoiceFindInvoiceResponse { | |
9063 | +/** @description response type for postServiceBankStatementEditBankStatement */ | |
9064 | +export interface PostServiceBankStatementEditBankStatementResponse { | |
10193 | 9065 | /** |
10194 | 9066 | * @description |
10195 | 9067 | * OK |
... | ... | @@ -10217,57 +9089,42 @@ export interface PostServiceInvoiceFindInvoiceResponse { |
10217 | 9089 | 404: any; |
10218 | 9090 | } |
10219 | 9091 | |
10220 | -export type PostServiceInvoiceFindInvoiceResponseSuccess = | |
10221 | - PostServiceInvoiceFindInvoiceResponse[200]; | |
9092 | +export type PostServiceBankStatementEditBankStatementResponseSuccess = | |
9093 | + PostServiceBankStatementEditBankStatementResponse[200]; | |
10222 | 9094 | /** |
10223 | 9095 | * @description |
10224 | - * 不分页查询发票 | |
10225 | - * @tags 发票 | |
9096 | + * 编辑银行流水 | |
9097 | + * @tags 银行流水 | |
10226 | 9098 | * @produces * |
10227 | 9099 | * @consumes application/json |
10228 | 9100 | */ |
10229 | -export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { | |
10230 | - const method = 'post'; | |
10231 | - const url = '/service/invoice/findInvoice'; | |
10232 | - function request( | |
10233 | - option: PostServiceInvoiceFindInvoiceOption, | |
10234 | - ): Promise<PostServiceInvoiceFindInvoiceResponseSuccess> { | |
10235 | - return requester(request.url, { | |
10236 | - method: request.method, | |
10237 | - ...option, | |
10238 | - }) as unknown as Promise<PostServiceInvoiceFindInvoiceResponseSuccess>; | |
10239 | - } | |
10240 | - | |
10241 | - /** http method */ | |
10242 | - request.method = method; | |
10243 | - /** request url */ | |
10244 | - request.url = url; | |
10245 | - return request; | |
10246 | -})(); | |
9101 | +export const postServiceBankStatementEditBankStatement = | |
9102 | + /* #__PURE__ */ (() => { | |
9103 | + const method = 'post'; | |
9104 | + const url = '/service/bankStatement/editBankStatement'; | |
9105 | + function request( | |
9106 | + option: PostServiceBankStatementEditBankStatementOption, | |
9107 | + ): Promise<PostServiceBankStatementEditBankStatementResponseSuccess> { | |
9108 | + return requester(request.url, { | |
9109 | + method: request.method, | |
9110 | + ...option, | |
9111 | + }) as unknown as Promise<PostServiceBankStatementEditBankStatementResponseSuccess>; | |
9112 | + } | |
10247 | 9113 | |
10248 | -/** @description request parameter type for postServiceInvoiceGetInvoiceRecord */ | |
10249 | -export interface PostServiceInvoiceGetInvoiceRecordOption { | |
10250 | - /** | |
10251 | - * @description | |
10252 | - * id | |
10253 | - * @format int64 | |
10254 | - */ | |
10255 | - query?: { | |
10256 | - /** | |
10257 | - @description | |
10258 | - id | |
10259 | - @format int64 */ | |
10260 | - id?: number; | |
10261 | - }; | |
10262 | -} | |
9114 | + /** http method */ | |
9115 | + request.method = method; | |
9116 | + /** request url */ | |
9117 | + request.url = url; | |
9118 | + return request; | |
9119 | + })(); | |
10263 | 9120 | |
10264 | -/** @description response type for postServiceInvoiceGetInvoiceRecord */ | |
10265 | -export interface PostServiceInvoiceGetInvoiceRecordResponse { | |
9121 | +/** @description response type for postServiceBankStatementExportTemplate */ | |
9122 | +export interface PostServiceBankStatementExportTemplateResponse { | |
10266 | 9123 | /** |
10267 | 9124 | * @description |
10268 | 9125 | * OK |
10269 | 9126 | */ |
10270 | - 200: ServerResult; | |
9127 | + 200: any; | |
10271 | 9128 | /** |
10272 | 9129 | * @description |
10273 | 9130 | * Created |
... | ... | @@ -10290,25 +9147,22 @@ export interface PostServiceInvoiceGetInvoiceRecordResponse { |
10290 | 9147 | 404: any; |
10291 | 9148 | } |
10292 | 9149 | |
10293 | -export type PostServiceInvoiceGetInvoiceRecordResponseSuccess = | |
10294 | - PostServiceInvoiceGetInvoiceRecordResponse[200]; | |
9150 | +export type PostServiceBankStatementExportTemplateResponseSuccess = | |
9151 | + PostServiceBankStatementExportTemplateResponse[200]; | |
10295 | 9152 | /** |
10296 | 9153 | * @description |
10297 | - * 获取开票记录 | |
10298 | - * @tags 发票 | |
9154 | + * 下载银行流水模板 | |
9155 | + * @tags 银行流水 | |
10299 | 9156 | * @produces * |
10300 | 9157 | * @consumes application/json |
10301 | 9158 | */ |
10302 | -export const postServiceInvoiceGetInvoiceRecord = /* #__PURE__ */ (() => { | |
9159 | +export const postServiceBankStatementExportTemplate = /* #__PURE__ */ (() => { | |
10303 | 9160 | const method = 'post'; |
10304 | - const url = '/service/invoice/getInvoiceRecord'; | |
10305 | - function request( | |
10306 | - option?: PostServiceInvoiceGetInvoiceRecordOption, | |
10307 | - ): Promise<PostServiceInvoiceGetInvoiceRecordResponseSuccess> { | |
9161 | + const url = '/service/bankStatement/exportTemplate'; | |
9162 | + function request(): Promise<PostServiceBankStatementExportTemplateResponseSuccess> { | |
10308 | 9163 | return requester(request.url, { |
10309 | 9164 | method: request.method, |
10310 | - ...option, | |
10311 | - }) as unknown as Promise<PostServiceInvoiceGetInvoiceRecordResponseSuccess>; | |
9165 | + }) as unknown as Promise<PostServiceBankStatementExportTemplateResponseSuccess>; | |
10312 | 9166 | } |
10313 | 9167 | |
10314 | 9168 | /** http method */ |
... | ... | @@ -10318,38 +9172,22 @@ export const postServiceInvoiceGetInvoiceRecord = /* #__PURE__ */ (() => { |
10318 | 9172 | return request; |
10319 | 9173 | })(); |
10320 | 9174 | |
10321 | -/** @description request parameter type for postServiceInvoiceImportInvoiceDetails */ | |
10322 | -export interface PostServiceInvoiceImportInvoiceDetailsOption { | |
9175 | +/** @description request parameter type for postServiceBankStatementImportBankStatementForm */ | |
9176 | +export interface PostServiceBankStatementImportBankStatementFormOption { | |
10323 | 9177 | /** |
10324 | 9178 | * @description |
10325 | - * detailsExcel | |
9179 | + * file | |
10326 | 9180 | */ |
10327 | 9181 | formData: { |
10328 | 9182 | /** |
10329 | 9183 | @description |
10330 | - detailsExcel */ | |
10331 | - detailsExcel: File; | |
10332 | - }; | |
10333 | -} | |
10334 | - | |
10335 | -/** @description request parameter type for postServiceInvoiceImportInvoiceDetails */ | |
10336 | -export interface PostServiceInvoiceImportInvoiceDetailsOption { | |
10337 | - /** | |
10338 | - * @description | |
10339 | - * invoiceRecordId | |
10340 | - * @format int64 | |
10341 | - */ | |
10342 | - query: { | |
10343 | - /** | |
10344 | - @description | |
10345 | - invoiceRecordId | |
10346 | - @format int64 */ | |
10347 | - invoiceRecordId: number; | |
9184 | + file */ | |
9185 | + file: File; | |
10348 | 9186 | }; |
10349 | 9187 | } |
10350 | 9188 | |
10351 | -/** @description response type for postServiceInvoiceImportInvoiceDetails */ | |
10352 | -export interface PostServiceInvoiceImportInvoiceDetailsResponse { | |
9189 | +/** @description response type for postServiceBankStatementImportBankStatementForm */ | |
9190 | +export interface PostServiceBankStatementImportBankStatementFormResponse { | |
10353 | 9191 | /** |
10354 | 9192 | * @description |
10355 | 9193 | * OK |
... | ... | @@ -10377,36 +9215,37 @@ export interface PostServiceInvoiceImportInvoiceDetailsResponse { |
10377 | 9215 | 404: any; |
10378 | 9216 | } |
10379 | 9217 | |
10380 | -export type PostServiceInvoiceImportInvoiceDetailsResponseSuccess = | |
10381 | - PostServiceInvoiceImportInvoiceDetailsResponse[200]; | |
9218 | +export type PostServiceBankStatementImportBankStatementFormResponseSuccess = | |
9219 | + PostServiceBankStatementImportBankStatementFormResponse[200]; | |
10382 | 9220 | /** |
10383 | 9221 | * @description |
10384 | - * 导入发票明细 | |
10385 | - * @tags 发票 | |
9222 | + * 导入银行流水表格 | |
9223 | + * @tags 银行流水 | |
10386 | 9224 | * @produces * |
10387 | 9225 | * @consumes multipart/form-data |
10388 | 9226 | */ |
10389 | -export const postServiceInvoiceImportInvoiceDetails = /* #__PURE__ */ (() => { | |
10390 | - const method = 'post'; | |
10391 | - const url = '/service/invoice/importInvoiceDetails'; | |
10392 | - function request( | |
10393 | - option: PostServiceInvoiceImportInvoiceDetailsOption, | |
10394 | - ): Promise<PostServiceInvoiceImportInvoiceDetailsResponseSuccess> { | |
10395 | - return requester(request.url, { | |
10396 | - method: request.method, | |
10397 | - ...option, | |
10398 | - }) as unknown as Promise<PostServiceInvoiceImportInvoiceDetailsResponseSuccess>; | |
10399 | - } | |
9227 | +export const postServiceBankStatementImportBankStatementForm = | |
9228 | + /* #__PURE__ */ (() => { | |
9229 | + const method = 'post'; | |
9230 | + const url = '/service/bankStatement/importBankStatementForm'; | |
9231 | + function request( | |
9232 | + option: PostServiceBankStatementImportBankStatementFormOption, | |
9233 | + ): Promise<PostServiceBankStatementImportBankStatementFormResponseSuccess> { | |
9234 | + return requester(request.url, { | |
9235 | + method: request.method, | |
9236 | + ...option, | |
9237 | + }) as unknown as Promise<PostServiceBankStatementImportBankStatementFormResponseSuccess>; | |
9238 | + } | |
10400 | 9239 | |
10401 | - /** http method */ | |
10402 | - request.method = method; | |
10403 | - /** request url */ | |
10404 | - request.url = url; | |
10405 | - return request; | |
10406 | -})(); | |
9240 | + /** http method */ | |
9241 | + request.method = method; | |
9242 | + /** request url */ | |
9243 | + request.url = url; | |
9244 | + return request; | |
9245 | + })(); | |
10407 | 9246 | |
10408 | -/** @description request parameter type for postServiceInvoiceInvoiceWriteOff */ | |
10409 | -export interface PostServiceInvoiceInvoiceWriteOffOption { | |
9247 | +/** @description request parameter type for postServiceBankStatementQueryBankStatement */ | |
9248 | +export interface PostServiceBankStatementQueryBankStatementOption { | |
10410 | 9249 | /** |
10411 | 9250 | * @description |
10412 | 9251 | * dto |
... | ... | @@ -10415,12 +9254,12 @@ export interface PostServiceInvoiceInvoiceWriteOffOption { |
10415 | 9254 | /** |
10416 | 9255 | @description |
10417 | 9256 | dto */ |
10418 | - dto: Dto; | |
9257 | + dto: QueryBankStatementDto; | |
10419 | 9258 | }; |
10420 | 9259 | } |
10421 | 9260 | |
10422 | -/** @description response type for postServiceInvoiceInvoiceWriteOff */ | |
10423 | -export interface PostServiceInvoiceInvoiceWriteOffResponse { | |
9261 | +/** @description response type for postServiceBankStatementQueryBankStatement */ | |
9262 | +export interface PostServiceBankStatementQueryBankStatementResponse { | |
10424 | 9263 | /** |
10425 | 9264 | * @description |
10426 | 9265 | * OK |
... | ... | @@ -10448,36 +9287,37 @@ export interface PostServiceInvoiceInvoiceWriteOffResponse { |
10448 | 9287 | 404: any; |
10449 | 9288 | } |
10450 | 9289 | |
10451 | -export type PostServiceInvoiceInvoiceWriteOffResponseSuccess = | |
10452 | - PostServiceInvoiceInvoiceWriteOffResponse[200]; | |
9290 | +export type PostServiceBankStatementQueryBankStatementResponseSuccess = | |
9291 | + PostServiceBankStatementQueryBankStatementResponse[200]; | |
10453 | 9292 | /** |
10454 | 9293 | * @description |
10455 | - * 发票核销 | |
10456 | - * @tags 发票 | |
9294 | + * 查询银行流水 | |
9295 | + * @tags 银行流水 | |
10457 | 9296 | * @produces * |
10458 | 9297 | * @consumes application/json |
10459 | 9298 | */ |
10460 | -export const postServiceInvoiceInvoiceWriteOff = /* #__PURE__ */ (() => { | |
10461 | - const method = 'post'; | |
10462 | - const url = '/service/invoice/invoiceWriteOff'; | |
10463 | - function request( | |
10464 | - option: PostServiceInvoiceInvoiceWriteOffOption, | |
10465 | - ): Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess> { | |
10466 | - return requester(request.url, { | |
10467 | - method: request.method, | |
10468 | - ...option, | |
10469 | - }) as unknown as Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess>; | |
10470 | - } | |
9299 | +export const postServiceBankStatementQueryBankStatement = | |
9300 | + /* #__PURE__ */ (() => { | |
9301 | + const method = 'post'; | |
9302 | + const url = '/service/bankStatement/queryBankStatement'; | |
9303 | + function request( | |
9304 | + option: PostServiceBankStatementQueryBankStatementOption, | |
9305 | + ): Promise<PostServiceBankStatementQueryBankStatementResponseSuccess> { | |
9306 | + return requester(request.url, { | |
9307 | + method: request.method, | |
9308 | + ...option, | |
9309 | + }) as unknown as Promise<PostServiceBankStatementQueryBankStatementResponseSuccess>; | |
9310 | + } | |
10471 | 9311 | |
10472 | - /** http method */ | |
10473 | - request.method = method; | |
10474 | - /** request url */ | |
10475 | - request.url = url; | |
10476 | - return request; | |
10477 | -})(); | |
9312 | + /** http method */ | |
9313 | + request.method = method; | |
9314 | + /** request url */ | |
9315 | + request.url = url; | |
9316 | + return request; | |
9317 | + })(); | |
10478 | 9318 | |
10479 | -/** @description request parameter type for postServiceInvoiceInvoicing */ | |
10480 | -export interface PostServiceInvoiceInvoicingOption { | |
9319 | +/** @description request parameter type for postServiceInvoiceAddInvoice */ | |
9320 | +export interface PostServiceInvoiceAddInvoiceOption { | |
10481 | 9321 | /** |
10482 | 9322 | * @description |
10483 | 9323 | * dto |
... | ... | @@ -10486,12 +9326,12 @@ export interface PostServiceInvoiceInvoicingOption { |
10486 | 9326 | /** |
10487 | 9327 | @description |
10488 | 9328 | dto */ |
10489 | - dto: Dto; | |
9329 | + dto: InvoiceDto; | |
10490 | 9330 | }; |
10491 | 9331 | } |
10492 | 9332 | |
10493 | -/** @description response type for postServiceInvoiceInvoicing */ | |
10494 | -export interface PostServiceInvoiceInvoicingResponse { | |
9333 | +/** @description response type for postServiceInvoiceAddInvoice */ | |
9334 | +export interface PostServiceInvoiceAddInvoiceResponse { | |
10495 | 9335 | /** |
10496 | 9336 | * @description |
10497 | 9337 | * OK |
... | ... | @@ -10519,25 +9359,25 @@ export interface PostServiceInvoiceInvoicingResponse { |
10519 | 9359 | 404: any; |
10520 | 9360 | } |
10521 | 9361 | |
10522 | -export type PostServiceInvoiceInvoicingResponseSuccess = | |
10523 | - PostServiceInvoiceInvoicingResponse[200]; | |
9362 | +export type PostServiceInvoiceAddInvoiceResponseSuccess = | |
9363 | + PostServiceInvoiceAddInvoiceResponse[200]; | |
10524 | 9364 | /** |
10525 | 9365 | * @description |
10526 | - * 开票 | |
9366 | + * 添加发票 | |
10527 | 9367 | * @tags 发票 |
10528 | 9368 | * @produces * |
10529 | 9369 | * @consumes application/json |
10530 | 9370 | */ |
10531 | -export const postServiceInvoiceInvoicing = /* #__PURE__ */ (() => { | |
9371 | +export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { | |
10532 | 9372 | const method = 'post'; |
10533 | - const url = '/service/invoice/invoicing'; | |
9373 | + const url = '/service/invoice/addInvoice'; | |
10534 | 9374 | function request( |
10535 | - option: PostServiceInvoiceInvoicingOption, | |
10536 | - ): Promise<PostServiceInvoiceInvoicingResponseSuccess> { | |
9375 | + option: PostServiceInvoiceAddInvoiceOption, | |
9376 | + ): Promise<PostServiceInvoiceAddInvoiceResponseSuccess> { | |
10537 | 9377 | return requester(request.url, { |
10538 | 9378 | method: request.method, |
10539 | 9379 | ...option, |
10540 | - }) as unknown as Promise<PostServiceInvoiceInvoicingResponseSuccess>; | |
9380 | + }) as unknown as Promise<PostServiceInvoiceAddInvoiceResponseSuccess>; | |
10541 | 9381 | } |
10542 | 9382 | |
10543 | 9383 | /** http method */ |
... | ... | @@ -10547,8 +9387,8 @@ export const postServiceInvoiceInvoicing = /* #__PURE__ */ (() => { |
10547 | 9387 | return request; |
10548 | 9388 | })(); |
10549 | 9389 | |
10550 | -/** @description request parameter type for postServiceInvoiceModifyRecord */ | |
10551 | -export interface PostServiceInvoiceModifyRecordOption { | |
9390 | +/** @description request parameter type for postServiceInvoiceCancelInvoiceAndBankStatement */ | |
9391 | +export interface PostServiceInvoiceCancelInvoiceAndBankStatementOption { | |
10552 | 9392 | /** |
10553 | 9393 | * @description |
10554 | 9394 | * dto |
... | ... | @@ -10557,12 +9397,12 @@ export interface PostServiceInvoiceModifyRecordOption { |
10557 | 9397 | /** |
10558 | 9398 | @description |
10559 | 9399 | dto */ |
10560 | - dto: InvoiceRecordDto; | |
9400 | + dto: CancelInvoiceAndBankStatementDto; | |
10561 | 9401 | }; |
10562 | 9402 | } |
10563 | 9403 | |
10564 | -/** @description response type for postServiceInvoiceModifyRecord */ | |
10565 | -export interface PostServiceInvoiceModifyRecordResponse { | |
9404 | +/** @description response type for postServiceInvoiceCancelInvoiceAndBankStatement */ | |
9405 | +export interface PostServiceInvoiceCancelInvoiceAndBankStatementResponse { | |
10566 | 9406 | /** |
10567 | 9407 | * @description |
10568 | 9408 | * OK |
... | ... | @@ -10590,36 +9430,37 @@ export interface PostServiceInvoiceModifyRecordResponse { |
10590 | 9430 | 404: any; |
10591 | 9431 | } |
10592 | 9432 | |
10593 | -export type PostServiceInvoiceModifyRecordResponseSuccess = | |
10594 | - PostServiceInvoiceModifyRecordResponse[200]; | |
9433 | +export type PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess = | |
9434 | + PostServiceInvoiceCancelInvoiceAndBankStatementResponse[200]; | |
10595 | 9435 | /** |
10596 | 9436 | * @description |
10597 | - * 修改开票记录 | |
9437 | + * 取消发票与银行流水的关联 | |
10598 | 9438 | * @tags 发票 |
10599 | 9439 | * @produces * |
10600 | 9440 | * @consumes application/json |
10601 | 9441 | */ |
10602 | -export const postServiceInvoiceModifyRecord = /* #__PURE__ */ (() => { | |
10603 | - const method = 'post'; | |
10604 | - const url = '/service/invoice/modifyRecord'; | |
10605 | - function request( | |
10606 | - option: PostServiceInvoiceModifyRecordOption, | |
10607 | - ): Promise<PostServiceInvoiceModifyRecordResponseSuccess> { | |
10608 | - return requester(request.url, { | |
10609 | - method: request.method, | |
10610 | - ...option, | |
10611 | - }) as unknown as Promise<PostServiceInvoiceModifyRecordResponseSuccess>; | |
10612 | - } | |
9442 | +export const postServiceInvoiceCancelInvoiceAndBankStatement = | |
9443 | + /* #__PURE__ */ (() => { | |
9444 | + const method = 'post'; | |
9445 | + const url = '/service/invoice/cancelInvoiceAndBankStatement'; | |
9446 | + function request( | |
9447 | + option: PostServiceInvoiceCancelInvoiceAndBankStatementOption, | |
9448 | + ): Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess> { | |
9449 | + return requester(request.url, { | |
9450 | + method: request.method, | |
9451 | + ...option, | |
9452 | + }) as unknown as Promise<PostServiceInvoiceCancelInvoiceAndBankStatementResponseSuccess>; | |
9453 | + } | |
10613 | 9454 | |
10614 | - /** http method */ | |
10615 | - request.method = method; | |
10616 | - /** request url */ | |
10617 | - request.url = url; | |
10618 | - return request; | |
10619 | -})(); | |
9455 | + /** http method */ | |
9456 | + request.method = method; | |
9457 | + /** request url */ | |
9458 | + request.url = url; | |
9459 | + return request; | |
9460 | + })(); | |
10620 | 9461 | |
10621 | -/** @description request parameter type for postServiceInvoiceQueryInvoice */ | |
10622 | -export interface PostServiceInvoiceQueryInvoiceOption { | |
9462 | +/** @description request parameter type for postServiceInvoiceDeleteInvoice */ | |
9463 | +export interface PostServiceInvoiceDeleteInvoiceOption { | |
10623 | 9464 | /** |
10624 | 9465 | * @description |
10625 | 9466 | * dto |
... | ... | @@ -10632,8 +9473,8 @@ export interface PostServiceInvoiceQueryInvoiceOption { |
10632 | 9473 | }; |
10633 | 9474 | } |
10634 | 9475 | |
10635 | -/** @description response type for postServiceInvoiceQueryInvoice */ | |
10636 | -export interface PostServiceInvoiceQueryInvoiceResponse { | |
9476 | +/** @description response type for postServiceInvoiceDeleteInvoice */ | |
9477 | +export interface PostServiceInvoiceDeleteInvoiceResponse { | |
10637 | 9478 | /** |
10638 | 9479 | * @description |
10639 | 9480 | * OK |
... | ... | @@ -10661,25 +9502,25 @@ export interface PostServiceInvoiceQueryInvoiceResponse { |
10661 | 9502 | 404: any; |
10662 | 9503 | } |
10663 | 9504 | |
10664 | -export type PostServiceInvoiceQueryInvoiceResponseSuccess = | |
10665 | - PostServiceInvoiceQueryInvoiceResponse[200]; | |
9505 | +export type PostServiceInvoiceDeleteInvoiceResponseSuccess = | |
9506 | + PostServiceInvoiceDeleteInvoiceResponse[200]; | |
10666 | 9507 | /** |
10667 | 9508 | * @description |
10668 | - * 发票页查询 | |
9509 | + * 删除发票 | |
10669 | 9510 | * @tags 发票 |
10670 | 9511 | * @produces * |
10671 | 9512 | * @consumes application/json |
10672 | 9513 | */ |
10673 | -export const postServiceInvoiceQueryInvoice = /* #__PURE__ */ (() => { | |
9514 | +export const postServiceInvoiceDeleteInvoice = /* #__PURE__ */ (() => { | |
10674 | 9515 | const method = 'post'; |
10675 | - const url = '/service/invoice/queryInvoice'; | |
9516 | + const url = '/service/invoice/deleteInvoice'; | |
10676 | 9517 | function request( |
10677 | - option: PostServiceInvoiceQueryInvoiceOption, | |
10678 | - ): Promise<PostServiceInvoiceQueryInvoiceResponseSuccess> { | |
9518 | + option: PostServiceInvoiceDeleteInvoiceOption, | |
9519 | + ): Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess> { | |
10679 | 9520 | return requester(request.url, { |
10680 | 9521 | method: request.method, |
10681 | 9522 | ...option, |
10682 | - }) as unknown as Promise<PostServiceInvoiceQueryInvoiceResponseSuccess>; | |
9523 | + }) as unknown as Promise<PostServiceInvoiceDeleteInvoiceResponseSuccess>; | |
10683 | 9524 | } |
10684 | 9525 | |
10685 | 9526 | /** http method */ |
... | ... | @@ -10689,8 +9530,8 @@ export const postServiceInvoiceQueryInvoice = /* #__PURE__ */ (() => { |
10689 | 9530 | return request; |
10690 | 9531 | })(); |
10691 | 9532 | |
10692 | -/** @description request parameter type for postServiceInvoiceQueryInvoiceDetail */ | |
10693 | -export interface PostServiceInvoiceQueryInvoiceDetailOption { | |
9533 | +/** @description request parameter type for postServiceInvoiceFindInvoice */ | |
9534 | +export interface PostServiceInvoiceFindInvoiceOption { | |
10694 | 9535 | /** |
10695 | 9536 | * @description |
10696 | 9537 | * dto |
... | ... | @@ -10699,12 +9540,12 @@ export interface PostServiceInvoiceQueryInvoiceDetailOption { |
10699 | 9540 | /** |
10700 | 9541 | @description |
10701 | 9542 | dto */ |
10702 | - dto: QueryInvoiceDetailDto; | |
9543 | + dto: Dto; | |
10703 | 9544 | }; |
10704 | 9545 | } |
10705 | 9546 | |
10706 | -/** @description response type for postServiceInvoiceQueryInvoiceDetail */ | |
10707 | -export interface PostServiceInvoiceQueryInvoiceDetailResponse { | |
9547 | +/** @description response type for postServiceInvoiceFindInvoice */ | |
9548 | +export interface PostServiceInvoiceFindInvoiceResponse { | |
10708 | 9549 | /** |
10709 | 9550 | * @description |
10710 | 9551 | * OK |
... | ... | @@ -10732,25 +9573,25 @@ export interface PostServiceInvoiceQueryInvoiceDetailResponse { |
10732 | 9573 | 404: any; |
10733 | 9574 | } |
10734 | 9575 | |
10735 | -export type PostServiceInvoiceQueryInvoiceDetailResponseSuccess = | |
10736 | - PostServiceInvoiceQueryInvoiceDetailResponse[200]; | |
9576 | +export type PostServiceInvoiceFindInvoiceResponseSuccess = | |
9577 | + PostServiceInvoiceFindInvoiceResponse[200]; | |
10737 | 9578 | /** |
10738 | 9579 | * @description |
10739 | - * 查看发票详情 | |
9580 | + * 不分页查询发票 | |
10740 | 9581 | * @tags 发票 |
10741 | 9582 | * @produces * |
10742 | 9583 | * @consumes application/json |
10743 | 9584 | */ |
10744 | -export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { | |
9585 | +export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { | |
10745 | 9586 | const method = 'post'; |
10746 | - const url = '/service/invoice/queryInvoiceDetail'; | |
9587 | + const url = '/service/invoice/findInvoice'; | |
10747 | 9588 | function request( |
10748 | - option: PostServiceInvoiceQueryInvoiceDetailOption, | |
10749 | - ): Promise<PostServiceInvoiceQueryInvoiceDetailResponseSuccess> { | |
9589 | + option: PostServiceInvoiceFindInvoiceOption, | |
9590 | + ): Promise<PostServiceInvoiceFindInvoiceResponseSuccess> { | |
10750 | 9591 | return requester(request.url, { |
10751 | 9592 | method: request.method, |
10752 | 9593 | ...option, |
10753 | - }) as unknown as Promise<PostServiceInvoiceQueryInvoiceDetailResponseSuccess>; | |
9594 | + }) as unknown as Promise<PostServiceInvoiceFindInvoiceResponseSuccess>; | |
10754 | 9595 | } |
10755 | 9596 | |
10756 | 9597 | /** http method */ |
... | ... | @@ -10760,8 +9601,8 @@ export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { |
10760 | 9601 | return request; |
10761 | 9602 | })(); |
10762 | 9603 | |
10763 | -/** @description request parameter type for postServiceInvoiceQueryInvoiceRecordList */ | |
10764 | -export interface PostServiceInvoiceQueryInvoiceRecordListOption { | |
9604 | +/** @description request parameter type for postServiceInvoiceInvoiceWriteOff */ | |
9605 | +export interface PostServiceInvoiceInvoiceWriteOffOption { | |
10765 | 9606 | /** |
10766 | 9607 | * @description |
10767 | 9608 | * dto |
... | ... | @@ -10770,12 +9611,12 @@ export interface PostServiceInvoiceQueryInvoiceRecordListOption { |
10770 | 9611 | /** |
10771 | 9612 | @description |
10772 | 9613 | dto */ |
10773 | - dto: QueryInvoiceRecordDto; | |
9614 | + dto: Dto; | |
10774 | 9615 | }; |
10775 | 9616 | } |
10776 | 9617 | |
10777 | -/** @description response type for postServiceInvoiceQueryInvoiceRecordList */ | |
10778 | -export interface PostServiceInvoiceQueryInvoiceRecordListResponse { | |
9618 | +/** @description response type for postServiceInvoiceInvoiceWriteOff */ | |
9619 | +export interface PostServiceInvoiceInvoiceWriteOffResponse { | |
10779 | 9620 | /** |
10780 | 9621 | * @description |
10781 | 9622 | * OK |
... | ... | @@ -10803,25 +9644,25 @@ export interface PostServiceInvoiceQueryInvoiceRecordListResponse { |
10803 | 9644 | 404: any; |
10804 | 9645 | } |
10805 | 9646 | |
10806 | -export type PostServiceInvoiceQueryInvoiceRecordListResponseSuccess = | |
10807 | - PostServiceInvoiceQueryInvoiceRecordListResponse[200]; | |
9647 | +export type PostServiceInvoiceInvoiceWriteOffResponseSuccess = | |
9648 | + PostServiceInvoiceInvoiceWriteOffResponse[200]; | |
10808 | 9649 | /** |
10809 | 9650 | * @description |
10810 | - * 获取开票记录列表 | |
9651 | + * 发票核销 | |
10811 | 9652 | * @tags 发票 |
10812 | 9653 | * @produces * |
10813 | 9654 | * @consumes application/json |
10814 | 9655 | */ |
10815 | -export const postServiceInvoiceQueryInvoiceRecordList = /* #__PURE__ */ (() => { | |
9656 | +export const postServiceInvoiceInvoiceWriteOff = /* #__PURE__ */ (() => { | |
10816 | 9657 | const method = 'post'; |
10817 | - const url = '/service/invoice/queryInvoiceRecordList'; | |
9658 | + const url = '/service/invoice/invoiceWriteOff'; | |
10818 | 9659 | function request( |
10819 | - option: PostServiceInvoiceQueryInvoiceRecordListOption, | |
10820 | - ): Promise<PostServiceInvoiceQueryInvoiceRecordListResponseSuccess> { | |
9660 | + option: PostServiceInvoiceInvoiceWriteOffOption, | |
9661 | + ): Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess> { | |
10821 | 9662 | return requester(request.url, { |
10822 | 9663 | method: request.method, |
10823 | 9664 | ...option, |
10824 | - }) as unknown as Promise<PostServiceInvoiceQueryInvoiceRecordListResponseSuccess>; | |
9665 | + }) as unknown as Promise<PostServiceInvoiceInvoiceWriteOffResponseSuccess>; | |
10825 | 9666 | } |
10826 | 9667 | |
10827 | 9668 | /** http method */ |
... | ... | @@ -10831,57 +9672,8 @@ export const postServiceInvoiceQueryInvoiceRecordList = /* #__PURE__ */ (() => { |
10831 | 9672 | return request; |
10832 | 9673 | })(); |
10833 | 9674 | |
10834 | -/** @description response type for getServiceInvoiceQueryReadyInvoiceRecordList */ | |
10835 | -export interface GetServiceInvoiceQueryReadyInvoiceRecordListResponse { | |
10836 | - /** | |
10837 | - * @description | |
10838 | - * OK | |
10839 | - */ | |
10840 | - 200: ServerResult; | |
10841 | - /** | |
10842 | - * @description | |
10843 | - * Unauthorized | |
10844 | - */ | |
10845 | - 401: any; | |
10846 | - /** | |
10847 | - * @description | |
10848 | - * Forbidden | |
10849 | - */ | |
10850 | - 403: any; | |
10851 | - /** | |
10852 | - * @description | |
10853 | - * Not Found | |
10854 | - */ | |
10855 | - 404: any; | |
10856 | -} | |
10857 | - | |
10858 | -export type GetServiceInvoiceQueryReadyInvoiceRecordListResponseSuccess = | |
10859 | - GetServiceInvoiceQueryReadyInvoiceRecordListResponse[200]; | |
10860 | -/** | |
10861 | - * @description | |
10862 | - * 获取要开票记录列表 | |
10863 | - * @tags 发票 | |
10864 | - * @produces * | |
10865 | - */ | |
10866 | -export const getServiceInvoiceQueryReadyInvoiceRecordList = | |
10867 | - /* #__PURE__ */ (() => { | |
10868 | - const method = 'get'; | |
10869 | - const url = '/service/invoice/queryReadyInvoiceRecordList'; | |
10870 | - function request(): Promise<GetServiceInvoiceQueryReadyInvoiceRecordListResponseSuccess> { | |
10871 | - return requester(request.url, { | |
10872 | - method: request.method, | |
10873 | - }) as unknown as Promise<GetServiceInvoiceQueryReadyInvoiceRecordListResponseSuccess>; | |
10874 | - } | |
10875 | - | |
10876 | - /** http method */ | |
10877 | - request.method = method; | |
10878 | - /** request url */ | |
10879 | - request.url = url; | |
10880 | - return request; | |
10881 | - })(); | |
10882 | - | |
10883 | -/** @description request parameter type for postServiceInvoiceReissue */ | |
10884 | -export interface PostServiceInvoiceReissueOption { | |
9675 | +/** @description request parameter type for postServiceInvoiceQueryInvoice */ | |
9676 | +export interface PostServiceInvoiceQueryInvoiceOption { | |
10885 | 9677 | /** |
10886 | 9678 | * @description |
10887 | 9679 | * dto |
... | ... | @@ -10890,12 +9682,12 @@ export interface PostServiceInvoiceReissueOption { |
10890 | 9682 | /** |
10891 | 9683 | @description |
10892 | 9684 | dto */ |
10893 | - dto: ReissueInvoiceDto; | |
9685 | + dto: Dto; | |
10894 | 9686 | }; |
10895 | 9687 | } |
10896 | 9688 | |
10897 | -/** @description response type for postServiceInvoiceReissue */ | |
10898 | -export interface PostServiceInvoiceReissueResponse { | |
9689 | +/** @description response type for postServiceInvoiceQueryInvoice */ | |
9690 | +export interface PostServiceInvoiceQueryInvoiceResponse { | |
10899 | 9691 | /** |
10900 | 9692 | * @description |
10901 | 9693 | * OK |
... | ... | @@ -10923,25 +9715,25 @@ export interface PostServiceInvoiceReissueResponse { |
10923 | 9715 | 404: any; |
10924 | 9716 | } |
10925 | 9717 | |
10926 | -export type PostServiceInvoiceReissueResponseSuccess = | |
10927 | - PostServiceInvoiceReissueResponse[200]; | |
9718 | +export type PostServiceInvoiceQueryInvoiceResponseSuccess = | |
9719 | + PostServiceInvoiceQueryInvoiceResponse[200]; | |
10928 | 9720 | /** |
10929 | 9721 | * @description |
10930 | - * 重新开票 | |
9722 | + * 发票页查询 | |
10931 | 9723 | * @tags 发票 |
10932 | 9724 | * @produces * |
10933 | 9725 | * @consumes application/json |
10934 | 9726 | */ |
10935 | -export const postServiceInvoiceReissue = /* #__PURE__ */ (() => { | |
9727 | +export const postServiceInvoiceQueryInvoice = /* #__PURE__ */ (() => { | |
10936 | 9728 | const method = 'post'; |
10937 | - const url = '/service/invoice/reissue'; | |
9729 | + const url = '/service/invoice/queryInvoice'; | |
10938 | 9730 | function request( |
10939 | - option: PostServiceInvoiceReissueOption, | |
10940 | - ): Promise<PostServiceInvoiceReissueResponseSuccess> { | |
9731 | + option: PostServiceInvoiceQueryInvoiceOption, | |
9732 | + ): Promise<PostServiceInvoiceQueryInvoiceResponseSuccess> { | |
10941 | 9733 | return requester(request.url, { |
10942 | 9734 | method: request.method, |
10943 | 9735 | ...option, |
10944 | - }) as unknown as Promise<PostServiceInvoiceReissueResponseSuccess>; | |
9736 | + }) as unknown as Promise<PostServiceInvoiceQueryInvoiceResponseSuccess>; | |
10945 | 9737 | } |
10946 | 9738 | |
10947 | 9739 | /** http method */ |
... | ... | @@ -10951,8 +9743,8 @@ export const postServiceInvoiceReissue = /* #__PURE__ */ (() => { |
10951 | 9743 | return request; |
10952 | 9744 | })(); |
10953 | 9745 | |
10954 | -/** @description request parameter type for postServiceInvoiceReissueAudit */ | |
10955 | -export interface PostServiceInvoiceReissueAuditOption { | |
9746 | +/** @description request parameter type for postServiceInvoiceQueryInvoiceDetail */ | |
9747 | +export interface PostServiceInvoiceQueryInvoiceDetailOption { | |
10956 | 9748 | /** |
10957 | 9749 | * @description |
10958 | 9750 | * dto |
... | ... | @@ -10961,12 +9753,12 @@ export interface PostServiceInvoiceReissueAuditOption { |
10961 | 9753 | /** |
10962 | 9754 | @description |
10963 | 9755 | dto */ |
10964 | - dto: AuditDto; | |
9756 | + dto: QueryInvoiceDetailDto; | |
10965 | 9757 | }; |
10966 | 9758 | } |
10967 | 9759 | |
10968 | -/** @description response type for postServiceInvoiceReissueAudit */ | |
10969 | -export interface PostServiceInvoiceReissueAuditResponse { | |
9760 | +/** @description response type for postServiceInvoiceQueryInvoiceDetail */ | |
9761 | +export interface PostServiceInvoiceQueryInvoiceDetailResponse { | |
10970 | 9762 | /** |
10971 | 9763 | * @description |
10972 | 9764 | * OK |
... | ... | @@ -10994,25 +9786,25 @@ export interface PostServiceInvoiceReissueAuditResponse { |
10994 | 9786 | 404: any; |
10995 | 9787 | } |
10996 | 9788 | |
10997 | -export type PostServiceInvoiceReissueAuditResponseSuccess = | |
10998 | - PostServiceInvoiceReissueAuditResponse[200]; | |
9789 | +export type PostServiceInvoiceQueryInvoiceDetailResponseSuccess = | |
9790 | + PostServiceInvoiceQueryInvoiceDetailResponse[200]; | |
10999 | 9791 | /** |
11000 | 9792 | * @description |
11001 | - * 重新开票审核 | |
9793 | + * 查看发票详情 | |
11002 | 9794 | * @tags 发票 |
11003 | 9795 | * @produces * |
11004 | 9796 | * @consumes application/json |
11005 | 9797 | */ |
11006 | -export const postServiceInvoiceReissueAudit = /* #__PURE__ */ (() => { | |
9798 | +export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { | |
11007 | 9799 | const method = 'post'; |
11008 | - const url = '/service/invoice/reissueAudit'; | |
9800 | + const url = '/service/invoice/queryInvoiceDetail'; | |
11009 | 9801 | function request( |
11010 | - option: PostServiceInvoiceReissueAuditOption, | |
11011 | - ): Promise<PostServiceInvoiceReissueAuditResponseSuccess> { | |
9802 | + option: PostServiceInvoiceQueryInvoiceDetailOption, | |
9803 | + ): Promise<PostServiceInvoiceQueryInvoiceDetailResponseSuccess> { | |
11012 | 9804 | return requester(request.url, { |
11013 | 9805 | method: request.method, |
11014 | 9806 | ...option, |
11015 | - }) as unknown as Promise<PostServiceInvoiceReissueAuditResponseSuccess>; | |
9807 | + }) as unknown as Promise<PostServiceInvoiceQueryInvoiceDetailResponseSuccess>; | |
11016 | 9808 | } |
11017 | 9809 | |
11018 | 9810 | /** http method */ |
... | ... | @@ -11022,8 +9814,8 @@ export const postServiceInvoiceReissueAudit = /* #__PURE__ */ (() => { |
11022 | 9814 | return request; |
11023 | 9815 | })(); |
11024 | 9816 | |
11025 | -/** @description request parameter type for postServiceInvoiceUrgentInvoicing */ | |
11026 | -export interface PostServiceInvoiceUrgentInvoicingOption { | |
9817 | +/** @description request parameter type for postServiceInvoiceReissue */ | |
9818 | +export interface PostServiceInvoiceReissueOption { | |
11027 | 9819 | /** |
11028 | 9820 | * @description |
11029 | 9821 | * dto |
... | ... | @@ -11032,12 +9824,12 @@ export interface PostServiceInvoiceUrgentInvoicingOption { |
11032 | 9824 | /** |
11033 | 9825 | @description |
11034 | 9826 | dto */ |
11035 | - dto: AuditDto; | |
9827 | + dto: ReissueInvoiceDto; | |
11036 | 9828 | }; |
11037 | 9829 | } |
11038 | 9830 | |
11039 | -/** @description response type for postServiceInvoiceUrgentInvoicing */ | |
11040 | -export interface PostServiceInvoiceUrgentInvoicingResponse { | |
9831 | +/** @description response type for postServiceInvoiceReissue */ | |
9832 | +export interface PostServiceInvoiceReissueResponse { | |
11041 | 9833 | /** |
11042 | 9834 | * @description |
11043 | 9835 | * OK |
... | ... | @@ -11065,25 +9857,25 @@ export interface PostServiceInvoiceUrgentInvoicingResponse { |
11065 | 9857 | 404: any; |
11066 | 9858 | } |
11067 | 9859 | |
11068 | -export type PostServiceInvoiceUrgentInvoicingResponseSuccess = | |
11069 | - PostServiceInvoiceUrgentInvoicingResponse[200]; | |
9860 | +export type PostServiceInvoiceReissueResponseSuccess = | |
9861 | + PostServiceInvoiceReissueResponse[200]; | |
11070 | 9862 | /** |
11071 | 9863 | * @description |
11072 | - * 加急开票审核 | |
9864 | + * 重新开票 | |
11073 | 9865 | * @tags 发票 |
11074 | 9866 | * @produces * |
11075 | 9867 | * @consumes application/json |
11076 | 9868 | */ |
11077 | -export const postServiceInvoiceUrgentInvoicing = /* #__PURE__ */ (() => { | |
9869 | +export const postServiceInvoiceReissue = /* #__PURE__ */ (() => { | |
11078 | 9870 | const method = 'post'; |
11079 | - const url = '/service/invoice/urgentInvoicing'; | |
9871 | + const url = '/service/invoice/reissue'; | |
11080 | 9872 | function request( |
11081 | - option: PostServiceInvoiceUrgentInvoicingOption, | |
11082 | - ): Promise<PostServiceInvoiceUrgentInvoicingResponseSuccess> { | |
9873 | + option: PostServiceInvoiceReissueOption, | |
9874 | + ): Promise<PostServiceInvoiceReissueResponseSuccess> { | |
11083 | 9875 | return requester(request.url, { |
11084 | 9876 | method: request.method, |
11085 | 9877 | ...option, |
11086 | - }) as unknown as Promise<PostServiceInvoiceUrgentInvoicingResponseSuccess>; | |
9878 | + }) as unknown as Promise<PostServiceInvoiceReissueResponseSuccess>; | |
11087 | 9879 | } |
11088 | 9880 | |
11089 | 9881 | /** http method */ | ... | ... |
tailwind.config.js
1 | -module.exports = { | |
2 | - content: [ | |
3 | - './src/pages/**/*.tsx', | |
4 | - './src/components/**/*.tsx', | |
5 | - './src/layouts/**/*.tsx', | |
6 | - ], | |
7 | - corePlugins: { | |
8 | - preflight: false, | |
9 | - }, | |
1 | +export const content = [ | |
2 | + './src/pages/**/*.tsx', | |
3 | + './src/components/**/*.tsx', | |
4 | + './src/layouts/**/*.tsx', | |
5 | +]; | |
6 | +export const corePlugins = { | |
7 | + preflight: false, | |
10 | 8 | }; | ... | ... |