|
|
@@ -406,15 +406,23 @@ class OrderDetailData {
|
|
|
String orderNo;
|
|
|
String goods; //商品名称
|
|
|
int goodsAgencyFund; //代收款
|
|
|
+ int goodsCategoryId;
|
|
|
+ String goodsCategoryName;//货物类型
|
|
|
int goodsFlatCost; //工本费
|
|
|
int goodsFreight; //运费
|
|
|
int goodsInsurance; //商品保险费
|
|
|
int goodsOtherFees; //其他费用
|
|
|
+ int goodsPackingId;
|
|
|
+ String goodsPackingName;//货物包装类型
|
|
|
+ int goodsPaymentMethod;//付款方式
|
|
|
int goodsPriceProtection; //商品保价
|
|
|
int goodsQuantity; //商品数量
|
|
|
int goodsValue; //商品价值
|
|
|
double goodsWeight; //商品重量
|
|
|
int id; //订单Id
|
|
|
+ String lineCode;//线路编码
|
|
|
+ int lineId;//线路id
|
|
|
+ String lineName;//线路名称
|
|
|
String memo; //备注
|
|
|
int orderStatus; //订单状态 0:代收单,1:已接单,2:配送中,3:已签收,4:拒收
|
|
|
String receiptCompanyAddress; //收件详细地址
|
|
|
@@ -442,15 +450,21 @@ class OrderDetailData {
|
|
|
String senderIdCard; //发件人身份证号
|
|
|
String senderName; //发件人名称
|
|
|
String senderPhone; //发件人电话
|
|
|
-
|
|
|
+ int stationId;
|
|
|
+ String stationName;
|
|
|
OrderDetailData(
|
|
|
{this.orderNo,
|
|
|
this.goods,
|
|
|
this.goodsAgencyFund,
|
|
|
+ this.goodsCategoryId,
|
|
|
+ this.goodsCategoryName,
|
|
|
this.goodsFlatCost,
|
|
|
this.goodsFreight,
|
|
|
this.goodsInsurance,
|
|
|
this.goodsOtherFees,
|
|
|
+ this.goodsPackingId,
|
|
|
+ this.goodsPackingName,
|
|
|
+ this.goodsPaymentMethod,
|
|
|
this.goodsPriceProtection,
|
|
|
this.goodsQuantity,
|
|
|
this.goodsValue,
|
|
|
@@ -482,18 +496,26 @@ class OrderDetailData {
|
|
|
this.senderIdCard,
|
|
|
this.senderName,
|
|
|
this.sendCompanyPhone,
|
|
|
- this.senderPhone});
|
|
|
+ this.senderPhone,
|
|
|
+ this.stationId,
|
|
|
+ this.stationName
|
|
|
+ });
|
|
|
|
|
|
factory OrderDetailData.fromJson(Map<String, dynamic> json) {
|
|
|
return OrderDetailData(
|
|
|
orderNo: json['orderNo'],
|
|
|
goods: json['goods'],
|
|
|
goodsAgencyFund: json['goodsAgencyFund'],
|
|
|
+ goodsCategoryId:json['goodsCategoryId'],
|
|
|
+ goodsCategoryName:json['goodsCategoryName'],
|
|
|
goodsFlatCost: json['goodsFlatCost'],
|
|
|
goodsFreight: json['goodsFreight'],
|
|
|
goodsInsurance: json['goodsInsurance'],
|
|
|
goodsOtherFees: json['goodsOtherFees'],
|
|
|
+ goodsPackingId:json['goodsPackingId'],
|
|
|
+ goodsPackingName:json['goodsPackingName'],
|
|
|
goodsPriceProtection: json['goodsPriceProtection'],
|
|
|
+ goodsPaymentMethod:json['goodsPaymentMethod'],
|
|
|
goodsQuantity: json['goodsQuantity'],
|
|
|
goodsValue: json['goodsValue'],
|
|
|
goodsWeight: json['goodsWeight'],
|
|
|
@@ -524,7 +546,9 @@ class OrderDetailData {
|
|
|
senderIdCard: json['senderIdCard'],
|
|
|
senderName: json['senderName'],
|
|
|
senderPhone: json['senderPhone'],
|
|
|
- sendCompanyPhone:json['sendCompanyPhone']
|
|
|
+ sendCompanyPhone:json['sendCompanyPhone'],
|
|
|
+ stationId:json['stationId'],
|
|
|
+ stationName:json['stationName']
|
|
|
);
|
|
|
|
|
|
}
|