提交 | 用户 | 时间
|
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 |
// 查询生产工单详细 |
a846f2
|
62 |
export function jieBang(id) { |
A |
63 |
return request({ |
|
64 |
url: '/om/productionOrde/jieBang/' + id, |
|
65 |
method: 'get' |
|
66 |
}) |
|
67 |
} |
|
68 |
|
|
69 |
// 查询生产工单详细 |
e57a89
|
70 |
export function getProductionOrde(id) { |
懒 |
71 |
return request({ |
|
72 |
url: '/om/productionOrde/' + id, |
|
73 |
method: 'get' |
|
74 |
}) |
|
75 |
} |
|
76 |
|
768498
|
77 |
export function workReportingByStation(id,stationCode) { |
A |
78 |
return request({ |
|
79 |
url: '/om/productionOrde/workReportingByStation/' + id+'/' + stationCode, |
|
80 |
method: 'get', |
|
81 |
}) |
|
82 |
} |
|
83 |
|
e57a89
|
84 |
// 新增生产工单 |
懒 |
85 |
export function addProductionOrde(data) { |
|
86 |
return request({ |
|
87 |
url: '/om/productionOrde', |
|
88 |
method: 'post', |
|
89 |
data: data |
|
90 |
}) |
|
91 |
} |
|
92 |
|
a75d86
|
93 |
export function trolleyYardBinDing(data) { |
A |
94 |
return request({ |
|
95 |
url: '/om/productionOrde/trolleyYardBinDing', |
|
96 |
method: 'post', |
|
97 |
data: data |
|
98 |
}) |
|
99 |
} |
|
100 |
|
|
101 |
export function findBytrolleyYardGetOne(data) { |
|
102 |
return request({ |
|
103 |
url: '/om/productionOrde/findBytrolleyYardGetOne', |
|
104 |
method: 'post', |
|
105 |
data: data |
|
106 |
}) |
|
107 |
} |
|
108 |
|
|
109 |
export function getCarCodeSize(data) { |
|
110 |
return request({ |
|
111 |
url: '/om/productionOrde/getCarCodeSize', |
|
112 |
method: 'post', |
|
113 |
data: data |
|
114 |
}) |
|
115 |
} |
|
116 |
|
e57a89
|
117 |
// 修改生产工单 |
懒 |
118 |
export function updateProductionOrde(data) { |
|
119 |
return request({ |
|
120 |
url: '/om/productionOrde', |
|
121 |
method: 'put', |
|
122 |
data: data |
|
123 |
}) |
|
124 |
} |
|
125 |
|
|
126 |
// 删除生产工单 |
|
127 |
export function delProductionOrde(id) { |
|
128 |
return request({ |
|
129 |
url: '/om/productionOrde/' + id, |
|
130 |
method: 'delete' |
|
131 |
}) |
|
132 |
} |