提交 | 用户 | 时间
|
e57a89
|
1 |
import request from '@/utils/request' |
懒 |
2 |
|
|
3 |
// 查询生产工单列表 |
|
4 |
export function listProductionOrde(query) { |
|
5 |
return request({ |
|
6 |
url: '/om/productionOrde/list', |
|
7 |
method: 'get', |
|
8 |
params: query |
|
9 |
}) |
|
10 |
} |
|
11 |
|
|
12 |
export function upDownMove(query) { |
|
13 |
return request({ |
|
14 |
url: '/om/productionOrde/upDownMove', |
|
15 |
method: 'get', |
|
16 |
params: query |
|
17 |
}) |
|
18 |
} |
|
19 |
|
42cfe3
|
20 |
export function importTemplate() { |
懒 |
21 |
return request({ |
|
22 |
url: '/om/productionOrde/importTemplate', |
|
23 |
method: 'get', |
|
24 |
}) |
|
25 |
} |
|
26 |
|
e70fb4
|
27 |
export function receivingWorkOrders() { |
A |
28 |
return request({ |
|
29 |
url: '/om/productionOrde/receivingWorkOrders', |
|
30 |
method: 'get', |
|
31 |
}) |
|
32 |
} |
|
33 |
|
e57a89
|
34 |
// 查询生产工单详细 |
懒 |
35 |
export function getProductionOrde(id) { |
|
36 |
return request({ |
|
37 |
url: '/om/productionOrde/' + id, |
|
38 |
method: 'get' |
|
39 |
}) |
|
40 |
} |
|
41 |
|
|
42 |
// 新增生产工单 |
|
43 |
export function addProductionOrde(data) { |
|
44 |
return request({ |
|
45 |
url: '/om/productionOrde', |
|
46 |
method: 'post', |
|
47 |
data: data |
|
48 |
}) |
|
49 |
} |
|
50 |
|
a75d86
|
51 |
export function trolleyYardBinDing(data) { |
A |
52 |
return request({ |
|
53 |
url: '/om/productionOrde/trolleyYardBinDing', |
|
54 |
method: 'post', |
|
55 |
data: data |
|
56 |
}) |
|
57 |
} |
|
58 |
|
|
59 |
export function findBytrolleyYardGetOne(data) { |
|
60 |
return request({ |
|
61 |
url: '/om/productionOrde/findBytrolleyYardGetOne', |
|
62 |
method: 'post', |
|
63 |
data: data |
|
64 |
}) |
|
65 |
} |
|
66 |
|
|
67 |
export function getCarCodeSize(data) { |
|
68 |
return request({ |
|
69 |
url: '/om/productionOrde/getCarCodeSize', |
|
70 |
method: 'post', |
|
71 |
data: data |
|
72 |
}) |
|
73 |
} |
|
74 |
|
e57a89
|
75 |
// 修改生产工单 |
懒 |
76 |
export function updateProductionOrde(data) { |
|
77 |
return request({ |
|
78 |
url: '/om/productionOrde', |
|
79 |
method: 'put', |
|
80 |
data: data |
|
81 |
}) |
|
82 |
} |
|
83 |
|
|
84 |
// 删除生产工单 |
|
85 |
export function delProductionOrde(id) { |
|
86 |
return request({ |
|
87 |
url: '/om/productionOrde/' + id, |
|
88 |
method: 'delete' |
|
89 |
}) |
|
90 |
} |