| | |
| | | import request,{download,requestType} from "@/utils/request"; |
| | | import request, {download, requestType} from "@/utils/request"; |
| | | import {BaseEntityInterface} from "@/utils/globalInterface"; |
| | | export interface TmsDispatchOrderI extends BaseEntityInterface{ |
| | | id ?: number , dispatchNo ?: string , customerName ?: string , customerCode ?: string , projectName ?: string , transportPlanNo ?: string , departureRegion ?: string , destinationRegion ?: string , transportLine ?: number , vehicleProvider ?: number , mainDriver ?: number , assistantDriver ?: string , requiredVehicleType ?: number , vehicleNumber ?: string , transportMode ?: number , loadMode ?: number , goodsName ?: string , quantity ?: string , goodsType ?: string , weight ?: string , netWeight ?: string , volume ?: string , loosePieces ?: number , fullContainers ?: number , containerNo ?: string , palletCount ?: number , earliestDeparture ?: string , latestDeparture ?: string , earliestArrival ?: string , latestArrival ?: string , departureAddress ?: string , destinationAddress ?: string , actualVehicleType ?: string , actualLoadStart ?: string , actualUnloadEnd ?: string , actualDeparture ?: string , actualArrival ?: string , actualQuantity ?: string , actualWeight ?: string , actualVolume ?: string , reweighWeight ?: string , electronicLock ?: string , containerInfo ?: string , carPlate ?: string , emptyMileage ?: string , emptyFuel ?: string , loadedMileage ?: string , loadedFuel ?: string , shiftNo ?: string , lineNo ?: string , status ?: number , createBy ?: string , createTime ?: string , updateBy ?: string , updateTime ?: string , remark ?: string } |
| | | id ?: number , dispatchNo ?: string , customerId ?: number , customerCode ?: string , projectId ?: number , projectName ?: string , contractId ?: number , contractName ?: string , orderType ?: number , transportLine ?: string , signType ?: number , vehicleProviderId ?: number , vehicleProviderName ?: string , loadingServiceProviderId ?: number , loadingServiceProviderName ?: string , customsServiceProviderId ?: number , customsServiceProviderName ?: string , isUrgent ?: number , transportType ?: number , loadMethod ?: number , mainDriverId ?: number , mainDriverName ?: string , assistantDriverId ?: number , requiredVehicleTypes ?: string , assistantDriverName ?: string , containerNo ?: string , vehicleId ?: number , licensePlate ?: string , earliestDeparture ?: string , shipperId ?: number , latestDeparture ?: string , shipperName ?: string , shipperMobile ?: string , earliestArrival ?: string , shipperAddress ?: string , latestArrival ?: string , departureAddress ?: string , shipperRegionCode ?: string , destinationAddress ?: string , receiverId ?: number , actualVehicleType ?: string , receiverName ?: string , actualLoadStart ?: string , receiverMobile ?: string , actualUnloadEnd ?: string , receiverAddress ?: string , actualDeparture ?: string , receiverRegionCode ?: string , actualArrival ?: string , actualQuantity ?: string , actualWeight ?: string , actualVolume ?: string , reweighWeight ?: string , containerId ?: number , electronicLock ?: string , shelfId ?: number , emptyMileage ?: string , emptyFuel ?: string , shelfCode ?: string , loadedMileage ?: string , loadedFuel ?: string , shiftNo ?: string , lineNo ?: string , status ?: number , createBy ?: string , createTime ?: string , updateBy ?: string , updateTime ?: string , remark ?: string , accountsReceivableStatus ?: number , accountsPayableStatus ?: number } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询调度单管理列表 |
| | | */ |
| | | export const listTmsDispatchOrder:requestType = (query) => { |
| | | export const listTmsDispatchOrder: requestType = (query) => { |
| | | return request({ |
| | | url: '/tms/tmsDispatchOrder/list', |
| | | method:'get', |
| | | params:query |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | /** |
| | | * 查询调度单管理详细 |
| | | */ |
| | | export const getTmsDispatchOrder:requestType = (id) => { |
| | | export const getTmsDispatchOrder: requestType = (id) => { |
| | | return request({ |
| | | url: '/tms/tmsDispatchOrder/' + id, |
| | | method:'get' |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * 新增调度单管理 |
| | | */ |
| | | export const addTmsDispatchOrder:requestType = (data) => { |
| | | export const addTmsDispatchOrder: requestType = (data) => { |
| | | return request({ |
| | | url: '/tms/tmsDispatchOrder', |
| | | method: 'post', |
| | |
| | | /** |
| | | * 修改调度单管理 |
| | | */ |
| | | export const updateTmsDispatchOrder:requestType = (data) => { |
| | | export const updateTmsDispatchOrder: requestType = (data) => { |
| | | return request({ |
| | | url: '/tms/tmsDispatchOrder', |
| | | method: 'put', |
| | |
| | | /** |
| | | * 删除调度单管理 |
| | | */ |
| | | export const delTmsDispatchOrder:requestType = (id) => { |
| | | export const delTmsDispatchOrder: requestType = (id) => { |
| | | return request({ |
| | | url: '/tms/tmsDispatchOrder/' + id, |
| | | method: 'delete' |
| | |
| | | /** |
| | | * 导出调度单管理 |
| | | */ |
| | | export const exportTmsDispatchOrder:requestType = (query) => { |
| | | return new Promise<any>(()=>{ |
| | | download('/tms/tmsDispatchOrder/export',query); |
| | | export const exportTmsDispatchOrder: requestType = (query) => { |
| | | return new Promise<any>(() => { |
| | | download('/tms/tmsDispatchOrder/export', query); |
| | | }) |
| | | } |