diff --git a/lib/store/store_order.dart b/lib/store/store_order.dart index a5b1dc56..a094cf8d 100644 --- a/lib/store/store_order.dart +++ b/lib/store/store_order.dart @@ -1,6 +1,5 @@ import 'dart:convert'; -import 'package:ai_decimal_accuracy/ai_decimal_accuracy.dart'; import 'package:dio/dio.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/gestures.dart'; @@ -558,7 +557,9 @@ class _StoreOrderPage extends State "numberOfPeople": numberOfPeople, }, ); - getParentInfo(); + if(tableId >0){ + getParentInfo(); + } queryShopCar().then((value) { this.shopCarGoods = value; setState(() {});