提交 | 用户 | 时间
|
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 |
|
696fd5
|
36 |
export function getProductionOrdes(ids) { |
Y |
37 |
return request({ |
|
38 |
url: '/om/productionOrde/ids/' + ids, |
|
39 |
method: 'get' |
|
40 |
}) |
|
41 |
} |
|
42 |
|
05d425
|
43 |
// 新增订单排产 |
C |
44 |
export function addOrderSchedulingForBoxCode(data) { |
|
45 |
return request({ |
|
46 |
url: '/om/productionOrde/orderSchedulingForBoxCode', |
|
47 |
method: 'post', |
|
48 |
data: data |
|
49 |
}) |
|
50 |
} |
|
51 |
|
fd2207
|
52 |
// 新增生产工单 |
懒 |
53 |
export function addProductionOrde(data) { |
|
54 |
return request({ |
|
55 |
url: '/om/productionOrde', |
|
56 |
method: 'post', |
|
57 |
data: data |
|
58 |
}) |
|
59 |
} |
|
60 |
|
|
61 |
// 修改生产工单 |
|
62 |
export function updateProductionOrde(data) { |
|
63 |
return request({ |
|
64 |
url: '/om/productionOrde', |
|
65 |
method: 'put', |
|
66 |
data: data |
|
67 |
}) |
|
68 |
} |
|
69 |
|
|
70 |
// 删除生产工单 |
|
71 |
export function delProductionOrde(id) { |
|
72 |
return request({ |
|
73 |
url: '/om/productionOrde/' + id, |
|
74 |
method: 'delete' |
|
75 |
}) |
|
76 |
} |