|
@@ -255,10 +255,10 @@
|
|
|
"name": "发货方", //发货人姓名
|
|
|
"phone": "15161151543", //发货人手机
|
|
|
"address": { //发货人地址相关信息
|
|
|
- "province": null, //省
|
|
|
- "cityCode": null, //城市代码
|
|
|
- "city": null, //城市
|
|
|
- "district": null, //区
|
|
|
+ "province": "浙江省", //省
|
|
|
+ "cityCode": "", //城市代码
|
|
|
+ "city": "温州市", //城市
|
|
|
+ "district": "鹿城区", //区
|
|
|
"name": "浙江省温州市鹿城区浙江温州化工总厂",
|
|
|
"address": "浙江省温州市鹿城区浙江温州化工总厂", //地址
|
|
|
"lng": 120.579412, //经度
|
|
@@ -270,10 +270,10 @@
|
|
|
"name": "收货方",
|
|
|
"phone": "15161128126",
|
|
|
"address": {
|
|
|
- "province": null,
|
|
|
- "cityCode": null,
|
|
|
- "city": null,
|
|
|
- "district": null,
|
|
|
+ "province": "浙江省",
|
|
|
+ "cityCode": "",
|
|
|
+ "city": "杭州市",
|
|
|
+ "district": "淳安县",
|
|
|
"name": "浙江省杭州市淳安县绿城千岛湖喜来登度假酒店",
|
|
|
"address": "浙江省杭州市淳安县绿城千岛湖喜来登度假酒店",
|
|
|
"lng": 119.039414,
|
|
@@ -282,12 +282,10 @@
|
|
|
}
|
|
|
],
|
|
|
"cargo": {
|
|
|
- "id": null, //货物id
|
|
|
- "uid": null, //创建人id
|
|
|
"name": "货物1", //货物名字,取第一个货物的名字
|
|
|
- "quantity": 3, //货物总数量
|
|
|
- "weight": 5, //货物总重量
|
|
|
- "volume": 7, //货物总体积
|
|
|
+ "quantity": 3.0, //货物总数量
|
|
|
+ "weight": 5.0, //货物总重量
|
|
|
+ "volume": 7.0, //货物总体积
|
|
|
"productModel": "货物1备注", //货物备注
|
|
|
"note1": "货物1备注1", //货物自定义备注1
|
|
|
"note2": "货物1备注2", //货物自定义备注2
|
|
@@ -295,14 +293,10 @@
|
|
|
"note4": "", //货物自定义备注4
|
|
|
"note5": "", //货物自定义备注5
|
|
|
"note6": "", //货物自定义备注6
|
|
|
- "value": null, //货值
|
|
|
- "consignerPhone": null, //发货人手机号
|
|
|
- "consigneePhones": null, //收货人手机号
|
|
|
- "created": null, //创建货物时间
|
|
|
- "updated": null //更新货物数据时间
|
|
|
+ "value": 9.0, //货值
|
|
|
},
|
|
|
"totalCargoes": 2, //货物总数量
|
|
|
- "settlementParty": 1, //结算方
|
|
|
+ "settlementParty": 1, //结算方 1:发货方 2:收货方
|
|
|
"freightIn": { //上游运费
|
|
|
"payType": 1, //上游费用支付方式, 1现付,2到付,3回付,4周结,5月结
|
|
|
"amount": 11 //上游费用
|
|
@@ -311,15 +305,15 @@
|
|
|
"payType": 5, //上游费用支付方式, 1现付,2到付,3回付,4周结,5月结
|
|
|
"amount": 12 //司机费用
|
|
|
},
|
|
|
- "totalFreightIn": 11, //总上游费用
|
|
|
+ "totalFreightIn": 11.0, //总上游费用
|
|
|
"freightReceived": null, //已收费用
|
|
|
- "freightUnreceived": 11, //未收费用
|
|
|
+ "freightUnreceived": 11.0, //未收费用
|
|
|
"freightCollect": null, //代收运费
|
|
|
"freightCollectReceived": null, //已收代收运费
|
|
|
- "freightCollectUnReceived": 0, //未收代收运费
|
|
|
+ "freightCollectUnReceived": 0.0, //未收代收运费
|
|
|
"paymentCollect": null, //代收货款
|
|
|
"paymentCollectReceived": null, //已收代收货款
|
|
|
- "paymentCollectUnReceived": 0, //未收代收货款
|
|
|
+ "paymentCollectUnReceived": 0.0, //未收代收货款
|
|
|
"needReceipt": 1, //是否需要回单
|
|
|
"receiptCount": 1, //回单数量
|
|
|
"note": "运单备注", //运单备注
|
|
@@ -389,11 +383,11 @@
|
|
|
"openTime": null, //开单时间
|
|
|
"publishTime": 1548407457, //发布时间
|
|
|
"receiveTime": 1548407457, //接收时间
|
|
|
- "shipmentTime": null, //装货时间
|
|
|
- "signedTime": null, //签收时间
|
|
|
- "receiptCallbackTime": null, //回单回收时间
|
|
|
- "receiptSendOutTime": null, //回单发放时间
|
|
|
- "evaluateTime": null, //评价时间
|
|
|
+ "shipmentTime": 1548407457, //装货时间
|
|
|
+ "signedTime": 1548407457, //签收时间
|
|
|
+ "receiptCallbackTime": 1548407457, //回单回收时间
|
|
|
+ "receiptSendOutTime": 1548407457, //回单发放时间
|
|
|
+ "evaluateTime": 1548407457, //评价时间
|
|
|
"receiptStatus": null, //回单状态 回单已回收,回单已发放
|
|
|
"receiptUploaded": null, //回单是否已上传
|
|
|
"settlementStatus": null, //运费状态
|
|
@@ -436,9 +430,9 @@
|
|
|
"uid": "5d2bd68ae4b0dc3282ebe13e",//主账号id
|
|
|
"ttmsOrderId": "5d2c3616b16e6300102d3ab8",//运单id
|
|
|
"name": "MacBook Pro", //货物名称
|
|
|
- "quantity": 8, //数量
|
|
|
- "weight": null, //质量
|
|
|
- "volume": null, //体积
|
|
|
+ "quantity": 8.0, //数量
|
|
|
+ "weight": 2.0, //质量
|
|
|
+ "volume": 3.0, //体积
|
|
|
"value": 468.89, //货物价值
|
|
|
"productModel": "", //备注
|
|
|
"note1": "", //自定义备注1
|
|
@@ -559,9 +553,9 @@
|
|
|
"id": null, //货物id
|
|
|
"uid": null, //创建人id
|
|
|
"name": "货物1", //货物名字,取第一个货物的名字
|
|
|
- "quantity": 3, //货物总数量
|
|
|
- "weight": 5, //货物总重量
|
|
|
- "volume": 7, //货物总体积
|
|
|
+ "quantity": 3.0, //货物总数量
|
|
|
+ "weight": 5.0, //货物总重量
|
|
|
+ "volume": 7.0, //货物总体积
|
|
|
"productModel": "货物1备注", //货物备注
|
|
|
"note1": "货物1备注1", //货物自定义备注1
|
|
|
"note2": "货物1备注2", //货物自定义备注2
|
|
@@ -576,7 +570,7 @@
|
|
|
"updated": null //更新货物数据时间
|
|
|
},
|
|
|
"totalCargoes": 2, //货物总数量
|
|
|
- "settlementParty": 1, //结算方
|
|
|
+ "settlementParty": 1, //结算方 1:发货方 2:收货方
|
|
|
"freightIn": { //上游运费
|
|
|
"payType": 1, //上游费用支付方式, 1现付,2到付,3回付,4周结,5月结
|
|
|
"amount": 11 //上游费用
|
|
@@ -660,7 +654,7 @@
|
|
|
},
|
|
|
"evaluate": null, //评价
|
|
|
"miles": 342, //预估里程
|
|
|
- "openTime": null, //开单时间
|
|
|
+ "openTime": 1548407457, //开单时间
|
|
|
"publishTime": 1548407457, //发布时间
|
|
|
"receiveTime": 1548407457, //接收时间
|
|
|
"shipmentTime": null, //装货时间
|
|
@@ -1473,11 +1467,11 @@
|
|
|
},
|
|
|
"cargo": { // 货物总计
|
|
|
"name": "MacBook Air", //货物名称
|
|
|
- "quantity": 2, //件数
|
|
|
- "weight": 3, //重量
|
|
|
- "volume": 4, //体积
|
|
|
- "value": 5, //货值
|
|
|
- "remarks": "6", //备注
|
|
|
+ "quantity": 2.0, //件数
|
|
|
+ "weight": 3.0, //重量
|
|
|
+ "volume": 4.0, //体积
|
|
|
+ "value": 5.0, //货值
|
|
|
+ "remarks": "xxx", //备注
|
|
|
"note1": "7", // 货物自定义备注1
|
|
|
"note2": "8", // 货物自定义备注2
|
|
|
"note3": "", // 货物自定义备注3
|
|
@@ -1588,11 +1582,11 @@
|
|
|
"customerOrderNumber": "S1803261358607938", //受理单号
|
|
|
"transferOrderNumber": null, //外转单号
|
|
|
"name": "MacBook Air", // 货物名称
|
|
|
- "quantity": 2, // 数量
|
|
|
- "weight": 3, // 重量
|
|
|
- "volume": 4, // 体积
|
|
|
- "value": 5, // 货值
|
|
|
- "remarks": "6", // 备注
|
|
|
+ "quantity": 2.0, // 数量
|
|
|
+ "weight": 3.0, // 重量
|
|
|
+ "volume": 4.0, // 体积
|
|
|
+ "value": 5.0, // 货值
|
|
|
+ "remarks": "xxx", // 备注
|
|
|
"note1": "7", // 货物自定义备注1
|
|
|
"note2": "8", // 货物自定义备注2
|
|
|
"note3": "", // 货物自定义备注3
|
|
@@ -1869,10 +1863,10 @@ OrderEntity结构如下:
|
|
|
"note5": "", //自定义备注5
|
|
|
"note6": "", //自定义备注6
|
|
|
"productModel": "", //货物备注
|
|
|
- "quantity": 1, //件数
|
|
|
- "value": 2, //货值
|
|
|
- "volume": 3, //体积
|
|
|
- "weight": 4 //重量
|
|
|
+ "quantity": 1.0, //件数
|
|
|
+ "value": 2.0, //货值
|
|
|
+ "volume": 3.0, //体积
|
|
|
+ "weight": 4.0 //重量
|
|
|
}
|
|
|
]
|
|
|
}
|
|
@@ -2011,10 +2005,10 @@ CustomerOrderEntity结构如下:
|
|
|
"note5": "", //自定义备注5
|
|
|
"note6": "", //自定义备注6
|
|
|
"productModel": "", //货物备注
|
|
|
- "quantity": 1, //件数
|
|
|
- "value": 2, //货值
|
|
|
- "volume": 3, //体积
|
|
|
- "weight": 4 //重量
|
|
|
+ "quantity": 1.0, //件数
|
|
|
+ "value": 2.0, //货值
|
|
|
+ "volume": 3.0, //体积
|
|
|
+ "weight": 4.0 //重量
|
|
|
}
|
|
|
]
|
|
|
}
|