叁玖-saas


订单列表初始化

简要描述:

-订单创建.

  • 张宝起

请求URL:

  • /api/order/orderInfo

请求方式:

  • post

参数:

参数名 必选 类型 说明
company_id int 公司id
page int 页数
page_size int 当页最大条数
order_num string 查询订单号
status int 订单状态 1 待安排运力 2 已安排运力 3已取消
cus_name string 客户名称
send_goods_name string 发货人电话
contract_name string 订单名称
line_name string 路线名称
start_created_at string 订单创建时间-开始
end_created_at string 订单创建时间-结束
send_goods_tel string 发货人手机号
car_type_id string 需求车型
car_len_id string 需求车长
start_province int 始发地 - 省
start_city int 始发地 - 市
start_region int 始发地 - 区
end_province int 目的地 - 省
end_city int 目的地 - 市
end_region int 目的地 - 区

返回示例

array(2) {
  [0]=>
  array(90) {
    ["id"]=>
    int(150)
    ["item_id"]=>
    string(0) ""
    ["order_num"]=>
    string(27) "DO0020720220630153738719678"
    ["company_id"]=>
    int(1)
    ["cus_id"]=>
    int(1)
    ["cus_name"]=>
    string(15) "新客户名称"
    ["send_goods_name"]=>
    string(18) "发货发货发货"
    ["send_goods_tel"]=>
    string(6) "123123"
    ["head_order_num"]=>
    string(3) "333"
    ["status"]=>
    int(1)
    ["contract_id"]=>
    int(41)
    ["contract_name"]=>
    string(24) "新的合同名称GOGOGO"
    ["line_name"]=>
    string(3) "666"
    ["line_id_contract"]=>
    string(5) "63,64"
    ["start_province"]=>
    int(130000)
    ["start_city"]=>
    int(130500)
    ["start_region"]=>
    int(130229)
    ["end_province"]=>
    int(220000)
    ["end_city"]=>
    int(650000)
    ["end_region"]=>
    int(130229)
    ["start_address"]=>
    string(18) "我发车的地址"
    ["start_goods_name"]=>
    string(0) ""
    ["start_goods_tel"]=>
    int(0)
    ["start_lnt"]=>
    string(9) "117.40829"
    ["start_lat"]=>
    string(8) "40.04577"
    ["stop_point"]=>
    string(6) ",63,64"
    ["end_address"]=>
    string(0) ""
    ["end_goods_name"]=>
    string(21) "卸货地的老大哥"
    ["end_goods_tel"]=>
    string(11) "18822356519"
    ["end_lnt"]=>
    string(13) "3213213123123"
    ["end_lat"]=>
    string(12) "123123123123"
    ["time_require_type"]=>
    int(1)
    ["require_start_time"]=>
    string(1) "1"
    ["plan_hour"]=>
    int(3)
    ["plan_minute"]=>
    int(2)
    ["start_car_time"]=>
    string(1) "1"
    ["arrival_car_time"]=>
    string(1) "1"
    ["total_num"]=>
    NULL
    ["car_type_id"]=>
    int(3)
    ["car_len_id"]=>
    int(3)
    ["car_axle_id"]=>
    int(3)
    ["back_order_type"]=>
    int(1)
    ["back_order_time"]=>
    int(1)
    ["back_order_name"]=>
    string(1) "1"
    ["back_order_tel"]=>
    int(0)
    ["back_order_province"]=>
    int(1)
    ["back_order_city"]=>
    int(1)
    ["back_order_region"]=>
    int(1)
    ["back_order_detail"]=>
    string(1) "1"
    ["goods_name"]=>
    string(18) "货物名称767676"
    ["goods_num"]=>
    int(1200)
    ["goods_weight"]=>
    string(7) "3333.00"
    ["goods_volume"]=>
    string(7) "3232.00"
    ["goods_price"]=>
    string(5) "29.00"
    ["record_type"]=>
    int(1)
    ["is_open_ticket"]=>
    int(1)
    ["is_open_ticket_client"]=>
    int(0)
    ["pay_type"]=>
    NULL
    ["set_type"]=>
    int(1)
    ["payable_freight"]=>
    string(7) "3000.00"
    ["pay_freight"]=>
    string(4) "0.00"
    ["loading_fee"]=>
    string(7) "3222.00"
    ["service_fee"]=>
    string(7) "3333.00"
    ["other_fee"]=>
    string(7) "4444.00"
    ["person_ask"]=>
    string(1) "0"
    ["cancel_memo"]=>
    string(0) ""
    ["cancel_type"]=>
    int(0)
    ["memo"]=>
    string(18) "备注备注备注"
    ["belong_id"]=>
    int(0)
    ["if_deleted"]=>
    int(0)
    ["created_id"]=>
    int(1)
    ["updated_id"]=>
    int(1)
    ["created_at"]=>
    string(19) "2022-06-30 15:37:00"
    ["updated_at"]=>
    string(19) "2022-07-21 20:07:43"
    ["created_at_ymd"]=>
    string(10) "2022-06-30"
    ["updated_at_ymd"]=>
    string(0) ""
    ["correlation_reconcile_status"]=>
    int(0)
    ["belong_dept_id"]=>
    NULL
    ["car_type_name"]=>
    string(9) "厢式车"
    ["car_len_name"]=>
    string(6) "7.6米"
    ["car_axle_name"]=>
    string(4) "4轴"
    ["created_name"]=>
    string(8) "zhangsan"
    ["stop_point_name"]=>
    string(3) "是"
    ["time_require_type_name"]=>
    string(9) "无要求"
    ["back_order_type_name"]=>
    string(9) "不需要"
    ["charg_type_name"]=>
    string(3) "车"
    ["is_open_ticket_name"]=>
    string(6) "开票"
    ["set_type_name"]=>
    string(6) "月结"
    ["status_name"]=>
    string(9) "待调度"
    ["stop_point_data"]=>
    array(0) {
    }
  }
  [1]=>
  array(90) {
    ["id"]=>
    int(141)
    ["item_id"]=>
    string(0) ""
    ["order_num"]=>
    string(27) "DO0020720220630153738719678"
    ["company_id"]=>
    int(1)
    ["cus_id"]=>
    int(1)
    ["cus_name"]=>
    string(15) "新客户名称"
    ["send_goods_name"]=>
    string(18) "发货发货发货"
    ["send_goods_tel"]=>
    string(6) "123123"
    ["head_order_num"]=>
    string(3) "333"
    ["status"]=>
    int(1)
    ["contract_id"]=>
    int(41)
    ["contract_name"]=>
    string(24) "新的合同名称GOGOGO"
    ["line_name"]=>
    string(3) "666"
    ["line_id_contract"]=>
    string(5) "63,64"
    ["start_province"]=>
    int(130000)
    ["start_city"]=>
    int(130500)
    ["start_region"]=>
    int(130229)
    ["end_province"]=>
    int(220000)
    ["end_city"]=>
    int(650000)
    ["end_region"]=>
    int(130229)
    ["start_address"]=>
    string(18) "我发车的地址"
    ["start_goods_name"]=>
    string(0) ""
    ["start_goods_tel"]=>
    int(0)
    ["start_lnt"]=>
    string(9) "117.40829"
    ["start_lat"]=>
    string(17) "39.61842526498652"
    ["stop_point"]=>
    string(6) ",63,64"
    ["end_address"]=>
    string(0) ""
    ["end_goods_name"]=>
    string(21) "卸货地的老大哥"
    ["end_goods_tel"]=>
    string(11) "18822356519"
    ["end_lnt"]=>
    string(13) "3213213123123"
    ["end_lat"]=>
    string(12) "123123123123"
    ["time_require_type"]=>
    int(1)
    ["require_start_time"]=>
    string(1) "1"
    ["plan_hour"]=>
    int(3)
    ["plan_minute"]=>
    int(2)
    ["start_car_time"]=>
    string(1) "1"
    ["arrival_car_time"]=>
    string(1) "1"
    ["total_num"]=>
    NULL
    ["car_type_id"]=>
    int(3)
    ["car_len_id"]=>
    int(3)
    ["car_axle_id"]=>
    int(3)
    ["back_order_type"]=>
    int(1)
    ["back_order_time"]=>
    int(1)
    ["back_order_name"]=>
    string(1) "1"
    ["back_order_tel"]=>
    int(0)
    ["back_order_province"]=>
    int(1)
    ["back_order_city"]=>
    int(1)
    ["back_order_region"]=>
    int(1)
    ["back_order_detail"]=>
    string(1) "1"
    ["goods_name"]=>
    string(18) "货物名称767676"
    ["goods_num"]=>
    int(1200)
    ["goods_weight"]=>
    string(7) "3333.00"
    ["goods_volume"]=>
    string(7) "3232.00"
    ["goods_price"]=>
    string(5) "29.00"
    ["record_type"]=>
    int(1)
    ["is_open_ticket"]=>
    int(1)
    ["is_open_ticket_client"]=>
    int(0)
    ["pay_type"]=>
    NULL
    ["set_type"]=>
    int(1)
    ["payable_freight"]=>
    string(7) "3000.00"
    ["pay_freight"]=>
    string(4) "0.00"
    ["loading_fee"]=>
    string(7) "3222.00"
    ["service_fee"]=>
    string(7) "3333.00"
    ["other_fee"]=>
    string(7) "4444.00"
    ["person_ask"]=>
    string(1) "0"
    ["cancel_memo"]=>
    string(0) ""
    ["cancel_type"]=>
    int(0)
    ["memo"]=>
    string(18) "备注备注备注"
    ["belong_id"]=>
    int(0)
    ["if_deleted"]=>
    int(0)
    ["created_id"]=>
    int(1)
    ["updated_id"]=>
    int(1)
    ["created_at"]=>
    string(19) "2022-06-30 15:37:00"
    ["updated_at"]=>
    string(19) "2022-07-21 20:07:43"
    ["created_at_ymd"]=>
    string(10) "2022-06-30"
    ["updated_at_ymd"]=>
    string(0) ""
    ["correlation_reconcile_status"]=>
    int(0)
    ["belong_dept_id"]=>
    NULL
    ["car_type_name"]=>
    string(9) "厢式车"
    ["car_len_name"]=>
    string(6) "7.6米"
    ["car_axle_name"]=>
    string(4) "4轴"
    ["created_name"]=>
    string(8) "zhangsan"
    ["stop_point_name"]=>
    string(3) "是"
    ["time_require_type_name"]=>
    string(9) "无要求"
    ["back_order_type_name"]=>
    string(9) "不需要"
    ["charg_type_name"]=>
    string(3) "车"
    ["is_open_ticket_name"]=>
    string(6) "开票"
    ["set_type_name"]=>
    string(6) "月结"
    ["status_name"]=>
    string(9) "待调度"
    ["stop_point_data"]=>
    array(2) {
      [0]=>
      array(10) {
        ["order_num"]=>
        string(3) "141"
        ["pass_address"]=>
        string(9) "西南角"
        ["pass_goods_name"]=>
        string(18) "东丽区联系人"
        ["pass_goods_tel"]=>
        int(1)
        ["pass_lnt"]=>
        string(13) "39.2173618723"
        ["pass_lat"]=>
        string(13) "39.2173618723"
        ["time_require_type"]=>
        int(1)
        ["require_start_time"]=>
        string(1) "2"
        ["start_car_time"]=>
        string(10) "2020-07-07"
        ["arrival_car_time"]=>
        string(10) "2020-07-08"
      }
      [1]=>
      array(10) {
        ["order_num"]=>
        string(3) "141"
        ["pass_address"]=>
        string(14) "东丽区33333"
        ["pass_goods_name"]=>
        string(18) "东丽区联系人"
        ["pass_goods_tel"]=>
        int(1)
        ["pass_lnt"]=>
        string(13) "39.2173618723"
        ["pass_lat"]=>
        string(13) "39.2173618723"
        ["time_require_type"]=>
        int(1)
        ["require_start_time"]=>
        string(1) "2"
        ["start_car_time"]=>
        string(10) "2020-07-07"
        ["arrival_car_time"]=>
        string(10) "2020-07-08"
      }
    }
  }
}

返回参数说明

参数名 类型 说明
code int 状态码 200-正常 非200都是异常
msg string 提示消息
page_now int 当前页数
page_size int 当页最大条数
page_num int 当页条数
total_num int 总数据量
order_num int 订单号
company_id int 物流公司id
cus_id int 客户id
cus_name json 客户名称
send_goods_name json 发货人姓名
send_goods_tel int 发货人电话
head_order_num int 上游单号
status int 1 待调度 2 抢单中 3 报价中 4 待司机接单 5 待承运商接单 6 承运商待安排司机 7 待调度确认 8 调度完成
contract_id int 合同id
contract_name string 合同名称
line_name string 路线名称
line_id_contract int 合同中路线id
start_province int 始发地-省
start_city int 始发地-市
start_region int 始发地-区
end_province int 目的地-省
end_city int 目的地-市
end_region int 目的地-区
start_address string 装货地址
start_goods_name string 装货地联系人
start_goods_tel int 装货地联系人电话
start_lnt string 装货地-经度
start_lat string 装货地-纬度
stop_point string 经停点id
end_address string 卸货地
end_goods_name string 卸货地联系人
end_goods_tel int 卸货地联系人电话
end_lnt string 卸货地-经度
end_lat string 卸货地-纬度
time_require_type int 时效要求: 1.无要求 2.仅要求时长 3.具体时间点
require_start_time string 时效要求-装货时间
plan_hour int 计划运输时效 - 时
plan_minute int 计划运输时效 - 分
start_car_time jsstringon 具体时间点 - 发车时间
arrival_car_time string 具体时间点 - 到达时间
car_type_id int 需求车型id
car_len_id int 需求车长id
car_axle_id int 需求车辆轴数 id
back_order_type int 回单要求 1.不需要 2.纸制回单 3.回单照片
back_order_time int 回单时效(天)
back_order_name string 回单收件人姓名
back_order_tel int 回单人电话
back_order_province int 回单 - 省
back_order_city int 回单 - 市
back_order_region int 回单 - 区
back_order_detail int 回单详细地址
goods_name json 货物名称
goods_num int 货物件数
goods_weight int 货物重量
goods_volume int 货物体积
goods_price int 货物价值
record_type int 计费方式 1是按车 2是按件 3是按吨 4是按方
is_open_ticket int 是否开票 1开票 2不开
set_type int 结算方式 1月结 2是双月结 3是三月结 4是半月结 5是周结 6是现付
payable_freight int 应收合计
pay_freight int 应收运费
loading_fee int 装卸费
service_fee int 服务费
other_fee int 其他费用
person_ask int 个性需求id
memo string 备注
total_num int 参考里程
car_type_name string 需求车型名字
car_len_name string 需求车长名字
car_axle_name string 需求轴数名字
time_require_type_name string 时效要求
back_order_type_name string 回单要求名字
record_type_name string 计费方式名字
is_open_ticket_name string 是否开票名字
set_type_name string 结算方式名字
created_name string 创建人名字
created_at string 创建时间
pay_freight int 应收合计
total_num int 参考里程
stop_point_data int 经停点数据
stop_point_data >>> order_num int 订单id
stop_point_data >>> pass_address int 经停点地址
stop_point_data >>> pass_goods_name int 经停点联系人
stop_point_data >>> pass_goods_tel int 经停点联系人电话
stop_point_data >>> pass_lnt int 经停点-经度
stop_point_data >>> pass_lat int 经停点-纬度
stop_point_data >>> time_require_type int 装货时间
stop_point_data >>> start_car_time int 发车时间
stop_point_data >>> arrival_car_time int 到达时间
stop_point_data >>> province int
stop_point_data >>> city int
stop_point_data >>> region int

备注

  • 更多返回错误代码请看首页的错误代码描述.

页面列表

ITEM_HTML