Commit 169b564b77489f6f71002d809e6e195c73ba980c
1 parent
e9ef594b
feat: update订单查询
Showing
4 changed files
with
300 additions
and
342 deletions
src/pages/Order/constant.ts
1 | -import { postServiceOrderQueryCustomerInformation } from '@/services'; | |
1 | +import { | |
2 | + postOrderErpOrderZoNingSelectSaleUserHasZoning, | |
3 | + postServiceOrderQueryCustomerInformation, | |
4 | +} from '@/services'; | |
2 | 5 | import { enumToProTableEnumValue } from '@/utils'; |
3 | 6 | import { getReceivingCompanyOptions, isSupplier } from '@/utils/order'; |
4 | 7 | export const COMFIR_RECEIPT_IMAGES_NUMBER = 3; |
... | ... | @@ -592,6 +595,25 @@ export const MAIN_ORDER_COLUMNS = [ |
592 | 595 | valueEnum: enumToProTableEnumValue(PRODUCT_BELONG_DEPARTMENT_OPTIONS), |
593 | 596 | }, |
594 | 597 | { |
598 | + title: '所属大区', | |
599 | + dataIndex: 'orderZoning', | |
600 | + valueType: 'select', | |
601 | + hideInTable: true, | |
602 | + request: async () => { | |
603 | + const res = await postOrderErpOrderZoNingSelectSaleUserHasZoning({ | |
604 | + data: JSON.parse(localStorage.getItem('userInfo')).id, | |
605 | + }); | |
606 | + let sel = []; | |
607 | + res.data.forEach((item) => { | |
608 | + sel.push({ | |
609 | + label: item.zoning, | |
610 | + value: item.id, | |
611 | + }); | |
612 | + }); | |
613 | + return sel; | |
614 | + }, | |
615 | + }, | |
616 | + { | |
595 | 617 | title: '创建日期', |
596 | 618 | dataIndex: 'createTime', |
597 | 619 | valueType: 'dateTimeRange', | ... | ... |
src/pages/ZoNing/components/table.tsx
src/services/definition.ts
... | ... | @@ -1810,6 +1810,31 @@ export interface QueryBankStatementDto { |
1810 | 1810 | total?: number; |
1811 | 1811 | } |
1812 | 1812 | |
1813 | +export interface QueryClientDto { | |
1814 | + companyAddressLike?: string; | |
1815 | + companyIds?: Array<number>; | |
1816 | + companyNameLike?: string; | |
1817 | + /** @format date-time */ | |
1818 | + createTimeGe?: string; | |
1819 | + /** @format date-time */ | |
1820 | + createTimeLe?: string; | |
1821 | + /** @format int32 */ | |
1822 | + current?: number; | |
1823 | + /** @format int32 */ | |
1824 | + end?: number; | |
1825 | + hasScheme?: string; | |
1826 | + level?: string; | |
1827 | + namelike?: string; | |
1828 | + /** @format int32 */ | |
1829 | + pageSize?: number; | |
1830 | + phoneNumber?: string; | |
1831 | + /** @format int32 */ | |
1832 | + start?: number; | |
1833 | + /** @format int32 */ | |
1834 | + total?: number; | |
1835 | + tradeStatus?: string; | |
1836 | +} | |
1837 | + | |
1813 | 1838 | export interface QueryCustomerInformationDto { |
1814 | 1839 | /** |
1815 | 1840 | * @description |
... | ... | @@ -2214,325 +2239,6 @@ export interface ResearchGroupMemberRequestsRequest { |
2214 | 2239 | total?: number; |
2215 | 2240 | } |
2216 | 2241 | |
2217 | -export interface ResearchGroupAccountAddRequest { | |
2218 | - /** | |
2219 | - * @description | |
2220 | - * 关联的账号id | |
2221 | - * @format int64 | |
2222 | - */ | |
2223 | - accountId?: number; | |
2224 | - /** | |
2225 | - * @description | |
2226 | - * 关联的账号名称 | |
2227 | - */ | |
2228 | - accountName?: string; | |
2229 | - /** | |
2230 | - * @description | |
2231 | - * 关联的账号手机号 | |
2232 | - */ | |
2233 | - accountPhone?: string; | |
2234 | - /** | |
2235 | - * @description | |
2236 | - * 课题组id | |
2237 | - * @format int64 | |
2238 | - */ | |
2239 | - groupId?: number; | |
2240 | -} | |
2241 | - | |
2242 | -export interface ResearchGroupAccountEditRequest { | |
2243 | - /** | |
2244 | - * @description | |
2245 | - * 关联的账号id | |
2246 | - * @format int64 | |
2247 | - */ | |
2248 | - accountId?: number; | |
2249 | - /** | |
2250 | - * @description | |
2251 | - * 关联的账号名称 | |
2252 | - */ | |
2253 | - accountName?: string; | |
2254 | - /** | |
2255 | - * @description | |
2256 | - * 关联的账号手机号 | |
2257 | - */ | |
2258 | - accountPhone?: string; | |
2259 | - /** | |
2260 | - * @description | |
2261 | - * 课题组id | |
2262 | - * @format int64 | |
2263 | - */ | |
2264 | - groupId?: number; | |
2265 | - /** | |
2266 | - * @description | |
2267 | - * 主键id | |
2268 | - * @format int64 | |
2269 | - */ | |
2270 | - id?: number; | |
2271 | -} | |
2272 | - | |
2273 | -export interface ResearchGroupAddRequest { | |
2274 | - accounts?: Array<ResearchGroupAccountAddRequest>; | |
2275 | - /** | |
2276 | - * @description | |
2277 | - * 课题组名称 | |
2278 | - */ | |
2279 | - group?: string; | |
2280 | - /** | |
2281 | - * @description | |
2282 | - * 课题组负责人 | |
2283 | - */ | |
2284 | - leader?: string; | |
2285 | - members?: Array<ResearchGroupMemberAddRequest>; | |
2286 | -} | |
2287 | - | |
2288 | -export interface ResearchGroupDeleteRequest { | |
2289 | - /** | |
2290 | - * @description | |
2291 | - * 主键id | |
2292 | - */ | |
2293 | - ids?: Array<number>; | |
2294 | -} | |
2295 | - | |
2296 | -export interface ResearchGroupDetailRequest { | |
2297 | - /** | |
2298 | - * @description | |
2299 | - * 主键id | |
2300 | - * @format int64 | |
2301 | - */ | |
2302 | - id?: number; | |
2303 | -} | |
2304 | - | |
2305 | -export interface ResearchGroupEditRequest { | |
2306 | - /** | |
2307 | - * @description | |
2308 | - * 课题组预存账号 | |
2309 | - */ | |
2310 | - accounts?: Array<ResearchGroupAccountEditRequest>; | |
2311 | - /** | |
2312 | - * @description | |
2313 | - * 课题组名称 | |
2314 | - */ | |
2315 | - group?: string; | |
2316 | - /** | |
2317 | - * @description | |
2318 | - * 主键id | |
2319 | - * @format int64 | |
2320 | - */ | |
2321 | - id?: number; | |
2322 | - /** | |
2323 | - * @description | |
2324 | - * 课题组负责人 | |
2325 | - */ | |
2326 | - leader?: string; | |
2327 | - /** | |
2328 | - * @description | |
2329 | - * 课题组成员集合 | |
2330 | - */ | |
2331 | - members?: Array<ResearchGroupMemberEditRequest>; | |
2332 | -} | |
2333 | - | |
2334 | -export interface ResearchGroupListRequest { | |
2335 | - /** | |
2336 | - * @description | |
2337 | - * 预存账号手机号 | |
2338 | - */ | |
2339 | - accountPhone?: string; | |
2340 | - /** @format int32 */ | |
2341 | - current?: number; | |
2342 | - /** @format int32 */ | |
2343 | - end?: number; | |
2344 | - /** | |
2345 | - * @description | |
2346 | - * 课题组名称 | |
2347 | - */ | |
2348 | - groupName?: string; | |
2349 | - /** | |
2350 | - * @description | |
2351 | - * 课题组负责人 | |
2352 | - */ | |
2353 | - leaderName?: string; | |
2354 | - /** | |
2355 | - * @description | |
2356 | - * 课题组成员名称 | |
2357 | - */ | |
2358 | - memberName?: string; | |
2359 | - /** | |
2360 | - * @description | |
2361 | - * 课题组成员手机号 | |
2362 | - */ | |
2363 | - memberPhone?: string; | |
2364 | - /** @format int32 */ | |
2365 | - pageSize?: number; | |
2366 | - /** @format int32 */ | |
2367 | - start?: number; | |
2368 | - /** @format int32 */ | |
2369 | - total?: number; | |
2370 | -} | |
2371 | - | |
2372 | -export interface ResearchGroupMemberAddRequest { | |
2373 | - /** | |
2374 | - * @description | |
2375 | - * 课题组ID | |
2376 | - * @format int64 | |
2377 | - */ | |
2378 | - groupId?: number; | |
2379 | - /** | |
2380 | - * @description | |
2381 | - * 成员名称 | |
2382 | - */ | |
2383 | - memberName?: string; | |
2384 | - /** | |
2385 | - * @description | |
2386 | - * 成员手机号 | |
2387 | - */ | |
2388 | - memberPhone?: string; | |
2389 | -} | |
2390 | - | |
2391 | -export interface ResearchGroupMemberEditRequest { | |
2392 | - /** | |
2393 | - * @description | |
2394 | - * 课题组ID | |
2395 | - * @format int64 | |
2396 | - */ | |
2397 | - groupId?: number; | |
2398 | - /** | |
2399 | - * @description | |
2400 | - * 主键id | |
2401 | - * @format int64 | |
2402 | - */ | |
2403 | - id?: number; | |
2404 | - /** | |
2405 | - * @description | |
2406 | - * 成员名称 | |
2407 | - */ | |
2408 | - memberName?: string; | |
2409 | - /** | |
2410 | - * @description | |
2411 | - * 成员手机号 | |
2412 | - */ | |
2413 | - memberPhone?: string; | |
2414 | -} | |
2415 | - | |
2416 | -export interface ResearchGroupMemberRequestAddRequest { | |
2417 | - /** | |
2418 | - * @description | |
2419 | - * 课题组ID | |
2420 | - * @format int64 | |
2421 | - */ | |
2422 | - groupId?: number; | |
2423 | - /** | |
2424 | - * @description | |
2425 | - * 课题组名称 | |
2426 | - */ | |
2427 | - groupName?: string; | |
2428 | - members?: Array<ResearchGroupMemberAddRequest>; | |
2429 | - /** | |
2430 | - * @description | |
2431 | - * 申请备注 | |
2432 | - */ | |
2433 | - requestNotes?: string; | |
2434 | -} | |
2435 | - | |
2436 | -export interface ResearchGroupMemberRequestDeleteRequest { | |
2437 | - /** | |
2438 | - * @description | |
2439 | - * 主键id | |
2440 | - */ | |
2441 | - ids?: Array<number>; | |
2442 | -} | |
2443 | - | |
2444 | -export interface ResearchGroupMemberRequestDetailRequest { | |
2445 | - /** | |
2446 | - * @description | |
2447 | - * 主键id | |
2448 | - * @format int64 | |
2449 | - */ | |
2450 | - id?: number; | |
2451 | -} | |
2452 | - | |
2453 | -export interface ResearchGroupMemberRequestEditRequest { | |
2454 | - /** | |
2455 | - * @description | |
2456 | - * 课题组ID | |
2457 | - * @format int64 | |
2458 | - */ | |
2459 | - groupId?: number; | |
2460 | - /** | |
2461 | - * @description | |
2462 | - * 课题组名称 | |
2463 | - */ | |
2464 | - groupName?: string; | |
2465 | - /** | |
2466 | - * @description | |
2467 | - * 主键id | |
2468 | - * @format int64 | |
2469 | - */ | |
2470 | - id?: number; | |
2471 | - /** | |
2472 | - * @description | |
2473 | - * 成员名称 | |
2474 | - */ | |
2475 | - memberName?: string; | |
2476 | - /** | |
2477 | - * @description | |
2478 | - * 成员手机号 | |
2479 | - */ | |
2480 | - memberPhone?: string; | |
2481 | - /** | |
2482 | - * @description | |
2483 | - * 申请备注 | |
2484 | - */ | |
2485 | - requestNotes?: string; | |
2486 | -} | |
2487 | - | |
2488 | -export interface ResearchGroupMemberRequestsRequest { | |
2489 | - /** | |
2490 | - * @description | |
2491 | - * 审核备注 | |
2492 | - */ | |
2493 | - auditNotes?: string; | |
2494 | - /** | |
2495 | - * @description | |
2496 | - * 审核状态 | |
2497 | - */ | |
2498 | - auditStatus?: string; | |
2499 | - /** | |
2500 | - * @description | |
2501 | - * 创建人 | |
2502 | - */ | |
2503 | - createByName?: string; | |
2504 | - /** @format int32 */ | |
2505 | - current?: number; | |
2506 | - /** @format int32 */ | |
2507 | - end?: number; | |
2508 | - /** | |
2509 | - * @description | |
2510 | - * 课题组名称 | |
2511 | - */ | |
2512 | - groupName?: string; | |
2513 | - /** | |
2514 | - * @description | |
2515 | - * 成员名称 | |
2516 | - */ | |
2517 | - memberName?: string; | |
2518 | - /** | |
2519 | - * @description | |
2520 | - * 成员手机号 | |
2521 | - */ | |
2522 | - memberPhone?: string; | |
2523 | - /** @format int32 */ | |
2524 | - pageSize?: number; | |
2525 | - /** | |
2526 | - * @description | |
2527 | - * 申请备注 | |
2528 | - */ | |
2529 | - requestNotes?: string; | |
2530 | - /** @format int32 */ | |
2531 | - start?: number; | |
2532 | - /** @format int32 */ | |
2533 | - total?: number; | |
2534 | -} | |
2535 | - | |
2536 | 2242 | export interface ResetPwdVO { |
2537 | 2243 | /** @format int64 */ |
2538 | 2244 | userId?: number; | ... | ... |
src/services/request.ts
... | ... | @@ -56,7 +56,6 @@ import type { |
56 | 56 | MaterialUnitListRes, |
57 | 57 | MeasureUnitListRes, |
58 | 58 | MessageQueryDTO, |
59 | - ModelAndView, | |
60 | 59 | OrderAddVO, |
61 | 60 | OrderAuditLogQueryVO, |
62 | 61 | OrderBaseInfoQueryVO, |
... | ... | @@ -80,6 +79,7 @@ import type { |
80 | 79 | QueryAfterSalesInfoSnapshotDto, |
81 | 80 | QueryAnnexDto, |
82 | 81 | QueryBankStatementDto, |
82 | + QueryClientDto, | |
83 | 83 | QueryCustomerInformationDto, |
84 | 84 | QueryHistoryRecordDto, |
85 | 85 | QueryInvoiceDetailDto, |
... | ... | @@ -124,6 +124,77 @@ import type { |
124 | 124 | UserNowMoneyCheckRequest, |
125 | 125 | } from './definition'; |
126 | 126 | |
127 | +/** @description request parameter type for postAdminClientQueryClientPage */ | |
128 | +export interface PostAdminClientQueryClientPageOption { | |
129 | + /** | |
130 | + * @description | |
131 | + * dto | |
132 | + */ | |
133 | + body: { | |
134 | + /** | |
135 | + @description | |
136 | + dto */ | |
137 | + dto: QueryClientDto; | |
138 | + }; | |
139 | +} | |
140 | + | |
141 | +/** @description response type for postAdminClientQueryClientPage */ | |
142 | +export interface PostAdminClientQueryClientPageResponse { | |
143 | + /** | |
144 | + * @description | |
145 | + * OK | |
146 | + */ | |
147 | + 200: ServerResult; | |
148 | + /** | |
149 | + * @description | |
150 | + * Created | |
151 | + */ | |
152 | + 201: any; | |
153 | + /** | |
154 | + * @description | |
155 | + * Unauthorized | |
156 | + */ | |
157 | + 401: any; | |
158 | + /** | |
159 | + * @description | |
160 | + * Forbidden | |
161 | + */ | |
162 | + 403: any; | |
163 | + /** | |
164 | + * @description | |
165 | + * Not Found | |
166 | + */ | |
167 | + 404: any; | |
168 | +} | |
169 | + | |
170 | +export type PostAdminClientQueryClientPageResponseSuccess = | |
171 | + PostAdminClientQueryClientPageResponse[200]; | |
172 | +/** | |
173 | + * @description | |
174 | + * 客户管理 | |
175 | + * @tags 客户管理 | |
176 | + * @produces * | |
177 | + * @consumes application/json | |
178 | + */ | |
179 | +export const postAdminClientQueryClientPage = /* #__PURE__ */ (() => { | |
180 | + const method = 'post'; | |
181 | + const url = '/admin/client/queryClientPage'; | |
182 | + function request( | |
183 | + option: PostAdminClientQueryClientPageOption, | |
184 | + ): Promise<PostAdminClientQueryClientPageResponseSuccess> { | |
185 | + return requester(request.url, { | |
186 | + method: request.method, | |
187 | + ...option, | |
188 | + }) as unknown as Promise<PostAdminClientQueryClientPageResponseSuccess>; | |
189 | + } | |
190 | + | |
191 | + /** http method */ | |
192 | + request.method = method; | |
193 | + /** request url */ | |
194 | + request.url = url; | |
195 | + return request; | |
196 | +})(); | |
197 | + | |
127 | 198 | /** @description request parameter type for postApiLocalStorageUpload */ |
128 | 199 | export interface PostApiLocalStorageUploadOption { |
129 | 200 | /** |
... | ... | @@ -1839,6 +1910,78 @@ export const postDistrictAddOrderAndProvince = /* #__PURE__ */ (() => { |
1839 | 1910 | return request; |
1840 | 1911 | })(); |
1841 | 1912 | |
1913 | +/** @description request parameter type for postDistrictFindProvinceAndCityAndDistrict */ | |
1914 | +export interface PostDistrictFindProvinceAndCityAndDistrictOption { | |
1915 | + /** | |
1916 | + * @description | |
1917 | + * str | |
1918 | + */ | |
1919 | + body: { | |
1920 | + /** | |
1921 | + @description | |
1922 | + str */ | |
1923 | + str: string; | |
1924 | + }; | |
1925 | +} | |
1926 | + | |
1927 | +/** @description response type for postDistrictFindProvinceAndCityAndDistrict */ | |
1928 | +export interface PostDistrictFindProvinceAndCityAndDistrictResponse { | |
1929 | + /** | |
1930 | + * @description | |
1931 | + * OK | |
1932 | + */ | |
1933 | + 200: ServerResult; | |
1934 | + /** | |
1935 | + * @description | |
1936 | + * Created | |
1937 | + */ | |
1938 | + 201: any; | |
1939 | + /** | |
1940 | + * @description | |
1941 | + * Unauthorized | |
1942 | + */ | |
1943 | + 401: any; | |
1944 | + /** | |
1945 | + * @description | |
1946 | + * Forbidden | |
1947 | + */ | |
1948 | + 403: any; | |
1949 | + /** | |
1950 | + * @description | |
1951 | + * Not Found | |
1952 | + */ | |
1953 | + 404: any; | |
1954 | +} | |
1955 | + | |
1956 | +export type PostDistrictFindProvinceAndCityAndDistrictResponseSuccess = | |
1957 | + PostDistrictFindProvinceAndCityAndDistrictResponse[200]; | |
1958 | +/** | |
1959 | + * @description | |
1960 | + * 读取字符串中的数据 | |
1961 | + * @tags order-district-controller | |
1962 | + * @produces * | |
1963 | + * @consumes application/json | |
1964 | + */ | |
1965 | +export const postDistrictFindProvinceAndCityAndDistrict = | |
1966 | + /* #__PURE__ */ (() => { | |
1967 | + const method = 'post'; | |
1968 | + const url = '/district/findProvinceAndCityAndDistrict'; | |
1969 | + function request( | |
1970 | + option: PostDistrictFindProvinceAndCityAndDistrictOption, | |
1971 | + ): Promise<PostDistrictFindProvinceAndCityAndDistrictResponseSuccess> { | |
1972 | + return requester(request.url, { | |
1973 | + method: request.method, | |
1974 | + ...option, | |
1975 | + }) as unknown as Promise<PostDistrictFindProvinceAndCityAndDistrictResponseSuccess>; | |
1976 | + } | |
1977 | + | |
1978 | + /** http method */ | |
1979 | + request.method = method; | |
1980 | + /** request url */ | |
1981 | + request.url = url; | |
1982 | + return request; | |
1983 | + })(); | |
1984 | + | |
1842 | 1985 | /** @description request parameter type for postDistrictSelOrderProvince */ |
1843 | 1986 | export interface PostDistrictSelOrderProvinceOption { |
1844 | 1987 | /** |
... | ... | @@ -2319,7 +2462,9 @@ export interface GetErrorResponse { |
2319 | 2462 | * @description |
2320 | 2463 | * OK |
2321 | 2464 | */ |
2322 | - 200: ModelAndView; | |
2465 | + 200: { | |
2466 | + [propertyName: string]: any; | |
2467 | + }; | |
2323 | 2468 | /** |
2324 | 2469 | * @description |
2325 | 2470 | * Unauthorized |
... | ... | @@ -2340,9 +2485,9 @@ export interface GetErrorResponse { |
2340 | 2485 | export type GetErrorResponseSuccess = GetErrorResponse[200]; |
2341 | 2486 | /** |
2342 | 2487 | * @description |
2343 | - * errorHtml | |
2488 | + * error | |
2344 | 2489 | * @tags basic-error-controller |
2345 | - * @produces text/html | |
2490 | + * @produces * | |
2346 | 2491 | */ |
2347 | 2492 | export const getError = /* #__PURE__ */ (() => { |
2348 | 2493 | const method = 'get'; |
... | ... | @@ -2366,7 +2511,9 @@ export interface PutErrorResponse { |
2366 | 2511 | * @description |
2367 | 2512 | * OK |
2368 | 2513 | */ |
2369 | - 200: ModelAndView; | |
2514 | + 200: { | |
2515 | + [propertyName: string]: any; | |
2516 | + }; | |
2370 | 2517 | /** |
2371 | 2518 | * @description |
2372 | 2519 | * Created |
... | ... | @@ -2392,9 +2539,9 @@ export interface PutErrorResponse { |
2392 | 2539 | export type PutErrorResponseSuccess = PutErrorResponse[200]; |
2393 | 2540 | /** |
2394 | 2541 | * @description |
2395 | - * errorHtml | |
2542 | + * error | |
2396 | 2543 | * @tags basic-error-controller |
2397 | - * @produces text/html | |
2544 | + * @produces * | |
2398 | 2545 | * @consumes application/json |
2399 | 2546 | */ |
2400 | 2547 | export const putError = /* #__PURE__ */ (() => { |
... | ... | @@ -2419,7 +2566,9 @@ export interface PostErrorResponse { |
2419 | 2566 | * @description |
2420 | 2567 | * OK |
2421 | 2568 | */ |
2422 | - 200: ModelAndView; | |
2569 | + 200: { | |
2570 | + [propertyName: string]: any; | |
2571 | + }; | |
2423 | 2572 | /** |
2424 | 2573 | * @description |
2425 | 2574 | * Created |
... | ... | @@ -2445,9 +2594,9 @@ export interface PostErrorResponse { |
2445 | 2594 | export type PostErrorResponseSuccess = PostErrorResponse[200]; |
2446 | 2595 | /** |
2447 | 2596 | * @description |
2448 | - * errorHtml | |
2597 | + * error | |
2449 | 2598 | * @tags basic-error-controller |
2450 | - * @produces text/html | |
2599 | + * @produces * | |
2451 | 2600 | * @consumes application/json |
2452 | 2601 | */ |
2453 | 2602 | export const postError = /* #__PURE__ */ (() => { |
... | ... | @@ -2472,7 +2621,9 @@ export interface DeleteErrorResponse { |
2472 | 2621 | * @description |
2473 | 2622 | * OK |
2474 | 2623 | */ |
2475 | - 200: ModelAndView; | |
2624 | + 200: { | |
2625 | + [propertyName: string]: any; | |
2626 | + }; | |
2476 | 2627 | /** |
2477 | 2628 | * @description |
2478 | 2629 | * No Content |
... | ... | @@ -2493,9 +2644,9 @@ export interface DeleteErrorResponse { |
2493 | 2644 | export type DeleteErrorResponseSuccess = DeleteErrorResponse[200]; |
2494 | 2645 | /** |
2495 | 2646 | * @description |
2496 | - * errorHtml | |
2647 | + * error | |
2497 | 2648 | * @tags basic-error-controller |
2498 | - * @produces text/html | |
2649 | + * @produces * | |
2499 | 2650 | */ |
2500 | 2651 | export const deleteError = /* #__PURE__ */ (() => { |
2501 | 2652 | const method = 'delete'; |
... | ... | @@ -2519,7 +2670,9 @@ export interface OptionsErrorResponse { |
2519 | 2670 | * @description |
2520 | 2671 | * OK |
2521 | 2672 | */ |
2522 | - 200: ModelAndView; | |
2673 | + 200: { | |
2674 | + [propertyName: string]: any; | |
2675 | + }; | |
2523 | 2676 | /** |
2524 | 2677 | * @description |
2525 | 2678 | * No Content |
... | ... | @@ -2540,9 +2693,9 @@ export interface OptionsErrorResponse { |
2540 | 2693 | export type OptionsErrorResponseSuccess = OptionsErrorResponse[200]; |
2541 | 2694 | /** |
2542 | 2695 | * @description |
2543 | - * errorHtml | |
2696 | + * error | |
2544 | 2697 | * @tags basic-error-controller |
2545 | - * @produces text/html | |
2698 | + * @produces * | |
2546 | 2699 | * @consumes application/json |
2547 | 2700 | */ |
2548 | 2701 | export const optionsError = /* #__PURE__ */ (() => { |
... | ... | @@ -2567,7 +2720,9 @@ export interface HeadErrorResponse { |
2567 | 2720 | * @description |
2568 | 2721 | * OK |
2569 | 2722 | */ |
2570 | - 200: ModelAndView; | |
2723 | + 200: { | |
2724 | + [propertyName: string]: any; | |
2725 | + }; | |
2571 | 2726 | /** |
2572 | 2727 | * @description |
2573 | 2728 | * No Content |
... | ... | @@ -2588,9 +2743,9 @@ export interface HeadErrorResponse { |
2588 | 2743 | export type HeadErrorResponseSuccess = HeadErrorResponse[200]; |
2589 | 2744 | /** |
2590 | 2745 | * @description |
2591 | - * errorHtml | |
2746 | + * error | |
2592 | 2747 | * @tags basic-error-controller |
2593 | - * @produces text/html | |
2748 | + * @produces * | |
2594 | 2749 | * @consumes application/json |
2595 | 2750 | */ |
2596 | 2751 | export const headError = /* #__PURE__ */ (() => { |
... | ... | @@ -2615,7 +2770,9 @@ export interface PatchErrorResponse { |
2615 | 2770 | * @description |
2616 | 2771 | * OK |
2617 | 2772 | */ |
2618 | - 200: ModelAndView; | |
2773 | + 200: { | |
2774 | + [propertyName: string]: any; | |
2775 | + }; | |
2619 | 2776 | /** |
2620 | 2777 | * @description |
2621 | 2778 | * No Content |
... | ... | @@ -2636,9 +2793,9 @@ export interface PatchErrorResponse { |
2636 | 2793 | export type PatchErrorResponseSuccess = PatchErrorResponse[200]; |
2637 | 2794 | /** |
2638 | 2795 | * @description |
2639 | - * errorHtml | |
2796 | + * error | |
2640 | 2797 | * @tags basic-error-controller |
2641 | - * @produces text/html | |
2798 | + * @produces * | |
2642 | 2799 | * @consumes application/json |
2643 | 2800 | */ |
2644 | 2801 | export const patchError = /* #__PURE__ */ (() => { |
... | ... | @@ -7868,6 +8025,78 @@ export const postOrderErpOrderZoNingSelectSaleUserByProvince = |
7868 | 8025 | return request; |
7869 | 8026 | })(); |
7870 | 8027 | |
8028 | +/** @description request parameter type for postOrderErpOrderZoNingSelectSaleUserHasZoning */ | |
8029 | +export interface PostOrderErpOrderZoNingSelectSaleUserHasZoningOption { | |
8030 | + /** | |
8031 | + * @description | |
8032 | + * id | |
8033 | + */ | |
8034 | + body: { | |
8035 | + /** | |
8036 | + @description | |
8037 | + id */ | |
8038 | + id: number; | |
8039 | + }; | |
8040 | +} | |
8041 | + | |
8042 | +/** @description response type for postOrderErpOrderZoNingSelectSaleUserHasZoning */ | |
8043 | +export interface PostOrderErpOrderZoNingSelectSaleUserHasZoningResponse { | |
8044 | + /** | |
8045 | + * @description | |
8046 | + * OK | |
8047 | + */ | |
8048 | + 200: ServerResult; | |
8049 | + /** | |
8050 | + * @description | |
8051 | + * Created | |
8052 | + */ | |
8053 | + 201: any; | |
8054 | + /** | |
8055 | + * @description | |
8056 | + * Unauthorized | |
8057 | + */ | |
8058 | + 401: any; | |
8059 | + /** | |
8060 | + * @description | |
8061 | + * Forbidden | |
8062 | + */ | |
8063 | + 403: any; | |
8064 | + /** | |
8065 | + * @description | |
8066 | + * Not Found | |
8067 | + */ | |
8068 | + 404: any; | |
8069 | +} | |
8070 | + | |
8071 | +export type PostOrderErpOrderZoNingSelectSaleUserHasZoningResponseSuccess = | |
8072 | + PostOrderErpOrderZoNingSelectSaleUserHasZoningResponse[200]; | |
8073 | +/** | |
8074 | + * @description | |
8075 | + * 查询出该销售所在的大区 | |
8076 | + * @tags order-zo-ning-controller | |
8077 | + * @produces * | |
8078 | + * @consumes application/json | |
8079 | + */ | |
8080 | +export const postOrderErpOrderZoNingSelectSaleUserHasZoning = | |
8081 | + /* #__PURE__ */ (() => { | |
8082 | + const method = 'post'; | |
8083 | + const url = '/order/erp/orderZoNing/selectSaleUserHasZoning'; | |
8084 | + function request( | |
8085 | + option: PostOrderErpOrderZoNingSelectSaleUserHasZoningOption, | |
8086 | + ): Promise<PostOrderErpOrderZoNingSelectSaleUserHasZoningResponseSuccess> { | |
8087 | + return requester(request.url, { | |
8088 | + method: request.method, | |
8089 | + ...option, | |
8090 | + }) as unknown as Promise<PostOrderErpOrderZoNingSelectSaleUserHasZoningResponseSuccess>; | |
8091 | + } | |
8092 | + | |
8093 | + /** http method */ | |
8094 | + request.method = method; | |
8095 | + /** request url */ | |
8096 | + request.url = url; | |
8097 | + return request; | |
8098 | + })(); | |
8099 | + | |
7871 | 8100 | /** @description response type for getOrderErpOrderZoNingSelectUserAll */ |
7872 | 8101 | export interface GetOrderErpOrderZoNingSelectUserAllResponse { |
7873 | 8102 | /** | ... | ... |