|
|
|
@ -0,0 +1,674 @@
|
|
|
|
|
import { axios } from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 分页查询订舱主表
|
|
|
|
|
* @params PageSize
|
|
|
|
|
* @params PageNo
|
|
|
|
|
*/
|
|
|
|
|
export function BookingOrderPage(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/page',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取订舱明细
|
|
|
|
|
* @params Id
|
|
|
|
|
*/
|
|
|
|
|
export function BookingOrderGet(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/get',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取分页查询客户
|
|
|
|
|
* @params ShortName
|
|
|
|
|
*/
|
|
|
|
|
export function DjyCustomerpage(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/DjyCustomer/page',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 获取分页查询客户
|
|
|
|
|
* @params keyword
|
|
|
|
|
*/
|
|
|
|
|
export function DjyCustomerSuggest(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/DjyCustomer/Suggest',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 获取船公司
|
|
|
|
|
* @params CnName
|
|
|
|
|
*/
|
|
|
|
|
export function GetCarrierlist(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/commondb/carrierlist',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取船名
|
|
|
|
|
* @params Name
|
|
|
|
|
*/
|
|
|
|
|
export function GetVessellist(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/commondb/vessellist',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 用户查询
|
|
|
|
|
* @params Name
|
|
|
|
|
*/
|
|
|
|
|
export function GetSysUserPage(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/sysUser/GetTenantUser',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 订舱模板查询
|
|
|
|
|
* @params Type : 10, 20, 30, 40
|
|
|
|
|
* @params SearchValue
|
|
|
|
|
*/
|
|
|
|
|
export function BookingTemplate(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingTemplate/page',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 场站
|
|
|
|
|
* @params SearchValue
|
|
|
|
|
*/
|
|
|
|
|
export function GetYardlist(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/commondb/yardlist',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 起始港
|
|
|
|
|
* @params Name
|
|
|
|
|
*/
|
|
|
|
|
export function GetPortloadlist(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/commondb/portloadlist',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 目的港
|
|
|
|
|
* @params Name
|
|
|
|
|
*/
|
|
|
|
|
export function GetPortlist(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/commondb/portlist',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 包装
|
|
|
|
|
* @params Name
|
|
|
|
|
*/
|
|
|
|
|
export function GetPackage(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/commondb/package',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 付费方式
|
|
|
|
|
* @params Name
|
|
|
|
|
*/
|
|
|
|
|
export function GetFrt(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/commondb/frt',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 付费方式
|
|
|
|
|
* @params Name
|
|
|
|
|
*/
|
|
|
|
|
export function GetService(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/commondb/service',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 备注
|
|
|
|
|
* @params id
|
|
|
|
|
*/
|
|
|
|
|
export function GetRemark(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/getRemark',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增备注
|
|
|
|
|
* @params {
|
|
|
|
|
"pId": 0,
|
|
|
|
|
"remark": "string"
|
|
|
|
|
}
|
|
|
|
|
*/
|
|
|
|
|
export function AddRemark(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/addRemark',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 附件
|
|
|
|
|
* @params id
|
|
|
|
|
*/
|
|
|
|
|
export function GetFile(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/getFile',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增附件
|
|
|
|
|
* @params {
|
|
|
|
|
"BookingId": 0,
|
|
|
|
|
"TypeCode": "string"
|
|
|
|
|
"TypeName": "string"
|
|
|
|
|
"file": "string"
|
|
|
|
|
}
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
export function AddFile(params) {
|
|
|
|
|
console.log(params)
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/addFile',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: params,
|
|
|
|
|
headers: {
|
|
|
|
|
'X-Requested-With': 'XMLHttpRequest',
|
|
|
|
|
'Content-Type': 'multipart/form-data'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 获取货运动态
|
|
|
|
|
* @params id
|
|
|
|
|
*/
|
|
|
|
|
export function GetBookingLog(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: `/BookingOrder/GetStatusLog`,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 日志明细
|
|
|
|
|
* @params id
|
|
|
|
|
*/
|
|
|
|
|
export function GetLog(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/getLog',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取箱型
|
|
|
|
|
* @params id
|
|
|
|
|
*/
|
|
|
|
|
export function GetCtn(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/commondb/ctn',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 增加订舱模板
|
|
|
|
|
*/
|
|
|
|
|
export function BookingTemplateAdd(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingTemplate/add',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 签单方式
|
|
|
|
|
* @params name
|
|
|
|
|
*/
|
|
|
|
|
export function Codeissuetypelist(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/commondb/codeissuetypelist',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 引入场站数据
|
|
|
|
|
* @params bookingId
|
|
|
|
|
* @params isWeb
|
|
|
|
|
*/
|
|
|
|
|
export function GetYardData(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/GetYardData',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 发送订舱、截单EDI
|
|
|
|
|
*/
|
|
|
|
|
export function SendBookingOrClosingEDI(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/SendBookingOrClosingEDI',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 下载订舱、截单EDI
|
|
|
|
|
*/
|
|
|
|
|
export function DownloadBookingOrClosingEDI(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/DownloadBookingOrClosingEDI',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 发送下货纸
|
|
|
|
|
*/
|
|
|
|
|
export function SendXHZ(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/SendXHZ?bookingId=' + parameter,
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 直发VGM
|
|
|
|
|
*/
|
|
|
|
|
export function VgmSend(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/VgmSend?bookingId=' + parameter,
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取放舱信息
|
|
|
|
|
*/
|
|
|
|
|
export function LetterYard(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/LetterYard?bookingId=' + parameter,
|
|
|
|
|
method: 'get'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 保存(新增或修改)放舱
|
|
|
|
|
*/
|
|
|
|
|
export function SaveBookingLetteryard(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingLetteryard/Save',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 放舱发送
|
|
|
|
|
*/
|
|
|
|
|
export function SendLetterYard(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingLetteryard/SendLetterYard?bookingId=' + parameter,
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 删除放舱
|
|
|
|
|
*/
|
|
|
|
|
export function DeleteLetterYard(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingLetteryard/LetterYardDelete',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 样单
|
|
|
|
|
*/
|
|
|
|
|
export function SampleBill(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/SampleBill?bookingId=' + parameter,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 保存(新增或修改)样单
|
|
|
|
|
*/
|
|
|
|
|
export function SaveBookingSampleBill(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingSampleBill/Save',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取VGM、VGM SI链接
|
|
|
|
|
*/
|
|
|
|
|
export function VgmLink(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/VgmLink?bookingId=' + parameter,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取样单pdf
|
|
|
|
|
*/
|
|
|
|
|
export function SampleBillPdf(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/SampleBillPdf?bookingId=' + parameter,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取提箱小票链接
|
|
|
|
|
*/
|
|
|
|
|
export function TxxpLink(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/TxxpLink?bookingId=' + parameter,
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 校验
|
|
|
|
|
*/
|
|
|
|
|
export function ExcuteRulesOceanBooking(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/RulesEngineClient/ExcuteRulesOceanBooking?bookingId=' + parameter,
|
|
|
|
|
method: 'get'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 付费方式
|
|
|
|
|
* @params Name
|
|
|
|
|
*/
|
|
|
|
|
export function GetForwarderlist(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/commondb/forwarderlist',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 打印
|
|
|
|
|
* @params Name
|
|
|
|
|
*/
|
|
|
|
|
export function BookingOrderPrintOrder(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/PrintOrder',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 打印下载
|
|
|
|
|
* @params Name
|
|
|
|
|
*/
|
|
|
|
|
export function BookingOrderDownloadPrint(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/downloadPrint',
|
|
|
|
|
method: 'get',
|
|
|
|
|
responseType: 'arraybuffer',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 获取客户
|
|
|
|
|
* @params Name
|
|
|
|
|
*/
|
|
|
|
|
export function DjyCustomerdetail(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/DjyCustomer/detail',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 批量保存关系人(同时新增、删除、修改)
|
|
|
|
|
* @params Name
|
|
|
|
|
*/
|
|
|
|
|
export function BookingOrderContactSavebatch(id, parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: `/BookingOrderContact/savebatch?bookingId=${id}`,
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 分页查询订舱关系人
|
|
|
|
|
* @params Name
|
|
|
|
|
*/
|
|
|
|
|
export function BookingOrderContactPage(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrderContact/page',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 下载附件
|
|
|
|
|
* @params id
|
|
|
|
|
*/
|
|
|
|
|
export function BookingOrderGetFile(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/GetFile',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function BookingOrderDownload(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/Download',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter,
|
|
|
|
|
responseType: 'arraybuffer'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 上传ocr文件
|
|
|
|
|
export function BookingOrderOcrUpFile(data) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/OcrUpFile',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data.data,
|
|
|
|
|
params: data.parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 更新订舱
|
|
|
|
|
*/
|
|
|
|
|
export function BookingOrderUpdate(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/Update',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取图片
|
|
|
|
|
export function BookingOrderOcrGetImg(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/OcrGetImg',
|
|
|
|
|
method: 'post',
|
|
|
|
|
params: parameter,
|
|
|
|
|
responseType: 'arraybuffer'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 获取文字
|
|
|
|
|
export function BookingOrderOcrGetText(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/OcrGetText',
|
|
|
|
|
method: 'post',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增订舱
|
|
|
|
|
*/
|
|
|
|
|
export function BookingOrderAdd(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/Add',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function BookingOrderAddOrUpdate(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/AddOrUpdate',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
export function BookingOrderPrintTemplateList(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/PrintTemplateList',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function BookingOrderPrintTemplateWithHistoryList(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/PrintTemplateWithHistoryList',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
export function LetterYardPdf(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/LetterYardPdf',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function SendTrace(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/SendTrace',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function getDjyTenantConfig(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/DjyTenantConfig/get',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 批量编辑
|
|
|
|
|
export function BookingOrderBachUpdate(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/BookingOrder/BachUpdate',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 根据船名航次,获取海关航次等信息
|
|
|
|
|
export function getVesselInfoService(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/DjyVesselInfoService/GetList',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取约号
|
|
|
|
|
export function getContractno(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/Para/QuerytParaContractNoInfo',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取品名
|
|
|
|
|
export function getGoodsname(parameter) {
|
|
|
|
|
return axios({
|
|
|
|
|
url: '/Para/QueryParaGoodsInfo',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: parameter
|
|
|
|
|
})
|
|
|
|
|
}
|