|
|
|
import 'package:common_utils/common_utils.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
import 'package:one_key/models/month_statics_model.dart';
|
|
|
|
import 'package:one_key/res/colors.dart';
|
|
|
|
import 'package:one_key/route/navigator_util.dart';
|
|
|
|
import 'package:one_key/widgets/system_app_bar.dart';
|
|
...
|
...
|
@@ -8,6 +10,7 @@ import 'package:provider/provider.dart'; |
|
|
|
|
|
|
|
import '../../../../constant/state.dart';
|
|
|
|
import '../../../../provider/customer_provider.dart';
|
|
|
|
import '../../../../provider/user_model.dart';
|
|
|
|
import '../../../../utils/screen_util.dart';
|
|
|
|
import '../../../../utils/utils.dart';
|
|
|
|
import '../../../../widgets/MyDivider.dart';
|
|
...
|
...
|
@@ -19,7 +22,11 @@ import '../../../../widgets/page_exception.dart'; |
|
|
|
*/
|
|
|
|
|
|
|
|
class MonthOrderPage extends StatefulWidget {
|
|
|
|
MonthOrderPage({Key key}) : super(key: key);
|
|
|
|
final String year;
|
|
|
|
final String month;
|
|
|
|
|
|
|
|
final String uid;
|
|
|
|
MonthOrderPage({Key key, this.year, this.month, this.uid}) : super(key: key);
|
|
|
|
|
|
|
|
@override
|
|
|
|
_MonthOrderPageState createState() => _MonthOrderPageState();
|
|
...
|
...
|
@@ -34,13 +41,51 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
void initState() {
|
|
|
|
// TODO: implement initState
|
|
|
|
super.initState();
|
|
|
|
month = 1;
|
|
|
|
month = int.parse(widget.month);
|
|
|
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
|
|
|
customerProvider.pageStateStoreHome = PageState.Success;
|
|
|
|
setState(() {});
|
|
|
|
_getSellerCountsListByMonth();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
String nongliShow(String year, String month, String day) {
|
|
|
|
String dateStr = year +
|
|
|
|
'-' +
|
|
|
|
Utils.addZeroNumber(int.parse(month)) +
|
|
|
|
'-' +
|
|
|
|
Utils.addZeroNumber(int.parse(day));
|
|
|
|
DateTime date = DateUtil.getDateTime(dateStr);
|
|
|
|
return Utils.lunarCalendarHolidays(date);
|
|
|
|
}
|
|
|
|
|
|
|
|
String weekdayShow(String year, String month, String day) {
|
|
|
|
String dateStr = year +
|
|
|
|
'-' +
|
|
|
|
Utils.addZeroNumber(int.parse(month)) +
|
|
|
|
'-' +
|
|
|
|
Utils.addZeroNumber(int.parse(day));
|
|
|
|
DateTime date = DateUtil.getDateTime(dateStr);
|
|
|
|
return "星期${Utils.formatWeekDayNum(date.weekday)} ";
|
|
|
|
}
|
|
|
|
|
|
|
|
_getSellerCountsListByMonth(
|
|
|
|
{isShowLoading = false, VoidCallback callback}) async {
|
|
|
|
Map<String, String> params = {
|
|
|
|
'sellerid': Provider.of<UserModel>(context, listen: false).user.sellerid,
|
|
|
|
'year': widget.year.toString(),
|
|
|
|
'month': month.toString()
|
|
|
|
};
|
|
|
|
if (widget.uid != null && widget.uid != '') {
|
|
|
|
params['uid'] = widget.uid;
|
|
|
|
}
|
|
|
|
await customerProvider.getSellerCountsListByMonth(context, params,
|
|
|
|
isShowLoading: isShowLoading);
|
|
|
|
if ((customerProvider.monthStaticsData == null ||
|
|
|
|
customerProvider.monthStaticsData.dayList.length == 0) &&
|
|
|
|
callback != null) {
|
|
|
|
callback();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Widget _monthWidget() {
|
|
|
|
return Container(
|
|
|
|
// margin: EdgeInsets.symmetric(horizontal: w(10)),
|
|
...
|
...
|
@@ -63,12 +108,32 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
if (month == 1) {
|
|
|
|
month = 12;
|
|
|
|
if (widget.year ==
|
|
|
|
DateTime.now().year.toString()) {
|
|
|
|
month = DateTime.now().month;
|
|
|
|
} else {
|
|
|
|
month = 12;
|
|
|
|
}
|
|
|
|
setState(() {});
|
|
|
|
_getSellerCountsListByMonth(
|
|
|
|
isShowLoading: true,
|
|
|
|
callback: () {
|
|
|
|
setState(() {
|
|
|
|
month = 1;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
setState(() {
|
|
|
|
month--;
|
|
|
|
});
|
|
|
|
|
|
|
|
_getSellerCountsListByMonth(
|
|
|
|
isShowLoading: true,
|
|
|
|
callback: () {
|
|
|
|
setState(() {
|
|
|
|
month++;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
// _getGuestReserve(showLoading: true);
|
|
...
|
...
|
@@ -101,13 +166,51 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
if (month == 12) {
|
|
|
|
if (widget.year ==
|
|
|
|
DateTime.now().year.toString()) {
|
|
|
|
if (month == DateTime.now().month) {
|
|
|
|
month = 1;
|
|
|
|
setState(() {});
|
|
|
|
_getSellerCountsListByMonth(
|
|
|
|
isShowLoading: true,
|
|
|
|
callback: () {
|
|
|
|
setState(() {
|
|
|
|
month = DateTime.now().month;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
setState(() {
|
|
|
|
month++;
|
|
|
|
});
|
|
|
|
_getSellerCountsListByMonth(
|
|
|
|
isShowLoading: true,
|
|
|
|
callback: () {
|
|
|
|
setState(() {
|
|
|
|
month--;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
} else if (month == 12) {
|
|
|
|
month = 1;
|
|
|
|
setState(() {});
|
|
|
|
_getSellerCountsListByMonth(
|
|
|
|
isShowLoading: true,
|
|
|
|
callback: () {
|
|
|
|
setState(() {
|
|
|
|
month = 12;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
setState(() {
|
|
|
|
month++;
|
|
|
|
});
|
|
|
|
_getSellerCountsListByMonth(
|
|
|
|
isShowLoading: true,
|
|
|
|
callback: () {
|
|
|
|
setState(() {
|
|
|
|
month--;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
// _getGuestReserve(showLoading: true);
|
|
...
|
...
|
@@ -124,7 +227,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
VEmptyView(20),
|
|
|
|
Text(
|
|
|
|
'2023年',
|
|
|
|
'${widget.year}年',
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: font(14), color: MyColours.color_515151),
|
|
|
|
)
|
|
...
|
...
|
@@ -157,7 +260,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'1089单',
|
|
|
|
'${customerProvider.monthStaticsData.totalRserve}单',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
fontSize: font(
|
|
...
|
...
|
@@ -172,7 +275,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'1190桌',
|
|
|
|
'${customerProvider.monthStaticsData.totalTable}桌',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
fontSize: font(
|
|
...
|
...
|
@@ -183,6 +286,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
VEmptyView(20),
|
|
|
|
Wrap(
|
|
|
|
crossAxisAlignment: WrapCrossAlignment.center,
|
|
|
|
runSpacing: w(10),
|
|
|
|
children: [
|
|
|
|
Text(
|
|
...
|
...
|
@@ -196,7 +300,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'1089单',
|
|
|
|
'${customerProvider.monthStaticsData.totalDao}单',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
fontSize: font(
|
|
...
|
...
|
@@ -211,22 +315,22 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'1190桌',
|
|
|
|
'${customerProvider.monthStaticsData.daoTable}桌',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
fontSize: font(
|
|
|
|
(14),
|
|
|
|
)),
|
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
MyDivider(
|
|
|
|
w(1),
|
|
|
|
w(15),
|
|
|
|
color: MyColours.color_DBDBDB,
|
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
VEmptyView(20),
|
|
|
|
Wrap(
|
|
|
|
crossAxisAlignment: WrapCrossAlignment.center,
|
|
|
|
runSpacing: w(10),
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
'1190人',
|
|
|
|
'${customerProvider.monthStaticsData.totalPnum ?? 0}人',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
fontSize: font(
|
|
...
|
...
|
@@ -241,7 +345,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'1190取消',
|
|
|
|
'${customerProvider.monthStaticsData.totalCel}取消',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
fontSize: font(
|
|
...
|
...
|
@@ -256,7 +360,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'到客97.2%',
|
|
|
|
'到客${customerProvider.monthStaticsData.totalDaoKe}',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
fontSize: font(
|
|
...
|
...
|
@@ -264,7 +368,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
)),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
)))
|
|
|
|
],
|
|
...
|
...
|
@@ -285,7 +389,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
runSpacing: w(5),
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
'有金额订单 6000',
|
|
|
|
'有金额订单 ${customerProvider.monthStaticsData.totalPrice}',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_999999,
|
|
|
|
decoration: TextDecoration.underline,
|
|
...
|
...
|
@@ -301,7 +405,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'消费 9585800.00元',
|
|
|
|
'消费 ${customerProvider.monthStaticsData.totalConsume ?? 0}元',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_999999,
|
|
|
|
decoration: TextDecoration.underline,
|
|
...
|
...
|
@@ -317,7 +421,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'人均 8885.58元',
|
|
|
|
'人均 ${customerProvider.monthStaticsData.avgPrice ?? 0}元',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_999999,
|
|
|
|
decoration: TextDecoration.underline,
|
|
...
|
...
|
@@ -333,7 +437,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'桌均 95888.58元',
|
|
|
|
'桌均 ${customerProvider.monthStaticsData.agvTable}元',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_999999,
|
|
|
|
decoration: TextDecoration.underline,
|
|
...
|
...
|
@@ -349,7 +453,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'存酒 8位',
|
|
|
|
'存酒 ${customerProvider.monthStaticsData.storeWine}位',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_999999,
|
|
|
|
decoration: TextDecoration.underline,
|
|
...
|
...
|
@@ -365,7 +469,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'提前点餐 9位',
|
|
|
|
'提前点餐 ${customerProvider.monthStaticsData.order}位',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_999999,
|
|
|
|
decoration: TextDecoration.underline,
|
|
...
|
...
|
@@ -381,7 +485,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'安排菜 9位',
|
|
|
|
'安排菜 ${customerProvider.monthStaticsData.plancook}位',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_999999,
|
|
|
|
decoration: TextDecoration.underline,
|
|
...
|
...
|
@@ -403,9 +507,9 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
backgroundColor: MyColours.color_f3f3f3,
|
|
|
|
appBar: SystemAppBar('月度订单'),
|
|
|
|
body: Consumer<CustomerProvider>(builder: (context, model, _) {
|
|
|
|
if (model.pageStateStoreHome != PageState.Success) {
|
|
|
|
if (model.pageStateMonth != PageState.Success) {
|
|
|
|
return ExceptionPage(
|
|
|
|
pageState: model.pageStateStoreHome,
|
|
|
|
pageState: model.pageStateMonth,
|
|
|
|
callback: () {
|
|
|
|
// getTableList();
|
|
|
|
// _getSellerGuestManage();
|
|
...
|
...
|
@@ -423,14 +527,19 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
_monthWidget(),
|
|
|
|
VEmptyView(20),
|
|
|
|
ListView.builder(
|
|
|
|
itemCount: 10,
|
|
|
|
itemCount:
|
|
|
|
customerProvider.monthStaticsData.dayList.length,
|
|
|
|
controller: _controller,
|
|
|
|
shrinkWrap: true,
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: w(10)),
|
|
|
|
itemBuilder: (context, index) {
|
|
|
|
DayList daylist =
|
|
|
|
customerProvider.monthStaticsData.dayList[index];
|
|
|
|
return InkWell(
|
|
|
|
onTap: () {
|
|
|
|
NavigatorUtil.goDayOrderPage(context);
|
|
|
|
NavigatorUtil.goDayOrderPage(context,
|
|
|
|
widget.year, widget.month, daylist.days,
|
|
|
|
uid: widget.uid);
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
margin: EdgeInsets.only(bottom: w(10)),
|
|
...
|
...
|
@@ -455,7 +564,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
children: [
|
|
|
|
VEmptyView(32),
|
|
|
|
Text(
|
|
|
|
'30日',
|
|
|
|
'${daylist.days}日',
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: font(16),
|
|
|
|
fontWeight: FontWeight.bold,
|
|
...
|
...
|
@@ -463,14 +572,20 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
VEmptyView(40),
|
|
|
|
Text(
|
|
|
|
'十二月廿四',
|
|
|
|
nongliShow(
|
|
|
|
widget.year,
|
|
|
|
month.toString(),
|
|
|
|
daylist.days.toString()),
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: font(10),
|
|
|
|
color: MyColours.color_999999),
|
|
|
|
),
|
|
|
|
VEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'星期日',
|
|
|
|
weekdayShow(
|
|
|
|
widget.year,
|
|
|
|
month.toString(),
|
|
|
|
daylist.days.toString()),
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: font(10),
|
|
|
|
color: MyColours.color_999999),
|
|
...
|
...
|
@@ -497,7 +612,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
children: [
|
|
|
|
Row(
|
|
|
|
crossAxisAlignment:
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
'预订',
|
|
...
|
...
|
@@ -512,7 +627,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'1089单',
|
|
|
|
'${daylist.totalRserve}单',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_515151,
|
|
...
|
...
|
@@ -529,7 +644,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'1190桌',
|
|
|
|
'${daylist.totalTable}桌',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_515151,
|
|
...
|
...
|
@@ -541,6 +656,8 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
VEmptyView(10),
|
|
|
|
Wrap(
|
|
|
|
crossAxisAlignment:
|
|
|
|
WrapCrossAlignment.center,
|
|
|
|
runSpacing: w(5),
|
|
|
|
children: [
|
|
|
|
Text(
|
|
...
|
...
|
@@ -556,7 +673,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'1089单',
|
|
|
|
'${daylist.totalDao}单',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_515151,
|
|
...
|
...
|
@@ -573,7 +690,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'1190桌',
|
|
|
|
'${daylist.daoTable}桌',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_515151,
|
|
...
|
...
|
@@ -583,7 +700,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'1089人',
|
|
|
|
'${daylist.totalPnum ?? 0}人',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_515151,
|
|
...
|
...
|
@@ -600,7 +717,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'1190取消',
|
|
|
|
'${daylist.totalCel}取消',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_515151,
|
|
...
|
...
|
@@ -617,7 +734,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'到客90.1%',
|
|
|
|
'到客${daylist.totalDaoKe}',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_515151,
|
|
...
|
...
|
@@ -633,7 +750,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
'有金额订单数 25',
|
|
|
|
'有金额订单数 ${daylist.totalPrice}',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_999999,
|
|
...
|
...
|
@@ -650,7 +767,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'总消费 25800元',
|
|
|
|
'总消费 ${daylist.totalConsume ?? 0}元',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_999999,
|
|
...
|
...
|
@@ -666,7 +783,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
'人均 103.2元',
|
|
|
|
'人均 ${daylist.avgPrice ?? 0}元',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_999999,
|
|
...
|
...
|
@@ -683,7 +800,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'桌均 860元',
|
|
|
|
'桌均 ${daylist.agvTable ?? 0}元',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_999999,
|
|
...
|
...
|
@@ -699,7 +816,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
CrossAxisAlignment.start,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
'存酒 1位',
|
|
|
|
'存酒 ${daylist.storeWine}位',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_999999,
|
|
...
|
...
|
@@ -716,7 +833,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'提前点餐 9位',
|
|
|
|
'提前点餐 ${daylist.order}位',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_999999,
|
|
...
|
...
|
@@ -733,7 +850,7 @@ class _MonthOrderPageState extends State<MonthOrderPage> { |
|
|
|
),
|
|
|
|
HEmptyView(10),
|
|
|
|
Text(
|
|
|
|
'安排菜 9位',
|
|
|
|
'安排菜 ${daylist.plancook}位',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours
|
|
|
|
.color_999999,
|
...
|
...
|
|