123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- // 查询航线详情列表
- import request from '@/utils/request'
- export function listCorps(query) {
- return request({
- url: '/shipping/address/selectCarriageList',
- method: 'get',
- params: query
- })
- }
- // 查询港口详情详细
- export function getCorps(fId) {
- return request({
- url: '/shipping/address/' + fId,
- method: 'get'
- })
- }
- // 新增
- export function addyard(data) {
- return request({
- url: '/shipping/address',
- method: 'post',
- data: data
- })
- }
- // 修改航线详情
- export function updateCorps(data) {
- return request({
- url: '/shipping/address/edit',
- method: 'put',
- data: data
- })
- }
- // 状态修改
- export function changeCorpsStatus(fId, fStatus) {
- const data = {
- fId,
- fStatus
- }
- return request({
- url: '/shipping/route',
- method: 'put',
- data: data
- })
- }
- // 删除客户详情
- export function delCorps(fIds) {
- return request({
- url: '/shipping/address/' + fIds,
- method: 'delete'
- })
- }
- // 导出客户详情
- export function exportCorps(query) {
- return request({
- url: '/shipping/route/export',
- method: 'get',
- params: query
- })
- }
- //查询港口名称
- export function getyard(query) {
- return request({
- url: '/shipping/address/selectStorageName',
- method: 'get',
- params: query
- })
- }
- //编号唯一
- export function getyardNo(query) {
- return request({
- url: '/shipping/address/selectAddressFno',
- method: 'post',
- data: query
- })
- }
- //名称唯一
- export function getyardName(query) {
- return request({
- url: '/shipping/address/selectAddressFName',
- method: 'post',
- data: query
- })
- }
|