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

82 lines
1.9 KiB
JavaScript

import http from '@/common/js/request/request.js'
// ams 查询接口
export const amsLoad = (data) => {
return http.get('/test_ams/api/Ams/Load', data)
}
// ams 删除接口
export const amsDel = (data) => {
return http.get('/test_ams/api/Ams/Del', data)
}
// ams 发送接口
export const amsSend = (data) => {
return http.get('/test_ams/api/Ams/Send', data)
}
// ams 获取港口 (非起运港 装货港)
export const amsGetPort = (data) => {
return http.get('/test_ams/GetPort', data)
}
// ams 获取港口 (起运港 装货港)
export const amsGetCodePortLoad = (data) => {
return http.get('/test_ams/GetCodePortLoad', data)
}
// ams 船司
export const getCarrier = (data) => {
return http.get('/test_ams/GetCARRIER', data)
}
// ams 获取国家
export const getCountry = (data) => {
return http.get('/test_ams/GetCountry', data)
}
// ams 获取包装单位
export const getPackage = (data) => {
return http.get('/test_ams/GetPackage', data)
}
// ams 获取箱型
export const getCtnall = (data) => {
return http.get('/test_ams/GetCTNALL', data)
}
// ams 获取危品等级及CODE
export const getDangerousGoods = (data) => {
return http.get('/test_ams/GetDangerousGoods', data)
}
// ams 获取船名
export const getVessel = (data) => {
return http.get('/test_ams/GetVessel', data)
}
// ams 获取收发通模板
export const getTemplate = (data) => {
return http.get('/test_ams/api/Ams/GetTemplate', data)
}
// ams 保存收发通模板
export const saveTemplate = (data) => {
return http.post('/test_ams/api/Ams/SaveTemplate', data, 'json')
}
// ams 新增编辑 (保存)
export const addOrUpdate = (data) => {
return http.post('/test_ams/api/Ams/AddOrUpdate', data, 'json')
}
// ams 新增编辑 (发送)
export const sendAms = (data) => {
return http.get('/test_amsapi/Ams/Send', data)
}