叁玖-saas


预建订单列表

简要描述
  • 预建订单列表
请求URL
  • /api/order/advanceOrderInfo
请求方式
  • POST
参数
参数名 必选 类型 说明
user_id int 用户id
company_id int 公司id
cus_name string 客户名称
contract_name string 合同名称
line_name string 线路名称
start_address string 始发地
end_address string 卸货地
start_created_at string 预建订单创建时间
end_created_at string 预建订单创建时间
car_type_id int 需求车型
car_len_id int 需求车长
advance_status int 状态
返回示例
{
    "success": {
        "code": "200",
        "message": "OK",
        "page_now": 1,
        "page_size": 1,
        "page_num": 10,
        "total_num": 2,
        "data": {
            "advance_list": [
                {
                    "id": 3,
                    "advance_order_num": "YJ0017420220611135048557373",
                    "company_id": 1,
                    "change_num": 0,
                    "cus_id": 1,
                    "cus_name": "客户名称",
                    "send_goods_name": "",
                    "send_goods_tel": "",
                    "head_order_num": "",
                    "contract_name": "我是合同名称",
                    "contract_id": 49,
                    "line_id_advance": "",
                    "line_name": "666",
                    "start_address": "发货地",
                    "start_address_detail": "",
                    "start_city": "",
                    "end_city": "",
                    "start_goods_name": "发货联系人",
                    "start_goods_tel": "1",
                    "start_lnt": "39.2173618723",
                    "start_lat": "107.237468158",
                    "end_address": "天津11111",
                    "end_address_detail": "",
                    "end_goods_name": "张老六",
                    "end_goods_tel": "15522109888",
                    "end_lat": "107.237468158",
                    "end_lnt": "39.2173618723",
                    "advance_status": 0,
                    "require_start_time": "2023-05-05 11:11:11",
                    "time_require_type": 1,
                    "plan_hour": 1,
                    "plan_minute": 22,
                    "start_car_time": "2023-05-05 12:12:12",
                    "arrival_car_time": "2023-05-05 15:15:15",
                    "car_type_id": 3,
                    "car_len_id": 1,
                    "car_axle_id": 2,
                    "back_order": 1,
                    "back_order_time": 1,
                    "back_order_name": "无要求",
                    "back_order_tel": "1",
                    "back_order_address": "1",
                    "province_id": 1,
                    "city_id": 1,
                    "region_id": 1,
                    "goods_name": "货物名称99999",
                    "goods_num": 12,
                    "goods_weight": "31.00",
                    "goods_volume": "1313.00",
                    "goods_price": "1313.00",
                    "charg_type": 1,
                    "is_open_ticket": 1,
                    "balance_type": 1,
                    "contract_start_time": "1",
                    "contract_end_time": "",
                    "payable_freight": "3000.00",
                    "loading_fee": "3222.00",
                    "service_fee": "3333.00",
                    "other_fee": "4444.00",
                    "if_open_invoice": 1,
                    "repeat_time": "99",
                    "line_type": 3,
                    "memo": "备注备注备注",
                    "person_ask": "0",
                    "if_deleted": 0,
                    "created_id": 99,
                    "updated_id": 99,
                    "created_at": "2022-06-11 13:50:00",
                    "updated_at": "2022-06-30 14:04:58",
                    "created_at_ymd": "2022-06-11",
                    "updated_at_ymd": "",
                    "car_type_name": "厢式车",
                    "car_len_name": "4.2米",
                    "car_axle_name": "2轴",
                    "advance_status_name": "待确认",
                    "charg_type_name": "车",
                    "balance_type_name": "月结"
                },
                {
                    "id": 2,
                    "advance_order_num": "YJ0017320220611135048437234",
                    "company_id": 568868377,
                    "change_num": 0,
                    "cus_id": 1,
                    "cus_name": "新客户名称",
                    "send_goods_name": "",
                    "send_goods_tel": "",
                    "head_order_num": "",
                    "contract_name": "新的合同名称GOGOGO",
                    "contract_id": 41,
                    "line_id_advance": "6,9",
                    "line_name": "666",
                    "start_address": "我发车的地址",
                    "start_address_detail": "",
                    "start_city": "",
                    "end_city": "",
                    "start_goods_name": "联系人",
                    "start_goods_tel": "15522109887",
                    "start_lnt": "123123123123",
                    "start_lat": "123123123123",
                    "end_address": "asdfasdfasdf",
                    "end_address_detail": "",
                    "end_goods_name": "卸货地的老大哥",
                    "end_goods_tel": "18822356519",
                    "end_lat": "123123123123",
                    "end_lnt": "3213213123123",
                    "advance_status": 0,
                    "require_start_time": "1",
                    "time_require_type": 1,
                    "plan_hour": 3,
                    "plan_minute": 2,
                    "start_car_time": "1",
                    "arrival_car_time": "1",
                    "car_type_id": 3,
                    "car_len_id": 3,
                    "car_axle_id": 3,
                    "back_order": 1,
                    "back_order_time": 1,
                    "back_order_name": "无要求",
                    "back_order_tel": "1",
                    "back_order_address": "1",
                    "province_id": 1,
                    "city_id": 1,
                    "region_id": 1,
                    "goods_name": "货物名称767676",
                    "goods_num": 1200,
                    "goods_weight": "3333.00",
                    "goods_volume": "3232.00",
                    "goods_price": "29.00",
                    "charg_type": 1,
                    "is_open_ticket": 1,
                    "balance_type": 1,
                    "contract_start_time": "1",
                    "contract_end_time": "",
                    "payable_freight": "3000.00",
                    "loading_fee": "3222.00",
                    "service_fee": "3333.00",
                    "other_fee": "4444.00",
                    "if_open_invoice": 1,
                    "repeat_time": "1,2,3,4,6",
                    "line_type": 3,
                    "memo": "备注备注备注",
                    "person_ask": "0",
                    "if_deleted": 0,
                    "created_id": 99,
                    "updated_id": 99,
                    "created_at": "2022-06-11 13:50:00",
                    "updated_at": "2022-06-30 14:04:58",
                    "created_at_ymd": "2022-06-11",
                    "updated_at_ymd": "",
                    "car_type_name": "厢式车",
                    "car_len_name": "7.6米",
                    "car_axle_name": "4轴",
                    "advance_status_name": "待确认",
                    "charg_type_name": "车",
                    "balance_type_name": "月结"
                }
            ],
            "count_data": {
                "advance_count": 300,
                "to_order_count": 150,
                "to_order_cr": 50
            }
        }
    }
}
返回参数说明
参数名 类型 说明
code int 200 正常
page_now int 当前页数
page_size int 当页最大条数
page_num int 当页条数
total_num int 总数据量
id int 预建订单id
advance_order_num string 预建订单编号
company_id int 公司id
change_num int 已转化订单
cus_id int 客户id
cus_name string 客户名称
send_goods_name int 发货人姓名
send_goods_tel int 发货人电话
head_order_num string 上游单号
contract_name string 合同名称
line_id_advance int 经停表id
line_name string 线路名称
start_address string 装货地
start_address_detail string 装货地详细地址
start_city int 装货地 市
end_city int 卸货地 市
start_goods_name string 装货地址联系人
start_goods_tel int 装货地址联系人电话
start_lnt string 装货地经度
start_lat string 装货地纬度
end_address string 卸货地
end_address_detail string 卸货地详细地址
end_goods_tel string 卸货地址联系人电话
end_lat string 卸货地纬度
end_lnt string 卸货地经度
advance_status string 预建订单状态:0.待确认1.已转化 2.已失效
require_start_time string 时效要求-装货时间
time_require_type string 1无要求 2仅要求时长 3具体时间点
plan_hour string 计划运输时效 - 时
plan_minute string 计划运输时效 - 分
start_car_time string 具体时间点 - 发车时间
arrival_car_time string 具体时间点 - 到达时间
car_type_id string 需求车型id
car_len_id string 需求车长
car_axle_id string 需求轴数
back_order string 回单需求 0不需要 1纸质回单 2回单照片
back_order_time string 回单时效
back_order_name string 回单收件人姓名
back_order_tel string 回单收件人电话
back_order_address string 回单详细地址
province_id int 回单 - 省
city_id int 回单 - 市
region_id int 回单 - 区
goods_name string 货物名称
goods_num string 货物件数
goods_weight int 货物重量
goods_volume int 货物体积
goods_price int 货物价值
charg_type int 计费方式 1是按车 2是按件 3是按吨 4是按方
is_open_ticket int 是否开票 1开票 2不开
balance_type int 结算方式 1月结 2是双月结 3是三月结 4是半月结 5是周结 6是现付
contract_start_time string 合同有效时间 - 开始时间
contract_end_time string 合同有效时间 - 结束时间
payable_freight string 应收运费
loading_fee string 装卸费
service_fee string 服务费
other_fee string 其他费用
if_open_invoice string 是否开票 0 不开 1开票
repeat_time string 重复日 1.周一 2周二 3周三 4.周四 5.周五 6.周六 7.周日 99每天
memo string 备注
person_ask int 个性需求id
car_type_name string 需求车型名字
car_len_name string 需求车长名字
car_axle_name string 需求轴数名字
advance_status_name string 状态名字
charg_type_name string 计费方式名字
balance_type_name string 结算方式名字
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML