Commit 6a3bca0d13b87a9427754ae0d7a7bd43a211379a

Authored by weixin_45529955
1 parent 5962fc6b

needhistory 全局变量和局部变量同名引起的bug

... ... @@ -527,7 +527,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 564;
CURRENT_PROJECT_VERSION = 5654;
DEVELOPMENT_TEAM = 8J59HM8B82;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
... ... @@ -536,7 +536,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 5.6.4;
MARKETING_VERSION = 5.6.5;
PRODUCT_BUNDLE_IDENTIFIER = com.naji.reserveLine;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
... ... @@ -710,7 +710,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 564;
CURRENT_PROJECT_VERSION = 5654;
DEVELOPMENT_TEAM = 8J59HM8B82;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
... ... @@ -719,7 +719,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 5.6.4;
MARKETING_VERSION = 5.6.5;
PRODUCT_BUNDLE_IDENTIFIER = com.naji.reserveLine;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
... ... @@ -736,7 +736,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 564;
CURRENT_PROJECT_VERSION = 5654;
DEVELOPMENT_TEAM = 8J59HM8B82;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
... ... @@ -745,7 +745,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 5.6.4;
MARKETING_VERSION = 5.6.5;
PRODUCT_BUNDLE_IDENTIFIER = com.naji.reserveLine;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
... ...
... ... @@ -207,7 +207,7 @@ class InvicationPageState extends State<InvicationPage>
WidgetsBinding.instance.addObserver(this);
enterMore = App.sp!.getBool("enterMore") ?? true;
https: //xt04.colorcun.com/docs.php?service=App.Reserve.SaveNoticeLog&detail=1&type=fold
//https:xt04.colorcun.com/docs.php?service=App.Reserve.SaveNoticeLog&detail=1&type=fold
personNumList = Utils.getPersonNumList();
sexList = ['先生', '女士', '公司', '贵宾'];
... ... @@ -887,7 +887,7 @@ class InvicationPageState extends State<InvicationPage>
_showConfirmWidget(
{needBack = false,
needSex = false,
needHistory = false,
needHistorytemp = false,
needWechat = false,
needRemark = false,
int? index,
... ... @@ -909,7 +909,7 @@ class InvicationPageState extends State<InvicationPage>
if (oldName != name ||
oldPhone != phone ||
needSex ||
needHistory ||
needHistorytemp ||
needRemark ||
oldRemark != remark ||
oldPum != detailModel.selectNum) {
... ... @@ -931,7 +931,7 @@ class InvicationPageState extends State<InvicationPage>
// if (needRemark) {
// needRemark = false;
// }
if (needHistory) {
if (needHistorytemp) {
setState(() {
showPhoneHistory = false;
_baseIndoProvider.phoneController.text =
... ... @@ -3500,7 +3500,7 @@ class InvicationPageState extends State<InvicationPage>
userHistoryEntity.phone);
needHistory = true;
_showConfirmWidget(
needHistory: true, index: index);
needHistorytemp: true, index: index);
},
child: Container(
width: double.infinity,
... ... @@ -4805,6 +4805,18 @@ class InvicationPageState extends State<InvicationPage>
left: 0.0,
child: InputDoneView(
callback: () {
if(_nameNode.hasFocus){
_nameNode.unfocus();
}
else if(_phoneNode.hasFocus){
_phoneNode.unfocus();
}
else if(_pnumNode.hasFocus){
_pnumNode.unfocus();
}else if(_cusdemNode.hasFocus){
_cusdemNode.unfocus();
}
// _updateMoney();
},
));
... ... @@ -4911,7 +4923,7 @@ class InvicationPageState extends State<InvicationPage>
_getIsMemberByPhone(userHistoryEntity.phone);
needHistory = true;
_showConfirmWidget(needHistory: true, index: value[0]);
_showConfirmWidget(needHistorytemp: true, index: value[0]);
}
}, title: '从通话记录选择客人电话', selecteds: [
// _getFirSelected(hourAndMinute, data),
... ...