Commit 3fca9d3d5e57c457d59f1732ee3987a60125de1b
1 parent
77557615
分期订单
Showing
15 changed files
with
6689 additions
and
1656 deletions
.umirc.ts
... | ... | @@ -59,6 +59,13 @@ export default defineConfig({ |
59 | 59 | access: 'canReadAdminAndFinance', |
60 | 60 | }, |
61 | 61 | { |
62 | + name: '分期账单', | |
63 | + path: '/instalment', | |
64 | + component: './Instalment', | |
65 | + icon: 'BookOutlined', | |
66 | + access: 'canReadAdminAndFinance', | |
67 | + }, | |
68 | + { | |
62 | 69 | name: '打印', |
63 | 70 | path: '/print', |
64 | 71 | component: './OrderPrint', | ... | ... |
src/pages/Instalment/components/detail/detail.tsx
0 → 100644
1 | +import { PlusOutlined } from '@ant-design/icons'; | |
2 | +import { | |
3 | + ModalForm, | |
4 | + ProCard, | |
5 | + ProForm, | |
6 | + ProFormDatePicker, | |
7 | + ProFormText, | |
8 | + ProFormTextArea, | |
9 | + ProFormUploadButton, | |
10 | +} from '@ant-design/pro-components'; | |
11 | +import ProductDetail from '../productDetail/productDetail'; | |
12 | +import PayWayDetail from '../payWayDetail/payWayDetail'; | |
13 | +import { Button, Form,message } from 'antd'; | |
14 | +import { useEffect,useState } from 'react'; | |
15 | +import { postOrderErpOrderStagesPayWaySaveOrUpdate, postOrderErpOrderStagesSaveOrUpdate, postOrderErpOrderStagesSearch, postOrderErpOrderStagesUpload } from '@/services'; | |
16 | +import { RcFile } from 'antd/es/upload'; | |
17 | + | |
18 | +const waitTime = (time: number = 100) => { | |
19 | + return new Promise((resolve) => { | |
20 | + setTimeout(() => { | |
21 | + resolve(true); | |
22 | + }, time); | |
23 | + }); | |
24 | +}; | |
25 | + | |
26 | +export default ({ toReload }) => { | |
27 | + const [form] = Form.useForm<{ name: string; company: string }>(); | |
28 | + const [contextBody, setContextBody] = useState<OrderStagesWithListItem>({ | |
29 | + id:undefined, | |
30 | + contract:undefined, | |
31 | + dateRange:undefined, | |
32 | + terminal:undefined, | |
33 | + orderStagesDeviceVoList:[], | |
34 | + totalPrice:undefined, | |
35 | + payWay:"30/30/30/10", | |
36 | + annex:undefined, | |
37 | + remark:undefined | |
38 | + }); | |
39 | + const [editProductBody, setEditProductBody] = useState([]); | |
40 | + const [total, setTotal] = useState(0); | |
41 | + const [payWayBody, setPayWayBody] = useState([]) | |
42 | + const [otherBody, setOtherBody] = useState([]) | |
43 | + const [isDis,setIsDis]=useState(true) | |
44 | + | |
45 | + | |
46 | + type OrderStagesWithListItem = { | |
47 | + //文件编号 | |
48 | + id?: number; | |
49 | + //合同编号 | |
50 | + contract?: string; | |
51 | + //供应商名称 | |
52 | + vendor?: string; | |
53 | + //签合同日期 | |
54 | + dateRange?: Date; | |
55 | + //终端名称 | |
56 | + terminal?: string; | |
57 | + orderStagesDeviceVoList: orderStagesDevice[] | |
58 | + //合同总金额 | |
59 | + totalPrice?: number; | |
60 | + //付款方式 | |
61 | + payWay?: string; | |
62 | + //附件 | |
63 | + annex?: string; | |
64 | + //备注 | |
65 | + remark?: string; | |
66 | + }; | |
67 | + | |
68 | + type orderStagesDevice = { | |
69 | + //设备id | |
70 | + dId: number; | |
71 | + //设备名称 | |
72 | + deviceName: string; | |
73 | + //设备型号 | |
74 | + deviceModel: string; | |
75 | + //数量 | |
76 | + count: number; | |
77 | + //单价 | |
78 | + unitPrice: number; | |
79 | + //总价 | |
80 | + price: number; | |
81 | + } | |
82 | + | |
83 | + function getEditProductBody(value) { | |
84 | + console.log(value); | |
85 | + | |
86 | + setEditProductBody(value) | |
87 | + let price = 0; | |
88 | + value.map(obj => ( | |
89 | + price += (obj.count * obj.unitPrice) | |
90 | + )); | |
91 | + setTotal(price); | |
92 | + setContextBody({ ...contextBody, orderStagesDeviceVoList: value }) | |
93 | + if (contextBody.payWay==="") { | |
94 | + handleInputChange("30/30/30/10", 0, price) | |
95 | + }else{ | |
96 | + handleInputChange(contextBody.payWay, 0, price) | |
97 | + } | |
98 | + } | |
99 | + [] | |
100 | + function setSave(value) { | |
101 | + console.log(value); | |
102 | + setOtherBody(value) | |
103 | + } | |
104 | + | |
105 | + useEffect(() => { | |
106 | + setContextBody({ ...contextBody, totalPrice: total }) | |
107 | + form.setFieldValue('totalPrice', total); | |
108 | + }, [total]) | |
109 | + | |
110 | + const handleInputChange = (value: string, no: number, priceNow?: number) => { | |
111 | + if (value==="") { | |
112 | + message.info("请输入比例!") | |
113 | + }else{ | |
114 | + let totalPay = 0; | |
115 | + const payValue: string[] = value.split("/") | |
116 | + let body: ((prevState: never[]) => never[]) | { proportion: string; payPrice: number; }[] = []; | |
117 | + if (no === 1) { | |
118 | + if (payValue.length !== 4) { | |
119 | + message.warning('比例个数总和不为4个!'); | |
120 | + } else { | |
121 | + payValue.forEach((item, index) => { | |
122 | + totalPay += Number(item) | |
123 | + }) | |
124 | + } | |
125 | + if (totalPay != 100) { | |
126 | + message.warning('比例总和不为100!'); | |
127 | + } else { | |
128 | + message.success('输入有效!'); | |
129 | + payValue.forEach((item, index) => { | |
130 | + body.push({ proportion: item + "%", payPrice: Number(item) * total / 100 }) | |
131 | + }) | |
132 | + setPayWayBody(body) | |
133 | + } | |
134 | + } else { | |
135 | + payValue.forEach((item, index) => { | |
136 | + totalPay += Number(item) | |
137 | + }) | |
138 | + payValue.forEach((item, index) => { | |
139 | + body.push({ proportion: item + "%", payPrice: Number(item) * priceNow / 100 }) | |
140 | + }) | |
141 | + setPayWayBody(body) | |
142 | + } | |
143 | + } | |
144 | + }; | |
145 | + | |
146 | + return ( | |
147 | + <ModalForm<OrderStagesWithListItem> | |
148 | + title="新建" | |
149 | + trigger={ | |
150 | + <Button | |
151 | + key="button" | |
152 | + icon={<PlusOutlined />} | |
153 | + type="primary" | |
154 | + > | |
155 | + 新增 | |
156 | + </Button> | |
157 | + } | |
158 | + form={form} | |
159 | + autoFocusFirstInput | |
160 | + modalProps={{ | |
161 | + destroyOnClose: true, | |
162 | + onCancel: () => console.log('run'), | |
163 | + }} | |
164 | + onChange={(value) => { | |
165 | + console.log(value); | |
166 | + }} | |
167 | + submitTimeout={2000} | |
168 | + onFinish={async (values) => { | |
169 | + console.log(values); | |
170 | + console.log(otherBody); | |
171 | + let remakeValue = []; | |
172 | + let remakeItem = {} | |
173 | + | |
174 | + const formData = new FormData(); | |
175 | + // let toSendEdit={...values,orderStagesDeviceVoList:contextBody.orderStagesDeviceVoList}; | |
176 | + let toSendEdit = { | |
177 | + id: values.id || contextBody.id, | |
178 | + contract: values.contract || contextBody.contract, | |
179 | + vendor: values.vendor || contextBody.vendor, | |
180 | + dateRange: values.dateRange || contextBody.dateRange, | |
181 | + terminal: values.terminal || contextBody.terminal, | |
182 | + orderStagesDeviceDoList: values.orderStagesDeviceVoList || contextBody.orderStagesDeviceVoList, | |
183 | + totalPrice: values.totalPrice || contextBody.totalPrice, | |
184 | + payWay: values.payWay || contextBody.payWay, | |
185 | + annex: contextBody.annex, | |
186 | + remark: values.remark || contextBody.remark, | |
187 | + }; | |
188 | + if (values.annex) { | |
189 | + formData.append('file', values.annex[0].originFileObj as RcFile); | |
190 | + const res = await postOrderErpOrderStagesUpload({ | |
191 | + data: formData, | |
192 | + headers: { | |
193 | + 'Content-Type': | |
194 | + 'multipart/form-data; boundary=----WebKitFormBoundarynl6gT1BKdPWIejNq', | |
195 | + } | |
196 | + }); | |
197 | + if (res.data) { | |
198 | + console.log(values) | |
199 | + console.log(contextBody); | |
200 | + toSendEdit.annex = res.data | |
201 | + } | |
202 | + } | |
203 | + const isSaveOrUpdate = await postOrderErpOrderStagesSaveOrUpdate({ | |
204 | + data: { ...toSendEdit } | |
205 | + }) | |
206 | + | |
207 | + if (isSaveOrUpdate) { | |
208 | + // 创建一个用于存储所有异步操作的Promise数组 | |
209 | + const promises = []; | |
210 | + | |
211 | + otherBody.forEach(item => { | |
212 | + let remakeItem = { ossId: item.ossId, number: item.id, dataRange: item.payDate, fileName: item.fileName }; | |
213 | + if (typeof item.fileUrl === 'object' && item.fileUrl instanceof File) { | |
214 | + const formData = new FormData(); | |
215 | + formData.append('file', item.fileUrl as RcFile); | |
216 | + const uploadPromise = async () => { | |
217 | + const res = await postOrderErpOrderStagesUpload({ | |
218 | + data: formData, | |
219 | + headers: { | |
220 | + 'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundarynl6gT1BKdPWIejNq', | |
221 | + } | |
222 | + }); | |
223 | + if (res.data) { | |
224 | + remakeItem.fileUrl = res.data; | |
225 | + } | |
226 | + }; | |
227 | + promises.push(uploadPromise()); | |
228 | + } | |
229 | + remakeValue.push(remakeItem); | |
230 | + }); | |
231 | + | |
232 | + let makeEnd=[] | |
233 | + const getRetrunIDPromise=async()=>{ | |
234 | + let returnOssID=await postOrderErpOrderStagesSearch({ | |
235 | + data:{contract: values.contract || contextBody.contract,}, | |
236 | + }) | |
237 | + console.log(returnOssID.data); | |
238 | + | |
239 | + if (returnOssID) { | |
240 | + makeEnd = remakeValue.map(item => { | |
241 | + return { ...item, ossId: returnOssID.data[0].id }; | |
242 | + }); | |
243 | + | |
244 | + console.log(makeEnd); | |
245 | + } | |
246 | + } | |
247 | + | |
248 | + promises.push(getRetrunIDPromise()); | |
249 | + | |
250 | + // 使用Promise.all等待所有异步操作完成后再执行保存操作 | |
251 | + Promise.all(promises).then( | |
252 | + async () => { | |
253 | + console.log(makeEnd); | |
254 | + await postOrderErpOrderStagesPayWaySaveOrUpdate({ | |
255 | + data: makeEnd | |
256 | + }); | |
257 | + }); | |
258 | + console.log(isSaveOrUpdate); | |
259 | + toReload() | |
260 | + } | |
261 | + await waitTime(2000); | |
262 | + message.success('提交成功'); | |
263 | + return true; | |
264 | + }} | |
265 | + > | |
266 | + <ProCard | |
267 | + title="基本信息" | |
268 | + headerBordered | |
269 | + bordered | |
270 | + > | |
271 | + <ProForm.Group> | |
272 | + <ProFormText | |
273 | + width="md" | |
274 | + name="vendor" | |
275 | + rules={[{ required: true, message: '此项为必填项' }]} | |
276 | + label="供应商名称" | |
277 | + placeholder="请输入" | |
278 | + initialValue={contextBody.vendor} | |
279 | + /> | |
280 | + | |
281 | + <ProFormText | |
282 | + width="md" | |
283 | + name="terminal" | |
284 | + rules={[{ required: true, message: '此项为必填项' }]} | |
285 | + label="终端名称" | |
286 | + placeholder="请输入" | |
287 | + initialValue={contextBody.terminal} | |
288 | + /> | |
289 | + | |
290 | + <ProFormDatePicker | |
291 | + name="dateRange" | |
292 | + width="md" | |
293 | + label="签合同日期" | |
294 | + placeholder="请选择日期" | |
295 | + fieldProps={{ | |
296 | + format: (value) => value.format('YYYY-MM-DD'), | |
297 | + }} | |
298 | + initialValue={contextBody.dateRange} | |
299 | + /> | |
300 | + | |
301 | + <ProFormText | |
302 | + width="md" | |
303 | + name="payWay" | |
304 | + rules={[{ required: true, message: '此项为必填项' }]} | |
305 | + label="付款比例" | |
306 | + placeholder="请输入" | |
307 | + initialValue={contextBody.payWay} | |
308 | + disabled={!isDis} | |
309 | + // onBlur={(e) => { | |
310 | + // setContextBody({...contextBody,payWay:e.target.value}) | |
311 | + // handleInputChange(e.target.value, 1); | |
312 | + // }} | |
313 | + /> | |
314 | + | |
315 | + <ProFormText | |
316 | + width="md" | |
317 | + name="contract" | |
318 | + rules={[{ required: true, message: '此项为必填项' }]} | |
319 | + label="合同编号" | |
320 | + placeholder="请输入" | |
321 | + initialValue={contextBody.contract} | |
322 | + /> | |
323 | + | |
324 | + <ProFormUploadButton width="md" | |
325 | + name="annex" | |
326 | + max={1} | |
327 | + onChange={(value) => { | |
328 | + console.log(value); | |
329 | + }} | |
330 | + label="合同附件" /> | |
331 | + | |
332 | + <ProFormText | |
333 | + width="md" | |
334 | + name="totalPrice" | |
335 | + label="合同金额" | |
336 | + placeholder="请输入" | |
337 | + // rules={[{ required: true, message: '此项为必填项' }]} | |
338 | + // value={contextBody.totalPrice} | |
339 | + // onBlur={(e) => { | |
340 | + // if (e.target.value !== '0') { | |
341 | + // setIsDis(false); | |
342 | + // setTotal(e.target.value); | |
343 | + // } else { | |
344 | + // setIsDis(true); | |
345 | + // } | |
346 | + // }} | |
347 | + disabled={isDis} | |
348 | + initialValue={"0"} | |
349 | + /> | |
350 | + </ProForm.Group> | |
351 | + </ProCard> | |
352 | + <ProCard | |
353 | + title="产品明细" | |
354 | + style={{ marginTop: 10 }} | |
355 | + headerBordered | |
356 | + bordered | |
357 | + > | |
358 | + <ProductDetail productBody={[]} EditProductBody={getEditProductBody}></ProductDetail> | |
359 | + </ProCard> | |
360 | + | |
361 | + <ProCard | |
362 | + title="付款信息" | |
363 | + style={{ marginTop: 10 }} | |
364 | + headerBordered | |
365 | + bordered | |
366 | + > | |
367 | + <PayWayDetail payBody={payWayBody} thisId={null} currtSave={setSave}></PayWayDetail> | |
368 | + </ProCard> | |
369 | + | |
370 | + <ProCard | |
371 | + style={{ marginTop: 10 }} | |
372 | + headerBordered | |
373 | + bordered | |
374 | + > | |
375 | + <ProFormTextArea label="备注" name="remark" initialValue={contextBody.remark} /> | |
376 | + </ProCard> | |
377 | + </ModalForm> | |
378 | + ); | |
379 | +}; | |
0 | 380 | \ No newline at end of file | ... | ... |
src/pages/Instalment/components/edit/edit.tsx
0 → 100644
1 | +import { | |
2 | + ModalForm, | |
3 | + ProCard, | |
4 | + ProForm, | |
5 | + ProFormDatePicker, | |
6 | + ProFormText, | |
7 | + ProFormTextArea, | |
8 | + ProFormUploadButton, | |
9 | +} from '@ant-design/pro-components'; | |
10 | +import ProductDetail from '../productDetail/productDetail'; | |
11 | +import PayWayDetail from '../payWayDetail/payWayDetail'; | |
12 | +import { Form,message } from 'antd'; | |
13 | +import { useEffect, useState } from 'react'; | |
14 | +import { postOrderErpOrderStagesPayWaySaveOrUpdate, postOrderErpOrderStagesSaveOrUpdate, postOrderErpOrderStagesSearch, postOrderErpOrderStagesUpload } from '@/services'; | |
15 | +import { RcFile } from 'antd/es/upload'; | |
16 | + | |
17 | +const waitTime = (time: number = 100) => { | |
18 | + return new Promise((resolve) => { | |
19 | + setTimeout(() => { | |
20 | + resolve(true); | |
21 | + }, time); | |
22 | + }); | |
23 | +}; | |
24 | + | |
25 | +export default ({ currentContract,toReload }) => { | |
26 | + const [form] = Form.useForm<{ name: string; company: string }>(); | |
27 | + const [contextBody, setContextBody] = useState({}); | |
28 | + const [editProductBody, setEditProductBody] = useState([]); | |
29 | + const [total, setTotal] = useState(0); | |
30 | + const [payWayBody, setPayWayBody] = useState([]) | |
31 | + const [otherBody, setOtherBody] = useState([]) | |
32 | + | |
33 | + type OrderStagesWithListItem = { | |
34 | + //文件编号 | |
35 | + id: number; | |
36 | + //合同编号 | |
37 | + contract: string; | |
38 | + //供应商名称 | |
39 | + vendor: string; | |
40 | + //签合同日期 | |
41 | + dateRange: Date; | |
42 | + //终端名称 | |
43 | + terminal: string; | |
44 | + orderStagesDeviceVoList: orderStagesDevice[] | |
45 | + //合同总金额 | |
46 | + totalPrice: number; | |
47 | + //付款方式 | |
48 | + payWay: string; | |
49 | + //附件 | |
50 | + annex: string; | |
51 | + //备注 | |
52 | + remark: string; | |
53 | + }; | |
54 | + | |
55 | + type orderStagesDevice = { | |
56 | + //设备id | |
57 | + dId: number; | |
58 | + //设备名称 | |
59 | + deviceName: string; | |
60 | + //设备型号 | |
61 | + deviceModel: string; | |
62 | + //数量 | |
63 | + count: number; | |
64 | + //单价 | |
65 | + unitPrice: number; | |
66 | + //总价 | |
67 | + price: number; | |
68 | + } | |
69 | + | |
70 | + async function getBody() { | |
71 | + const res = await postOrderErpOrderStagesSearch({ | |
72 | + data: { contract: currentContract }, | |
73 | + }); | |
74 | + const context = res.data[0]; | |
75 | + console.log(context); | |
76 | + | |
77 | + if (context.contract != null) { | |
78 | + setContextBody(context); | |
79 | + setTotal(context.totalPrice) | |
80 | + form.setFieldValue('totalPrice', context.totalPrice); | |
81 | + } | |
82 | + handleInputChange(context.payWay, 0, context.totalPrice) | |
83 | + } | |
84 | + | |
85 | + function getEditProductBody(value) { | |
86 | + console.log(value); | |
87 | + | |
88 | + setEditProductBody(value) | |
89 | + let price = 0; | |
90 | + value.map(obj => ( | |
91 | + price += (obj.count * obj.unitPrice) | |
92 | + )); | |
93 | + setTotal(price); | |
94 | + setContextBody({ ...contextBody, orderStagesDeviceVoList: value }) | |
95 | + handleInputChange(contextBody.payWay, 0, price) | |
96 | + } | |
97 | + [] | |
98 | + function setSave(value) { | |
99 | + console.log(value); | |
100 | + setOtherBody(value) | |
101 | + } | |
102 | + | |
103 | + useEffect(() => { | |
104 | + setContextBody({ ...contextBody, totalPrice: total }) | |
105 | + form.setFieldValue('totalPrice', total); | |
106 | + }, [total]) | |
107 | + | |
108 | + useEffect(() => { | |
109 | + getBody() | |
110 | + }, []) | |
111 | + | |
112 | + const handleInputChange = (value: string, no: number, priceNow?: number) => { | |
113 | + let totalPay = 0; | |
114 | + const payValue: string[] = value.split("/") | |
115 | + let body: ((prevState: never[]) => never[]) | { proportion: string; payPrice: number; }[] = []; | |
116 | + if (no === 1) { | |
117 | + if (payValue.length !== 4) { | |
118 | + message.warning('比例个数总和不为4个!'); | |
119 | + } else { | |
120 | + payValue.forEach((item, index) => { | |
121 | + totalPay += Number(item) | |
122 | + }) | |
123 | + } | |
124 | + if (totalPay != 100) { | |
125 | + message.warning('比例总和不为100!'); | |
126 | + } else { | |
127 | + message.success('输入有效!'); | |
128 | + const price = total | |
129 | + payValue.forEach((item, index) => { | |
130 | + body.push({ proportion: item + "%", payPrice: Number(item) * price / 100 }) | |
131 | + }) | |
132 | + setPayWayBody(body) | |
133 | + } | |
134 | + } else { | |
135 | + payValue.forEach((item, index) => { | |
136 | + totalPay += Number(item) | |
137 | + }) | |
138 | + payValue.forEach((item, index) => { | |
139 | + body.push({ proportion: item + "%", payPrice: Number(item) * priceNow / 100 }) | |
140 | + }) | |
141 | + setPayWayBody(body) | |
142 | + } | |
143 | + }; | |
144 | + | |
145 | + return ( | |
146 | + <ModalForm<OrderStagesWithListItem> | |
147 | + title="新建" | |
148 | + trigger={ | |
149 | + <a> | |
150 | + 编辑 | |
151 | + </a> | |
152 | + } | |
153 | + form={form} | |
154 | + autoFocusFirstInput | |
155 | + modalProps={{ | |
156 | + destroyOnClose: true, | |
157 | + onCancel: () => console.log('run'), | |
158 | + }} | |
159 | + submitTimeout={2000} | |
160 | + onFinish={async (values) => { | |
161 | + console.log(values); | |
162 | + console.log(otherBody); | |
163 | + let remakeValue = []; | |
164 | + let remakeItem = {} | |
165 | + // 创建一个用于存储所有异步操作的Promise数组 | |
166 | + const promises = []; | |
167 | + | |
168 | + otherBody.forEach(item => { | |
169 | + let remakeItem = { ossId: item.ossId, number: item.id, dataRange: item.payDate, fileName: item.fileName }; | |
170 | + if (typeof item.fileUrl === 'object' && item.fileUrl instanceof File) { | |
171 | + const formData = new FormData(); | |
172 | + formData.append('file', item.fileUrl as RcFile); | |
173 | + const uploadPromise = async () => { | |
174 | + const res = await postOrderErpOrderStagesUpload({ | |
175 | + data: formData, | |
176 | + headers: { | |
177 | + 'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundarynl6gT1BKdPWIejNq', | |
178 | + } | |
179 | + }); | |
180 | + if (res.data) { | |
181 | + remakeItem.fileUrl = res.data; | |
182 | + } | |
183 | + }; | |
184 | + promises.push(uploadPromise()); | |
185 | + } | |
186 | + remakeValue.push(remakeItem); | |
187 | + }); | |
188 | + | |
189 | + // 使用Promise.all等待所有异步操作完成后再执行保存操作 | |
190 | + Promise.all(promises).then(async () => { | |
191 | + const resp = await postOrderErpOrderStagesPayWaySaveOrUpdate({ | |
192 | + data: remakeValue | |
193 | + }); | |
194 | + }); | |
195 | + const formData = new FormData(); | |
196 | + // let toSendEdit={...values,orderStagesDeviceVoList:contextBody.orderStagesDeviceVoList}; | |
197 | + let toSendEdit = { | |
198 | + id: values.id || contextBody.id, | |
199 | + contract: values.contract || contextBody.contract, | |
200 | + vendor: values.vendor || contextBody.vendor, | |
201 | + dateRange: values.dateRange || contextBody.dateRange, | |
202 | + terminal: values.terminal || contextBody.terminal, | |
203 | + orderStagesDeviceDoList: values.orderStagesDeviceVoList || contextBody.orderStagesDeviceVoList, | |
204 | + totalPrice: values.totalPrice || contextBody.totalPrice, | |
205 | + payWay: values.payWay || contextBody.payWay, | |
206 | + annex: contextBody.annex, | |
207 | + remark: values.remark || contextBody.remark, | |
208 | + }; | |
209 | + if (values.annex) { | |
210 | + formData.append('file', values.annex[0].originFileObj as RcFile); | |
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 | + console.log(values) | |
220 | + console.log(contextBody); | |
221 | + toSendEdit.annex = res.data | |
222 | + } | |
223 | + } | |
224 | + const isSaveOrUpdate = await postOrderErpOrderStagesSaveOrUpdate({ | |
225 | + data: { ...toSendEdit } | |
226 | + }) | |
227 | + if (isSaveOrUpdate) { | |
228 | + console.log(isSaveOrUpdate); | |
229 | + getBody() | |
230 | + toReload() | |
231 | + } | |
232 | + await waitTime(2000); | |
233 | + message.success('提交成功'); | |
234 | + return true; | |
235 | + }} | |
236 | + > | |
237 | + <ProCard | |
238 | + title="基本信息" | |
239 | + headerBordered | |
240 | + bordered | |
241 | + > | |
242 | + <ProForm.Group> | |
243 | + <ProFormText | |
244 | + width="md" | |
245 | + name="vendor" | |
246 | + rules={[{ required: true, message: '此项为必填项' }]} | |
247 | + label="供应商名称" | |
248 | + placeholder="请输入" | |
249 | + initialValue={contextBody.vendor} | |
250 | + /> | |
251 | + | |
252 | + <ProFormText | |
253 | + width="md" | |
254 | + name="terminal" | |
255 | + rules={[{ required: true, message: '此项为必填项' }]} | |
256 | + label="终端名称" | |
257 | + placeholder="请输入" | |
258 | + initialValue={contextBody.terminal} | |
259 | + /> | |
260 | + | |
261 | + <ProFormDatePicker | |
262 | + name="dateRange" | |
263 | + width="md" | |
264 | + label="签合同日期" | |
265 | + placeholder="请选择日期" | |
266 | + fieldProps={{ | |
267 | + format: (value) => value.format('YYYY-MM-DD'), | |
268 | + }} | |
269 | + initialValue={contextBody.dateRange} | |
270 | + /> | |
271 | + | |
272 | + <ProFormText | |
273 | + width="md" | |
274 | + name="payWay" | |
275 | + rules={[{ required: true, message: '此项为必填项' }]} | |
276 | + label="付款比例" | |
277 | + placeholder="请输入" | |
278 | + initialValue={contextBody.payWay} | |
279 | + onBlur={(e) => { | |
280 | + handleInputChange(e.target.value, 1); | |
281 | + }} | |
282 | + /> | |
283 | + | |
284 | + <ProFormText | |
285 | + width="md" | |
286 | + name="contract" | |
287 | + rules={[{ required: true, message: '此项为必填项' }]} | |
288 | + label="合同编号" | |
289 | + placeholder="请输入" | |
290 | + initialValue={contextBody.contract} | |
291 | + /> | |
292 | + | |
293 | + <ProFormUploadButton width="md" | |
294 | + name="annex" | |
295 | + max={1} | |
296 | + onChange={(value) => { | |
297 | + console.log(value); | |
298 | + }} | |
299 | + label="合同附件" /> | |
300 | + | |
301 | + <ProFormText | |
302 | + width="md" | |
303 | + name="totalPrice" | |
304 | + label="合同金额" | |
305 | + placeholder="请输入" | |
306 | + disabled | |
307 | + // rules={[{ required: true, message: '此项为必填项' }]} | |
308 | + // value={contextBody.totalPrice} | |
309 | + initialValue={contextBody.totalPrice} | |
310 | + /> | |
311 | + </ProForm.Group> | |
312 | + </ProCard> | |
313 | + <ProCard | |
314 | + title="产品明细" | |
315 | + style={{ marginTop: 10 }} | |
316 | + headerBordered | |
317 | + bordered | |
318 | + > | |
319 | + <ProductDetail productBody={contextBody.orderStagesDeviceVoList} EditProductBody={getEditProductBody}></ProductDetail> | |
320 | + </ProCard> | |
321 | + | |
322 | + <ProCard | |
323 | + title="付款信息" | |
324 | + style={{ marginTop: 10 }} | |
325 | + headerBordered | |
326 | + bordered | |
327 | + > | |
328 | + <PayWayDetail payBody={payWayBody} thisId={contextBody.id} currtSave={setSave}></PayWayDetail> | |
329 | + </ProCard> | |
330 | + | |
331 | + <ProCard | |
332 | + style={{ marginTop: 10 }} | |
333 | + headerBordered | |
334 | + bordered | |
335 | + > | |
336 | + <ProFormTextArea label="备注" name="remark" initialValue={contextBody.remark} /> | |
337 | + </ProCard> | |
338 | + </ModalForm> | |
339 | + ); | |
340 | +}; | |
0 | 341 | \ No newline at end of file | ... | ... |
src/pages/Instalment/components/payWayDetail/payWayDetail.less
0 → 100644
1 | +.payway-detail-index td{ | |
2 | + font-family: 'San Francisco', 'Helvetica Neue', Helvetica, Arial, | |
3 | + 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Heiti SC', | |
4 | + 'WenQuanYi Micro Hei', sans-serif; | |
5 | + font-size: 14px; | |
6 | + margin: 0; | |
7 | + | |
8 | + .css-dev-only-do-not-override-nllxry{ | |
9 | + margin-bottom: 0px !important; | |
10 | + } | |
11 | + } | |
12 | + | |
13 | + .dataChoose{ | |
14 | + margin: 0; | |
15 | + } | |
16 | + | |
17 | + // .pay-way-detail-index td .css-dev-only-do-not-override-nllxry{ | |
18 | + // margin-bottom: 0px !important; | |
19 | + // } | ... | ... |
src/pages/Instalment/components/payWayDetail/payWayDetail.tsx
0 → 100644
1 | +import type { ProColumns } from '@ant-design/pro-components'; | |
2 | +import { | |
3 | + EditableProTable, | |
4 | + ProFormDatePicker, | |
5 | + ProFormRadio, | |
6 | + ProFormUploadButton, | |
7 | +} from '@ant-design/pro-components'; | |
8 | +import React, { useEffect, useState } from 'react'; | |
9 | +import './payWayDetail.less' | |
10 | +import { postOrderErpOrderStagesPayWaySelect } from '@/services'; | |
11 | +import { message } from 'antd'; | |
12 | + | |
13 | +const waitTime = (time: number = 100) => { | |
14 | + return new Promise((resolve) => { | |
15 | + setTimeout(() => { | |
16 | + resolve(true); | |
17 | + }, time); | |
18 | + }); | |
19 | +}; | |
20 | + | |
21 | +type DataSourceType = { | |
22 | + id: number; | |
23 | + payStep?: string; | |
24 | + proportion?: string; | |
25 | + ossId?: number, | |
26 | + payPrice?: number; | |
27 | + payDate?: Date; | |
28 | + fileName?: string; | |
29 | + fileUrl?: string; | |
30 | +}; | |
31 | + | |
32 | +export default ({ payBody, thisId, currtSave }) => { | |
33 | + const defaultData: DataSourceType[] = [ | |
34 | + { | |
35 | + id: 1, | |
36 | + payStep: '预付款', | |
37 | + proportion: undefined, | |
38 | + payPrice: undefined, | |
39 | + ossId: undefined, | |
40 | + payDate: undefined, | |
41 | + fileName: undefined, | |
42 | + fileUrl: undefined | |
43 | + }, | |
44 | + { | |
45 | + id: 2, | |
46 | + payStep: '发贷款', | |
47 | + proportion: undefined, | |
48 | + payPrice: undefined, | |
49 | + ossId: undefined, | |
50 | + payDate: undefined, | |
51 | + fileName: undefined, | |
52 | + fileUrl: undefined | |
53 | + }, | |
54 | + { | |
55 | + id: 3, | |
56 | + payStep: '验收款', | |
57 | + proportion: undefined, | |
58 | + payPrice: undefined, | |
59 | + ossId: undefined, | |
60 | + payDate: undefined, | |
61 | + fileName: undefined, | |
62 | + fileUrl: undefined | |
63 | + }, | |
64 | + { | |
65 | + id: 4, | |
66 | + payStep: '质保金', | |
67 | + proportion: undefined, | |
68 | + payPrice: undefined, | |
69 | + ossId: undefined, | |
70 | + payDate: undefined, | |
71 | + fileName: undefined, | |
72 | + fileUrl: undefined | |
73 | + } | |
74 | + ]; | |
75 | + | |
76 | + const [editableKeys, setEditableRowKeys] = useState<React.Key[]>([]); | |
77 | + const [dataSource, setDataSource] = useState<readonly DataSourceType[]>([]); | |
78 | + const [position, setPosition] = useState<'top' | 'bottom' | 'hidden'>('hidden',); | |
79 | + const [payWayDetailBody, setPayWayDetailBody] = useState<readonly DataSourceType[]>([...defaultData]) | |
80 | + const [body, setBody] = useState([]) | |
81 | + const [isAccept, setIsAccept] = useState(null) | |
82 | + const [isCurrtSave, setIsCurrtSave] = useState(false); | |
83 | + | |
84 | + async function getOther(value, arr) { | |
85 | + console.log(value); | |
86 | + const res = await postOrderErpOrderStagesPayWaySelect({ | |
87 | + data: { ossId: value } | |
88 | + }); | |
89 | + if (res.data) { | |
90 | + const context = res.data; | |
91 | + const remake = arr.map(obj => { | |
92 | + let currt = obj; | |
93 | + context.forEach(object => { | |
94 | + if (object.number == obj.id) { | |
95 | + currt = { | |
96 | + ...obj, | |
97 | + ossId: object.ossId, | |
98 | + payDate: object.dateRange, | |
99 | + fileName: object.fileName, | |
100 | + fileUrl: object.fileUrl | |
101 | + }; | |
102 | + return currt; | |
103 | + } | |
104 | + }); | |
105 | + console.log(currt); | |
106 | + return currt; | |
107 | + }); | |
108 | + console.log(context); | |
109 | + setPayWayDetailBody(remake); | |
110 | + } | |
111 | + } | |
112 | + | |
113 | + function setPayWay(value) { | |
114 | + const remakeData = payWayDetailBody.map(obj => { | |
115 | + return { ...obj, proportion: value[obj.id - 1]?.proportion, payPrice: value[obj.id - 1]?.payPrice } | |
116 | + }) | |
117 | + console.log(remakeData); | |
118 | + | |
119 | + setPayWayDetailBody(remakeData) | |
120 | + console.log(thisId); | |
121 | + | |
122 | + if (thisId!=null) { | |
123 | + getOther(thisId, remakeData) | |
124 | + } | |
125 | + } | |
126 | + // useEffect(() => { | |
127 | + // getOther(thisId) | |
128 | + // }, [thisId]) | |
129 | + | |
130 | + useEffect(() => { | |
131 | + setPayWay(payBody) | |
132 | + }, [payBody]) | |
133 | + | |
134 | + function setCurrtSave(value) { | |
135 | + console.log(value); | |
136 | + setIsCurrtSave(payWayDetailBody) | |
137 | + } | |
138 | + | |
139 | + | |
140 | + const columns: ProColumns<DataSourceType>[] = [ | |
141 | + { | |
142 | + title: '编号', | |
143 | + dataIndex: 'id', | |
144 | + hideInTable: true, | |
145 | + editable: false | |
146 | + }, | |
147 | + { | |
148 | + title: '付款信息', | |
149 | + dataIndex: 'payStep', | |
150 | + editable: false | |
151 | + }, | |
152 | + { | |
153 | + title: '付款比例', | |
154 | + dataIndex: 'proportion', | |
155 | + editable: false | |
156 | + }, | |
157 | + { | |
158 | + title: '付款金额', | |
159 | + dataIndex: 'payPrice', | |
160 | + editable: false | |
161 | + }, | |
162 | + { | |
163 | + title: '对应的订单', | |
164 | + dataIndex: 'ossId', | |
165 | + editable: false, | |
166 | + hideInTable: true, | |
167 | + }, | |
168 | + { | |
169 | + title: '付款时间', | |
170 | + dataIndex: 'payDate', | |
171 | + editable: false, | |
172 | + render: (text, record, _, action) => { | |
173 | + const handleChange = (value) => { | |
174 | + const updatedDataSource = payWayDetailBody.map(item => { | |
175 | + if (item.id === record.id) { | |
176 | + return { | |
177 | + ...item, | |
178 | + payDate: value | |
179 | + }; | |
180 | + } | |
181 | + return item; | |
182 | + }); | |
183 | + console.log(updatedDataSource); | |
184 | + | |
185 | + setPayWayDetailBody(updatedDataSource); | |
186 | + currtSave(updatedDataSource) | |
187 | + }; | |
188 | + | |
189 | + return ( | |
190 | + <ProFormDatePicker | |
191 | + className='dataChoose' | |
192 | + initialValue={record.payDate} | |
193 | + value={record.payDate} | |
194 | + placeholder={"请填写时间"} | |
195 | + fieldProps={{ | |
196 | + format: (value) => value.format('YYYY-MM-DD'), | |
197 | + onChange: handleChange, | |
198 | + }} | |
199 | + /> | |
200 | + ); | |
201 | + } | |
202 | + }, | |
203 | + { | |
204 | + title: '付款单回执', | |
205 | + dataIndex: 'fileName', | |
206 | + render: (text, record, _, action) => { | |
207 | + if (isAccept !== record.id) { | |
208 | + if (typeof record.fileUrl === 'object' && record.fileUrl instanceof File) { | |
209 | + return (<a onClick={() => message.error("请先保存")}>{record.fileName}</a>) | |
210 | + } else { | |
211 | + return (<a href={record.fileUrl}>{record.fileName}</a>) | |
212 | + } | |
213 | + } else { | |
214 | + return ( | |
215 | + <ProFormUploadButton | |
216 | + name={record.id} | |
217 | + onChange={(value) => { | |
218 | + console.log(value); | |
219 | + console.log(payWayDetailBody); | |
220 | + let remakeBody = []; | |
221 | + let remakeBodyItem = {}; | |
222 | + payWayDetailBody.forEach(item => { | |
223 | + if (item.id === record.id) { | |
224 | + remakeBodyItem = { ...item, fileUrl: value.file.originFileObj, fileName: value.file.name } | |
225 | + } else { | |
226 | + remakeBodyItem = { ...item } | |
227 | + } if (value.fileList.length == 0) { | |
228 | + remakeBodyItem = { ...item, fileUrl: undefined, fileName: undefined } | |
229 | + } | |
230 | + remakeBody.push(remakeBodyItem) | |
231 | + }) | |
232 | + setPayWayDetailBody(remakeBody) | |
233 | + currtSave(remakeBody) | |
234 | + }} | |
235 | + width="md" | |
236 | + max={1} /> | |
237 | + ) | |
238 | + } | |
239 | + }, | |
240 | + }, | |
241 | + { | |
242 | + title: '操作', | |
243 | + valueType: 'option', | |
244 | + width: 200, | |
245 | + render: (text, record, _, action) => [ | |
246 | + <a | |
247 | + key="editable" | |
248 | + onClick={() => { | |
249 | + if (isAccept !== record.id) { | |
250 | + setIsAccept(record.id) | |
251 | + } else { | |
252 | + setIsAccept(null) | |
253 | + } | |
254 | + | |
255 | + }} | |
256 | + > | |
257 | + {(record.fileName !== undefined || record.fileName !== '') ? '重新上传' : '上传回执'} | |
258 | + </a> | |
259 | + ], | |
260 | + }, | |
261 | + ]; | |
262 | + | |
263 | + return ( | |
264 | + <> | |
265 | + <EditableProTable<DataSourceType> | |
266 | + rowKey="id" | |
267 | + className='payWayDetail-index' | |
268 | + toolbar={{ style: { display: 'none' } }} | |
269 | + ghost={true} | |
270 | + scroll={{ | |
271 | + x: 960, | |
272 | + }} | |
273 | + recordCreatorProps={ | |
274 | + position !== 'hidden' | |
275 | + ? { | |
276 | + position: position as 'top', | |
277 | + record: () => ({ id: (Math.random() * 1000000).toFixed(0) }), | |
278 | + } | |
279 | + : false | |
280 | + } | |
281 | + loading={false} | |
282 | + toolBarRender={() => [ | |
283 | + <ProFormRadio.Group | |
284 | + key="render" | |
285 | + fieldProps={{ | |
286 | + value: position, | |
287 | + onChange: (e) => setPosition(e.target.value), | |
288 | + }} | |
289 | + />, | |
290 | + ]} | |
291 | + columns={columns} | |
292 | + request={payWayDetailBody} | |
293 | + value={payWayDetailBody} | |
294 | + onChange={() => { | |
295 | + setPayWayDetailBody; | |
296 | + setCurrtSave(payWayDetailBody) | |
297 | + }} | |
298 | + editable={{ | |
299 | + type: 'multiple', | |
300 | + editableKeys, | |
301 | + onSave: async (rowKey, data, row) => { | |
302 | + console.log(rowKey, data, row); | |
303 | + await waitTime(2000); | |
304 | + }, | |
305 | + onChange: setEditableRowKeys, | |
306 | + }} | |
307 | + /> | |
308 | + </> | |
309 | + ); | |
310 | +}; | |
0 | 311 | \ No newline at end of file | ... | ... |
src/pages/Instalment/components/productDetail/productDetail.css
0 → 100644
src/pages/Instalment/components/productDetail/productDetail.less
0 → 100644
src/pages/Instalment/components/productDetail/productDetail.tsx
0 → 100644
1 | +import type { ProColumns } from '@ant-design/pro-components'; | |
2 | +import { | |
3 | + EditableProTable, | |
4 | + ProCard, | |
5 | + ProFormField, | |
6 | + ProFormRadio, | |
7 | +} from '@ant-design/pro-components'; | |
8 | +import React, { useEffect, useState } from 'react'; | |
9 | +import './productDetail.less' | |
10 | +import { countBy } from 'lodash'; | |
11 | + | |
12 | +const waitTime = (time: number = 100) => { | |
13 | + return new Promise((resolve) => { | |
14 | + setTimeout(() => { | |
15 | + resolve(true); | |
16 | + }, time); | |
17 | + }); | |
18 | +}; | |
19 | + | |
20 | +type DataSourceType = { | |
21 | + count?: number; | |
22 | + id: React.Key; | |
23 | + deviceModel?: string; | |
24 | + deviceName?: string; | |
25 | + price?: number; | |
26 | + unitPrice?: number; | |
27 | +}; | |
28 | + | |
29 | +const defaultData: DataSourceType[] = [ | |
30 | + // { | |
31 | + // id:1, | |
32 | + // deviceName: '高低温试验箱', | |
33 | + // deviceModel: 'CAN-TES36-0049ST', | |
34 | + // count: 1, | |
35 | + // unitPrice: 24500, | |
36 | + // price: 24500, | |
37 | + // } | |
38 | +]; | |
39 | + | |
40 | +export default ({ productBody, EditProductBody }) => { | |
41 | + const [editableKeys, setEditableRowKeys] = useState<React.Key[]>([]); | |
42 | + const [dataSource, setDataSource] = useState<readonly DataSourceType[]>([]); | |
43 | + const [position, setPosition] = useState<'top' | 'bottom' | 'hidden'>( | |
44 | + 'bottom', | |
45 | + ); | |
46 | + function getDataSourece() { | |
47 | + if (productBody.length!=0) { | |
48 | + setDataSource(productBody) | |
49 | + } | |
50 | + } | |
51 | + function setEditProductBody(value) { | |
52 | + console.log(value); | |
53 | + console.log(dataSource); | |
54 | + | |
55 | + const modifiedArray = value.map(obj => { | |
56 | + if (obj.dId && Number(obj.dId) <= 1000) { | |
57 | + return { | |
58 | + ...obj, | |
59 | + count:obj.count, | |
60 | + dId: null, | |
61 | + deviceModel:obj.deviceModel, | |
62 | + deviceName:obj.deviceName, | |
63 | + price:obj.price, | |
64 | + unitPrice:obj.unitPrice | |
65 | + }; | |
66 | + } else { | |
67 | + return obj; | |
68 | + } | |
69 | + }); | |
70 | + console.log(modifiedArray); | |
71 | + | |
72 | + EditProductBody(modifiedArray) | |
73 | + setDataSource(value) | |
74 | + } | |
75 | + | |
76 | + useEffect(() => { | |
77 | + getDataSourece() | |
78 | + }, [productBody]) | |
79 | + | |
80 | + type DataSourceType = { | |
81 | + id: React.Key, | |
82 | + count: number, | |
83 | + dId?: number, | |
84 | + deviceModel: string, | |
85 | + deviceName: string, | |
86 | + price: number | |
87 | + unitPrice: number, | |
88 | + } | |
89 | + | |
90 | + | |
91 | + const columns: ProColumns<DataSourceType>[] = [ | |
92 | + { | |
93 | + title: '设备编号', | |
94 | + dataIndex: 'dId', | |
95 | + hideInTable: true | |
96 | + }, | |
97 | + { | |
98 | + title: '设备名称', | |
99 | + dataIndex: 'deviceName', | |
100 | + formItemProps: (form, { rowIndex }) => { | |
101 | + return { | |
102 | + rules: | |
103 | + [{ required: true, message: '此项为必填项' }] | |
104 | + }; | |
105 | + } | |
106 | + }, | |
107 | + { | |
108 | + title: '设备型号', | |
109 | + dataIndex: 'deviceModel', | |
110 | + width: '15%', | |
111 | + formItemProps: (form, { rowIndex }) => { | |
112 | + return { | |
113 | + rules: | |
114 | + [{ required: true, message: '此项为必填项' }] | |
115 | + }; | |
116 | + } | |
117 | + }, | |
118 | + { | |
119 | + title: '数量', | |
120 | + dataIndex: 'count', | |
121 | + formItemProps: (form, { rowIndex }) => { | |
122 | + return { | |
123 | + rules: | |
124 | + [{ required: true, message: '此项为必填项' }] | |
125 | + }; | |
126 | + } | |
127 | + }, | |
128 | + { | |
129 | + title: '单价', | |
130 | + dataIndex: 'unitPrice', | |
131 | + formItemProps: (form, { rowIndex }) => { | |
132 | + return { | |
133 | + rules: | |
134 | + [{ required: true, message: '此项为必填项' }] | |
135 | + }; | |
136 | + } | |
137 | + }, | |
138 | + { | |
139 | + title: '总价', | |
140 | + dataIndex: 'price', | |
141 | + formItemProps: (form, { rowIndex }) => { | |
142 | + return { | |
143 | + rules: | |
144 | + [{ required: true, message: '此项为必填项' }] | |
145 | + }; | |
146 | + } | |
147 | + }, | |
148 | + { | |
149 | + title: '操作', | |
150 | + valueType: 'option', | |
151 | + width: 200, | |
152 | + render: (text, record, _, action) => [ | |
153 | + <a | |
154 | + key="editable" | |
155 | + onClick={() => { | |
156 | + if (record.dId) { | |
157 | + action?.startEditable?.(record.dId); | |
158 | + } | |
159 | + }} | |
160 | + > | |
161 | + 编辑 | |
162 | + </a>, | |
163 | + <a | |
164 | + key="delete" | |
165 | + onClick={() => { | |
166 | + setDataSource(dataSource.filter((item) => item.dId !== record.dId)); | |
167 | + }} | |
168 | + > | |
169 | + 删除 | |
170 | + </a>, | |
171 | + ], | |
172 | + }, | |
173 | + ]; | |
174 | + | |
175 | + return ( | |
176 | + <> | |
177 | + <EditableProTable<DataSourceType> | |
178 | + className='product-detail-index' | |
179 | + rowKey="dId" | |
180 | + toolbar={{ style: { display: 'none' } }} | |
181 | + ghost={true} | |
182 | + scroll={{ | |
183 | + x: 960, | |
184 | + }} | |
185 | + recordCreatorProps={ | |
186 | + position !== 'hidden' | |
187 | + ? { | |
188 | + position: position as 'top', | |
189 | + record: () => ({ dId: (Math.random() * 1000).toFixed(0) }), | |
190 | + } | |
191 | + : false | |
192 | + } | |
193 | + loading={false} | |
194 | + toolBarRender={() => [ | |
195 | + <ProFormRadio.Group | |
196 | + key="render" | |
197 | + fieldProps={{ | |
198 | + value: position, | |
199 | + onChange: (e) => setPosition(e.target.value), | |
200 | + }} | |
201 | + />, | |
202 | + ]} | |
203 | + columns={columns} | |
204 | + request={dataSource} | |
205 | + value={dataSource} | |
206 | + onChange={setEditProductBody} | |
207 | + editable={{ | |
208 | + type: 'multiple', | |
209 | + editableKeys, | |
210 | + onSave: async (rowKey, data, row) => { | |
211 | + await waitTime(2000); | |
212 | + }, | |
213 | + onChange: setEditableRowKeys, | |
214 | + }} | |
215 | + /> | |
216 | + </> | |
217 | + ); | |
218 | +}; | |
0 | 219 | \ No newline at end of file | ... | ... |
src/pages/Instalment/components/title/title.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 | +// .titleSpan{ | |
14 | +// font-weight: bold; | |
15 | +// width: 100px; | |
16 | +// } | |
17 | + | |
18 | +// .Btn{ | |
19 | +// background: '#0092ff'; | |
20 | +// padding: '8px 0'; | |
21 | +// display: flex; | |
22 | +// flex-flow: row nowrap; | |
23 | +// // flex-direction: row; | |
24 | +// // flex-wrap: nowrap; | |
25 | +// align-content: normal; | |
26 | +// align-items: center; | |
27 | +// padding-bottom: 20px; | |
28 | +// justify-content: space-between; | |
29 | +// width: 160px; | |
30 | +// } | |
31 | + | |
32 | +.title-index td { | |
33 | + font-family: 'San Francisco', 'Helvetica Neue', Helvetica, Arial, | |
34 | + 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Heiti SC', | |
35 | + 'WenQuanYi Micro Hei', sans-serif; | |
36 | + font-size: 14px; | |
37 | + } | |
0 | 38 | \ No newline at end of file | ... | ... |
src/pages/Instalment/components/title/title.tsx
0 → 100644
1 | +import { deleteOrderErpOrderStagesDelect, getOrderErpOrderStagesExport, getOrderErpOrderStagesListAll, postOrderErpOrderStagesSaveOrUpdate, postOrderErpOrderStagesSearch } from '@/services'; | |
2 | +import { EllipsisOutlined, MinusOutlined, PlusOutlined, VerticalAlignBottomOutlined, VerticalAlignTopOutlined } from '@ant-design/icons'; | |
3 | +import Icon from '@ant-design/icons/lib/components/AntdIcon'; | |
4 | +import type { ActionType, ProColumns, ProFormInstance } from '@ant-design/pro-components'; | |
5 | +import { ProTable, TableDropdown } from '@ant-design/pro-components'; | |
6 | +import { Button, Dropdown, Modal, Space, Tag, message } from 'antd'; | |
7 | +import { ReactNode, useEffect, useRef, useState } from 'react'; | |
8 | +import { request } from 'umi'; | |
9 | +import AddModel from '../detail/detail'; | |
10 | +import EditorModel from '../edit/edit'; | |
11 | +import UploadModel from '../upload/uploadModel'; | |
12 | +import './title.less' | |
13 | +export const waitTimePromise = async (time: number = 100) => { | |
14 | + return new Promise((resolve) => { | |
15 | + setTimeout(() => { | |
16 | + resolve(true); | |
17 | + }, time); | |
18 | + }); | |
19 | +}; | |
20 | + | |
21 | +export const waitTime = async (time: number = 100) => { | |
22 | + await waitTimePromise(time); | |
23 | +}; | |
24 | + | |
25 | +type OrderStagesItem = { | |
26 | + //文件编号 | |
27 | + id?: number; | |
28 | + //合同编号 | |
29 | + contract?: string; | |
30 | + //供应商名称 | |
31 | + vendor?: string; | |
32 | + //签合同日期 | |
33 | + dateRange?: Date; | |
34 | + //终端名称 | |
35 | + terminal?: string; | |
36 | + //设备名称 | |
37 | + deviceName?: string; | |
38 | + //设备型号 | |
39 | + deviceModel?: string; | |
40 | + //数量 | |
41 | + count?: number; | |
42 | + //单价 | |
43 | + unitPrice?: number; | |
44 | + //总价 | |
45 | + price?: number; | |
46 | + //合同总金额 | |
47 | + totalPrice?: number; | |
48 | + //付款方式 | |
49 | + payWay?: string; | |
50 | + //附件 | |
51 | + annex?: string; | |
52 | + //备注 | |
53 | + remark?: string; | |
54 | +}; | |
55 | + | |
56 | +type OrderStagesWithListItem = { | |
57 | + //文件编号 | |
58 | + id: number; | |
59 | + //合同编号 | |
60 | + contract: string; | |
61 | + //供应商名称 | |
62 | + vendor: string; | |
63 | + //签合同日期 | |
64 | + dateRange: Date; | |
65 | + //终端名称 | |
66 | + terminal: string; | |
67 | + orderStagesDeviceVoList: orderStagesDevice[] | |
68 | + //合同总金额 | |
69 | + totalPrice: number; | |
70 | + //付款方式 | |
71 | + payWay: string; | |
72 | + //附件 | |
73 | + annex: string; | |
74 | + //备注 | |
75 | + remark: string; | |
76 | +}; | |
77 | + | |
78 | +type orderStagesDevice = { | |
79 | + //设备id | |
80 | + dId: number; | |
81 | + //设备名称 | |
82 | + deviceName: string; | |
83 | + //设备型号 | |
84 | + deviceModel: string; | |
85 | + //数量 | |
86 | + count: number; | |
87 | + //单价 | |
88 | + unitPrice: number; | |
89 | + //总价 | |
90 | + price: number; | |
91 | +} | |
92 | + | |
93 | +export default () => { | |
94 | + const actionRef = useRef<ActionType>(); | |
95 | + const [TableItem, setTableItem] = useState([]); | |
96 | + const [modal1Open, setModal1Open] = useState(false); | |
97 | + // const [currentContract, setCurrentContract] = useState(''); | |
98 | + | |
99 | + // const getContract=(contract:string)=>{ | |
100 | + // setCurrentContract(contract) | |
101 | + // } | |
102 | + | |
103 | + interface ActionType { | |
104 | + reload: (resetPageIndex?: boolean) => void; | |
105 | + reloadAndRest: () => void; | |
106 | + reset: () => void; | |
107 | + clearSelected?: () => void; | |
108 | + startEditable: (rowKey: Key) => boolean; | |
109 | + cancelEditable: (rowKey: Key) => boolean; | |
110 | + } | |
111 | + | |
112 | + const ref = useRef<ActionType>( | |
113 | + { | |
114 | + reload: (resetPageIndex?: boolean) => { | |
115 | + // implementation for reload | |
116 | + }, | |
117 | + reloadAndRest: () => { | |
118 | + // implementation for reloadAndRest | |
119 | + }, | |
120 | + reset: () => { | |
121 | + // implementation for reset | |
122 | + }, | |
123 | + startEditable: (rowKey: Key) => { | |
124 | + // implementation for startEditable | |
125 | + }, | |
126 | + cancelEditable: (rowKey: Key) => { | |
127 | + // implementation for cancelEditable | |
128 | + }, | |
129 | + } | |
130 | + ); | |
131 | + | |
132 | + function reload() { | |
133 | + ref.current.reload(); | |
134 | + } | |
135 | + | |
136 | + async function toDelete(value) { | |
137 | + const res = await deleteOrderErpOrderStagesDelect({ | |
138 | + data: { | |
139 | + ids: value, | |
140 | + deviceIds: null | |
141 | + } | |
142 | + }) | |
143 | + if (res) { | |
144 | + message.success("删除成功") | |
145 | + ref.current.reload() | |
146 | + } else { | |
147 | + message.error("删除失败") | |
148 | + } | |
149 | + } | |
150 | + | |
151 | + async function toExport() { | |
152 | + await getOrderErpOrderStagesExport() | |
153 | + } | |
154 | + | |
155 | + | |
156 | + const columns: ProColumns<OrderStagesItem>[] = [ | |
157 | + { | |
158 | + title: '文件编号', | |
159 | + dataIndex: 'id', | |
160 | + width: '5%', | |
161 | + render: (_, record) => { | |
162 | + if (record.id) { | |
163 | + const text = record.id.toString(); | |
164 | + const paddedText = '0'.repeat(4 - text.length) + text; | |
165 | + return paddedText; | |
166 | + } | |
167 | + }, | |
168 | + }, | |
169 | + { | |
170 | + title: '签合同日期', | |
171 | + dataIndex: 'dateRange', | |
172 | + valueType: 'date', | |
173 | + filters: true, | |
174 | + onFilter: true, | |
175 | + ellipsis: true, | |
176 | + width: '6%' | |
177 | + }, | |
178 | + { | |
179 | + disable: true, | |
180 | + title: '合同编号', | |
181 | + dataIndex: 'contract', | |
182 | + filters: true, | |
183 | + onFilter: true, | |
184 | + ellipsis: true, | |
185 | + width: '9%' | |
186 | + }, | |
187 | + { | |
188 | + disable: true, | |
189 | + title: '供应商名称', | |
190 | + dataIndex: 'vendor', | |
191 | + filters: true, | |
192 | + onFilter: true, | |
193 | + ellipsis: true, | |
194 | + }, | |
195 | + { | |
196 | + disable: true, | |
197 | + title: '终端名称', | |
198 | + dataIndex: 'terminal', | |
199 | + filters: true, | |
200 | + onFilter: true, | |
201 | + ellipsis: true, | |
202 | + width: '6%' | |
203 | + }, | |
204 | + { | |
205 | + disable: true, | |
206 | + title: '设备名称', | |
207 | + dataIndex: 'deviceName', | |
208 | + filters: true, | |
209 | + onFilter: true, | |
210 | + ellipsis: true, | |
211 | + }, | |
212 | + { | |
213 | + disable: true, | |
214 | + title: '设备型号', | |
215 | + dataIndex: 'deviceModel', | |
216 | + filters: true, | |
217 | + hideInSearch: true, | |
218 | + onFilter: false, | |
219 | + ellipsis: true, | |
220 | + width: '10%' | |
221 | + }, | |
222 | + { | |
223 | + disable: true, | |
224 | + title: '数量', | |
225 | + dataIndex: 'count', | |
226 | + filters: true, | |
227 | + hideInSearch: true, | |
228 | + onFilter: false, | |
229 | + ellipsis: true, | |
230 | + width: '4%' | |
231 | + }, | |
232 | + { | |
233 | + disable: true, | |
234 | + title: '单价', | |
235 | + dataIndex: 'unitPrice', | |
236 | + filters: true, | |
237 | + hideInSearch: true, | |
238 | + onFilter: false, | |
239 | + ellipsis: true, | |
240 | + width: '5%' | |
241 | + }, | |
242 | + { | |
243 | + disable: true, | |
244 | + title: '总价', | |
245 | + dataIndex: 'price', | |
246 | + filters: true, | |
247 | + hideInSearch: true, | |
248 | + onFilter: false, | |
249 | + ellipsis: true, | |
250 | + width: '5%' | |
251 | + }, | |
252 | + { | |
253 | + disable: true, | |
254 | + title: '合同总金额', | |
255 | + dataIndex: 'totalPrice', | |
256 | + filters: true, | |
257 | + hideInSearch: true, | |
258 | + onFilter: false, | |
259 | + ellipsis: true, | |
260 | + width: '6%' | |
261 | + }, | |
262 | + { | |
263 | + disable: true, | |
264 | + title: '付款方式', | |
265 | + dataIndex: 'payWay', | |
266 | + filters: true, | |
267 | + hideInSearch: true, | |
268 | + onFilter: false, | |
269 | + ellipsis: true, | |
270 | + }, | |
271 | + { | |
272 | + disable: true, | |
273 | + title: '附件', | |
274 | + dataIndex: 'annex', | |
275 | + filters: true, | |
276 | + hideInSearch: true, | |
277 | + onFilter: false, | |
278 | + ellipsis: true, | |
279 | + width: '5%', | |
280 | + render: (_, record) => { | |
281 | + if (record.id) { | |
282 | + return <a href={record.annex}>{record.annex}</a>; | |
283 | + } | |
284 | + }, | |
285 | + }, | |
286 | + { | |
287 | + disable: true, | |
288 | + title: '备注', | |
289 | + dataIndex: 'remark', | |
290 | + filters: true, | |
291 | + hideInSearch: true, | |
292 | + onFilter: false, | |
293 | + ellipsis: true, | |
294 | + width: '5%', | |
295 | + }, | |
296 | + { | |
297 | + title: '操作', | |
298 | + valueType: 'option', | |
299 | + key: 'option', | |
300 | + width: '10%', | |
301 | + render: (text, record, _, action) => { | |
302 | + if (record?.id) { | |
303 | + return ( | |
304 | + <> | |
305 | + <a href={record.annex} target="_blank" rel="noopener noreferrer" key="view"> | |
306 | + 查看 | |
307 | + </a> | |
308 | + | |
309 | + <EditorModel currentContract={record.contract} toReload={reload}></EditorModel> | |
310 | + | |
311 | + <a key="delect" target="_blank" rel="noopener noreferrer" onClick={() => { toDelete([record.id]) }}> | |
312 | + 删除 | |
313 | + </a> | |
314 | + </> | |
315 | + ) | |
316 | + | |
317 | + } | |
318 | + return null; | |
319 | + }, | |
320 | + }, | |
321 | + ]; | |
322 | + | |
323 | + return ( | |
324 | + <ProTable<OrderStagesItem> | |
325 | + className='title-index' | |
326 | + columnEmptyText='' | |
327 | + columns={columns} | |
328 | + actionRef={ref} | |
329 | + cardBordered | |
330 | + request={async (params, sort, filter) => { | |
331 | + console.log(params); | |
332 | + if (params.id != null || params.contract != null || params.vendor != null || params.terminal != null || params.deviceName != null || params.dateRange != null) { | |
333 | + console.log(params.id); | |
334 | + console.log(params.contract); | |
335 | + console.log(params.vendor); | |
336 | + let PostOrderErpOrderStagesSearchOption = { | |
337 | + id: params.id, | |
338 | + contract: params.contract, | |
339 | + vendor: params.vendor, | |
340 | + terminal: params.terminal, | |
341 | + deviceName: params.deviceName, | |
342 | + dateRange: params.dateRange | |
343 | + } | |
344 | + let res = await postOrderErpOrderStagesSearch({ | |
345 | + data: { ...PostOrderErpOrderStagesSearchOption } | |
346 | + }) | |
347 | + await waitTime(2000); | |
348 | + if (res) { | |
349 | + setTableItem(res.data) | |
350 | + const orderStagesWithList: OrderStagesWithListItem[] = res?.data | |
351 | + let orderStagesList: OrderStagesItem[] = [] | |
352 | + for (let ind = 0; ind < orderStagesWithList.length; ind++) { | |
353 | + for (let index = 0; index < orderStagesWithList[ind].orderStagesDeviceVoList.length; index++) { | |
354 | + let item: OrderStagesItem = { | |
355 | + id: undefined, | |
356 | + contract: undefined, | |
357 | + vendor: undefined, | |
358 | + dateRange: undefined, | |
359 | + terminal: undefined, | |
360 | + deviceName: undefined, | |
361 | + deviceModel: undefined, | |
362 | + count: undefined, | |
363 | + unitPrice: undefined, | |
364 | + price: undefined, | |
365 | + totalPrice: undefined, | |
366 | + payWay: undefined, | |
367 | + annex: undefined, | |
368 | + remark: undefined | |
369 | + }; | |
370 | + if (index == 0) { | |
371 | + orderStagesWithList[ind].orderStagesDeviceVoList[index]; | |
372 | + item.id = orderStagesWithList[ind].id; | |
373 | + item.contract = orderStagesWithList[ind].contract; | |
374 | + item.vendor = orderStagesWithList[ind].vendor; | |
375 | + item.dateRange = orderStagesWithList[ind].dateRange; | |
376 | + item.terminal = orderStagesWithList[ind].terminal; | |
377 | + item.deviceName = orderStagesWithList[ind].orderStagesDeviceVoList[index].deviceName; | |
378 | + item.deviceModel = orderStagesWithList[ind].orderStagesDeviceVoList[index].deviceModel; | |
379 | + item.count = orderStagesWithList[ind].orderStagesDeviceVoList[index].count; | |
380 | + item.unitPrice = orderStagesWithList[ind].orderStagesDeviceVoList[index].unitPrice; | |
381 | + item.price = orderStagesWithList[ind].orderStagesDeviceVoList[index].price; | |
382 | + item.totalPrice = orderStagesWithList[ind].totalPrice; | |
383 | + item.payWay = orderStagesWithList[ind].payWay; | |
384 | + item.annex = orderStagesWithList[ind].annex; | |
385 | + item.remark = orderStagesWithList[ind].remark; | |
386 | + orderStagesList.push(item); | |
387 | + } else { | |
388 | + item.deviceName = orderStagesWithList[ind].orderStagesDeviceVoList[index].deviceName; | |
389 | + item.deviceModel = orderStagesWithList[ind].orderStagesDeviceVoList[index].deviceModel; | |
390 | + item.count = orderStagesWithList[ind].orderStagesDeviceVoList[index].count; | |
391 | + item.unitPrice = orderStagesWithList[ind].orderStagesDeviceVoList[index].unitPrice; | |
392 | + item.price = orderStagesWithList[ind].orderStagesDeviceVoList[index].price; | |
393 | + orderStagesList.push(item); | |
394 | + } | |
395 | + } | |
396 | + } | |
397 | + return { | |
398 | + data: orderStagesList || [] | |
399 | + } | |
400 | + } | |
401 | + } else { | |
402 | + let res = await getOrderErpOrderStagesListAll(); | |
403 | + await waitTime(2000); | |
404 | + if (res) { | |
405 | + setTableItem(res.data) | |
406 | + const orderStagesWithList: OrderStagesWithListItem[] = res?.data | |
407 | + let orderStagesList: OrderStagesItem[] = [] | |
408 | + for (let ind = 0; ind < orderStagesWithList.length; ind++) { | |
409 | + for (let index = 0; index < orderStagesWithList[ind].orderStagesDeviceVoList.length; index++) { | |
410 | + let item: OrderStagesItem = { | |
411 | + id: undefined, | |
412 | + contract: undefined, | |
413 | + vendor: undefined, | |
414 | + dateRange: undefined, | |
415 | + terminal: undefined, | |
416 | + deviceName: undefined, | |
417 | + deviceModel: undefined, | |
418 | + count: undefined, | |
419 | + unitPrice: undefined, | |
420 | + price: undefined, | |
421 | + totalPrice: undefined, | |
422 | + payWay: undefined, | |
423 | + annex: undefined, | |
424 | + remark: undefined | |
425 | + }; | |
426 | + if (index == 0) { | |
427 | + orderStagesWithList[ind].orderStagesDeviceVoList[index]; | |
428 | + item.id = orderStagesWithList[ind].id; | |
429 | + item.contract = orderStagesWithList[ind].contract; | |
430 | + item.vendor = orderStagesWithList[ind].vendor; | |
431 | + item.dateRange = orderStagesWithList[ind].dateRange; | |
432 | + item.terminal = orderStagesWithList[ind].terminal; | |
433 | + item.deviceName = orderStagesWithList[ind].orderStagesDeviceVoList[index].deviceName; | |
434 | + item.deviceModel = orderStagesWithList[ind].orderStagesDeviceVoList[index].deviceModel; | |
435 | + item.count = orderStagesWithList[ind].orderStagesDeviceVoList[index].count; | |
436 | + item.unitPrice = orderStagesWithList[ind].orderStagesDeviceVoList[index].unitPrice; | |
437 | + item.price = orderStagesWithList[ind].orderStagesDeviceVoList[index].price; | |
438 | + item.totalPrice = orderStagesWithList[ind].totalPrice; | |
439 | + item.payWay = orderStagesWithList[ind].payWay; | |
440 | + item.annex = orderStagesWithList[ind].annex; | |
441 | + item.remark = orderStagesWithList[ind].remark; | |
442 | + orderStagesList.push(item); | |
443 | + } else { | |
444 | + item.deviceName = orderStagesWithList[ind].orderStagesDeviceVoList[index].deviceName; | |
445 | + item.deviceModel = orderStagesWithList[ind].orderStagesDeviceVoList[index].deviceModel; | |
446 | + item.count = orderStagesWithList[ind].orderStagesDeviceVoList[index].count; | |
447 | + item.unitPrice = orderStagesWithList[ind].orderStagesDeviceVoList[index].unitPrice; | |
448 | + item.price = orderStagesWithList[ind].orderStagesDeviceVoList[index].price; | |
449 | + orderStagesList.push(item); | |
450 | + } | |
451 | + } | |
452 | + } | |
453 | + return { | |
454 | + data: orderStagesList || [] | |
455 | + } | |
456 | + } | |
457 | + } | |
458 | + }} | |
459 | + editable={{ | |
460 | + type: 'multiple', | |
461 | + }} | |
462 | + columnsState={{ | |
463 | + persistenceKey: 'pro-table-singe-demos', | |
464 | + persistenceType: 'localStorage', | |
465 | + defaultValue: { | |
466 | + option: { fixed: 'right', disable: true }, | |
467 | + }, | |
468 | + onChange(value) { | |
469 | + console.log('value: ', value); | |
470 | + }, | |
471 | + }} | |
472 | + rowKey="id" | |
473 | + search={{ | |
474 | + labelWidth: 'auto', | |
475 | + }} | |
476 | + options={{ | |
477 | + setting: { | |
478 | + listsHeight: 800, | |
479 | + }, | |
480 | + }} | |
481 | + form={{ | |
482 | + // 由于配置了 transform,提交的参与与定义的不同这里需要转化一下 | |
483 | + syncToUrl: (values, type) => { | |
484 | + if (type === 'get') { | |
485 | + return { | |
486 | + ...values, | |
487 | + created_at: [values.startTime, values.endTime], | |
488 | + }; | |
489 | + } | |
490 | + return values; | |
491 | + }, | |
492 | + }} | |
493 | + pagination={{ | |
494 | + pageSize: 10, | |
495 | + onChange: (page) => console.log(page), | |
496 | + }} | |
497 | + dateFormatter="string" | |
498 | + headerTitle={[ | |
499 | + | |
500 | + ]} | |
501 | + toolBarRender={() => [ | |
502 | + <> | |
503 | + <AddModel toReload={reload}></AddModel> | |
504 | + <UploadModel toReload={reload}></UploadModel> | |
505 | + {/* <Button type="primary" onClick={()=>{toExport()}}> | |
506 | + <VerticalAlignTopOutlined /> | |
507 | + 导出 | |
508 | + </Button> */} | |
509 | + </> | |
510 | + ]} | |
511 | + /> | |
512 | + ); | |
513 | +}; | |
0 | 514 | \ No newline at end of file | ... | ... |
src/pages/Instalment/components/upload/uploadApp.tsx
0 → 100644
1 | +import React from 'react'; | |
2 | +import { Upload, message } from 'antd'; | |
3 | +import { InboxOutlined } from '@ant-design/icons'; | |
4 | + | |
5 | +const App: React.FC = ({ uploadFile }) => { | |
6 | + const { Dragger } = Upload; | |
7 | + | |
8 | + const props = { | |
9 | + name: 'file', | |
10 | + multiple: true, | |
11 | + maxCount: 1, | |
12 | + onChange:(info)=> { | |
13 | + console.log(info.file.originFileObj); | |
14 | + uploadFile(info.file.originFileObj) | |
15 | + }, | |
16 | + onDrop(e) { | |
17 | + console.log('Dropped files', e.dataTransfer.files); | |
18 | + }, | |
19 | + }; | |
20 | + | |
21 | + return ( | |
22 | + <Dragger {...props}> | |
23 | + <p className="ant-upload-drag-icon"> | |
24 | + <InboxOutlined /> | |
25 | + </p> | |
26 | + <p className="ant-upload-text">Click or drag file to this area to upload</p> | |
27 | + <p className="ant-upload-hint"> | |
28 | + Support for a single or bulk upload. Strictly prohibited from uploading company data or other | |
29 | + banned files. | |
30 | + </p> | |
31 | + </Dragger> | |
32 | + ); | |
33 | +}; | |
34 | + | |
35 | +export default App; | |
0 | 36 | \ No newline at end of file | ... | ... |
src/pages/Instalment/components/upload/uploadModel.tsx
0 → 100644
1 | +import { PlusOutlined, VerticalAlignBottomOutlined } from '@ant-design/icons'; | |
2 | +import { | |
3 | + ModalForm, | |
4 | + ProForm, | |
5 | + ProFormDateRangePicker, | |
6 | + ProFormSelect, | |
7 | + ProFormText, | |
8 | +} from '@ant-design/pro-components'; | |
9 | +import { Button, Form, message } from 'antd'; | |
10 | +import App from './uploadApp' | |
11 | +import { useState } from 'react'; | |
12 | +import { postOrderErpOrderStagesImport } from '@/services/request'; | |
13 | +import { RcFile } from 'antd/es/upload'; | |
14 | + | |
15 | +const waitTime = (time: number = 100) => { | |
16 | + return new Promise((resolve) => { | |
17 | + setTimeout(() => { | |
18 | + resolve(true); | |
19 | + }, time); | |
20 | + }); | |
21 | +}; | |
22 | + | |
23 | +export default ({toReload}) => { | |
24 | + const [form] = Form.useForm<{ name: string; company: string }>(); | |
25 | + const [uploadFile, setUploadFile] = useState({}) | |
26 | + function setUploadFileWay(value) { | |
27 | + console.log(value); | |
28 | + setUploadFile(value) | |
29 | + } | |
30 | + return ( | |
31 | + <ModalForm<{ | |
32 | + name: string; | |
33 | + company: string; | |
34 | + }> | |
35 | + title="新建表单" | |
36 | + trigger={ | |
37 | + <Button type="primary"> | |
38 | + <VerticalAlignBottomOutlined /> | |
39 | + 导入 | |
40 | + </Button> | |
41 | + } | |
42 | + form={form} | |
43 | + autoFocusFirstInput | |
44 | + modalProps={{ | |
45 | + destroyOnClose: true, | |
46 | + onCancel: () => console.log('run'), | |
47 | + }} | |
48 | + submitTimeout={2000} | |
49 | + onFinish={async (values) => { | |
50 | + const formData = new FormData(); | |
51 | + formData.append('file', uploadFile as RcFile); | |
52 | + const res = await postOrderErpOrderStagesImport({ | |
53 | + data: formData, | |
54 | + headers: { | |
55 | + 'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundarynl6gT1BKdPWIejNq', | |
56 | + } | |
57 | + }); | |
58 | + if (res) { | |
59 | + message.success('提交成功'); | |
60 | + toReload() | |
61 | + return true; | |
62 | + } | |
63 | + }} | |
64 | + > | |
65 | + <App uploadFile={setUploadFile}></App> | |
66 | + </ModalForm> | |
67 | + ); | |
68 | +}; | |
0 | 69 | \ No newline at end of file | ... | ... |
src/pages/Instalment/index.tsx
0 → 100644
src/services/definition.ts
... | ... | @@ -347,6 +347,148 @@ export interface ApiApplyAfterSalesRequest { |
347 | 347 | uid?: number; |
348 | 348 | } |
349 | 349 | |
350 | +export interface ApiCreateOrderRequest { | |
351 | + /** | |
352 | + * @description | |
353 | + * 收货人联系方式 | |
354 | + */ | |
355 | + customerContactNumber?: string; | |
356 | + /** | |
357 | + * @description | |
358 | + * 收货人 | |
359 | + */ | |
360 | + customerName?: string; | |
361 | + /** | |
362 | + * @description | |
363 | + * 收货地址 | |
364 | + */ | |
365 | + customerShippingAddress?: string; | |
366 | + /** | |
367 | + * @description | |
368 | + * 单位 | |
369 | + */ | |
370 | + institution?: string; | |
371 | + /** | |
372 | + * @description | |
373 | + * 课题组老师 | |
374 | + */ | |
375 | + institutionContactName?: string; | |
376 | + /** | |
377 | + * @description | |
378 | + * 商品列表 | |
379 | + */ | |
380 | + list?: Array<ApiCreateProductRequest>; | |
381 | + /** | |
382 | + * @description | |
383 | + * 备注 | |
384 | + */ | |
385 | + notes?: string; | |
386 | + /** | |
387 | + * @description | |
388 | + * 支付渠道 | |
389 | + */ | |
390 | + paymentChannel?: string; | |
391 | + /** | |
392 | + * @description | |
393 | + * 支付方式 | |
394 | + */ | |
395 | + paymentMethod?: string; | |
396 | + /** | |
397 | + * @description | |
398 | + * 运费 | |
399 | + */ | |
400 | + shippingFee?: number; | |
401 | + /** | |
402 | + * @description | |
403 | + * 支付总额 | |
404 | + * @example | |
405 | + * 2343 | |
406 | + */ | |
407 | + totalPayment?: number; | |
408 | + /** | |
409 | + * @description | |
410 | + * 用户id | |
411 | + * @format int32 | |
412 | + */ | |
413 | + uid?: number; | |
414 | +} | |
415 | + | |
416 | +export interface ApiCreateProductRequest { | |
417 | + /** | |
418 | + * @description | |
419 | + * 规格id | |
420 | + * @format int32 | |
421 | + */ | |
422 | + attrId?: number; | |
423 | + /** | |
424 | + * @description | |
425 | + * 商品封面图 | |
426 | + */ | |
427 | + image?: string; | |
428 | + /** | |
429 | + * @description | |
430 | + * 备注 | |
431 | + */ | |
432 | + notes?: string; | |
433 | + /** | |
434 | + * @description | |
435 | + * 商品参数 | |
436 | + */ | |
437 | + parameters?: string; | |
438 | + /** | |
439 | + * @description | |
440 | + * 商品编码 | |
441 | + */ | |
442 | + productCode?: string; | |
443 | + /** | |
444 | + * @description | |
445 | + * 商品id | |
446 | + * @format int32 | |
447 | + */ | |
448 | + productId?: number; | |
449 | + /** | |
450 | + * @description | |
451 | + * 商品名称 | |
452 | + */ | |
453 | + productName?: string; | |
454 | + /** | |
455 | + * @description | |
456 | + * 商品单价 | |
457 | + * @example | |
458 | + * 2343 | |
459 | + */ | |
460 | + productPrice?: number; | |
461 | + /** | |
462 | + * @description | |
463 | + * 商品数量 | |
464 | + * @format int32 | |
465 | + */ | |
466 | + quantity?: number; | |
467 | + /** | |
468 | + * @description | |
469 | + * 子订单总价格 | |
470 | + */ | |
471 | + subOrderPayment?: number; | |
472 | + /** | |
473 | + * @description | |
474 | + * 商品单位 | |
475 | + */ | |
476 | + unit?: string; | |
477 | +} | |
478 | + | |
479 | +export interface ApiOrderCustomersRequest { | |
480 | + /** @format int32 */ | |
481 | + current?: number; | |
482 | + /** @format int32 */ | |
483 | + pageSize?: number; | |
484 | + /** @format int32 */ | |
485 | + total?: number; | |
486 | +} | |
487 | + | |
488 | +export interface ApiOrderEvaluatedRequest { | |
489 | + subOrderIds?: Array<number>; | |
490 | +} | |
491 | + | |
350 | 492 | export interface ApiQueryOrderDetailRequest { |
351 | 493 | /** |
352 | 494 | * @description |
... | ... | @@ -360,6 +502,12 @@ export interface ApiQueryOrderDetailRequest { |
360 | 502 | orderId?: string; |
361 | 503 | /** |
362 | 504 | * @description |
505 | + * 子订单状态 | |
506 | + * @format int32 | |
507 | + */ | |
508 | + orderStatus?: number; | |
509 | + /** | |
510 | + * @description | |
363 | 511 | * 账号id |
364 | 512 | * @format int32 |
365 | 513 | */ |
... | ... | @@ -381,6 +529,12 @@ export interface ApiQueryOrderStatusCountsRequest { |
381 | 529 | } |
382 | 530 | |
383 | 531 | export interface AuditDto { |
532 | + /** | |
533 | + * @description | |
534 | + * 主订单id | |
535 | + * @format int64 | |
536 | + */ | |
537 | + mainOrderId?: number; | |
384 | 538 | notes?: string; |
385 | 539 | /** |
386 | 540 | * @description |
... | ... | @@ -728,6 +882,8 @@ export interface FilePathDto { |
728 | 882 | url?: string; |
729 | 883 | } |
730 | 884 | |
885 | +export type InputStream = any; | |
886 | + | |
731 | 887 | export interface InventoryMaterialStockReq { |
732 | 888 | auxPropId?: string; |
733 | 889 | isShowStockPosition?: boolean; |
... | ... | @@ -735,6 +891,93 @@ export interface InventoryMaterialStockReq { |
735 | 891 | materialId?: string; |
736 | 892 | } |
737 | 893 | |
894 | +export interface InvoiceDto { | |
895 | + /** | |
896 | + * @description | |
897 | + * 收款时间 | |
898 | + * @format date-time | |
899 | + */ | |
900 | + collectionTime?: string; | |
901 | + /** | |
902 | + * @description | |
903 | + * 联系人 | |
904 | + */ | |
905 | + contacts?: string; | |
906 | + /** | |
907 | + * @description | |
908 | + * id | |
909 | + * @format int64 | |
910 | + */ | |
911 | + id?: number; | |
912 | + /** | |
913 | + * @description | |
914 | + * 发票号码 | |
915 | + */ | |
916 | + invoiceNumber?: string; | |
917 | + /** | |
918 | + * @description | |
919 | + * 发票类型 | |
920 | + */ | |
921 | + invoiceStatus?: string; | |
922 | + /** | |
923 | + * @description | |
924 | + * 开票日期 | |
925 | + * @format date-time | |
926 | + */ | |
927 | + invoicingTime?: string; | |
928 | + /** | |
929 | + * @description | |
930 | + * 关联主订单id | |
931 | + */ | |
932 | + mainOrderIds?: Array<number>; | |
933 | + /** | |
934 | + * @description | |
935 | + * 金额 | |
936 | + */ | |
937 | + money?: number; | |
938 | + /** | |
939 | + * @description | |
940 | + * 备注 | |
941 | + */ | |
942 | + notes?: string; | |
943 | + /** | |
944 | + * @description | |
945 | + * 收款单位 | |
946 | + */ | |
947 | + payee?: string; | |
948 | + /** | |
949 | + * @description | |
950 | + * 购买方 | |
951 | + */ | |
952 | + purchaser?: string; | |
953 | + /** | |
954 | + * @description | |
955 | + * 销售 | |
956 | + */ | |
957 | + sale?: string; | |
958 | + /** | |
959 | + * @description | |
960 | + * 状态 | |
961 | + */ | |
962 | + status?: string; | |
963 | +} | |
964 | + | |
965 | +export interface InvoiceRecordQueryRequest { | |
966 | + /** @format date */ | |
967 | + createTimeGe?: string; | |
968 | + /** @format date */ | |
969 | + createTimeLe?: string; | |
970 | + /** @format int32 */ | |
971 | + pageNumber?: number; | |
972 | + /** @format int32 */ | |
973 | + pageSize?: number; | |
974 | + /** | |
975 | + * @description | |
976 | + * 用户id | |
977 | + */ | |
978 | + uid?: string; | |
979 | +} | |
980 | + | |
738 | 981 | export interface Item { |
739 | 982 | billDate?: string; |
740 | 983 | billNo?: string; |
... | ... | @@ -748,6 +991,20 @@ export interface ItemSaItem { |
748 | 991 | itemValue?: string; |
749 | 992 | } |
750 | 993 | |
994 | +export interface MainOrderqueryRequest { | |
995 | + afterInvoicingStatusIsNull?: boolean; | |
996 | + orderStatusNotIn?: Array<string>; | |
997 | + /** @format int32 */ | |
998 | + pageNumber?: number; | |
999 | + /** @format int32 */ | |
1000 | + pageSize?: number; | |
1001 | + /** | |
1002 | + * @description | |
1003 | + * 用户id | |
1004 | + */ | |
1005 | + uid?: string; | |
1006 | +} | |
1007 | + | |
751 | 1008 | export interface MaterialListReply { |
752 | 1009 | count?: string; |
753 | 1010 | /** @format int32 */ |
... | ... | @@ -1154,6 +1411,93 @@ export interface OrderProfitAnalysisVo { |
1154 | 1411 | orderIds?: Array<number>; |
1155 | 1412 | } |
1156 | 1413 | |
1414 | +export interface OrderStageFileDo { | |
1415 | + file?: File; | |
1416 | +} | |
1417 | + | |
1418 | +export interface OrderStagesDelDo { | |
1419 | + deviceIds?: Array<number>; | |
1420 | + ids?: Array<number>; | |
1421 | +} | |
1422 | + | |
1423 | +export interface OrderStagesDeviceDo { | |
1424 | + /** @format int32 */ | |
1425 | + count?: number; | |
1426 | + createByName?: string; | |
1427 | + /** @format date-time */ | |
1428 | + createTime?: string; | |
1429 | + deviceModel?: string; | |
1430 | + deviceName?: string; | |
1431 | + /** @format int32 */ | |
1432 | + did?: number; | |
1433 | + logicDelete?: boolean; | |
1434 | + /** @format double */ | |
1435 | + price?: number; | |
1436 | + /** @format double */ | |
1437 | + unitPrice?: number; | |
1438 | + updateByName?: string; | |
1439 | + /** @format date-time */ | |
1440 | + updateTime?: string; | |
1441 | +} | |
1442 | + | |
1443 | +export interface OrderStagesFromDo { | |
1444 | + annex?: string; | |
1445 | + contract?: string; | |
1446 | + createByName?: string; | |
1447 | + /** @format date-time */ | |
1448 | + createTime?: string; | |
1449 | + /** @format date-time */ | |
1450 | + dateRange?: string; | |
1451 | + /** @format int32 */ | |
1452 | + id?: number; | |
1453 | + logicDelete?: boolean; | |
1454 | + orderStagesDeviceDoList?: Array<OrderStagesDeviceDo>; | |
1455 | + payWay?: string; | |
1456 | + remark?: string; | |
1457 | + terminal?: string; | |
1458 | + /** @format double */ | |
1459 | + totalPrice?: number; | |
1460 | + updateByName?: string; | |
1461 | + /** @format date-time */ | |
1462 | + updateTime?: string; | |
1463 | + vendor?: string; | |
1464 | + /** @format int32 */ | |
1465 | + version?: number; | |
1466 | +} | |
1467 | + | |
1468 | +export interface OrderStagesPayWay { | |
1469 | + /** @format date-time */ | |
1470 | + dateRange?: string; | |
1471 | + fileName?: string; | |
1472 | + fileUrl?: string; | |
1473 | + /** @format int32 */ | |
1474 | + id?: number; | |
1475 | + /** @format int32 */ | |
1476 | + number?: number; | |
1477 | + /** @format int32 */ | |
1478 | + ossId?: number; | |
1479 | +} | |
1480 | + | |
1481 | +export interface OrderStagesPayWayDo { | |
1482 | + /** @format int32 */ | |
1483 | + ossId?: number; | |
1484 | +} | |
1485 | + | |
1486 | +export interface OrderStagesPayWayFileDo { | |
1487 | + fileList?: Array<OrderStageFileDo>; | |
1488 | +} | |
1489 | + | |
1490 | +export interface OrderStagesSelDo { | |
1491 | + contract?: string; | |
1492 | + /** @format date-time */ | |
1493 | + dateRange?: string; | |
1494 | + deviceName?: string; | |
1495 | + /** @format int64 */ | |
1496 | + id?: number; | |
1497 | + terminal?: string; | |
1498 | + vendor?: string; | |
1499 | +} | |
1500 | + | |
1157 | 1501 | export interface OrderTrackStageFieldVO { |
1158 | 1502 | aitexTestFinishResult?: string; |
1159 | 1503 | aitexTestSendTime?: string; |
... | ... | @@ -1285,201 +1629,69 @@ export interface QueryAnnexDto { |
1285 | 1629 | export interface QueryBankStatementDto { |
1286 | 1630 | /** |
1287 | 1631 | * @description |
1288 | - * 帐号名称 | |
1632 | + * amount | |
1633 | + * @format double | |
1289 | 1634 | */ |
1290 | - accountName?: string; | |
1635 | + amount?: number; | |
1291 | 1636 | /** |
1292 | 1637 | * @description |
1293 | - * 账号 | |
1638 | + * collection_date | |
1639 | + * @format date | |
1294 | 1640 | */ |
1295 | - accountNumber?: string; | |
1641 | + collectionDatetimeBegin?: string; | |
1296 | 1642 | /** |
1297 | 1643 | * @description |
1298 | - * 实付金额 | |
1644 | + * collection_date | |
1645 | + * @format date | |
1299 | 1646 | */ |
1300 | - actualPaymentAmount?: number; | |
1647 | + collectionDatetimeEnd?: string; | |
1648 | + /** @format int32 */ | |
1649 | + current?: number; | |
1650 | + /** @format int64 */ | |
1651 | + id?: number; | |
1652 | + /** @format int32 */ | |
1653 | + pageSize?: number; | |
1301 | 1654 | /** |
1302 | 1655 | * @description |
1303 | - * 余额 | |
1656 | + * payee | |
1304 | 1657 | */ |
1305 | - balance?: number; | |
1658 | + payee?: string; | |
1306 | 1659 | /** |
1307 | 1660 | * @description |
1308 | - * 银行订单号 | |
1661 | + * payer | |
1309 | 1662 | */ |
1310 | - bankOrderNumber?: string; | |
1663 | + payer?: string; | |
1311 | 1664 | /** |
1312 | 1665 | * @description |
1313 | - * 交易日-开始 | |
1314 | - * @format date | |
1666 | + * remark | |
1315 | 1667 | */ |
1316 | - beginTransactionDate?: string; | |
1668 | + remark?: string; | |
1669 | + remarkNote?: string; | |
1670 | + serialNumber?: string; | |
1671 | + status?: string; | |
1672 | + /** @format int32 */ | |
1673 | + total?: number; | |
1674 | +} | |
1675 | + | |
1676 | +export interface QueryCustomerInformationDto { | |
1317 | 1677 | /** |
1318 | 1678 | * @description |
1319 | - * 起息日-开始 | |
1320 | - * @format date | |
1679 | + * 单位 | |
1321 | 1680 | */ |
1322 | - beginValueDate?: string; | |
1681 | + institution?: string; | |
1323 | 1682 | /** |
1324 | 1683 | * @description |
1325 | - * 借方金额 | |
1684 | + * 单位联系人 | |
1326 | 1685 | */ |
1327 | - borrowedAmount?: number; | |
1686 | + institutionContactName?: string; | |
1328 | 1687 | /** |
1329 | 1688 | * @description |
1330 | - * 收银员 | |
1689 | + * 名称 | |
1331 | 1690 | */ |
1332 | - cashier?: string; | |
1333 | - /** | |
1334 | - * @description | |
1335 | - * 收款渠道 | |
1336 | - */ | |
1337 | - collectionChannel?: string; | |
1338 | - /** | |
1339 | - * @description | |
1340 | - * 币种 | |
1341 | - */ | |
1342 | - currency?: string; | |
1343 | - /** @format int32 */ | |
1344 | - current?: number; | |
1345 | - /** | |
1346 | - * @description | |
1347 | - * 交易日-结束 | |
1348 | - * @format date | |
1349 | - */ | |
1350 | - endTransactionDate?: string; | |
1351 | - /** | |
1352 | - * @description | |
1353 | - * 起息日-结束 | |
1354 | - * @format date | |
1355 | - */ | |
1356 | - endValueDate?: string; | |
1357 | - /** | |
1358 | - * @description | |
1359 | - * 扩展摘要 | |
1360 | - */ | |
1361 | - extendedSummary?: string; | |
1362 | - /** | |
1363 | - * @description | |
1364 | - * id | |
1365 | - * @format int64 | |
1366 | - */ | |
1367 | - id?: number; | |
1368 | - /** | |
1369 | - * @description | |
1370 | - * 贷方金额 | |
1371 | - */ | |
1372 | - loanAmount?: number; | |
1373 | - /** | |
1374 | - * @description | |
1375 | - * 商户订单号 | |
1376 | - */ | |
1377 | - merchantOrderNumber?: string; | |
1378 | - /** @format int32 */ | |
1379 | - pageSize?: number; | |
1380 | - /** | |
1381 | - * @description | |
1382 | - * 收(付)方账号 | |
1383 | - */ | |
1384 | - payeePayerAccountNumber?: string; | |
1385 | - /** | |
1386 | - * @description | |
1387 | - * 收(付)方开户行地址 | |
1388 | - */ | |
1389 | - payeePayerBankAddress?: string; | |
1390 | - /** | |
1391 | - * @description | |
1392 | - * 收(付)方开户行行号 | |
1393 | - */ | |
1394 | - payeePayerBankBranchCode?: string; | |
1395 | - /** | |
1396 | - * @description | |
1397 | - * 收(付)方开户行名 | |
1398 | - */ | |
1399 | - payeePayerBankName?: string; | |
1400 | - /** | |
1401 | - * @description | |
1402 | - * 收(付)方名称 | |
1403 | - */ | |
1404 | - payeePayerName?: string; | |
1405 | - /** | |
1406 | - * @description | |
1407 | - * 收(付)方单位 | |
1408 | - */ | |
1409 | - payeePayerUnit?: string; | |
1410 | - /** | |
1411 | - * @description | |
1412 | - * 支付类型 | |
1413 | - */ | |
1414 | - paymentType?: string; | |
1415 | - /** | |
1416 | - * @description | |
1417 | - * 附言 | |
1418 | - */ | |
1419 | - remarkNote?: string; | |
1420 | - /** | |
1421 | - * @description | |
1422 | - * 流水号 | |
1423 | - */ | |
1424 | - serialNumber?: string; | |
1425 | - /** | |
1426 | - * @description | |
1427 | - * 状态 | |
1428 | - */ | |
1429 | - status?: string; | |
1430 | - /** | |
1431 | - * @description | |
1432 | - * 摘要 | |
1433 | - */ | |
1434 | - summary?: string; | |
1435 | - /** | |
1436 | - * @description | |
1437 | - * 第三方订单号 | |
1438 | - */ | |
1439 | - thirdPartyOrderNumber?: string; | |
1440 | - /** @format int32 */ | |
1441 | - total?: number; | |
1442 | - /** | |
1443 | - * @description | |
1444 | - * 交易金额 | |
1445 | - */ | |
1446 | - transactionAmount?: number; | |
1447 | - /** | |
1448 | - * @description | |
1449 | - * 交易分析码 | |
1450 | - */ | |
1451 | - transactionAnalysisCode?: string; | |
1452 | - /** | |
1453 | - * @description | |
1454 | - * 交易行所 | |
1455 | - */ | |
1456 | - transactionBankBranch?: string; | |
1457 | - /** | |
1458 | - * @description | |
1459 | - * 交易类型 | |
1460 | - */ | |
1461 | - transactionType?: string; | |
1462 | -} | |
1463 | - | |
1464 | -export interface QueryCustomerInformationDto { | |
1465 | - /** | |
1466 | - * @description | |
1467 | - * 单位 | |
1468 | - */ | |
1469 | - institution?: string; | |
1470 | - /** | |
1471 | - * @description | |
1472 | - * 单位联系人 | |
1473 | - */ | |
1474 | - institutionContactName?: string; | |
1475 | - /** | |
1476 | - * @description | |
1477 | - * 名称 | |
1478 | - */ | |
1479 | - name?: string; | |
1480 | -} | |
1481 | - | |
1482 | -export interface QueryHistoryRecordDto { | |
1691 | + name?: string; | |
1692 | +} | |
1693 | + | |
1694 | +export interface QueryHistoryRecordDto { | |
1483 | 1695 | /** |
1484 | 1696 | * @description |
1485 | 1697 | * 子订单id集合 |
... | ... | @@ -1539,11 +1751,28 @@ export interface QueryReportFormsDto { |
1539 | 1751 | statisticsMethod?: string; |
1540 | 1752 | } |
1541 | 1753 | |
1754 | +export interface ReissueInvoiceDto { | |
1755 | + /** @format int64 */ | |
1756 | + invoiceId?: number; | |
1757 | + notes?: string; | |
1758 | +} | |
1759 | + | |
1542 | 1760 | export interface ResetPwdVO { |
1543 | 1761 | /** @format int64 */ |
1544 | 1762 | userId?: number; |
1545 | 1763 | } |
1546 | 1764 | |
1765 | +export interface Resource { | |
1766 | + description?: string; | |
1767 | + file?: TsgFile; | |
1768 | + filename?: string; | |
1769 | + inputStream?: InputStream; | |
1770 | + open?: boolean; | |
1771 | + readable?: boolean; | |
1772 | + uri?: URI; | |
1773 | + url?: TsgURL; | |
1774 | +} | |
1775 | + | |
1547 | 1776 | export interface SalOrderSaveDto { |
1548 | 1777 | id?: string; |
1549 | 1778 | } |
... | ... | @@ -1605,6 +1834,29 @@ export interface TokenApiDto { |
1605 | 1834 | username?: string; |
1606 | 1835 | } |
1607 | 1836 | |
1837 | +export interface URI { | |
1838 | + absolute?: boolean; | |
1839 | + authority?: string; | |
1840 | + fragment?: string; | |
1841 | + host?: string; | |
1842 | + opaque?: boolean; | |
1843 | + path?: string; | |
1844 | + /** @format int32 */ | |
1845 | + port?: number; | |
1846 | + query?: string; | |
1847 | + rawAuthority?: string; | |
1848 | + rawFragment?: string; | |
1849 | + rawPath?: string; | |
1850 | + rawQuery?: string; | |
1851 | + rawSchemeSpecificPart?: string; | |
1852 | + rawUserInfo?: string; | |
1853 | + scheme?: string; | |
1854 | + schemeSpecificPart?: string; | |
1855 | + userInfo?: string; | |
1856 | +} | |
1857 | + | |
1858 | +export type URLStreamHandler = any; | |
1859 | + | |
1608 | 1860 | export interface Unit { |
1609 | 1861 | /** @format float */ |
1610 | 1862 | coefficient?: number; |
... | ... | @@ -1713,10 +1965,493 @@ export interface UpdatePwdVO { |
1713 | 1965 | userId?: number; |
1714 | 1966 | } |
1715 | 1967 | |
1968 | +export interface UserAddressListRequest { | |
1969 | + keywords?: string; | |
1970 | + /** @format int32 */ | |
1971 | + limit?: number; | |
1972 | +} | |
1973 | + | |
1974 | +export interface UserCenterInfoRequest { | |
1975 | + /** @format int32 */ | |
1976 | + current?: number; | |
1977 | + /** @format int32 */ | |
1978 | + pageSize?: number; | |
1979 | + /** @format int32 */ | |
1980 | + total?: number; | |
1981 | + /** | |
1982 | + * @description | |
1983 | + * 类型:0=消费记录,1=积分明细,2=签到记录,3=持有优惠券,4=余额变动,5=好友关系 | |
1984 | + * @format int32 | |
1985 | + */ | |
1986 | + type?: number; | |
1987 | + /** | |
1988 | + * @description | |
1989 | + * 用户id | |
1990 | + * @format int32 | |
1991 | + */ | |
1992 | + uid?: number; | |
1993 | +} | |
1994 | + | |
1995 | +export interface UserDetailRequest { | |
1996 | + /** @format int32 */ | |
1997 | + current?: number; | |
1998 | + /** @format int32 */ | |
1999 | + pageSize?: number; | |
2000 | + /** | |
2001 | + * @description | |
2002 | + * 手机号 | |
2003 | + */ | |
2004 | + phone?: string; | |
2005 | + /** @format int32 */ | |
2006 | + total?: number; | |
2007 | + /** | |
2008 | + * @description | |
2009 | + * uid | |
2010 | + */ | |
2011 | + uid?: string; | |
2012 | +} | |
2013 | + | |
2014 | +export interface UserListRequest { | |
2015 | + /** @format int32 */ | |
2016 | + current?: number; | |
2017 | + /** | |
2018 | + * @description | |
2019 | + * 创建日期开始时间 | |
2020 | + */ | |
2021 | + dateLimit?: string; | |
2022 | + /** | |
2023 | + * @description | |
2024 | + * 单位 | |
2025 | + */ | |
2026 | + institution?: string; | |
2027 | + /** | |
2028 | + * @description | |
2029 | + * 课题组老师 | |
2030 | + */ | |
2031 | + institutionContactName?: string; | |
2032 | + /** | |
2033 | + * @description | |
2034 | + * 关键字 | |
2035 | + */ | |
2036 | + keywords?: string; | |
2037 | + /** @format int32 */ | |
2038 | + pageSize?: number; | |
2039 | + /** | |
2040 | + * @description | |
2041 | + * 手机号 | |
2042 | + */ | |
2043 | + phone?: string; | |
2044 | + /** | |
2045 | + * @description | |
2046 | + * salesCode | |
2047 | + */ | |
2048 | + salesCode?: string; | |
2049 | + /** @format int32 */ | |
2050 | + total?: number; | |
2051 | + /** | |
2052 | + * @description | |
2053 | + * id | |
2054 | + * @format int32 | |
2055 | + */ | |
2056 | + uid?: number; | |
2057 | + /** | |
2058 | + * @description | |
2059 | + * 用户名 | |
2060 | + */ | |
2061 | + username?: string; | |
2062 | +} | |
2063 | + | |
1716 | 2064 | export interface View { |
1717 | 2065 | contentType?: string; |
1718 | 2066 | } |
1719 | 2067 | |
2068 | +/** | |
2069 | + * @description | |
2070 | + * 确认收货请求 | |
2071 | + */ | |
2072 | +export interface ApiOrderConfirmReceiveRequest { | |
2073 | + /** | |
2074 | + * @description | |
2075 | + * 主订单id | |
2076 | + * @format int64 | |
2077 | + */ | |
2078 | + orderId?: number; | |
2079 | + /** | |
2080 | + * @description | |
2081 | + * 子订单id | |
2082 | + */ | |
2083 | + subOrderIds?: Array<number>; | |
2084 | +} | |
2085 | + | |
2086 | +export interface TsgFile { | |
2087 | + absolute?: boolean; | |
2088 | + absoluteFile?: TsgFile; | |
2089 | + absolutePath?: string; | |
2090 | + canonicalFile?: TsgFile; | |
2091 | + canonicalPath?: string; | |
2092 | + directory?: boolean; | |
2093 | + executable?: boolean; | |
2094 | + file?: boolean; | |
2095 | + /** @format int64 */ | |
2096 | + freeSpace?: number; | |
2097 | + hidden?: boolean; | |
2098 | + /** @format int64 */ | |
2099 | + lastModified?: number; | |
2100 | + name?: string; | |
2101 | + parent?: string; | |
2102 | + parentFile?: TsgFile; | |
2103 | + path?: string; | |
2104 | + readable?: boolean; | |
2105 | + /** @format int64 */ | |
2106 | + totalSpace?: number; | |
2107 | + /** @format int64 */ | |
2108 | + usableSpace?: number; | |
2109 | + writable?: boolean; | |
2110 | +} | |
2111 | + | |
2112 | +export interface SalesRechargePrepaymentAuditRequest { | |
2113 | + /** | |
2114 | + * @description | |
2115 | + * 审核意见 | |
2116 | + */ | |
2117 | + auditNotes?: string; | |
2118 | + /** | |
2119 | + * @description | |
2120 | + * id集合 | |
2121 | + */ | |
2122 | + ids?: Array<number>; | |
2123 | + /** | |
2124 | + * @description | |
2125 | + * 是否通过 | |
2126 | + */ | |
2127 | + pass?: boolean; | |
2128 | +} | |
2129 | + | |
2130 | +export interface SalesRechargePrepaymentCreateRequest { | |
2131 | + /** | |
2132 | + * @description | |
2133 | + * 联系人 | |
2134 | + */ | |
2135 | + contactPerson?: string; | |
2136 | + /** | |
2137 | + * @description | |
2138 | + * 客户名称 | |
2139 | + */ | |
2140 | + customerName?: string; | |
2141 | + /** | |
2142 | + * @description | |
2143 | + * 备注 | |
2144 | + */ | |
2145 | + notes?: string; | |
2146 | + /** | |
2147 | + * @description | |
2148 | + * 手机号 | |
2149 | + */ | |
2150 | + phone?: string; | |
2151 | + /** | |
2152 | + * @description | |
2153 | + * 凭证 | |
2154 | + */ | |
2155 | + proofImages?: Array<string>; | |
2156 | + /** | |
2157 | + * @description | |
2158 | + * 充值金额 | |
2159 | + */ | |
2160 | + rechargeAmount?: number; | |
2161 | + /** | |
2162 | + * @description | |
2163 | + * 来源 | |
2164 | + */ | |
2165 | + rechargeSource?: string; | |
2166 | + /** | |
2167 | + * @description | |
2168 | + * 销售代表 | |
2169 | + */ | |
2170 | + salesCode?: string; | |
2171 | +} | |
2172 | + | |
2173 | +export interface SalesRechargePrepaymentDeleteRequest { | |
2174 | + /** | |
2175 | + * @description | |
2176 | + * id集合 | |
2177 | + */ | |
2178 | + ids?: Array<number>; | |
2179 | +} | |
2180 | + | |
2181 | +export interface SalesRechargePrepaymentRequest { | |
2182 | + /** | |
2183 | + * @description | |
2184 | + * 审核时间 | |
2185 | + * @format date-time | |
2186 | + */ | |
2187 | + auditDate?: string; | |
2188 | + /** | |
2189 | + * @description | |
2190 | + * 审核备注 | |
2191 | + */ | |
2192 | + auditNotes?: string; | |
2193 | + /** | |
2194 | + * @description | |
2195 | + * 审核人员 | |
2196 | + */ | |
2197 | + auditors?: string; | |
2198 | + /** | |
2199 | + * @description | |
2200 | + * 联系人 | |
2201 | + */ | |
2202 | + contactPerson?: string; | |
2203 | + /** | |
2204 | + * @description | |
2205 | + * 创建人员 | |
2206 | + */ | |
2207 | + createBy?: string; | |
2208 | + /** | |
2209 | + * @description | |
2210 | + * 创建时间开始时间 | |
2211 | + * @format date-time | |
2212 | + */ | |
2213 | + createTimeBeginTime?: string; | |
2214 | + /** | |
2215 | + * @description | |
2216 | + * 创建时间结束时间 | |
2217 | + * @format date-time | |
2218 | + */ | |
2219 | + createTimeEndTime?: string; | |
2220 | + /** @format int32 */ | |
2221 | + current?: number; | |
2222 | + /** | |
2223 | + * @description | |
2224 | + * 客户名称 | |
2225 | + */ | |
2226 | + customerName?: string; | |
2227 | + /** | |
2228 | + * @description | |
2229 | + * 是否启用 | |
2230 | + * @format int32 | |
2231 | + */ | |
2232 | + enableFlag?: number; | |
2233 | + /** | |
2234 | + * @description | |
2235 | + * id | |
2236 | + * @format int32 | |
2237 | + */ | |
2238 | + id?: number; | |
2239 | + /** | |
2240 | + * @description | |
2241 | + * 修改人员 | |
2242 | + */ | |
2243 | + modifyBy?: string; | |
2244 | + /** | |
2245 | + * @description | |
2246 | + * 修改时间 | |
2247 | + * @format date-time | |
2248 | + */ | |
2249 | + modifyTime?: string; | |
2250 | + /** | |
2251 | + * @description | |
2252 | + * 备注 | |
2253 | + */ | |
2254 | + notes?: string; | |
2255 | + /** @format int32 */ | |
2256 | + pageSize?: number; | |
2257 | + /** | |
2258 | + * @description | |
2259 | + * 手机号 | |
2260 | + */ | |
2261 | + phone?: string; | |
2262 | + /** | |
2263 | + * @description | |
2264 | + * 充值金额 | |
2265 | + */ | |
2266 | + rechargeAmount?: number; | |
2267 | + /** | |
2268 | + * @description | |
2269 | + * 来源 | |
2270 | + */ | |
2271 | + rechargeSource?: string; | |
2272 | + /** | |
2273 | + * @description | |
2274 | + * 销售代表 | |
2275 | + */ | |
2276 | + salesCode?: string; | |
2277 | + /** | |
2278 | + * @description | |
2279 | + * 状态 | |
2280 | + */ | |
2281 | + status?: string; | |
2282 | + /** @format int32 */ | |
2283 | + total?: number; | |
2284 | + /** | |
2285 | + * @description | |
2286 | + * 版本号 | |
2287 | + * @format int32 | |
2288 | + */ | |
2289 | + version?: number; | |
2290 | +} | |
2291 | + | |
2292 | +export interface SalesRechargePrepaymentUpdateRequest { | |
2293 | + /** | |
2294 | + * @description | |
2295 | + * 联系人 | |
2296 | + */ | |
2297 | + contactPerson?: string; | |
2298 | + /** | |
2299 | + * @description | |
2300 | + * 客户名称 | |
2301 | + */ | |
2302 | + customerName?: string; | |
2303 | + /** | |
2304 | + * @description | |
2305 | + * 编号 | |
2306 | + * @format int32 | |
2307 | + */ | |
2308 | + id?: number; | |
2309 | + /** | |
2310 | + * @description | |
2311 | + * 备注 | |
2312 | + */ | |
2313 | + notes?: string; | |
2314 | + /** | |
2315 | + * @description | |
2316 | + * 手机号 | |
2317 | + */ | |
2318 | + phone?: string; | |
2319 | + /** | |
2320 | + * @description | |
2321 | + * 凭证 | |
2322 | + */ | |
2323 | + proofImages?: Array<string>; | |
2324 | + /** | |
2325 | + * @description | |
2326 | + * 充值金额 | |
2327 | + */ | |
2328 | + rechargeAmount?: number; | |
2329 | + /** | |
2330 | + * @description | |
2331 | + * 来源 | |
2332 | + */ | |
2333 | + rechargeSource?: string; | |
2334 | + /** | |
2335 | + * @description | |
2336 | + * 销售代表 | |
2337 | + */ | |
2338 | + salesCode?: string; | |
2339 | +} | |
2340 | + | |
2341 | +/** | |
2342 | + * @description | |
2343 | + * 开票添加对象 | |
2344 | + */ | |
2345 | +export interface StoreOrderInvoiceRequest { | |
2346 | + /** | |
2347 | + * @description | |
2348 | + * 开票备注 | |
2349 | + */ | |
2350 | + comment?: string; | |
2351 | + /** | |
2352 | + * @description | |
2353 | + * 开票内容 | |
2354 | + */ | |
2355 | + content?: string; | |
2356 | + /** | |
2357 | + * @description | |
2358 | + * 创建时间 | |
2359 | + * @format date-time | |
2360 | + */ | |
2361 | + createTime?: string; | |
2362 | + /** | |
2363 | + * @description | |
2364 | + * 关联订单id | |
2365 | + */ | |
2366 | + orderIdList?: Array<number>; | |
2367 | + /** | |
2368 | + * @description | |
2369 | + * 买方注册地址 | |
2370 | + */ | |
2371 | + partyAAddress?: string; | |
2372 | + /** | |
2373 | + * @description | |
2374 | + * 买方开户行账号 | |
2375 | + */ | |
2376 | + partyABankAccount?: string; | |
2377 | + /** | |
2378 | + * @description | |
2379 | + * 买方名称 | |
2380 | + */ | |
2381 | + partyAName?: string; | |
2382 | + /** | |
2383 | + * @description | |
2384 | + * 买方开户行 | |
2385 | + */ | |
2386 | + partyAOpenBank?: string; | |
2387 | + /** | |
2388 | + * @description | |
2389 | + * 买方电话号码 | |
2390 | + */ | |
2391 | + partyAPhoneNumber?: string; | |
2392 | + /** | |
2393 | + * @description | |
2394 | + * 买方税号 | |
2395 | + */ | |
2396 | + partyATaxid?: string; | |
2397 | + /** | |
2398 | + * @description | |
2399 | + * 抬头类型 | |
2400 | + */ | |
2401 | + partyAType?: string; | |
2402 | + /** | |
2403 | + * @description | |
2404 | + * 卖方名称 | |
2405 | + */ | |
2406 | + partyBName?: string; | |
2407 | + /** | |
2408 | + * @description | |
2409 | + * 发票金额 | |
2410 | + * @format double | |
2411 | + */ | |
2412 | + price?: number; | |
2413 | + /** | |
2414 | + * @description | |
2415 | + * 接收邮箱地址 | |
2416 | + */ | |
2417 | + receiveEmail?: string; | |
2418 | + /** | |
2419 | + * @description | |
2420 | + * 发票类型 | |
2421 | + */ | |
2422 | + type?: string; | |
2423 | + /** | |
2424 | + * @description | |
2425 | + * 用户id | |
2426 | + */ | |
2427 | + uid?: string; | |
2428 | + /** | |
2429 | + * @description | |
2430 | + * 更新时间 | |
2431 | + * @format date-time | |
2432 | + */ | |
2433 | + updateTime?: string; | |
2434 | +} | |
2435 | + | |
2436 | +export interface TsgURL { | |
2437 | + authority?: string; | |
2438 | + content?: any; | |
2439 | + /** @format int32 */ | |
2440 | + defaultPort?: number; | |
2441 | + deserializedFields?: URLStreamHandler; | |
2442 | + file?: string; | |
2443 | + host?: string; | |
2444 | + path?: string; | |
2445 | + /** @format int32 */ | |
2446 | + port?: number; | |
2447 | + protocol?: string; | |
2448 | + query?: string; | |
2449 | + ref?: string; | |
2450 | + /** @format int32 */ | |
2451 | + serializedHashCode?: number; | |
2452 | + userInfo?: string; | |
2453 | +} | |
2454 | + | |
1720 | 2455 | export interface UploadPaymentReceiptDTO { |
1721 | 2456 | /** |
1722 | 2457 | * @description | ... | ... |
src/services/request.ts
... | ... | @@ -7,9 +7,21 @@ import type { |
7 | 7 | ServerResult, |
8 | 8 | ApiApplyAddressModifyRequest, |
9 | 9 | ApiApplyAfterSalesRequest, |
10 | + ApiOrderConfirmReceiveRequest, | |
11 | + ApiCreateOrderRequest, | |
12 | + ApiOrderCustomersRequest, | |
13 | + ApiOrderEvaluatedRequest, | |
14 | + MainOrderqueryRequest, | |
15 | + InvoiceRecordQueryRequest, | |
10 | 16 | ApiQueryOrderDetailRequest, |
11 | 17 | ApiQueryOrderStatusCountsRequest, |
12 | 18 | Dto, |
19 | + StoreOrderInvoiceRequest, | |
20 | + UserAddressListRequest, | |
21 | + UserCenterInfoRequest, | |
22 | + UserDetailRequest, | |
23 | + UserListRequest, | |
24 | + ModelAndView, | |
13 | 25 | CustomerCustomerListReq, |
14 | 26 | CustomerListRes, |
15 | 27 | CustomerDetailDto, |
... | ... | @@ -52,6 +64,12 @@ import type { |
52 | 64 | OrderBaseInfoQueryVO, |
53 | 65 | OrderUpdateVO, |
54 | 66 | OrderUnlockFieldApplyVO, |
67 | + OrderStagesDelDo, | |
68 | + OrderStagesFromDo, | |
69 | + OrderStagesSelDo, | |
70 | + OrderStagesPayWay, | |
71 | + OrderStagesPayWayDo, | |
72 | + OrderStagesPayWayFileDo, | |
55 | 73 | OrderProfitAnalysisVo, |
56 | 74 | AdminRoleVO, |
57 | 75 | AdminRoleQueryVO, |
... | ... | @@ -61,9 +79,16 @@ import type { |
61 | 79 | AdminUserQueryVO, |
62 | 80 | ResetPwdVO, |
63 | 81 | UpdatePwdVO, |
82 | + SalesRechargePrepaymentAuditRequest, | |
83 | + SalesRechargePrepaymentCreateRequest, | |
84 | + SalesRechargePrepaymentDeleteRequest, | |
85 | + SalesRechargePrepaymentRequest, | |
86 | + SalesRechargePrepaymentUpdateRequest, | |
64 | 87 | QueryBankStatementDto, |
88 | + InvoiceDto, | |
65 | 89 | CancelInvoiceAndBankStatementDto, |
66 | 90 | QueryInvoiceDetailDto, |
91 | + ReissueInvoiceDto, | |
67 | 92 | AuditDto, |
68 | 93 | CancelSendOrderDto, |
69 | 94 | ProcureConvertProcureDto, |
... | ... | @@ -394,8 +419,8 @@ export const postApiOrderApplyAfterSales = /* #__PURE__ */ (() => { |
394 | 419 | return request; |
395 | 420 | })(); |
396 | 421 | |
397 | -/** @description request parameter type for postApiOrderQueryOrderDetail */ | |
398 | -export interface PostApiOrderQueryOrderDetailOption { | |
422 | +/** @description request parameter type for postApiOrderConfirmReceive */ | |
423 | +export interface PostApiOrderConfirmReceiveOption { | |
399 | 424 | /** |
400 | 425 | * @description |
401 | 426 | * request |
... | ... | @@ -404,12 +429,12 @@ export interface PostApiOrderQueryOrderDetailOption { |
404 | 429 | /** |
405 | 430 | @description |
406 | 431 | request */ |
407 | - request: ApiQueryOrderDetailRequest; | |
432 | + request: ApiOrderConfirmReceiveRequest; | |
408 | 433 | }; |
409 | 434 | } |
410 | 435 | |
411 | -/** @description response type for postApiOrderQueryOrderDetail */ | |
412 | -export interface PostApiOrderQueryOrderDetailResponse { | |
436 | +/** @description response type for postApiOrderConfirmReceive */ | |
437 | +export interface PostApiOrderConfirmReceiveResponse { | |
413 | 438 | /** |
414 | 439 | * @description |
415 | 440 | * OK |
... | ... | @@ -437,25 +462,25 @@ export interface PostApiOrderQueryOrderDetailResponse { |
437 | 462 | 404: any; |
438 | 463 | } |
439 | 464 | |
440 | -export type PostApiOrderQueryOrderDetailResponseSuccess = | |
441 | - PostApiOrderQueryOrderDetailResponse[200]; | |
465 | +export type PostApiOrderConfirmReceiveResponseSuccess = | |
466 | + PostApiOrderConfirmReceiveResponse[200]; | |
442 | 467 | /** |
443 | 468 | * @description |
444 | - * 订单详情 | |
469 | + * 确认收货 | |
445 | 470 | * @tags 内部订单 |
446 | 471 | * @produces * |
447 | 472 | * @consumes application/json |
448 | 473 | */ |
449 | -export const postApiOrderQueryOrderDetail = /* #__PURE__ */ (() => { | |
474 | +export const postApiOrderConfirmReceive = /* #__PURE__ */ (() => { | |
450 | 475 | const method = "post"; |
451 | - const url = "/api/order/queryOrderDetail"; | |
476 | + const url = "/api/order/confirmReceive"; | |
452 | 477 | function request( |
453 | - option: PostApiOrderQueryOrderDetailOption | |
454 | - ): Promise<PostApiOrderQueryOrderDetailResponseSuccess> { | |
478 | + option: PostApiOrderConfirmReceiveOption | |
479 | + ): Promise<PostApiOrderConfirmReceiveResponseSuccess> { | |
455 | 480 | return requester(request.url, { |
456 | 481 | method: request.method, |
457 | 482 | ...option, |
458 | - }) as unknown as Promise<PostApiOrderQueryOrderDetailResponseSuccess>; | |
483 | + }) as unknown as Promise<PostApiOrderConfirmReceiveResponseSuccess>; | |
459 | 484 | } |
460 | 485 | |
461 | 486 | /** http method */ |
... | ... | @@ -465,8 +490,8 @@ export const postApiOrderQueryOrderDetail = /* #__PURE__ */ (() => { |
465 | 490 | return request; |
466 | 491 | })(); |
467 | 492 | |
468 | -/** @description request parameter type for postApiOrderQueryOrderStatusCounts */ | |
469 | -export interface PostApiOrderQueryOrderStatusCountsOption { | |
493 | +/** @description request parameter type for postApiOrderCreateOrder */ | |
494 | +export interface PostApiOrderCreateOrderOption { | |
470 | 495 | /** |
471 | 496 | * @description |
472 | 497 | * request |
... | ... | @@ -475,12 +500,12 @@ export interface PostApiOrderQueryOrderStatusCountsOption { |
475 | 500 | /** |
476 | 501 | @description |
477 | 502 | request */ |
478 | - request: ApiQueryOrderStatusCountsRequest; | |
503 | + request: ApiCreateOrderRequest; | |
479 | 504 | }; |
480 | 505 | } |
481 | 506 | |
482 | -/** @description response type for postApiOrderQueryOrderStatusCounts */ | |
483 | -export interface PostApiOrderQueryOrderStatusCountsResponse { | |
507 | +/** @description response type for postApiOrderCreateOrder */ | |
508 | +export interface PostApiOrderCreateOrderResponse { | |
484 | 509 | /** |
485 | 510 | * @description |
486 | 511 | * OK |
... | ... | @@ -508,25 +533,25 @@ export interface PostApiOrderQueryOrderStatusCountsResponse { |
508 | 533 | 404: any; |
509 | 534 | } |
510 | 535 | |
511 | -export type PostApiOrderQueryOrderStatusCountsResponseSuccess = | |
512 | - PostApiOrderQueryOrderStatusCountsResponse[200]; | |
536 | +export type PostApiOrderCreateOrderResponseSuccess = | |
537 | + PostApiOrderCreateOrderResponse[200]; | |
513 | 538 | /** |
514 | 539 | * @description |
515 | - * 获取各个订单状态数量 | |
540 | + * 创建订单 | |
516 | 541 | * @tags 内部订单 |
517 | 542 | * @produces * |
518 | 543 | * @consumes application/json |
519 | 544 | */ |
520 | -export const postApiOrderQueryOrderStatusCounts = /* #__PURE__ */ (() => { | |
545 | +export const postApiOrderCreateOrder = /* #__PURE__ */ (() => { | |
521 | 546 | const method = "post"; |
522 | - const url = "/api/order/queryOrderStatusCounts"; | |
547 | + const url = "/api/order/createOrder"; | |
523 | 548 | function request( |
524 | - option: PostApiOrderQueryOrderStatusCountsOption | |
525 | - ): Promise<PostApiOrderQueryOrderStatusCountsResponseSuccess> { | |
549 | + option: PostApiOrderCreateOrderOption | |
550 | + ): Promise<PostApiOrderCreateOrderResponseSuccess> { | |
526 | 551 | return requester(request.url, { |
527 | 552 | method: request.method, |
528 | 553 | ...option, |
529 | - }) as unknown as Promise<PostApiOrderQueryOrderStatusCountsResponseSuccess>; | |
554 | + }) as unknown as Promise<PostApiOrderCreateOrderResponseSuccess>; | |
530 | 555 | } |
531 | 556 | |
532 | 557 | /** http method */ |
... | ... | @@ -536,8 +561,8 @@ export const postApiOrderQueryOrderStatusCounts = /* #__PURE__ */ (() => { |
536 | 561 | return request; |
537 | 562 | })(); |
538 | 563 | |
539 | -/** @description request parameter type for postApiOrderQueryServiceOrder */ | |
540 | -export interface PostApiOrderQueryServiceOrderOption { | |
564 | +/** @description request parameter type for postApiOrderCustomers */ | |
565 | +export interface PostApiOrderCustomersOption { | |
541 | 566 | /** |
542 | 567 | * @description |
543 | 568 | * request |
... | ... | @@ -546,12 +571,12 @@ export interface PostApiOrderQueryServiceOrderOption { |
546 | 571 | /** |
547 | 572 | @description |
548 | 573 | request */ |
549 | - request: Dto; | |
574 | + request: ApiOrderCustomersRequest; | |
550 | 575 | }; |
551 | 576 | } |
552 | 577 | |
553 | -/** @description response type for postApiOrderQueryServiceOrder */ | |
554 | -export interface PostApiOrderQueryServiceOrderResponse { | |
578 | +/** @description response type for postApiOrderCustomers */ | |
579 | +export interface PostApiOrderCustomersResponse { | |
555 | 580 | /** |
556 | 581 | * @description |
557 | 582 | * OK |
... | ... | @@ -579,25 +604,25 @@ export interface PostApiOrderQueryServiceOrderResponse { |
579 | 604 | 404: any; |
580 | 605 | } |
581 | 606 | |
582 | -export type PostApiOrderQueryServiceOrderResponseSuccess = | |
583 | - PostApiOrderQueryServiceOrderResponse[200]; | |
607 | +export type PostApiOrderCustomersResponseSuccess = | |
608 | + PostApiOrderCustomersResponse[200]; | |
584 | 609 | /** |
585 | 610 | * @description |
586 | - * 查询订单列表 | |
611 | + * 查询订单客户信息 | |
587 | 612 | * @tags 内部订单 |
588 | 613 | * @produces * |
589 | 614 | * @consumes application/json |
590 | 615 | */ |
591 | -export const postApiOrderQueryServiceOrder = /* #__PURE__ */ (() => { | |
616 | +export const postApiOrderCustomers = /* #__PURE__ */ (() => { | |
592 | 617 | const method = "post"; |
593 | - const url = "/api/order/queryServiceOrder"; | |
618 | + const url = "/api/order/customers"; | |
594 | 619 | function request( |
595 | - option: PostApiOrderQueryServiceOrderOption | |
596 | - ): Promise<PostApiOrderQueryServiceOrderResponseSuccess> { | |
620 | + option: PostApiOrderCustomersOption | |
621 | + ): Promise<PostApiOrderCustomersResponseSuccess> { | |
597 | 622 | return requester(request.url, { |
598 | 623 | method: request.method, |
599 | 624 | ...option, |
600 | - }) as unknown as Promise<PostApiOrderQueryServiceOrderResponseSuccess>; | |
625 | + }) as unknown as Promise<PostApiOrderCustomersResponseSuccess>; | |
601 | 626 | } |
602 | 627 | |
603 | 628 | /** http method */ |
... | ... | @@ -607,15 +632,32 @@ export const postApiOrderQueryServiceOrder = /* #__PURE__ */ (() => { |
607 | 632 | return request; |
608 | 633 | })(); |
609 | 634 | |
610 | -/** @description response type for getError */ | |
611 | -export interface GetErrorResponse { | |
635 | +/** @description request parameter type for postApiOrderEvaluated */ | |
636 | +export interface PostApiOrderEvaluatedOption { | |
612 | 637 | /** |
613 | 638 | * @description |
614 | - * OK | |
639 | + * request | |
615 | 640 | */ |
616 | - 200: { | |
617 | - [propertyName: string]: any; | |
641 | + body: { | |
642 | + /** | |
643 | + @description | |
644 | + request */ | |
645 | + request: ApiOrderEvaluatedRequest; | |
618 | 646 | }; |
647 | +} | |
648 | + | |
649 | +/** @description response type for postApiOrderEvaluated */ | |
650 | +export interface PostApiOrderEvaluatedResponse { | |
651 | + /** | |
652 | + * @description | |
653 | + * OK | |
654 | + */ | |
655 | + 200: ServerResult; | |
656 | + /** | |
657 | + * @description | |
658 | + * Created | |
659 | + */ | |
660 | + 201: any; | |
619 | 661 | /** |
620 | 662 | * @description |
621 | 663 | * Unauthorized |
... | ... | @@ -633,20 +675,25 @@ export interface GetErrorResponse { |
633 | 675 | 404: any; |
634 | 676 | } |
635 | 677 | |
636 | -export type GetErrorResponseSuccess = GetErrorResponse[200]; | |
678 | +export type PostApiOrderEvaluatedResponseSuccess = | |
679 | + PostApiOrderEvaluatedResponse[200]; | |
637 | 680 | /** |
638 | 681 | * @description |
639 | - * error | |
640 | - * @tags basic-error-controller | |
682 | + * 评价子订单 | |
683 | + * @tags 内部订单 | |
641 | 684 | * @produces * |
685 | + * @consumes application/json | |
642 | 686 | */ |
643 | -export const getError = /* #__PURE__ */ (() => { | |
644 | - const method = "get"; | |
645 | - const url = "/error"; | |
646 | - function request(): Promise<GetErrorResponseSuccess> { | |
687 | +export const postApiOrderEvaluated = /* #__PURE__ */ (() => { | |
688 | + const method = "post"; | |
689 | + const url = "/api/order/evaluated"; | |
690 | + function request( | |
691 | + option: PostApiOrderEvaluatedOption | |
692 | + ): Promise<PostApiOrderEvaluatedResponseSuccess> { | |
647 | 693 | return requester(request.url, { |
648 | 694 | method: request.method, |
649 | - }) as unknown as Promise<GetErrorResponseSuccess>; | |
695 | + ...option, | |
696 | + }) as unknown as Promise<PostApiOrderEvaluatedResponseSuccess>; | |
650 | 697 | } |
651 | 698 | |
652 | 699 | /** http method */ |
... | ... | @@ -656,15 +703,27 @@ export const getError = /* #__PURE__ */ (() => { |
656 | 703 | return request; |
657 | 704 | })(); |
658 | 705 | |
659 | -/** @description response type for putError */ | |
660 | -export interface PutErrorResponse { | |
706 | +/** @description request parameter type for postApiOrderInvoicedOrderList */ | |
707 | +export interface PostApiOrderInvoicedOrderListOption { | |
661 | 708 | /** |
662 | 709 | * @description |
663 | - * OK | |
710 | + * request | |
664 | 711 | */ |
665 | - 200: { | |
666 | - [propertyName: string]: any; | |
712 | + body: { | |
713 | + /** | |
714 | + @description | |
715 | + request */ | |
716 | + request: MainOrderqueryRequest; | |
667 | 717 | }; |
718 | +} | |
719 | + | |
720 | +/** @description response type for postApiOrderInvoicedOrderList */ | |
721 | +export interface PostApiOrderInvoicedOrderListResponse { | |
722 | + /** | |
723 | + * @description | |
724 | + * OK | |
725 | + */ | |
726 | + 200: ServerResult; | |
668 | 727 | /** |
669 | 728 | * @description |
670 | 729 | * Created |
... | ... | @@ -687,21 +746,25 @@ export interface PutErrorResponse { |
687 | 746 | 404: any; |
688 | 747 | } |
689 | 748 | |
690 | -export type PutErrorResponseSuccess = PutErrorResponse[200]; | |
749 | +export type PostApiOrderInvoicedOrderListResponseSuccess = | |
750 | + PostApiOrderInvoicedOrderListResponse[200]; | |
691 | 751 | /** |
692 | 752 | * @description |
693 | - * error | |
694 | - * @tags basic-error-controller | |
753 | + * 获取已开票订单 | |
754 | + * @tags 内部订单 | |
695 | 755 | * @produces * |
696 | 756 | * @consumes application/json |
697 | 757 | */ |
698 | -export const putError = /* #__PURE__ */ (() => { | |
699 | - const method = "put"; | |
700 | - const url = "/error"; | |
701 | - function request(): Promise<PutErrorResponseSuccess> { | |
758 | +export const postApiOrderInvoicedOrderList = /* #__PURE__ */ (() => { | |
759 | + const method = "post"; | |
760 | + const url = "/api/order/invoicedOrderList"; | |
761 | + function request( | |
762 | + option: PostApiOrderInvoicedOrderListOption | |
763 | + ): Promise<PostApiOrderInvoicedOrderListResponseSuccess> { | |
702 | 764 | return requester(request.url, { |
703 | 765 | method: request.method, |
704 | - }) as unknown as Promise<PutErrorResponseSuccess>; | |
766 | + ...option, | |
767 | + }) as unknown as Promise<PostApiOrderInvoicedOrderListResponseSuccess>; | |
705 | 768 | } |
706 | 769 | |
707 | 770 | /** http method */ |
... | ... | @@ -711,15 +774,27 @@ export const putError = /* #__PURE__ */ (() => { |
711 | 774 | return request; |
712 | 775 | })(); |
713 | 776 | |
714 | -/** @description response type for postError */ | |
715 | -export interface PostErrorResponse { | |
777 | +/** @description request parameter type for postApiOrderInvoicedRecordList */ | |
778 | +export interface PostApiOrderInvoicedRecordListOption { | |
716 | 779 | /** |
717 | 780 | * @description |
718 | - * OK | |
781 | + * request | |
719 | 782 | */ |
720 | - 200: { | |
721 | - [propertyName: string]: any; | |
783 | + body: { | |
784 | + /** | |
785 | + @description | |
786 | + request */ | |
787 | + request: InvoiceRecordQueryRequest; | |
722 | 788 | }; |
789 | +} | |
790 | + | |
791 | +/** @description response type for postApiOrderInvoicedRecordList */ | |
792 | +export interface PostApiOrderInvoicedRecordListResponse { | |
793 | + /** | |
794 | + * @description | |
795 | + * OK | |
796 | + */ | |
797 | + 200: ServerResult; | |
723 | 798 | /** |
724 | 799 | * @description |
725 | 800 | * Created |
... | ... | @@ -742,21 +817,25 @@ export interface PostErrorResponse { |
742 | 817 | 404: any; |
743 | 818 | } |
744 | 819 | |
745 | -export type PostErrorResponseSuccess = PostErrorResponse[200]; | |
820 | +export type PostApiOrderInvoicedRecordListResponseSuccess = | |
821 | + PostApiOrderInvoicedRecordListResponse[200]; | |
746 | 822 | /** |
747 | 823 | * @description |
748 | - * error | |
749 | - * @tags basic-error-controller | |
824 | + * 获取开票记录 | |
825 | + * @tags 内部订单 | |
750 | 826 | * @produces * |
751 | 827 | * @consumes application/json |
752 | 828 | */ |
753 | -export const postError = /* #__PURE__ */ (() => { | |
829 | +export const postApiOrderInvoicedRecordList = /* #__PURE__ */ (() => { | |
754 | 830 | const method = "post"; |
755 | - const url = "/error"; | |
756 | - function request(): Promise<PostErrorResponseSuccess> { | |
831 | + const url = "/api/order/invoicedRecordList"; | |
832 | + function request( | |
833 | + option: PostApiOrderInvoicedRecordListOption | |
834 | + ): Promise<PostApiOrderInvoicedRecordListResponseSuccess> { | |
757 | 835 | return requester(request.url, { |
758 | 836 | method: request.method, |
759 | - }) as unknown as Promise<PostErrorResponseSuccess>; | |
837 | + ...option, | |
838 | + }) as unknown as Promise<PostApiOrderInvoicedRecordListResponseSuccess>; | |
760 | 839 | } |
761 | 840 | |
762 | 841 | /** http method */ |
... | ... | @@ -766,20 +845,18 @@ export const postError = /* #__PURE__ */ (() => { |
766 | 845 | return request; |
767 | 846 | })(); |
768 | 847 | |
769 | -/** @description response type for deleteError */ | |
770 | -export interface DeleteErrorResponse { | |
848 | +/** @description response type for postApiOrderListAllSubOrderBaseInfo */ | |
849 | +export interface PostApiOrderListAllSubOrderBaseInfoResponse { | |
771 | 850 | /** |
772 | 851 | * @description |
773 | 852 | * OK |
774 | 853 | */ |
775 | - 200: { | |
776 | - [propertyName: string]: any; | |
777 | - }; | |
854 | + 200: ServerResult; | |
778 | 855 | /** |
779 | 856 | * @description |
780 | - * No Content | |
857 | + * Created | |
781 | 858 | */ |
782 | - 204: any; | |
859 | + 201: any; | |
783 | 860 | /** |
784 | 861 | * @description |
785 | 862 | * Unauthorized |
... | ... | @@ -790,22 +867,29 @@ export interface DeleteErrorResponse { |
790 | 867 | * Forbidden |
791 | 868 | */ |
792 | 869 | 403: any; |
870 | + /** | |
871 | + * @description | |
872 | + * Not Found | |
873 | + */ | |
874 | + 404: any; | |
793 | 875 | } |
794 | 876 | |
795 | -export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; | |
877 | +export type PostApiOrderListAllSubOrderBaseInfoResponseSuccess = | |
878 | + PostApiOrderListAllSubOrderBaseInfoResponse[200]; | |
796 | 879 | /** |
797 | 880 | * @description |
798 | - * error | |
799 | - * @tags basic-error-controller | |
881 | + * 查询所有子订单基本信息 | |
882 | + * @tags 内部订单 | |
800 | 883 | * @produces * |
884 | + * @consumes application/json | |
801 | 885 | */ |
802 | -export const deleteError = /* #__PURE__ */ (() => { | |
803 | - const method = "delete"; | |
804 | - const url = "/error"; | |
805 | - function request(): Promise<DeleteErrorResponseSuccess> { | |
886 | +export const postApiOrderListAllSubOrderBaseInfo = /* #__PURE__ */ (() => { | |
887 | + const method = "post"; | |
888 | + const url = "/api/order/listAllSubOrderBaseInfo"; | |
889 | + function request(): Promise<PostApiOrderListAllSubOrderBaseInfoResponseSuccess> { | |
806 | 890 | return requester(request.url, { |
807 | 891 | method: request.method, |
808 | - }) as unknown as Promise<DeleteErrorResponseSuccess>; | |
892 | + }) as unknown as Promise<PostApiOrderListAllSubOrderBaseInfoResponseSuccess>; | |
809 | 893 | } |
810 | 894 | |
811 | 895 | /** http method */ |
... | ... | @@ -815,20 +899,32 @@ export const deleteError = /* #__PURE__ */ (() => { |
815 | 899 | return request; |
816 | 900 | })(); |
817 | 901 | |
818 | -/** @description response type for optionsError */ | |
819 | -export interface OptionsErrorResponse { | |
902 | +/** @description request parameter type for postApiOrderQueryOrderDetail */ | |
903 | +export interface PostApiOrderQueryOrderDetailOption { | |
820 | 904 | /** |
821 | 905 | * @description |
822 | - * OK | |
906 | + * request | |
823 | 907 | */ |
824 | - 200: { | |
825 | - [propertyName: string]: any; | |
908 | + body: { | |
909 | + /** | |
910 | + @description | |
911 | + request */ | |
912 | + request: ApiQueryOrderDetailRequest; | |
826 | 913 | }; |
914 | +} | |
915 | + | |
916 | +/** @description response type for postApiOrderQueryOrderDetail */ | |
917 | +export interface PostApiOrderQueryOrderDetailResponse { | |
827 | 918 | /** |
828 | 919 | * @description |
829 | - * No Content | |
920 | + * OK | |
830 | 921 | */ |
831 | - 204: any; | |
922 | + 200: ServerResult; | |
923 | + /** | |
924 | + * @description | |
925 | + * Created | |
926 | + */ | |
927 | + 201: any; | |
832 | 928 | /** |
833 | 929 | * @description |
834 | 930 | * Unauthorized |
... | ... | @@ -839,23 +935,32 @@ export interface OptionsErrorResponse { |
839 | 935 | * Forbidden |
840 | 936 | */ |
841 | 937 | 403: any; |
938 | + /** | |
939 | + * @description | |
940 | + * Not Found | |
941 | + */ | |
942 | + 404: any; | |
842 | 943 | } |
843 | 944 | |
844 | -export type OptionsErrorResponseSuccess = OptionsErrorResponse[200]; | |
945 | +export type PostApiOrderQueryOrderDetailResponseSuccess = | |
946 | + PostApiOrderQueryOrderDetailResponse[200]; | |
845 | 947 | /** |
846 | 948 | * @description |
847 | - * error | |
848 | - * @tags basic-error-controller | |
949 | + * 订单详情 | |
950 | + * @tags 内部订单 | |
849 | 951 | * @produces * |
850 | 952 | * @consumes application/json |
851 | 953 | */ |
852 | -export const optionsError = /* #__PURE__ */ (() => { | |
853 | - const method = "options"; | |
854 | - const url = "/error"; | |
855 | - function request(): Promise<OptionsErrorResponseSuccess> { | |
954 | +export const postApiOrderQueryOrderDetail = /* #__PURE__ */ (() => { | |
955 | + const method = "post"; | |
956 | + const url = "/api/order/queryOrderDetail"; | |
957 | + function request( | |
958 | + option: PostApiOrderQueryOrderDetailOption | |
959 | + ): Promise<PostApiOrderQueryOrderDetailResponseSuccess> { | |
856 | 960 | return requester(request.url, { |
857 | 961 | method: request.method, |
858 | - }) as unknown as Promise<OptionsErrorResponseSuccess>; | |
962 | + ...option, | |
963 | + }) as unknown as Promise<PostApiOrderQueryOrderDetailResponseSuccess>; | |
859 | 964 | } |
860 | 965 | |
861 | 966 | /** http method */ |
... | ... | @@ -865,20 +970,32 @@ export const optionsError = /* #__PURE__ */ (() => { |
865 | 970 | return request; |
866 | 971 | })(); |
867 | 972 | |
868 | -/** @description response type for headError */ | |
869 | -export interface HeadErrorResponse { | |
973 | +/** @description request parameter type for postApiOrderQueryOrderStatusCounts */ | |
974 | +export interface PostApiOrderQueryOrderStatusCountsOption { | |
870 | 975 | /** |
871 | 976 | * @description |
872 | - * OK | |
977 | + * request | |
873 | 978 | */ |
874 | - 200: { | |
875 | - [propertyName: string]: any; | |
979 | + body: { | |
980 | + /** | |
981 | + @description | |
982 | + request */ | |
983 | + request: ApiQueryOrderStatusCountsRequest; | |
876 | 984 | }; |
985 | +} | |
986 | + | |
987 | +/** @description response type for postApiOrderQueryOrderStatusCounts */ | |
988 | +export interface PostApiOrderQueryOrderStatusCountsResponse { | |
877 | 989 | /** |
878 | 990 | * @description |
879 | - * No Content | |
991 | + * OK | |
880 | 992 | */ |
881 | - 204: any; | |
993 | + 200: ServerResult; | |
994 | + /** | |
995 | + * @description | |
996 | + * Created | |
997 | + */ | |
998 | + 201: any; | |
882 | 999 | /** |
883 | 1000 | * @description |
884 | 1001 | * Unauthorized |
... | ... | @@ -889,23 +1006,32 @@ export interface HeadErrorResponse { |
889 | 1006 | * Forbidden |
890 | 1007 | */ |
891 | 1008 | 403: any; |
1009 | + /** | |
1010 | + * @description | |
1011 | + * Not Found | |
1012 | + */ | |
1013 | + 404: any; | |
892 | 1014 | } |
893 | 1015 | |
894 | -export type HeadErrorResponseSuccess = HeadErrorResponse[200]; | |
1016 | +export type PostApiOrderQueryOrderStatusCountsResponseSuccess = | |
1017 | + PostApiOrderQueryOrderStatusCountsResponse[200]; | |
895 | 1018 | /** |
896 | 1019 | * @description |
897 | - * error | |
898 | - * @tags basic-error-controller | |
1020 | + * 获取各个订单状态数量 | |
1021 | + * @tags 内部订单 | |
899 | 1022 | * @produces * |
900 | 1023 | * @consumes application/json |
901 | 1024 | */ |
902 | -export const headError = /* #__PURE__ */ (() => { | |
903 | - const method = "head"; | |
904 | - const url = "/error"; | |
905 | - function request(): Promise<HeadErrorResponseSuccess> { | |
1025 | +export const postApiOrderQueryOrderStatusCounts = /* #__PURE__ */ (() => { | |
1026 | + const method = "post"; | |
1027 | + const url = "/api/order/queryOrderStatusCounts"; | |
1028 | + function request( | |
1029 | + option: PostApiOrderQueryOrderStatusCountsOption | |
1030 | + ): Promise<PostApiOrderQueryOrderStatusCountsResponseSuccess> { | |
906 | 1031 | return requester(request.url, { |
907 | 1032 | method: request.method, |
908 | - }) as unknown as Promise<HeadErrorResponseSuccess>; | |
1033 | + ...option, | |
1034 | + }) as unknown as Promise<PostApiOrderQueryOrderStatusCountsResponseSuccess>; | |
909 | 1035 | } |
910 | 1036 | |
911 | 1037 | /** http method */ |
... | ... | @@ -915,20 +1041,32 @@ export const headError = /* #__PURE__ */ (() => { |
915 | 1041 | return request; |
916 | 1042 | })(); |
917 | 1043 | |
918 | -/** @description response type for patchError */ | |
919 | -export interface PatchErrorResponse { | |
1044 | +/** @description request parameter type for postApiOrderQueryServiceOrder */ | |
1045 | +export interface PostApiOrderQueryServiceOrderOption { | |
920 | 1046 | /** |
921 | 1047 | * @description |
922 | - * OK | |
1048 | + * request | |
923 | 1049 | */ |
924 | - 200: { | |
925 | - [propertyName: string]: any; | |
1050 | + body: { | |
1051 | + /** | |
1052 | + @description | |
1053 | + request */ | |
1054 | + request: Dto; | |
926 | 1055 | }; |
1056 | +} | |
1057 | + | |
1058 | +/** @description response type for postApiOrderQueryServiceOrder */ | |
1059 | +export interface PostApiOrderQueryServiceOrderResponse { | |
927 | 1060 | /** |
928 | 1061 | * @description |
929 | - * No Content | |
1062 | + * OK | |
930 | 1063 | */ |
931 | - 204: any; | |
1064 | + 200: ServerResult; | |
1065 | + /** | |
1066 | + * @description | |
1067 | + * Created | |
1068 | + */ | |
1069 | + 201: any; | |
932 | 1070 | /** |
933 | 1071 | * @description |
934 | 1072 | * Unauthorized |
... | ... | @@ -939,23 +1077,32 @@ export interface PatchErrorResponse { |
939 | 1077 | * Forbidden |
940 | 1078 | */ |
941 | 1079 | 403: any; |
1080 | + /** | |
1081 | + * @description | |
1082 | + * Not Found | |
1083 | + */ | |
1084 | + 404: any; | |
942 | 1085 | } |
943 | 1086 | |
944 | -export type PatchErrorResponseSuccess = PatchErrorResponse[200]; | |
1087 | +export type PostApiOrderQueryServiceOrderResponseSuccess = | |
1088 | + PostApiOrderQueryServiceOrderResponse[200]; | |
945 | 1089 | /** |
946 | 1090 | * @description |
947 | - * error | |
948 | - * @tags basic-error-controller | |
1091 | + * 查询订单列表 | |
1092 | + * @tags 内部订单 | |
949 | 1093 | * @produces * |
950 | 1094 | * @consumes application/json |
951 | 1095 | */ |
952 | -export const patchError = /* #__PURE__ */ (() => { | |
953 | - const method = "patch"; | |
954 | - const url = "/error"; | |
955 | - function request(): Promise<PatchErrorResponseSuccess> { | |
1096 | +export const postApiOrderQueryServiceOrder = /* #__PURE__ */ (() => { | |
1097 | + const method = "post"; | |
1098 | + const url = "/api/order/queryServiceOrder"; | |
1099 | + function request( | |
1100 | + option: PostApiOrderQueryServiceOrderOption | |
1101 | + ): Promise<PostApiOrderQueryServiceOrderResponseSuccess> { | |
956 | 1102 | return requester(request.url, { |
957 | 1103 | method: request.method, |
958 | - }) as unknown as Promise<PatchErrorResponseSuccess>; | |
1104 | + ...option, | |
1105 | + }) as unknown as Promise<PostApiOrderQueryServiceOrderResponseSuccess>; | |
959 | 1106 | } |
960 | 1107 | |
961 | 1108 | /** http method */ |
... | ... | @@ -965,27 +1112,27 @@ export const patchError = /* #__PURE__ */ (() => { |
965 | 1112 | return request; |
966 | 1113 | })(); |
967 | 1114 | |
968 | -/** @description request parameter type for postKingdeeRepCustomer */ | |
969 | -export interface PostKingdeeRepCustomerOption { | |
1115 | +/** @description request parameter type for postApiOrderStoreApplyInvoice */ | |
1116 | +export interface PostApiOrderStoreApplyInvoiceOption { | |
970 | 1117 | /** |
971 | 1118 | * @description |
972 | - * req | |
1119 | + * request | |
973 | 1120 | */ |
974 | 1121 | body: { |
975 | 1122 | /** |
976 | 1123 | @description |
977 | - req */ | |
978 | - req: CustomerCustomerListReq; | |
1124 | + request */ | |
1125 | + request: StoreOrderInvoiceRequest; | |
979 | 1126 | }; |
980 | 1127 | } |
981 | 1128 | |
982 | -/** @description response type for postKingdeeRepCustomer */ | |
983 | -export interface PostKingdeeRepCustomerResponse { | |
1129 | +/** @description response type for postApiOrderStoreApplyInvoice */ | |
1130 | +export interface PostApiOrderStoreApplyInvoiceResponse { | |
984 | 1131 | /** |
985 | 1132 | * @description |
986 | 1133 | * OK |
987 | 1134 | */ |
988 | - 200: CustomerListRes; | |
1135 | + 200: ServerResult; | |
989 | 1136 | /** |
990 | 1137 | * @description |
991 | 1138 | * Created |
... | ... | @@ -1008,25 +1155,25 @@ export interface PostKingdeeRepCustomerResponse { |
1008 | 1155 | 404: any; |
1009 | 1156 | } |
1010 | 1157 | |
1011 | -export type PostKingdeeRepCustomerResponseSuccess = | |
1012 | - PostKingdeeRepCustomerResponse[200]; | |
1158 | +export type PostApiOrderStoreApplyInvoiceResponseSuccess = | |
1159 | + PostApiOrderStoreApplyInvoiceResponse[200]; | |
1013 | 1160 | /** |
1014 | 1161 | * @description |
1015 | - * listCustomers | |
1016 | - * @tags kingdee-erp-controller | |
1162 | + * 商城申请开票 | |
1163 | + * @tags 内部订单 | |
1017 | 1164 | * @produces * |
1018 | 1165 | * @consumes application/json |
1019 | 1166 | */ |
1020 | -export const postKingdeeRepCustomer = /* #__PURE__ */ (() => { | |
1167 | +export const postApiOrderStoreApplyInvoice = /* #__PURE__ */ (() => { | |
1021 | 1168 | const method = "post"; |
1022 | - const url = "/kingdee/rep/customer"; | |
1169 | + const url = "/api/order/storeApplyInvoice"; | |
1023 | 1170 | function request( |
1024 | - option: PostKingdeeRepCustomerOption | |
1025 | - ): Promise<PostKingdeeRepCustomerResponseSuccess> { | |
1171 | + option: PostApiOrderStoreApplyInvoiceOption | |
1172 | + ): Promise<PostApiOrderStoreApplyInvoiceResponseSuccess> { | |
1026 | 1173 | return requester(request.url, { |
1027 | 1174 | method: request.method, |
1028 | 1175 | ...option, |
1029 | - }) as unknown as Promise<PostKingdeeRepCustomerResponseSuccess>; | |
1176 | + }) as unknown as Promise<PostApiOrderStoreApplyInvoiceResponseSuccess>; | |
1030 | 1177 | } |
1031 | 1178 | |
1032 | 1179 | /** http method */ |
... | ... | @@ -1036,27 +1183,27 @@ export const postKingdeeRepCustomer = /* #__PURE__ */ (() => { |
1036 | 1183 | return request; |
1037 | 1184 | })(); |
1038 | 1185 | |
1039 | -/** @description request parameter type for postKingdeeRepCustomerDetail */ | |
1040 | -export interface PostKingdeeRepCustomerDetailOption { | |
1186 | +/** @description request parameter type for postApiOrderWaitInvoiceOrderList */ | |
1187 | +export interface PostApiOrderWaitInvoiceOrderListOption { | |
1041 | 1188 | /** |
1042 | 1189 | * @description |
1043 | - * dto | |
1190 | + * request | |
1044 | 1191 | */ |
1045 | 1192 | body: { |
1046 | 1193 | /** |
1047 | 1194 | @description |
1048 | - dto */ | |
1049 | - dto: CustomerDetailDto; | |
1195 | + request */ | |
1196 | + request: MainOrderqueryRequest; | |
1050 | 1197 | }; |
1051 | 1198 | } |
1052 | 1199 | |
1053 | -/** @description response type for postKingdeeRepCustomerDetail */ | |
1054 | -export interface PostKingdeeRepCustomerDetailResponse { | |
1200 | +/** @description response type for postApiOrderWaitInvoiceOrderList */ | |
1201 | +export interface PostApiOrderWaitInvoiceOrderListResponse { | |
1055 | 1202 | /** |
1056 | 1203 | * @description |
1057 | 1204 | * OK |
1058 | 1205 | */ |
1059 | - 200: CustomerDetailRes; | |
1206 | + 200: ServerResult; | |
1060 | 1207 | /** |
1061 | 1208 | * @description |
1062 | 1209 | * Created |
... | ... | @@ -1079,25 +1226,25 @@ export interface PostKingdeeRepCustomerDetailResponse { |
1079 | 1226 | 404: any; |
1080 | 1227 | } |
1081 | 1228 | |
1082 | -export type PostKingdeeRepCustomerDetailResponseSuccess = | |
1083 | - PostKingdeeRepCustomerDetailResponse[200]; | |
1229 | +export type PostApiOrderWaitInvoiceOrderListResponseSuccess = | |
1230 | + PostApiOrderWaitInvoiceOrderListResponse[200]; | |
1084 | 1231 | /** |
1085 | 1232 | * @description |
1086 | - * getCustomerDetail | |
1087 | - * @tags kingdee-erp-controller | |
1233 | + * 获取可开票订单 | |
1234 | + * @tags 内部订单 | |
1088 | 1235 | * @produces * |
1089 | 1236 | * @consumes application/json |
1090 | 1237 | */ |
1091 | -export const postKingdeeRepCustomerDetail = /* #__PURE__ */ (() => { | |
1238 | +export const postApiOrderWaitInvoiceOrderList = /* #__PURE__ */ (() => { | |
1092 | 1239 | const method = "post"; |
1093 | - const url = "/kingdee/rep/customerDetail"; | |
1240 | + const url = "/api/order/waitInvoiceOrderList"; | |
1094 | 1241 | function request( |
1095 | - option: PostKingdeeRepCustomerDetailOption | |
1096 | - ): Promise<PostKingdeeRepCustomerDetailResponseSuccess> { | |
1242 | + option: PostApiOrderWaitInvoiceOrderListOption | |
1243 | + ): Promise<PostApiOrderWaitInvoiceOrderListResponseSuccess> { | |
1097 | 1244 | return requester(request.url, { |
1098 | 1245 | method: request.method, |
1099 | 1246 | ...option, |
1100 | - }) as unknown as Promise<PostKingdeeRepCustomerDetailResponseSuccess>; | |
1247 | + }) as unknown as Promise<PostApiOrderWaitInvoiceOrderListResponseSuccess>; | |
1101 | 1248 | } |
1102 | 1249 | |
1103 | 1250 | /** http method */ |
... | ... | @@ -1107,27 +1254,27 @@ export const postKingdeeRepCustomerDetail = /* #__PURE__ */ (() => { |
1107 | 1254 | return request; |
1108 | 1255 | })(); |
1109 | 1256 | |
1110 | -/** @description request parameter type for postKingdeeRepCustomerSave */ | |
1111 | -export interface PostKingdeeRepCustomerSaveOption { | |
1257 | +/** @description request parameter type for postCanrdApiUserAddressList */ | |
1258 | +export interface PostCanrdApiUserAddressListOption { | |
1112 | 1259 | /** |
1113 | 1260 | * @description |
1114 | - * req | |
1261 | + * request | |
1115 | 1262 | */ |
1116 | 1263 | body: { |
1117 | 1264 | /** |
1118 | 1265 | @description |
1119 | - req */ | |
1120 | - req: CustomerSaveReq; | |
1266 | + request */ | |
1267 | + request: UserAddressListRequest; | |
1121 | 1268 | }; |
1122 | 1269 | } |
1123 | 1270 | |
1124 | -/** @description response type for postKingdeeRepCustomerSave */ | |
1125 | -export interface PostKingdeeRepCustomerSaveResponse { | |
1271 | +/** @description response type for postCanrdApiUserAddressList */ | |
1272 | +export interface PostCanrdApiUserAddressListResponse { | |
1126 | 1273 | /** |
1127 | 1274 | * @description |
1128 | 1275 | * OK |
1129 | 1276 | */ |
1130 | - 200: SaveReply; | |
1277 | + 200: ServerResult; | |
1131 | 1278 | /** |
1132 | 1279 | * @description |
1133 | 1280 | * Created |
... | ... | @@ -1150,25 +1297,25 @@ export interface PostKingdeeRepCustomerSaveResponse { |
1150 | 1297 | 404: any; |
1151 | 1298 | } |
1152 | 1299 | |
1153 | -export type PostKingdeeRepCustomerSaveResponseSuccess = | |
1154 | - PostKingdeeRepCustomerSaveResponse[200]; | |
1300 | +export type PostCanrdApiUserAddressListResponseSuccess = | |
1301 | + PostCanrdApiUserAddressListResponse[200]; | |
1155 | 1302 | /** |
1156 | 1303 | * @description |
1157 | - * customerSave | |
1158 | - * @tags kingdee-erp-controller | |
1304 | + * 查询地址信息 | |
1305 | + * @tags canrd-mobile-api-controller | |
1159 | 1306 | * @produces * |
1160 | 1307 | * @consumes application/json |
1161 | 1308 | */ |
1162 | -export const postKingdeeRepCustomerSave = /* #__PURE__ */ (() => { | |
1309 | +export const postCanrdApiUserAddressList = /* #__PURE__ */ (() => { | |
1163 | 1310 | const method = "post"; |
1164 | - const url = "/kingdee/rep/customerSave"; | |
1311 | + const url = "/canrd/api/user/address/list"; | |
1165 | 1312 | function request( |
1166 | - option: PostKingdeeRepCustomerSaveOption | |
1167 | - ): Promise<PostKingdeeRepCustomerSaveResponseSuccess> { | |
1313 | + option: PostCanrdApiUserAddressListOption | |
1314 | + ): Promise<PostCanrdApiUserAddressListResponseSuccess> { | |
1168 | 1315 | return requester(request.url, { |
1169 | 1316 | method: request.method, |
1170 | 1317 | ...option, |
1171 | - }) as unknown as Promise<PostKingdeeRepCustomerSaveResponseSuccess>; | |
1318 | + }) as unknown as Promise<PostCanrdApiUserAddressListResponseSuccess>; | |
1172 | 1319 | } |
1173 | 1320 | |
1174 | 1321 | /** http method */ |
... | ... | @@ -1178,27 +1325,27 @@ export const postKingdeeRepCustomerSave = /* #__PURE__ */ (() => { |
1178 | 1325 | return request; |
1179 | 1326 | })(); |
1180 | 1327 | |
1181 | -/** @description request parameter type for postKingdeeRepMaterial */ | |
1182 | -export interface PostKingdeeRepMaterialOption { | |
1328 | +/** @description request parameter type for postCanrdApiUserCenterInfo */ | |
1329 | +export interface PostCanrdApiUserCenterInfoOption { | |
1183 | 1330 | /** |
1184 | 1331 | * @description |
1185 | - * req | |
1332 | + * request | |
1186 | 1333 | */ |
1187 | 1334 | body: { |
1188 | 1335 | /** |
1189 | 1336 | @description |
1190 | - req */ | |
1191 | - req: MaterialMaterialListReq; | |
1337 | + request */ | |
1338 | + request: UserCenterInfoRequest; | |
1192 | 1339 | }; |
1193 | 1340 | } |
1194 | 1341 | |
1195 | -/** @description response type for postKingdeeRepMaterial */ | |
1196 | -export interface PostKingdeeRepMaterialResponse { | |
1342 | +/** @description response type for postCanrdApiUserCenterInfo */ | |
1343 | +export interface PostCanrdApiUserCenterInfoResponse { | |
1197 | 1344 | /** |
1198 | 1345 | * @description |
1199 | 1346 | * OK |
1200 | 1347 | */ |
1201 | - 200: MaterialListReply; | |
1348 | + 200: ServerResult; | |
1202 | 1349 | /** |
1203 | 1350 | * @description |
1204 | 1351 | * Created |
... | ... | @@ -1221,25 +1368,25 @@ export interface PostKingdeeRepMaterialResponse { |
1221 | 1368 | 404: any; |
1222 | 1369 | } |
1223 | 1370 | |
1224 | -export type PostKingdeeRepMaterialResponseSuccess = | |
1225 | - PostKingdeeRepMaterialResponse[200]; | |
1371 | +export type PostCanrdApiUserCenterInfoResponseSuccess = | |
1372 | + PostCanrdApiUserCenterInfoResponse[200]; | |
1226 | 1373 | /** |
1227 | 1374 | * @description |
1228 | - * listMaterial | |
1229 | - * @tags kingdee-erp-controller | |
1375 | + * 获取会员详情 | |
1376 | + * @tags canrd-mobile-api-controller | |
1230 | 1377 | * @produces * |
1231 | 1378 | * @consumes application/json |
1232 | 1379 | */ |
1233 | -export const postKingdeeRepMaterial = /* #__PURE__ */ (() => { | |
1380 | +export const postCanrdApiUserCenterInfo = /* #__PURE__ */ (() => { | |
1234 | 1381 | const method = "post"; |
1235 | - const url = "/kingdee/rep/material"; | |
1382 | + const url = "/canrd/api/user/center/info"; | |
1236 | 1383 | function request( |
1237 | - option: PostKingdeeRepMaterialOption | |
1238 | - ): Promise<PostKingdeeRepMaterialResponseSuccess> { | |
1384 | + option: PostCanrdApiUserCenterInfoOption | |
1385 | + ): Promise<PostCanrdApiUserCenterInfoResponseSuccess> { | |
1239 | 1386 | return requester(request.url, { |
1240 | 1387 | method: request.method, |
1241 | 1388 | ...option, |
1242 | - }) as unknown as Promise<PostKingdeeRepMaterialResponseSuccess>; | |
1389 | + }) as unknown as Promise<PostCanrdApiUserCenterInfoResponseSuccess>; | |
1243 | 1390 | } |
1244 | 1391 | |
1245 | 1392 | /** http method */ |
... | ... | @@ -1249,27 +1396,27 @@ export const postKingdeeRepMaterial = /* #__PURE__ */ (() => { |
1249 | 1396 | return request; |
1250 | 1397 | })(); |
1251 | 1398 | |
1252 | -/** @description request parameter type for postKingdeeRepMaterialStock */ | |
1253 | -export interface PostKingdeeRepMaterialStockOption { | |
1399 | +/** @description request parameter type for postCanrdApiUserDetail */ | |
1400 | +export interface PostCanrdApiUserDetailOption { | |
1254 | 1401 | /** |
1255 | 1402 | * @description |
1256 | - * req | |
1403 | + * request | |
1257 | 1404 | */ |
1258 | 1405 | body: { |
1259 | 1406 | /** |
1260 | 1407 | @description |
1261 | - req */ | |
1262 | - req: InventoryMaterialStockReq; | |
1408 | + request */ | |
1409 | + request: UserDetailRequest; | |
1263 | 1410 | }; |
1264 | 1411 | } |
1265 | 1412 | |
1266 | -/** @description response type for postKingdeeRepMaterialStock */ | |
1267 | -export interface PostKingdeeRepMaterialStockResponse { | |
1413 | +/** @description response type for postCanrdApiUserDetail */ | |
1414 | +export interface PostCanrdApiUserDetailResponse { | |
1268 | 1415 | /** |
1269 | 1416 | * @description |
1270 | 1417 | * OK |
1271 | 1418 | */ |
1272 | - 200: MaterialStockRes; | |
1419 | + 200: ServerResult; | |
1273 | 1420 | /** |
1274 | 1421 | * @description |
1275 | 1422 | * Created |
... | ... | @@ -1292,25 +1439,25 @@ export interface PostKingdeeRepMaterialStockResponse { |
1292 | 1439 | 404: any; |
1293 | 1440 | } |
1294 | 1441 | |
1295 | -export type PostKingdeeRepMaterialStockResponseSuccess = | |
1296 | - PostKingdeeRepMaterialStockResponse[200]; | |
1442 | +export type PostCanrdApiUserDetailResponseSuccess = | |
1443 | + PostCanrdApiUserDetailResponse[200]; | |
1297 | 1444 | /** |
1298 | 1445 | * @description |
1299 | - * listMaterialStock | |
1300 | - * @tags kingdee-erp-controller | |
1446 | + * 获取用户详情 | |
1447 | + * @tags canrd-mobile-api-controller | |
1301 | 1448 | * @produces * |
1302 | 1449 | * @consumes application/json |
1303 | 1450 | */ |
1304 | -export const postKingdeeRepMaterialStock = /* #__PURE__ */ (() => { | |
1451 | +export const postCanrdApiUserDetail = /* #__PURE__ */ (() => { | |
1305 | 1452 | const method = "post"; |
1306 | - const url = "/kingdee/rep/materialStock"; | |
1453 | + const url = "/canrd/api/user/detail"; | |
1307 | 1454 | function request( |
1308 | - option: PostKingdeeRepMaterialStockOption | |
1309 | - ): Promise<PostKingdeeRepMaterialStockResponseSuccess> { | |
1455 | + option: PostCanrdApiUserDetailOption | |
1456 | + ): Promise<PostCanrdApiUserDetailResponseSuccess> { | |
1310 | 1457 | return requester(request.url, { |
1311 | 1458 | method: request.method, |
1312 | 1459 | ...option, |
1313 | - }) as unknown as Promise<PostKingdeeRepMaterialStockResponseSuccess>; | |
1460 | + }) as unknown as Promise<PostCanrdApiUserDetailResponseSuccess>; | |
1314 | 1461 | } |
1315 | 1462 | |
1316 | 1463 | /** http method */ |
... | ... | @@ -1320,27 +1467,27 @@ export const postKingdeeRepMaterialStock = /* #__PURE__ */ (() => { |
1320 | 1467 | return request; |
1321 | 1468 | })(); |
1322 | 1469 | |
1323 | -/** @description request parameter type for postKingdeeRepMaterialUnit */ | |
1324 | -export interface PostKingdeeRepMaterialUnitOption { | |
1470 | +/** @description request parameter type for postCanrdApiUserList */ | |
1471 | +export interface PostCanrdApiUserListOption { | |
1325 | 1472 | /** |
1326 | 1473 | * @description |
1327 | - * req | |
1474 | + * request | |
1328 | 1475 | */ |
1329 | 1476 | body: { |
1330 | 1477 | /** |
1331 | 1478 | @description |
1332 | - req */ | |
1333 | - req: UnitMaterialUnitListReq; | |
1479 | + request */ | |
1480 | + request: UserListRequest; | |
1334 | 1481 | }; |
1335 | 1482 | } |
1336 | 1483 | |
1337 | -/** @description response type for postKingdeeRepMaterialUnit */ | |
1338 | -export interface PostKingdeeRepMaterialUnitResponse { | |
1484 | +/** @description response type for postCanrdApiUserList */ | |
1485 | +export interface PostCanrdApiUserListResponse { | |
1339 | 1486 | /** |
1340 | 1487 | * @description |
1341 | 1488 | * OK |
1342 | 1489 | */ |
1343 | - 200: MaterialUnitListRes; | |
1490 | + 200: ServerResult; | |
1344 | 1491 | /** |
1345 | 1492 | * @description |
1346 | 1493 | * Created |
... | ... | @@ -1363,25 +1510,25 @@ export interface PostKingdeeRepMaterialUnitResponse { |
1363 | 1510 | 404: any; |
1364 | 1511 | } |
1365 | 1512 | |
1366 | -export type PostKingdeeRepMaterialUnitResponseSuccess = | |
1367 | - PostKingdeeRepMaterialUnitResponse[200]; | |
1513 | +export type PostCanrdApiUserListResponseSuccess = | |
1514 | + PostCanrdApiUserListResponse[200]; | |
1368 | 1515 | /** |
1369 | 1516 | * @description |
1370 | - * getMaterialDetail | |
1371 | - * @tags kingdee-erp-controller | |
1517 | + * 获取用户列表 | |
1518 | + * @tags canrd-mobile-api-controller | |
1372 | 1519 | * @produces * |
1373 | 1520 | * @consumes application/json |
1374 | 1521 | */ |
1375 | -export const postKingdeeRepMaterialUnit = /* #__PURE__ */ (() => { | |
1522 | +export const postCanrdApiUserList = /* #__PURE__ */ (() => { | |
1376 | 1523 | const method = "post"; |
1377 | - const url = "/kingdee/rep/materialUnit"; | |
1524 | + const url = "/canrd/api/user/list"; | |
1378 | 1525 | function request( |
1379 | - option: PostKingdeeRepMaterialUnitOption | |
1380 | - ): Promise<PostKingdeeRepMaterialUnitResponseSuccess> { | |
1526 | + option: PostCanrdApiUserListOption | |
1527 | + ): Promise<PostCanrdApiUserListResponseSuccess> { | |
1381 | 1528 | return requester(request.url, { |
1382 | 1529 | method: request.method, |
1383 | 1530 | ...option, |
1384 | - }) as unknown as Promise<PostKingdeeRepMaterialUnitResponseSuccess>; | |
1531 | + }) as unknown as Promise<PostCanrdApiUserListResponseSuccess>; | |
1385 | 1532 | } |
1386 | 1533 | |
1387 | 1534 | /** http method */ |
... | ... | @@ -1391,32 +1538,13 @@ export const postKingdeeRepMaterialUnit = /* #__PURE__ */ (() => { |
1391 | 1538 | return request; |
1392 | 1539 | })(); |
1393 | 1540 | |
1394 | -/** @description request parameter type for postKingdeeRepMeasureUnit */ | |
1395 | -export interface PostKingdeeRepMeasureUnitOption { | |
1396 | - /** | |
1397 | - * @description | |
1398 | - * req | |
1399 | - */ | |
1400 | - body: { | |
1401 | - /** | |
1402 | - @description | |
1403 | - req */ | |
1404 | - req: UnitMeasureUnitListReq; | |
1405 | - }; | |
1406 | -} | |
1407 | - | |
1408 | -/** @description response type for postKingdeeRepMeasureUnit */ | |
1409 | -export interface PostKingdeeRepMeasureUnitResponse { | |
1541 | +/** @description response type for getError */ | |
1542 | +export interface GetErrorResponse { | |
1410 | 1543 | /** |
1411 | 1544 | * @description |
1412 | 1545 | * OK |
1413 | 1546 | */ |
1414 | - 200: MeasureUnitListRes; | |
1415 | - /** | |
1416 | - * @description | |
1417 | - * Created | |
1418 | - */ | |
1419 | - 201: any; | |
1547 | + 200: ModelAndView; | |
1420 | 1548 | /** |
1421 | 1549 | * @description |
1422 | 1550 | * Unauthorized |
... | ... | @@ -1434,25 +1562,20 @@ export interface PostKingdeeRepMeasureUnitResponse { |
1434 | 1562 | 404: any; |
1435 | 1563 | } |
1436 | 1564 | |
1437 | -export type PostKingdeeRepMeasureUnitResponseSuccess = | |
1438 | - PostKingdeeRepMeasureUnitResponse[200]; | |
1565 | +export type GetErrorResponseSuccess = GetErrorResponse[200]; | |
1439 | 1566 | /** |
1440 | 1567 | * @description |
1441 | - * getCustomerDetail | |
1442 | - * @tags kingdee-erp-controller | |
1443 | - * @produces * | |
1444 | - * @consumes application/json | |
1568 | + * errorHtml | |
1569 | + * @tags basic-error-controller | |
1570 | + * @produces text/html | |
1445 | 1571 | */ |
1446 | -export const postKingdeeRepMeasureUnit = /* #__PURE__ */ (() => { | |
1447 | - const method = "post"; | |
1448 | - const url = "/kingdee/rep/measureUnit"; | |
1449 | - function request( | |
1450 | - option: PostKingdeeRepMeasureUnitOption | |
1451 | - ): Promise<PostKingdeeRepMeasureUnitResponseSuccess> { | |
1572 | +export const getError = /* #__PURE__ */ (() => { | |
1573 | + const method = "get"; | |
1574 | + const url = "/error"; | |
1575 | + function request(): Promise<GetErrorResponseSuccess> { | |
1452 | 1576 | return requester(request.url, { |
1453 | 1577 | method: request.method, |
1454 | - ...option, | |
1455 | - }) as unknown as Promise<PostKingdeeRepMeasureUnitResponseSuccess>; | |
1578 | + }) as unknown as Promise<GetErrorResponseSuccess>; | |
1456 | 1579 | } |
1457 | 1580 | |
1458 | 1581 | /** http method */ |
... | ... | @@ -1462,27 +1585,13 @@ export const postKingdeeRepMeasureUnit = /* #__PURE__ */ (() => { |
1462 | 1585 | return request; |
1463 | 1586 | })(); |
1464 | 1587 | |
1465 | -/** @description request parameter type for postKingdeeRepSalBillOutbound */ | |
1466 | -export interface PostKingdeeRepSalBillOutboundOption { | |
1467 | - /** | |
1468 | - * @description | |
1469 | - * salOrderSaveDto | |
1470 | - */ | |
1471 | - body: { | |
1472 | - /** | |
1473 | - @description | |
1474 | - salOrderSaveDto */ | |
1475 | - salOrderSaveDto: SalOrderSaveDto; | |
1476 | - }; | |
1477 | -} | |
1478 | - | |
1479 | -/** @description response type for postKingdeeRepSalBillOutbound */ | |
1480 | -export interface PostKingdeeRepSalBillOutboundResponse { | |
1588 | +/** @description response type for putError */ | |
1589 | +export interface PutErrorResponse { | |
1481 | 1590 | /** |
1482 | 1591 | * @description |
1483 | 1592 | * OK |
1484 | 1593 | */ |
1485 | - 200: ServerResult; | |
1594 | + 200: ModelAndView; | |
1486 | 1595 | /** |
1487 | 1596 | * @description |
1488 | 1597 | * Created |
... | ... | @@ -1505,25 +1614,21 @@ export interface PostKingdeeRepSalBillOutboundResponse { |
1505 | 1614 | 404: any; |
1506 | 1615 | } |
1507 | 1616 | |
1508 | -export type PostKingdeeRepSalBillOutboundResponseSuccess = | |
1509 | - PostKingdeeRepSalBillOutboundResponse[200]; | |
1617 | +export type PutErrorResponseSuccess = PutErrorResponse[200]; | |
1510 | 1618 | /** |
1511 | 1619 | * @description |
1512 | - * salBillOutbound | |
1513 | - * @tags kingdee-erp-controller | |
1514 | - * @produces * | |
1620 | + * errorHtml | |
1621 | + * @tags basic-error-controller | |
1622 | + * @produces text/html | |
1515 | 1623 | * @consumes application/json |
1516 | 1624 | */ |
1517 | -export const postKingdeeRepSalBillOutbound = /* #__PURE__ */ (() => { | |
1518 | - const method = "post"; | |
1519 | - const url = "/kingdee/rep/salBillOutbound"; | |
1520 | - function request( | |
1521 | - option: PostKingdeeRepSalBillOutboundOption | |
1522 | - ): Promise<PostKingdeeRepSalBillOutboundResponseSuccess> { | |
1625 | +export const putError = /* #__PURE__ */ (() => { | |
1626 | + const method = "put"; | |
1627 | + const url = "/error"; | |
1628 | + function request(): Promise<PutErrorResponseSuccess> { | |
1523 | 1629 | return requester(request.url, { |
1524 | 1630 | method: request.method, |
1525 | - ...option, | |
1526 | - }) as unknown as Promise<PostKingdeeRepSalBillOutboundResponseSuccess>; | |
1631 | + }) as unknown as Promise<PutErrorResponseSuccess>; | |
1527 | 1632 | } |
1528 | 1633 | |
1529 | 1634 | /** http method */ |
... | ... | @@ -1533,25 +1638,1814 @@ export const postKingdeeRepSalBillOutbound = /* #__PURE__ */ (() => { |
1533 | 1638 | return request; |
1534 | 1639 | })(); |
1535 | 1640 | |
1536 | -/** @description request parameter type for postKingdeeRepSalOrderSave */ | |
1537 | -export interface PostKingdeeRepSalOrderSaveOption { | |
1641 | +/** @description response type for postError */ | |
1642 | +export interface PostErrorResponse { | |
1538 | 1643 | /** |
1539 | 1644 | * @description |
1540 | - * salOrderSaveDto | |
1645 | + * OK | |
1541 | 1646 | */ |
1542 | - body: { | |
1543 | - /** | |
1544 | - @description | |
1545 | - salOrderSaveDto */ | |
1546 | - salOrderSaveDto: SalOrderSaveDto; | |
1547 | - }; | |
1548 | -} | |
1549 | - | |
1550 | -/** @description response type for postKingdeeRepSalOrderSave */ | |
1551 | -export interface PostKingdeeRepSalOrderSaveResponse { | |
1647 | + 200: ModelAndView; | |
1552 | 1648 | /** |
1553 | 1649 | * @description |
1554 | - * OK | |
1650 | + * Created | |
1651 | + */ | |
1652 | + 201: any; | |
1653 | + /** | |
1654 | + * @description | |
1655 | + * Unauthorized | |
1656 | + */ | |
1657 | + 401: any; | |
1658 | + /** | |
1659 | + * @description | |
1660 | + * Forbidden | |
1661 | + */ | |
1662 | + 403: any; | |
1663 | + /** | |
1664 | + * @description | |
1665 | + * Not Found | |
1666 | + */ | |
1667 | + 404: any; | |
1668 | +} | |
1669 | + | |
1670 | +export type PostErrorResponseSuccess = PostErrorResponse[200]; | |
1671 | +/** | |
1672 | + * @description | |
1673 | + * errorHtml | |
1674 | + * @tags basic-error-controller | |
1675 | + * @produces text/html | |
1676 | + * @consumes application/json | |
1677 | + */ | |
1678 | +export const postError = /* #__PURE__ */ (() => { | |
1679 | + const method = "post"; | |
1680 | + const url = "/error"; | |
1681 | + function request(): Promise<PostErrorResponseSuccess> { | |
1682 | + return requester(request.url, { | |
1683 | + method: request.method, | |
1684 | + }) as unknown as Promise<PostErrorResponseSuccess>; | |
1685 | + } | |
1686 | + | |
1687 | + /** http method */ | |
1688 | + request.method = method; | |
1689 | + /** request url */ | |
1690 | + request.url = url; | |
1691 | + return request; | |
1692 | +})(); | |
1693 | + | |
1694 | +/** @description response type for deleteError */ | |
1695 | +export interface DeleteErrorResponse { | |
1696 | + /** | |
1697 | + * @description | |
1698 | + * OK | |
1699 | + */ | |
1700 | + 200: ModelAndView; | |
1701 | + /** | |
1702 | + * @description | |
1703 | + * No Content | |
1704 | + */ | |
1705 | + 204: any; | |
1706 | + /** | |
1707 | + * @description | |
1708 | + * Unauthorized | |
1709 | + */ | |
1710 | + 401: any; | |
1711 | + /** | |
1712 | + * @description | |
1713 | + * Forbidden | |
1714 | + */ | |
1715 | + 403: any; | |
1716 | +} | |
1717 | + | |
1718 | +export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; | |
1719 | +/** | |
1720 | + * @description | |
1721 | + * errorHtml | |
1722 | + * @tags basic-error-controller | |
1723 | + * @produces text/html | |
1724 | + */ | |
1725 | +export const deleteError = /* #__PURE__ */ (() => { | |
1726 | + const method = "delete"; | |
1727 | + const url = "/error"; | |
1728 | + function request(): Promise<DeleteErrorResponseSuccess> { | |
1729 | + return requester(request.url, { | |
1730 | + method: request.method, | |
1731 | + }) as unknown as Promise<DeleteErrorResponseSuccess>; | |
1732 | + } | |
1733 | + | |
1734 | + /** http method */ | |
1735 | + request.method = method; | |
1736 | + /** request url */ | |
1737 | + request.url = url; | |
1738 | + return request; | |
1739 | +})(); | |
1740 | + | |
1741 | +/** @description response type for optionsError */ | |
1742 | +export interface OptionsErrorResponse { | |
1743 | + /** | |
1744 | + * @description | |
1745 | + * OK | |
1746 | + */ | |
1747 | + 200: ModelAndView; | |
1748 | + /** | |
1749 | + * @description | |
1750 | + * No Content | |
1751 | + */ | |
1752 | + 204: any; | |
1753 | + /** | |
1754 | + * @description | |
1755 | + * Unauthorized | |
1756 | + */ | |
1757 | + 401: any; | |
1758 | + /** | |
1759 | + * @description | |
1760 | + * Forbidden | |
1761 | + */ | |
1762 | + 403: any; | |
1763 | +} | |
1764 | + | |
1765 | +export type OptionsErrorResponseSuccess = OptionsErrorResponse[200]; | |
1766 | +/** | |
1767 | + * @description | |
1768 | + * errorHtml | |
1769 | + * @tags basic-error-controller | |
1770 | + * @produces text/html | |
1771 | + * @consumes application/json | |
1772 | + */ | |
1773 | +export const optionsError = /* #__PURE__ */ (() => { | |
1774 | + const method = "options"; | |
1775 | + const url = "/error"; | |
1776 | + function request(): Promise<OptionsErrorResponseSuccess> { | |
1777 | + return requester(request.url, { | |
1778 | + method: request.method, | |
1779 | + }) as unknown as Promise<OptionsErrorResponseSuccess>; | |
1780 | + } | |
1781 | + | |
1782 | + /** http method */ | |
1783 | + request.method = method; | |
1784 | + /** request url */ | |
1785 | + request.url = url; | |
1786 | + return request; | |
1787 | +})(); | |
1788 | + | |
1789 | +/** @description response type for headError */ | |
1790 | +export interface HeadErrorResponse { | |
1791 | + /** | |
1792 | + * @description | |
1793 | + * OK | |
1794 | + */ | |
1795 | + 200: ModelAndView; | |
1796 | + /** | |
1797 | + * @description | |
1798 | + * No Content | |
1799 | + */ | |
1800 | + 204: any; | |
1801 | + /** | |
1802 | + * @description | |
1803 | + * Unauthorized | |
1804 | + */ | |
1805 | + 401: any; | |
1806 | + /** | |
1807 | + * @description | |
1808 | + * Forbidden | |
1809 | + */ | |
1810 | + 403: any; | |
1811 | +} | |
1812 | + | |
1813 | +export type HeadErrorResponseSuccess = HeadErrorResponse[200]; | |
1814 | +/** | |
1815 | + * @description | |
1816 | + * errorHtml | |
1817 | + * @tags basic-error-controller | |
1818 | + * @produces text/html | |
1819 | + * @consumes application/json | |
1820 | + */ | |
1821 | +export const headError = /* #__PURE__ */ (() => { | |
1822 | + const method = "head"; | |
1823 | + const url = "/error"; | |
1824 | + function request(): Promise<HeadErrorResponseSuccess> { | |
1825 | + return requester(request.url, { | |
1826 | + method: request.method, | |
1827 | + }) as unknown as Promise<HeadErrorResponseSuccess>; | |
1828 | + } | |
1829 | + | |
1830 | + /** http method */ | |
1831 | + request.method = method; | |
1832 | + /** request url */ | |
1833 | + request.url = url; | |
1834 | + return request; | |
1835 | +})(); | |
1836 | + | |
1837 | +/** @description response type for patchError */ | |
1838 | +export interface PatchErrorResponse { | |
1839 | + /** | |
1840 | + * @description | |
1841 | + * OK | |
1842 | + */ | |
1843 | + 200: ModelAndView; | |
1844 | + /** | |
1845 | + * @description | |
1846 | + * No Content | |
1847 | + */ | |
1848 | + 204: any; | |
1849 | + /** | |
1850 | + * @description | |
1851 | + * Unauthorized | |
1852 | + */ | |
1853 | + 401: any; | |
1854 | + /** | |
1855 | + * @description | |
1856 | + * Forbidden | |
1857 | + */ | |
1858 | + 403: any; | |
1859 | +} | |
1860 | + | |
1861 | +export type PatchErrorResponseSuccess = PatchErrorResponse[200]; | |
1862 | +/** | |
1863 | + * @description | |
1864 | + * errorHtml | |
1865 | + * @tags basic-error-controller | |
1866 | + * @produces text/html | |
1867 | + * @consumes application/json | |
1868 | + */ | |
1869 | +export const patchError = /* #__PURE__ */ (() => { | |
1870 | + const method = "patch"; | |
1871 | + const url = "/error"; | |
1872 | + function request(): Promise<PatchErrorResponseSuccess> { | |
1873 | + return requester(request.url, { | |
1874 | + method: request.method, | |
1875 | + }) as unknown as Promise<PatchErrorResponseSuccess>; | |
1876 | + } | |
1877 | + | |
1878 | + /** http method */ | |
1879 | + request.method = method; | |
1880 | + /** request url */ | |
1881 | + request.url = url; | |
1882 | + return request; | |
1883 | +})(); | |
1884 | + | |
1885 | +/** @description request parameter type for postKingdeeRepCustomer */ | |
1886 | +export interface PostKingdeeRepCustomerOption { | |
1887 | + /** | |
1888 | + * @description | |
1889 | + * req | |
1890 | + */ | |
1891 | + body: { | |
1892 | + /** | |
1893 | + @description | |
1894 | + req */ | |
1895 | + req: CustomerCustomerListReq; | |
1896 | + }; | |
1897 | +} | |
1898 | + | |
1899 | +/** @description response type for postKingdeeRepCustomer */ | |
1900 | +export interface PostKingdeeRepCustomerResponse { | |
1901 | + /** | |
1902 | + * @description | |
1903 | + * OK | |
1904 | + */ | |
1905 | + 200: CustomerListRes; | |
1906 | + /** | |
1907 | + * @description | |
1908 | + * Created | |
1909 | + */ | |
1910 | + 201: any; | |
1911 | + /** | |
1912 | + * @description | |
1913 | + * Unauthorized | |
1914 | + */ | |
1915 | + 401: any; | |
1916 | + /** | |
1917 | + * @description | |
1918 | + * Forbidden | |
1919 | + */ | |
1920 | + 403: any; | |
1921 | + /** | |
1922 | + * @description | |
1923 | + * Not Found | |
1924 | + */ | |
1925 | + 404: any; | |
1926 | +} | |
1927 | + | |
1928 | +export type PostKingdeeRepCustomerResponseSuccess = | |
1929 | + PostKingdeeRepCustomerResponse[200]; | |
1930 | +/** | |
1931 | + * @description | |
1932 | + * listCustomers | |
1933 | + * @tags kingdee-erp-controller | |
1934 | + * @produces * | |
1935 | + * @consumes application/json | |
1936 | + */ | |
1937 | +export const postKingdeeRepCustomer = /* #__PURE__ */ (() => { | |
1938 | + const method = "post"; | |
1939 | + const url = "/kingdee/rep/customer"; | |
1940 | + function request( | |
1941 | + option: PostKingdeeRepCustomerOption | |
1942 | + ): Promise<PostKingdeeRepCustomerResponseSuccess> { | |
1943 | + return requester(request.url, { | |
1944 | + method: request.method, | |
1945 | + ...option, | |
1946 | + }) as unknown as Promise<PostKingdeeRepCustomerResponseSuccess>; | |
1947 | + } | |
1948 | + | |
1949 | + /** http method */ | |
1950 | + request.method = method; | |
1951 | + /** request url */ | |
1952 | + request.url = url; | |
1953 | + return request; | |
1954 | +})(); | |
1955 | + | |
1956 | +/** @description request parameter type for postKingdeeRepCustomerDetail */ | |
1957 | +export interface PostKingdeeRepCustomerDetailOption { | |
1958 | + /** | |
1959 | + * @description | |
1960 | + * dto | |
1961 | + */ | |
1962 | + body: { | |
1963 | + /** | |
1964 | + @description | |
1965 | + dto */ | |
1966 | + dto: CustomerDetailDto; | |
1967 | + }; | |
1968 | +} | |
1969 | + | |
1970 | +/** @description response type for postKingdeeRepCustomerDetail */ | |
1971 | +export interface PostKingdeeRepCustomerDetailResponse { | |
1972 | + /** | |
1973 | + * @description | |
1974 | + * OK | |
1975 | + */ | |
1976 | + 200: CustomerDetailRes; | |
1977 | + /** | |
1978 | + * @description | |
1979 | + * Created | |
1980 | + */ | |
1981 | + 201: any; | |
1982 | + /** | |
1983 | + * @description | |
1984 | + * Unauthorized | |
1985 | + */ | |
1986 | + 401: any; | |
1987 | + /** | |
1988 | + * @description | |
1989 | + * Forbidden | |
1990 | + */ | |
1991 | + 403: any; | |
1992 | + /** | |
1993 | + * @description | |
1994 | + * Not Found | |
1995 | + */ | |
1996 | + 404: any; | |
1997 | +} | |
1998 | + | |
1999 | +export type PostKingdeeRepCustomerDetailResponseSuccess = | |
2000 | + PostKingdeeRepCustomerDetailResponse[200]; | |
2001 | +/** | |
2002 | + * @description | |
2003 | + * getCustomerDetail | |
2004 | + * @tags kingdee-erp-controller | |
2005 | + * @produces * | |
2006 | + * @consumes application/json | |
2007 | + */ | |
2008 | +export const postKingdeeRepCustomerDetail = /* #__PURE__ */ (() => { | |
2009 | + const method = "post"; | |
2010 | + const url = "/kingdee/rep/customerDetail"; | |
2011 | + function request( | |
2012 | + option: PostKingdeeRepCustomerDetailOption | |
2013 | + ): Promise<PostKingdeeRepCustomerDetailResponseSuccess> { | |
2014 | + return requester(request.url, { | |
2015 | + method: request.method, | |
2016 | + ...option, | |
2017 | + }) as unknown as Promise<PostKingdeeRepCustomerDetailResponseSuccess>; | |
2018 | + } | |
2019 | + | |
2020 | + /** http method */ | |
2021 | + request.method = method; | |
2022 | + /** request url */ | |
2023 | + request.url = url; | |
2024 | + return request; | |
2025 | +})(); | |
2026 | + | |
2027 | +/** @description request parameter type for postKingdeeRepCustomerSave */ | |
2028 | +export interface PostKingdeeRepCustomerSaveOption { | |
2029 | + /** | |
2030 | + * @description | |
2031 | + * req | |
2032 | + */ | |
2033 | + body: { | |
2034 | + /** | |
2035 | + @description | |
2036 | + req */ | |
2037 | + req: CustomerSaveReq; | |
2038 | + }; | |
2039 | +} | |
2040 | + | |
2041 | +/** @description response type for postKingdeeRepCustomerSave */ | |
2042 | +export interface PostKingdeeRepCustomerSaveResponse { | |
2043 | + /** | |
2044 | + * @description | |
2045 | + * OK | |
2046 | + */ | |
2047 | + 200: SaveReply; | |
2048 | + /** | |
2049 | + * @description | |
2050 | + * Created | |
2051 | + */ | |
2052 | + 201: any; | |
2053 | + /** | |
2054 | + * @description | |
2055 | + * Unauthorized | |
2056 | + */ | |
2057 | + 401: any; | |
2058 | + /** | |
2059 | + * @description | |
2060 | + * Forbidden | |
2061 | + */ | |
2062 | + 403: any; | |
2063 | + /** | |
2064 | + * @description | |
2065 | + * Not Found | |
2066 | + */ | |
2067 | + 404: any; | |
2068 | +} | |
2069 | + | |
2070 | +export type PostKingdeeRepCustomerSaveResponseSuccess = | |
2071 | + PostKingdeeRepCustomerSaveResponse[200]; | |
2072 | +/** | |
2073 | + * @description | |
2074 | + * customerSave | |
2075 | + * @tags kingdee-erp-controller | |
2076 | + * @produces * | |
2077 | + * @consumes application/json | |
2078 | + */ | |
2079 | +export const postKingdeeRepCustomerSave = /* #__PURE__ */ (() => { | |
2080 | + const method = "post"; | |
2081 | + const url = "/kingdee/rep/customerSave"; | |
2082 | + function request( | |
2083 | + option: PostKingdeeRepCustomerSaveOption | |
2084 | + ): Promise<PostKingdeeRepCustomerSaveResponseSuccess> { | |
2085 | + return requester(request.url, { | |
2086 | + method: request.method, | |
2087 | + ...option, | |
2088 | + }) as unknown as Promise<PostKingdeeRepCustomerSaveResponseSuccess>; | |
2089 | + } | |
2090 | + | |
2091 | + /** http method */ | |
2092 | + request.method = method; | |
2093 | + /** request url */ | |
2094 | + request.url = url; | |
2095 | + return request; | |
2096 | +})(); | |
2097 | + | |
2098 | +/** @description request parameter type for postKingdeeRepMaterial */ | |
2099 | +export interface PostKingdeeRepMaterialOption { | |
2100 | + /** | |
2101 | + * @description | |
2102 | + * req | |
2103 | + */ | |
2104 | + body: { | |
2105 | + /** | |
2106 | + @description | |
2107 | + req */ | |
2108 | + req: MaterialMaterialListReq; | |
2109 | + }; | |
2110 | +} | |
2111 | + | |
2112 | +/** @description response type for postKingdeeRepMaterial */ | |
2113 | +export interface PostKingdeeRepMaterialResponse { | |
2114 | + /** | |
2115 | + * @description | |
2116 | + * OK | |
2117 | + */ | |
2118 | + 200: MaterialListReply; | |
2119 | + /** | |
2120 | + * @description | |
2121 | + * Created | |
2122 | + */ | |
2123 | + 201: any; | |
2124 | + /** | |
2125 | + * @description | |
2126 | + * Unauthorized | |
2127 | + */ | |
2128 | + 401: any; | |
2129 | + /** | |
2130 | + * @description | |
2131 | + * Forbidden | |
2132 | + */ | |
2133 | + 403: any; | |
2134 | + /** | |
2135 | + * @description | |
2136 | + * Not Found | |
2137 | + */ | |
2138 | + 404: any; | |
2139 | +} | |
2140 | + | |
2141 | +export type PostKingdeeRepMaterialResponseSuccess = | |
2142 | + PostKingdeeRepMaterialResponse[200]; | |
2143 | +/** | |
2144 | + * @description | |
2145 | + * listMaterial | |
2146 | + * @tags kingdee-erp-controller | |
2147 | + * @produces * | |
2148 | + * @consumes application/json | |
2149 | + */ | |
2150 | +export const postKingdeeRepMaterial = /* #__PURE__ */ (() => { | |
2151 | + const method = "post"; | |
2152 | + const url = "/kingdee/rep/material"; | |
2153 | + function request( | |
2154 | + option: PostKingdeeRepMaterialOption | |
2155 | + ): Promise<PostKingdeeRepMaterialResponseSuccess> { | |
2156 | + return requester(request.url, { | |
2157 | + method: request.method, | |
2158 | + ...option, | |
2159 | + }) as unknown as Promise<PostKingdeeRepMaterialResponseSuccess>; | |
2160 | + } | |
2161 | + | |
2162 | + /** http method */ | |
2163 | + request.method = method; | |
2164 | + /** request url */ | |
2165 | + request.url = url; | |
2166 | + return request; | |
2167 | +})(); | |
2168 | + | |
2169 | +/** @description request parameter type for postKingdeeRepMaterialStock */ | |
2170 | +export interface PostKingdeeRepMaterialStockOption { | |
2171 | + /** | |
2172 | + * @description | |
2173 | + * req | |
2174 | + */ | |
2175 | + body: { | |
2176 | + /** | |
2177 | + @description | |
2178 | + req */ | |
2179 | + req: InventoryMaterialStockReq; | |
2180 | + }; | |
2181 | +} | |
2182 | + | |
2183 | +/** @description response type for postKingdeeRepMaterialStock */ | |
2184 | +export interface PostKingdeeRepMaterialStockResponse { | |
2185 | + /** | |
2186 | + * @description | |
2187 | + * OK | |
2188 | + */ | |
2189 | + 200: MaterialStockRes; | |
2190 | + /** | |
2191 | + * @description | |
2192 | + * Created | |
2193 | + */ | |
2194 | + 201: any; | |
2195 | + /** | |
2196 | + * @description | |
2197 | + * Unauthorized | |
2198 | + */ | |
2199 | + 401: any; | |
2200 | + /** | |
2201 | + * @description | |
2202 | + * Forbidden | |
2203 | + */ | |
2204 | + 403: any; | |
2205 | + /** | |
2206 | + * @description | |
2207 | + * Not Found | |
2208 | + */ | |
2209 | + 404: any; | |
2210 | +} | |
2211 | + | |
2212 | +export type PostKingdeeRepMaterialStockResponseSuccess = | |
2213 | + PostKingdeeRepMaterialStockResponse[200]; | |
2214 | +/** | |
2215 | + * @description | |
2216 | + * listMaterialStock | |
2217 | + * @tags kingdee-erp-controller | |
2218 | + * @produces * | |
2219 | + * @consumes application/json | |
2220 | + */ | |
2221 | +export const postKingdeeRepMaterialStock = /* #__PURE__ */ (() => { | |
2222 | + const method = "post"; | |
2223 | + const url = "/kingdee/rep/materialStock"; | |
2224 | + function request( | |
2225 | + option: PostKingdeeRepMaterialStockOption | |
2226 | + ): Promise<PostKingdeeRepMaterialStockResponseSuccess> { | |
2227 | + return requester(request.url, { | |
2228 | + method: request.method, | |
2229 | + ...option, | |
2230 | + }) as unknown as Promise<PostKingdeeRepMaterialStockResponseSuccess>; | |
2231 | + } | |
2232 | + | |
2233 | + /** http method */ | |
2234 | + request.method = method; | |
2235 | + /** request url */ | |
2236 | + request.url = url; | |
2237 | + return request; | |
2238 | +})(); | |
2239 | + | |
2240 | +/** @description request parameter type for postKingdeeRepMaterialUnit */ | |
2241 | +export interface PostKingdeeRepMaterialUnitOption { | |
2242 | + /** | |
2243 | + * @description | |
2244 | + * req | |
2245 | + */ | |
2246 | + body: { | |
2247 | + /** | |
2248 | + @description | |
2249 | + req */ | |
2250 | + req: UnitMaterialUnitListReq; | |
2251 | + }; | |
2252 | +} | |
2253 | + | |
2254 | +/** @description response type for postKingdeeRepMaterialUnit */ | |
2255 | +export interface PostKingdeeRepMaterialUnitResponse { | |
2256 | + /** | |
2257 | + * @description | |
2258 | + * OK | |
2259 | + */ | |
2260 | + 200: MaterialUnitListRes; | |
2261 | + /** | |
2262 | + * @description | |
2263 | + * Created | |
2264 | + */ | |
2265 | + 201: any; | |
2266 | + /** | |
2267 | + * @description | |
2268 | + * Unauthorized | |
2269 | + */ | |
2270 | + 401: any; | |
2271 | + /** | |
2272 | + * @description | |
2273 | + * Forbidden | |
2274 | + */ | |
2275 | + 403: any; | |
2276 | + /** | |
2277 | + * @description | |
2278 | + * Not Found | |
2279 | + */ | |
2280 | + 404: any; | |
2281 | +} | |
2282 | + | |
2283 | +export type PostKingdeeRepMaterialUnitResponseSuccess = | |
2284 | + PostKingdeeRepMaterialUnitResponse[200]; | |
2285 | +/** | |
2286 | + * @description | |
2287 | + * getMaterialDetail | |
2288 | + * @tags kingdee-erp-controller | |
2289 | + * @produces * | |
2290 | + * @consumes application/json | |
2291 | + */ | |
2292 | +export const postKingdeeRepMaterialUnit = /* #__PURE__ */ (() => { | |
2293 | + const method = "post"; | |
2294 | + const url = "/kingdee/rep/materialUnit"; | |
2295 | + function request( | |
2296 | + option: PostKingdeeRepMaterialUnitOption | |
2297 | + ): Promise<PostKingdeeRepMaterialUnitResponseSuccess> { | |
2298 | + return requester(request.url, { | |
2299 | + method: request.method, | |
2300 | + ...option, | |
2301 | + }) as unknown as Promise<PostKingdeeRepMaterialUnitResponseSuccess>; | |
2302 | + } | |
2303 | + | |
2304 | + /** http method */ | |
2305 | + request.method = method; | |
2306 | + /** request url */ | |
2307 | + request.url = url; | |
2308 | + return request; | |
2309 | +})(); | |
2310 | + | |
2311 | +/** @description request parameter type for postKingdeeRepMeasureUnit */ | |
2312 | +export interface PostKingdeeRepMeasureUnitOption { | |
2313 | + /** | |
2314 | + * @description | |
2315 | + * req | |
2316 | + */ | |
2317 | + body: { | |
2318 | + /** | |
2319 | + @description | |
2320 | + req */ | |
2321 | + req: UnitMeasureUnitListReq; | |
2322 | + }; | |
2323 | +} | |
2324 | + | |
2325 | +/** @description response type for postKingdeeRepMeasureUnit */ | |
2326 | +export interface PostKingdeeRepMeasureUnitResponse { | |
2327 | + /** | |
2328 | + * @description | |
2329 | + * OK | |
2330 | + */ | |
2331 | + 200: MeasureUnitListRes; | |
2332 | + /** | |
2333 | + * @description | |
2334 | + * Created | |
2335 | + */ | |
2336 | + 201: any; | |
2337 | + /** | |
2338 | + * @description | |
2339 | + * Unauthorized | |
2340 | + */ | |
2341 | + 401: any; | |
2342 | + /** | |
2343 | + * @description | |
2344 | + * Forbidden | |
2345 | + */ | |
2346 | + 403: any; | |
2347 | + /** | |
2348 | + * @description | |
2349 | + * Not Found | |
2350 | + */ | |
2351 | + 404: any; | |
2352 | +} | |
2353 | + | |
2354 | +export type PostKingdeeRepMeasureUnitResponseSuccess = | |
2355 | + PostKingdeeRepMeasureUnitResponse[200]; | |
2356 | +/** | |
2357 | + * @description | |
2358 | + * getCustomerDetail | |
2359 | + * @tags kingdee-erp-controller | |
2360 | + * @produces * | |
2361 | + * @consumes application/json | |
2362 | + */ | |
2363 | +export const postKingdeeRepMeasureUnit = /* #__PURE__ */ (() => { | |
2364 | + const method = "post"; | |
2365 | + const url = "/kingdee/rep/measureUnit"; | |
2366 | + function request( | |
2367 | + option: PostKingdeeRepMeasureUnitOption | |
2368 | + ): Promise<PostKingdeeRepMeasureUnitResponseSuccess> { | |
2369 | + return requester(request.url, { | |
2370 | + method: request.method, | |
2371 | + ...option, | |
2372 | + }) as unknown as Promise<PostKingdeeRepMeasureUnitResponseSuccess>; | |
2373 | + } | |
2374 | + | |
2375 | + /** http method */ | |
2376 | + request.method = method; | |
2377 | + /** request url */ | |
2378 | + request.url = url; | |
2379 | + return request; | |
2380 | +})(); | |
2381 | + | |
2382 | +/** @description request parameter type for postKingdeeRepSalBillOutbound */ | |
2383 | +export interface PostKingdeeRepSalBillOutboundOption { | |
2384 | + /** | |
2385 | + * @description | |
2386 | + * salOrderSaveDto | |
2387 | + */ | |
2388 | + body: { | |
2389 | + /** | |
2390 | + @description | |
2391 | + salOrderSaveDto */ | |
2392 | + salOrderSaveDto: SalOrderSaveDto; | |
2393 | + }; | |
2394 | +} | |
2395 | + | |
2396 | +/** @description response type for postKingdeeRepSalBillOutbound */ | |
2397 | +export interface PostKingdeeRepSalBillOutboundResponse { | |
2398 | + /** | |
2399 | + * @description | |
2400 | + * OK | |
2401 | + */ | |
2402 | + 200: ServerResult; | |
2403 | + /** | |
2404 | + * @description | |
2405 | + * Created | |
2406 | + */ | |
2407 | + 201: any; | |
2408 | + /** | |
2409 | + * @description | |
2410 | + * Unauthorized | |
2411 | + */ | |
2412 | + 401: any; | |
2413 | + /** | |
2414 | + * @description | |
2415 | + * Forbidden | |
2416 | + */ | |
2417 | + 403: any; | |
2418 | + /** | |
2419 | + * @description | |
2420 | + * Not Found | |
2421 | + */ | |
2422 | + 404: any; | |
2423 | +} | |
2424 | + | |
2425 | +export type PostKingdeeRepSalBillOutboundResponseSuccess = | |
2426 | + PostKingdeeRepSalBillOutboundResponse[200]; | |
2427 | +/** | |
2428 | + * @description | |
2429 | + * salBillOutbound | |
2430 | + * @tags kingdee-erp-controller | |
2431 | + * @produces * | |
2432 | + * @consumes application/json | |
2433 | + */ | |
2434 | +export const postKingdeeRepSalBillOutbound = /* #__PURE__ */ (() => { | |
2435 | + const method = "post"; | |
2436 | + const url = "/kingdee/rep/salBillOutbound"; | |
2437 | + function request( | |
2438 | + option: PostKingdeeRepSalBillOutboundOption | |
2439 | + ): Promise<PostKingdeeRepSalBillOutboundResponseSuccess> { | |
2440 | + return requester(request.url, { | |
2441 | + method: request.method, | |
2442 | + ...option, | |
2443 | + }) as unknown as Promise<PostKingdeeRepSalBillOutboundResponseSuccess>; | |
2444 | + } | |
2445 | + | |
2446 | + /** http method */ | |
2447 | + request.method = method; | |
2448 | + /** request url */ | |
2449 | + request.url = url; | |
2450 | + return request; | |
2451 | +})(); | |
2452 | + | |
2453 | +/** @description request parameter type for postKingdeeRepSalOrderSave */ | |
2454 | +export interface PostKingdeeRepSalOrderSaveOption { | |
2455 | + /** | |
2456 | + * @description | |
2457 | + * salOrderSaveDto | |
2458 | + */ | |
2459 | + body: { | |
2460 | + /** | |
2461 | + @description | |
2462 | + salOrderSaveDto */ | |
2463 | + salOrderSaveDto: SalOrderSaveDto; | |
2464 | + }; | |
2465 | +} | |
2466 | + | |
2467 | +/** @description response type for postKingdeeRepSalOrderSave */ | |
2468 | +export interface PostKingdeeRepSalOrderSaveResponse { | |
2469 | + /** | |
2470 | + * @description | |
2471 | + * OK | |
2472 | + */ | |
2473 | + 200: ServerResult; | |
2474 | + /** | |
2475 | + * @description | |
2476 | + * Created | |
2477 | + */ | |
2478 | + 201: any; | |
2479 | + /** | |
2480 | + * @description | |
2481 | + * Unauthorized | |
2482 | + */ | |
2483 | + 401: any; | |
2484 | + /** | |
2485 | + * @description | |
2486 | + * Forbidden | |
2487 | + */ | |
2488 | + 403: any; | |
2489 | + /** | |
2490 | + * @description | |
2491 | + * Not Found | |
2492 | + */ | |
2493 | + 404: any; | |
2494 | +} | |
2495 | + | |
2496 | +export type PostKingdeeRepSalOrderSaveResponseSuccess = | |
2497 | + PostKingdeeRepSalOrderSaveResponse[200]; | |
2498 | +/** | |
2499 | + * @description | |
2500 | + * salOrderSave | |
2501 | + * @tags kingdee-erp-controller | |
2502 | + * @produces * | |
2503 | + * @consumes application/json | |
2504 | + */ | |
2505 | +export const postKingdeeRepSalOrderSave = /* #__PURE__ */ (() => { | |
2506 | + const method = "post"; | |
2507 | + const url = "/kingdee/rep/salOrderSave"; | |
2508 | + function request( | |
2509 | + option: PostKingdeeRepSalOrderSaveOption | |
2510 | + ): Promise<PostKingdeeRepSalOrderSaveResponseSuccess> { | |
2511 | + return requester(request.url, { | |
2512 | + method: request.method, | |
2513 | + ...option, | |
2514 | + }) as unknown as Promise<PostKingdeeRepSalOrderSaveResponseSuccess>; | |
2515 | + } | |
2516 | + | |
2517 | + /** http method */ | |
2518 | + request.method = method; | |
2519 | + /** request url */ | |
2520 | + request.url = url; | |
2521 | + return request; | |
2522 | +})(); | |
2523 | + | |
2524 | +/** @description request parameter type for postKingdeeRepSystemCustomField */ | |
2525 | +export interface PostKingdeeRepSystemCustomFieldOption { | |
2526 | + /** | |
2527 | + * @description | |
2528 | + * req | |
2529 | + */ | |
2530 | + body: { | |
2531 | + /** | |
2532 | + @description | |
2533 | + req */ | |
2534 | + req: SystemCustomFieldReq; | |
2535 | + }; | |
2536 | +} | |
2537 | + | |
2538 | +/** @description response type for postKingdeeRepSystemCustomField */ | |
2539 | +export interface PostKingdeeRepSystemCustomFieldResponse { | |
2540 | + /** | |
2541 | + * @description | |
2542 | + * OK | |
2543 | + */ | |
2544 | + 200: CustomFieldRes; | |
2545 | + /** | |
2546 | + * @description | |
2547 | + * Created | |
2548 | + */ | |
2549 | + 201: any; | |
2550 | + /** | |
2551 | + * @description | |
2552 | + * Unauthorized | |
2553 | + */ | |
2554 | + 401: any; | |
2555 | + /** | |
2556 | + * @description | |
2557 | + * Forbidden | |
2558 | + */ | |
2559 | + 403: any; | |
2560 | + /** | |
2561 | + * @description | |
2562 | + * Not Found | |
2563 | + */ | |
2564 | + 404: any; | |
2565 | +} | |
2566 | + | |
2567 | +export type PostKingdeeRepSystemCustomFieldResponseSuccess = | |
2568 | + PostKingdeeRepSystemCustomFieldResponse[200]; | |
2569 | +/** | |
2570 | + * @description | |
2571 | + * listCustomFields | |
2572 | + * @tags kingdee-erp-controller | |
2573 | + * @produces * | |
2574 | + * @consumes application/json | |
2575 | + */ | |
2576 | +export const postKingdeeRepSystemCustomField = /* #__PURE__ */ (() => { | |
2577 | + const method = "post"; | |
2578 | + const url = "/kingdee/rep/systemCustomField"; | |
2579 | + function request( | |
2580 | + option: PostKingdeeRepSystemCustomFieldOption | |
2581 | + ): Promise<PostKingdeeRepSystemCustomFieldResponseSuccess> { | |
2582 | + return requester(request.url, { | |
2583 | + method: request.method, | |
2584 | + ...option, | |
2585 | + }) as unknown as Promise<PostKingdeeRepSystemCustomFieldResponseSuccess>; | |
2586 | + } | |
2587 | + | |
2588 | + /** http method */ | |
2589 | + request.method = method; | |
2590 | + /** request url */ | |
2591 | + request.url = url; | |
2592 | + return request; | |
2593 | +})(); | |
2594 | + | |
2595 | +/** @description request parameter type for postOfficialWebsiteUploadAliOss */ | |
2596 | +export interface PostOfficialWebsiteUploadAliOssOption { | |
2597 | + /** | |
2598 | + * @description | |
2599 | + * files | |
2600 | + */ | |
2601 | + formData: { | |
2602 | + /** | |
2603 | + @description | |
2604 | + files */ | |
2605 | + files: Array<File>; | |
2606 | + }; | |
2607 | +} | |
2608 | + | |
2609 | +/** @description response type for postOfficialWebsiteUploadAliOss */ | |
2610 | +export interface PostOfficialWebsiteUploadAliOssResponse { | |
2611 | + /** | |
2612 | + * @description | |
2613 | + * OK | |
2614 | + */ | |
2615 | + 200: ServerResult; | |
2616 | + /** | |
2617 | + * @description | |
2618 | + * Created | |
2619 | + */ | |
2620 | + 201: any; | |
2621 | + /** | |
2622 | + * @description | |
2623 | + * Unauthorized | |
2624 | + */ | |
2625 | + 401: any; | |
2626 | + /** | |
2627 | + * @description | |
2628 | + * Forbidden | |
2629 | + */ | |
2630 | + 403: any; | |
2631 | + /** | |
2632 | + * @description | |
2633 | + * Not Found | |
2634 | + */ | |
2635 | + 404: any; | |
2636 | +} | |
2637 | + | |
2638 | +export type PostOfficialWebsiteUploadAliOssResponseSuccess = | |
2639 | + PostOfficialWebsiteUploadAliOssResponse[200]; | |
2640 | +/** | |
2641 | + * @description | |
2642 | + * 为官网提供上传文件的接口 | |
2643 | + * @tags 官网 | |
2644 | + * @produces * | |
2645 | + * @consumes application/json | |
2646 | + */ | |
2647 | +export const postOfficialWebsiteUploadAliOss = /* #__PURE__ */ (() => { | |
2648 | + const method = "post"; | |
2649 | + const url = "/official/website/uploadAliOss"; | |
2650 | + function request( | |
2651 | + option: PostOfficialWebsiteUploadAliOssOption | |
2652 | + ): Promise<PostOfficialWebsiteUploadAliOssResponseSuccess> { | |
2653 | + return requester(request.url, { | |
2654 | + method: request.method, | |
2655 | + ...option, | |
2656 | + }) as unknown as Promise<PostOfficialWebsiteUploadAliOssResponseSuccess>; | |
2657 | + } | |
2658 | + | |
2659 | + /** http method */ | |
2660 | + request.method = method; | |
2661 | + /** request url */ | |
2662 | + request.url = url; | |
2663 | + return request; | |
2664 | +})(); | |
2665 | + | |
2666 | +/** @description request parameter type for postOrderErpApplyList */ | |
2667 | +export interface PostOrderErpApplyListOption { | |
2668 | + /** | |
2669 | + * @description | |
2670 | + * orderFieldLockApplyQueryVO | |
2671 | + */ | |
2672 | + body: { | |
2673 | + /** | |
2674 | + @description | |
2675 | + orderFieldLockApplyQueryVO */ | |
2676 | + orderFieldLockApplyQueryVO: OrderFieldLockApplyQueryVO; | |
2677 | + }; | |
2678 | +} | |
2679 | + | |
2680 | +/** @description response type for postOrderErpApplyList */ | |
2681 | +export interface PostOrderErpApplyListResponse { | |
2682 | + /** | |
2683 | + * @description | |
2684 | + * OK | |
2685 | + */ | |
2686 | + 200: ServerResult; | |
2687 | + /** | |
2688 | + * @description | |
2689 | + * Created | |
2690 | + */ | |
2691 | + 201: any; | |
2692 | + /** | |
2693 | + * @description | |
2694 | + * Unauthorized | |
2695 | + */ | |
2696 | + 401: any; | |
2697 | + /** | |
2698 | + * @description | |
2699 | + * Forbidden | |
2700 | + */ | |
2701 | + 403: any; | |
2702 | + /** | |
2703 | + * @description | |
2704 | + * Not Found | |
2705 | + */ | |
2706 | + 404: any; | |
2707 | +} | |
2708 | + | |
2709 | +export type PostOrderErpApplyListResponseSuccess = | |
2710 | + PostOrderErpApplyListResponse[200]; | |
2711 | +/** | |
2712 | + * @description | |
2713 | + * 分页查询 | |
2714 | + * @tags 用户订单-字段锁定申请(忽略) | |
2715 | + * @produces * | |
2716 | + * @consumes application/json | |
2717 | + */ | |
2718 | +export const postOrderErpApplyList = /* #__PURE__ */ (() => { | |
2719 | + const method = "post"; | |
2720 | + const url = "/order/erp/apply/list"; | |
2721 | + function request( | |
2722 | + option: PostOrderErpApplyListOption | |
2723 | + ): Promise<PostOrderErpApplyListResponseSuccess> { | |
2724 | + return requester(request.url, { | |
2725 | + method: request.method, | |
2726 | + ...option, | |
2727 | + }) as unknown as Promise<PostOrderErpApplyListResponseSuccess>; | |
2728 | + } | |
2729 | + | |
2730 | + /** http method */ | |
2731 | + request.method = method; | |
2732 | + /** request url */ | |
2733 | + request.url = url; | |
2734 | + return request; | |
2735 | +})(); | |
2736 | + | |
2737 | +/** @description request parameter type for postOrderErpAuditAuditList */ | |
2738 | +export interface PostOrderErpAuditAuditListOption { | |
2739 | + /** | |
2740 | + * @description | |
2741 | + * queryVO | |
2742 | + */ | |
2743 | + body: { | |
2744 | + /** | |
2745 | + @description | |
2746 | + queryVO */ | |
2747 | + queryVO: OrderFieldLockApplyQueryVO; | |
2748 | + }; | |
2749 | +} | |
2750 | + | |
2751 | +/** @description response type for postOrderErpAuditAuditList */ | |
2752 | +export interface PostOrderErpAuditAuditListResponse { | |
2753 | + /** | |
2754 | + * @description | |
2755 | + * OK | |
2756 | + */ | |
2757 | + 200: ServerResult; | |
2758 | + /** | |
2759 | + * @description | |
2760 | + * Created | |
2761 | + */ | |
2762 | + 201: any; | |
2763 | + /** | |
2764 | + * @description | |
2765 | + * Unauthorized | |
2766 | + */ | |
2767 | + 401: any; | |
2768 | + /** | |
2769 | + * @description | |
2770 | + * Forbidden | |
2771 | + */ | |
2772 | + 403: any; | |
2773 | + /** | |
2774 | + * @description | |
2775 | + * Not Found | |
2776 | + */ | |
2777 | + 404: any; | |
2778 | +} | |
2779 | + | |
2780 | +export type PostOrderErpAuditAuditListResponseSuccess = | |
2781 | + PostOrderErpAuditAuditListResponse[200]; | |
2782 | +/** | |
2783 | + * @description | |
2784 | + * 已审批列表 | |
2785 | + * @tags 审批管理 | |
2786 | + * @produces * | |
2787 | + * @consumes application/json | |
2788 | + */ | |
2789 | +export const postOrderErpAuditAuditList = /* #__PURE__ */ (() => { | |
2790 | + const method = "post"; | |
2791 | + const url = "/order/erp/audit/audit_list"; | |
2792 | + function request( | |
2793 | + option: PostOrderErpAuditAuditListOption | |
2794 | + ): Promise<PostOrderErpAuditAuditListResponseSuccess> { | |
2795 | + return requester(request.url, { | |
2796 | + method: request.method, | |
2797 | + ...option, | |
2798 | + }) as unknown as Promise<PostOrderErpAuditAuditListResponseSuccess>; | |
2799 | + } | |
2800 | + | |
2801 | + /** http method */ | |
2802 | + request.method = method; | |
2803 | + /** request url */ | |
2804 | + request.url = url; | |
2805 | + return request; | |
2806 | +})(); | |
2807 | + | |
2808 | +/** @description request parameter type for postOrderErpAuditDoAudit */ | |
2809 | +export interface PostOrderErpAuditDoAuditOption { | |
2810 | + /** | |
2811 | + * @description | |
2812 | + * auditVO | |
2813 | + */ | |
2814 | + body: { | |
2815 | + /** | |
2816 | + @description | |
2817 | + auditVO */ | |
2818 | + auditVO: AuditVO; | |
2819 | + }; | |
2820 | +} | |
2821 | + | |
2822 | +/** @description response type for postOrderErpAuditDoAudit */ | |
2823 | +export interface PostOrderErpAuditDoAuditResponse { | |
2824 | + /** | |
2825 | + * @description | |
2826 | + * OK | |
2827 | + */ | |
2828 | + 200: ServerResult; | |
2829 | + /** | |
2830 | + * @description | |
2831 | + * Created | |
2832 | + */ | |
2833 | + 201: any; | |
2834 | + /** | |
2835 | + * @description | |
2836 | + * Unauthorized | |
2837 | + */ | |
2838 | + 401: any; | |
2839 | + /** | |
2840 | + * @description | |
2841 | + * Forbidden | |
2842 | + */ | |
2843 | + 403: any; | |
2844 | + /** | |
2845 | + * @description | |
2846 | + * Not Found | |
2847 | + */ | |
2848 | + 404: any; | |
2849 | +} | |
2850 | + | |
2851 | +export type PostOrderErpAuditDoAuditResponseSuccess = | |
2852 | + PostOrderErpAuditDoAuditResponse[200]; | |
2853 | +/** | |
2854 | + * @description | |
2855 | + * 审核 | |
2856 | + * @tags 审批管理 | |
2857 | + * @produces * | |
2858 | + * @consumes application/json | |
2859 | + */ | |
2860 | +export const postOrderErpAuditDoAudit = /* #__PURE__ */ (() => { | |
2861 | + const method = "post"; | |
2862 | + const url = "/order/erp/audit/do_audit"; | |
2863 | + function request( | |
2864 | + option: PostOrderErpAuditDoAuditOption | |
2865 | + ): Promise<PostOrderErpAuditDoAuditResponseSuccess> { | |
2866 | + return requester(request.url, { | |
2867 | + method: request.method, | |
2868 | + ...option, | |
2869 | + }) as unknown as Promise<PostOrderErpAuditDoAuditResponseSuccess>; | |
2870 | + } | |
2871 | + | |
2872 | + /** http method */ | |
2873 | + request.method = method; | |
2874 | + /** request url */ | |
2875 | + request.url = url; | |
2876 | + return request; | |
2877 | +})(); | |
2878 | + | |
2879 | +/** @description request parameter type for postOrderErpAuditListByPage */ | |
2880 | +export interface PostOrderErpAuditListByPageOption { | |
2881 | + /** | |
2882 | + * @description | |
2883 | + * queryVO | |
2884 | + */ | |
2885 | + body: { | |
2886 | + /** | |
2887 | + @description | |
2888 | + queryVO */ | |
2889 | + queryVO: OrderFieldLockApplyQueryVO; | |
2890 | + }; | |
2891 | +} | |
2892 | + | |
2893 | +/** @description response type for postOrderErpAuditListByPage */ | |
2894 | +export interface PostOrderErpAuditListByPageResponse { | |
2895 | + /** | |
2896 | + * @description | |
2897 | + * OK | |
2898 | + */ | |
2899 | + 200: ServerResult; | |
2900 | + /** | |
2901 | + * @description | |
2902 | + * Created | |
2903 | + */ | |
2904 | + 201: any; | |
2905 | + /** | |
2906 | + * @description | |
2907 | + * Unauthorized | |
2908 | + */ | |
2909 | + 401: any; | |
2910 | + /** | |
2911 | + * @description | |
2912 | + * Forbidden | |
2913 | + */ | |
2914 | + 403: any; | |
2915 | + /** | |
2916 | + * @description | |
2917 | + * Not Found | |
2918 | + */ | |
2919 | + 404: any; | |
2920 | +} | |
2921 | + | |
2922 | +export type PostOrderErpAuditListByPageResponseSuccess = | |
2923 | + PostOrderErpAuditListByPageResponse[200]; | |
2924 | +/** | |
2925 | + * @description | |
2926 | + * 分页查询 | |
2927 | + * @tags 审批管理 | |
2928 | + * @produces * | |
2929 | + * @consumes application/json | |
2930 | + */ | |
2931 | +export const postOrderErpAuditListByPage = /* #__PURE__ */ (() => { | |
2932 | + const method = "post"; | |
2933 | + const url = "/order/erp/audit/list_by_page"; | |
2934 | + function request( | |
2935 | + option: PostOrderErpAuditListByPageOption | |
2936 | + ): Promise<PostOrderErpAuditListByPageResponseSuccess> { | |
2937 | + return requester(request.url, { | |
2938 | + method: request.method, | |
2939 | + ...option, | |
2940 | + }) as unknown as Promise<PostOrderErpAuditListByPageResponseSuccess>; | |
2941 | + } | |
2942 | + | |
2943 | + /** http method */ | |
2944 | + request.method = method; | |
2945 | + /** request url */ | |
2946 | + request.url = url; | |
2947 | + return request; | |
2948 | +})(); | |
2949 | + | |
2950 | +/** @description request parameter type for postOrderErpAuditLogListByPage */ | |
2951 | +export interface PostOrderErpAuditLogListByPageOption { | |
2952 | + /** | |
2953 | + * @description | |
2954 | + * orderAuditLogQueryVO | |
2955 | + */ | |
2956 | + body: { | |
2957 | + /** | |
2958 | + @description | |
2959 | + orderAuditLogQueryVO */ | |
2960 | + orderAuditLogQueryVO: OrderAuditLogQueryVO; | |
2961 | + }; | |
2962 | +} | |
2963 | + | |
2964 | +/** @description response type for postOrderErpAuditLogListByPage */ | |
2965 | +export interface PostOrderErpAuditLogListByPageResponse { | |
2966 | + /** | |
2967 | + * @description | |
2968 | + * OK | |
2969 | + */ | |
2970 | + 200: ServerResult; | |
2971 | + /** | |
2972 | + * @description | |
2973 | + * Created | |
2974 | + */ | |
2975 | + 201: any; | |
2976 | + /** | |
2977 | + * @description | |
2978 | + * Unauthorized | |
2979 | + */ | |
2980 | + 401: any; | |
2981 | + /** | |
2982 | + * @description | |
2983 | + * Forbidden | |
2984 | + */ | |
2985 | + 403: any; | |
2986 | + /** | |
2987 | + * @description | |
2988 | + * Not Found | |
2989 | + */ | |
2990 | + 404: any; | |
2991 | +} | |
2992 | + | |
2993 | +export type PostOrderErpAuditLogListByPageResponseSuccess = | |
2994 | + PostOrderErpAuditLogListByPageResponse[200]; | |
2995 | +/** | |
2996 | + * @description | |
2997 | + * 分页查询 | |
2998 | + * @tags 用户订单审批日志 | |
2999 | + * @produces * | |
3000 | + * @consumes application/json | |
3001 | + */ | |
3002 | +export const postOrderErpAuditLogListByPage = /* #__PURE__ */ (() => { | |
3003 | + const method = "post"; | |
3004 | + const url = "/order/erp/audit/log/list_by_page"; | |
3005 | + function request( | |
3006 | + option: PostOrderErpAuditLogListByPageOption | |
3007 | + ): Promise<PostOrderErpAuditLogListByPageResponseSuccess> { | |
3008 | + return requester(request.url, { | |
3009 | + method: request.method, | |
3010 | + ...option, | |
3011 | + }) as unknown as Promise<PostOrderErpAuditLogListByPageResponseSuccess>; | |
3012 | + } | |
3013 | + | |
3014 | + /** http method */ | |
3015 | + request.method = method; | |
3016 | + /** request url */ | |
3017 | + request.url = url; | |
3018 | + return request; | |
3019 | +})(); | |
3020 | + | |
3021 | +/** @description request parameter type for postOrderErpAuditLogQueryById */ | |
3022 | +export interface PostOrderErpAuditLogQueryByIdOption { | |
3023 | + /** | |
3024 | + * @description | |
3025 | + * orderAuditLogQueryVO | |
3026 | + */ | |
3027 | + body: { | |
3028 | + /** | |
3029 | + @description | |
3030 | + orderAuditLogQueryVO */ | |
3031 | + orderAuditLogQueryVO: OrderAuditLogQueryVO; | |
3032 | + }; | |
3033 | +} | |
3034 | + | |
3035 | +/** @description response type for postOrderErpAuditLogQueryById */ | |
3036 | +export interface PostOrderErpAuditLogQueryByIdResponse { | |
3037 | + /** | |
3038 | + * @description | |
3039 | + * OK | |
3040 | + */ | |
3041 | + 200: ServerResult; | |
3042 | + /** | |
3043 | + * @description | |
3044 | + * Created | |
3045 | + */ | |
3046 | + 201: any; | |
3047 | + /** | |
3048 | + * @description | |
3049 | + * Unauthorized | |
3050 | + */ | |
3051 | + 401: any; | |
3052 | + /** | |
3053 | + * @description | |
3054 | + * Forbidden | |
3055 | + */ | |
3056 | + 403: any; | |
3057 | + /** | |
3058 | + * @description | |
3059 | + * Not Found | |
3060 | + */ | |
3061 | + 404: any; | |
3062 | +} | |
3063 | + | |
3064 | +export type PostOrderErpAuditLogQueryByIdResponseSuccess = | |
3065 | + PostOrderErpAuditLogQueryByIdResponse[200]; | |
3066 | +/** | |
3067 | + * @description | |
3068 | + * 通过主键查询单条数据 | |
3069 | + * @tags 用户订单审批日志 | |
3070 | + * @produces * | |
3071 | + * @consumes application/json | |
3072 | + */ | |
3073 | +export const postOrderErpAuditLogQueryById = /* #__PURE__ */ (() => { | |
3074 | + const method = "post"; | |
3075 | + const url = "/order/erp/audit/log/query_by_id"; | |
3076 | + function request( | |
3077 | + option: PostOrderErpAuditLogQueryByIdOption | |
3078 | + ): Promise<PostOrderErpAuditLogQueryByIdResponseSuccess> { | |
3079 | + return requester(request.url, { | |
3080 | + method: request.method, | |
3081 | + ...option, | |
3082 | + }) as unknown as Promise<PostOrderErpAuditLogQueryByIdResponseSuccess>; | |
3083 | + } | |
3084 | + | |
3085 | + /** http method */ | |
3086 | + request.method = method; | |
3087 | + /** request url */ | |
3088 | + request.url = url; | |
3089 | + return request; | |
3090 | +})(); | |
3091 | + | |
3092 | +/** @description request parameter type for postOrderErpAuditWaitAuditList */ | |
3093 | +export interface PostOrderErpAuditWaitAuditListOption { | |
3094 | + /** | |
3095 | + * @description | |
3096 | + * queryVO | |
3097 | + */ | |
3098 | + body: { | |
3099 | + /** | |
3100 | + @description | |
3101 | + queryVO */ | |
3102 | + queryVO: OrderFieldLockApplyQueryVO; | |
3103 | + }; | |
3104 | +} | |
3105 | + | |
3106 | +/** @description response type for postOrderErpAuditWaitAuditList */ | |
3107 | +export interface PostOrderErpAuditWaitAuditListResponse { | |
3108 | + /** | |
3109 | + * @description | |
3110 | + * OK | |
3111 | + */ | |
3112 | + 200: ServerResult; | |
3113 | + /** | |
3114 | + * @description | |
3115 | + * Created | |
3116 | + */ | |
3117 | + 201: any; | |
3118 | + /** | |
3119 | + * @description | |
3120 | + * Unauthorized | |
3121 | + */ | |
3122 | + 401: any; | |
3123 | + /** | |
3124 | + * @description | |
3125 | + * Forbidden | |
3126 | + */ | |
3127 | + 403: any; | |
3128 | + /** | |
3129 | + * @description | |
3130 | + * Not Found | |
3131 | + */ | |
3132 | + 404: any; | |
3133 | +} | |
3134 | + | |
3135 | +export type PostOrderErpAuditWaitAuditListResponseSuccess = | |
3136 | + PostOrderErpAuditWaitAuditListResponse[200]; | |
3137 | +/** | |
3138 | + * @description | |
3139 | + * 待审批列表 | |
3140 | + * @tags 审批管理 | |
3141 | + * @produces * | |
3142 | + * @consumes application/json | |
3143 | + */ | |
3144 | +export const postOrderErpAuditWaitAuditList = /* #__PURE__ */ (() => { | |
3145 | + const method = "post"; | |
3146 | + const url = "/order/erp/audit/wait_audit_list"; | |
3147 | + function request( | |
3148 | + option: PostOrderErpAuditWaitAuditListOption | |
3149 | + ): Promise<PostOrderErpAuditWaitAuditListResponseSuccess> { | |
3150 | + return requester(request.url, { | |
3151 | + method: request.method, | |
3152 | + ...option, | |
3153 | + }) as unknown as Promise<PostOrderErpAuditWaitAuditListResponseSuccess>; | |
3154 | + } | |
3155 | + | |
3156 | + /** http method */ | |
3157 | + request.method = method; | |
3158 | + /** request url */ | |
3159 | + request.url = url; | |
3160 | + return request; | |
3161 | +})(); | |
3162 | + | |
3163 | +/** @description request parameter type for postOrderErpAuthLoginByPhone */ | |
3164 | +export interface PostOrderErpAuthLoginByPhoneOption { | |
3165 | + /** | |
3166 | + * @description | |
3167 | + * loginByPhoneVO | |
3168 | + */ | |
3169 | + body: { | |
3170 | + /** | |
3171 | + @description | |
3172 | + loginByPhoneVO */ | |
3173 | + loginByPhoneVO: AdminUserLoginByPhoneVO; | |
3174 | + }; | |
3175 | +} | |
3176 | + | |
3177 | +/** @description response type for postOrderErpAuthLoginByPhone */ | |
3178 | +export interface PostOrderErpAuthLoginByPhoneResponse { | |
3179 | + /** | |
3180 | + * @description | |
3181 | + * OK | |
3182 | + */ | |
3183 | + 200: ServerResult; | |
3184 | + /** | |
3185 | + * @description | |
3186 | + * Created | |
3187 | + */ | |
3188 | + 201: any; | |
3189 | + /** | |
3190 | + * @description | |
3191 | + * Unauthorized | |
3192 | + */ | |
3193 | + 401: any; | |
3194 | + /** | |
3195 | + * @description | |
3196 | + * Forbidden | |
3197 | + */ | |
3198 | + 403: any; | |
3199 | + /** | |
3200 | + * @description | |
3201 | + * Not Found | |
3202 | + */ | |
3203 | + 404: any; | |
3204 | +} | |
3205 | + | |
3206 | +export type PostOrderErpAuthLoginByPhoneResponseSuccess = | |
3207 | + PostOrderErpAuthLoginByPhoneResponse[200]; | |
3208 | +/** | |
3209 | + * @description | |
3210 | + * 手机登录 | |
3211 | + * @tags login-controller | |
3212 | + * @produces * | |
3213 | + * @consumes application/json | |
3214 | + */ | |
3215 | +export const postOrderErpAuthLoginByPhone = /* #__PURE__ */ (() => { | |
3216 | + const method = "post"; | |
3217 | + const url = "/order/erp/auth/login_by_phone"; | |
3218 | + function request( | |
3219 | + option: PostOrderErpAuthLoginByPhoneOption | |
3220 | + ): Promise<PostOrderErpAuthLoginByPhoneResponseSuccess> { | |
3221 | + return requester(request.url, { | |
3222 | + method: request.method, | |
3223 | + ...option, | |
3224 | + }) as unknown as Promise<PostOrderErpAuthLoginByPhoneResponseSuccess>; | |
3225 | + } | |
3226 | + | |
3227 | + /** http method */ | |
3228 | + request.method = method; | |
3229 | + /** request url */ | |
3230 | + request.url = url; | |
3231 | + return request; | |
3232 | +})(); | |
3233 | + | |
3234 | +/** @description request parameter type for postOrderErpAuthLoginByPwd */ | |
3235 | +export interface PostOrderErpAuthLoginByPwdOption { | |
3236 | + /** | |
3237 | + * @description | |
3238 | + * loginByPwdVO | |
3239 | + */ | |
3240 | + body: { | |
3241 | + /** | |
3242 | + @description | |
3243 | + loginByPwdVO */ | |
3244 | + loginByPwdVO: AdminUserLoginByPwdVO; | |
3245 | + }; | |
3246 | +} | |
3247 | + | |
3248 | +/** @description response type for postOrderErpAuthLoginByPwd */ | |
3249 | +export interface PostOrderErpAuthLoginByPwdResponse { | |
3250 | + /** | |
3251 | + * @description | |
3252 | + * OK | |
3253 | + */ | |
3254 | + 200: ServerResult; | |
3255 | + /** | |
3256 | + * @description | |
3257 | + * Created | |
3258 | + */ | |
3259 | + 201: any; | |
3260 | + /** | |
3261 | + * @description | |
3262 | + * Unauthorized | |
3263 | + */ | |
3264 | + 401: any; | |
3265 | + /** | |
3266 | + * @description | |
3267 | + * Forbidden | |
3268 | + */ | |
3269 | + 403: any; | |
3270 | + /** | |
3271 | + * @description | |
3272 | + * Not Found | |
3273 | + */ | |
3274 | + 404: any; | |
3275 | +} | |
3276 | + | |
3277 | +export type PostOrderErpAuthLoginByPwdResponseSuccess = | |
3278 | + PostOrderErpAuthLoginByPwdResponse[200]; | |
3279 | +/** | |
3280 | + * @description | |
3281 | + * 用户登录 | |
3282 | + * @tags login-controller | |
3283 | + * @produces * | |
3284 | + * @consumes application/json | |
3285 | + */ | |
3286 | +export const postOrderErpAuthLoginByPwd = /* #__PURE__ */ (() => { | |
3287 | + const method = "post"; | |
3288 | + const url = "/order/erp/auth/login_by_pwd"; | |
3289 | + function request( | |
3290 | + option: PostOrderErpAuthLoginByPwdOption | |
3291 | + ): Promise<PostOrderErpAuthLoginByPwdResponseSuccess> { | |
3292 | + return requester(request.url, { | |
3293 | + method: request.method, | |
3294 | + ...option, | |
3295 | + }) as unknown as Promise<PostOrderErpAuthLoginByPwdResponseSuccess>; | |
3296 | + } | |
3297 | + | |
3298 | + /** http method */ | |
3299 | + request.method = method; | |
3300 | + /** request url */ | |
3301 | + request.url = url; | |
3302 | + return request; | |
3303 | +})(); | |
3304 | + | |
3305 | +/** @description response type for postOrderErpAuthLoginOut */ | |
3306 | +export interface PostOrderErpAuthLoginOutResponse { | |
3307 | + /** | |
3308 | + * @description | |
3309 | + * OK | |
3310 | + */ | |
3311 | + 200: ServerResult; | |
3312 | + /** | |
3313 | + * @description | |
3314 | + * Created | |
3315 | + */ | |
3316 | + 201: any; | |
3317 | + /** | |
3318 | + * @description | |
3319 | + * Unauthorized | |
3320 | + */ | |
3321 | + 401: any; | |
3322 | + /** | |
3323 | + * @description | |
3324 | + * Forbidden | |
3325 | + */ | |
3326 | + 403: any; | |
3327 | + /** | |
3328 | + * @description | |
3329 | + * Not Found | |
3330 | + */ | |
3331 | + 404: any; | |
3332 | +} | |
3333 | + | |
3334 | +export type PostOrderErpAuthLoginOutResponseSuccess = | |
3335 | + PostOrderErpAuthLoginOutResponse[200]; | |
3336 | +/** | |
3337 | + * @description | |
3338 | + * 退出登录 | |
3339 | + * @tags login-controller | |
3340 | + * @produces * | |
3341 | + * @consumes application/json | |
3342 | + */ | |
3343 | +export const postOrderErpAuthLoginOut = /* #__PURE__ */ (() => { | |
3344 | + const method = "post"; | |
3345 | + const url = "/order/erp/auth/login_out"; | |
3346 | + function request(): Promise<PostOrderErpAuthLoginOutResponseSuccess> { | |
3347 | + return requester(request.url, { | |
3348 | + method: request.method, | |
3349 | + }) as unknown as Promise<PostOrderErpAuthLoginOutResponseSuccess>; | |
3350 | + } | |
3351 | + | |
3352 | + /** http method */ | |
3353 | + request.method = method; | |
3354 | + /** request url */ | |
3355 | + request.url = url; | |
3356 | + return request; | |
3357 | +})(); | |
3358 | + | |
3359 | +/** @description request parameter type for postOrderErpAuthPasswordModify */ | |
3360 | +export interface PostOrderErpAuthPasswordModifyOption { | |
3361 | + /** | |
3362 | + * @description | |
3363 | + * modifyPwdVO | |
3364 | + */ | |
3365 | + body: { | |
3366 | + /** | |
3367 | + @description | |
3368 | + modifyPwdVO */ | |
3369 | + modifyPwdVO: AdminUserModifyPwdVO; | |
3370 | + }; | |
3371 | +} | |
3372 | + | |
3373 | +/** @description response type for postOrderErpAuthPasswordModify */ | |
3374 | +export interface PostOrderErpAuthPasswordModifyResponse { | |
3375 | + /** | |
3376 | + * @description | |
3377 | + * OK | |
3378 | + */ | |
3379 | + 200: ServerResult; | |
3380 | + /** | |
3381 | + * @description | |
3382 | + * Created | |
3383 | + */ | |
3384 | + 201: any; | |
3385 | + /** | |
3386 | + * @description | |
3387 | + * Unauthorized | |
3388 | + */ | |
3389 | + 401: any; | |
3390 | + /** | |
3391 | + * @description | |
3392 | + * Forbidden | |
3393 | + */ | |
3394 | + 403: any; | |
3395 | + /** | |
3396 | + * @description | |
3397 | + * Not Found | |
3398 | + */ | |
3399 | + 404: any; | |
3400 | +} | |
3401 | + | |
3402 | +export type PostOrderErpAuthPasswordModifyResponseSuccess = | |
3403 | + PostOrderErpAuthPasswordModifyResponse[200]; | |
3404 | +/** | |
3405 | + * @description | |
3406 | + * 用户登录 | |
3407 | + * @tags login-controller | |
3408 | + * @produces * | |
3409 | + * @consumes application/json | |
3410 | + */ | |
3411 | +export const postOrderErpAuthPasswordModify = /* #__PURE__ */ (() => { | |
3412 | + const method = "post"; | |
3413 | + const url = "/order/erp/auth/password_modify"; | |
3414 | + function request( | |
3415 | + option: PostOrderErpAuthPasswordModifyOption | |
3416 | + ): Promise<PostOrderErpAuthPasswordModifyResponseSuccess> { | |
3417 | + return requester(request.url, { | |
3418 | + method: request.method, | |
3419 | + ...option, | |
3420 | + }) as unknown as Promise<PostOrderErpAuthPasswordModifyResponseSuccess>; | |
3421 | + } | |
3422 | + | |
3423 | + /** http method */ | |
3424 | + request.method = method; | |
3425 | + /** request url */ | |
3426 | + request.url = url; | |
3427 | + return request; | |
3428 | +})(); | |
3429 | + | |
3430 | +/** @description request parameter type for postOrderErpAuthPhoneRegister */ | |
3431 | +export interface PostOrderErpAuthPhoneRegisterOption { | |
3432 | + /** | |
3433 | + * @description | |
3434 | + * registerVO | |
3435 | + */ | |
3436 | + body: { | |
3437 | + /** | |
3438 | + @description | |
3439 | + registerVO */ | |
3440 | + registerVO: AdminUserRegisterVO; | |
3441 | + }; | |
3442 | +} | |
3443 | + | |
3444 | +/** @description response type for postOrderErpAuthPhoneRegister */ | |
3445 | +export interface PostOrderErpAuthPhoneRegisterResponse { | |
3446 | + /** | |
3447 | + * @description | |
3448 | + * OK | |
1555 | 3449 | */ |
1556 | 3450 | 200: ServerResult; |
1557 | 3451 | /** |
... | ... | @@ -1576,25 +3470,25 @@ export interface PostKingdeeRepSalOrderSaveResponse { |
1576 | 3470 | 404: any; |
1577 | 3471 | } |
1578 | 3472 | |
1579 | -export type PostKingdeeRepSalOrderSaveResponseSuccess = | |
1580 | - PostKingdeeRepSalOrderSaveResponse[200]; | |
3473 | +export type PostOrderErpAuthPhoneRegisterResponseSuccess = | |
3474 | + PostOrderErpAuthPhoneRegisterResponse[200]; | |
1581 | 3475 | /** |
1582 | 3476 | * @description |
1583 | - * salOrderSave | |
1584 | - * @tags kingdee-erp-controller | |
3477 | + * 手机注册 | |
3478 | + * @tags login-controller | |
1585 | 3479 | * @produces * |
1586 | 3480 | * @consumes application/json |
1587 | 3481 | */ |
1588 | -export const postKingdeeRepSalOrderSave = /* #__PURE__ */ (() => { | |
3482 | +export const postOrderErpAuthPhoneRegister = /* #__PURE__ */ (() => { | |
1589 | 3483 | const method = "post"; |
1590 | - const url = "/kingdee/rep/salOrderSave"; | |
3484 | + const url = "/order/erp/auth/phone_register"; | |
1591 | 3485 | function request( |
1592 | - option: PostKingdeeRepSalOrderSaveOption | |
1593 | - ): Promise<PostKingdeeRepSalOrderSaveResponseSuccess> { | |
3486 | + option: PostOrderErpAuthPhoneRegisterOption | |
3487 | + ): Promise<PostOrderErpAuthPhoneRegisterResponseSuccess> { | |
1594 | 3488 | return requester(request.url, { |
1595 | 3489 | method: request.method, |
1596 | 3490 | ...option, |
1597 | - }) as unknown as Promise<PostKingdeeRepSalOrderSaveResponseSuccess>; | |
3491 | + }) as unknown as Promise<PostOrderErpAuthPhoneRegisterResponseSuccess>; | |
1598 | 3492 | } |
1599 | 3493 | |
1600 | 3494 | /** http method */ |
... | ... | @@ -1604,27 +3498,27 @@ export const postKingdeeRepSalOrderSave = /* #__PURE__ */ (() => { |
1604 | 3498 | return request; |
1605 | 3499 | })(); |
1606 | 3500 | |
1607 | -/** @description request parameter type for postKingdeeRepSystemCustomField */ | |
1608 | -export interface PostKingdeeRepSystemCustomFieldOption { | |
3501 | +/** @description request parameter type for postOrderErpAuthSendPasswordRecoverMail */ | |
3502 | +export interface PostOrderErpAuthSendPasswordRecoverMailOption { | |
1609 | 3503 | /** |
1610 | 3504 | * @description |
1611 | - * req | |
3505 | + * recoverEmailVO | |
1612 | 3506 | */ |
1613 | 3507 | body: { |
1614 | 3508 | /** |
1615 | 3509 | @description |
1616 | - req */ | |
1617 | - req: SystemCustomFieldReq; | |
3510 | + recoverEmailVO */ | |
3511 | + recoverEmailVO: AdminUserPasswordRecoverEmailVO; | |
1618 | 3512 | }; |
1619 | 3513 | } |
1620 | 3514 | |
1621 | -/** @description response type for postKingdeeRepSystemCustomField */ | |
1622 | -export interface PostKingdeeRepSystemCustomFieldResponse { | |
3515 | +/** @description response type for postOrderErpAuthSendPasswordRecoverMail */ | |
3516 | +export interface PostOrderErpAuthSendPasswordRecoverMailResponse { | |
1623 | 3517 | /** |
1624 | 3518 | * @description |
1625 | 3519 | * OK |
1626 | 3520 | */ |
1627 | - 200: CustomFieldRes; | |
3521 | + 200: ServerResult; | |
1628 | 3522 | /** |
1629 | 3523 | * @description |
1630 | 3524 | * Created |
... | ... | @@ -1647,25 +3541,25 @@ export interface PostKingdeeRepSystemCustomFieldResponse { |
1647 | 3541 | 404: any; |
1648 | 3542 | } |
1649 | 3543 | |
1650 | -export type PostKingdeeRepSystemCustomFieldResponseSuccess = | |
1651 | - PostKingdeeRepSystemCustomFieldResponse[200]; | |
3544 | +export type PostOrderErpAuthSendPasswordRecoverMailResponseSuccess = | |
3545 | + PostOrderErpAuthSendPasswordRecoverMailResponse[200]; | |
1652 | 3546 | /** |
1653 | 3547 | * @description |
1654 | - * listCustomFields | |
1655 | - * @tags kingdee-erp-controller | |
3548 | + * sendPasswordRecoverMail | |
3549 | + * @tags login-controller | |
1656 | 3550 | * @produces * |
1657 | 3551 | * @consumes application/json |
1658 | 3552 | */ |
1659 | -export const postKingdeeRepSystemCustomField = /* #__PURE__ */ (() => { | |
3553 | +export const postOrderErpAuthSendPasswordRecoverMail = /* #__PURE__ */ (() => { | |
1660 | 3554 | const method = "post"; |
1661 | - const url = "/kingdee/rep/systemCustomField"; | |
3555 | + const url = "/order/erp/auth/send_password_recover_mail"; | |
1662 | 3556 | function request( |
1663 | - option: PostKingdeeRepSystemCustomFieldOption | |
1664 | - ): Promise<PostKingdeeRepSystemCustomFieldResponseSuccess> { | |
3557 | + option: PostOrderErpAuthSendPasswordRecoverMailOption | |
3558 | + ): Promise<PostOrderErpAuthSendPasswordRecoverMailResponseSuccess> { | |
1665 | 3559 | return requester(request.url, { |
1666 | 3560 | method: request.method, |
1667 | 3561 | ...option, |
1668 | - }) as unknown as Promise<PostKingdeeRepSystemCustomFieldResponseSuccess>; | |
3562 | + }) as unknown as Promise<PostOrderErpAuthSendPasswordRecoverMailResponseSuccess>; | |
1669 | 3563 | } |
1670 | 3564 | |
1671 | 3565 | /** http method */ |
... | ... | @@ -1675,22 +3569,22 @@ export const postKingdeeRepSystemCustomField = /* #__PURE__ */ (() => { |
1675 | 3569 | return request; |
1676 | 3570 | })(); |
1677 | 3571 | |
1678 | -/** @description request parameter type for postOfficialWebsiteUploadAliOss */ | |
1679 | -export interface PostOfficialWebsiteUploadAliOssOption { | |
3572 | +/** @description request parameter type for postOrderErpAuthToken */ | |
3573 | +export interface PostOrderErpAuthTokenOption { | |
1680 | 3574 | /** |
1681 | 3575 | * @description |
1682 | - * files | |
3576 | + * tokenApiDto | |
1683 | 3577 | */ |
1684 | - formData: { | |
3578 | + body: { | |
1685 | 3579 | /** |
1686 | 3580 | @description |
1687 | - files */ | |
1688 | - files: Array<File>; | |
3581 | + tokenApiDto */ | |
3582 | + tokenApiDto: TokenApiDto; | |
1689 | 3583 | }; |
1690 | 3584 | } |
1691 | 3585 | |
1692 | -/** @description response type for postOfficialWebsiteUploadAliOss */ | |
1693 | -export interface PostOfficialWebsiteUploadAliOssResponse { | |
3586 | +/** @description response type for postOrderErpAuthToken */ | |
3587 | +export interface PostOrderErpAuthTokenResponse { | |
1694 | 3588 | /** |
1695 | 3589 | * @description |
1696 | 3590 | * OK |
... | ... | @@ -1718,25 +3612,150 @@ export interface PostOfficialWebsiteUploadAliOssResponse { |
1718 | 3612 | 404: any; |
1719 | 3613 | } |
1720 | 3614 | |
1721 | -export type PostOfficialWebsiteUploadAliOssResponseSuccess = | |
1722 | - PostOfficialWebsiteUploadAliOssResponse[200]; | |
3615 | +export type PostOrderErpAuthTokenResponseSuccess = | |
3616 | + PostOrderErpAuthTokenResponse[200]; | |
1723 | 3617 | /** |
1724 | 3618 | * @description |
1725 | - * 为官网提供上传文件的接口 | |
1726 | - * @tags 官网 | |
3619 | + * 获取token | |
3620 | + * @tags login-controller | |
1727 | 3621 | * @produces * |
1728 | 3622 | * @consumes application/json |
1729 | 3623 | */ |
1730 | -export const postOfficialWebsiteUploadAliOss = /* #__PURE__ */ (() => { | |
3624 | +export const postOrderErpAuthToken = /* #__PURE__ */ (() => { | |
1731 | 3625 | const method = "post"; |
1732 | - const url = "/official/website/uploadAliOss"; | |
3626 | + const url = "/order/erp/auth/token"; | |
1733 | 3627 | function request( |
1734 | - option: PostOfficialWebsiteUploadAliOssOption | |
1735 | - ): Promise<PostOfficialWebsiteUploadAliOssResponseSuccess> { | |
3628 | + option: PostOrderErpAuthTokenOption | |
3629 | + ): Promise<PostOrderErpAuthTokenResponseSuccess> { | |
3630 | + return requester(request.url, { | |
3631 | + method: request.method, | |
3632 | + ...option, | |
3633 | + }) as unknown as Promise<PostOrderErpAuthTokenResponseSuccess>; | |
3634 | + } | |
3635 | + | |
3636 | + /** http method */ | |
3637 | + request.method = method; | |
3638 | + /** request url */ | |
3639 | + request.url = url; | |
3640 | + return request; | |
3641 | +})(); | |
3642 | + | |
3643 | +/** @description response type for postOrderErpCaptchaGetImgCaptchaCode */ | |
3644 | +export interface PostOrderErpCaptchaGetImgCaptchaCodeResponse { | |
3645 | + /** | |
3646 | + * @description | |
3647 | + * OK | |
3648 | + */ | |
3649 | + 200: ServerResult; | |
3650 | + /** | |
3651 | + * @description | |
3652 | + * Created | |
3653 | + */ | |
3654 | + 201: any; | |
3655 | + /** | |
3656 | + * @description | |
3657 | + * Unauthorized | |
3658 | + */ | |
3659 | + 401: any; | |
3660 | + /** | |
3661 | + * @description | |
3662 | + * Forbidden | |
3663 | + */ | |
3664 | + 403: any; | |
3665 | + /** | |
3666 | + * @description | |
3667 | + * Not Found | |
3668 | + */ | |
3669 | + 404: any; | |
3670 | +} | |
3671 | + | |
3672 | +export type PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess = | |
3673 | + PostOrderErpCaptchaGetImgCaptchaCodeResponse[200]; | |
3674 | +/** | |
3675 | + * @description | |
3676 | + * 获取图片验证码 | |
3677 | + * @tags 验证码 | |
3678 | + * @produces * | |
3679 | + * @consumes application/json | |
3680 | + */ | |
3681 | +export const postOrderErpCaptchaGetImgCaptchaCode = /* #__PURE__ */ (() => { | |
3682 | + const method = "post"; | |
3683 | + const url = "/order/erp/captcha/get_img_captcha_code"; | |
3684 | + function request(): Promise<PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess> { | |
3685 | + return requester(request.url, { | |
3686 | + method: request.method, | |
3687 | + }) as unknown as Promise<PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess>; | |
3688 | + } | |
3689 | + | |
3690 | + /** http method */ | |
3691 | + request.method = method; | |
3692 | + /** request url */ | |
3693 | + request.url = url; | |
3694 | + return request; | |
3695 | +})(); | |
3696 | + | |
3697 | +/** @description request parameter type for postOrderErpCaptchaSendCaptchaCode */ | |
3698 | +export interface PostOrderErpCaptchaSendCaptchaCodeOption { | |
3699 | + /** | |
3700 | + * @description | |
3701 | + * msgVo | |
3702 | + */ | |
3703 | + body: { | |
3704 | + /** | |
3705 | + @description | |
3706 | + msgVo */ | |
3707 | + msgVo: CaptchaMessageVO; | |
3708 | + }; | |
3709 | +} | |
3710 | + | |
3711 | +/** @description response type for postOrderErpCaptchaSendCaptchaCode */ | |
3712 | +export interface PostOrderErpCaptchaSendCaptchaCodeResponse { | |
3713 | + /** | |
3714 | + * @description | |
3715 | + * OK | |
3716 | + */ | |
3717 | + 200: ServerResult; | |
3718 | + /** | |
3719 | + * @description | |
3720 | + * Created | |
3721 | + */ | |
3722 | + 201: any; | |
3723 | + /** | |
3724 | + * @description | |
3725 | + * Unauthorized | |
3726 | + */ | |
3727 | + 401: any; | |
3728 | + /** | |
3729 | + * @description | |
3730 | + * Forbidden | |
3731 | + */ | |
3732 | + 403: any; | |
3733 | + /** | |
3734 | + * @description | |
3735 | + * Not Found | |
3736 | + */ | |
3737 | + 404: any; | |
3738 | +} | |
3739 | + | |
3740 | +export type PostOrderErpCaptchaSendCaptchaCodeResponseSuccess = | |
3741 | + PostOrderErpCaptchaSendCaptchaCodeResponse[200]; | |
3742 | +/** | |
3743 | + * @description | |
3744 | + * 获取验证码 | |
3745 | + * @tags 验证码 | |
3746 | + * @produces * | |
3747 | + * @consumes application/json | |
3748 | + */ | |
3749 | +export const postOrderErpCaptchaSendCaptchaCode = /* #__PURE__ */ (() => { | |
3750 | + const method = "post"; | |
3751 | + const url = "/order/erp/captcha/send_captcha_code"; | |
3752 | + function request( | |
3753 | + option: PostOrderErpCaptchaSendCaptchaCodeOption | |
3754 | + ): Promise<PostOrderErpCaptchaSendCaptchaCodeResponseSuccess> { | |
1736 | 3755 | return requester(request.url, { |
1737 | 3756 | method: request.method, |
1738 | 3757 | ...option, |
1739 | - }) as unknown as Promise<PostOfficialWebsiteUploadAliOssResponseSuccess>; | |
3758 | + }) as unknown as Promise<PostOrderErpCaptchaSendCaptchaCodeResponseSuccess>; | |
1740 | 3759 | } |
1741 | 3760 | |
1742 | 3761 | /** http method */ |
... | ... | @@ -1746,22 +3765,22 @@ export const postOfficialWebsiteUploadAliOss = /* #__PURE__ */ (() => { |
1746 | 3765 | return request; |
1747 | 3766 | })(); |
1748 | 3767 | |
1749 | -/** @description request parameter type for postOrderErpApplyList */ | |
1750 | -export interface PostOrderErpApplyListOption { | |
3768 | +/** @description request parameter type for putOrderErpDepts */ | |
3769 | +export interface PutOrderErpDeptsOption { | |
1751 | 3770 | /** |
1752 | 3771 | * @description |
1753 | - * orderFieldLockApplyQueryVO | |
3772 | + * deptVO | |
1754 | 3773 | */ |
1755 | 3774 | body: { |
1756 | 3775 | /** |
1757 | 3776 | @description |
1758 | - orderFieldLockApplyQueryVO */ | |
1759 | - orderFieldLockApplyQueryVO: OrderFieldLockApplyQueryVO; | |
3777 | + deptVO */ | |
3778 | + deptVO: AdminDeptVO; | |
1760 | 3779 | }; |
1761 | 3780 | } |
1762 | 3781 | |
1763 | -/** @description response type for postOrderErpApplyList */ | |
1764 | -export interface PostOrderErpApplyListResponse { | |
3782 | +/** @description response type for putOrderErpDepts */ | |
3783 | +export interface PutOrderErpDeptsResponse { | |
1765 | 3784 | /** |
1766 | 3785 | * @description |
1767 | 3786 | * OK |
... | ... | @@ -1789,25 +3808,24 @@ export interface PostOrderErpApplyListResponse { |
1789 | 3808 | 404: any; |
1790 | 3809 | } |
1791 | 3810 | |
1792 | -export type PostOrderErpApplyListResponseSuccess = | |
1793 | - PostOrderErpApplyListResponse[200]; | |
3811 | +export type PutOrderErpDeptsResponseSuccess = PutOrderErpDeptsResponse[200]; | |
1794 | 3812 | /** |
1795 | 3813 | * @description |
1796 | - * 分页查询 | |
1797 | - * @tags 用户订单-字段锁定申请(忽略) | |
3814 | + * 修改部门 | |
3815 | + * @tags 系统:部门管理 | |
1798 | 3816 | * @produces * |
1799 | 3817 | * @consumes application/json |
1800 | 3818 | */ |
1801 | -export const postOrderErpApplyList = /* #__PURE__ */ (() => { | |
1802 | - const method = "post"; | |
1803 | - const url = "/order/erp/apply/list"; | |
3819 | +export const putOrderErpDepts = /* #__PURE__ */ (() => { | |
3820 | + const method = "put"; | |
3821 | + const url = "/order/erp/depts"; | |
1804 | 3822 | function request( |
1805 | - option: PostOrderErpApplyListOption | |
1806 | - ): Promise<PostOrderErpApplyListResponseSuccess> { | |
3823 | + option: PutOrderErpDeptsOption | |
3824 | + ): Promise<PutOrderErpDeptsResponseSuccess> { | |
1807 | 3825 | return requester(request.url, { |
1808 | 3826 | method: request.method, |
1809 | 3827 | ...option, |
1810 | - }) as unknown as Promise<PostOrderErpApplyListResponseSuccess>; | |
3828 | + }) as unknown as Promise<PutOrderErpDeptsResponseSuccess>; | |
1811 | 3829 | } |
1812 | 3830 | |
1813 | 3831 | /** http method */ |
... | ... | @@ -1817,8 +3835,8 @@ export const postOrderErpApplyList = /* #__PURE__ */ (() => { |
1817 | 3835 | return request; |
1818 | 3836 | })(); |
1819 | 3837 | |
1820 | -/** @description request parameter type for postOrderErpAuditAuditList */ | |
1821 | -export interface PostOrderErpAuditAuditListOption { | |
3838 | +/** @description request parameter type for deleteOrderErpDepts */ | |
3839 | +export interface DeleteOrderErpDeptsOption { | |
1822 | 3840 | /** |
1823 | 3841 | * @description |
1824 | 3842 | * queryVO |
... | ... | @@ -1827,12 +3845,12 @@ export interface PostOrderErpAuditAuditListOption { |
1827 | 3845 | /** |
1828 | 3846 | @description |
1829 | 3847 | queryVO */ |
1830 | - queryVO: OrderFieldLockApplyQueryVO; | |
3848 | + queryVO: AdminDeptQueryVO; | |
1831 | 3849 | }; |
1832 | 3850 | } |
1833 | 3851 | |
1834 | -/** @description response type for postOrderErpAuditAuditList */ | |
1835 | -export interface PostOrderErpAuditAuditListResponse { | |
3852 | +/** @description response type for deleteOrderErpDepts */ | |
3853 | +export interface DeleteOrderErpDeptsResponse { | |
1836 | 3854 | /** |
1837 | 3855 | * @description |
1838 | 3856 | * OK |
... | ... | @@ -1840,9 +3858,9 @@ export interface PostOrderErpAuditAuditListResponse { |
1840 | 3858 | 200: ServerResult; |
1841 | 3859 | /** |
1842 | 3860 | * @description |
1843 | - * Created | |
3861 | + * No Content | |
1844 | 3862 | */ |
1845 | - 201: any; | |
3863 | + 204: any; | |
1846 | 3864 | /** |
1847 | 3865 | * @description |
1848 | 3866 | * Unauthorized |
... | ... | @@ -1853,32 +3871,26 @@ export interface PostOrderErpAuditAuditListResponse { |
1853 | 3871 | * Forbidden |
1854 | 3872 | */ |
1855 | 3873 | 403: any; |
1856 | - /** | |
1857 | - * @description | |
1858 | - * Not Found | |
1859 | - */ | |
1860 | - 404: any; | |
1861 | 3874 | } |
1862 | 3875 | |
1863 | -export type PostOrderErpAuditAuditListResponseSuccess = | |
1864 | - PostOrderErpAuditAuditListResponse[200]; | |
3876 | +export type DeleteOrderErpDeptsResponseSuccess = | |
3877 | + DeleteOrderErpDeptsResponse[200]; | |
1865 | 3878 | /** |
1866 | 3879 | * @description |
1867 | - * 已审批列表 | |
1868 | - * @tags 审批管理 | |
3880 | + * 删除部门 | |
3881 | + * @tags 系统:部门管理 | |
1869 | 3882 | * @produces * |
1870 | - * @consumes application/json | |
1871 | 3883 | */ |
1872 | -export const postOrderErpAuditAuditList = /* #__PURE__ */ (() => { | |
1873 | - const method = "post"; | |
1874 | - const url = "/order/erp/audit/audit_list"; | |
3884 | +export const deleteOrderErpDepts = /* #__PURE__ */ (() => { | |
3885 | + const method = "delete"; | |
3886 | + const url = "/order/erp/depts"; | |
1875 | 3887 | function request( |
1876 | - option: PostOrderErpAuditAuditListOption | |
1877 | - ): Promise<PostOrderErpAuditAuditListResponseSuccess> { | |
3888 | + option: DeleteOrderErpDeptsOption | |
3889 | + ): Promise<DeleteOrderErpDeptsResponseSuccess> { | |
1878 | 3890 | return requester(request.url, { |
1879 | 3891 | method: request.method, |
1880 | 3892 | ...option, |
1881 | - }) as unknown as Promise<PostOrderErpAuditAuditListResponseSuccess>; | |
3893 | + }) as unknown as Promise<DeleteOrderErpDeptsResponseSuccess>; | |
1882 | 3894 | } |
1883 | 3895 | |
1884 | 3896 | /** http method */ |
... | ... | @@ -1888,22 +3900,22 @@ export const postOrderErpAuditAuditList = /* #__PURE__ */ (() => { |
1888 | 3900 | return request; |
1889 | 3901 | })(); |
1890 | 3902 | |
1891 | -/** @description request parameter type for postOrderErpAuditDoAudit */ | |
1892 | -export interface PostOrderErpAuditDoAuditOption { | |
3903 | +/** @description request parameter type for postOrderErpDeptsAdd */ | |
3904 | +export interface PostOrderErpDeptsAddOption { | |
1893 | 3905 | /** |
1894 | 3906 | * @description |
1895 | - * auditVO | |
3907 | + * deptVO | |
1896 | 3908 | */ |
1897 | 3909 | body: { |
1898 | 3910 | /** |
1899 | 3911 | @description |
1900 | - auditVO */ | |
1901 | - auditVO: AuditVO; | |
3912 | + deptVO */ | |
3913 | + deptVO: AdminDeptVO; | |
1902 | 3914 | }; |
1903 | 3915 | } |
1904 | 3916 | |
1905 | -/** @description response type for postOrderErpAuditDoAudit */ | |
1906 | -export interface PostOrderErpAuditDoAuditResponse { | |
3917 | +/** @description response type for postOrderErpDeptsAdd */ | |
3918 | +export interface PostOrderErpDeptsAddResponse { | |
1907 | 3919 | /** |
1908 | 3920 | * @description |
1909 | 3921 | * OK |
... | ... | @@ -1931,25 +3943,25 @@ export interface PostOrderErpAuditDoAuditResponse { |
1931 | 3943 | 404: any; |
1932 | 3944 | } |
1933 | 3945 | |
1934 | -export type PostOrderErpAuditDoAuditResponseSuccess = | |
1935 | - PostOrderErpAuditDoAuditResponse[200]; | |
3946 | +export type PostOrderErpDeptsAddResponseSuccess = | |
3947 | + PostOrderErpDeptsAddResponse[200]; | |
1936 | 3948 | /** |
1937 | 3949 | * @description |
1938 | - * 审核 | |
1939 | - * @tags 审批管理 | |
3950 | + * 新增部门 | |
3951 | + * @tags 系统:部门管理 | |
1940 | 3952 | * @produces * |
1941 | 3953 | * @consumes application/json |
1942 | 3954 | */ |
1943 | -export const postOrderErpAuditDoAudit = /* #__PURE__ */ (() => { | |
3955 | +export const postOrderErpDeptsAdd = /* #__PURE__ */ (() => { | |
1944 | 3956 | const method = "post"; |
1945 | - const url = "/order/erp/audit/do_audit"; | |
3957 | + const url = "/order/erp/depts/add"; | |
1946 | 3958 | function request( |
1947 | - option: PostOrderErpAuditDoAuditOption | |
1948 | - ): Promise<PostOrderErpAuditDoAuditResponseSuccess> { | |
3959 | + option: PostOrderErpDeptsAddOption | |
3960 | + ): Promise<PostOrderErpDeptsAddResponseSuccess> { | |
1949 | 3961 | return requester(request.url, { |
1950 | 3962 | method: request.method, |
1951 | 3963 | ...option, |
1952 | - }) as unknown as Promise<PostOrderErpAuditDoAuditResponseSuccess>; | |
3964 | + }) as unknown as Promise<PostOrderErpDeptsAddResponseSuccess>; | |
1953 | 3965 | } |
1954 | 3966 | |
1955 | 3967 | /** http method */ |
... | ... | @@ -1959,8 +3971,8 @@ export const postOrderErpAuditDoAudit = /* #__PURE__ */ (() => { |
1959 | 3971 | return request; |
1960 | 3972 | })(); |
1961 | 3973 | |
1962 | -/** @description request parameter type for postOrderErpAuditListByPage */ | |
1963 | -export interface PostOrderErpAuditListByPageOption { | |
3974 | +/** @description request parameter type for postOrderErpDeptsListByPage */ | |
3975 | +export interface PostOrderErpDeptsListByPageOption { | |
1964 | 3976 | /** |
1965 | 3977 | * @description |
1966 | 3978 | * queryVO |
... | ... | @@ -1969,12 +3981,12 @@ export interface PostOrderErpAuditListByPageOption { |
1969 | 3981 | /** |
1970 | 3982 | @description |
1971 | 3983 | queryVO */ |
1972 | - queryVO: OrderFieldLockApplyQueryVO; | |
3984 | + queryVO: AdminDeptQueryVO; | |
1973 | 3985 | }; |
1974 | 3986 | } |
1975 | 3987 | |
1976 | -/** @description response type for postOrderErpAuditListByPage */ | |
1977 | -export interface PostOrderErpAuditListByPageResponse { | |
3988 | +/** @description response type for postOrderErpDeptsListByPage */ | |
3989 | +export interface PostOrderErpDeptsListByPageResponse { | |
1978 | 3990 | /** |
1979 | 3991 | * @description |
1980 | 3992 | * OK |
... | ... | @@ -2002,25 +4014,25 @@ export interface PostOrderErpAuditListByPageResponse { |
2002 | 4014 | 404: any; |
2003 | 4015 | } |
2004 | 4016 | |
2005 | -export type PostOrderErpAuditListByPageResponseSuccess = | |
2006 | - PostOrderErpAuditListByPageResponse[200]; | |
4017 | +export type PostOrderErpDeptsListByPageResponseSuccess = | |
4018 | + PostOrderErpDeptsListByPageResponse[200]; | |
2007 | 4019 | /** |
2008 | 4020 | * @description |
2009 | - * 分页查询 | |
2010 | - * @tags 审批管理 | |
4021 | + * 查询部门 | |
4022 | + * @tags 系统:部门管理 | |
2011 | 4023 | * @produces * |
2012 | 4024 | * @consumes application/json |
2013 | 4025 | */ |
2014 | -export const postOrderErpAuditListByPage = /* #__PURE__ */ (() => { | |
4026 | +export const postOrderErpDeptsListByPage = /* #__PURE__ */ (() => { | |
2015 | 4027 | const method = "post"; |
2016 | - const url = "/order/erp/audit/list_by_page"; | |
4028 | + const url = "/order/erp/depts/list_by_page"; | |
2017 | 4029 | function request( |
2018 | - option: PostOrderErpAuditListByPageOption | |
2019 | - ): Promise<PostOrderErpAuditListByPageResponseSuccess> { | |
4030 | + option: PostOrderErpDeptsListByPageOption | |
4031 | + ): Promise<PostOrderErpDeptsListByPageResponseSuccess> { | |
2020 | 4032 | return requester(request.url, { |
2021 | 4033 | method: request.method, |
2022 | 4034 | ...option, |
2023 | - }) as unknown as Promise<PostOrderErpAuditListByPageResponseSuccess>; | |
4035 | + }) as unknown as Promise<PostOrderErpDeptsListByPageResponseSuccess>; | |
2024 | 4036 | } |
2025 | 4037 | |
2026 | 4038 | /** http method */ |
... | ... | @@ -2030,22 +4042,22 @@ export const postOrderErpAuditListByPage = /* #__PURE__ */ (() => { |
2030 | 4042 | return request; |
2031 | 4043 | })(); |
2032 | 4044 | |
2033 | -/** @description request parameter type for postOrderErpAuditLogListByPage */ | |
2034 | -export interface PostOrderErpAuditLogListByPageOption { | |
4045 | +/** @description request parameter type for postOrderErpDictionaryAdd */ | |
4046 | +export interface PostOrderErpDictionaryAddOption { | |
2035 | 4047 | /** |
2036 | 4048 | * @description |
2037 | - * orderAuditLogQueryVO | |
4049 | + * dictionaryVO | |
2038 | 4050 | */ |
2039 | 4051 | body: { |
2040 | 4052 | /** |
2041 | 4053 | @description |
2042 | - orderAuditLogQueryVO */ | |
2043 | - orderAuditLogQueryVO: OrderAuditLogQueryVO; | |
4054 | + dictionaryVO */ | |
4055 | + dictionaryVO: DictionaryVO; | |
2044 | 4056 | }; |
2045 | 4057 | } |
2046 | 4058 | |
2047 | -/** @description response type for postOrderErpAuditLogListByPage */ | |
2048 | -export interface PostOrderErpAuditLogListByPageResponse { | |
4059 | +/** @description response type for postOrderErpDictionaryAdd */ | |
4060 | +export interface PostOrderErpDictionaryAddResponse { | |
2049 | 4061 | /** |
2050 | 4062 | * @description |
2051 | 4063 | * OK |
... | ... | @@ -2073,25 +4085,25 @@ export interface PostOrderErpAuditLogListByPageResponse { |
2073 | 4085 | 404: any; |
2074 | 4086 | } |
2075 | 4087 | |
2076 | -export type PostOrderErpAuditLogListByPageResponseSuccess = | |
2077 | - PostOrderErpAuditLogListByPageResponse[200]; | |
4088 | +export type PostOrderErpDictionaryAddResponseSuccess = | |
4089 | + PostOrderErpDictionaryAddResponse[200]; | |
2078 | 4090 | /** |
2079 | 4091 | * @description |
2080 | - * 分页查询 | |
2081 | - * @tags 用户订单审批日志 | |
4092 | + * 新增字典 | |
4093 | + * @tags 系统:字典管理 | |
2082 | 4094 | * @produces * |
2083 | 4095 | * @consumes application/json |
2084 | 4096 | */ |
2085 | -export const postOrderErpAuditLogListByPage = /* #__PURE__ */ (() => { | |
4097 | +export const postOrderErpDictionaryAdd = /* #__PURE__ */ (() => { | |
2086 | 4098 | const method = "post"; |
2087 | - const url = "/order/erp/audit/log/list_by_page"; | |
4099 | + const url = "/order/erp/dictionary/add"; | |
2088 | 4100 | function request( |
2089 | - option: PostOrderErpAuditLogListByPageOption | |
2090 | - ): Promise<PostOrderErpAuditLogListByPageResponseSuccess> { | |
4101 | + option: PostOrderErpDictionaryAddOption | |
4102 | + ): Promise<PostOrderErpDictionaryAddResponseSuccess> { | |
2091 | 4103 | return requester(request.url, { |
2092 | 4104 | method: request.method, |
2093 | 4105 | ...option, |
2094 | - }) as unknown as Promise<PostOrderErpAuditLogListByPageResponseSuccess>; | |
4106 | + }) as unknown as Promise<PostOrderErpDictionaryAddResponseSuccess>; | |
2095 | 4107 | } |
2096 | 4108 | |
2097 | 4109 | /** http method */ |
... | ... | @@ -2101,22 +4113,22 @@ export const postOrderErpAuditLogListByPage = /* #__PURE__ */ (() => { |
2101 | 4113 | return request; |
2102 | 4114 | })(); |
2103 | 4115 | |
2104 | -/** @description request parameter type for postOrderErpAuditLogQueryById */ | |
2105 | -export interface PostOrderErpAuditLogQueryByIdOption { | |
4116 | +/** @description request parameter type for postOrderErpDictionaryDelete */ | |
4117 | +export interface PostOrderErpDictionaryDeleteOption { | |
2106 | 4118 | /** |
2107 | 4119 | * @description |
2108 | - * orderAuditLogQueryVO | |
4120 | + * queryVO | |
2109 | 4121 | */ |
2110 | 4122 | body: { |
2111 | 4123 | /** |
2112 | 4124 | @description |
2113 | - orderAuditLogQueryVO */ | |
2114 | - orderAuditLogQueryVO: OrderAuditLogQueryVO; | |
4125 | + queryVO */ | |
4126 | + queryVO: DictionaryQueryVO; | |
2115 | 4127 | }; |
2116 | 4128 | } |
2117 | 4129 | |
2118 | -/** @description response type for postOrderErpAuditLogQueryById */ | |
2119 | -export interface PostOrderErpAuditLogQueryByIdResponse { | |
4130 | +/** @description response type for postOrderErpDictionaryDelete */ | |
4131 | +export interface PostOrderErpDictionaryDeleteResponse { | |
2120 | 4132 | /** |
2121 | 4133 | * @description |
2122 | 4134 | * OK |
... | ... | @@ -2144,25 +4156,25 @@ export interface PostOrderErpAuditLogQueryByIdResponse { |
2144 | 4156 | 404: any; |
2145 | 4157 | } |
2146 | 4158 | |
2147 | -export type PostOrderErpAuditLogQueryByIdResponseSuccess = | |
2148 | - PostOrderErpAuditLogQueryByIdResponse[200]; | |
4159 | +export type PostOrderErpDictionaryDeleteResponseSuccess = | |
4160 | + PostOrderErpDictionaryDeleteResponse[200]; | |
2149 | 4161 | /** |
2150 | 4162 | * @description |
2151 | - * 通过主键查询单条数据 | |
2152 | - * @tags 用户订单审批日志 | |
4163 | + * 删除字典 | |
4164 | + * @tags 系统:字典管理 | |
2153 | 4165 | * @produces * |
2154 | 4166 | * @consumes application/json |
2155 | 4167 | */ |
2156 | -export const postOrderErpAuditLogQueryById = /* #__PURE__ */ (() => { | |
4168 | +export const postOrderErpDictionaryDelete = /* #__PURE__ */ (() => { | |
2157 | 4169 | const method = "post"; |
2158 | - const url = "/order/erp/audit/log/query_by_id"; | |
4170 | + const url = "/order/erp/dictionary/delete"; | |
2159 | 4171 | function request( |
2160 | - option: PostOrderErpAuditLogQueryByIdOption | |
2161 | - ): Promise<PostOrderErpAuditLogQueryByIdResponseSuccess> { | |
4172 | + option: PostOrderErpDictionaryDeleteOption | |
4173 | + ): Promise<PostOrderErpDictionaryDeleteResponseSuccess> { | |
2162 | 4174 | return requester(request.url, { |
2163 | 4175 | method: request.method, |
2164 | 4176 | ...option, |
2165 | - }) as unknown as Promise<PostOrderErpAuditLogQueryByIdResponseSuccess>; | |
4177 | + }) as unknown as Promise<PostOrderErpDictionaryDeleteResponseSuccess>; | |
2166 | 4178 | } |
2167 | 4179 | |
2168 | 4180 | /** http method */ |
... | ... | @@ -2172,22 +4184,22 @@ export const postOrderErpAuditLogQueryById = /* #__PURE__ */ (() => { |
2172 | 4184 | return request; |
2173 | 4185 | })(); |
2174 | 4186 | |
2175 | -/** @description request parameter type for postOrderErpAuditWaitAuditList */ | |
2176 | -export interface PostOrderErpAuditWaitAuditListOption { | |
4187 | +/** @description request parameter type for postOrderErpDictionaryEdit */ | |
4188 | +export interface PostOrderErpDictionaryEditOption { | |
2177 | 4189 | /** |
2178 | 4190 | * @description |
2179 | - * queryVO | |
4191 | + * dictionaryVO | |
2180 | 4192 | */ |
2181 | 4193 | body: { |
2182 | 4194 | /** |
2183 | 4195 | @description |
2184 | - queryVO */ | |
2185 | - queryVO: OrderFieldLockApplyQueryVO; | |
4196 | + dictionaryVO */ | |
4197 | + dictionaryVO: DictionaryVO; | |
2186 | 4198 | }; |
2187 | 4199 | } |
2188 | 4200 | |
2189 | -/** @description response type for postOrderErpAuditWaitAuditList */ | |
2190 | -export interface PostOrderErpAuditWaitAuditListResponse { | |
4201 | +/** @description response type for postOrderErpDictionaryEdit */ | |
4202 | +export interface PostOrderErpDictionaryEditResponse { | |
2191 | 4203 | /** |
2192 | 4204 | * @description |
2193 | 4205 | * OK |
... | ... | @@ -2215,25 +4227,25 @@ export interface PostOrderErpAuditWaitAuditListResponse { |
2215 | 4227 | 404: any; |
2216 | 4228 | } |
2217 | 4229 | |
2218 | -export type PostOrderErpAuditWaitAuditListResponseSuccess = | |
2219 | - PostOrderErpAuditWaitAuditListResponse[200]; | |
4230 | +export type PostOrderErpDictionaryEditResponseSuccess = | |
4231 | + PostOrderErpDictionaryEditResponse[200]; | |
2220 | 4232 | /** |
2221 | 4233 | * @description |
2222 | - * 待审批列表 | |
2223 | - * @tags 审批管理 | |
4234 | + * 修改字典 | |
4235 | + * @tags 系统:字典管理 | |
2224 | 4236 | * @produces * |
2225 | 4237 | * @consumes application/json |
2226 | 4238 | */ |
2227 | -export const postOrderErpAuditWaitAuditList = /* #__PURE__ */ (() => { | |
4239 | +export const postOrderErpDictionaryEdit = /* #__PURE__ */ (() => { | |
2228 | 4240 | const method = "post"; |
2229 | - const url = "/order/erp/audit/wait_audit_list"; | |
4241 | + const url = "/order/erp/dictionary/edit"; | |
2230 | 4242 | function request( |
2231 | - option: PostOrderErpAuditWaitAuditListOption | |
2232 | - ): Promise<PostOrderErpAuditWaitAuditListResponseSuccess> { | |
4243 | + option: PostOrderErpDictionaryEditOption | |
4244 | + ): Promise<PostOrderErpDictionaryEditResponseSuccess> { | |
2233 | 4245 | return requester(request.url, { |
2234 | 4246 | method: request.method, |
2235 | 4247 | ...option, |
2236 | - }) as unknown as Promise<PostOrderErpAuditWaitAuditListResponseSuccess>; | |
4248 | + }) as unknown as Promise<PostOrderErpDictionaryEditResponseSuccess>; | |
2237 | 4249 | } |
2238 | 4250 | |
2239 | 4251 | /** http method */ |
... | ... | @@ -2243,22 +4255,22 @@ export const postOrderErpAuditWaitAuditList = /* #__PURE__ */ (() => { |
2243 | 4255 | return request; |
2244 | 4256 | })(); |
2245 | 4257 | |
2246 | -/** @description request parameter type for postOrderErpAuthLoginByPhone */ | |
2247 | -export interface PostOrderErpAuthLoginByPhoneOption { | |
4258 | +/** @description request parameter type for postOrderErpDictionaryGetAll */ | |
4259 | +export interface PostOrderErpDictionaryGetAllOption { | |
2248 | 4260 | /** |
2249 | 4261 | * @description |
2250 | - * loginByPhoneVO | |
4262 | + * queryVO | |
2251 | 4263 | */ |
2252 | 4264 | body: { |
2253 | 4265 | /** |
2254 | 4266 | @description |
2255 | - loginByPhoneVO */ | |
2256 | - loginByPhoneVO: AdminUserLoginByPhoneVO; | |
4267 | + queryVO */ | |
4268 | + queryVO: DictionaryQueryVO; | |
2257 | 4269 | }; |
2258 | 4270 | } |
2259 | 4271 | |
2260 | -/** @description response type for postOrderErpAuthLoginByPhone */ | |
2261 | -export interface PostOrderErpAuthLoginByPhoneResponse { | |
4272 | +/** @description response type for postOrderErpDictionaryGetAll */ | |
4273 | +export interface PostOrderErpDictionaryGetAllResponse { | |
2262 | 4274 | /** |
2263 | 4275 | * @description |
2264 | 4276 | * OK |
... | ... | @@ -2286,25 +4298,25 @@ export interface PostOrderErpAuthLoginByPhoneResponse { |
2286 | 4298 | 404: any; |
2287 | 4299 | } |
2288 | 4300 | |
2289 | -export type PostOrderErpAuthLoginByPhoneResponseSuccess = | |
2290 | - PostOrderErpAuthLoginByPhoneResponse[200]; | |
4301 | +export type PostOrderErpDictionaryGetAllResponseSuccess = | |
4302 | + PostOrderErpDictionaryGetAllResponse[200]; | |
2291 | 4303 | /** |
2292 | 4304 | * @description |
2293 | - * 手机登录 | |
2294 | - * @tags login-controller | |
4305 | + * 获取所有字典 | |
4306 | + * @tags 系统:字典管理 | |
2295 | 4307 | * @produces * |
2296 | 4308 | * @consumes application/json |
2297 | 4309 | */ |
2298 | -export const postOrderErpAuthLoginByPhone = /* #__PURE__ */ (() => { | |
4310 | +export const postOrderErpDictionaryGetAll = /* #__PURE__ */ (() => { | |
2299 | 4311 | const method = "post"; |
2300 | - const url = "/order/erp/auth/login_by_phone"; | |
4312 | + const url = "/order/erp/dictionary/get_all"; | |
2301 | 4313 | function request( |
2302 | - option: PostOrderErpAuthLoginByPhoneOption | |
2303 | - ): Promise<PostOrderErpAuthLoginByPhoneResponseSuccess> { | |
4314 | + option: PostOrderErpDictionaryGetAllOption | |
4315 | + ): Promise<PostOrderErpDictionaryGetAllResponseSuccess> { | |
2304 | 4316 | return requester(request.url, { |
2305 | 4317 | method: request.method, |
2306 | 4318 | ...option, |
2307 | - }) as unknown as Promise<PostOrderErpAuthLoginByPhoneResponseSuccess>; | |
4319 | + }) as unknown as Promise<PostOrderErpDictionaryGetAllResponseSuccess>; | |
2308 | 4320 | } |
2309 | 4321 | |
2310 | 4322 | /** http method */ |
... | ... | @@ -2314,22 +4326,22 @@ export const postOrderErpAuthLoginByPhone = /* #__PURE__ */ (() => { |
2314 | 4326 | return request; |
2315 | 4327 | })(); |
2316 | 4328 | |
2317 | -/** @description request parameter type for postOrderErpAuthLoginByPwd */ | |
2318 | -export interface PostOrderErpAuthLoginByPwdOption { | |
4329 | +/** @description request parameter type for postOrderErpDictionaryListByPage */ | |
4330 | +export interface PostOrderErpDictionaryListByPageOption { | |
2319 | 4331 | /** |
2320 | 4332 | * @description |
2321 | - * loginByPwdVO | |
4333 | + * queryVO | |
2322 | 4334 | */ |
2323 | 4335 | body: { |
2324 | 4336 | /** |
2325 | 4337 | @description |
2326 | - loginByPwdVO */ | |
2327 | - loginByPwdVO: AdminUserLoginByPwdVO; | |
4338 | + queryVO */ | |
4339 | + queryVO: DictionaryQueryVO; | |
2328 | 4340 | }; |
2329 | 4341 | } |
2330 | 4342 | |
2331 | -/** @description response type for postOrderErpAuthLoginByPwd */ | |
2332 | -export interface PostOrderErpAuthLoginByPwdResponse { | |
4343 | +/** @description response type for postOrderErpDictionaryListByPage */ | |
4344 | +export interface PostOrderErpDictionaryListByPageResponse { | |
2333 | 4345 | /** |
2334 | 4346 | * @description |
2335 | 4347 | * OK |
... | ... | @@ -2357,25 +4369,25 @@ export interface PostOrderErpAuthLoginByPwdResponse { |
2357 | 4369 | 404: any; |
2358 | 4370 | } |
2359 | 4371 | |
2360 | -export type PostOrderErpAuthLoginByPwdResponseSuccess = | |
2361 | - PostOrderErpAuthLoginByPwdResponse[200]; | |
4372 | +export type PostOrderErpDictionaryListByPageResponseSuccess = | |
4373 | + PostOrderErpDictionaryListByPageResponse[200]; | |
2362 | 4374 | /** |
2363 | 4375 | * @description |
2364 | - * 用户登录 | |
2365 | - * @tags login-controller | |
4376 | + * 查询字典列表 | |
4377 | + * @tags 系统:字典管理 | |
2366 | 4378 | * @produces * |
2367 | 4379 | * @consumes application/json |
2368 | 4380 | */ |
2369 | -export const postOrderErpAuthLoginByPwd = /* #__PURE__ */ (() => { | |
4381 | +export const postOrderErpDictionaryListByPage = /* #__PURE__ */ (() => { | |
2370 | 4382 | const method = "post"; |
2371 | - const url = "/order/erp/auth/login_by_pwd"; | |
4383 | + const url = "/order/erp/dictionary/list_by_page"; | |
2372 | 4384 | function request( |
2373 | - option: PostOrderErpAuthLoginByPwdOption | |
2374 | - ): Promise<PostOrderErpAuthLoginByPwdResponseSuccess> { | |
4385 | + option: PostOrderErpDictionaryListByPageOption | |
4386 | + ): Promise<PostOrderErpDictionaryListByPageResponseSuccess> { | |
2375 | 4387 | return requester(request.url, { |
2376 | 4388 | method: request.method, |
2377 | 4389 | ...option, |
2378 | - }) as unknown as Promise<PostOrderErpAuthLoginByPwdResponseSuccess>; | |
4390 | + }) as unknown as Promise<PostOrderErpDictionaryListByPageResponseSuccess>; | |
2379 | 4391 | } |
2380 | 4392 | |
2381 | 4393 | /** http method */ |
... | ... | @@ -2385,8 +4397,8 @@ export const postOrderErpAuthLoginByPwd = /* #__PURE__ */ (() => { |
2385 | 4397 | return request; |
2386 | 4398 | })(); |
2387 | 4399 | |
2388 | -/** @description response type for postOrderErpAuthLoginOut */ | |
2389 | -export interface PostOrderErpAuthLoginOutResponse { | |
4400 | +/** @description response type for getOrderErpIndexChartData */ | |
4401 | +export interface GetOrderErpIndexChartDataResponse { | |
2390 | 4402 | /** |
2391 | 4403 | * @description |
2392 | 4404 | * OK |
... | ... | @@ -2394,11 +4406,6 @@ export interface PostOrderErpAuthLoginOutResponse { |
2394 | 4406 | 200: ServerResult; |
2395 | 4407 | /** |
2396 | 4408 | * @description |
2397 | - * Created | |
2398 | - */ | |
2399 | - 201: any; | |
2400 | - /** | |
2401 | - * @description | |
2402 | 4409 | * Unauthorized |
2403 | 4410 | */ |
2404 | 4411 | 401: any; |
... | ... | @@ -2414,22 +4421,21 @@ export interface PostOrderErpAuthLoginOutResponse { |
2414 | 4421 | 404: any; |
2415 | 4422 | } |
2416 | 4423 | |
2417 | -export type PostOrderErpAuthLoginOutResponseSuccess = | |
2418 | - PostOrderErpAuthLoginOutResponse[200]; | |
4424 | +export type GetOrderErpIndexChartDataResponseSuccess = | |
4425 | + GetOrderErpIndexChartDataResponse[200]; | |
2419 | 4426 | /** |
2420 | 4427 | * @description |
2421 | - * 退出登录 | |
2422 | - * @tags login-controller | |
4428 | + * 首页订单趋势 | |
4429 | + * @tags 首页 | |
2423 | 4430 | * @produces * |
2424 | - * @consumes application/json | |
2425 | 4431 | */ |
2426 | -export const postOrderErpAuthLoginOut = /* #__PURE__ */ (() => { | |
2427 | - const method = "post"; | |
2428 | - const url = "/order/erp/auth/login_out"; | |
2429 | - function request(): Promise<PostOrderErpAuthLoginOutResponseSuccess> { | |
4432 | +export const getOrderErpIndexChartData = /* #__PURE__ */ (() => { | |
4433 | + const method = "get"; | |
4434 | + const url = "/order/erp/index/chartData"; | |
4435 | + function request(): Promise<GetOrderErpIndexChartDataResponseSuccess> { | |
2430 | 4436 | return requester(request.url, { |
2431 | 4437 | method: request.method, |
2432 | - }) as unknown as Promise<PostOrderErpAuthLoginOutResponseSuccess>; | |
4438 | + }) as unknown as Promise<GetOrderErpIndexChartDataResponseSuccess>; | |
2433 | 4439 | } |
2434 | 4440 | |
2435 | 4441 | /** http method */ |
... | ... | @@ -2439,22 +4445,8 @@ export const postOrderErpAuthLoginOut = /* #__PURE__ */ (() => { |
2439 | 4445 | return request; |
2440 | 4446 | })(); |
2441 | 4447 | |
2442 | -/** @description request parameter type for postOrderErpAuthPasswordModify */ | |
2443 | -export interface PostOrderErpAuthPasswordModifyOption { | |
2444 | - /** | |
2445 | - * @description | |
2446 | - * modifyPwdVO | |
2447 | - */ | |
2448 | - body: { | |
2449 | - /** | |
2450 | - @description | |
2451 | - modifyPwdVO */ | |
2452 | - modifyPwdVO: AdminUserModifyPwdVO; | |
2453 | - }; | |
2454 | -} | |
2455 | - | |
2456 | -/** @description response type for postOrderErpAuthPasswordModify */ | |
2457 | -export interface PostOrderErpAuthPasswordModifyResponse { | |
4448 | +/** @description response type for getOrderErpIndexData */ | |
4449 | +export interface GetOrderErpIndexDataResponse { | |
2458 | 4450 | /** |
2459 | 4451 | * @description |
2460 | 4452 | * OK |
... | ... | @@ -2462,11 +4454,6 @@ export interface PostOrderErpAuthPasswordModifyResponse { |
2462 | 4454 | 200: ServerResult; |
2463 | 4455 | /** |
2464 | 4456 | * @description |
2465 | - * Created | |
2466 | - */ | |
2467 | - 201: any; | |
2468 | - /** | |
2469 | - * @description | |
2470 | 4457 | * Unauthorized |
2471 | 4458 | */ |
2472 | 4459 | 401: any; |
... | ... | @@ -2482,25 +4469,21 @@ export interface PostOrderErpAuthPasswordModifyResponse { |
2482 | 4469 | 404: any; |
2483 | 4470 | } |
2484 | 4471 | |
2485 | -export type PostOrderErpAuthPasswordModifyResponseSuccess = | |
2486 | - PostOrderErpAuthPasswordModifyResponse[200]; | |
4472 | +export type GetOrderErpIndexDataResponseSuccess = | |
4473 | + GetOrderErpIndexDataResponse[200]; | |
2487 | 4474 | /** |
2488 | 4475 | * @description |
2489 | - * 用户登录 | |
2490 | - * @tags login-controller | |
4476 | + * 首页统计数据 | |
4477 | + * @tags 首页 | |
2491 | 4478 | * @produces * |
2492 | - * @consumes application/json | |
2493 | 4479 | */ |
2494 | -export const postOrderErpAuthPasswordModify = /* #__PURE__ */ (() => { | |
2495 | - const method = "post"; | |
2496 | - const url = "/order/erp/auth/password_modify"; | |
2497 | - function request( | |
2498 | - option: PostOrderErpAuthPasswordModifyOption | |
2499 | - ): Promise<PostOrderErpAuthPasswordModifyResponseSuccess> { | |
4480 | +export const getOrderErpIndexData = /* #__PURE__ */ (() => { | |
4481 | + const method = "get"; | |
4482 | + const url = "/order/erp/index/data"; | |
4483 | + function request(): Promise<GetOrderErpIndexDataResponseSuccess> { | |
2500 | 4484 | return requester(request.url, { |
2501 | 4485 | method: request.method, |
2502 | - ...option, | |
2503 | - }) as unknown as Promise<PostOrderErpAuthPasswordModifyResponseSuccess>; | |
4486 | + }) as unknown as Promise<GetOrderErpIndexDataResponseSuccess>; | |
2504 | 4487 | } |
2505 | 4488 | |
2506 | 4489 | /** http method */ |
... | ... | @@ -2510,22 +4493,22 @@ export const postOrderErpAuthPasswordModify = /* #__PURE__ */ (() => { |
2510 | 4493 | return request; |
2511 | 4494 | })(); |
2512 | 4495 | |
2513 | -/** @description request parameter type for postOrderErpAuthPhoneRegister */ | |
2514 | -export interface PostOrderErpAuthPhoneRegisterOption { | |
4496 | +/** @description request parameter type for postOrderErpJobsAdd */ | |
4497 | +export interface PostOrderErpJobsAddOption { | |
2515 | 4498 | /** |
2516 | 4499 | * @description |
2517 | - * registerVO | |
4500 | + * jobVO | |
2518 | 4501 | */ |
2519 | 4502 | body: { |
2520 | 4503 | /** |
2521 | 4504 | @description |
2522 | - registerVO */ | |
2523 | - registerVO: AdminUserRegisterVO; | |
4505 | + jobVO */ | |
4506 | + jobVO: AdminJobVO; | |
2524 | 4507 | }; |
2525 | 4508 | } |
2526 | 4509 | |
2527 | -/** @description response type for postOrderErpAuthPhoneRegister */ | |
2528 | -export interface PostOrderErpAuthPhoneRegisterResponse { | |
4510 | +/** @description response type for postOrderErpJobsAdd */ | |
4511 | +export interface PostOrderErpJobsAddResponse { | |
2529 | 4512 | /** |
2530 | 4513 | * @description |
2531 | 4514 | * OK |
... | ... | @@ -2553,25 +4536,25 @@ export interface PostOrderErpAuthPhoneRegisterResponse { |
2553 | 4536 | 404: any; |
2554 | 4537 | } |
2555 | 4538 | |
2556 | -export type PostOrderErpAuthPhoneRegisterResponseSuccess = | |
2557 | - PostOrderErpAuthPhoneRegisterResponse[200]; | |
4539 | +export type PostOrderErpJobsAddResponseSuccess = | |
4540 | + PostOrderErpJobsAddResponse[200]; | |
2558 | 4541 | /** |
2559 | 4542 | * @description |
2560 | - * 手机注册 | |
2561 | - * @tags login-controller | |
4543 | + * 新增岗位 | |
4544 | + * @tags 系统:岗位管理 | |
2562 | 4545 | * @produces * |
2563 | 4546 | * @consumes application/json |
2564 | 4547 | */ |
2565 | -export const postOrderErpAuthPhoneRegister = /* #__PURE__ */ (() => { | |
4548 | +export const postOrderErpJobsAdd = /* #__PURE__ */ (() => { | |
2566 | 4549 | const method = "post"; |
2567 | - const url = "/order/erp/auth/phone_register"; | |
4550 | + const url = "/order/erp/jobs/add"; | |
2568 | 4551 | function request( |
2569 | - option: PostOrderErpAuthPhoneRegisterOption | |
2570 | - ): Promise<PostOrderErpAuthPhoneRegisterResponseSuccess> { | |
4552 | + option: PostOrderErpJobsAddOption | |
4553 | + ): Promise<PostOrderErpJobsAddResponseSuccess> { | |
2571 | 4554 | return requester(request.url, { |
2572 | 4555 | method: request.method, |
2573 | 4556 | ...option, |
2574 | - }) as unknown as Promise<PostOrderErpAuthPhoneRegisterResponseSuccess>; | |
4557 | + }) as unknown as Promise<PostOrderErpJobsAddResponseSuccess>; | |
2575 | 4558 | } |
2576 | 4559 | |
2577 | 4560 | /** http method */ |
... | ... | @@ -2581,22 +4564,22 @@ export const postOrderErpAuthPhoneRegister = /* #__PURE__ */ (() => { |
2581 | 4564 | return request; |
2582 | 4565 | })(); |
2583 | 4566 | |
2584 | -/** @description request parameter type for postOrderErpAuthSendPasswordRecoverMail */ | |
2585 | -export interface PostOrderErpAuthSendPasswordRecoverMailOption { | |
4567 | +/** @description request parameter type for postOrderErpJobsDelete */ | |
4568 | +export interface PostOrderErpJobsDeleteOption { | |
2586 | 4569 | /** |
2587 | 4570 | * @description |
2588 | - * recoverEmailVO | |
4571 | + * queryVO | |
2589 | 4572 | */ |
2590 | 4573 | body: { |
2591 | 4574 | /** |
2592 | 4575 | @description |
2593 | - recoverEmailVO */ | |
2594 | - recoverEmailVO: AdminUserPasswordRecoverEmailVO; | |
4576 | + queryVO */ | |
4577 | + queryVO: AdminJobQueryVO; | |
2595 | 4578 | }; |
2596 | 4579 | } |
2597 | 4580 | |
2598 | -/** @description response type for postOrderErpAuthSendPasswordRecoverMail */ | |
2599 | -export interface PostOrderErpAuthSendPasswordRecoverMailResponse { | |
4581 | +/** @description response type for postOrderErpJobsDelete */ | |
4582 | +export interface PostOrderErpJobsDeleteResponse { | |
2600 | 4583 | /** |
2601 | 4584 | * @description |
2602 | 4585 | * OK |
... | ... | @@ -2624,25 +4607,25 @@ export interface PostOrderErpAuthSendPasswordRecoverMailResponse { |
2624 | 4607 | 404: any; |
2625 | 4608 | } |
2626 | 4609 | |
2627 | -export type PostOrderErpAuthSendPasswordRecoverMailResponseSuccess = | |
2628 | - PostOrderErpAuthSendPasswordRecoverMailResponse[200]; | |
4610 | +export type PostOrderErpJobsDeleteResponseSuccess = | |
4611 | + PostOrderErpJobsDeleteResponse[200]; | |
2629 | 4612 | /** |
2630 | 4613 | * @description |
2631 | - * sendPasswordRecoverMail | |
2632 | - * @tags login-controller | |
4614 | + * 删除岗位 | |
4615 | + * @tags 系统:岗位管理 | |
2633 | 4616 | * @produces * |
2634 | 4617 | * @consumes application/json |
2635 | 4618 | */ |
2636 | -export const postOrderErpAuthSendPasswordRecoverMail = /* #__PURE__ */ (() => { | |
4619 | +export const postOrderErpJobsDelete = /* #__PURE__ */ (() => { | |
2637 | 4620 | const method = "post"; |
2638 | - const url = "/order/erp/auth/send_password_recover_mail"; | |
4621 | + const url = "/order/erp/jobs/delete"; | |
2639 | 4622 | function request( |
2640 | - option: PostOrderErpAuthSendPasswordRecoverMailOption | |
2641 | - ): Promise<PostOrderErpAuthSendPasswordRecoverMailResponseSuccess> { | |
4623 | + option: PostOrderErpJobsDeleteOption | |
4624 | + ): Promise<PostOrderErpJobsDeleteResponseSuccess> { | |
2642 | 4625 | return requester(request.url, { |
2643 | 4626 | method: request.method, |
2644 | 4627 | ...option, |
2645 | - }) as unknown as Promise<PostOrderErpAuthSendPasswordRecoverMailResponseSuccess>; | |
4628 | + }) as unknown as Promise<PostOrderErpJobsDeleteResponseSuccess>; | |
2646 | 4629 | } |
2647 | 4630 | |
2648 | 4631 | /** http method */ |
... | ... | @@ -2652,22 +4635,22 @@ export const postOrderErpAuthSendPasswordRecoverMail = /* #__PURE__ */ (() => { |
2652 | 4635 | return request; |
2653 | 4636 | })(); |
2654 | 4637 | |
2655 | -/** @description request parameter type for postOrderErpAuthToken */ | |
2656 | -export interface PostOrderErpAuthTokenOption { | |
4638 | +/** @description request parameter type for postOrderErpJobsEdit */ | |
4639 | +export interface PostOrderErpJobsEditOption { | |
2657 | 4640 | /** |
2658 | 4641 | * @description |
2659 | - * tokenApiDto | |
4642 | + * jobVO | |
2660 | 4643 | */ |
2661 | 4644 | body: { |
2662 | 4645 | /** |
2663 | 4646 | @description |
2664 | - tokenApiDto */ | |
2665 | - tokenApiDto: TokenApiDto; | |
4647 | + jobVO */ | |
4648 | + jobVO: AdminJobVO; | |
2666 | 4649 | }; |
2667 | 4650 | } |
2668 | 4651 | |
2669 | -/** @description response type for postOrderErpAuthToken */ | |
2670 | -export interface PostOrderErpAuthTokenResponse { | |
4652 | +/** @description response type for postOrderErpJobsEdit */ | |
4653 | +export interface PostOrderErpJobsEditResponse { | |
2671 | 4654 | /** |
2672 | 4655 | * @description |
2673 | 4656 | * OK |
... | ... | @@ -2695,25 +4678,25 @@ export interface PostOrderErpAuthTokenResponse { |
2695 | 4678 | 404: any; |
2696 | 4679 | } |
2697 | 4680 | |
2698 | -export type PostOrderErpAuthTokenResponseSuccess = | |
2699 | - PostOrderErpAuthTokenResponse[200]; | |
4681 | +export type PostOrderErpJobsEditResponseSuccess = | |
4682 | + PostOrderErpJobsEditResponse[200]; | |
2700 | 4683 | /** |
2701 | 4684 | * @description |
2702 | - * 获取token | |
2703 | - * @tags login-controller | |
4685 | + * 修改岗位 | |
4686 | + * @tags 系统:岗位管理 | |
2704 | 4687 | * @produces * |
2705 | 4688 | * @consumes application/json |
2706 | 4689 | */ |
2707 | -export const postOrderErpAuthToken = /* #__PURE__ */ (() => { | |
4690 | +export const postOrderErpJobsEdit = /* #__PURE__ */ (() => { | |
2708 | 4691 | const method = "post"; |
2709 | - const url = "/order/erp/auth/token"; | |
4692 | + const url = "/order/erp/jobs/edit"; | |
2710 | 4693 | function request( |
2711 | - option: PostOrderErpAuthTokenOption | |
2712 | - ): Promise<PostOrderErpAuthTokenResponseSuccess> { | |
4694 | + option: PostOrderErpJobsEditOption | |
4695 | + ): Promise<PostOrderErpJobsEditResponseSuccess> { | |
2713 | 4696 | return requester(request.url, { |
2714 | 4697 | method: request.method, |
2715 | 4698 | ...option, |
2716 | - }) as unknown as Promise<PostOrderErpAuthTokenResponseSuccess>; | |
4699 | + }) as unknown as Promise<PostOrderErpJobsEditResponseSuccess>; | |
2717 | 4700 | } |
2718 | 4701 | |
2719 | 4702 | /** http method */ |
... | ... | @@ -2723,8 +4706,22 @@ export const postOrderErpAuthToken = /* #__PURE__ */ (() => { |
2723 | 4706 | return request; |
2724 | 4707 | })(); |
2725 | 4708 | |
2726 | -/** @description response type for postOrderErpCaptchaGetImgCaptchaCode */ | |
2727 | -export interface PostOrderErpCaptchaGetImgCaptchaCodeResponse { | |
4709 | +/** @description request parameter type for postOrderErpJobsListByPage */ | |
4710 | +export interface PostOrderErpJobsListByPageOption { | |
4711 | + /** | |
4712 | + * @description | |
4713 | + * queryVO | |
4714 | + */ | |
4715 | + body: { | |
4716 | + /** | |
4717 | + @description | |
4718 | + queryVO */ | |
4719 | + queryVO: AdminJobQueryVO; | |
4720 | + }; | |
4721 | +} | |
4722 | + | |
4723 | +/** @description response type for postOrderErpJobsListByPage */ | |
4724 | +export interface PostOrderErpJobsListByPageResponse { | |
2728 | 4725 | /** |
2729 | 4726 | * @description |
2730 | 4727 | * OK |
... | ... | @@ -2752,22 +4749,25 @@ export interface PostOrderErpCaptchaGetImgCaptchaCodeResponse { |
2752 | 4749 | 404: any; |
2753 | 4750 | } |
2754 | 4751 | |
2755 | -export type PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess = | |
2756 | - PostOrderErpCaptchaGetImgCaptchaCodeResponse[200]; | |
4752 | +export type PostOrderErpJobsListByPageResponseSuccess = | |
4753 | + PostOrderErpJobsListByPageResponse[200]; | |
2757 | 4754 | /** |
2758 | 4755 | * @description |
2759 | - * 获取图片验证码 | |
2760 | - * @tags 验证码 | |
4756 | + * 查询岗位 | |
4757 | + * @tags 系统:岗位管理 | |
2761 | 4758 | * @produces * |
2762 | 4759 | * @consumes application/json |
2763 | 4760 | */ |
2764 | -export const postOrderErpCaptchaGetImgCaptchaCode = /* #__PURE__ */ (() => { | |
4761 | +export const postOrderErpJobsListByPage = /* #__PURE__ */ (() => { | |
2765 | 4762 | const method = "post"; |
2766 | - const url = "/order/erp/captcha/get_img_captcha_code"; | |
2767 | - function request(): Promise<PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess> { | |
4763 | + const url = "/order/erp/jobs/list_by_page"; | |
4764 | + function request( | |
4765 | + option: PostOrderErpJobsListByPageOption | |
4766 | + ): Promise<PostOrderErpJobsListByPageResponseSuccess> { | |
2768 | 4767 | return requester(request.url, { |
2769 | 4768 | method: request.method, |
2770 | - }) as unknown as Promise<PostOrderErpCaptchaGetImgCaptchaCodeResponseSuccess>; | |
4769 | + ...option, | |
4770 | + }) as unknown as Promise<PostOrderErpJobsListByPageResponseSuccess>; | |
2771 | 4771 | } |
2772 | 4772 | |
2773 | 4773 | /** http method */ |
... | ... | @@ -2777,22 +4777,22 @@ export const postOrderErpCaptchaGetImgCaptchaCode = /* #__PURE__ */ (() => { |
2777 | 4777 | return request; |
2778 | 4778 | })(); |
2779 | 4779 | |
2780 | -/** @description request parameter type for postOrderErpCaptchaSendCaptchaCode */ | |
2781 | -export interface PostOrderErpCaptchaSendCaptchaCodeOption { | |
4780 | +/** @description request parameter type for postOrderErpLogsList */ | |
4781 | +export interface PostOrderErpLogsListOption { | |
2782 | 4782 | /** |
2783 | 4783 | * @description |
2784 | - * msgVo | |
4784 | + * sysLogQueryVO | |
2785 | 4785 | */ |
2786 | 4786 | body: { |
2787 | 4787 | /** |
2788 | - @description | |
2789 | - msgVo */ | |
2790 | - msgVo: CaptchaMessageVO; | |
4788 | + @description | |
4789 | + sysLogQueryVO */ | |
4790 | + sysLogQueryVO: SysLogQueryVO; | |
2791 | 4791 | }; |
2792 | 4792 | } |
2793 | 4793 | |
2794 | -/** @description response type for postOrderErpCaptchaSendCaptchaCode */ | |
2795 | -export interface PostOrderErpCaptchaSendCaptchaCodeResponse { | |
4794 | +/** @description response type for postOrderErpLogsList */ | |
4795 | +export interface PostOrderErpLogsListResponse { | |
2796 | 4796 | /** |
2797 | 4797 | * @description |
2798 | 4798 | * OK |
... | ... | @@ -2820,25 +4820,25 @@ export interface PostOrderErpCaptchaSendCaptchaCodeResponse { |
2820 | 4820 | 404: any; |
2821 | 4821 | } |
2822 | 4822 | |
2823 | -export type PostOrderErpCaptchaSendCaptchaCodeResponseSuccess = | |
2824 | - PostOrderErpCaptchaSendCaptchaCodeResponse[200]; | |
4823 | +export type PostOrderErpLogsListResponseSuccess = | |
4824 | + PostOrderErpLogsListResponse[200]; | |
2825 | 4825 | /** |
2826 | 4826 | * @description |
2827 | - * 获取验证码 | |
2828 | - * @tags 验证码 | |
4827 | + * 分页查询 | |
4828 | + * @tags 系统日志 | |
2829 | 4829 | * @produces * |
2830 | 4830 | * @consumes application/json |
2831 | 4831 | */ |
2832 | -export const postOrderErpCaptchaSendCaptchaCode = /* #__PURE__ */ (() => { | |
4832 | +export const postOrderErpLogsList = /* #__PURE__ */ (() => { | |
2833 | 4833 | const method = "post"; |
2834 | - const url = "/order/erp/captcha/send_captcha_code"; | |
4834 | + const url = "/order/erp/logs/list"; | |
2835 | 4835 | function request( |
2836 | - option: PostOrderErpCaptchaSendCaptchaCodeOption | |
2837 | - ): Promise<PostOrderErpCaptchaSendCaptchaCodeResponseSuccess> { | |
4836 | + option: PostOrderErpLogsListOption | |
4837 | + ): Promise<PostOrderErpLogsListResponseSuccess> { | |
2838 | 4838 | return requester(request.url, { |
2839 | 4839 | method: request.method, |
2840 | 4840 | ...option, |
2841 | - }) as unknown as Promise<PostOrderErpCaptchaSendCaptchaCodeResponseSuccess>; | |
4841 | + }) as unknown as Promise<PostOrderErpLogsListResponseSuccess>; | |
2842 | 4842 | } |
2843 | 4843 | |
2844 | 4844 | /** http method */ |
... | ... | @@ -2848,22 +4848,22 @@ export const postOrderErpCaptchaSendCaptchaCode = /* #__PURE__ */ (() => { |
2848 | 4848 | return request; |
2849 | 4849 | })(); |
2850 | 4850 | |
2851 | -/** @description request parameter type for putOrderErpDepts */ | |
2852 | -export interface PutOrderErpDeptsOption { | |
4851 | +/** @description request parameter type for postOrderErpMenusAdd */ | |
4852 | +export interface PostOrderErpMenusAddOption { | |
2853 | 4853 | /** |
2854 | 4854 | * @description |
2855 | - * deptVO | |
4855 | + * menuVO | |
2856 | 4856 | */ |
2857 | 4857 | body: { |
2858 | 4858 | /** |
2859 | 4859 | @description |
2860 | - deptVO */ | |
2861 | - deptVO: AdminDeptVO; | |
4860 | + menuVO */ | |
4861 | + menuVO: AdminMenuVO; | |
2862 | 4862 | }; |
2863 | 4863 | } |
2864 | 4864 | |
2865 | -/** @description response type for putOrderErpDepts */ | |
2866 | -export interface PutOrderErpDeptsResponse { | |
4865 | +/** @description response type for postOrderErpMenusAdd */ | |
4866 | +export interface PostOrderErpMenusAddResponse { | |
2867 | 4867 | /** |
2868 | 4868 | * @description |
2869 | 4869 | * OK |
... | ... | @@ -2891,24 +4891,25 @@ export interface PutOrderErpDeptsResponse { |
2891 | 4891 | 404: any; |
2892 | 4892 | } |
2893 | 4893 | |
2894 | -export type PutOrderErpDeptsResponseSuccess = PutOrderErpDeptsResponse[200]; | |
4894 | +export type PostOrderErpMenusAddResponseSuccess = | |
4895 | + PostOrderErpMenusAddResponse[200]; | |
2895 | 4896 | /** |
2896 | 4897 | * @description |
2897 | - * 修改部门 | |
2898 | - * @tags 系统:部门管理 | |
4898 | + * 新增菜单 | |
4899 | + * @tags 系统:菜单管理 | |
2899 | 4900 | * @produces * |
2900 | 4901 | * @consumes application/json |
2901 | 4902 | */ |
2902 | -export const putOrderErpDepts = /* #__PURE__ */ (() => { | |
2903 | - const method = "put"; | |
2904 | - const url = "/order/erp/depts"; | |
4903 | +export const postOrderErpMenusAdd = /* #__PURE__ */ (() => { | |
4904 | + const method = "post"; | |
4905 | + const url = "/order/erp/menus/add"; | |
2905 | 4906 | function request( |
2906 | - option: PutOrderErpDeptsOption | |
2907 | - ): Promise<PutOrderErpDeptsResponseSuccess> { | |
4907 | + option: PostOrderErpMenusAddOption | |
4908 | + ): Promise<PostOrderErpMenusAddResponseSuccess> { | |
2908 | 4909 | return requester(request.url, { |
2909 | 4910 | method: request.method, |
2910 | 4911 | ...option, |
2911 | - }) as unknown as Promise<PutOrderErpDeptsResponseSuccess>; | |
4912 | + }) as unknown as Promise<PostOrderErpMenusAddResponseSuccess>; | |
2912 | 4913 | } |
2913 | 4914 | |
2914 | 4915 | /** http method */ |
... | ... | @@ -2918,8 +4919,8 @@ export const putOrderErpDepts = /* #__PURE__ */ (() => { |
2918 | 4919 | return request; |
2919 | 4920 | })(); |
2920 | 4921 | |
2921 | -/** @description request parameter type for deleteOrderErpDepts */ | |
2922 | -export interface DeleteOrderErpDeptsOption { | |
4922 | +/** @description request parameter type for postOrderErpMenusAll */ | |
4923 | +export interface PostOrderErpMenusAllOption { | |
2923 | 4924 | /** |
2924 | 4925 | * @description |
2925 | 4926 | * queryVO |
... | ... | @@ -2928,12 +4929,12 @@ export interface DeleteOrderErpDeptsOption { |
2928 | 4929 | /** |
2929 | 4930 | @description |
2930 | 4931 | queryVO */ |
2931 | - queryVO: AdminDeptQueryVO; | |
4932 | + queryVO: AdminMenuQueryVO; | |
2932 | 4933 | }; |
2933 | 4934 | } |
2934 | 4935 | |
2935 | -/** @description response type for deleteOrderErpDepts */ | |
2936 | -export interface DeleteOrderErpDeptsResponse { | |
4936 | +/** @description response type for postOrderErpMenusAll */ | |
4937 | +export interface PostOrderErpMenusAllResponse { | |
2937 | 4938 | /** |
2938 | 4939 | * @description |
2939 | 4940 | * OK |
... | ... | @@ -2941,9 +4942,9 @@ export interface DeleteOrderErpDeptsResponse { |
2941 | 4942 | 200: ServerResult; |
2942 | 4943 | /** |
2943 | 4944 | * @description |
2944 | - * No Content | |
4945 | + * Created | |
2945 | 4946 | */ |
2946 | - 204: any; | |
4947 | + 201: any; | |
2947 | 4948 | /** |
2948 | 4949 | * @description |
2949 | 4950 | * Unauthorized |
... | ... | @@ -2954,26 +4955,32 @@ export interface DeleteOrderErpDeptsResponse { |
2954 | 4955 | * Forbidden |
2955 | 4956 | */ |
2956 | 4957 | 403: any; |
4958 | + /** | |
4959 | + * @description | |
4960 | + * Not Found | |
4961 | + */ | |
4962 | + 404: any; | |
2957 | 4963 | } |
2958 | 4964 | |
2959 | -export type DeleteOrderErpDeptsResponseSuccess = | |
2960 | - DeleteOrderErpDeptsResponse[200]; | |
4965 | +export type PostOrderErpMenusAllResponseSuccess = | |
4966 | + PostOrderErpMenusAllResponse[200]; | |
2961 | 4967 | /** |
2962 | 4968 | * @description |
2963 | - * 删除部门 | |
2964 | - * @tags 系统:部门管理 | |
4969 | + * 查询菜单 | |
4970 | + * @tags 系统:菜单管理 | |
2965 | 4971 | * @produces * |
4972 | + * @consumes application/json | |
2966 | 4973 | */ |
2967 | -export const deleteOrderErpDepts = /* #__PURE__ */ (() => { | |
2968 | - const method = "delete"; | |
2969 | - const url = "/order/erp/depts"; | |
4974 | +export const postOrderErpMenusAll = /* #__PURE__ */ (() => { | |
4975 | + const method = "post"; | |
4976 | + const url = "/order/erp/menus/all"; | |
2970 | 4977 | function request( |
2971 | - option: DeleteOrderErpDeptsOption | |
2972 | - ): Promise<DeleteOrderErpDeptsResponseSuccess> { | |
4978 | + option: PostOrderErpMenusAllOption | |
4979 | + ): Promise<PostOrderErpMenusAllResponseSuccess> { | |
2973 | 4980 | return requester(request.url, { |
2974 | 4981 | method: request.method, |
2975 | 4982 | ...option, |
2976 | - }) as unknown as Promise<DeleteOrderErpDeptsResponseSuccess>; | |
4983 | + }) as unknown as Promise<PostOrderErpMenusAllResponseSuccess>; | |
2977 | 4984 | } |
2978 | 4985 | |
2979 | 4986 | /** http method */ |
... | ... | @@ -2983,22 +4990,8 @@ export const deleteOrderErpDepts = /* #__PURE__ */ (() => { |
2983 | 4990 | return request; |
2984 | 4991 | })(); |
2985 | 4992 | |
2986 | -/** @description request parameter type for postOrderErpDeptsAdd */ | |
2987 | -export interface PostOrderErpDeptsAddOption { | |
2988 | - /** | |
2989 | - * @description | |
2990 | - * deptVO | |
2991 | - */ | |
2992 | - body: { | |
2993 | - /** | |
2994 | - @description | |
2995 | - deptVO */ | |
2996 | - deptVO: AdminDeptVO; | |
2997 | - }; | |
2998 | -} | |
2999 | - | |
3000 | -/** @description response type for postOrderErpDeptsAdd */ | |
3001 | -export interface PostOrderErpDeptsAddResponse { | |
4993 | +/** @description response type for postOrderErpMenusBuild */ | |
4994 | +export interface PostOrderErpMenusBuildResponse { | |
3002 | 4995 | /** |
3003 | 4996 | * @description |
3004 | 4997 | * OK |
... | ... | @@ -3026,25 +5019,22 @@ export interface PostOrderErpDeptsAddResponse { |
3026 | 5019 | 404: any; |
3027 | 5020 | } |
3028 | 5021 | |
3029 | -export type PostOrderErpDeptsAddResponseSuccess = | |
3030 | - PostOrderErpDeptsAddResponse[200]; | |
5022 | +export type PostOrderErpMenusBuildResponseSuccess = | |
5023 | + PostOrderErpMenusBuildResponse[200]; | |
3031 | 5024 | /** |
3032 | 5025 | * @description |
3033 | - * 新增部门 | |
3034 | - * @tags 系统:部门管理 | |
5026 | + * 获取前端所需菜单 | |
5027 | + * @tags 系统:菜单管理 | |
3035 | 5028 | * @produces * |
3036 | 5029 | * @consumes application/json |
3037 | 5030 | */ |
3038 | -export const postOrderErpDeptsAdd = /* #__PURE__ */ (() => { | |
5031 | +export const postOrderErpMenusBuild = /* #__PURE__ */ (() => { | |
3039 | 5032 | const method = "post"; |
3040 | - const url = "/order/erp/depts/add"; | |
3041 | - function request( | |
3042 | - option: PostOrderErpDeptsAddOption | |
3043 | - ): Promise<PostOrderErpDeptsAddResponseSuccess> { | |
5033 | + const url = "/order/erp/menus/build"; | |
5034 | + function request(): Promise<PostOrderErpMenusBuildResponseSuccess> { | |
3044 | 5035 | return requester(request.url, { |
3045 | 5036 | method: request.method, |
3046 | - ...option, | |
3047 | - }) as unknown as Promise<PostOrderErpDeptsAddResponseSuccess>; | |
5037 | + }) as unknown as Promise<PostOrderErpMenusBuildResponseSuccess>; | |
3048 | 5038 | } |
3049 | 5039 | |
3050 | 5040 | /** http method */ |
... | ... | @@ -3054,8 +5044,8 @@ export const postOrderErpDeptsAdd = /* #__PURE__ */ (() => { |
3054 | 5044 | return request; |
3055 | 5045 | })(); |
3056 | 5046 | |
3057 | -/** @description request parameter type for postOrderErpDeptsListByPage */ | |
3058 | -export interface PostOrderErpDeptsListByPageOption { | |
5047 | +/** @description request parameter type for postOrderErpMenusDelete */ | |
5048 | +export interface PostOrderErpMenusDeleteOption { | |
3059 | 5049 | /** |
3060 | 5050 | * @description |
3061 | 5051 | * queryVO |
... | ... | @@ -3064,12 +5054,12 @@ export interface PostOrderErpDeptsListByPageOption { |
3064 | 5054 | /** |
3065 | 5055 | @description |
3066 | 5056 | queryVO */ |
3067 | - queryVO: AdminDeptQueryVO; | |
5057 | + queryVO: AdminMenuQueryVO; | |
3068 | 5058 | }; |
3069 | 5059 | } |
3070 | 5060 | |
3071 | -/** @description response type for postOrderErpDeptsListByPage */ | |
3072 | -export interface PostOrderErpDeptsListByPageResponse { | |
5061 | +/** @description response type for postOrderErpMenusDelete */ | |
5062 | +export interface PostOrderErpMenusDeleteResponse { | |
3073 | 5063 | /** |
3074 | 5064 | * @description |
3075 | 5065 | * OK |
... | ... | @@ -3097,25 +5087,25 @@ export interface PostOrderErpDeptsListByPageResponse { |
3097 | 5087 | 404: any; |
3098 | 5088 | } |
3099 | 5089 | |
3100 | -export type PostOrderErpDeptsListByPageResponseSuccess = | |
3101 | - PostOrderErpDeptsListByPageResponse[200]; | |
5090 | +export type PostOrderErpMenusDeleteResponseSuccess = | |
5091 | + PostOrderErpMenusDeleteResponse[200]; | |
3102 | 5092 | /** |
3103 | 5093 | * @description |
3104 | - * 查询部门 | |
3105 | - * @tags 系统:部门管理 | |
5094 | + * 删除菜单 | |
5095 | + * @tags 系统:菜单管理 | |
3106 | 5096 | * @produces * |
3107 | 5097 | * @consumes application/json |
3108 | 5098 | */ |
3109 | -export const postOrderErpDeptsListByPage = /* #__PURE__ */ (() => { | |
5099 | +export const postOrderErpMenusDelete = /* #__PURE__ */ (() => { | |
3110 | 5100 | const method = "post"; |
3111 | - const url = "/order/erp/depts/list_by_page"; | |
5101 | + const url = "/order/erp/menus/delete"; | |
3112 | 5102 | function request( |
3113 | - option: PostOrderErpDeptsListByPageOption | |
3114 | - ): Promise<PostOrderErpDeptsListByPageResponseSuccess> { | |
5103 | + option: PostOrderErpMenusDeleteOption | |
5104 | + ): Promise<PostOrderErpMenusDeleteResponseSuccess> { | |
3115 | 5105 | return requester(request.url, { |
3116 | 5106 | method: request.method, |
3117 | 5107 | ...option, |
3118 | - }) as unknown as Promise<PostOrderErpDeptsListByPageResponseSuccess>; | |
5108 | + }) as unknown as Promise<PostOrderErpMenusDeleteResponseSuccess>; | |
3119 | 5109 | } |
3120 | 5110 | |
3121 | 5111 | /** http method */ |
... | ... | @@ -3125,22 +5115,22 @@ export const postOrderErpDeptsListByPage = /* #__PURE__ */ (() => { |
3125 | 5115 | return request; |
3126 | 5116 | })(); |
3127 | 5117 | |
3128 | -/** @description request parameter type for postOrderErpDictionaryAdd */ | |
3129 | -export interface PostOrderErpDictionaryAddOption { | |
5118 | +/** @description request parameter type for postOrderErpMenusEdit */ | |
5119 | +export interface PostOrderErpMenusEditOption { | |
3130 | 5120 | /** |
3131 | 5121 | * @description |
3132 | - * dictionaryVO | |
5122 | + * menuVO | |
3133 | 5123 | */ |
3134 | 5124 | body: { |
3135 | 5125 | /** |
3136 | 5126 | @description |
3137 | - dictionaryVO */ | |
3138 | - dictionaryVO: DictionaryVO; | |
5127 | + menuVO */ | |
5128 | + menuVO: AdminMenuVO; | |
3139 | 5129 | }; |
3140 | 5130 | } |
3141 | 5131 | |
3142 | -/** @description response type for postOrderErpDictionaryAdd */ | |
3143 | -export interface PostOrderErpDictionaryAddResponse { | |
5132 | +/** @description response type for postOrderErpMenusEdit */ | |
5133 | +export interface PostOrderErpMenusEditResponse { | |
3144 | 5134 | /** |
3145 | 5135 | * @description |
3146 | 5136 | * OK |
... | ... | @@ -3168,25 +5158,25 @@ export interface PostOrderErpDictionaryAddResponse { |
3168 | 5158 | 404: any; |
3169 | 5159 | } |
3170 | 5160 | |
3171 | -export type PostOrderErpDictionaryAddResponseSuccess = | |
3172 | - PostOrderErpDictionaryAddResponse[200]; | |
5161 | +export type PostOrderErpMenusEditResponseSuccess = | |
5162 | + PostOrderErpMenusEditResponse[200]; | |
3173 | 5163 | /** |
3174 | 5164 | * @description |
3175 | - * 新增字典 | |
3176 | - * @tags 系统:字典管理 | |
5165 | + * 修改菜单 | |
5166 | + * @tags 系统:菜单管理 | |
3177 | 5167 | * @produces * |
3178 | 5168 | * @consumes application/json |
3179 | 5169 | */ |
3180 | -export const postOrderErpDictionaryAdd = /* #__PURE__ */ (() => { | |
5170 | +export const postOrderErpMenusEdit = /* #__PURE__ */ (() => { | |
3181 | 5171 | const method = "post"; |
3182 | - const url = "/order/erp/dictionary/add"; | |
5172 | + const url = "/order/erp/menus/edit"; | |
3183 | 5173 | function request( |
3184 | - option: PostOrderErpDictionaryAddOption | |
3185 | - ): Promise<PostOrderErpDictionaryAddResponseSuccess> { | |
5174 | + option: PostOrderErpMenusEditOption | |
5175 | + ): Promise<PostOrderErpMenusEditResponseSuccess> { | |
3186 | 5176 | return requester(request.url, { |
3187 | 5177 | method: request.method, |
3188 | 5178 | ...option, |
3189 | - }) as unknown as Promise<PostOrderErpDictionaryAddResponseSuccess>; | |
5179 | + }) as unknown as Promise<PostOrderErpMenusEditResponseSuccess>; | |
3190 | 5180 | } |
3191 | 5181 | |
3192 | 5182 | /** http method */ |
... | ... | @@ -3196,22 +5186,8 @@ export const postOrderErpDictionaryAdd = /* #__PURE__ */ (() => { |
3196 | 5186 | return request; |
3197 | 5187 | })(); |
3198 | 5188 | |
3199 | -/** @description request parameter type for postOrderErpDictionaryDelete */ | |
3200 | -export interface PostOrderErpDictionaryDeleteOption { | |
3201 | - /** | |
3202 | - * @description | |
3203 | - * queryVO | |
3204 | - */ | |
3205 | - body: { | |
3206 | - /** | |
3207 | - @description | |
3208 | - queryVO */ | |
3209 | - queryVO: DictionaryQueryVO; | |
3210 | - }; | |
3211 | -} | |
3212 | - | |
3213 | -/** @description response type for postOrderErpDictionaryDelete */ | |
3214 | -export interface PostOrderErpDictionaryDeleteResponse { | |
5189 | +/** @description response type for postOrderErpMenusTree */ | |
5190 | +export interface PostOrderErpMenusTreeResponse { | |
3215 | 5191 | /** |
3216 | 5192 | * @description |
3217 | 5193 | * OK |
... | ... | @@ -3239,25 +5215,22 @@ export interface PostOrderErpDictionaryDeleteResponse { |
3239 | 5215 | 404: any; |
3240 | 5216 | } |
3241 | 5217 | |
3242 | -export type PostOrderErpDictionaryDeleteResponseSuccess = | |
3243 | - PostOrderErpDictionaryDeleteResponse[200]; | |
5218 | +export type PostOrderErpMenusTreeResponseSuccess = | |
5219 | + PostOrderErpMenusTreeResponse[200]; | |
3244 | 5220 | /** |
3245 | 5221 | * @description |
3246 | - * 删除字典 | |
3247 | - * @tags 系统:字典管理 | |
5222 | + * 返回全部的菜单 | |
5223 | + * @tags 系统:菜单管理 | |
3248 | 5224 | * @produces * |
3249 | 5225 | * @consumes application/json |
3250 | 5226 | */ |
3251 | -export const postOrderErpDictionaryDelete = /* #__PURE__ */ (() => { | |
5227 | +export const postOrderErpMenusTree = /* #__PURE__ */ (() => { | |
3252 | 5228 | const method = "post"; |
3253 | - const url = "/order/erp/dictionary/delete"; | |
3254 | - function request( | |
3255 | - option: PostOrderErpDictionaryDeleteOption | |
3256 | - ): Promise<PostOrderErpDictionaryDeleteResponseSuccess> { | |
5229 | + const url = "/order/erp/menus/tree"; | |
5230 | + function request(): Promise<PostOrderErpMenusTreeResponseSuccess> { | |
3257 | 5231 | return requester(request.url, { |
3258 | 5232 | method: request.method, |
3259 | - ...option, | |
3260 | - }) as unknown as Promise<PostOrderErpDictionaryDeleteResponseSuccess>; | |
5233 | + }) as unknown as Promise<PostOrderErpMenusTreeResponseSuccess>; | |
3261 | 5234 | } |
3262 | 5235 | |
3263 | 5236 | /** http method */ |
... | ... | @@ -3267,22 +5240,8 @@ export const postOrderErpDictionaryDelete = /* #__PURE__ */ (() => { |
3267 | 5240 | return request; |
3268 | 5241 | })(); |
3269 | 5242 | |
3270 | -/** @description request parameter type for postOrderErpDictionaryEdit */ | |
3271 | -export interface PostOrderErpDictionaryEditOption { | |
3272 | - /** | |
3273 | - * @description | |
3274 | - * dictionaryVO | |
3275 | - */ | |
3276 | - body: { | |
3277 | - /** | |
3278 | - @description | |
3279 | - dictionaryVO */ | |
3280 | - dictionaryVO: DictionaryVO; | |
3281 | - }; | |
3282 | -} | |
3283 | - | |
3284 | -/** @description response type for postOrderErpDictionaryEdit */ | |
3285 | -export interface PostOrderErpDictionaryEditResponse { | |
5243 | +/** @description response type for postOrderErpMessageGetUnreadNum */ | |
5244 | +export interface PostOrderErpMessageGetUnreadNumResponse { | |
3286 | 5245 | /** |
3287 | 5246 | * @description |
3288 | 5247 | * OK |
... | ... | @@ -3310,25 +5269,22 @@ export interface PostOrderErpDictionaryEditResponse { |
3310 | 5269 | 404: any; |
3311 | 5270 | } |
3312 | 5271 | |
3313 | -export type PostOrderErpDictionaryEditResponseSuccess = | |
3314 | - PostOrderErpDictionaryEditResponse[200]; | |
5272 | +export type PostOrderErpMessageGetUnreadNumResponseSuccess = | |
5273 | + PostOrderErpMessageGetUnreadNumResponse[200]; | |
3315 | 5274 | /** |
3316 | 5275 | * @description |
3317 | - * 修改字典 | |
3318 | - * @tags 系统:字典管理 | |
5276 | + * getUnreadNum | |
5277 | + * @tags message-controller | |
3319 | 5278 | * @produces * |
3320 | 5279 | * @consumes application/json |
3321 | 5280 | */ |
3322 | -export const postOrderErpDictionaryEdit = /* #__PURE__ */ (() => { | |
5281 | +export const postOrderErpMessageGetUnreadNum = /* #__PURE__ */ (() => { | |
3323 | 5282 | const method = "post"; |
3324 | - const url = "/order/erp/dictionary/edit"; | |
3325 | - function request( | |
3326 | - option: PostOrderErpDictionaryEditOption | |
3327 | - ): Promise<PostOrderErpDictionaryEditResponseSuccess> { | |
5283 | + const url = "/order/erp/message/getUnreadNum"; | |
5284 | + function request(): Promise<PostOrderErpMessageGetUnreadNumResponseSuccess> { | |
3328 | 5285 | return requester(request.url, { |
3329 | 5286 | method: request.method, |
3330 | - ...option, | |
3331 | - }) as unknown as Promise<PostOrderErpDictionaryEditResponseSuccess>; | |
5287 | + }) as unknown as Promise<PostOrderErpMessageGetUnreadNumResponseSuccess>; | |
3332 | 5288 | } |
3333 | 5289 | |
3334 | 5290 | /** http method */ |
... | ... | @@ -3338,22 +5294,22 @@ export const postOrderErpDictionaryEdit = /* #__PURE__ */ (() => { |
3338 | 5294 | return request; |
3339 | 5295 | })(); |
3340 | 5296 | |
3341 | -/** @description request parameter type for postOrderErpDictionaryGetAll */ | |
3342 | -export interface PostOrderErpDictionaryGetAllOption { | |
5297 | +/** @description request parameter type for postOrderErpMessageQueryMyMessage */ | |
5298 | +export interface PostOrderErpMessageQueryMyMessageOption { | |
3343 | 5299 | /** |
3344 | 5300 | * @description |
3345 | - * queryVO | |
5301 | + * messageQueryDTO | |
3346 | 5302 | */ |
3347 | 5303 | body: { |
3348 | 5304 | /** |
3349 | 5305 | @description |
3350 | - queryVO */ | |
3351 | - queryVO: DictionaryQueryVO; | |
5306 | + messageQueryDTO */ | |
5307 | + messageQueryDTO: MessageQueryDTO; | |
3352 | 5308 | }; |
3353 | 5309 | } |
3354 | 5310 | |
3355 | -/** @description response type for postOrderErpDictionaryGetAll */ | |
3356 | -export interface PostOrderErpDictionaryGetAllResponse { | |
5311 | +/** @description response type for postOrderErpMessageQueryMyMessage */ | |
5312 | +export interface PostOrderErpMessageQueryMyMessageResponse { | |
3357 | 5313 | /** |
3358 | 5314 | * @description |
3359 | 5315 | * OK |
... | ... | @@ -3381,25 +5337,25 @@ export interface PostOrderErpDictionaryGetAllResponse { |
3381 | 5337 | 404: any; |
3382 | 5338 | } |
3383 | 5339 | |
3384 | -export type PostOrderErpDictionaryGetAllResponseSuccess = | |
3385 | - PostOrderErpDictionaryGetAllResponse[200]; | |
5340 | +export type PostOrderErpMessageQueryMyMessageResponseSuccess = | |
5341 | + PostOrderErpMessageQueryMyMessageResponse[200]; | |
3386 | 5342 | /** |
3387 | 5343 | * @description |
3388 | - * 获取所有字典 | |
3389 | - * @tags 系统:字典管理 | |
5344 | + * queryMyMessage | |
5345 | + * @tags message-controller | |
3390 | 5346 | * @produces * |
3391 | 5347 | * @consumes application/json |
3392 | 5348 | */ |
3393 | -export const postOrderErpDictionaryGetAll = /* #__PURE__ */ (() => { | |
5349 | +export const postOrderErpMessageQueryMyMessage = /* #__PURE__ */ (() => { | |
3394 | 5350 | const method = "post"; |
3395 | - const url = "/order/erp/dictionary/get_all"; | |
5351 | + const url = "/order/erp/message/queryMyMessage"; | |
3396 | 5352 | function request( |
3397 | - option: PostOrderErpDictionaryGetAllOption | |
3398 | - ): Promise<PostOrderErpDictionaryGetAllResponseSuccess> { | |
5353 | + option: PostOrderErpMessageQueryMyMessageOption | |
5354 | + ): Promise<PostOrderErpMessageQueryMyMessageResponseSuccess> { | |
3399 | 5355 | return requester(request.url, { |
3400 | 5356 | method: request.method, |
3401 | 5357 | ...option, |
3402 | - }) as unknown as Promise<PostOrderErpDictionaryGetAllResponseSuccess>; | |
5358 | + }) as unknown as Promise<PostOrderErpMessageQueryMyMessageResponseSuccess>; | |
3403 | 5359 | } |
3404 | 5360 | |
3405 | 5361 | /** http method */ |
... | ... | @@ -3409,22 +5365,22 @@ export const postOrderErpDictionaryGetAll = /* #__PURE__ */ (() => { |
3409 | 5365 | return request; |
3410 | 5366 | })(); |
3411 | 5367 | |
3412 | -/** @description request parameter type for postOrderErpDictionaryListByPage */ | |
3413 | -export interface PostOrderErpDictionaryListByPageOption { | |
5368 | +/** @description request parameter type for postOrderErpMessageRead */ | |
5369 | +export interface PostOrderErpMessageReadOption { | |
3414 | 5370 | /** |
3415 | 5371 | * @description |
3416 | - * queryVO | |
5372 | + * ids | |
3417 | 5373 | */ |
3418 | 5374 | body: { |
3419 | 5375 | /** |
3420 | 5376 | @description |
3421 | - queryVO */ | |
3422 | - queryVO: DictionaryQueryVO; | |
5377 | + ids */ | |
5378 | + ids: Array<number>; | |
3423 | 5379 | }; |
3424 | 5380 | } |
3425 | 5381 | |
3426 | -/** @description response type for postOrderErpDictionaryListByPage */ | |
3427 | -export interface PostOrderErpDictionaryListByPageResponse { | |
5382 | +/** @description response type for postOrderErpMessageRead */ | |
5383 | +export interface PostOrderErpMessageReadResponse { | |
3428 | 5384 | /** |
3429 | 5385 | * @description |
3430 | 5386 | * OK |
... | ... | @@ -3452,25 +5408,25 @@ export interface PostOrderErpDictionaryListByPageResponse { |
3452 | 5408 | 404: any; |
3453 | 5409 | } |
3454 | 5410 | |
3455 | -export type PostOrderErpDictionaryListByPageResponseSuccess = | |
3456 | - PostOrderErpDictionaryListByPageResponse[200]; | |
5411 | +export type PostOrderErpMessageReadResponseSuccess = | |
5412 | + PostOrderErpMessageReadResponse[200]; | |
3457 | 5413 | /** |
3458 | 5414 | * @description |
3459 | - * 查询字典列表 | |
3460 | - * @tags 系统:字典管理 | |
5415 | + * read | |
5416 | + * @tags message-controller | |
3461 | 5417 | * @produces * |
3462 | 5418 | * @consumes application/json |
3463 | 5419 | */ |
3464 | -export const postOrderErpDictionaryListByPage = /* #__PURE__ */ (() => { | |
5420 | +export const postOrderErpMessageRead = /* #__PURE__ */ (() => { | |
3465 | 5421 | const method = "post"; |
3466 | - const url = "/order/erp/dictionary/list_by_page"; | |
5422 | + const url = "/order/erp/message/read"; | |
3467 | 5423 | function request( |
3468 | - option: PostOrderErpDictionaryListByPageOption | |
3469 | - ): Promise<PostOrderErpDictionaryListByPageResponseSuccess> { | |
5424 | + option: PostOrderErpMessageReadOption | |
5425 | + ): Promise<PostOrderErpMessageReadResponseSuccess> { | |
3470 | 5426 | return requester(request.url, { |
3471 | 5427 | method: request.method, |
3472 | 5428 | ...option, |
3473 | - }) as unknown as Promise<PostOrderErpDictionaryListByPageResponseSuccess>; | |
5429 | + }) as unknown as Promise<PostOrderErpMessageReadResponseSuccess>; | |
3474 | 5430 | } |
3475 | 5431 | |
3476 | 5432 | /** http method */ |
... | ... | @@ -3480,8 +5436,8 @@ export const postOrderErpDictionaryListByPage = /* #__PURE__ */ (() => { |
3480 | 5436 | return request; |
3481 | 5437 | })(); |
3482 | 5438 | |
3483 | -/** @description response type for getOrderErpIndexChartData */ | |
3484 | -export interface GetOrderErpIndexChartDataResponse { | |
5439 | +/** @description response type for postOrderErpMessageReadAll */ | |
5440 | +export interface PostOrderErpMessageReadAllResponse { | |
3485 | 5441 | /** |
3486 | 5442 | * @description |
3487 | 5443 | * OK |
... | ... | @@ -3489,6 +5445,11 @@ export interface GetOrderErpIndexChartDataResponse { |
3489 | 5445 | 200: ServerResult; |
3490 | 5446 | /** |
3491 | 5447 | * @description |
5448 | + * Created | |
5449 | + */ | |
5450 | + 201: any; | |
5451 | + /** | |
5452 | + * @description | |
3492 | 5453 | * Unauthorized |
3493 | 5454 | */ |
3494 | 5455 | 401: any; |
... | ... | @@ -3504,21 +5465,22 @@ export interface GetOrderErpIndexChartDataResponse { |
3504 | 5465 | 404: any; |
3505 | 5466 | } |
3506 | 5467 | |
3507 | -export type GetOrderErpIndexChartDataResponseSuccess = | |
3508 | - GetOrderErpIndexChartDataResponse[200]; | |
5468 | +export type PostOrderErpMessageReadAllResponseSuccess = | |
5469 | + PostOrderErpMessageReadAllResponse[200]; | |
3509 | 5470 | /** |
3510 | 5471 | * @description |
3511 | - * 首页订单趋势 | |
3512 | - * @tags 首页 | |
5472 | + * readAll | |
5473 | + * @tags message-controller | |
3513 | 5474 | * @produces * |
5475 | + * @consumes application/json | |
3514 | 5476 | */ |
3515 | -export const getOrderErpIndexChartData = /* #__PURE__ */ (() => { | |
3516 | - const method = "get"; | |
3517 | - const url = "/order/erp/index/chartData"; | |
3518 | - function request(): Promise<GetOrderErpIndexChartDataResponseSuccess> { | |
5477 | +export const postOrderErpMessageReadAll = /* #__PURE__ */ (() => { | |
5478 | + const method = "post"; | |
5479 | + const url = "/order/erp/message/readAll"; | |
5480 | + function request(): Promise<PostOrderErpMessageReadAllResponseSuccess> { | |
3519 | 5481 | return requester(request.url, { |
3520 | 5482 | method: request.method, |
3521 | - }) as unknown as Promise<GetOrderErpIndexChartDataResponseSuccess>; | |
5483 | + }) as unknown as Promise<PostOrderErpMessageReadAllResponseSuccess>; | |
3522 | 5484 | } |
3523 | 5485 | |
3524 | 5486 | /** http method */ |
... | ... | @@ -3528,8 +5490,22 @@ export const getOrderErpIndexChartData = /* #__PURE__ */ (() => { |
3528 | 5490 | return request; |
3529 | 5491 | })(); |
3530 | 5492 | |
3531 | -/** @description response type for getOrderErpIndexData */ | |
3532 | -export interface GetOrderErpIndexDataResponse { | |
5493 | +/** @description request parameter type for postOrderErpOptLogListByPage */ | |
5494 | +export interface PostOrderErpOptLogListByPageOption { | |
5495 | + /** | |
5496 | + * @description | |
5497 | + * queryVO | |
5498 | + */ | |
5499 | + body: { | |
5500 | + /** | |
5501 | + @description | |
5502 | + queryVO */ | |
5503 | + queryVO: OrderOptLogQueryVO; | |
5504 | + }; | |
5505 | +} | |
5506 | + | |
5507 | +/** @description response type for postOrderErpOptLogListByPage */ | |
5508 | +export interface PostOrderErpOptLogListByPageResponse { | |
3533 | 5509 | /** |
3534 | 5510 | * @description |
3535 | 5511 | * OK |
... | ... | @@ -3537,6 +5513,11 @@ export interface GetOrderErpIndexDataResponse { |
3537 | 5513 | 200: ServerResult; |
3538 | 5514 | /** |
3539 | 5515 | * @description |
5516 | + * Created | |
5517 | + */ | |
5518 | + 201: any; | |
5519 | + /** | |
5520 | + * @description | |
3540 | 5521 | * Unauthorized |
3541 | 5522 | */ |
3542 | 5523 | 401: any; |
... | ... | @@ -3552,21 +5533,25 @@ export interface GetOrderErpIndexDataResponse { |
3552 | 5533 | 404: any; |
3553 | 5534 | } |
3554 | 5535 | |
3555 | -export type GetOrderErpIndexDataResponseSuccess = | |
3556 | - GetOrderErpIndexDataResponse[200]; | |
5536 | +export type PostOrderErpOptLogListByPageResponseSuccess = | |
5537 | + PostOrderErpOptLogListByPageResponse[200]; | |
3557 | 5538 | /** |
3558 | 5539 | * @description |
3559 | - * 首页统计数据 | |
3560 | - * @tags 首页 | |
5540 | + * 分页查询 | |
5541 | + * @tags 订单操作日志 | |
3561 | 5542 | * @produces * |
5543 | + * @consumes application/json | |
3562 | 5544 | */ |
3563 | -export const getOrderErpIndexData = /* #__PURE__ */ (() => { | |
3564 | - const method = "get"; | |
3565 | - const url = "/order/erp/index/data"; | |
3566 | - function request(): Promise<GetOrderErpIndexDataResponseSuccess> { | |
5545 | +export const postOrderErpOptLogListByPage = /* #__PURE__ */ (() => { | |
5546 | + const method = "post"; | |
5547 | + const url = "/order/erp/opt/log/list_by_page"; | |
5548 | + function request( | |
5549 | + option: PostOrderErpOptLogListByPageOption | |
5550 | + ): Promise<PostOrderErpOptLogListByPageResponseSuccess> { | |
3567 | 5551 | return requester(request.url, { |
3568 | 5552 | method: request.method, |
3569 | - }) as unknown as Promise<GetOrderErpIndexDataResponseSuccess>; | |
5553 | + ...option, | |
5554 | + }) as unknown as Promise<PostOrderErpOptLogListByPageResponseSuccess>; | |
3570 | 5555 | } |
3571 | 5556 | |
3572 | 5557 | /** http method */ |
... | ... | @@ -3576,22 +5561,22 @@ export const getOrderErpIndexData = /* #__PURE__ */ (() => { |
3576 | 5561 | return request; |
3577 | 5562 | })(); |
3578 | 5563 | |
3579 | -/** @description request parameter type for postOrderErpJobsAdd */ | |
3580 | -export interface PostOrderErpJobsAddOption { | |
5564 | +/** @description request parameter type for postOrderErpOrderAdd */ | |
5565 | +export interface PostOrderErpOrderAddOption { | |
3581 | 5566 | /** |
3582 | 5567 | * @description |
3583 | - * jobVO | |
5568 | + * orderAddVO | |
3584 | 5569 | */ |
3585 | 5570 | body: { |
3586 | 5571 | /** |
3587 | 5572 | @description |
3588 | - jobVO */ | |
3589 | - jobVO: AdminJobVO; | |
5573 | + orderAddVO */ | |
5574 | + orderAddVO: OrderAddVO; | |
3590 | 5575 | }; |
3591 | 5576 | } |
3592 | 5577 | |
3593 | -/** @description response type for postOrderErpJobsAdd */ | |
3594 | -export interface PostOrderErpJobsAddResponse { | |
5578 | +/** @description response type for postOrderErpOrderAdd */ | |
5579 | +export interface PostOrderErpOrderAddResponse { | |
3595 | 5580 | /** |
3596 | 5581 | * @description |
3597 | 5582 | * OK |
... | ... | @@ -3619,25 +5604,25 @@ export interface PostOrderErpJobsAddResponse { |
3619 | 5604 | 404: any; |
3620 | 5605 | } |
3621 | 5606 | |
3622 | -export type PostOrderErpJobsAddResponseSuccess = | |
3623 | - PostOrderErpJobsAddResponse[200]; | |
5607 | +export type PostOrderErpOrderAddResponseSuccess = | |
5608 | + PostOrderErpOrderAddResponse[200]; | |
3624 | 5609 | /** |
3625 | 5610 | * @description |
3626 | - * 新增岗位 | |
3627 | - * @tags 系统:岗位管理 | |
5611 | + * 新增数据 | |
5612 | + * @tags 订单管理 | |
3628 | 5613 | * @produces * |
3629 | 5614 | * @consumes application/json |
3630 | 5615 | */ |
3631 | -export const postOrderErpJobsAdd = /* #__PURE__ */ (() => { | |
5616 | +export const postOrderErpOrderAdd = /* #__PURE__ */ (() => { | |
3632 | 5617 | const method = "post"; |
3633 | - const url = "/order/erp/jobs/add"; | |
5618 | + const url = "/order/erp/order/add"; | |
3634 | 5619 | function request( |
3635 | - option: PostOrderErpJobsAddOption | |
3636 | - ): Promise<PostOrderErpJobsAddResponseSuccess> { | |
5620 | + option: PostOrderErpOrderAddOption | |
5621 | + ): Promise<PostOrderErpOrderAddResponseSuccess> { | |
3637 | 5622 | return requester(request.url, { |
3638 | 5623 | method: request.method, |
3639 | 5624 | ...option, |
3640 | - }) as unknown as Promise<PostOrderErpJobsAddResponseSuccess>; | |
5625 | + }) as unknown as Promise<PostOrderErpOrderAddResponseSuccess>; | |
3641 | 5626 | } |
3642 | 5627 | |
3643 | 5628 | /** http method */ |
... | ... | @@ -3647,22 +5632,22 @@ export const postOrderErpJobsAdd = /* #__PURE__ */ (() => { |
3647 | 5632 | return request; |
3648 | 5633 | })(); |
3649 | 5634 | |
3650 | -/** @description request parameter type for postOrderErpJobsDelete */ | |
3651 | -export interface PostOrderErpJobsDeleteOption { | |
5635 | +/** @description request parameter type for postOrderErpOrderDeleteById */ | |
5636 | +export interface PostOrderErpOrderDeleteByIdOption { | |
3652 | 5637 | /** |
3653 | 5638 | * @description |
3654 | - * queryVO | |
5639 | + * orderBaseInfoQueryVO | |
3655 | 5640 | */ |
3656 | 5641 | body: { |
3657 | 5642 | /** |
3658 | 5643 | @description |
3659 | - queryVO */ | |
3660 | - queryVO: AdminJobQueryVO; | |
5644 | + orderBaseInfoQueryVO */ | |
5645 | + orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
3661 | 5646 | }; |
3662 | 5647 | } |
3663 | 5648 | |
3664 | -/** @description response type for postOrderErpJobsDelete */ | |
3665 | -export interface PostOrderErpJobsDeleteResponse { | |
5649 | +/** @description response type for postOrderErpOrderDeleteById */ | |
5650 | +export interface PostOrderErpOrderDeleteByIdResponse { | |
3666 | 5651 | /** |
3667 | 5652 | * @description |
3668 | 5653 | * OK |
... | ... | @@ -3690,25 +5675,25 @@ export interface PostOrderErpJobsDeleteResponse { |
3690 | 5675 | 404: any; |
3691 | 5676 | } |
3692 | 5677 | |
3693 | -export type PostOrderErpJobsDeleteResponseSuccess = | |
3694 | - PostOrderErpJobsDeleteResponse[200]; | |
5678 | +export type PostOrderErpOrderDeleteByIdResponseSuccess = | |
5679 | + PostOrderErpOrderDeleteByIdResponse[200]; | |
3695 | 5680 | /** |
3696 | 5681 | * @description |
3697 | - * 删除岗位 | |
3698 | - * @tags 系统:岗位管理 | |
5682 | + * 删除数据 | |
5683 | + * @tags 订单管理 | |
3699 | 5684 | * @produces * |
3700 | 5685 | * @consumes application/json |
3701 | 5686 | */ |
3702 | -export const postOrderErpJobsDelete = /* #__PURE__ */ (() => { | |
5687 | +export const postOrderErpOrderDeleteById = /* #__PURE__ */ (() => { | |
3703 | 5688 | const method = "post"; |
3704 | - const url = "/order/erp/jobs/delete"; | |
5689 | + const url = "/order/erp/order/delete_by_id"; | |
3705 | 5690 | function request( |
3706 | - option: PostOrderErpJobsDeleteOption | |
3707 | - ): Promise<PostOrderErpJobsDeleteResponseSuccess> { | |
5691 | + option: PostOrderErpOrderDeleteByIdOption | |
5692 | + ): Promise<PostOrderErpOrderDeleteByIdResponseSuccess> { | |
3708 | 5693 | return requester(request.url, { |
3709 | 5694 | method: request.method, |
3710 | 5695 | ...option, |
3711 | - }) as unknown as Promise<PostOrderErpJobsDeleteResponseSuccess>; | |
5696 | + }) as unknown as Promise<PostOrderErpOrderDeleteByIdResponseSuccess>; | |
3712 | 5697 | } |
3713 | 5698 | |
3714 | 5699 | /** http method */ |
... | ... | @@ -3718,22 +5703,22 @@ export const postOrderErpJobsDelete = /* #__PURE__ */ (() => { |
3718 | 5703 | return request; |
3719 | 5704 | })(); |
3720 | 5705 | |
3721 | -/** @description request parameter type for postOrderErpJobsEdit */ | |
3722 | -export interface PostOrderErpJobsEditOption { | |
5706 | +/** @description request parameter type for postOrderErpOrderEdit */ | |
5707 | +export interface PostOrderErpOrderEditOption { | |
3723 | 5708 | /** |
3724 | 5709 | * @description |
3725 | - * jobVO | |
5710 | + * updateVO | |
3726 | 5711 | */ |
3727 | 5712 | body: { |
3728 | 5713 | /** |
3729 | 5714 | @description |
3730 | - jobVO */ | |
3731 | - jobVO: AdminJobVO; | |
5715 | + updateVO */ | |
5716 | + updateVO: OrderUpdateVO; | |
3732 | 5717 | }; |
3733 | 5718 | } |
3734 | 5719 | |
3735 | -/** @description response type for postOrderErpJobsEdit */ | |
3736 | -export interface PostOrderErpJobsEditResponse { | |
5720 | +/** @description response type for postOrderErpOrderEdit */ | |
5721 | +export interface PostOrderErpOrderEditResponse { | |
3737 | 5722 | /** |
3738 | 5723 | * @description |
3739 | 5724 | * OK |
... | ... | @@ -3761,25 +5746,25 @@ export interface PostOrderErpJobsEditResponse { |
3761 | 5746 | 404: any; |
3762 | 5747 | } |
3763 | 5748 | |
3764 | -export type PostOrderErpJobsEditResponseSuccess = | |
3765 | - PostOrderErpJobsEditResponse[200]; | |
5749 | +export type PostOrderErpOrderEditResponseSuccess = | |
5750 | + PostOrderErpOrderEditResponse[200]; | |
3766 | 5751 | /** |
3767 | 5752 | * @description |
3768 | - * 修改岗位 | |
3769 | - * @tags 系统:岗位管理 | |
5753 | + * 编辑数据 | |
5754 | + * @tags 订单管理 | |
3770 | 5755 | * @produces * |
3771 | 5756 | * @consumes application/json |
3772 | 5757 | */ |
3773 | -export const postOrderErpJobsEdit = /* #__PURE__ */ (() => { | |
5758 | +export const postOrderErpOrderEdit = /* #__PURE__ */ (() => { | |
3774 | 5759 | const method = "post"; |
3775 | - const url = "/order/erp/jobs/edit"; | |
5760 | + const url = "/order/erp/order/edit"; | |
3776 | 5761 | function request( |
3777 | - option: PostOrderErpJobsEditOption | |
3778 | - ): Promise<PostOrderErpJobsEditResponseSuccess> { | |
5762 | + option: PostOrderErpOrderEditOption | |
5763 | + ): Promise<PostOrderErpOrderEditResponseSuccess> { | |
3779 | 5764 | return requester(request.url, { |
3780 | 5765 | method: request.method, |
3781 | 5766 | ...option, |
3782 | - }) as unknown as Promise<PostOrderErpJobsEditResponseSuccess>; | |
5767 | + }) as unknown as Promise<PostOrderErpOrderEditResponseSuccess>; | |
3783 | 5768 | } |
3784 | 5769 | |
3785 | 5770 | /** http method */ |
... | ... | @@ -3789,22 +5774,22 @@ export const postOrderErpJobsEdit = /* #__PURE__ */ (() => { |
3789 | 5774 | return request; |
3790 | 5775 | })(); |
3791 | 5776 | |
3792 | -/** @description request parameter type for postOrderErpJobsListByPage */ | |
3793 | -export interface PostOrderErpJobsListByPageOption { | |
5777 | +/** @description request parameter type for postOrderErpOrderExport */ | |
5778 | +export interface PostOrderErpOrderExportOption { | |
3794 | 5779 | /** |
3795 | 5780 | * @description |
3796 | - * queryVO | |
5781 | + * orderBaseInfoQueryVO | |
3797 | 5782 | */ |
3798 | 5783 | body: { |
3799 | 5784 | /** |
3800 | 5785 | @description |
3801 | - queryVO */ | |
3802 | - queryVO: AdminJobQueryVO; | |
5786 | + orderBaseInfoQueryVO */ | |
5787 | + orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
3803 | 5788 | }; |
3804 | 5789 | } |
3805 | 5790 | |
3806 | -/** @description response type for postOrderErpJobsListByPage */ | |
3807 | -export interface PostOrderErpJobsListByPageResponse { | |
5791 | +/** @description response type for postOrderErpOrderExport */ | |
5792 | +export interface PostOrderErpOrderExportResponse { | |
3808 | 5793 | /** |
3809 | 5794 | * @description |
3810 | 5795 | * OK |
... | ... | @@ -3832,25 +5817,25 @@ export interface PostOrderErpJobsListByPageResponse { |
3832 | 5817 | 404: any; |
3833 | 5818 | } |
3834 | 5819 | |
3835 | -export type PostOrderErpJobsListByPageResponseSuccess = | |
3836 | - PostOrderErpJobsListByPageResponse[200]; | |
5820 | +export type PostOrderErpOrderExportResponseSuccess = | |
5821 | + PostOrderErpOrderExportResponse[200]; | |
3837 | 5822 | /** |
3838 | 5823 | * @description |
3839 | - * 查询岗位 | |
3840 | - * @tags 系统:岗位管理 | |
5824 | + * 导出订单 | |
5825 | + * @tags 订单管理 | |
3841 | 5826 | * @produces * |
3842 | 5827 | * @consumes application/json |
3843 | 5828 | */ |
3844 | -export const postOrderErpJobsListByPage = /* #__PURE__ */ (() => { | |
5829 | +export const postOrderErpOrderExport = /* #__PURE__ */ (() => { | |
3845 | 5830 | const method = "post"; |
3846 | - const url = "/order/erp/jobs/list_by_page"; | |
5831 | + const url = "/order/erp/order/export"; | |
3847 | 5832 | function request( |
3848 | - option: PostOrderErpJobsListByPageOption | |
3849 | - ): Promise<PostOrderErpJobsListByPageResponseSuccess> { | |
5833 | + option: PostOrderErpOrderExportOption | |
5834 | + ): Promise<PostOrderErpOrderExportResponseSuccess> { | |
3850 | 5835 | return requester(request.url, { |
3851 | 5836 | method: request.method, |
3852 | 5837 | ...option, |
3853 | - }) as unknown as Promise<PostOrderErpJobsListByPageResponseSuccess>; | |
5838 | + }) as unknown as Promise<PostOrderErpOrderExportResponseSuccess>; | |
3854 | 5839 | } |
3855 | 5840 | |
3856 | 5841 | /** http method */ |
... | ... | @@ -3860,22 +5845,22 @@ export const postOrderErpJobsListByPage = /* #__PURE__ */ (() => { |
3860 | 5845 | return request; |
3861 | 5846 | })(); |
3862 | 5847 | |
3863 | -/** @description request parameter type for postOrderErpLogsList */ | |
3864 | -export interface PostOrderErpLogsListOption { | |
5848 | +/** @description request parameter type for postOrderErpOrderFieldUnlockApply */ | |
5849 | +export interface PostOrderErpOrderFieldUnlockApplyOption { | |
3865 | 5850 | /** |
3866 | 5851 | * @description |
3867 | - * sysLogQueryVO | |
5852 | + * fieldVO | |
3868 | 5853 | */ |
3869 | 5854 | body: { |
3870 | 5855 | /** |
3871 | 5856 | @description |
3872 | - sysLogQueryVO */ | |
3873 | - sysLogQueryVO: SysLogQueryVO; | |
5857 | + fieldVO */ | |
5858 | + fieldVO: OrderUnlockFieldApplyVO; | |
3874 | 5859 | }; |
3875 | 5860 | } |
3876 | 5861 | |
3877 | -/** @description response type for postOrderErpLogsList */ | |
3878 | -export interface PostOrderErpLogsListResponse { | |
5862 | +/** @description response type for postOrderErpOrderFieldUnlockApply */ | |
5863 | +export interface PostOrderErpOrderFieldUnlockApplyResponse { | |
3879 | 5864 | /** |
3880 | 5865 | * @description |
3881 | 5866 | * OK |
... | ... | @@ -3903,25 +5888,25 @@ export interface PostOrderErpLogsListResponse { |
3903 | 5888 | 404: any; |
3904 | 5889 | } |
3905 | 5890 | |
3906 | -export type PostOrderErpLogsListResponseSuccess = | |
3907 | - PostOrderErpLogsListResponse[200]; | |
5891 | +export type PostOrderErpOrderFieldUnlockApplyResponseSuccess = | |
5892 | + PostOrderErpOrderFieldUnlockApplyResponse[200]; | |
3908 | 5893 | /** |
3909 | 5894 | * @description |
3910 | - * 分页查询 | |
3911 | - * @tags 系统日志 | |
5895 | + * 字段解锁申请 | |
5896 | + * @tags 订单管理 | |
3912 | 5897 | * @produces * |
3913 | 5898 | * @consumes application/json |
3914 | 5899 | */ |
3915 | -export const postOrderErpLogsList = /* #__PURE__ */ (() => { | |
5900 | +export const postOrderErpOrderFieldUnlockApply = /* #__PURE__ */ (() => { | |
3916 | 5901 | const method = "post"; |
3917 | - const url = "/order/erp/logs/list"; | |
5902 | + const url = "/order/erp/order/field_unlock_apply"; | |
3918 | 5903 | function request( |
3919 | - option: PostOrderErpLogsListOption | |
3920 | - ): Promise<PostOrderErpLogsListResponseSuccess> { | |
5904 | + option: PostOrderErpOrderFieldUnlockApplyOption | |
5905 | + ): Promise<PostOrderErpOrderFieldUnlockApplyResponseSuccess> { | |
3921 | 5906 | return requester(request.url, { |
3922 | 5907 | method: request.method, |
3923 | 5908 | ...option, |
3924 | - }) as unknown as Promise<PostOrderErpLogsListResponseSuccess>; | |
5909 | + }) as unknown as Promise<PostOrderErpOrderFieldUnlockApplyResponseSuccess>; | |
3925 | 5910 | } |
3926 | 5911 | |
3927 | 5912 | /** http method */ |
... | ... | @@ -3931,22 +5916,22 @@ export const postOrderErpLogsList = /* #__PURE__ */ (() => { |
3931 | 5916 | return request; |
3932 | 5917 | })(); |
3933 | 5918 | |
3934 | -/** @description request parameter type for postOrderErpMenusAdd */ | |
3935 | -export interface PostOrderErpMenusAddOption { | |
5919 | +/** @description request parameter type for postOrderErpOrderListByPage */ | |
5920 | +export interface PostOrderErpOrderListByPageOption { | |
3936 | 5921 | /** |
3937 | 5922 | * @description |
3938 | - * menuVO | |
5923 | + * orderBaseInfoQueryVO | |
3939 | 5924 | */ |
3940 | 5925 | body: { |
3941 | 5926 | /** |
3942 | 5927 | @description |
3943 | - menuVO */ | |
3944 | - menuVO: AdminMenuVO; | |
5928 | + orderBaseInfoQueryVO */ | |
5929 | + orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
3945 | 5930 | }; |
3946 | 5931 | } |
3947 | 5932 | |
3948 | -/** @description response type for postOrderErpMenusAdd */ | |
3949 | -export interface PostOrderErpMenusAddResponse { | |
5933 | +/** @description response type for postOrderErpOrderListByPage */ | |
5934 | +export interface PostOrderErpOrderListByPageResponse { | |
3950 | 5935 | /** |
3951 | 5936 | * @description |
3952 | 5937 | * OK |
... | ... | @@ -3974,25 +5959,25 @@ export interface PostOrderErpMenusAddResponse { |
3974 | 5959 | 404: any; |
3975 | 5960 | } |
3976 | 5961 | |
3977 | -export type PostOrderErpMenusAddResponseSuccess = | |
3978 | - PostOrderErpMenusAddResponse[200]; | |
5962 | +export type PostOrderErpOrderListByPageResponseSuccess = | |
5963 | + PostOrderErpOrderListByPageResponse[200]; | |
3979 | 5964 | /** |
3980 | 5965 | * @description |
3981 | - * 新增菜单 | |
3982 | - * @tags 系统:菜单管理 | |
5966 | + * 分页查询 | |
5967 | + * @tags 订单管理 | |
3983 | 5968 | * @produces * |
3984 | 5969 | * @consumes application/json |
3985 | 5970 | */ |
3986 | -export const postOrderErpMenusAdd = /* #__PURE__ */ (() => { | |
5971 | +export const postOrderErpOrderListByPage = /* #__PURE__ */ (() => { | |
3987 | 5972 | const method = "post"; |
3988 | - const url = "/order/erp/menus/add"; | |
5973 | + const url = "/order/erp/order/list_by_page"; | |
3989 | 5974 | function request( |
3990 | - option: PostOrderErpMenusAddOption | |
3991 | - ): Promise<PostOrderErpMenusAddResponseSuccess> { | |
5975 | + option: PostOrderErpOrderListByPageOption | |
5976 | + ): Promise<PostOrderErpOrderListByPageResponseSuccess> { | |
3992 | 5977 | return requester(request.url, { |
3993 | 5978 | method: request.method, |
3994 | 5979 | ...option, |
3995 | - }) as unknown as Promise<PostOrderErpMenusAddResponseSuccess>; | |
5980 | + }) as unknown as Promise<PostOrderErpOrderListByPageResponseSuccess>; | |
3996 | 5981 | } |
3997 | 5982 | |
3998 | 5983 | /** http method */ |
... | ... | @@ -4002,22 +5987,22 @@ export const postOrderErpMenusAdd = /* #__PURE__ */ (() => { |
4002 | 5987 | return request; |
4003 | 5988 | })(); |
4004 | 5989 | |
4005 | -/** @description request parameter type for postOrderErpMenusAll */ | |
4006 | -export interface PostOrderErpMenusAllOption { | |
5990 | +/** @description request parameter type for postOrderErpOrderQueryById */ | |
5991 | +export interface PostOrderErpOrderQueryByIdOption { | |
4007 | 5992 | /** |
4008 | 5993 | * @description |
4009 | - * queryVO | |
5994 | + * orderBaseInfoQueryVO | |
4010 | 5995 | */ |
4011 | 5996 | body: { |
4012 | 5997 | /** |
4013 | 5998 | @description |
4014 | - queryVO */ | |
4015 | - queryVO: AdminMenuQueryVO; | |
5999 | + orderBaseInfoQueryVO */ | |
6000 | + orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
4016 | 6001 | }; |
4017 | 6002 | } |
4018 | 6003 | |
4019 | -/** @description response type for postOrderErpMenusAll */ | |
4020 | -export interface PostOrderErpMenusAllResponse { | |
6004 | +/** @description response type for postOrderErpOrderQueryById */ | |
6005 | +export interface PostOrderErpOrderQueryByIdResponse { | |
4021 | 6006 | /** |
4022 | 6007 | * @description |
4023 | 6008 | * OK |
... | ... | @@ -4045,25 +6030,25 @@ export interface PostOrderErpMenusAllResponse { |
4045 | 6030 | 404: any; |
4046 | 6031 | } |
4047 | 6032 | |
4048 | -export type PostOrderErpMenusAllResponseSuccess = | |
4049 | - PostOrderErpMenusAllResponse[200]; | |
6033 | +export type PostOrderErpOrderQueryByIdResponseSuccess = | |
6034 | + PostOrderErpOrderQueryByIdResponse[200]; | |
4050 | 6035 | /** |
4051 | 6036 | * @description |
4052 | - * 查询菜单 | |
4053 | - * @tags 系统:菜单管理 | |
6037 | + * queryById | |
6038 | + * @tags 订单管理 | |
4054 | 6039 | * @produces * |
4055 | 6040 | * @consumes application/json |
4056 | 6041 | */ |
4057 | -export const postOrderErpMenusAll = /* #__PURE__ */ (() => { | |
6042 | +export const postOrderErpOrderQueryById = /* #__PURE__ */ (() => { | |
4058 | 6043 | const method = "post"; |
4059 | - const url = "/order/erp/menus/all"; | |
6044 | + const url = "/order/erp/order/query_by_id"; | |
4060 | 6045 | function request( |
4061 | - option: PostOrderErpMenusAllOption | |
4062 | - ): Promise<PostOrderErpMenusAllResponseSuccess> { | |
6046 | + option: PostOrderErpOrderQueryByIdOption | |
6047 | + ): Promise<PostOrderErpOrderQueryByIdResponseSuccess> { | |
4063 | 6048 | return requester(request.url, { |
4064 | 6049 | method: request.method, |
4065 | 6050 | ...option, |
4066 | - }) as unknown as Promise<PostOrderErpMenusAllResponseSuccess>; | |
6051 | + }) as unknown as Promise<PostOrderErpOrderQueryByIdResponseSuccess>; | |
4067 | 6052 | } |
4068 | 6053 | |
4069 | 6054 | /** http method */ |
... | ... | @@ -4073,8 +6058,22 @@ export const postOrderErpMenusAll = /* #__PURE__ */ (() => { |
4073 | 6058 | return request; |
4074 | 6059 | })(); |
4075 | 6060 | |
4076 | -/** @description response type for postOrderErpMenusBuild */ | |
4077 | -export interface PostOrderErpMenusBuildResponse { | |
6061 | +/** @description request parameter type for deleteOrderErpOrderStagesDelect */ | |
6062 | +export interface DeleteOrderErpOrderStagesDelectOption { | |
6063 | + /** | |
6064 | + * @description | |
6065 | + * orderStagesDelDo | |
6066 | + */ | |
6067 | + body: { | |
6068 | + /** | |
6069 | + @description | |
6070 | + orderStagesDelDo */ | |
6071 | + orderStagesDelDo: OrderStagesDelDo; | |
6072 | + }; | |
6073 | +} | |
6074 | + | |
6075 | +/** @description response type for deleteOrderErpOrderStagesDelect */ | |
6076 | +export interface DeleteOrderErpOrderStagesDelectResponse { | |
4078 | 6077 | /** |
4079 | 6078 | * @description |
4080 | 6079 | * OK |
... | ... | @@ -4082,9 +6081,9 @@ export interface PostOrderErpMenusBuildResponse { |
4082 | 6081 | 200: ServerResult; |
4083 | 6082 | /** |
4084 | 6083 | * @description |
4085 | - * Created | |
6084 | + * No Content | |
4086 | 6085 | */ |
4087 | - 201: any; | |
6086 | + 204: any; | |
4088 | 6087 | /** |
4089 | 6088 | * @description |
4090 | 6089 | * Unauthorized |
... | ... | @@ -4095,29 +6094,26 @@ export interface PostOrderErpMenusBuildResponse { |
4095 | 6094 | * Forbidden |
4096 | 6095 | */ |
4097 | 6096 | 403: any; |
4098 | - /** | |
4099 | - * @description | |
4100 | - * Not Found | |
4101 | - */ | |
4102 | - 404: any; | |
4103 | 6097 | } |
4104 | 6098 | |
4105 | -export type PostOrderErpMenusBuildResponseSuccess = | |
4106 | - PostOrderErpMenusBuildResponse[200]; | |
6099 | +export type DeleteOrderErpOrderStagesDelectResponseSuccess = | |
6100 | + DeleteOrderErpOrderStagesDelectResponse[200]; | |
4107 | 6101 | /** |
4108 | 6102 | * @description |
4109 | - * 获取前端所需菜单 | |
4110 | - * @tags 系统:菜单管理 | |
6103 | + * 删除分期账单 | |
6104 | + * @tags order-stages-controller | |
4111 | 6105 | * @produces * |
4112 | - * @consumes application/json | |
4113 | 6106 | */ |
4114 | -export const postOrderErpMenusBuild = /* #__PURE__ */ (() => { | |
4115 | - const method = "post"; | |
4116 | - const url = "/order/erp/menus/build"; | |
4117 | - function request(): Promise<PostOrderErpMenusBuildResponseSuccess> { | |
6107 | +export const deleteOrderErpOrderStagesDelect = /* #__PURE__ */ (() => { | |
6108 | + const method = "delete"; | |
6109 | + const url = "/order/erp/orderStages/delect"; | |
6110 | + function request( | |
6111 | + option: DeleteOrderErpOrderStagesDelectOption | |
6112 | + ): Promise<DeleteOrderErpOrderStagesDelectResponseSuccess> { | |
4118 | 6113 | return requester(request.url, { |
4119 | 6114 | method: request.method, |
4120 | - }) as unknown as Promise<PostOrderErpMenusBuildResponseSuccess>; | |
6115 | + ...option, | |
6116 | + }) as unknown as Promise<DeleteOrderErpOrderStagesDelectResponseSuccess>; | |
4121 | 6117 | } |
4122 | 6118 | |
4123 | 6119 | /** http method */ |
... | ... | @@ -4127,32 +6123,13 @@ export const postOrderErpMenusBuild = /* #__PURE__ */ (() => { |
4127 | 6123 | return request; |
4128 | 6124 | })(); |
4129 | 6125 | |
4130 | -/** @description request parameter type for postOrderErpMenusDelete */ | |
4131 | -export interface PostOrderErpMenusDeleteOption { | |
4132 | - /** | |
4133 | - * @description | |
4134 | - * queryVO | |
4135 | - */ | |
4136 | - body: { | |
4137 | - /** | |
4138 | - @description | |
4139 | - queryVO */ | |
4140 | - queryVO: AdminMenuQueryVO; | |
4141 | - }; | |
4142 | -} | |
4143 | - | |
4144 | -/** @description response type for postOrderErpMenusDelete */ | |
4145 | -export interface PostOrderErpMenusDeleteResponse { | |
6126 | +/** @description response type for getOrderErpOrderStagesExport */ | |
6127 | +export interface GetOrderErpOrderStagesExportResponse { | |
4146 | 6128 | /** |
4147 | 6129 | * @description |
4148 | 6130 | * OK |
4149 | 6131 | */ |
4150 | - 200: ServerResult; | |
4151 | - /** | |
4152 | - * @description | |
4153 | - * Created | |
4154 | - */ | |
4155 | - 201: any; | |
6132 | + 200: any; | |
4156 | 6133 | /** |
4157 | 6134 | * @description |
4158 | 6135 | * Unauthorized |
... | ... | @@ -4170,25 +6147,21 @@ export interface PostOrderErpMenusDeleteResponse { |
4170 | 6147 | 404: any; |
4171 | 6148 | } |
4172 | 6149 | |
4173 | -export type PostOrderErpMenusDeleteResponseSuccess = | |
4174 | - PostOrderErpMenusDeleteResponse[200]; | |
6150 | +export type GetOrderErpOrderStagesExportResponseSuccess = | |
6151 | + GetOrderErpOrderStagesExportResponse[200]; | |
4175 | 6152 | /** |
4176 | 6153 | * @description |
4177 | - * 删除菜单 | |
4178 | - * @tags 系统:菜单管理 | |
6154 | + * 导出分期账单 | |
6155 | + * @tags order-stages-controller | |
4179 | 6156 | * @produces * |
4180 | - * @consumes application/json | |
4181 | 6157 | */ |
4182 | -export const postOrderErpMenusDelete = /* #__PURE__ */ (() => { | |
4183 | - const method = "post"; | |
4184 | - const url = "/order/erp/menus/delete"; | |
4185 | - function request( | |
4186 | - option: PostOrderErpMenusDeleteOption | |
4187 | - ): Promise<PostOrderErpMenusDeleteResponseSuccess> { | |
6158 | +export const getOrderErpOrderStagesExport = /* #__PURE__ */ (() => { | |
6159 | + const method = "get"; | |
6160 | + const url = "/order/erp/orderStages/export"; | |
6161 | + function request(): Promise<GetOrderErpOrderStagesExportResponseSuccess> { | |
4188 | 6162 | return requester(request.url, { |
4189 | 6163 | method: request.method, |
4190 | - ...option, | |
4191 | - }) as unknown as Promise<PostOrderErpMenusDeleteResponseSuccess>; | |
6164 | + }) as unknown as Promise<GetOrderErpOrderStagesExportResponseSuccess>; | |
4192 | 6165 | } |
4193 | 6166 | |
4194 | 6167 | /** http method */ |
... | ... | @@ -4198,22 +6171,22 @@ export const postOrderErpMenusDelete = /* #__PURE__ */ (() => { |
4198 | 6171 | return request; |
4199 | 6172 | })(); |
4200 | 6173 | |
4201 | -/** @description request parameter type for postOrderErpMenusEdit */ | |
4202 | -export interface PostOrderErpMenusEditOption { | |
6174 | +/** @description request parameter type for postOrderErpOrderStagesImport */ | |
6175 | +export interface PostOrderErpOrderStagesImportOption { | |
4203 | 6176 | /** |
4204 | 6177 | * @description |
4205 | - * menuVO | |
6178 | + * file | |
4206 | 6179 | */ |
4207 | - body: { | |
6180 | + formData: { | |
4208 | 6181 | /** |
4209 | 6182 | @description |
4210 | - menuVO */ | |
4211 | - menuVO: AdminMenuVO; | |
6183 | + file */ | |
6184 | + file: File; | |
4212 | 6185 | }; |
4213 | 6186 | } |
4214 | 6187 | |
4215 | -/** @description response type for postOrderErpMenusEdit */ | |
4216 | -export interface PostOrderErpMenusEditResponse { | |
6188 | +/** @description response type for postOrderErpOrderStagesImport */ | |
6189 | +export interface PostOrderErpOrderStagesImportResponse { | |
4217 | 6190 | /** |
4218 | 6191 | * @description |
4219 | 6192 | * OK |
... | ... | @@ -4241,25 +6214,25 @@ export interface PostOrderErpMenusEditResponse { |
4241 | 6214 | 404: any; |
4242 | 6215 | } |
4243 | 6216 | |
4244 | -export type PostOrderErpMenusEditResponseSuccess = | |
4245 | - PostOrderErpMenusEditResponse[200]; | |
6217 | +export type PostOrderErpOrderStagesImportResponseSuccess = | |
6218 | + PostOrderErpOrderStagesImportResponse[200]; | |
4246 | 6219 | /** |
4247 | 6220 | * @description |
4248 | - * 修改菜单 | |
4249 | - * @tags 系统:菜单管理 | |
6221 | + * 导入分期账单 | |
6222 | + * @tags order-stages-controller | |
4250 | 6223 | * @produces * |
4251 | - * @consumes application/json | |
6224 | + * @consumes multipart/form-data | |
4252 | 6225 | */ |
4253 | -export const postOrderErpMenusEdit = /* #__PURE__ */ (() => { | |
6226 | +export const postOrderErpOrderStagesImport = /* #__PURE__ */ (() => { | |
4254 | 6227 | const method = "post"; |
4255 | - const url = "/order/erp/menus/edit"; | |
6228 | + const url = "/order/erp/orderStages/import"; | |
4256 | 6229 | function request( |
4257 | - option: PostOrderErpMenusEditOption | |
4258 | - ): Promise<PostOrderErpMenusEditResponseSuccess> { | |
6230 | + option: PostOrderErpOrderStagesImportOption | |
6231 | + ): Promise<PostOrderErpOrderStagesImportResponseSuccess> { | |
4259 | 6232 | return requester(request.url, { |
4260 | 6233 | method: request.method, |
4261 | 6234 | ...option, |
4262 | - }) as unknown as Promise<PostOrderErpMenusEditResponseSuccess>; | |
6235 | + }) as unknown as Promise<PostOrderErpOrderStagesImportResponseSuccess>; | |
4263 | 6236 | } |
4264 | 6237 | |
4265 | 6238 | /** http method */ |
... | ... | @@ -4269,8 +6242,8 @@ export const postOrderErpMenusEdit = /* #__PURE__ */ (() => { |
4269 | 6242 | return request; |
4270 | 6243 | })(); |
4271 | 6244 | |
4272 | -/** @description response type for postOrderErpMenusTree */ | |
4273 | -export interface PostOrderErpMenusTreeResponse { | |
6245 | +/** @description response type for getOrderErpOrderStagesListAll */ | |
6246 | +export interface GetOrderErpOrderStagesListAllResponse { | |
4274 | 6247 | /** |
4275 | 6248 | * @description |
4276 | 6249 | * OK |
... | ... | @@ -4278,11 +6251,6 @@ export interface PostOrderErpMenusTreeResponse { |
4278 | 6251 | 200: ServerResult; |
4279 | 6252 | /** |
4280 | 6253 | * @description |
4281 | - * Created | |
4282 | - */ | |
4283 | - 201: any; | |
4284 | - /** | |
4285 | - * @description | |
4286 | 6254 | * Unauthorized |
4287 | 6255 | */ |
4288 | 6256 | 401: any; |
... | ... | @@ -4298,22 +6266,21 @@ export interface PostOrderErpMenusTreeResponse { |
4298 | 6266 | 404: any; |
4299 | 6267 | } |
4300 | 6268 | |
4301 | -export type PostOrderErpMenusTreeResponseSuccess = | |
4302 | - PostOrderErpMenusTreeResponse[200]; | |
6269 | +export type GetOrderErpOrderStagesListAllResponseSuccess = | |
6270 | + GetOrderErpOrderStagesListAllResponse[200]; | |
4303 | 6271 | /** |
4304 | 6272 | * @description |
4305 | - * 返回全部的菜单 | |
4306 | - * @tags 系统:菜单管理 | |
6273 | + * 查询所有分期账单 | |
6274 | + * @tags order-stages-controller | |
4307 | 6275 | * @produces * |
4308 | - * @consumes application/json | |
4309 | 6276 | */ |
4310 | -export const postOrderErpMenusTree = /* #__PURE__ */ (() => { | |
4311 | - const method = "post"; | |
4312 | - const url = "/order/erp/menus/tree"; | |
4313 | - function request(): Promise<PostOrderErpMenusTreeResponseSuccess> { | |
6277 | +export const getOrderErpOrderStagesListAll = /* #__PURE__ */ (() => { | |
6278 | + const method = "get"; | |
6279 | + const url = "/order/erp/orderStages/listAll"; | |
6280 | + function request(): Promise<GetOrderErpOrderStagesListAllResponseSuccess> { | |
4314 | 6281 | return requester(request.url, { |
4315 | 6282 | method: request.method, |
4316 | - }) as unknown as Promise<PostOrderErpMenusTreeResponseSuccess>; | |
6283 | + }) as unknown as Promise<GetOrderErpOrderStagesListAllResponseSuccess>; | |
4317 | 6284 | } |
4318 | 6285 | |
4319 | 6286 | /** http method */ |
... | ... | @@ -4323,8 +6290,22 @@ export const postOrderErpMenusTree = /* #__PURE__ */ (() => { |
4323 | 6290 | return request; |
4324 | 6291 | })(); |
4325 | 6292 | |
4326 | -/** @description response type for postOrderErpMessageGetUnreadNum */ | |
4327 | -export interface PostOrderErpMessageGetUnreadNumResponse { | |
6293 | +/** @description request parameter type for postOrderErpOrderStagesSaveOrUpdate */ | |
6294 | +export interface PostOrderErpOrderStagesSaveOrUpdateOption { | |
6295 | + /** | |
6296 | + * @description | |
6297 | + * orderStagesFromDo | |
6298 | + */ | |
6299 | + body: { | |
6300 | + /** | |
6301 | + @description | |
6302 | + orderStagesFromDo */ | |
6303 | + orderStagesFromDo: OrderStagesFromDo; | |
6304 | + }; | |
6305 | +} | |
6306 | + | |
6307 | +/** @description response type for postOrderErpOrderStagesSaveOrUpdate */ | |
6308 | +export interface PostOrderErpOrderStagesSaveOrUpdateResponse { | |
4328 | 6309 | /** |
4329 | 6310 | * @description |
4330 | 6311 | * OK |
... | ... | @@ -4352,22 +6333,25 @@ export interface PostOrderErpMessageGetUnreadNumResponse { |
4352 | 6333 | 404: any; |
4353 | 6334 | } |
4354 | 6335 | |
4355 | -export type PostOrderErpMessageGetUnreadNumResponseSuccess = | |
4356 | - PostOrderErpMessageGetUnreadNumResponse[200]; | |
6336 | +export type PostOrderErpOrderStagesSaveOrUpdateResponseSuccess = | |
6337 | + PostOrderErpOrderStagesSaveOrUpdateResponse[200]; | |
4357 | 6338 | /** |
4358 | 6339 | * @description |
4359 | - * getUnreadNum | |
4360 | - * @tags message-controller | |
6340 | + * 添加或者修改分期账单 | |
6341 | + * @tags order-stages-controller | |
4361 | 6342 | * @produces * |
4362 | 6343 | * @consumes application/json |
4363 | 6344 | */ |
4364 | -export const postOrderErpMessageGetUnreadNum = /* #__PURE__ */ (() => { | |
6345 | +export const postOrderErpOrderStagesSaveOrUpdate = /* #__PURE__ */ (() => { | |
4365 | 6346 | const method = "post"; |
4366 | - const url = "/order/erp/message/getUnreadNum"; | |
4367 | - function request(): Promise<PostOrderErpMessageGetUnreadNumResponseSuccess> { | |
6347 | + const url = "/order/erp/orderStages/saveOrUpdate"; | |
6348 | + function request( | |
6349 | + option: PostOrderErpOrderStagesSaveOrUpdateOption | |
6350 | + ): Promise<PostOrderErpOrderStagesSaveOrUpdateResponseSuccess> { | |
4368 | 6351 | return requester(request.url, { |
4369 | 6352 | method: request.method, |
4370 | - }) as unknown as Promise<PostOrderErpMessageGetUnreadNumResponseSuccess>; | |
6353 | + ...option, | |
6354 | + }) as unknown as Promise<PostOrderErpOrderStagesSaveOrUpdateResponseSuccess>; | |
4371 | 6355 | } |
4372 | 6356 | |
4373 | 6357 | /** http method */ |
... | ... | @@ -4377,22 +6361,22 @@ export const postOrderErpMessageGetUnreadNum = /* #__PURE__ */ (() => { |
4377 | 6361 | return request; |
4378 | 6362 | })(); |
4379 | 6363 | |
4380 | -/** @description request parameter type for postOrderErpMessageQueryMyMessage */ | |
4381 | -export interface PostOrderErpMessageQueryMyMessageOption { | |
6364 | +/** @description request parameter type for postOrderErpOrderStagesSearch */ | |
6365 | +export interface PostOrderErpOrderStagesSearchOption { | |
4382 | 6366 | /** |
4383 | 6367 | * @description |
4384 | - * messageQueryDTO | |
6368 | + * orderStagesSelDo | |
4385 | 6369 | */ |
4386 | 6370 | body: { |
4387 | 6371 | /** |
4388 | - @description | |
4389 | - messageQueryDTO */ | |
4390 | - messageQueryDTO: MessageQueryDTO; | |
6372 | + @description | |
6373 | + orderStagesSelDo */ | |
6374 | + orderStagesSelDo: OrderStagesSelDo; | |
4391 | 6375 | }; |
4392 | 6376 | } |
4393 | 6377 | |
4394 | -/** @description response type for postOrderErpMessageQueryMyMessage */ | |
4395 | -export interface PostOrderErpMessageQueryMyMessageResponse { | |
6378 | +/** @description response type for postOrderErpOrderStagesSearch */ | |
6379 | +export interface PostOrderErpOrderStagesSearchResponse { | |
4396 | 6380 | /** |
4397 | 6381 | * @description |
4398 | 6382 | * OK |
... | ... | @@ -4420,25 +6404,25 @@ export interface PostOrderErpMessageQueryMyMessageResponse { |
4420 | 6404 | 404: any; |
4421 | 6405 | } |
4422 | 6406 | |
4423 | -export type PostOrderErpMessageQueryMyMessageResponseSuccess = | |
4424 | - PostOrderErpMessageQueryMyMessageResponse[200]; | |
6407 | +export type PostOrderErpOrderStagesSearchResponseSuccess = | |
6408 | + PostOrderErpOrderStagesSearchResponse[200]; | |
4425 | 6409 | /** |
4426 | 6410 | * @description |
4427 | - * queryMyMessage | |
4428 | - * @tags message-controller | |
6411 | + * 条件搜索分期账单 | |
6412 | + * @tags order-stages-controller | |
4429 | 6413 | * @produces * |
4430 | 6414 | * @consumes application/json |
4431 | 6415 | */ |
4432 | -export const postOrderErpMessageQueryMyMessage = /* #__PURE__ */ (() => { | |
6416 | +export const postOrderErpOrderStagesSearch = /* #__PURE__ */ (() => { | |
4433 | 6417 | const method = "post"; |
4434 | - const url = "/order/erp/message/queryMyMessage"; | |
6418 | + const url = "/order/erp/orderStages/search"; | |
4435 | 6419 | function request( |
4436 | - option: PostOrderErpMessageQueryMyMessageOption | |
4437 | - ): Promise<PostOrderErpMessageQueryMyMessageResponseSuccess> { | |
6420 | + option: PostOrderErpOrderStagesSearchOption | |
6421 | + ): Promise<PostOrderErpOrderStagesSearchResponseSuccess> { | |
4438 | 6422 | return requester(request.url, { |
4439 | 6423 | method: request.method, |
4440 | 6424 | ...option, |
4441 | - }) as unknown as Promise<PostOrderErpMessageQueryMyMessageResponseSuccess>; | |
6425 | + }) as unknown as Promise<PostOrderErpOrderStagesSearchResponseSuccess>; | |
4442 | 6426 | } |
4443 | 6427 | |
4444 | 6428 | /** http method */ |
... | ... | @@ -4448,22 +6432,22 @@ export const postOrderErpMessageQueryMyMessage = /* #__PURE__ */ (() => { |
4448 | 6432 | return request; |
4449 | 6433 | })(); |
4450 | 6434 | |
4451 | -/** @description request parameter type for postOrderErpMessageRead */ | |
4452 | -export interface PostOrderErpMessageReadOption { | |
6435 | +/** @description request parameter type for postOrderErpOrderStagesUpload */ | |
6436 | +export interface PostOrderErpOrderStagesUploadOption { | |
4453 | 6437 | /** |
4454 | 6438 | * @description |
4455 | - * ids | |
6439 | + * file | |
4456 | 6440 | */ |
4457 | - body: { | |
6441 | + formData: { | |
4458 | 6442 | /** |
4459 | 6443 | @description |
4460 | - ids */ | |
4461 | - ids: Array<number>; | |
6444 | + file */ | |
6445 | + file: File; | |
4462 | 6446 | }; |
4463 | 6447 | } |
4464 | 6448 | |
4465 | -/** @description response type for postOrderErpMessageRead */ | |
4466 | -export interface PostOrderErpMessageReadResponse { | |
6449 | +/** @description response type for postOrderErpOrderStagesUpload */ | |
6450 | +export interface PostOrderErpOrderStagesUploadResponse { | |
4467 | 6451 | /** |
4468 | 6452 | * @description |
4469 | 6453 | * OK |
... | ... | @@ -4491,25 +6475,25 @@ export interface PostOrderErpMessageReadResponse { |
4491 | 6475 | 404: any; |
4492 | 6476 | } |
4493 | 6477 | |
4494 | -export type PostOrderErpMessageReadResponseSuccess = | |
4495 | - PostOrderErpMessageReadResponse[200]; | |
6478 | +export type PostOrderErpOrderStagesUploadResponseSuccess = | |
6479 | + PostOrderErpOrderStagesUploadResponse[200]; | |
4496 | 6480 | /** |
4497 | 6481 | * @description |
4498 | - * read | |
4499 | - * @tags message-controller | |
6482 | + * 合同文件上传 | |
6483 | + * @tags order-stages-controller | |
4500 | 6484 | * @produces * |
4501 | - * @consumes application/json | |
6485 | + * @consumes multipart/form-data | |
4502 | 6486 | */ |
4503 | -export const postOrderErpMessageRead = /* #__PURE__ */ (() => { | |
6487 | +export const postOrderErpOrderStagesUpload = /* #__PURE__ */ (() => { | |
4504 | 6488 | const method = "post"; |
4505 | - const url = "/order/erp/message/read"; | |
6489 | + const url = "/order/erp/orderStages/upload"; | |
4506 | 6490 | function request( |
4507 | - option: PostOrderErpMessageReadOption | |
4508 | - ): Promise<PostOrderErpMessageReadResponseSuccess> { | |
6491 | + option: PostOrderErpOrderStagesUploadOption | |
6492 | + ): Promise<PostOrderErpOrderStagesUploadResponseSuccess> { | |
4509 | 6493 | return requester(request.url, { |
4510 | 6494 | method: request.method, |
4511 | 6495 | ...option, |
4512 | - }) as unknown as Promise<PostOrderErpMessageReadResponseSuccess>; | |
6496 | + }) as unknown as Promise<PostOrderErpOrderStagesUploadResponseSuccess>; | |
4513 | 6497 | } |
4514 | 6498 | |
4515 | 6499 | /** http method */ |
... | ... | @@ -4519,8 +6503,22 @@ export const postOrderErpMessageRead = /* #__PURE__ */ (() => { |
4519 | 6503 | return request; |
4520 | 6504 | })(); |
4521 | 6505 | |
4522 | -/** @description response type for postOrderErpMessageReadAll */ | |
4523 | -export interface PostOrderErpMessageReadAllResponse { | |
6506 | +/** @description request parameter type for postOrderErpOrderStagesPayWaySaveOrUpdate */ | |
6507 | +export interface PostOrderErpOrderStagesPayWaySaveOrUpdateOption { | |
6508 | + /** | |
6509 | + * @description | |
6510 | + * orderStagesPayWayList | |
6511 | + */ | |
6512 | + body: { | |
6513 | + /** | |
6514 | + @description | |
6515 | + orderStagesPayWayList */ | |
6516 | + orderStagesPayWayList: Array<OrderStagesPayWay>; | |
6517 | + }; | |
6518 | +} | |
6519 | + | |
6520 | +/** @description response type for postOrderErpOrderStagesPayWaySaveOrUpdate */ | |
6521 | +export interface PostOrderErpOrderStagesPayWaySaveOrUpdateResponse { | |
4524 | 6522 | /** |
4525 | 6523 | * @description |
4526 | 6524 | * OK |
... | ... | @@ -4548,47 +6546,51 @@ export interface PostOrderErpMessageReadAllResponse { |
4548 | 6546 | 404: any; |
4549 | 6547 | } |
4550 | 6548 | |
4551 | -export type PostOrderErpMessageReadAllResponseSuccess = | |
4552 | - PostOrderErpMessageReadAllResponse[200]; | |
6549 | +export type PostOrderErpOrderStagesPayWaySaveOrUpdateResponseSuccess = | |
6550 | + PostOrderErpOrderStagesPayWaySaveOrUpdateResponse[200]; | |
4553 | 6551 | /** |
4554 | 6552 | * @description |
4555 | - * readAll | |
4556 | - * @tags message-controller | |
6553 | + * 修改或者保存 | |
6554 | + * @tags order-stages-pay-way-controller | |
4557 | 6555 | * @produces * |
4558 | 6556 | * @consumes application/json |
4559 | 6557 | */ |
4560 | -export const postOrderErpMessageReadAll = /* #__PURE__ */ (() => { | |
4561 | - const method = "post"; | |
4562 | - const url = "/order/erp/message/readAll"; | |
4563 | - function request(): Promise<PostOrderErpMessageReadAllResponseSuccess> { | |
4564 | - return requester(request.url, { | |
4565 | - method: request.method, | |
4566 | - }) as unknown as Promise<PostOrderErpMessageReadAllResponseSuccess>; | |
4567 | - } | |
6558 | +export const postOrderErpOrderStagesPayWaySaveOrUpdate = | |
6559 | + /* #__PURE__ */ (() => { | |
6560 | + const method = "post"; | |
6561 | + const url = "/order/erp/orderStagesPayWay/saveOrUpdate"; | |
6562 | + function request( | |
6563 | + option: PostOrderErpOrderStagesPayWaySaveOrUpdateOption | |
6564 | + ): Promise<PostOrderErpOrderStagesPayWaySaveOrUpdateResponseSuccess> { | |
6565 | + return requester(request.url, { | |
6566 | + method: request.method, | |
6567 | + ...option, | |
6568 | + }) as unknown as Promise<PostOrderErpOrderStagesPayWaySaveOrUpdateResponseSuccess>; | |
6569 | + } | |
4568 | 6570 | |
4569 | - /** http method */ | |
4570 | - request.method = method; | |
4571 | - /** request url */ | |
4572 | - request.url = url; | |
4573 | - return request; | |
4574 | -})(); | |
6571 | + /** http method */ | |
6572 | + request.method = method; | |
6573 | + /** request url */ | |
6574 | + request.url = url; | |
6575 | + return request; | |
6576 | + })(); | |
4575 | 6577 | |
4576 | -/** @description request parameter type for postOrderErpOptLogListByPage */ | |
4577 | -export interface PostOrderErpOptLogListByPageOption { | |
6578 | +/** @description request parameter type for postOrderErpOrderStagesPayWaySelect */ | |
6579 | +export interface PostOrderErpOrderStagesPayWaySelectOption { | |
4578 | 6580 | /** |
4579 | 6581 | * @description |
4580 | - * queryVO | |
6582 | + * orderStagesPayWayDo | |
4581 | 6583 | */ |
4582 | 6584 | body: { |
4583 | 6585 | /** |
4584 | 6586 | @description |
4585 | - queryVO */ | |
4586 | - queryVO: OrderOptLogQueryVO; | |
6587 | + orderStagesPayWayDo */ | |
6588 | + orderStagesPayWayDo: OrderStagesPayWayDo; | |
4587 | 6589 | }; |
4588 | 6590 | } |
4589 | 6591 | |
4590 | -/** @description response type for postOrderErpOptLogListByPage */ | |
4591 | -export interface PostOrderErpOptLogListByPageResponse { | |
6592 | +/** @description response type for postOrderErpOrderStagesPayWaySelect */ | |
6593 | +export interface PostOrderErpOrderStagesPayWaySelectResponse { | |
4592 | 6594 | /** |
4593 | 6595 | * @description |
4594 | 6596 | * OK |
... | ... | @@ -4616,25 +6618,25 @@ export interface PostOrderErpOptLogListByPageResponse { |
4616 | 6618 | 404: any; |
4617 | 6619 | } |
4618 | 6620 | |
4619 | -export type PostOrderErpOptLogListByPageResponseSuccess = | |
4620 | - PostOrderErpOptLogListByPageResponse[200]; | |
6621 | +export type PostOrderErpOrderStagesPayWaySelectResponseSuccess = | |
6622 | + PostOrderErpOrderStagesPayWaySelectResponse[200]; | |
4621 | 6623 | /** |
4622 | 6624 | * @description |
4623 | - * 分页查询 | |
4624 | - * @tags 订单操作日志 | |
6625 | + * 查询该的分期比例 | |
6626 | + * @tags order-stages-pay-way-controller | |
4625 | 6627 | * @produces * |
4626 | 6628 | * @consumes application/json |
4627 | 6629 | */ |
4628 | -export const postOrderErpOptLogListByPage = /* #__PURE__ */ (() => { | |
6630 | +export const postOrderErpOrderStagesPayWaySelect = /* #__PURE__ */ (() => { | |
4629 | 6631 | const method = "post"; |
4630 | - const url = "/order/erp/opt/log/list_by_page"; | |
6632 | + const url = "/order/erp/orderStagesPayWay/select"; | |
4631 | 6633 | function request( |
4632 | - option: PostOrderErpOptLogListByPageOption | |
4633 | - ): Promise<PostOrderErpOptLogListByPageResponseSuccess> { | |
6634 | + option: PostOrderErpOrderStagesPayWaySelectOption | |
6635 | + ): Promise<PostOrderErpOrderStagesPayWaySelectResponseSuccess> { | |
4634 | 6636 | return requester(request.url, { |
4635 | 6637 | method: request.method, |
4636 | 6638 | ...option, |
4637 | - }) as unknown as Promise<PostOrderErpOptLogListByPageResponseSuccess>; | |
6639 | + }) as unknown as Promise<PostOrderErpOrderStagesPayWaySelectResponseSuccess>; | |
4638 | 6640 | } |
4639 | 6641 | |
4640 | 6642 | /** http method */ |
... | ... | @@ -4644,22 +6646,22 @@ export const postOrderErpOptLogListByPage = /* #__PURE__ */ (() => { |
4644 | 6646 | return request; |
4645 | 6647 | })(); |
4646 | 6648 | |
4647 | -/** @description request parameter type for postOrderErpOrderAdd */ | |
4648 | -export interface PostOrderErpOrderAddOption { | |
6649 | +/** @description request parameter type for postOrderErpOrderStagesPayWayUploadForPayWay */ | |
6650 | +export interface PostOrderErpOrderStagesPayWayUploadForPayWayOption { | |
4649 | 6651 | /** |
4650 | 6652 | * @description |
4651 | - * orderAddVO | |
6653 | + * orderStagesPayWayFileDo | |
4652 | 6654 | */ |
4653 | 6655 | body: { |
4654 | 6656 | /** |
4655 | 6657 | @description |
4656 | - orderAddVO */ | |
4657 | - orderAddVO: OrderAddVO; | |
6658 | + orderStagesPayWayFileDo */ | |
6659 | + orderStagesPayWayFileDo: OrderStagesPayWayFileDo; | |
4658 | 6660 | }; |
4659 | 6661 | } |
4660 | 6662 | |
4661 | -/** @description response type for postOrderErpOrderAdd */ | |
4662 | -export interface PostOrderErpOrderAddResponse { | |
6663 | +/** @description response type for postOrderErpOrderStagesPayWayUploadForPayWay */ | |
6664 | +export interface PostOrderErpOrderStagesPayWayUploadForPayWayResponse { | |
4663 | 6665 | /** |
4664 | 6666 | * @description |
4665 | 6667 | * OK |
... | ... | @@ -4687,50 +6689,51 @@ export interface PostOrderErpOrderAddResponse { |
4687 | 6689 | 404: any; |
4688 | 6690 | } |
4689 | 6691 | |
4690 | -export type PostOrderErpOrderAddResponseSuccess = | |
4691 | - PostOrderErpOrderAddResponse[200]; | |
6692 | +export type PostOrderErpOrderStagesPayWayUploadForPayWayResponseSuccess = | |
6693 | + PostOrderErpOrderStagesPayWayUploadForPayWayResponse[200]; | |
4692 | 6694 | /** |
4693 | 6695 | * @description |
4694 | - * 新增数据 | |
4695 | - * @tags 订单管理 | |
6696 | + * 付款合同文件上传 | |
6697 | + * @tags order-stages-pay-way-controller | |
4696 | 6698 | * @produces * |
4697 | 6699 | * @consumes application/json |
4698 | 6700 | */ |
4699 | -export const postOrderErpOrderAdd = /* #__PURE__ */ (() => { | |
4700 | - const method = "post"; | |
4701 | - const url = "/order/erp/order/add"; | |
4702 | - function request( | |
4703 | - option: PostOrderErpOrderAddOption | |
4704 | - ): Promise<PostOrderErpOrderAddResponseSuccess> { | |
4705 | - return requester(request.url, { | |
4706 | - method: request.method, | |
4707 | - ...option, | |
4708 | - }) as unknown as Promise<PostOrderErpOrderAddResponseSuccess>; | |
4709 | - } | |
6701 | +export const postOrderErpOrderStagesPayWayUploadForPayWay = | |
6702 | + /* #__PURE__ */ (() => { | |
6703 | + const method = "post"; | |
6704 | + const url = "/order/erp/orderStagesPayWay/uploadForPayWay"; | |
6705 | + function request( | |
6706 | + option: PostOrderErpOrderStagesPayWayUploadForPayWayOption | |
6707 | + ): Promise<PostOrderErpOrderStagesPayWayUploadForPayWayResponseSuccess> { | |
6708 | + return requester(request.url, { | |
6709 | + method: request.method, | |
6710 | + ...option, | |
6711 | + }) as unknown as Promise<PostOrderErpOrderStagesPayWayUploadForPayWayResponseSuccess>; | |
6712 | + } | |
4710 | 6713 | |
4711 | - /** http method */ | |
4712 | - request.method = method; | |
4713 | - /** request url */ | |
4714 | - request.url = url; | |
4715 | - return request; | |
4716 | -})(); | |
6714 | + /** http method */ | |
6715 | + request.method = method; | |
6716 | + /** request url */ | |
6717 | + request.url = url; | |
6718 | + return request; | |
6719 | + })(); | |
4717 | 6720 | |
4718 | -/** @description request parameter type for postOrderErpOrderDeleteById */ | |
4719 | -export interface PostOrderErpOrderDeleteByIdOption { | |
6721 | +/** @description request parameter type for postOrderErpProfitAnalysis */ | |
6722 | +export interface PostOrderErpProfitAnalysisOption { | |
4720 | 6723 | /** |
4721 | 6724 | * @description |
4722 | - * orderBaseInfoQueryVO | |
6725 | + * orderProfitAnalysisVo | |
4723 | 6726 | */ |
4724 | 6727 | body: { |
4725 | 6728 | /** |
4726 | 6729 | @description |
4727 | - orderBaseInfoQueryVO */ | |
4728 | - orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
6730 | + orderProfitAnalysisVo */ | |
6731 | + orderProfitAnalysisVo: OrderProfitAnalysisVo; | |
4729 | 6732 | }; |
4730 | 6733 | } |
4731 | 6734 | |
4732 | -/** @description response type for postOrderErpOrderDeleteById */ | |
4733 | -export interface PostOrderErpOrderDeleteByIdResponse { | |
6735 | +/** @description response type for postOrderErpProfitAnalysis */ | |
6736 | +export interface PostOrderErpProfitAnalysisResponse { | |
4734 | 6737 | /** |
4735 | 6738 | * @description |
4736 | 6739 | * OK |
... | ... | @@ -4758,25 +6761,25 @@ export interface PostOrderErpOrderDeleteByIdResponse { |
4758 | 6761 | 404: any; |
4759 | 6762 | } |
4760 | 6763 | |
4761 | -export type PostOrderErpOrderDeleteByIdResponseSuccess = | |
4762 | - PostOrderErpOrderDeleteByIdResponse[200]; | |
6764 | +export type PostOrderErpProfitAnalysisResponseSuccess = | |
6765 | + PostOrderErpProfitAnalysisResponse[200]; | |
4763 | 6766 | /** |
4764 | 6767 | * @description |
4765 | - * 删除数据 | |
4766 | - * @tags 订单管理 | |
6768 | + * analysis | |
6769 | + * @tags order-profit-controller | |
4767 | 6770 | * @produces * |
4768 | 6771 | * @consumes application/json |
4769 | 6772 | */ |
4770 | -export const postOrderErpOrderDeleteById = /* #__PURE__ */ (() => { | |
6773 | +export const postOrderErpProfitAnalysis = /* #__PURE__ */ (() => { | |
4771 | 6774 | const method = "post"; |
4772 | - const url = "/order/erp/order/delete_by_id"; | |
6775 | + const url = "/order/erp/profit/analysis"; | |
4773 | 6776 | function request( |
4774 | - option: PostOrderErpOrderDeleteByIdOption | |
4775 | - ): Promise<PostOrderErpOrderDeleteByIdResponseSuccess> { | |
6777 | + option: PostOrderErpProfitAnalysisOption | |
6778 | + ): Promise<PostOrderErpProfitAnalysisResponseSuccess> { | |
4776 | 6779 | return requester(request.url, { |
4777 | 6780 | method: request.method, |
4778 | 6781 | ...option, |
4779 | - }) as unknown as Promise<PostOrderErpOrderDeleteByIdResponseSuccess>; | |
6782 | + }) as unknown as Promise<PostOrderErpProfitAnalysisResponseSuccess>; | |
4780 | 6783 | } |
4781 | 6784 | |
4782 | 6785 | /** http method */ |
... | ... | @@ -4786,22 +6789,22 @@ export const postOrderErpOrderDeleteById = /* #__PURE__ */ (() => { |
4786 | 6789 | return request; |
4787 | 6790 | })(); |
4788 | 6791 | |
4789 | -/** @description request parameter type for postOrderErpOrderEdit */ | |
4790 | -export interface PostOrderErpOrderEditOption { | |
6792 | +/** @description request parameter type for postOrderErpRolesAdd */ | |
6793 | +export interface PostOrderErpRolesAddOption { | |
4791 | 6794 | /** |
4792 | 6795 | * @description |
4793 | - * updateVO | |
6796 | + * roleVO | |
4794 | 6797 | */ |
4795 | 6798 | body: { |
4796 | 6799 | /** |
4797 | 6800 | @description |
4798 | - updateVO */ | |
4799 | - updateVO: OrderUpdateVO; | |
6801 | + roleVO */ | |
6802 | + roleVO: AdminRoleVO; | |
4800 | 6803 | }; |
4801 | 6804 | } |
4802 | 6805 | |
4803 | -/** @description response type for postOrderErpOrderEdit */ | |
4804 | -export interface PostOrderErpOrderEditResponse { | |
6806 | +/** @description response type for postOrderErpRolesAdd */ | |
6807 | +export interface PostOrderErpRolesAddResponse { | |
4805 | 6808 | /** |
4806 | 6809 | * @description |
4807 | 6810 | * OK |
... | ... | @@ -4829,25 +6832,25 @@ export interface PostOrderErpOrderEditResponse { |
4829 | 6832 | 404: any; |
4830 | 6833 | } |
4831 | 6834 | |
4832 | -export type PostOrderErpOrderEditResponseSuccess = | |
4833 | - PostOrderErpOrderEditResponse[200]; | |
6835 | +export type PostOrderErpRolesAddResponseSuccess = | |
6836 | + PostOrderErpRolesAddResponse[200]; | |
4834 | 6837 | /** |
4835 | 6838 | * @description |
4836 | - * 编辑数据 | |
4837 | - * @tags 订单管理 | |
6839 | + * 新增角色 | |
6840 | + * @tags 系统:角色管理 | |
4838 | 6841 | * @produces * |
4839 | 6842 | * @consumes application/json |
4840 | 6843 | */ |
4841 | -export const postOrderErpOrderEdit = /* #__PURE__ */ (() => { | |
6844 | +export const postOrderErpRolesAdd = /* #__PURE__ */ (() => { | |
4842 | 6845 | const method = "post"; |
4843 | - const url = "/order/erp/order/edit"; | |
6846 | + const url = "/order/erp/roles/add"; | |
4844 | 6847 | function request( |
4845 | - option: PostOrderErpOrderEditOption | |
4846 | - ): Promise<PostOrderErpOrderEditResponseSuccess> { | |
6848 | + option: PostOrderErpRolesAddOption | |
6849 | + ): Promise<PostOrderErpRolesAddResponseSuccess> { | |
4847 | 6850 | return requester(request.url, { |
4848 | 6851 | method: request.method, |
4849 | 6852 | ...option, |
4850 | - }) as unknown as Promise<PostOrderErpOrderEditResponseSuccess>; | |
6853 | + }) as unknown as Promise<PostOrderErpRolesAddResponseSuccess>; | |
4851 | 6854 | } |
4852 | 6855 | |
4853 | 6856 | /** http method */ |
... | ... | @@ -4857,22 +6860,22 @@ export const postOrderErpOrderEdit = /* #__PURE__ */ (() => { |
4857 | 6860 | return request; |
4858 | 6861 | })(); |
4859 | 6862 | |
4860 | -/** @description request parameter type for postOrderErpOrderExport */ | |
4861 | -export interface PostOrderErpOrderExportOption { | |
6863 | +/** @description request parameter type for postOrderErpRolesAll */ | |
6864 | +export interface PostOrderErpRolesAllOption { | |
4862 | 6865 | /** |
4863 | 6866 | * @description |
4864 | - * orderBaseInfoQueryVO | |
6867 | + * queryVO | |
4865 | 6868 | */ |
4866 | 6869 | body: { |
4867 | 6870 | /** |
4868 | 6871 | @description |
4869 | - orderBaseInfoQueryVO */ | |
4870 | - orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
6872 | + queryVO */ | |
6873 | + queryVO: AdminRoleQueryVO; | |
4871 | 6874 | }; |
4872 | 6875 | } |
4873 | 6876 | |
4874 | -/** @description response type for postOrderErpOrderExport */ | |
4875 | -export interface PostOrderErpOrderExportResponse { | |
6877 | +/** @description response type for postOrderErpRolesAll */ | |
6878 | +export interface PostOrderErpRolesAllResponse { | |
4876 | 6879 | /** |
4877 | 6880 | * @description |
4878 | 6881 | * OK |
... | ... | @@ -4900,25 +6903,25 @@ export interface PostOrderErpOrderExportResponse { |
4900 | 6903 | 404: any; |
4901 | 6904 | } |
4902 | 6905 | |
4903 | -export type PostOrderErpOrderExportResponseSuccess = | |
4904 | - PostOrderErpOrderExportResponse[200]; | |
6906 | +export type PostOrderErpRolesAllResponseSuccess = | |
6907 | + PostOrderErpRolesAllResponse[200]; | |
4905 | 6908 | /** |
4906 | 6909 | * @description |
4907 | - * 导出订单 | |
4908 | - * @tags 订单管理 | |
6910 | + * 返回全部的角色 | |
6911 | + * @tags 系统:角色管理 | |
4909 | 6912 | * @produces * |
4910 | 6913 | * @consumes application/json |
4911 | 6914 | */ |
4912 | -export const postOrderErpOrderExport = /* #__PURE__ */ (() => { | |
6915 | +export const postOrderErpRolesAll = /* #__PURE__ */ (() => { | |
4913 | 6916 | const method = "post"; |
4914 | - const url = "/order/erp/order/export"; | |
6917 | + const url = "/order/erp/roles/all"; | |
4915 | 6918 | function request( |
4916 | - option: PostOrderErpOrderExportOption | |
4917 | - ): Promise<PostOrderErpOrderExportResponseSuccess> { | |
6919 | + option: PostOrderErpRolesAllOption | |
6920 | + ): Promise<PostOrderErpRolesAllResponseSuccess> { | |
4918 | 6921 | return requester(request.url, { |
4919 | 6922 | method: request.method, |
4920 | 6923 | ...option, |
4921 | - }) as unknown as Promise<PostOrderErpOrderExportResponseSuccess>; | |
6924 | + }) as unknown as Promise<PostOrderErpRolesAllResponseSuccess>; | |
4922 | 6925 | } |
4923 | 6926 | |
4924 | 6927 | /** http method */ |
... | ... | @@ -4928,22 +6931,22 @@ export const postOrderErpOrderExport = /* #__PURE__ */ (() => { |
4928 | 6931 | return request; |
4929 | 6932 | })(); |
4930 | 6933 | |
4931 | -/** @description request parameter type for postOrderErpOrderFieldUnlockApply */ | |
4932 | -export interface PostOrderErpOrderFieldUnlockApplyOption { | |
6934 | +/** @description request parameter type for postOrderErpRolesAuthMenu */ | |
6935 | +export interface PostOrderErpRolesAuthMenuOption { | |
4933 | 6936 | /** |
4934 | 6937 | * @description |
4935 | - * fieldVO | |
6938 | + * roleVO | |
4936 | 6939 | */ |
4937 | 6940 | body: { |
4938 | 6941 | /** |
4939 | 6942 | @description |
4940 | - fieldVO */ | |
4941 | - fieldVO: OrderUnlockFieldApplyVO; | |
6943 | + roleVO */ | |
6944 | + roleVO: AdminAuthRoleVO; | |
4942 | 6945 | }; |
4943 | 6946 | } |
4944 | 6947 | |
4945 | -/** @description response type for postOrderErpOrderFieldUnlockApply */ | |
4946 | -export interface PostOrderErpOrderFieldUnlockApplyResponse { | |
6948 | +/** @description response type for postOrderErpRolesAuthMenu */ | |
6949 | +export interface PostOrderErpRolesAuthMenuResponse { | |
4947 | 6950 | /** |
4948 | 6951 | * @description |
4949 | 6952 | * OK |
... | ... | @@ -4971,25 +6974,25 @@ export interface PostOrderErpOrderFieldUnlockApplyResponse { |
4971 | 6974 | 404: any; |
4972 | 6975 | } |
4973 | 6976 | |
4974 | -export type PostOrderErpOrderFieldUnlockApplyResponseSuccess = | |
4975 | - PostOrderErpOrderFieldUnlockApplyResponse[200]; | |
6977 | +export type PostOrderErpRolesAuthMenuResponseSuccess = | |
6978 | + PostOrderErpRolesAuthMenuResponse[200]; | |
4976 | 6979 | /** |
4977 | 6980 | * @description |
4978 | - * 字段解锁申请 | |
4979 | - * @tags 订单管理 | |
6981 | + * 授权角色菜单 | |
6982 | + * @tags 系统:角色管理 | |
4980 | 6983 | * @produces * |
4981 | 6984 | * @consumes application/json |
4982 | 6985 | */ |
4983 | -export const postOrderErpOrderFieldUnlockApply = /* #__PURE__ */ (() => { | |
6986 | +export const postOrderErpRolesAuthMenu = /* #__PURE__ */ (() => { | |
4984 | 6987 | const method = "post"; |
4985 | - const url = "/order/erp/order/field_unlock_apply"; | |
6988 | + const url = "/order/erp/roles/auth_menu"; | |
4986 | 6989 | function request( |
4987 | - option: PostOrderErpOrderFieldUnlockApplyOption | |
4988 | - ): Promise<PostOrderErpOrderFieldUnlockApplyResponseSuccess> { | |
6990 | + option: PostOrderErpRolesAuthMenuOption | |
6991 | + ): Promise<PostOrderErpRolesAuthMenuResponseSuccess> { | |
4989 | 6992 | return requester(request.url, { |
4990 | 6993 | method: request.method, |
4991 | 6994 | ...option, |
4992 | - }) as unknown as Promise<PostOrderErpOrderFieldUnlockApplyResponseSuccess>; | |
6995 | + }) as unknown as Promise<PostOrderErpRolesAuthMenuResponseSuccess>; | |
4993 | 6996 | } |
4994 | 6997 | |
4995 | 6998 | /** http method */ |
... | ... | @@ -4999,22 +7002,22 @@ export const postOrderErpOrderFieldUnlockApply = /* #__PURE__ */ (() => { |
4999 | 7002 | return request; |
5000 | 7003 | })(); |
5001 | 7004 | |
5002 | -/** @description request parameter type for postOrderErpOrderListByPage */ | |
5003 | -export interface PostOrderErpOrderListByPageOption { | |
7005 | +/** @description request parameter type for postOrderErpRolesDelete */ | |
7006 | +export interface PostOrderErpRolesDeleteOption { | |
5004 | 7007 | /** |
5005 | 7008 | * @description |
5006 | - * orderBaseInfoQueryVO | |
7009 | + * queryVO | |
5007 | 7010 | */ |
5008 | 7011 | body: { |
5009 | 7012 | /** |
5010 | 7013 | @description |
5011 | - orderBaseInfoQueryVO */ | |
5012 | - orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
7014 | + queryVO */ | |
7015 | + queryVO: AdminRoleQueryVO; | |
5013 | 7016 | }; |
5014 | 7017 | } |
5015 | 7018 | |
5016 | -/** @description response type for postOrderErpOrderListByPage */ | |
5017 | -export interface PostOrderErpOrderListByPageResponse { | |
7019 | +/** @description response type for postOrderErpRolesDelete */ | |
7020 | +export interface PostOrderErpRolesDeleteResponse { | |
5018 | 7021 | /** |
5019 | 7022 | * @description |
5020 | 7023 | * OK |
... | ... | @@ -5042,25 +7045,25 @@ export interface PostOrderErpOrderListByPageResponse { |
5042 | 7045 | 404: any; |
5043 | 7046 | } |
5044 | 7047 | |
5045 | -export type PostOrderErpOrderListByPageResponseSuccess = | |
5046 | - PostOrderErpOrderListByPageResponse[200]; | |
7048 | +export type PostOrderErpRolesDeleteResponseSuccess = | |
7049 | + PostOrderErpRolesDeleteResponse[200]; | |
5047 | 7050 | /** |
5048 | 7051 | * @description |
5049 | - * 分页查询 | |
5050 | - * @tags 订单管理 | |
7052 | + * 删除角色 | |
7053 | + * @tags 系统:角色管理 | |
5051 | 7054 | * @produces * |
5052 | 7055 | * @consumes application/json |
5053 | 7056 | */ |
5054 | -export const postOrderErpOrderListByPage = /* #__PURE__ */ (() => { | |
7057 | +export const postOrderErpRolesDelete = /* #__PURE__ */ (() => { | |
5055 | 7058 | const method = "post"; |
5056 | - const url = "/order/erp/order/list_by_page"; | |
7059 | + const url = "/order/erp/roles/delete"; | |
5057 | 7060 | function request( |
5058 | - option: PostOrderErpOrderListByPageOption | |
5059 | - ): Promise<PostOrderErpOrderListByPageResponseSuccess> { | |
7061 | + option: PostOrderErpRolesDeleteOption | |
7062 | + ): Promise<PostOrderErpRolesDeleteResponseSuccess> { | |
5060 | 7063 | return requester(request.url, { |
5061 | 7064 | method: request.method, |
5062 | 7065 | ...option, |
5063 | - }) as unknown as Promise<PostOrderErpOrderListByPageResponseSuccess>; | |
7066 | + }) as unknown as Promise<PostOrderErpRolesDeleteResponseSuccess>; | |
5064 | 7067 | } |
5065 | 7068 | |
5066 | 7069 | /** http method */ |
... | ... | @@ -5070,22 +7073,22 @@ export const postOrderErpOrderListByPage = /* #__PURE__ */ (() => { |
5070 | 7073 | return request; |
5071 | 7074 | })(); |
5072 | 7075 | |
5073 | -/** @description request parameter type for postOrderErpOrderQueryById */ | |
5074 | -export interface PostOrderErpOrderQueryByIdOption { | |
7076 | +/** @description request parameter type for postOrderErpRolesDetail */ | |
7077 | +export interface PostOrderErpRolesDetailOption { | |
5075 | 7078 | /** |
5076 | 7079 | * @description |
5077 | - * orderBaseInfoQueryVO | |
7080 | + * queryVO | |
5078 | 7081 | */ |
5079 | 7082 | body: { |
5080 | 7083 | /** |
5081 | 7084 | @description |
5082 | - orderBaseInfoQueryVO */ | |
5083 | - orderBaseInfoQueryVO: OrderBaseInfoQueryVO; | |
7085 | + queryVO */ | |
7086 | + queryVO: AdminRoleQueryVO; | |
5084 | 7087 | }; |
5085 | 7088 | } |
5086 | 7089 | |
5087 | -/** @description response type for postOrderErpOrderQueryById */ | |
5088 | -export interface PostOrderErpOrderQueryByIdResponse { | |
7090 | +/** @description response type for postOrderErpRolesDetail */ | |
7091 | +export interface PostOrderErpRolesDetailResponse { | |
5089 | 7092 | /** |
5090 | 7093 | * @description |
5091 | 7094 | * OK |
... | ... | @@ -5113,25 +7116,25 @@ export interface PostOrderErpOrderQueryByIdResponse { |
5113 | 7116 | 404: any; |
5114 | 7117 | } |
5115 | 7118 | |
5116 | -export type PostOrderErpOrderQueryByIdResponseSuccess = | |
5117 | - PostOrderErpOrderQueryByIdResponse[200]; | |
7119 | +export type PostOrderErpRolesDetailResponseSuccess = | |
7120 | + PostOrderErpRolesDetailResponse[200]; | |
5118 | 7121 | /** |
5119 | 7122 | * @description |
5120 | - * queryById | |
5121 | - * @tags 订单管理 | |
7123 | + * 获取单个role | |
7124 | + * @tags 系统:角色管理 | |
5122 | 7125 | * @produces * |
5123 | 7126 | * @consumes application/json |
5124 | 7127 | */ |
5125 | -export const postOrderErpOrderQueryById = /* #__PURE__ */ (() => { | |
7128 | +export const postOrderErpRolesDetail = /* #__PURE__ */ (() => { | |
5126 | 7129 | const method = "post"; |
5127 | - const url = "/order/erp/order/query_by_id"; | |
7130 | + const url = "/order/erp/roles/detail"; | |
5128 | 7131 | function request( |
5129 | - option: PostOrderErpOrderQueryByIdOption | |
5130 | - ): Promise<PostOrderErpOrderQueryByIdResponseSuccess> { | |
7132 | + option: PostOrderErpRolesDetailOption | |
7133 | + ): Promise<PostOrderErpRolesDetailResponseSuccess> { | |
5131 | 7134 | return requester(request.url, { |
5132 | 7135 | method: request.method, |
5133 | 7136 | ...option, |
5134 | - }) as unknown as Promise<PostOrderErpOrderQueryByIdResponseSuccess>; | |
7137 | + }) as unknown as Promise<PostOrderErpRolesDetailResponseSuccess>; | |
5135 | 7138 | } |
5136 | 7139 | |
5137 | 7140 | /** http method */ |
... | ... | @@ -5141,22 +7144,22 @@ export const postOrderErpOrderQueryById = /* #__PURE__ */ (() => { |
5141 | 7144 | return request; |
5142 | 7145 | })(); |
5143 | 7146 | |
5144 | -/** @description request parameter type for postOrderErpProfitAnalysis */ | |
5145 | -export interface PostOrderErpProfitAnalysisOption { | |
7147 | +/** @description request parameter type for postOrderErpRolesEdit */ | |
7148 | +export interface PostOrderErpRolesEditOption { | |
5146 | 7149 | /** |
5147 | 7150 | * @description |
5148 | - * orderProfitAnalysisVo | |
7151 | + * roleVO | |
5149 | 7152 | */ |
5150 | 7153 | body: { |
5151 | 7154 | /** |
5152 | 7155 | @description |
5153 | - orderProfitAnalysisVo */ | |
5154 | - orderProfitAnalysisVo: OrderProfitAnalysisVo; | |
7156 | + roleVO */ | |
7157 | + roleVO: AdminRoleVO; | |
5155 | 7158 | }; |
5156 | 7159 | } |
5157 | 7160 | |
5158 | -/** @description response type for postOrderErpProfitAnalysis */ | |
5159 | -export interface PostOrderErpProfitAnalysisResponse { | |
7161 | +/** @description response type for postOrderErpRolesEdit */ | |
7162 | +export interface PostOrderErpRolesEditResponse { | |
5160 | 7163 | /** |
5161 | 7164 | * @description |
5162 | 7165 | * OK |
... | ... | @@ -5184,25 +7187,25 @@ export interface PostOrderErpProfitAnalysisResponse { |
5184 | 7187 | 404: any; |
5185 | 7188 | } |
5186 | 7189 | |
5187 | -export type PostOrderErpProfitAnalysisResponseSuccess = | |
5188 | - PostOrderErpProfitAnalysisResponse[200]; | |
7190 | +export type PostOrderErpRolesEditResponseSuccess = | |
7191 | + PostOrderErpRolesEditResponse[200]; | |
5189 | 7192 | /** |
5190 | 7193 | * @description |
5191 | - * analysis | |
5192 | - * @tags order-profit-controller | |
7194 | + * 修改角色 | |
7195 | + * @tags 系统:角色管理 | |
5193 | 7196 | * @produces * |
5194 | 7197 | * @consumes application/json |
5195 | 7198 | */ |
5196 | -export const postOrderErpProfitAnalysis = /* #__PURE__ */ (() => { | |
7199 | +export const postOrderErpRolesEdit = /* #__PURE__ */ (() => { | |
5197 | 7200 | const method = "post"; |
5198 | - const url = "/order/erp/profit/analysis"; | |
7201 | + const url = "/order/erp/roles/edit"; | |
5199 | 7202 | function request( |
5200 | - option: PostOrderErpProfitAnalysisOption | |
5201 | - ): Promise<PostOrderErpProfitAnalysisResponseSuccess> { | |
7203 | + option: PostOrderErpRolesEditOption | |
7204 | + ): Promise<PostOrderErpRolesEditResponseSuccess> { | |
5202 | 7205 | return requester(request.url, { |
5203 | 7206 | method: request.method, |
5204 | 7207 | ...option, |
5205 | - }) as unknown as Promise<PostOrderErpProfitAnalysisResponseSuccess>; | |
7208 | + }) as unknown as Promise<PostOrderErpRolesEditResponseSuccess>; | |
5206 | 7209 | } |
5207 | 7210 | |
5208 | 7211 | /** http method */ |
... | ... | @@ -5212,22 +7215,22 @@ export const postOrderErpProfitAnalysis = /* #__PURE__ */ (() => { |
5212 | 7215 | return request; |
5213 | 7216 | })(); |
5214 | 7217 | |
5215 | -/** @description request parameter type for postOrderErpRolesAdd */ | |
5216 | -export interface PostOrderErpRolesAddOption { | |
7218 | +/** @description request parameter type for postOrderErpRolesListByPage */ | |
7219 | +export interface PostOrderErpRolesListByPageOption { | |
5217 | 7220 | /** |
5218 | 7221 | * @description |
5219 | - * roleVO | |
7222 | + * queryVO | |
5220 | 7223 | */ |
5221 | 7224 | body: { |
5222 | 7225 | /** |
5223 | 7226 | @description |
5224 | - roleVO */ | |
5225 | - roleVO: AdminRoleVO; | |
7227 | + queryVO */ | |
7228 | + queryVO: AdminRoleQueryVO; | |
5226 | 7229 | }; |
5227 | 7230 | } |
5228 | 7231 | |
5229 | -/** @description response type for postOrderErpRolesAdd */ | |
5230 | -export interface PostOrderErpRolesAddResponse { | |
7232 | +/** @description response type for postOrderErpRolesListByPage */ | |
7233 | +export interface PostOrderErpRolesListByPageResponse { | |
5231 | 7234 | /** |
5232 | 7235 | * @description |
5233 | 7236 | * OK |
... | ... | @@ -5255,25 +7258,25 @@ export interface PostOrderErpRolesAddResponse { |
5255 | 7258 | 404: any; |
5256 | 7259 | } |
5257 | 7260 | |
5258 | -export type PostOrderErpRolesAddResponseSuccess = | |
5259 | - PostOrderErpRolesAddResponse[200]; | |
7261 | +export type PostOrderErpRolesListByPageResponseSuccess = | |
7262 | + PostOrderErpRolesListByPageResponse[200]; | |
5260 | 7263 | /** |
5261 | 7264 | * @description |
5262 | - * 新增角色 | |
7265 | + * 查询角色 | |
5263 | 7266 | * @tags 系统:角色管理 |
5264 | 7267 | * @produces * |
5265 | 7268 | * @consumes application/json |
5266 | 7269 | */ |
5267 | -export const postOrderErpRolesAdd = /* #__PURE__ */ (() => { | |
7270 | +export const postOrderErpRolesListByPage = /* #__PURE__ */ (() => { | |
5268 | 7271 | const method = "post"; |
5269 | - const url = "/order/erp/roles/add"; | |
7272 | + const url = "/order/erp/roles/list_by_page"; | |
5270 | 7273 | function request( |
5271 | - option: PostOrderErpRolesAddOption | |
5272 | - ): Promise<PostOrderErpRolesAddResponseSuccess> { | |
7274 | + option: PostOrderErpRolesListByPageOption | |
7275 | + ): Promise<PostOrderErpRolesListByPageResponseSuccess> { | |
5273 | 7276 | return requester(request.url, { |
5274 | 7277 | method: request.method, |
5275 | 7278 | ...option, |
5276 | - }) as unknown as Promise<PostOrderErpRolesAddResponseSuccess>; | |
7279 | + }) as unknown as Promise<PostOrderErpRolesListByPageResponseSuccess>; | |
5277 | 7280 | } |
5278 | 7281 | |
5279 | 7282 | /** http method */ |
... | ... | @@ -5283,22 +7286,22 @@ export const postOrderErpRolesAdd = /* #__PURE__ */ (() => { |
5283 | 7286 | return request; |
5284 | 7287 | })(); |
5285 | 7288 | |
5286 | -/** @description request parameter type for postOrderErpRolesAll */ | |
5287 | -export interface PostOrderErpRolesAllOption { | |
7289 | +/** @description request parameter type for postOrderErpUsersAdd */ | |
7290 | +export interface PostOrderErpUsersAddOption { | |
5288 | 7291 | /** |
5289 | 7292 | * @description |
5290 | - * queryVO | |
7293 | + * userVO | |
5291 | 7294 | */ |
5292 | 7295 | body: { |
5293 | 7296 | /** |
5294 | 7297 | @description |
5295 | - queryVO */ | |
5296 | - queryVO: AdminRoleQueryVO; | |
7298 | + userVO */ | |
7299 | + userVO: AdminUserVO; | |
5297 | 7300 | }; |
5298 | 7301 | } |
5299 | 7302 | |
5300 | -/** @description response type for postOrderErpRolesAll */ | |
5301 | -export interface PostOrderErpRolesAllResponse { | |
7303 | +/** @description response type for postOrderErpUsersAdd */ | |
7304 | +export interface PostOrderErpUsersAddResponse { | |
5302 | 7305 | /** |
5303 | 7306 | * @description |
5304 | 7307 | * OK |
... | ... | @@ -5326,25 +7329,25 @@ export interface PostOrderErpRolesAllResponse { |
5326 | 7329 | 404: any; |
5327 | 7330 | } |
5328 | 7331 | |
5329 | -export type PostOrderErpRolesAllResponseSuccess = | |
5330 | - PostOrderErpRolesAllResponse[200]; | |
7332 | +export type PostOrderErpUsersAddResponseSuccess = | |
7333 | + PostOrderErpUsersAddResponse[200]; | |
5331 | 7334 | /** |
5332 | 7335 | * @description |
5333 | - * 返回全部的角色 | |
5334 | - * @tags 系统:角色管理 | |
7336 | + * 新增用户 | |
7337 | + * @tags 系统:用户管理 | |
5335 | 7338 | * @produces * |
5336 | 7339 | * @consumes application/json |
5337 | 7340 | */ |
5338 | -export const postOrderErpRolesAll = /* #__PURE__ */ (() => { | |
7341 | +export const postOrderErpUsersAdd = /* #__PURE__ */ (() => { | |
5339 | 7342 | const method = "post"; |
5340 | - const url = "/order/erp/roles/all"; | |
7343 | + const url = "/order/erp/users/add"; | |
5341 | 7344 | function request( |
5342 | - option: PostOrderErpRolesAllOption | |
5343 | - ): Promise<PostOrderErpRolesAllResponseSuccess> { | |
7345 | + option: PostOrderErpUsersAddOption | |
7346 | + ): Promise<PostOrderErpUsersAddResponseSuccess> { | |
5344 | 7347 | return requester(request.url, { |
5345 | 7348 | method: request.method, |
5346 | 7349 | ...option, |
5347 | - }) as unknown as Promise<PostOrderErpRolesAllResponseSuccess>; | |
7350 | + }) as unknown as Promise<PostOrderErpUsersAddResponseSuccess>; | |
5348 | 7351 | } |
5349 | 7352 | |
5350 | 7353 | /** http method */ |
... | ... | @@ -5354,22 +7357,22 @@ export const postOrderErpRolesAll = /* #__PURE__ */ (() => { |
5354 | 7357 | return request; |
5355 | 7358 | })(); |
5356 | 7359 | |
5357 | -/** @description request parameter type for postOrderErpRolesAuthMenu */ | |
5358 | -export interface PostOrderErpRolesAuthMenuOption { | |
7360 | +/** @description request parameter type for postOrderErpUsersAuthRole */ | |
7361 | +export interface PostOrderErpUsersAuthRoleOption { | |
5359 | 7362 | /** |
5360 | 7363 | * @description |
5361 | - * roleVO | |
7364 | + * userVO | |
5362 | 7365 | */ |
5363 | 7366 | body: { |
5364 | 7367 | /** |
5365 | 7368 | @description |
5366 | - roleVO */ | |
5367 | - roleVO: AdminAuthRoleVO; | |
7369 | + userVO */ | |
7370 | + userVO: AdminAuthUserVO; | |
5368 | 7371 | }; |
5369 | 7372 | } |
5370 | 7373 | |
5371 | -/** @description response type for postOrderErpRolesAuthMenu */ | |
5372 | -export interface PostOrderErpRolesAuthMenuResponse { | |
7374 | +/** @description response type for postOrderErpUsersAuthRole */ | |
7375 | +export interface PostOrderErpUsersAuthRoleResponse { | |
5373 | 7376 | /** |
5374 | 7377 | * @description |
5375 | 7378 | * OK |
... | ... | @@ -5397,25 +7400,25 @@ export interface PostOrderErpRolesAuthMenuResponse { |
5397 | 7400 | 404: any; |
5398 | 7401 | } |
5399 | 7402 | |
5400 | -export type PostOrderErpRolesAuthMenuResponseSuccess = | |
5401 | - PostOrderErpRolesAuthMenuResponse[200]; | |
7403 | +export type PostOrderErpUsersAuthRoleResponseSuccess = | |
7404 | + PostOrderErpUsersAuthRoleResponse[200]; | |
5402 | 7405 | /** |
5403 | 7406 | * @description |
5404 | - * 授权角色菜单 | |
5405 | - * @tags 系统:角色管理 | |
7407 | + * 授权角色 | |
7408 | + * @tags 系统:用户管理 | |
5406 | 7409 | * @produces * |
5407 | 7410 | * @consumes application/json |
5408 | 7411 | */ |
5409 | -export const postOrderErpRolesAuthMenu = /* #__PURE__ */ (() => { | |
7412 | +export const postOrderErpUsersAuthRole = /* #__PURE__ */ (() => { | |
5410 | 7413 | const method = "post"; |
5411 | - const url = "/order/erp/roles/auth_menu"; | |
7414 | + const url = "/order/erp/users/auth_role"; | |
5412 | 7415 | function request( |
5413 | - option: PostOrderErpRolesAuthMenuOption | |
5414 | - ): Promise<PostOrderErpRolesAuthMenuResponseSuccess> { | |
7416 | + option: PostOrderErpUsersAuthRoleOption | |
7417 | + ): Promise<PostOrderErpUsersAuthRoleResponseSuccess> { | |
5415 | 7418 | return requester(request.url, { |
5416 | 7419 | method: request.method, |
5417 | 7420 | ...option, |
5418 | - }) as unknown as Promise<PostOrderErpRolesAuthMenuResponseSuccess>; | |
7421 | + }) as unknown as Promise<PostOrderErpUsersAuthRoleResponseSuccess>; | |
5419 | 7422 | } |
5420 | 7423 | |
5421 | 7424 | /** http method */ |
... | ... | @@ -5425,8 +7428,8 @@ export const postOrderErpRolesAuthMenu = /* #__PURE__ */ (() => { |
5425 | 7428 | return request; |
5426 | 7429 | })(); |
5427 | 7430 | |
5428 | -/** @description request parameter type for postOrderErpRolesDelete */ | |
5429 | -export interface PostOrderErpRolesDeleteOption { | |
7431 | +/** @description request parameter type for postOrderErpUsersDelete */ | |
7432 | +export interface PostOrderErpUsersDeleteOption { | |
5430 | 7433 | /** |
5431 | 7434 | * @description |
5432 | 7435 | * queryVO |
... | ... | @@ -5435,12 +7438,12 @@ export interface PostOrderErpRolesDeleteOption { |
5435 | 7438 | /** |
5436 | 7439 | @description |
5437 | 7440 | queryVO */ |
5438 | - queryVO: AdminRoleQueryVO; | |
7441 | + queryVO: AdminUserQueryVO; | |
5439 | 7442 | }; |
5440 | 7443 | } |
5441 | 7444 | |
5442 | -/** @description response type for postOrderErpRolesDelete */ | |
5443 | -export interface PostOrderErpRolesDeleteResponse { | |
7445 | +/** @description response type for postOrderErpUsersDelete */ | |
7446 | +export interface PostOrderErpUsersDeleteResponse { | |
5444 | 7447 | /** |
5445 | 7448 | * @description |
5446 | 7449 | * OK |
... | ... | @@ -5468,25 +7471,25 @@ export interface PostOrderErpRolesDeleteResponse { |
5468 | 7471 | 404: any; |
5469 | 7472 | } |
5470 | 7473 | |
5471 | -export type PostOrderErpRolesDeleteResponseSuccess = | |
5472 | - PostOrderErpRolesDeleteResponse[200]; | |
7474 | +export type PostOrderErpUsersDeleteResponseSuccess = | |
7475 | + PostOrderErpUsersDeleteResponse[200]; | |
5473 | 7476 | /** |
5474 | 7477 | * @description |
5475 | - * 删除角色 | |
5476 | - * @tags 系统:角色管理 | |
7478 | + * 删除用户 | |
7479 | + * @tags 系统:用户管理 | |
5477 | 7480 | * @produces * |
5478 | 7481 | * @consumes application/json |
5479 | 7482 | */ |
5480 | -export const postOrderErpRolesDelete = /* #__PURE__ */ (() => { | |
7483 | +export const postOrderErpUsersDelete = /* #__PURE__ */ (() => { | |
5481 | 7484 | const method = "post"; |
5482 | - const url = "/order/erp/roles/delete"; | |
7485 | + const url = "/order/erp/users/delete"; | |
5483 | 7486 | function request( |
5484 | - option: PostOrderErpRolesDeleteOption | |
5485 | - ): Promise<PostOrderErpRolesDeleteResponseSuccess> { | |
7487 | + option: PostOrderErpUsersDeleteOption | |
7488 | + ): Promise<PostOrderErpUsersDeleteResponseSuccess> { | |
5486 | 7489 | return requester(request.url, { |
5487 | 7490 | method: request.method, |
5488 | 7491 | ...option, |
5489 | - }) as unknown as Promise<PostOrderErpRolesDeleteResponseSuccess>; | |
7492 | + }) as unknown as Promise<PostOrderErpUsersDeleteResponseSuccess>; | |
5490 | 7493 | } |
5491 | 7494 | |
5492 | 7495 | /** http method */ |
... | ... | @@ -5496,22 +7499,22 @@ export const postOrderErpRolesDelete = /* #__PURE__ */ (() => { |
5496 | 7499 | return request; |
5497 | 7500 | })(); |
5498 | 7501 | |
5499 | -/** @description request parameter type for postOrderErpRolesDetail */ | |
5500 | -export interface PostOrderErpRolesDetailOption { | |
7502 | +/** @description request parameter type for postOrderErpUsersEdit */ | |
7503 | +export interface PostOrderErpUsersEditOption { | |
5501 | 7504 | /** |
5502 | 7505 | * @description |
5503 | - * queryVO | |
7506 | + * userVO | |
5504 | 7507 | */ |
5505 | 7508 | body: { |
5506 | 7509 | /** |
5507 | 7510 | @description |
5508 | - queryVO */ | |
5509 | - queryVO: AdminRoleQueryVO; | |
7511 | + userVO */ | |
7512 | + userVO: AdminUserVO; | |
5510 | 7513 | }; |
5511 | 7514 | } |
5512 | 7515 | |
5513 | -/** @description response type for postOrderErpRolesDetail */ | |
5514 | -export interface PostOrderErpRolesDetailResponse { | |
7516 | +/** @description response type for postOrderErpUsersEdit */ | |
7517 | +export interface PostOrderErpUsersEditResponse { | |
5515 | 7518 | /** |
5516 | 7519 | * @description |
5517 | 7520 | * OK |
... | ... | @@ -5539,25 +7542,25 @@ export interface PostOrderErpRolesDetailResponse { |
5539 | 7542 | 404: any; |
5540 | 7543 | } |
5541 | 7544 | |
5542 | -export type PostOrderErpRolesDetailResponseSuccess = | |
5543 | - PostOrderErpRolesDetailResponse[200]; | |
7545 | +export type PostOrderErpUsersEditResponseSuccess = | |
7546 | + PostOrderErpUsersEditResponse[200]; | |
5544 | 7547 | /** |
5545 | 7548 | * @description |
5546 | - * 获取单个role | |
5547 | - * @tags 系统:角色管理 | |
7549 | + * 修改用户 | |
7550 | + * @tags 系统:用户管理 | |
5548 | 7551 | * @produces * |
5549 | 7552 | * @consumes application/json |
5550 | 7553 | */ |
5551 | -export const postOrderErpRolesDetail = /* #__PURE__ */ (() => { | |
7554 | +export const postOrderErpUsersEdit = /* #__PURE__ */ (() => { | |
5552 | 7555 | const method = "post"; |
5553 | - const url = "/order/erp/roles/detail"; | |
7556 | + const url = "/order/erp/users/edit"; | |
5554 | 7557 | function request( |
5555 | - option: PostOrderErpRolesDetailOption | |
5556 | - ): Promise<PostOrderErpRolesDetailResponseSuccess> { | |
7558 | + option: PostOrderErpUsersEditOption | |
7559 | + ): Promise<PostOrderErpUsersEditResponseSuccess> { | |
5557 | 7560 | return requester(request.url, { |
5558 | 7561 | method: request.method, |
5559 | 7562 | ...option, |
5560 | - }) as unknown as Promise<PostOrderErpRolesDetailResponseSuccess>; | |
7563 | + }) as unknown as Promise<PostOrderErpUsersEditResponseSuccess>; | |
5561 | 7564 | } |
5562 | 7565 | |
5563 | 7566 | /** http method */ |
... | ... | @@ -5567,22 +7570,22 @@ export const postOrderErpRolesDetail = /* #__PURE__ */ (() => { |
5567 | 7570 | return request; |
5568 | 7571 | })(); |
5569 | 7572 | |
5570 | -/** @description request parameter type for postOrderErpRolesEdit */ | |
5571 | -export interface PostOrderErpRolesEditOption { | |
7573 | +/** @description request parameter type for postOrderErpUsersListByPage */ | |
7574 | +export interface PostOrderErpUsersListByPageOption { | |
5572 | 7575 | /** |
5573 | 7576 | * @description |
5574 | - * roleVO | |
7577 | + * queryVO | |
5575 | 7578 | */ |
5576 | 7579 | body: { |
5577 | 7580 | /** |
5578 | 7581 | @description |
5579 | - roleVO */ | |
5580 | - roleVO: AdminRoleVO; | |
7582 | + queryVO */ | |
7583 | + queryVO: AdminUserQueryVO; | |
5581 | 7584 | }; |
5582 | 7585 | } |
5583 | 7586 | |
5584 | -/** @description response type for postOrderErpRolesEdit */ | |
5585 | -export interface PostOrderErpRolesEditResponse { | |
7587 | +/** @description response type for postOrderErpUsersListByPage */ | |
7588 | +export interface PostOrderErpUsersListByPageResponse { | |
5586 | 7589 | /** |
5587 | 7590 | * @description |
5588 | 7591 | * OK |
... | ... | @@ -5610,25 +7613,25 @@ export interface PostOrderErpRolesEditResponse { |
5610 | 7613 | 404: any; |
5611 | 7614 | } |
5612 | 7615 | |
5613 | -export type PostOrderErpRolesEditResponseSuccess = | |
5614 | - PostOrderErpRolesEditResponse[200]; | |
7616 | +export type PostOrderErpUsersListByPageResponseSuccess = | |
7617 | + PostOrderErpUsersListByPageResponse[200]; | |
5615 | 7618 | /** |
5616 | 7619 | * @description |
5617 | - * 修改角色 | |
5618 | - * @tags 系统:角色管理 | |
7620 | + * 查询用户 | |
7621 | + * @tags 系统:用户管理 | |
5619 | 7622 | * @produces * |
5620 | 7623 | * @consumes application/json |
5621 | 7624 | */ |
5622 | -export const postOrderErpRolesEdit = /* #__PURE__ */ (() => { | |
7625 | +export const postOrderErpUsersListByPage = /* #__PURE__ */ (() => { | |
5623 | 7626 | const method = "post"; |
5624 | - const url = "/order/erp/roles/edit"; | |
7627 | + const url = "/order/erp/users/list_by_page"; | |
5625 | 7628 | function request( |
5626 | - option: PostOrderErpRolesEditOption | |
5627 | - ): Promise<PostOrderErpRolesEditResponseSuccess> { | |
7629 | + option: PostOrderErpUsersListByPageOption | |
7630 | + ): Promise<PostOrderErpUsersListByPageResponseSuccess> { | |
5628 | 7631 | return requester(request.url, { |
5629 | 7632 | method: request.method, |
5630 | 7633 | ...option, |
5631 | - }) as unknown as Promise<PostOrderErpRolesEditResponseSuccess>; | |
7634 | + }) as unknown as Promise<PostOrderErpUsersListByPageResponseSuccess>; | |
5632 | 7635 | } |
5633 | 7636 | |
5634 | 7637 | /** http method */ |
... | ... | @@ -5638,22 +7641,22 @@ export const postOrderErpRolesEdit = /* #__PURE__ */ (() => { |
5638 | 7641 | return request; |
5639 | 7642 | })(); |
5640 | 7643 | |
5641 | -/** @description request parameter type for postOrderErpRolesListByPage */ | |
5642 | -export interface PostOrderErpRolesListByPageOption { | |
7644 | +/** @description request parameter type for postOrderErpUsersReset */ | |
7645 | +export interface PostOrderErpUsersResetOption { | |
5643 | 7646 | /** |
5644 | 7647 | * @description |
5645 | - * queryVO | |
7648 | + * resetPwdVO | |
5646 | 7649 | */ |
5647 | 7650 | body: { |
5648 | 7651 | /** |
5649 | 7652 | @description |
5650 | - queryVO */ | |
5651 | - queryVO: AdminRoleQueryVO; | |
7653 | + resetPwdVO */ | |
7654 | + resetPwdVO: ResetPwdVO; | |
5652 | 7655 | }; |
5653 | 7656 | } |
5654 | 7657 | |
5655 | -/** @description response type for postOrderErpRolesListByPage */ | |
5656 | -export interface PostOrderErpRolesListByPageResponse { | |
7658 | +/** @description response type for postOrderErpUsersReset */ | |
7659 | +export interface PostOrderErpUsersResetResponse { | |
5657 | 7660 | /** |
5658 | 7661 | * @description |
5659 | 7662 | * OK |
... | ... | @@ -5681,25 +7684,25 @@ export interface PostOrderErpRolesListByPageResponse { |
5681 | 7684 | 404: any; |
5682 | 7685 | } |
5683 | 7686 | |
5684 | -export type PostOrderErpRolesListByPageResponseSuccess = | |
5685 | - PostOrderErpRolesListByPageResponse[200]; | |
7687 | +export type PostOrderErpUsersResetResponseSuccess = | |
7688 | + PostOrderErpUsersResetResponse[200]; | |
5686 | 7689 | /** |
5687 | 7690 | * @description |
5688 | - * 查询角色 | |
5689 | - * @tags 系统:角色管理 | |
7691 | + * 重置密码 | |
7692 | + * @tags 系统:用户管理 | |
5690 | 7693 | * @produces * |
5691 | 7694 | * @consumes application/json |
5692 | 7695 | */ |
5693 | -export const postOrderErpRolesListByPage = /* #__PURE__ */ (() => { | |
7696 | +export const postOrderErpUsersReset = /* #__PURE__ */ (() => { | |
5694 | 7697 | const method = "post"; |
5695 | - const url = "/order/erp/roles/list_by_page"; | |
7698 | + const url = "/order/erp/users/reset"; | |
5696 | 7699 | function request( |
5697 | - option: PostOrderErpRolesListByPageOption | |
5698 | - ): Promise<PostOrderErpRolesListByPageResponseSuccess> { | |
7700 | + option: PostOrderErpUsersResetOption | |
7701 | + ): Promise<PostOrderErpUsersResetResponseSuccess> { | |
5699 | 7702 | return requester(request.url, { |
5700 | 7703 | method: request.method, |
5701 | 7704 | ...option, |
5702 | - }) as unknown as Promise<PostOrderErpRolesListByPageResponseSuccess>; | |
7705 | + }) as unknown as Promise<PostOrderErpUsersResetResponseSuccess>; | |
5703 | 7706 | } |
5704 | 7707 | |
5705 | 7708 | /** http method */ |
... | ... | @@ -5709,22 +7712,22 @@ export const postOrderErpRolesListByPage = /* #__PURE__ */ (() => { |
5709 | 7712 | return request; |
5710 | 7713 | })(); |
5711 | 7714 | |
5712 | -/** @description request parameter type for postOrderErpUsersAdd */ | |
5713 | -export interface PostOrderErpUsersAddOption { | |
7715 | +/** @description request parameter type for postOrderErpUsersUpdatePass */ | |
7716 | +export interface PostOrderErpUsersUpdatePassOption { | |
5714 | 7717 | /** |
5715 | 7718 | * @description |
5716 | - * userVO | |
7719 | + * pwdVO | |
5717 | 7720 | */ |
5718 | 7721 | body: { |
5719 | 7722 | /** |
5720 | 7723 | @description |
5721 | - userVO */ | |
5722 | - userVO: AdminUserVO; | |
7724 | + pwdVO */ | |
7725 | + pwdVO: UpdatePwdVO; | |
5723 | 7726 | }; |
5724 | 7727 | } |
5725 | 7728 | |
5726 | -/** @description response type for postOrderErpUsersAdd */ | |
5727 | -export interface PostOrderErpUsersAddResponse { | |
7729 | +/** @description response type for postOrderErpUsersUpdatePass */ | |
7730 | +export interface PostOrderErpUsersUpdatePassResponse { | |
5728 | 7731 | /** |
5729 | 7732 | * @description |
5730 | 7733 | * OK |
... | ... | @@ -5752,25 +7755,25 @@ export interface PostOrderErpUsersAddResponse { |
5752 | 7755 | 404: any; |
5753 | 7756 | } |
5754 | 7757 | |
5755 | -export type PostOrderErpUsersAddResponseSuccess = | |
5756 | - PostOrderErpUsersAddResponse[200]; | |
7758 | +export type PostOrderErpUsersUpdatePassResponseSuccess = | |
7759 | + PostOrderErpUsersUpdatePassResponse[200]; | |
5757 | 7760 | /** |
5758 | 7761 | * @description |
5759 | - * 新增用户 | |
7762 | + * 修改密码 | |
5760 | 7763 | * @tags 系统:用户管理 |
5761 | 7764 | * @produces * |
5762 | 7765 | * @consumes application/json |
5763 | 7766 | */ |
5764 | -export const postOrderErpUsersAdd = /* #__PURE__ */ (() => { | |
7767 | +export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => { | |
5765 | 7768 | const method = "post"; |
5766 | - const url = "/order/erp/users/add"; | |
7769 | + const url = "/order/erp/users/update_pass"; | |
5767 | 7770 | function request( |
5768 | - option: PostOrderErpUsersAddOption | |
5769 | - ): Promise<PostOrderErpUsersAddResponseSuccess> { | |
7771 | + option: PostOrderErpUsersUpdatePassOption | |
7772 | + ): Promise<PostOrderErpUsersUpdatePassResponseSuccess> { | |
5770 | 7773 | return requester(request.url, { |
5771 | 7774 | method: request.method, |
5772 | 7775 | ...option, |
5773 | - }) as unknown as Promise<PostOrderErpUsersAddResponseSuccess>; | |
7776 | + }) as unknown as Promise<PostOrderErpUsersUpdatePassResponseSuccess>; | |
5774 | 7777 | } |
5775 | 7778 | |
5776 | 7779 | /** http method */ |
... | ... | @@ -5780,22 +7783,22 @@ export const postOrderErpUsersAdd = /* #__PURE__ */ (() => { |
5780 | 7783 | return request; |
5781 | 7784 | })(); |
5782 | 7785 | |
5783 | -/** @description request parameter type for postOrderErpUsersAuthRole */ | |
5784 | -export interface PostOrderErpUsersAuthRoleOption { | |
7786 | +/** @description request parameter type for postOrderImportImportWeightAndVolume */ | |
7787 | +export interface PostOrderImportImportWeightAndVolumeOption { | |
5785 | 7788 | /** |
5786 | 7789 | * @description |
5787 | - * userVO | |
7790 | + * file | |
5788 | 7791 | */ |
5789 | - body: { | |
7792 | + formData: { | |
5790 | 7793 | /** |
5791 | 7794 | @description |
5792 | - userVO */ | |
5793 | - userVO: AdminAuthUserVO; | |
7795 | + file */ | |
7796 | + file: File; | |
5794 | 7797 | }; |
5795 | 7798 | } |
5796 | 7799 | |
5797 | -/** @description response type for postOrderErpUsersAuthRole */ | |
5798 | -export interface PostOrderErpUsersAuthRoleResponse { | |
7800 | +/** @description response type for postOrderImportImportWeightAndVolume */ | |
7801 | +export interface PostOrderImportImportWeightAndVolumeResponse { | |
5799 | 7802 | /** |
5800 | 7803 | * @description |
5801 | 7804 | * OK |
... | ... | @@ -5823,25 +7826,25 @@ export interface PostOrderErpUsersAuthRoleResponse { |
5823 | 7826 | 404: any; |
5824 | 7827 | } |
5825 | 7828 | |
5826 | -export type PostOrderErpUsersAuthRoleResponseSuccess = | |
5827 | - PostOrderErpUsersAuthRoleResponse[200]; | |
7829 | +export type PostOrderImportImportWeightAndVolumeResponseSuccess = | |
7830 | + PostOrderImportImportWeightAndVolumeResponse[200]; | |
5828 | 7831 | /** |
5829 | 7832 | * @description |
5830 | - * 授权角色 | |
5831 | - * @tags 系统:用户管理 | |
7833 | + * 导入重量和体积 | |
7834 | + * @tags 导入 | |
5832 | 7835 | * @produces * |
5833 | - * @consumes application/json | |
7836 | + * @consumes multipart/form-data | |
5834 | 7837 | */ |
5835 | -export const postOrderErpUsersAuthRole = /* #__PURE__ */ (() => { | |
7838 | +export const postOrderImportImportWeightAndVolume = /* #__PURE__ */ (() => { | |
5836 | 7839 | const method = "post"; |
5837 | - const url = "/order/erp/users/auth_role"; | |
7840 | + const url = "/order/import/importWeightAndVolume"; | |
5838 | 7841 | function request( |
5839 | - option: PostOrderErpUsersAuthRoleOption | |
5840 | - ): Promise<PostOrderErpUsersAuthRoleResponseSuccess> { | |
7842 | + option: PostOrderImportImportWeightAndVolumeOption | |
7843 | + ): Promise<PostOrderImportImportWeightAndVolumeResponseSuccess> { | |
5841 | 7844 | return requester(request.url, { |
5842 | 7845 | method: request.method, |
5843 | 7846 | ...option, |
5844 | - }) as unknown as Promise<PostOrderErpUsersAuthRoleResponseSuccess>; | |
7847 | + }) as unknown as Promise<PostOrderImportImportWeightAndVolumeResponseSuccess>; | |
5845 | 7848 | } |
5846 | 7849 | |
5847 | 7850 | /** http method */ |
... | ... | @@ -5851,22 +7854,22 @@ export const postOrderErpUsersAuthRole = /* #__PURE__ */ (() => { |
5851 | 7854 | return request; |
5852 | 7855 | })(); |
5853 | 7856 | |
5854 | -/** @description request parameter type for postOrderErpUsersDelete */ | |
5855 | -export interface PostOrderErpUsersDeleteOption { | |
7857 | +/** @description request parameter type for postPrepaidAudit */ | |
7858 | +export interface PostPrepaidAuditOption { | |
5856 | 7859 | /** |
5857 | 7860 | * @description |
5858 | - * queryVO | |
7861 | + * request | |
5859 | 7862 | */ |
5860 | 7863 | body: { |
5861 | 7864 | /** |
5862 | 7865 | @description |
5863 | - queryVO */ | |
5864 | - queryVO: AdminUserQueryVO; | |
7866 | + request */ | |
7867 | + request: SalesRechargePrepaymentAuditRequest; | |
5865 | 7868 | }; |
5866 | 7869 | } |
5867 | 7870 | |
5868 | -/** @description response type for postOrderErpUsersDelete */ | |
5869 | -export interface PostOrderErpUsersDeleteResponse { | |
7871 | +/** @description response type for postPrepaidAudit */ | |
7872 | +export interface PostPrepaidAuditResponse { | |
5870 | 7873 | /** |
5871 | 7874 | * @description |
5872 | 7875 | * OK |
... | ... | @@ -5894,25 +7897,24 @@ export interface PostOrderErpUsersDeleteResponse { |
5894 | 7897 | 404: any; |
5895 | 7898 | } |
5896 | 7899 | |
5897 | -export type PostOrderErpUsersDeleteResponseSuccess = | |
5898 | - PostOrderErpUsersDeleteResponse[200]; | |
7900 | +export type PostPrepaidAuditResponseSuccess = PostPrepaidAuditResponse[200]; | |
5899 | 7901 | /** |
5900 | 7902 | * @description |
5901 | - * 删除用户 | |
5902 | - * @tags 系统:用户管理 | |
7903 | + * 财务审核 | |
7904 | + * @tags prepaid-controller | |
5903 | 7905 | * @produces * |
5904 | 7906 | * @consumes application/json |
5905 | 7907 | */ |
5906 | -export const postOrderErpUsersDelete = /* #__PURE__ */ (() => { | |
7908 | +export const postPrepaidAudit = /* #__PURE__ */ (() => { | |
5907 | 7909 | const method = "post"; |
5908 | - const url = "/order/erp/users/delete"; | |
7910 | + const url = "/prepaid/audit"; | |
5909 | 7911 | function request( |
5910 | - option: PostOrderErpUsersDeleteOption | |
5911 | - ): Promise<PostOrderErpUsersDeleteResponseSuccess> { | |
7912 | + option: PostPrepaidAuditOption | |
7913 | + ): Promise<PostPrepaidAuditResponseSuccess> { | |
5912 | 7914 | return requester(request.url, { |
5913 | 7915 | method: request.method, |
5914 | 7916 | ...option, |
5915 | - }) as unknown as Promise<PostOrderErpUsersDeleteResponseSuccess>; | |
7917 | + }) as unknown as Promise<PostPrepaidAuditResponseSuccess>; | |
5916 | 7918 | } |
5917 | 7919 | |
5918 | 7920 | /** http method */ |
... | ... | @@ -5922,22 +7924,22 @@ export const postOrderErpUsersDelete = /* #__PURE__ */ (() => { |
5922 | 7924 | return request; |
5923 | 7925 | })(); |
5924 | 7926 | |
5925 | -/** @description request parameter type for postOrderErpUsersEdit */ | |
5926 | -export interface PostOrderErpUsersEditOption { | |
7927 | +/** @description request parameter type for postPrepaidCreate */ | |
7928 | +export interface PostPrepaidCreateOption { | |
5927 | 7929 | /** |
5928 | 7930 | * @description |
5929 | - * userVO | |
7931 | + * request | |
5930 | 7932 | */ |
5931 | 7933 | body: { |
5932 | 7934 | /** |
5933 | 7935 | @description |
5934 | - userVO */ | |
5935 | - userVO: AdminUserVO; | |
7936 | + request */ | |
7937 | + request: SalesRechargePrepaymentCreateRequest; | |
5936 | 7938 | }; |
5937 | 7939 | } |
5938 | 7940 | |
5939 | -/** @description response type for postOrderErpUsersEdit */ | |
5940 | -export interface PostOrderErpUsersEditResponse { | |
7941 | +/** @description response type for postPrepaidCreate */ | |
7942 | +export interface PostPrepaidCreateResponse { | |
5941 | 7943 | /** |
5942 | 7944 | * @description |
5943 | 7945 | * OK |
... | ... | @@ -5965,25 +7967,24 @@ export interface PostOrderErpUsersEditResponse { |
5965 | 7967 | 404: any; |
5966 | 7968 | } |
5967 | 7969 | |
5968 | -export type PostOrderErpUsersEditResponseSuccess = | |
5969 | - PostOrderErpUsersEditResponse[200]; | |
7970 | +export type PostPrepaidCreateResponseSuccess = PostPrepaidCreateResponse[200]; | |
5970 | 7971 | /** |
5971 | 7972 | * @description |
5972 | - * 修改用户 | |
5973 | - * @tags 系统:用户管理 | |
7973 | + * 新增预存 | |
7974 | + * @tags prepaid-controller | |
5974 | 7975 | * @produces * |
5975 | 7976 | * @consumes application/json |
5976 | 7977 | */ |
5977 | -export const postOrderErpUsersEdit = /* #__PURE__ */ (() => { | |
7978 | +export const postPrepaidCreate = /* #__PURE__ */ (() => { | |
5978 | 7979 | const method = "post"; |
5979 | - const url = "/order/erp/users/edit"; | |
7980 | + const url = "/prepaid/create"; | |
5980 | 7981 | function request( |
5981 | - option: PostOrderErpUsersEditOption | |
5982 | - ): Promise<PostOrderErpUsersEditResponseSuccess> { | |
7982 | + option: PostPrepaidCreateOption | |
7983 | + ): Promise<PostPrepaidCreateResponseSuccess> { | |
5983 | 7984 | return requester(request.url, { |
5984 | 7985 | method: request.method, |
5985 | 7986 | ...option, |
5986 | - }) as unknown as Promise<PostOrderErpUsersEditResponseSuccess>; | |
7987 | + }) as unknown as Promise<PostPrepaidCreateResponseSuccess>; | |
5987 | 7988 | } |
5988 | 7989 | |
5989 | 7990 | /** http method */ |
... | ... | @@ -5993,22 +7994,22 @@ export const postOrderErpUsersEdit = /* #__PURE__ */ (() => { |
5993 | 7994 | return request; |
5994 | 7995 | })(); |
5995 | 7996 | |
5996 | -/** @description request parameter type for postOrderErpUsersListByPage */ | |
5997 | -export interface PostOrderErpUsersListByPageOption { | |
7997 | +/** @description request parameter type for postPrepaidDelete */ | |
7998 | +export interface PostPrepaidDeleteOption { | |
5998 | 7999 | /** |
5999 | 8000 | * @description |
6000 | - * queryVO | |
8001 | + * request | |
6001 | 8002 | */ |
6002 | 8003 | body: { |
6003 | 8004 | /** |
6004 | 8005 | @description |
6005 | - queryVO */ | |
6006 | - queryVO: AdminUserQueryVO; | |
8006 | + request */ | |
8007 | + request: SalesRechargePrepaymentDeleteRequest; | |
6007 | 8008 | }; |
6008 | 8009 | } |
6009 | 8010 | |
6010 | -/** @description response type for postOrderErpUsersListByPage */ | |
6011 | -export interface PostOrderErpUsersListByPageResponse { | |
8011 | +/** @description response type for postPrepaidDelete */ | |
8012 | +export interface PostPrepaidDeleteResponse { | |
6012 | 8013 | /** |
6013 | 8014 | * @description |
6014 | 8015 | * OK |
... | ... | @@ -6036,25 +8037,24 @@ export interface PostOrderErpUsersListByPageResponse { |
6036 | 8037 | 404: any; |
6037 | 8038 | } |
6038 | 8039 | |
6039 | -export type PostOrderErpUsersListByPageResponseSuccess = | |
6040 | - PostOrderErpUsersListByPageResponse[200]; | |
8040 | +export type PostPrepaidDeleteResponseSuccess = PostPrepaidDeleteResponse[200]; | |
6041 | 8041 | /** |
6042 | 8042 | * @description |
6043 | - * 查询用户 | |
6044 | - * @tags 系统:用户管理 | |
8043 | + * 删除预存 | |
8044 | + * @tags prepaid-controller | |
6045 | 8045 | * @produces * |
6046 | 8046 | * @consumes application/json |
6047 | 8047 | */ |
6048 | -export const postOrderErpUsersListByPage = /* #__PURE__ */ (() => { | |
8048 | +export const postPrepaidDelete = /* #__PURE__ */ (() => { | |
6049 | 8049 | const method = "post"; |
6050 | - const url = "/order/erp/users/list_by_page"; | |
8050 | + const url = "/prepaid/delete"; | |
6051 | 8051 | function request( |
6052 | - option: PostOrderErpUsersListByPageOption | |
6053 | - ): Promise<PostOrderErpUsersListByPageResponseSuccess> { | |
8052 | + option: PostPrepaidDeleteOption | |
8053 | + ): Promise<PostPrepaidDeleteResponseSuccess> { | |
6054 | 8054 | return requester(request.url, { |
6055 | 8055 | method: request.method, |
6056 | 8056 | ...option, |
6057 | - }) as unknown as Promise<PostOrderErpUsersListByPageResponseSuccess>; | |
8057 | + }) as unknown as Promise<PostPrepaidDeleteResponseSuccess>; | |
6058 | 8058 | } |
6059 | 8059 | |
6060 | 8060 | /** http method */ |
... | ... | @@ -6064,22 +8064,22 @@ export const postOrderErpUsersListByPage = /* #__PURE__ */ (() => { |
6064 | 8064 | return request; |
6065 | 8065 | })(); |
6066 | 8066 | |
6067 | -/** @description request parameter type for postOrderErpUsersReset */ | |
6068 | -export interface PostOrderErpUsersResetOption { | |
8067 | +/** @description request parameter type for postPrepaidList */ | |
8068 | +export interface PostPrepaidListOption { | |
6069 | 8069 | /** |
6070 | 8070 | * @description |
6071 | - * resetPwdVO | |
8071 | + * request | |
6072 | 8072 | */ |
6073 | 8073 | body: { |
6074 | 8074 | /** |
6075 | 8075 | @description |
6076 | - resetPwdVO */ | |
6077 | - resetPwdVO: ResetPwdVO; | |
8076 | + request */ | |
8077 | + request: SalesRechargePrepaymentRequest; | |
6078 | 8078 | }; |
6079 | 8079 | } |
6080 | 8080 | |
6081 | -/** @description response type for postOrderErpUsersReset */ | |
6082 | -export interface PostOrderErpUsersResetResponse { | |
8081 | +/** @description response type for postPrepaidList */ | |
8082 | +export interface PostPrepaidListResponse { | |
6083 | 8083 | /** |
6084 | 8084 | * @description |
6085 | 8085 | * OK |
... | ... | @@ -6107,25 +8107,24 @@ export interface PostOrderErpUsersResetResponse { |
6107 | 8107 | 404: any; |
6108 | 8108 | } |
6109 | 8109 | |
6110 | -export type PostOrderErpUsersResetResponseSuccess = | |
6111 | - PostOrderErpUsersResetResponse[200]; | |
8110 | +export type PostPrepaidListResponseSuccess = PostPrepaidListResponse[200]; | |
6112 | 8111 | /** |
6113 | 8112 | * @description |
6114 | - * 重置密码 | |
6115 | - * @tags 系统:用户管理 | |
8113 | + * 查询列表 | |
8114 | + * @tags prepaid-controller | |
6116 | 8115 | * @produces * |
6117 | 8116 | * @consumes application/json |
6118 | 8117 | */ |
6119 | -export const postOrderErpUsersReset = /* #__PURE__ */ (() => { | |
8118 | +export const postPrepaidList = /* #__PURE__ */ (() => { | |
6120 | 8119 | const method = "post"; |
6121 | - const url = "/order/erp/users/reset"; | |
8120 | + const url = "/prepaid/list"; | |
6122 | 8121 | function request( |
6123 | - option: PostOrderErpUsersResetOption | |
6124 | - ): Promise<PostOrderErpUsersResetResponseSuccess> { | |
8122 | + option: PostPrepaidListOption | |
8123 | + ): Promise<PostPrepaidListResponseSuccess> { | |
6125 | 8124 | return requester(request.url, { |
6126 | 8125 | method: request.method, |
6127 | 8126 | ...option, |
6128 | - }) as unknown as Promise<PostOrderErpUsersResetResponseSuccess>; | |
8127 | + }) as unknown as Promise<PostPrepaidListResponseSuccess>; | |
6129 | 8128 | } |
6130 | 8129 | |
6131 | 8130 | /** http method */ |
... | ... | @@ -6135,22 +8134,22 @@ export const postOrderErpUsersReset = /* #__PURE__ */ (() => { |
6135 | 8134 | return request; |
6136 | 8135 | })(); |
6137 | 8136 | |
6138 | -/** @description request parameter type for postOrderErpUsersUpdatePass */ | |
6139 | -export interface PostOrderErpUsersUpdatePassOption { | |
8137 | +/** @description request parameter type for postPrepaidUpdate */ | |
8138 | +export interface PostPrepaidUpdateOption { | |
6140 | 8139 | /** |
6141 | 8140 | * @description |
6142 | - * pwdVO | |
8141 | + * request | |
6143 | 8142 | */ |
6144 | 8143 | body: { |
6145 | 8144 | /** |
6146 | 8145 | @description |
6147 | - pwdVO */ | |
6148 | - pwdVO: UpdatePwdVO; | |
8146 | + request */ | |
8147 | + request: SalesRechargePrepaymentUpdateRequest; | |
6149 | 8148 | }; |
6150 | 8149 | } |
6151 | 8150 | |
6152 | -/** @description response type for postOrderErpUsersUpdatePass */ | |
6153 | -export interface PostOrderErpUsersUpdatePassResponse { | |
8151 | +/** @description response type for postPrepaidUpdate */ | |
8152 | +export interface PostPrepaidUpdateResponse { | |
6154 | 8153 | /** |
6155 | 8154 | * @description |
6156 | 8155 | * OK |
... | ... | @@ -6178,25 +8177,24 @@ export interface PostOrderErpUsersUpdatePassResponse { |
6178 | 8177 | 404: any; |
6179 | 8178 | } |
6180 | 8179 | |
6181 | -export type PostOrderErpUsersUpdatePassResponseSuccess = | |
6182 | - PostOrderErpUsersUpdatePassResponse[200]; | |
8180 | +export type PostPrepaidUpdateResponseSuccess = PostPrepaidUpdateResponse[200]; | |
6183 | 8181 | /** |
6184 | 8182 | * @description |
6185 | - * 修改密码 | |
6186 | - * @tags 系统:用户管理 | |
8183 | + * 修改预存 | |
8184 | + * @tags prepaid-controller | |
6187 | 8185 | * @produces * |
6188 | 8186 | * @consumes application/json |
6189 | 8187 | */ |
6190 | -export const postOrderErpUsersUpdatePass = /* #__PURE__ */ (() => { | |
8188 | +export const postPrepaidUpdate = /* #__PURE__ */ (() => { | |
6191 | 8189 | const method = "post"; |
6192 | - const url = "/order/erp/users/update_pass"; | |
8190 | + const url = "/prepaid/update"; | |
6193 | 8191 | function request( |
6194 | - option: PostOrderErpUsersUpdatePassOption | |
6195 | - ): Promise<PostOrderErpUsersUpdatePassResponseSuccess> { | |
8192 | + option: PostPrepaidUpdateOption | |
8193 | + ): Promise<PostPrepaidUpdateResponseSuccess> { | |
6196 | 8194 | return requester(request.url, { |
6197 | 8195 | method: request.method, |
6198 | 8196 | ...option, |
6199 | - }) as unknown as Promise<PostOrderErpUsersUpdatePassResponseSuccess>; | |
8197 | + }) as unknown as Promise<PostPrepaidUpdateResponseSuccess>; | |
6200 | 8198 | } |
6201 | 8199 | |
6202 | 8200 | /** http method */ |
... | ... | @@ -6541,12 +8539,83 @@ export const postServiceBankStatementQueryBankStatement = |
6541 | 8539 | }) as unknown as Promise<PostServiceBankStatementQueryBankStatementResponseSuccess>; |
6542 | 8540 | } |
6543 | 8541 | |
6544 | - /** http method */ | |
6545 | - request.method = method; | |
6546 | - /** request url */ | |
6547 | - request.url = url; | |
6548 | - return request; | |
6549 | - })(); | |
8542 | + /** http method */ | |
8543 | + request.method = method; | |
8544 | + /** request url */ | |
8545 | + request.url = url; | |
8546 | + return request; | |
8547 | + })(); | |
8548 | + | |
8549 | +/** @description request parameter type for postServiceInvoiceAddInvoice */ | |
8550 | +export interface PostServiceInvoiceAddInvoiceOption { | |
8551 | + /** | |
8552 | + * @description | |
8553 | + * dto | |
8554 | + */ | |
8555 | + body: { | |
8556 | + /** | |
8557 | + @description | |
8558 | + dto */ | |
8559 | + dto: InvoiceDto; | |
8560 | + }; | |
8561 | +} | |
8562 | + | |
8563 | +/** @description response type for postServiceInvoiceAddInvoice */ | |
8564 | +export interface PostServiceInvoiceAddInvoiceResponse { | |
8565 | + /** | |
8566 | + * @description | |
8567 | + * OK | |
8568 | + */ | |
8569 | + 200: ServerResult; | |
8570 | + /** | |
8571 | + * @description | |
8572 | + * Created | |
8573 | + */ | |
8574 | + 201: any; | |
8575 | + /** | |
8576 | + * @description | |
8577 | + * Unauthorized | |
8578 | + */ | |
8579 | + 401: any; | |
8580 | + /** | |
8581 | + * @description | |
8582 | + * Forbidden | |
8583 | + */ | |
8584 | + 403: any; | |
8585 | + /** | |
8586 | + * @description | |
8587 | + * Not Found | |
8588 | + */ | |
8589 | + 404: any; | |
8590 | +} | |
8591 | + | |
8592 | +export type PostServiceInvoiceAddInvoiceResponseSuccess = | |
8593 | + PostServiceInvoiceAddInvoiceResponse[200]; | |
8594 | +/** | |
8595 | + * @description | |
8596 | + * 添加发票 | |
8597 | + * @tags 发票 | |
8598 | + * @produces * | |
8599 | + * @consumes application/json | |
8600 | + */ | |
8601 | +export const postServiceInvoiceAddInvoice = /* #__PURE__ */ (() => { | |
8602 | + const method = "post"; | |
8603 | + const url = "/service/invoice/addInvoice"; | |
8604 | + function request( | |
8605 | + option: PostServiceInvoiceAddInvoiceOption | |
8606 | + ): Promise<PostServiceInvoiceAddInvoiceResponseSuccess> { | |
8607 | + return requester(request.url, { | |
8608 | + method: request.method, | |
8609 | + ...option, | |
8610 | + }) as unknown as Promise<PostServiceInvoiceAddInvoiceResponseSuccess>; | |
8611 | + } | |
8612 | + | |
8613 | + /** http method */ | |
8614 | + request.method = method; | |
8615 | + /** request url */ | |
8616 | + request.url = url; | |
8617 | + return request; | |
8618 | +})(); | |
6550 | 8619 | |
6551 | 8620 | /** @description request parameter type for postServiceInvoiceCancelInvoiceAndBankStatement */ |
6552 | 8621 | export interface PostServiceInvoiceCancelInvoiceAndBankStatementOption { |
... | ... | @@ -6691,6 +8760,77 @@ export const postServiceInvoiceDeleteInvoice = /* #__PURE__ */ (() => { |
6691 | 8760 | return request; |
6692 | 8761 | })(); |
6693 | 8762 | |
8763 | +/** @description request parameter type for postServiceInvoiceFindInvoice */ | |
8764 | +export interface PostServiceInvoiceFindInvoiceOption { | |
8765 | + /** | |
8766 | + * @description | |
8767 | + * dto | |
8768 | + */ | |
8769 | + body: { | |
8770 | + /** | |
8771 | + @description | |
8772 | + dto */ | |
8773 | + dto: Dto; | |
8774 | + }; | |
8775 | +} | |
8776 | + | |
8777 | +/** @description response type for postServiceInvoiceFindInvoice */ | |
8778 | +export interface PostServiceInvoiceFindInvoiceResponse { | |
8779 | + /** | |
8780 | + * @description | |
8781 | + * OK | |
8782 | + */ | |
8783 | + 200: ServerResult; | |
8784 | + /** | |
8785 | + * @description | |
8786 | + * Created | |
8787 | + */ | |
8788 | + 201: any; | |
8789 | + /** | |
8790 | + * @description | |
8791 | + * Unauthorized | |
8792 | + */ | |
8793 | + 401: any; | |
8794 | + /** | |
8795 | + * @description | |
8796 | + * Forbidden | |
8797 | + */ | |
8798 | + 403: any; | |
8799 | + /** | |
8800 | + * @description | |
8801 | + * Not Found | |
8802 | + */ | |
8803 | + 404: any; | |
8804 | +} | |
8805 | + | |
8806 | +export type PostServiceInvoiceFindInvoiceResponseSuccess = | |
8807 | + PostServiceInvoiceFindInvoiceResponse[200]; | |
8808 | +/** | |
8809 | + * @description | |
8810 | + * 不分页查询发票 | |
8811 | + * @tags 发票 | |
8812 | + * @produces * | |
8813 | + * @consumes application/json | |
8814 | + */ | |
8815 | +export const postServiceInvoiceFindInvoice = /* #__PURE__ */ (() => { | |
8816 | + const method = "post"; | |
8817 | + const url = "/service/invoice/findInvoice"; | |
8818 | + function request( | |
8819 | + option: PostServiceInvoiceFindInvoiceOption | |
8820 | + ): Promise<PostServiceInvoiceFindInvoiceResponseSuccess> { | |
8821 | + return requester(request.url, { | |
8822 | + method: request.method, | |
8823 | + ...option, | |
8824 | + }) as unknown as Promise<PostServiceInvoiceFindInvoiceResponseSuccess>; | |
8825 | + } | |
8826 | + | |
8827 | + /** http method */ | |
8828 | + request.method = method; | |
8829 | + /** request url */ | |
8830 | + request.url = url; | |
8831 | + return request; | |
8832 | +})(); | |
8833 | + | |
6694 | 8834 | /** @description request parameter type for postServiceInvoiceInvoiceWriteOff */ |
6695 | 8835 | export interface PostServiceInvoiceInvoiceWriteOffOption { |
6696 | 8836 | /** |
... | ... | @@ -6904,6 +9044,77 @@ export const postServiceInvoiceQueryInvoiceDetail = /* #__PURE__ */ (() => { |
6904 | 9044 | return request; |
6905 | 9045 | })(); |
6906 | 9046 | |
9047 | +/** @description request parameter type for postServiceInvoiceReissue */ | |
9048 | +export interface PostServiceInvoiceReissueOption { | |
9049 | + /** | |
9050 | + * @description | |
9051 | + * dto | |
9052 | + */ | |
9053 | + body: { | |
9054 | + /** | |
9055 | + @description | |
9056 | + dto */ | |
9057 | + dto: ReissueInvoiceDto; | |
9058 | + }; | |
9059 | +} | |
9060 | + | |
9061 | +/** @description response type for postServiceInvoiceReissue */ | |
9062 | +export interface PostServiceInvoiceReissueResponse { | |
9063 | + /** | |
9064 | + * @description | |
9065 | + * OK | |
9066 | + */ | |
9067 | + 200: ServerResult; | |
9068 | + /** | |
9069 | + * @description | |
9070 | + * Created | |
9071 | + */ | |
9072 | + 201: any; | |
9073 | + /** | |
9074 | + * @description | |
9075 | + * Unauthorized | |
9076 | + */ | |
9077 | + 401: any; | |
9078 | + /** | |
9079 | + * @description | |
9080 | + * Forbidden | |
9081 | + */ | |
9082 | + 403: any; | |
9083 | + /** | |
9084 | + * @description | |
9085 | + * Not Found | |
9086 | + */ | |
9087 | + 404: any; | |
9088 | +} | |
9089 | + | |
9090 | +export type PostServiceInvoiceReissueResponseSuccess = | |
9091 | + PostServiceInvoiceReissueResponse[200]; | |
9092 | +/** | |
9093 | + * @description | |
9094 | + * 重新开票 | |
9095 | + * @tags 发票 | |
9096 | + * @produces * | |
9097 | + * @consumes application/json | |
9098 | + */ | |
9099 | +export const postServiceInvoiceReissue = /* #__PURE__ */ (() => { | |
9100 | + const method = "post"; | |
9101 | + const url = "/service/invoice/reissue"; | |
9102 | + function request( | |
9103 | + option: PostServiceInvoiceReissueOption | |
9104 | + ): Promise<PostServiceInvoiceReissueResponseSuccess> { | |
9105 | + return requester(request.url, { | |
9106 | + method: request.method, | |
9107 | + ...option, | |
9108 | + }) as unknown as Promise<PostServiceInvoiceReissueResponseSuccess>; | |
9109 | + } | |
9110 | + | |
9111 | + /** http method */ | |
9112 | + request.method = method; | |
9113 | + /** request url */ | |
9114 | + request.url = url; | |
9115 | + return request; | |
9116 | +})(); | |
9117 | + | |
6907 | 9118 | /** @description request parameter type for postServiceOrderAddOrder */ |
6908 | 9119 | export interface PostServiceOrderAddOrderOption { |
6909 | 9120 | /** |
... | ... | @@ -8109,6 +10320,77 @@ export const postServiceOrderFinanceCheckOrder = /* #__PURE__ */ (() => { |
8109 | 10320 | return request; |
8110 | 10321 | })(); |
8111 | 10322 | |
10323 | +/** @description request parameter type for postServiceOrderFindServiceOrder */ | |
10324 | +export interface PostServiceOrderFindServiceOrderOption { | |
10325 | + /** | |
10326 | + * @description | |
10327 | + * dto | |
10328 | + */ | |
10329 | + body: { | |
10330 | + /** | |
10331 | + @description | |
10332 | + dto */ | |
10333 | + dto: Dto; | |
10334 | + }; | |
10335 | +} | |
10336 | + | |
10337 | +/** @description response type for postServiceOrderFindServiceOrder */ | |
10338 | +export interface PostServiceOrderFindServiceOrderResponse { | |
10339 | + /** | |
10340 | + * @description | |
10341 | + * OK | |
10342 | + */ | |
10343 | + 200: ServerResult; | |
10344 | + /** | |
10345 | + * @description | |
10346 | + * Created | |
10347 | + */ | |
10348 | + 201: any; | |
10349 | + /** | |
10350 | + * @description | |
10351 | + * Unauthorized | |
10352 | + */ | |
10353 | + 401: any; | |
10354 | + /** | |
10355 | + * @description | |
10356 | + * Forbidden | |
10357 | + */ | |
10358 | + 403: any; | |
10359 | + /** | |
10360 | + * @description | |
10361 | + * Not Found | |
10362 | + */ | |
10363 | + 404: any; | |
10364 | +} | |
10365 | + | |
10366 | +export type PostServiceOrderFindServiceOrderResponseSuccess = | |
10367 | + PostServiceOrderFindServiceOrderResponse[200]; | |
10368 | +/** | |
10369 | + * @description | |
10370 | + * 不分页查询订单列表 | |
10371 | + * @tags 内部订单 | |
10372 | + * @produces * | |
10373 | + * @consumes application/json | |
10374 | + */ | |
10375 | +export const postServiceOrderFindServiceOrder = /* #__PURE__ */ (() => { | |
10376 | + const method = "post"; | |
10377 | + const url = "/service/order/findServiceOrder"; | |
10378 | + function request( | |
10379 | + option: PostServiceOrderFindServiceOrderOption | |
10380 | + ): Promise<PostServiceOrderFindServiceOrderResponseSuccess> { | |
10381 | + return requester(request.url, { | |
10382 | + method: request.method, | |
10383 | + ...option, | |
10384 | + }) as unknown as Promise<PostServiceOrderFindServiceOrderResponseSuccess>; | |
10385 | + } | |
10386 | + | |
10387 | + /** http method */ | |
10388 | + request.method = method; | |
10389 | + /** request url */ | |
10390 | + request.url = url; | |
10391 | + return request; | |
10392 | +})(); | |
10393 | + | |
8112 | 10394 | /** @description request parameter type for postServiceOrderImportExcel */ |
8113 | 10395 | export interface PostServiceOrderImportExcelOption { |
8114 | 10396 | /** |
... | ... | @@ -10560,6 +12842,77 @@ export const postServiceOrderSaleCancelInvoicing = /* #__PURE__ */ (() => { |
10560 | 12842 | return request; |
10561 | 12843 | })(); |
10562 | 12844 | |
12845 | +/** @description request parameter type for postServiceOrderSalesConfirm */ | |
12846 | +export interface PostServiceOrderSalesConfirmOption { | |
12847 | + /** | |
12848 | + * @description | |
12849 | + * dto | |
12850 | + */ | |
12851 | + body: { | |
12852 | + /** | |
12853 | + @description | |
12854 | + dto */ | |
12855 | + dto: Dto; | |
12856 | + }; | |
12857 | +} | |
12858 | + | |
12859 | +/** @description response type for postServiceOrderSalesConfirm */ | |
12860 | +export interface PostServiceOrderSalesConfirmResponse { | |
12861 | + /** | |
12862 | + * @description | |
12863 | + * OK | |
12864 | + */ | |
12865 | + 200: ServerResult; | |
12866 | + /** | |
12867 | + * @description | |
12868 | + * Created | |
12869 | + */ | |
12870 | + 201: any; | |
12871 | + /** | |
12872 | + * @description | |
12873 | + * Unauthorized | |
12874 | + */ | |
12875 | + 401: any; | |
12876 | + /** | |
12877 | + * @description | |
12878 | + * Forbidden | |
12879 | + */ | |
12880 | + 403: any; | |
12881 | + /** | |
12882 | + * @description | |
12883 | + * Not Found | |
12884 | + */ | |
12885 | + 404: any; | |
12886 | +} | |
12887 | + | |
12888 | +export type PostServiceOrderSalesConfirmResponseSuccess = | |
12889 | + PostServiceOrderSalesConfirmResponse[200]; | |
12890 | +/** | |
12891 | + * @description | |
12892 | + * 销售订单确认 | |
12893 | + * @tags 内部订单 | |
12894 | + * @produces * | |
12895 | + * @consumes application/json | |
12896 | + */ | |
12897 | +export const postServiceOrderSalesConfirm = /* #__PURE__ */ (() => { | |
12898 | + const method = "post"; | |
12899 | + const url = "/service/order/salesConfirm"; | |
12900 | + function request( | |
12901 | + option: PostServiceOrderSalesConfirmOption | |
12902 | + ): Promise<PostServiceOrderSalesConfirmResponseSuccess> { | |
12903 | + return requester(request.url, { | |
12904 | + method: request.method, | |
12905 | + ...option, | |
12906 | + }) as unknown as Promise<PostServiceOrderSalesConfirmResponseSuccess>; | |
12907 | + } | |
12908 | + | |
12909 | + /** http method */ | |
12910 | + request.method = method; | |
12911 | + /** request url */ | |
12912 | + request.url = url; | |
12913 | + return request; | |
12914 | +})(); | |
12915 | + | |
10563 | 12916 | /** @description request parameter type for postServiceOrderSendProduct */ |
10564 | 12917 | export interface PostServiceOrderSendProductOption { |
10565 | 12918 | /** | ... | ... |