提交 | 用户 | 时间
|
fd2207
|
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 |
|
df1f2b
|
12 |
export function getProductionNotice(query) { |
懒 |
13 |
return request({ |
|
14 |
url: '/om/productionOrde/getProductionNotice', |
|
15 |
method: 'get', |
|
16 |
params: query |
|
17 |
}) |
|
18 |
} |
|
19 |
|
fd2207
|
20 |
export function upDownMove(query) { |
懒 |
21 |
return request({ |
|
22 |
url: '/om/productionOrde/upDownMove', |
|
23 |
method: 'get', |
|
24 |
params: query |
|
25 |
}) |
|
26 |
} |
|
27 |
|
|
28 |
// 查询生产工单详细 |
|
29 |
export function getProductionOrde(id) { |
|
30 |
return request({ |
|
31 |
url: '/om/productionOrde/' + id, |
|
32 |
method: 'get' |
|
33 |
}) |
|
34 |
} |
|
35 |
|
05d425
|
36 |
// 新增订单排产 |
C |
37 |
export function addOrderSchedulingForBoxCode(data) { |
|
38 |
return request({ |
|
39 |
url: '/om/productionOrde/orderSchedulingForBoxCode', |
|
40 |
method: 'post', |
|
41 |
data: data |
|
42 |
}) |
|
43 |
} |
|
44 |
|
fd2207
|
45 |
// 新增生产工单 |
懒 |
46 |
export function addProductionOrde(data) { |
|
47 |
return request({ |
|
48 |
url: '/om/productionOrde', |
|
49 |
method: 'post', |
|
50 |
data: data |
|
51 |
}) |
|
52 |
} |
|
53 |
|
|
54 |
// 修改生产工单 |
|
55 |
export function updateProductionOrde(data) { |
|
56 |
return request({ |
|
57 |
url: '/om/productionOrde', |
|
58 |
method: 'put', |
|
59 |
data: data |
|
60 |
}) |
|
61 |
} |
|
62 |
|
|
63 |
// 删除生产工单 |
|
64 |
export function delProductionOrde(id) { |
|
65 |
return request({ |
|
66 |
url: '/om/productionOrde/' + id, |
|
67 |
method: 'delete' |
|
68 |
}) |
|
69 |
} |