|
|
@@ -41,6 +41,7 @@ class _OrderTakingPageState extends State < OrderTakingPage > with AutomaticKeep
|
|
|
if (isNotError(context, resp) && this.mounted) {
|
|
|
setState(() {
|
|
|
orderList = OrderListObj.fromJson(resp.data).data.items;
|
|
|
+
|
|
|
hasNextPage = OrderListObj.fromJson(resp.data).data.hasNextPage;
|
|
|
});
|
|
|
lineIdStr = value;
|
|
|
@@ -98,6 +99,8 @@ class _OrderTakingPageState extends State < OrderTakingPage > with AutomaticKeep
|
|
|
setState(() {
|
|
|
checkStatusList = [];
|
|
|
lineList = StationLine.fromJson(resp.data).data;
|
|
|
+ LineObj tempLine =LineObj(code:'xxxx',id:-1,name:'未知线路');
|
|
|
+ lineList.add(tempLine);
|
|
|
getKey('lineIdStr').then((value) {
|
|
|
if (value != null) {
|
|
|
for (int i = 0; i < lineList.length; i++) {
|