/*
 * @Date: 2022-07-08 14:01:39
 * @LastEditors: 陈禹琨 cyk910622@163.com
 * @LastEditTime: 2022-08-05 16:34:50
 * @FilePath: \upcloud-wms-hnsy-web\src\views\kzyWMS\outBound\check\FreightEntry\api.js
 * @Description: cyk
 */
import request from "@/utils/request";
import { upcloud_base_wh_outbound } from "@/config/serviceSettings";
const baseUrl = upcloud_base_wh_outbound;
// export function getContainerLocationByContainerNoAndPalletNo(params) {
//   return request({
//     // url: 'mapi/eis/containerMonitoring',
//     url: baseUrl + '/master/containerLocation/get-containerLocation-containerNoAndPalletNo',
//     method: 'get',
//     params: params
//     // params: params
//   })
// }

export function queryFreightEnter(params) {
  return request({
    // url: 'mapi/eis/containerMonitoring',
    url: baseUrl + "/freight/queryFreightEnter",
    method: "post",
    data: params,
    // params: params
  });
}

export function saveFreightEnter(params) {
  return request({
    // url: 'mapi/eis/containerMonitoring',
    url: baseUrl + "/freight/saveFreightEnter",
    method: "post",
    data: params,
    // params: params
  });
}

//   /eisStationService/station/delete

export function deletes(params) {
  return request({
    // url: 'mapi/eis/containerMonitoring',
    url: baseUrl + "/eisWhArea/del-storeArea",
    method: "get",
    //   data: params,
    params: params,
  });
}
