|
@@ -107,9 +107,16 @@ class OrderList {
|
|
|
String receiptCompanyAddress;
|
|
String receiptCompanyAddress;
|
|
|
String receiptCompanyName;
|
|
String receiptCompanyName;
|
|
|
String receiptCompanyPhone;
|
|
String receiptCompanyPhone;
|
|
|
|
|
+ String receiptCompanyProvinceName;
|
|
|
|
|
+ String receiptCompanyCityName;
|
|
|
|
|
+ String receiptCompanyAreaName;
|
|
|
String sendCompanyAddress;
|
|
String sendCompanyAddress;
|
|
|
String sendCompanyName;
|
|
String sendCompanyName;
|
|
|
String sendCompanyPhone;
|
|
String sendCompanyPhone;
|
|
|
|
|
+ String sendCompanyProvinceName;
|
|
|
|
|
+ String sendCompanyCityName;
|
|
|
|
|
+ String sendCompanyAreaName;
|
|
|
|
|
+
|
|
|
OrderList(
|
|
OrderList(
|
|
|
{this.orderNo,
|
|
{this.orderNo,
|
|
|
this.createTime,
|
|
this.createTime,
|
|
@@ -118,22 +125,36 @@ class OrderList {
|
|
|
this.receiptCompanyAddress,
|
|
this.receiptCompanyAddress,
|
|
|
this.receiptCompanyName,
|
|
this.receiptCompanyName,
|
|
|
this.receiptCompanyPhone,
|
|
this.receiptCompanyPhone,
|
|
|
|
|
+ this.receiptCompanyProvinceName,
|
|
|
|
|
+ this.receiptCompanyCityName,
|
|
|
|
|
+ this.receiptCompanyAreaName,
|
|
|
this.sendCompanyAddress,
|
|
this.sendCompanyAddress,
|
|
|
this.sendCompanyName,
|
|
this.sendCompanyName,
|
|
|
- this.sendCompanyPhone});
|
|
|
|
|
|
|
+ this.sendCompanyPhone,
|
|
|
|
|
+ this.sendCompanyProvinceName,
|
|
|
|
|
+ this.sendCompanyCityName,
|
|
|
|
|
+ this.sendCompanyAreaName,
|
|
|
|
|
+ });
|
|
|
|
|
|
|
|
factory OrderList.fromJson(Map<String, dynamic> json) {
|
|
factory OrderList.fromJson(Map<String, dynamic> json) {
|
|
|
return OrderList(
|
|
return OrderList(
|
|
|
- orderNo: json['orderNo'],
|
|
|
|
|
- createTime: json['createTime'],
|
|
|
|
|
- goods: json['goods'],
|
|
|
|
|
- goodsQuantity: json['goodsQuantity'],
|
|
|
|
|
- receiptCompanyAddress: json['receiptCompanyAddress'],
|
|
|
|
|
- receiptCompanyName: json['receiptCompanyName'],
|
|
|
|
|
- receiptCompanyPhone: json['receiptCompanyPhone'],
|
|
|
|
|
- sendCompanyAddress: json['sendCompanyAddress'],
|
|
|
|
|
- sendCompanyName: json['sendCompanyName'],
|
|
|
|
|
- sendCompanyPhone: json['sendCompanyPhone']);
|
|
|
|
|
|
|
+ orderNo: json['orderNo'] ?? '',
|
|
|
|
|
+ createTime: json['createTime'] ?? '',
|
|
|
|
|
+ goods: json['goods'] ?? '',
|
|
|
|
|
+ goodsQuantity: json['goodsQuantity'] ?? '',
|
|
|
|
|
+ receiptCompanyAddress: json['receiptCompanyAddress'] ?? '',
|
|
|
|
|
+ receiptCompanyName: json['receiptCompanyName'] ?? '',
|
|
|
|
|
+ receiptCompanyPhone: json['receiptCompanyPhone'] ?? '',
|
|
|
|
|
+ receiptCompanyProvinceName:json['receiptCompanyProvinceName'] ?? '',
|
|
|
|
|
+ receiptCompanyCityName:json['receiptCompanyCityName'] ?? '',
|
|
|
|
|
+ receiptCompanyAreaName:json['receiptCompanyAreaName'] ?? '',
|
|
|
|
|
+ sendCompanyAddress: json['sendCompanyAddress'] ?? '',
|
|
|
|
|
+ sendCompanyName: json['sendCompanyName'] ?? '',
|
|
|
|
|
+ sendCompanyPhone: json['sendCompanyPhone'] ?? '',
|
|
|
|
|
+ sendCompanyProvinceName:json['sendCompanyProvinceName'] ?? '',
|
|
|
|
|
+ sendCompanyCityName:json['sendCompanyCityName'] ?? '',
|
|
|
|
|
+ sendCompanyAreaName:json['sendCompanyAreaName'] ?? '',
|
|
|
|
|
+ );
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -403,6 +424,7 @@ class OrderDetailObj {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
class OrderDetailData {
|
|
class OrderDetailData {
|
|
|
|
|
+ int createTime;
|
|
|
String orderNo;
|
|
String orderNo;
|
|
|
String goods; //商品名称
|
|
String goods; //商品名称
|
|
|
int goodsAgencyFund; //代收款
|
|
int goodsAgencyFund; //代收款
|
|
@@ -453,7 +475,9 @@ class OrderDetailData {
|
|
|
int stationId;
|
|
int stationId;
|
|
|
String stationName;
|
|
String stationName;
|
|
|
OrderDetailData(
|
|
OrderDetailData(
|
|
|
- {this.orderNo,
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ this.createTime,
|
|
|
|
|
+ this.orderNo,
|
|
|
this.goods,
|
|
this.goods,
|
|
|
this.goodsAgencyFund,
|
|
this.goodsAgencyFund,
|
|
|
this.goodsCategoryId,
|
|
this.goodsCategoryId,
|
|
@@ -470,6 +494,9 @@ class OrderDetailData {
|
|
|
this.goodsValue,
|
|
this.goodsValue,
|
|
|
this.goodsWeight,
|
|
this.goodsWeight,
|
|
|
this.id,
|
|
this.id,
|
|
|
|
|
+ this.lineCode,
|
|
|
|
|
+ this.lineId,
|
|
|
|
|
+ this.lineName,
|
|
|
this.memo,
|
|
this.memo,
|
|
|
this.orderStatus,
|
|
this.orderStatus,
|
|
|
this.receiptCompanyAddress,
|
|
this.receiptCompanyAddress,
|
|
@@ -503,6 +530,7 @@ class OrderDetailData {
|
|
|
|
|
|
|
|
factory OrderDetailData.fromJson(Map<String, dynamic> json) {
|
|
factory OrderDetailData.fromJson(Map<String, dynamic> json) {
|
|
|
return OrderDetailData(
|
|
return OrderDetailData(
|
|
|
|
|
+ createTime:json['createTime'],
|
|
|
orderNo: json['orderNo'],
|
|
orderNo: json['orderNo'],
|
|
|
goods: json['goods'],
|
|
goods: json['goods'],
|
|
|
goodsAgencyFund: json['goodsAgencyFund'],
|
|
goodsAgencyFund: json['goodsAgencyFund'],
|
|
@@ -520,6 +548,9 @@ class OrderDetailData {
|
|
|
goodsValue: json['goodsValue'],
|
|
goodsValue: json['goodsValue'],
|
|
|
goodsWeight: json['goodsWeight'],
|
|
goodsWeight: json['goodsWeight'],
|
|
|
id: json['id'],
|
|
id: json['id'],
|
|
|
|
|
+ lineCode:json['lineCode'],
|
|
|
|
|
+ lineId:json['lineId'],
|
|
|
|
|
+ lineName:json['lineName'],
|
|
|
memo: json['memo'],
|
|
memo: json['memo'],
|
|
|
orderStatus: json['orderStatus'],
|
|
orderStatus: json['orderStatus'],
|
|
|
receiptCompanyAddress: json['receiptCompanyAddress'],
|
|
receiptCompanyAddress: json['receiptCompanyAddress'],
|