|
...
|
...
|
@@ -556,7 +556,7 @@ class InvicationPageSimState extends State<InvicationPageSim> |
|
|
|
_showConfirmWidget(
|
|
|
|
{needBack = false,
|
|
|
|
needSex = false,
|
|
|
|
needHistory = false,
|
|
|
|
needHistoryTemp = false,
|
|
|
|
needWechat = false,
|
|
|
|
needRemark = false,
|
|
|
|
int? index,
|
|
...
|
...
|
@@ -589,9 +589,9 @@ class InvicationPageSimState extends State<InvicationPageSim> |
|
|
|
} else {
|
|
|
|
if (needBack) {
|
|
|
|
needBack = false;
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (needSex) {
|
|
|
|
needSex = false;
|
|
...
|
...
|
@@ -599,7 +599,7 @@ class InvicationPageSimState extends State<InvicationPageSim> |
|
|
|
// if (needRemark) {
|
|
|
|
// needRemark = false;
|
|
|
|
// }
|
|
|
|
if (needHistory) {
|
|
|
|
if (needHistoryTemp) {
|
|
|
|
setState(() {
|
|
|
|
showPhoneHistory = false;
|
|
|
|
_baseIndoProvider.phoneController.text =
|
|
...
|
...
|
@@ -747,9 +747,9 @@ class InvicationPageSimState extends State<InvicationPageSim> |
|
|
|
} else {
|
|
|
|
if (needBack) {
|
|
|
|
needBack = false;
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
if (Navigator.canPop(context)) {
|
|
|
|
Navigator.pop(context);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (needWechat) {
|
|
|
|
needWechat = false;
|
|
...
|
...
|
@@ -2783,7 +2783,8 @@ class InvicationPageSimState extends State<InvicationPageSim> |
|
|
|
userHistoryEntity.phone);
|
|
|
|
needHistory = true;
|
|
|
|
_showConfirmWidget(
|
|
|
|
needHistory: true, index: index);
|
|
|
|
needHistoryTemp: true,
|
|
|
|
index: index);
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
width: double.infinity,
|
|
...
|
...
|
@@ -4089,6 +4090,15 @@ class InvicationPageSimState extends State<InvicationPageSim> |
|
|
|
child: InputDoneView(
|
|
|
|
callback: () {
|
|
|
|
// _updateMoney();
|
|
|
|
if (_nameNode.hasFocus) {
|
|
|
|
_nameNode.unfocus();
|
|
|
|
} else if (_phoneNode.hasFocus) {
|
|
|
|
_phoneNode.unfocus();
|
|
|
|
} else if (_pnumNode.hasFocus) {
|
|
|
|
_pnumNode.unfocus();
|
|
|
|
} else if (_cusdemNode.hasFocus) {
|
|
|
|
_cusdemNode.unfocus();
|
|
|
|
}
|
|
|
|
},
|
|
|
|
));
|
|
|
|
});
|
|
...
|
...
|
@@ -4194,7 +4204,7 @@ class InvicationPageSimState extends State<InvicationPageSim> |
|
|
|
|
|
|
|
_getIsMemberByPhone(userHistoryEntity.phone);
|
|
|
|
needHistory = true;
|
|
|
|
_showConfirmWidget(needHistory: true, index: value[0]);
|
|
|
|
_showConfirmWidget(needHistoryTemp: true, index: value[0]);
|
|
|
|
}
|
|
|
|
}, title: '从通话记录选择客人电话', selecteds: [
|
|
|
|
// _getFirSelected(hourAndMinute, data),
|
...
|
...
|
|