|
...
|
...
|
@@ -916,7 +916,7 @@ class NoteBookPageState extends State<NoteBookPage> { |
|
|
|
_showCancelWidget(context, NoteBookOnlySunModel notebook,
|
|
|
|
List<ReserveDepositSunModel> reserveDepositList) {
|
|
|
|
List<Map<String, dynamic>> cancelReasonList = [
|
|
|
|
{'title': '顾客取消', 'select': false},
|
|
|
|
{'title': '顾客取消', 'select': true},
|
|
|
|
{'title': '顾客行程有变', 'select': false},
|
|
|
|
{'title': '操作失误', 'select': false},
|
|
|
|
{'title': '信息填写有误', 'select': false},
|
|
...
|
...
|
@@ -936,6 +936,7 @@ class NoteBookPageState extends State<NoteBookPage> { |
|
|
|
FocusNode _cancelNode = FocusNode();
|
|
|
|
TextEditingController _cancelController = TextEditingController();
|
|
|
|
String? desc2 = '';
|
|
|
|
BuildContext pageContext = context;
|
|
|
|
showGeneralDialog(
|
|
|
|
context: context,
|
|
|
|
barrierDismissible: false,
|
|
...
|
...
|
@@ -1241,8 +1242,9 @@ class NoteBookPageState extends State<NoteBookPage> { |
|
|
|
|
|
|
|
print(oldInfo);
|
|
|
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
DialogUtil.cupertinoAlertDialogCancelReseve(
|
|
|
|
context,
|
|
|
|
pageContext,
|
|
|
|
title: '',
|
|
|
|
// content1:
|
|
|
|
// '确定要将${oldInfo}的预订 变更为 ${newInfo}?',
|
|
...
|
...
|
@@ -1250,8 +1252,7 @@ class NoteBookPageState extends State<NoteBookPage> { |
|
|
|
lTitle: '取消',
|
|
|
|
lCallback: () {},
|
|
|
|
rTitle: '确定', rCallback: () async {
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
Loading.showLoading(context);
|
|
|
|
Loading.showLoading(pageContext);
|
|
|
|
|
|
|
|
await setReserveStatus(
|
|
|
|
'4',
|
|
...
|
...
|
@@ -1268,7 +1269,7 @@ class NoteBookPageState extends State<NoteBookPage> { |
|
|
|
};
|
|
|
|
|
|
|
|
await detailModel.setReserveDeposit(
|
|
|
|
context, pramas);
|
|
|
|
pageContext, pramas);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}),
|
...
|
...
|
|