1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- // 查询航线详情列表
- import request from '@/utils/request'
- export function listCorps(query) {
- return request({
- url: 'khwarehouse/warehousebills/ruoYiVersionOrderList',
- method: 'get',
- params: query
- })
- }
- export function listName(query) {
- return request({
- url: '/shipping/cntrno/getTCntrnoChange',
- 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(fId) {
- return request({
- url: '/shipping/route/' + fId,
- 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 getcntrName(query) {
- return request({
- url: '/shipping/cntr/selectRcntrName',
- method: 'get',
- params: query
- })
- }
|