wujianwei
2025-12-23 331cd2ed3eb71666947d1e46201fca8a99a004ed
ui/admin-ui3/src/api/tms/tmsDispatchOrder.ts
@@ -1,8 +1,82 @@
import request, {download, requestType} from "@/utils/request";
import {BaseEntityInterface} from "@/utils/globalInterface";
export interface TmsDispatchOrderI extends BaseEntityInterface{
    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 interface TmsDispatchOrderI extends BaseEntityInterface {
    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,
    shipperRegionLabel:string,
    receiverRegionLabel:string,
    [key: string]: any,
}
/**
@@ -54,6 +128,13 @@
    })
}
export const generateTmsDispatchOrder: requestType = (id) => {
    return request({
        url: '/tms/tmsDispatchOrder/generateTmsDispatchOrder/'+id,
        method: 'get',
    })
}
/**
 * 修改调度单管理
@@ -76,6 +157,41 @@
    })
}
export const initGenerate: requestType = (id) => {
    return request({
        url: '/tms/tmsDispatchOrder/initGenerate/' + id,
        method: 'get'
    })
}
export const dropHook: requestType = (id) => {
    return request({
        url: '/tms/tmsDispatchOrder/dropHook/' + id,
        method: 'get'
    })
}
export const connectHang: requestType = (data) => {
    return request({
        url: '/tms/tmsDispatchOrder/connectHang',
        method: 'post',
        data
    })
}
export const customsOrder: requestType = (data) => {
    return request({
        url: '/tms/tmsDispatchOrder/customsOrder',
        method: 'post',
        data
    })
}
export const loadingOrder: requestType = (data) => {
    return request({
        url: '/tms/tmsDispatchOrder/loadingOrder',
        method: 'post',
        data
    })
}
/**
 * 导出调度单管理