Commit ee44aae1014b0b8fc3baec141c33a9e6b094aa63

Authored by wdn127929
1 parent b6a2a112

桌位页面餐段默认null

... ... @@ -2147,38 +2147,38 @@ class _StoreBaseInfoPageState extends State<StoreBaseInfoPage> {
],
)),
VEmptyView(34),
InkWell(
onTap: () {
NavigatorUtil.goBookTimeSettingListPage(
context);
},
child: Padding(
padding: EdgeInsets.symmetric(
horizontal: ScreenUtil().setWidth(24)),
child: Container(
height: ScreenUtil().setWidth(40),
child: Row(
crossAxisAlignment:
CrossAxisAlignment.center,
mainAxisAlignment:
MainAxisAlignment.spaceBetween,
children: [
Text('指定日期多时段预订设置',
style: TextStyle(
color: MyColours.color_999999,
fontSize:
ScreenUtil().setSp(28),
)),
Spacer(),
Image.asset(
Utils.getImgPath('arrow_right_new'),
width: ScreenUtil().setWidth(16),
height: ScreenUtil().setWidth(28),
)
],
),
))),
VEmptyView(96),
// InkWell(
// onTap: () {
// NavigatorUtil.goBookTimeSettingListPage(
// context);
// },
// child: Padding(
// padding: EdgeInsets.symmetric(
// horizontal: ScreenUtil().setWidth(24)),
// child: Container(
// height: ScreenUtil().setWidth(40),
// child: Row(
// crossAxisAlignment:
// CrossAxisAlignment.center,
// mainAxisAlignment:
// MainAxisAlignment.spaceBetween,
// children: [
// Text('指定日期多时段预订设置',
// style: TextStyle(
// color: MyColours.color_999999,
// fontSize:
// ScreenUtil().setSp(28),
// )),
// Spacer(),
// Image.asset(
// Utils.getImgPath('arrow_right_new'),
// width: ScreenUtil().setWidth(16),
// height: ScreenUtil().setWidth(28),
// )
// ],
// ),
// ))),
// VEmptyView(96),
Text('接单时间',
style: TextStyle(
fontWeight: FontWeight.bold,
... ...
... ... @@ -158,7 +158,7 @@ class TableManagerPageState extends State<TableManagerPage> {
String dateText = ""; //当前显示日期时间
String dateShowNow = ""; //今天,明天,后天
int currTimeIndex = 2; //当前选中时间段
int currTimeIndex; //当前选中时间段
String morning = "00:00-00:00"; //早市时间段
String noon = "00:00-00:00"; //午市时间段
String night = "00:00-00:00"; //晚市时间段
... ... @@ -2674,6 +2674,10 @@ class TableManagerPageState extends State<TableManagerPage> {
radius: ScreenUtil().setWidth(8),
isBold: false,
onPressed: () async {
if(currTimeIndex == null){
Utils.showToast('请选择餐段或检查您的网络!');
return;
}
// _onlyReserve();
Loading.showLoading(
context,
... ... @@ -2724,6 +2728,10 @@ class TableManagerPageState extends State<TableManagerPage> {
radius: ScreenUtil().setWidth(8),
isBold: false,
onPressed: () async {
if(currTimeIndex == null){
Utils.showToast('请选择餐段或检查您的网络!');
return;
}
Loading.showLoading(
context,
);
... ...