|
...
|
...
|
@@ -627,7 +627,7 @@ class DialogUtil { |
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
VEmptyView(80),
|
|
|
|
VEmptyView(60),
|
|
|
|
MyDivider(double.infinity, ScreenUtil().setWidth(2),
|
|
|
|
color: MyColours.color_f3f3f3),
|
|
|
|
Row(
|
|
...
|
...
|
@@ -975,11 +975,11 @@ class DialogUtil { |
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (numC.text.trim() == '') {
|
|
|
|
Utils.showToast('请输入菜品数量!');
|
|
|
|
// if (numC.text.trim() == '') {
|
|
|
|
// Utils.showToast('请输入菜品数量!');
|
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
// return;
|
|
|
|
// }
|
|
|
|
if (perC.text.trim() == '') {
|
|
|
|
Utils.showToast('请输入${pricetitle}!');
|
|
|
|
return;
|
|
...
|
...
|
@@ -3377,7 +3377,7 @@ class DialogUtil { |
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
VEmptyView(80),
|
|
|
|
VEmptyView(70),
|
|
|
|
RoundButton(
|
|
|
|
text: '保存',
|
|
|
|
width: ScreenUtil().setWidth(300),
|
|
...
|
...
|
@@ -5462,22 +5462,25 @@ class DialogUtil { |
|
|
|
fontSize: ScreenUtil().setSp(fontSize),
|
|
|
|
color: MyColours.color_353535)),
|
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
right: 0,
|
|
|
|
top: 0,
|
|
|
|
child: InkWell(
|
|
|
|
onTap: delCallback,
|
|
|
|
child: Padding(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
top: ScreenUtil().setWidth(36)),
|
|
|
|
child: Text('删除',
|
|
|
|
style: TextStyle(
|
|
|
|
decoration:
|
|
|
|
TextDecoration.underline,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(26),
|
|
|
|
color: MyColours.color_199095)),
|
|
|
|
)))
|
|
|
|
monthStr == ''
|
|
|
|
? SizedBox()
|
|
|
|
: Positioned(
|
|
|
|
right: 0,
|
|
|
|
top: 0,
|
|
|
|
child: InkWell(
|
|
|
|
onTap: delCallback,
|
|
|
|
child: Padding(
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
top: ScreenUtil().setWidth(36)),
|
|
|
|
child: Text('删除',
|
|
|
|
style: TextStyle(
|
|
|
|
decoration: TextDecoration
|
|
|
|
.underline,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(26),
|
|
|
|
color: MyColours
|
|
|
|
.color_199095)),
|
|
|
|
)))
|
|
|
|
]),
|
|
|
|
|
|
|
|
Container(
|
|
...
|
...
|
@@ -6016,8 +6019,8 @@ class DialogUtil { |
|
|
|
//输入弹框
|
|
|
|
static Future textfeildAlertDialog(BuildContext context,
|
|
|
|
{String title = "标题",
|
|
|
|
String text = "内容",
|
|
|
|
String hintText = "内容",
|
|
|
|
String text = "",
|
|
|
|
String hintText = "请输入",
|
|
|
|
String lTitle = "取消",
|
|
|
|
String rTitle = "确定",
|
|
|
|
String toast = '请输入',
|
...
|
...
|
|