index.js 546 B

12345678910111213141516171819
  1. import request from '@/utils/request';
  2. // 查询仓库下拉列表
  3. export async function batchRecordPage(body) {
  4. const res = await request.post(`/mes/pickorder/batchRecordPage`, body);
  5. if (res.data.code == 0) {
  6. return res.data.data;
  7. }
  8. return Promise.reject(new Error(res.data.message));
  9. }
  10. // 打印前查询
  11. export async function queryPrint(body) {
  12. const res = await request.post(`/mes/pickorder/queryPrint`, body);
  13. if (res.data.code == 0) {
  14. return res.data.data;
  15. }
  16. return Promise.reject(new Error(res.data.message));
  17. }