You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
777 B

10 months ago
  1. import {createAPI} from '../../utils/httpRequest'
  2. export const exportPallet = (data) => createAPI(`/catch/pallet/export`,'post',data,'download')
  3. export const savePallet = (data) => createAPI(`/catch/pallet/save`,'post',data)
  4. export const saveBatchPallet = (data) => createAPI(`/catch/pallet/save/batch`,'post',data)
  5. export const removePallet = (data) => createAPI(`/catch/pallet/remove`,'post',data)
  6. export const removeAllPallet = (data) => createAPI(`/catch/pallet/remove/all`,'post',data)
  7. export const removePalletById = (data) => createAPI(`/catch/pallet/remove/${data.id}`,'post',data)
  8. export const queryPallet = (data) => createAPI(`/catch/pallet/list`,'post',data)
  9. export const queryPalletPage = (data) => createAPI(`/catch/pallet/${data.no}/${data.size}`,'post',data)