|
|
@@ -63,6 +63,24 @@ export async function splitBatch(data) {
|
|
|
return Promise.reject(new Error(res.data.message));
|
|
|
}
|
|
|
|
|
|
+//减损
|
|
|
+export async function reduceLossBatch(data) {
|
|
|
+ const res = await request.post(`/pda/mes/feed/reduceLossBatch`, data);
|
|
|
+ if (res.data.code == 0) {
|
|
|
+ return res.data.data;
|
|
|
+ }
|
|
|
+ return Promise.reject(new Error(res.data.message));
|
|
|
+}
|
|
|
+
|
|
|
+//减损撤回
|
|
|
+export async function returnReduceLossBatch(data) {
|
|
|
+ const res = await request.post(`/pda/mes/feed/returnReduceLossBatch`, data);
|
|
|
+ if (res.data.code == 0) {
|
|
|
+ return res.data.data;
|
|
|
+ }
|
|
|
+ return Promise.reject(new Error(res.data.message));
|
|
|
+}
|
|
|
+
|
|
|
// pda出库单-用于投料
|
|
|
export async function feedOutInOrder(params) {
|
|
|
const res = await request.post(`/pda/mes/feed/feedOutInOrder`, params, true);
|