zhangback
2025-11-05 4c345c975f3114e1a9bba46132886c3a501993c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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       }
 
 
/**
 * 查询调度单管理列表
 */
export const listTmsDispatchOrder:requestType = (query) => {
    return request({
        url: '/tms/tmsDispatchOrder/list',
        method:'get',
        params:query
    })
}
/**
 * 查询调度单管理详细
 */
export const getTmsDispatchOrder:requestType = (id) => {
    return request({
        url: '/tms/tmsDispatchOrder/' + id,
        method:'get'
    })
}
 
/**
 * 新增调度单管理
 */
export const addTmsDispatchOrder:requestType = (data) => {
    return request({
        url: '/tms/tmsDispatchOrder',
        method: 'post',
        data
    })
}
 
/**
 * 修改调度单管理
 */
export const updateTmsDispatchOrder:requestType = (data) => {
    return request({
        url: '/tms/tmsDispatchOrder',
        method: 'put',
        data
    })
}
 
/**
 * 删除调度单管理
 */
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);
    })
}