Mr.Shi
2023-09-01 1aa94fb921d57707aa83009a75708aed4beaee95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
const http = uni.$u.http
 
// 分页查询
export function getList(data) {
    return http.post('/ext/noticesExt/page', data)
}
 
// 查询统计列表数量
export function pageCount(data) {
    return http.post('/ext/noticesExt/pageCount', data)
}
// export function pageCount(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/noticesExt/pageCount',
//         method: 'post',
//         data
//     })
// }
 
// 根据ID查询
export function getDB(id) {
    return http.get(`/ext/noticesExt/${id}`)
}
// export function getDB(id: any): Promise<any> {
//     return httpRequest({
//         url: `ext/noticesExt/${id}`,
//         method: 'get'
//     })
// }
 
// 手动出入库使用 - 分页查询
export function findListPageForManual(data) {
    return http.post('/ext/appliancesExt/findListPageForManual', data)
}
// export function findListPageForManual(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/appliancesExt/findListPageForManual',
//         method: 'post',
//         data
//     })
// }
 
// 根据仓库查询库存
export function choiceStockListPage(data) {
    return http.post('/ext/wStockExt/choiceStockListPage', data)
}
// export function choiceStockListPage(data: any): Promise<any> {
//     return httpRequest({
//         url: '/ext/wStockExt/choiceStockListPage',
//         method: 'post',
//         data
//     })
// }
 
// 根据仓库查询库存-标准版
export function choiceStockPageForStandard(data) {
    return http.post('/ext/workorderRecordExt/choiceStockPageForStandard', data)
}
// export function choiceStockPageForStandard(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/workorderRecordExt/choiceStockPageForStandard',
//         method: 'post',
//         data
//     })
// }
 
// 手动新建转库单
export function createZK(data) {
    return http.post('/ext/wTransferExt/create', data)
}
// export function createZK(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/wTransferExt/create',
//         method: 'post',
//         data
//     })
// }