feeding.js 327 B

1234567891011121314
  1. import { postJ, post, get } from "@/utils/request";
  2. import Vue from "vue";
  3. // 投料保存
  4. export async function batchSave(params) {
  5. const data = await postJ(
  6. Vue.prototype.apiUrl + `/pda/mes/feed/batchSave`, params, true,
  7. );
  8. if (data.code == 0) {
  9. return data.data;
  10. }
  11. return Promise.reject(data.message);
  12. }