提交 | 用户 | 时间
|
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 |
|
237733
|
12 |
// 查询生产工单列表 |
A |
13 |
export function bindYzSfcFlag(query) { |
|
14 |
return request({ |
|
15 |
url: '/om/productionOrde/bindYzSfcFlag', |
|
16 |
method: 'get', |
|
17 |
params: query |
|
18 |
}) |
|
19 |
} |
|
20 |
|
|
21 |
// 查询生产工单列表 |
|
22 |
export function checkYzSfcCode(query) { |
|
23 |
return request({ |
|
24 |
url: '/om/productionOrde/checkYzSfcCode', |
|
25 |
method: 'get', |
|
26 |
params: query |
|
27 |
}) |
|
28 |
} |
|
29 |
|
|
30 |
// 查询生产工单列表 |
|
31 |
export function checkCarCode(query) { |
|
32 |
return request({ |
|
33 |
url: '/om/productionOrde/checkCarCode', |
|
34 |
method: 'get', |
|
35 |
params: query |
|
36 |
}) |
|
37 |
} |
|
38 |
|
e57a89
|
39 |
export function upDownMove(query) { |
懒 |
40 |
return request({ |
|
41 |
url: '/om/productionOrde/upDownMove', |
|
42 |
method: 'get', |
|
43 |
params: query |
|
44 |
}) |
|
45 |
} |
|
46 |
|
42cfe3
|
47 |
export function importTemplate() { |
懒 |
48 |
return request({ |
|
49 |
url: '/om/productionOrde/importTemplate', |
|
50 |
method: 'get', |
|
51 |
}) |
|
52 |
} |
|
53 |
|
e70fb4
|
54 |
export function receivingWorkOrders() { |
A |
55 |
return request({ |
|
56 |
url: '/om/productionOrde/receivingWorkOrders', |
|
57 |
method: 'get', |
|
58 |
}) |
|
59 |
} |
|
60 |
|
e57a89
|
61 |
// 查询生产工单详细 |
懒 |
62 |
export function getProductionOrde(id) { |
|
63 |
return request({ |
|
64 |
url: '/om/productionOrde/' + id, |
|
65 |
method: 'get' |
|
66 |
}) |
|
67 |
} |
|
68 |
|
|
69 |
// 新增生产工单 |
|
70 |
export function addProductionOrde(data) { |
|
71 |
return request({ |
|
72 |
url: '/om/productionOrde', |
|
73 |
method: 'post', |
|
74 |
data: data |
|
75 |
}) |
|
76 |
} |
|
77 |
|
a75d86
|
78 |
export function trolleyYardBinDing(data) { |
A |
79 |
return request({ |
|
80 |
url: '/om/productionOrde/trolleyYardBinDing', |
|
81 |
method: 'post', |
|
82 |
data: data |
|
83 |
}) |
|
84 |
} |
|
85 |
|
|
86 |
export function findBytrolleyYardGetOne(data) { |
|
87 |
return request({ |
|
88 |
url: '/om/productionOrde/findBytrolleyYardGetOne', |
|
89 |
method: 'post', |
|
90 |
data: data |
|
91 |
}) |
|
92 |
} |
|
93 |
|
|
94 |
export function getCarCodeSize(data) { |
|
95 |
return request({ |
|
96 |
url: '/om/productionOrde/getCarCodeSize', |
|
97 |
method: 'post', |
|
98 |
data: data |
|
99 |
}) |
|
100 |
} |
|
101 |
|
e57a89
|
102 |
// 修改生产工单 |
懒 |
103 |
export function updateProductionOrde(data) { |
|
104 |
return request({ |
|
105 |
url: '/om/productionOrde', |
|
106 |
method: 'put', |
|
107 |
data: data |
|
108 |
}) |
|
109 |
} |
|
110 |
|
|
111 |
// 删除生产工单 |
|
112 |
export function delProductionOrde(id) { |
|
113 |
return request({ |
|
114 |
url: '/om/productionOrde/' + id, |
|
115 |
method: 'delete' |
|
116 |
}) |
|
117 |
} |