提交 | 用户 | 时间
|
b78728
|
1 |
import request from '@/utils/request' |
A |
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 |
// 查询生产工单列表 |
dd9383
|
13 |
export function listProductionOrdeLoopLine(query) { |
A |
14 |
return request({ |
|
15 |
url: '/om/productionOrde/listLoopLine', |
|
16 |
method: 'get', |
|
17 |
params: query |
|
18 |
}) |
|
19 |
} |
|
20 |
|
|
21 |
// 查询生产工单列表 |
b78728
|
22 |
export function bindYzSfcFlag(query) { |
A |
23 |
return request({ |
|
24 |
url: '/om/productionOrde/bindYzSfcFlag', |
|
25 |
method: 'get', |
|
26 |
params: query |
|
27 |
}) |
|
28 |
} |
|
29 |
|
|
30 |
// 查询生产工单列表 |
|
31 |
export function checkYzSfcCode(query) { |
|
32 |
return request({ |
|
33 |
url: '/om/productionOrde/checkYzSfcCode', |
|
34 |
method: 'get', |
|
35 |
params: query |
|
36 |
}) |
|
37 |
} |
|
38 |
|
|
39 |
// 查询生产工单列表 |
|
40 |
export function checkCarCode(query) { |
|
41 |
return request({ |
|
42 |
url: '/om/productionOrde/checkCarCode', |
|
43 |
method: 'get', |
|
44 |
params: query |
|
45 |
}) |
|
46 |
} |
|
47 |
|
|
48 |
export function upDownMove(query) { |
|
49 |
return request({ |
|
50 |
url: '/om/productionOrde/upDownMove', |
|
51 |
method: 'get', |
|
52 |
params: query |
|
53 |
}) |
|
54 |
} |
|
55 |
|
|
56 |
export function mozuReceivingWorkOrders(query) { |
|
57 |
return request({ |
|
58 |
url: '/om/productionOrde/mozuReceivingWorkOrders', |
|
59 |
method: 'get', |
|
60 |
params: query |
|
61 |
}) |
|
62 |
} |
|
63 |
|
|
64 |
export function importTemplate() { |
|
65 |
return request({ |
|
66 |
url: '/om/productionOrde/importTemplate', |
|
67 |
method: 'get', |
|
68 |
}) |
|
69 |
} |
|
70 |
|
|
71 |
export function receivingWorkOrders() { |
|
72 |
return request({ |
|
73 |
url: '/om/productionOrde/receivingWorkOrders', |
|
74 |
method: 'get', |
|
75 |
}) |
|
76 |
} |
|
77 |
|
|
78 |
// 查询生产工单详细 |
|
79 |
export function jieBang(id) { |
|
80 |
return request({ |
|
81 |
url: '/om/productionOrde/jieBang/' + id, |
|
82 |
method: 'get' |
|
83 |
}) |
|
84 |
} |
|
85 |
|
|
86 |
// 查询生产工单详细 |
|
87 |
export function getProductionOrde(id) { |
|
88 |
return request({ |
|
89 |
url: '/om/productionOrde/' + id, |
|
90 |
method: 'get' |
|
91 |
}) |
|
92 |
} |
|
93 |
|
|
94 |
export function workReportingByStation(id,stationCode) { |
|
95 |
return request({ |
|
96 |
url: '/om/productionOrde/workReportingByStation/' + id+'/' + stationCode, |
|
97 |
method: 'get', |
|
98 |
}) |
|
99 |
} |
|
100 |
|
|
101 |
// 新增生产工单 |
|
102 |
export function addProductionOrde(data) { |
|
103 |
return request({ |
|
104 |
url: '/om/productionOrde', |
|
105 |
method: 'post', |
|
106 |
data: data |
|
107 |
}) |
|
108 |
} |
|
109 |
|
|
110 |
export function trolleyYardBinDing(data) { |
|
111 |
return request({ |
|
112 |
url: '/om/productionOrde/trolleyYardBinDing', |
|
113 |
method: 'post', |
|
114 |
data: data |
|
115 |
}) |
|
116 |
} |
|
117 |
|
|
118 |
export function findBytrolleyYardGetOne(data) { |
|
119 |
return request({ |
|
120 |
url: '/om/productionOrde/findBytrolleyYardGetOne', |
|
121 |
method: 'post', |
|
122 |
data: data |
|
123 |
}) |
|
124 |
} |
|
125 |
|
|
126 |
export function getCarCodeSize(data) { |
|
127 |
return request({ |
|
128 |
url: '/om/productionOrde/getCarCodeSize', |
|
129 |
method: 'post', |
|
130 |
data: data |
|
131 |
}) |
|
132 |
} |
|
133 |
|
|
134 |
// 修改生产工单 |
|
135 |
export function updateProductionOrde(data) { |
|
136 |
return request({ |
|
137 |
url: '/om/productionOrde', |
|
138 |
method: 'put', |
|
139 |
data: data |
|
140 |
}) |
|
141 |
} |
|
142 |
|
|
143 |
// 删除生产工单 |
|
144 |
export function delProductionOrde(id) { |
|
145 |
return request({ |
|
146 |
url: '/om/productionOrde/' + id, |
|
147 |
method: 'delete' |
|
148 |
}) |
|
149 |
} |