Commit a2d765eada623fd6eac08de94795329e1de68c1b

Authored by wdn127929
1 parent 78df4847

客情筛选

@@ -283,26 +283,66 @@ class _MyCustomerListPageState extends State<MyCustomerListPage> @@ -283,26 +283,66 @@ class _MyCustomerListPageState extends State<MyCustomerListPage>
283 params['reserve_sort'] = '${dropValue + 1}'; 283 params['reserve_sort'] = '${dropValue + 1}';
284 } 284 }
285 } else { 285 } else {
286 - if (customerProvider.controllernum.text.trim().length > 0) {  
287 - Utils.showToast('请选择7天、30天、60天或者120天');  
288 - return;  
289 - }  
290 - if (customerProvider.controllerstime.text.trim().length > 0 &&  
291 - customerProvider.controlleretime.text.trim().length == 0) {  
292 - Utils.showToast('请输入结束天数');  
293 - return;  
294 - }  
295 - if (customerProvider.controllerstime.text.trim().length == 0 &&  
296 - customerProvider.controlleretime.text.trim().length > 0) {  
297 - Utils.showToast('请输入开始天数');  
298 - return;  
299 - } 286 + // if (customerProvider.controllernum.text.trim().length > 0) {
  287 + // Utils.showToast('请选择7天、30天、60天或者120天');
  288 + // return;
  289 + // }
  290 + // if (customerProvider.controllerstime.text.trim().length > 0 &&
  291 + // customerProvider.controlleretime.text.trim().length == 0) {
  292 + // Utils.showToast('请输入结束天数');
  293 + // return;
  294 + // }
  295 + // if (customerProvider.controllerstime.text.trim().length == 0 &&
  296 + // customerProvider.controlleretime.text.trim().length > 0) {
  297 + // Utils.showToast('请输入开始天数');
  298 + // return;
  299 + // }
300 if (customerProvider.controllerstime.text.trim().length > 0 && 300 if (customerProvider.controllerstime.text.trim().length > 0 &&
301 customerProvider.controlleretime.text.trim().length > 0) { 301 customerProvider.controlleretime.text.trim().length > 0) {
302 params['stime'] = customerProvider.controllerstime.text; 302 params['stime'] = customerProvider.controllerstime.text;
303 params['etime'] = customerProvider.controlleretime.text; 303 params['etime'] = customerProvider.controlleretime.text;
  304 + params['reserve_num'] = customerProvider.controllernum.text;
  305 + params['reserve_sort'] = '${dropValue + 1}';
304 } 306 }
305 } 307 }
  308 + // if (temp == true) {
  309 + // if (customerProvider.controllernum.text.trim().length == 0) {
  310 + // Utils.showToast('请输入多少次预订');
  311 + // return;
  312 + // }
  313 + // String dayid = '';
  314 + // for (FilterBtnModel item in customerProvider.filterDayList) {
  315 + // if (item.select) {
  316 + // dayid = item.id;
  317 + // }
  318 + // }
  319 +
  320 + // params['reserve_date'] = dayid;
  321 + // if (customerProvider.controllernum.text.trim().length > 0) {
  322 + // params['reserve_num'] = customerProvider.controllernum.text;
  323 + // params['reserve_sort'] = '${dropValue + 1}';
  324 + // }
  325 + // } else {
  326 + // if (customerProvider.controllernum.text.trim().length > 0) {
  327 + // Utils.showToast('请选择7天、30天、60天或者120天');
  328 + // return;
  329 + // }
  330 + // if (customerProvider.controllerstime.text.trim().length > 0 &&
  331 + // customerProvider.controlleretime.text.trim().length == 0) {
  332 + // Utils.showToast('请输入结束天数');
  333 + // return;
  334 + // }
  335 + // if (customerProvider.controllerstime.text.trim().length == 0 &&
  336 + // customerProvider.controlleretime.text.trim().length > 0) {
  337 + // Utils.showToast('请输入开始天数');
  338 + // return;
  339 + // }
  340 + // if (customerProvider.controllerstime.text.trim().length > 0 &&
  341 + // customerProvider.controlleretime.text.trim().length > 0) {
  342 + // params['stime'] = customerProvider.controllerstime.text;
  343 + // params['etime'] = customerProvider.controlleretime.text;
  344 + // }
  345 + // }
306 346
307 // params['reserve_date'] XX天内,例:30 347 // params['reserve_date'] XX天内,例:30
308 // params['reserve_num'] 时间内预定次数 348 // params['reserve_num'] 时间内预定次数
@@ -576,6 +616,54 @@ class _MyCustomerListPageState extends State<MyCustomerListPage> @@ -576,6 +616,54 @@ class _MyCustomerListPageState extends State<MyCustomerListPage>
576 // )) 616 // ))
577 ]))); 617 ])));
578 } 618 }
  619 + _filterMethod(){
  620 + Navigator.of(context).pop();
  621 + if (customerProvider.hydSelAll) {
  622 + //全选,默认全部
  623 + tabController.index = 0;
  624 + customerProvider.index = 0;
  625 + } else {
  626 + int tag = 0; //有几个选中的项目
  627 + for (FilterBtnModel value
  628 + in customerProvider.filterHydList) {
  629 + if (value.select) {
  630 + tag++;
  631 + }
  632 + }
  633 + if (tag == 0) {
  634 + //全不选,默认全部
  635 + tabController.index = 0;
  636 + customerProvider.index = 0;
  637 + } else if (tag == 1) {
  638 + for (FilterBtnModel value
  639 + in customerProvider.filterHydList) {
  640 + if (value.select) {
  641 + if (value.title == '活跃') {
  642 + tabController.index = 1;
  643 + customerProvider.index = 1;
  644 + } else if (value.title == '沉睡') {
  645 + tabController.index = 2;
  646 + customerProvider.index = 2;
  647 + } else if (value.title == '流失') {
  648 + tabController.index = 3;
  649 + customerProvider.index = 3;
  650 + }
  651 + }
  652 + }
  653 + } else if (tag == 2) {
  654 + //选中2个的,默认全部
  655 + tabController.index = 0;
  656 + customerProvider.index = 0;
  657 + }
  658 + }
  659 + setState(() {
  660 + showFilter = false;
  661 + });
  662 + page = 1;
  663 + customerProvider.pageDataMy = [];
  664 + _getContantData();
  665 +
  666 + }
579 667
580 Widget _menuWidget() { 668 Widget _menuWidget() {
581 return Container( 669 return Container(
@@ -654,81 +742,99 @@ class _MyCustomerListPageState extends State<MyCustomerListPage> @@ -654,81 +742,99 @@ class _MyCustomerListPageState extends State<MyCustomerListPage>
654 dropValue = 0; 742 dropValue = 0;
655 }); 743 });
656 }, onPressedComplete: () { 744 }, onPressedComplete: () {
657 - bool temp = customerProvider.filterDayList.any((value) { 745 + // bool temp = customerProvider.filterDayList.any((value) {
  746 + // return value.select == true;
  747 + // });
  748 + // if (temp == true) {
  749 + // if (customerProvider.controllernum.text.trim().length ==
  750 + // 0) {
  751 + // Utils.showToast('请输入多少次预订');
  752 + // return;
  753 + // }
  754 + // } else {
  755 + // if (customerProvider.controllernum.text.trim().length >
  756 + // 0) {
  757 + // Utils.showToast('请选择7天、30天、60天或者120天');
  758 + // return;
  759 + // }
  760 + // if (customerProvider.controllerstime.text.trim().length >
  761 + // 0 &&
  762 + // customerProvider.controlleretime.text.trim().length ==
  763 + // 0) {
  764 + // Utils.showToast('请输入结束天数');
  765 + // return;
  766 + // }
  767 + // if (customerProvider.controllerstime.text.trim().length ==
  768 + // 0 &&
  769 + // customerProvider.controlleretime.text.trim().length >
  770 + // 0) {
  771 + // Utils.showToast('请输入开始天数');
  772 + // return;
  773 + // }
  774 + // }
  775 + bool temp = customerProvider.filterDayList.any((value) {
658 return value.select == true; 776 return value.select == true;
659 }); 777 });
660 - if (temp == true) { 778 + if (customerProvider.controllerstime.text.trim().length >
  779 + 0 &&
  780 + customerProvider.controlleretime.text.trim().length ==
  781 + 0) {
  782 + Utils.showToast('请输入结束天数');
  783 + return;
  784 + }
  785 + if (customerProvider.controllerstime.text.trim().length ==
  786 + 0 &&
  787 + customerProvider.controlleretime.text.trim().length >
  788 + 0) {
  789 + Utils.showToast('请输入开始天数');
  790 + return;
  791 + }
  792 + bool isGet = false;
  793 + if (temp == true ||
  794 + (customerProvider.controllerstime.text.trim().length >
  795 + 0 &&
  796 + customerProvider.controlleretime.text
  797 + .trim()
  798 + .length >
  799 + 0)) {
  800 + isGet = true;
  801 + //选择了天数,则必须选择次数
661 if (customerProvider.controllernum.text.trim().length == 802 if (customerProvider.controllernum.text.trim().length ==
662 0) { 803 0) {
663 Utils.showToast('请输入多少次预订'); 804 Utils.showToast('请输入多少次预订');
664 return; 805 return;
  806 + } else {
  807 + // 请求筛选
  808 + _filterMethod();
665 } 809 }
666 - } else { 810 + }
  811 + if (!isGet) {
667 if (customerProvider.controllernum.text.trim().length > 812 if (customerProvider.controllernum.text.trim().length >
668 0) { 813 0) {
669 - Utils.showToast('请选择7天、30天、60天或者120天');  
670 - return;  
671 - }  
672 - if (customerProvider.controllerstime.text.trim().length >  
673 - 0 &&  
674 - customerProvider.controlleretime.text.trim().length ==  
675 - 0) {  
676 - Utils.showToast('请输入结束天数');  
677 - return;  
678 - }  
679 - if (customerProvider.controllerstime.text.trim().length ==  
680 - 0 &&  
681 - customerProvider.controlleretime.text.trim().length >  
682 - 0) {  
683 - Utils.showToast('请输入开始天数');  
684 - return;  
685 - }  
686 - }  
687 - Navigator.of(context).pop();  
688 - if (customerProvider.hydSelAll) {  
689 - //全选,默认全部  
690 - tabController.index = 0;  
691 - customerProvider.index = 0;  
692 - } else {  
693 - int tag = 0; //有几个选中的项目  
694 - for (FilterBtnModel value  
695 - in customerProvider.filterHydList) {  
696 - if (value.select) {  
697 - tag++;  
698 - }  
699 - }  
700 - if (tag == 0) {  
701 - //全不选,默认全部  
702 - tabController.index = 0;  
703 - customerProvider.index = 0;  
704 - } else if (tag == 1) {  
705 - for (FilterBtnModel value  
706 - in customerProvider.filterHydList) {  
707 - if (value.select) {  
708 - if (value.title == '活跃') {  
709 - tabController.index = 1;  
710 - customerProvider.index = 1;  
711 - } else if (value.title == '沉睡') {  
712 - tabController.index = 2;  
713 - customerProvider.index = 2;  
714 - } else if (value.title == '流失') {  
715 - tabController.index = 3;  
716 - customerProvider.index = 3;  
717 - }  
718 - } 814 + //选择了预定次数
  815 + // 必须选择时间
  816 + if (temp == true ||
  817 + ((customerProvider.controllerstime.text
  818 + .trim()
  819 + .length >
  820 + 0 &&
  821 + customerProvider.controlleretime.text
  822 + .trim()
  823 + .length >
  824 + 0))) {
  825 + _filterMethod();
  826 + } else {
  827 + Utils.showToast('请选择时间');
  828 + return;
719 } 829 }
720 - } else if (tag == 2) {  
721 - //选中2个的,默认全部  
722 - tabController.index = 0;  
723 - customerProvider.index = 0;  
724 } 830 }
  831 + // if (customerProvider.controllernum.text.trim().length >
  832 + // 0) {
  833 + // Utils.showToast('请选择7天、30天、60天或者120天');
  834 + // return;
  835 + // }
725 } 836 }
726 - setState(() {  
727 - showFilter = false;  
728 - });  
729 - page = 1;  
730 - customerProvider.pageDataMy = [];  
731 - _getContantData(); 837 +
732 }, tapWhiteBack: () { 838 }, tapWhiteBack: () {
733 Navigator.of(context).pop(); 839 Navigator.of(context).pop();
734 setState(() { 840 setState(() {
@@ -1170,7 +1276,7 @@ class _MyCustomerListPageState extends State<MyCustomerListPage> @@ -1170,7 +1276,7 @@ class _MyCustomerListPageState extends State<MyCustomerListPage>
1170 for (FilterBtnModel value in customerProvider.filterDayList) { 1276 for (FilterBtnModel value in customerProvider.filterDayList) {
1171 value.select = false; 1277 value.select = false;
1172 } 1278 }
1173 - customerProvider.controllernum.text = ''; 1279 + // customerProvider.controllernum.text = '';
1174 state(() {}); 1280 state(() {});
1175 1281
1176 // setState(() {}); 1282 // setState(() {});
@@ -1186,7 +1292,7 @@ class _MyCustomerListPageState extends State<MyCustomerListPage> @@ -1186,7 +1292,7 @@ class _MyCustomerListPageState extends State<MyCustomerListPage>
1186 for (FilterBtnModel value in customerProvider.filterDayList) { 1292 for (FilterBtnModel value in customerProvider.filterDayList) {
1187 value.select = false; 1293 value.select = false;
1188 } 1294 }
1189 - customerProvider.controllernum.text = ''; 1295 + // customerProvider.controllernum.text = '';
1190 state(() {}); 1296 state(() {});
1191 1297
1192 // setState(() {}); 1298 // setState(() {});
@@ -1352,9 +1458,9 @@ class _MyCustomerListPageState extends State<MyCustomerListPage> @@ -1352,9 +1458,9 @@ class _MyCustomerListPageState extends State<MyCustomerListPage>
1352 textInputAction: TextInputAction.done, 1458 textInputAction: TextInputAction.done,
1353 1459
1354 onChanged: (value) { 1460 onChanged: (value) {
1355 - customerProvider.controllerstime.text = '';  
1356 - customerProvider.controlleretime.text = '';  
1357 - state(() {}); 1461 + // customerProvider.controllerstime.text = '';
  1462 + // customerProvider.controlleretime.text = '';
  1463 + // state(() {});
1358 // setState(() {}); 1464 // setState(() {});
1359 // _searchSellerLocation(); 1465 // _searchSellerLocation();
1360 // customerProvider.searchData(value); 1466 // customerProvider.searchData(value);
@@ -380,24 +380,26 @@ class _CustomerListPageState extends State<CustomerListPage> @@ -380,24 +380,26 @@ class _CustomerListPageState extends State<CustomerListPage>
380 params['reserve_sort'] = '${dropValue + 1}'; 380 params['reserve_sort'] = '${dropValue + 1}';
381 } 381 }
382 } else { 382 } else {
383 - if (customerProvider.controllernum.text.trim().length > 0) {  
384 - Utils.showToast('请选择7天、30天、60天或者120天');  
385 - return;  
386 - }  
387 - if (customerProvider.controllerstime.text.trim().length > 0 &&  
388 - customerProvider.controlleretime.text.trim().length == 0) {  
389 - Utils.showToast('请输入结束天数');  
390 - return;  
391 - }  
392 - if (customerProvider.controllerstime.text.trim().length == 0 &&  
393 - customerProvider.controlleretime.text.trim().length > 0) {  
394 - Utils.showToast('请输入开始天数');  
395 - return;  
396 - } 383 + // if (customerProvider.controllernum.text.trim().length > 0) {
  384 + // Utils.showToast('请选择7天、30天、60天或者120天');
  385 + // return;
  386 + // }
  387 + // if (customerProvider.controllerstime.text.trim().length > 0 &&
  388 + // customerProvider.controlleretime.text.trim().length == 0) {
  389 + // Utils.showToast('请输入结束天数');
  390 + // return;
  391 + // }
  392 + // if (customerProvider.controllerstime.text.trim().length == 0 &&
  393 + // customerProvider.controlleretime.text.trim().length > 0) {
  394 + // Utils.showToast('请输入开始天数');
  395 + // return;
  396 + // }
397 if (customerProvider.controllerstime.text.trim().length > 0 && 397 if (customerProvider.controllerstime.text.trim().length > 0 &&
398 customerProvider.controlleretime.text.trim().length > 0) { 398 customerProvider.controlleretime.text.trim().length > 0) {
399 params['stime'] = customerProvider.controllerstime.text; 399 params['stime'] = customerProvider.controllerstime.text;
400 params['etime'] = customerProvider.controlleretime.text; 400 params['etime'] = customerProvider.controlleretime.text;
  401 + params['reserve_num'] = customerProvider.controllernum.text;
  402 + params['reserve_sort'] = '${dropValue + 1}';
401 } 403 }
402 } 404 }
403 print(customerProvider.filterManageList); 405 print(customerProvider.filterManageList);
@@ -681,6 +683,52 @@ class _CustomerListPageState extends State<CustomerListPage> @@ -681,6 +683,52 @@ class _CustomerListPageState extends State<CustomerListPage>
681 ]))); 683 ])));
682 } 684 }
683 685
  686 + _filterMethod() {
  687 + Navigator.of(context).pop();
  688 + if (customerProvider.hydSelAll) {
  689 + //全选,默认全部
  690 + tabController.index = 0;
  691 + customerProvider.index = 0;
  692 + } else {
  693 + int tag = 0; //有几个选中的项目
  694 + for (FilterBtnModel value in customerProvider.filterHydList) {
  695 + if (value.select) {
  696 + tag++;
  697 + }
  698 + }
  699 + if (tag == 0) {
  700 + //全不选,默认全部
  701 + tabController.index = 0;
  702 + customerProvider.index = 0;
  703 + } else if (tag == 1) {
  704 + for (FilterBtnModel value in customerProvider.filterHydList) {
  705 + if (value.select) {
  706 + if (value.title == '活跃') {
  707 + tabController.index = 1;
  708 + customerProvider.index = 1;
  709 + } else if (value.title == '沉睡') {
  710 + tabController.index = 2;
  711 + customerProvider.index = 2;
  712 + } else if (value.title == '流失') {
  713 + tabController.index = 3;
  714 + customerProvider.index = 3;
  715 + }
  716 + }
  717 + }
  718 + } else if (tag == 2) {
  719 + //选中2个的,默认全部
  720 + tabController.index = 0;
  721 + customerProvider.index = 0;
  722 + }
  723 + }
  724 + setState(() {
  725 + showFilter = false;
  726 + });
  727 + page = 1;
  728 + customerProvider.pageData = [];
  729 + _getContantData();
  730 + }
  731 +
684 Widget _menuWidget() { 732 Widget _menuWidget() {
685 return Container( 733 return Container(
686 margin: EdgeInsets.symmetric( 734 margin: EdgeInsets.symmetric(
@@ -765,79 +813,65 @@ class _CustomerListPageState extends State<CustomerListPage> @@ -765,79 +813,65 @@ class _CustomerListPageState extends State<CustomerListPage>
765 bool temp = customerProvider.filterDayList.any((value) { 813 bool temp = customerProvider.filterDayList.any((value) {
766 return value.select == true; 814 return value.select == true;
767 }); 815 });
768 - if (temp == true) { 816 + if (customerProvider.controllerstime.text.trim().length >
  817 + 0 &&
  818 + customerProvider.controlleretime.text.trim().length ==
  819 + 0) {
  820 + Utils.showToast('请输入结束天数');
  821 + return;
  822 + }
  823 + if (customerProvider.controllerstime.text.trim().length ==
  824 + 0 &&
  825 + customerProvider.controlleretime.text.trim().length >
  826 + 0) {
  827 + Utils.showToast('请输入开始天数');
  828 + return;
  829 + }
  830 + bool isGet = false;
  831 + if (temp == true ||
  832 + (customerProvider.controllerstime.text.trim().length >
  833 + 0 &&
  834 + customerProvider.controlleretime.text
  835 + .trim()
  836 + .length >
  837 + 0)) {
  838 + isGet = true;
  839 + //选择了天数,则必须选择次数
769 if (customerProvider.controllernum.text.trim().length == 840 if (customerProvider.controllernum.text.trim().length ==
770 0) { 841 0) {
771 Utils.showToast('请输入多少次预订'); 842 Utils.showToast('请输入多少次预订');
772 return; 843 return;
  844 + } else {
  845 + // 请求筛选
  846 + _filterMethod();
773 } 847 }
774 - } else { 848 + }
  849 + if (!isGet) {
775 if (customerProvider.controllernum.text.trim().length > 850 if (customerProvider.controllernum.text.trim().length >
776 0) { 851 0) {
777 - Utils.showToast('请选择7天、30天、60天或者120天');  
778 - return;  
779 - }  
780 - if (customerProvider.controllerstime.text.trim().length >  
781 - 0 &&  
782 - customerProvider.controlleretime.text.trim().length ==  
783 - 0) {  
784 - Utils.showToast('请输入结束天数');  
785 - return;  
786 - }  
787 - if (customerProvider.controllerstime.text.trim().length ==  
788 - 0 &&  
789 - customerProvider.controlleretime.text.trim().length >  
790 - 0) {  
791 - Utils.showToast('请输入开始天数');  
792 - return;  
793 - }  
794 - }  
795 -  
796 - Navigator.of(context).pop();  
797 - if (customerProvider.hydSelAll) {  
798 - //全选,默认全部  
799 - tabController.index = 0;  
800 - customerProvider.index = 0;  
801 - } else {  
802 - int tag = 0; //有几个选中的项目  
803 - for (FilterBtnModel value  
804 - in customerProvider.filterHydList) {  
805 - if (value.select) {  
806 - tag++;  
807 - }  
808 - }  
809 - if (tag == 0) {  
810 - //全不选,默认全部  
811 - tabController.index = 0;  
812 - customerProvider.index = 0;  
813 - } else if (tag == 1) {  
814 - for (FilterBtnModel value  
815 - in customerProvider.filterHydList) {  
816 - if (value.select) {  
817 - if (value.title == '活跃') {  
818 - tabController.index = 1;  
819 - customerProvider.index = 1;  
820 - } else if (value.title == '沉睡') {  
821 - tabController.index = 2;  
822 - customerProvider.index = 2;  
823 - } else if (value.title == '流失') {  
824 - tabController.index = 3;  
825 - customerProvider.index = 3;  
826 - }  
827 - } 852 + //选择了预定次数
  853 + // 必须选择时间
  854 + if (temp == true ||
  855 + ((customerProvider.controllerstime.text
  856 + .trim()
  857 + .length >
  858 + 0 &&
  859 + customerProvider.controlleretime.text
  860 + .trim()
  861 + .length >
  862 + 0))) {
  863 + _filterMethod();
  864 + } else {
  865 + Utils.showToast('请选择时间');
  866 + return;
828 } 867 }
829 - } else if (tag == 2) {  
830 - //选中2个的,默认全部  
831 - tabController.index = 0;  
832 - customerProvider.index = 0;  
833 } 868 }
  869 + // if (customerProvider.controllernum.text.trim().length >
  870 + // 0) {
  871 + // Utils.showToast('请选择7天、30天、60天或者120天');
  872 + // return;
  873 + // }
834 } 874 }
835 - setState(() {  
836 - showFilter = false;  
837 - });  
838 - page = 1;  
839 - customerProvider.pageData = [];  
840 - _getContantData();  
841 }, tapWhiteBack: () { 875 }, tapWhiteBack: () {
842 Navigator.of(context).pop(); 876 Navigator.of(context).pop();
843 setState(() { 877 setState(() {
@@ -1326,7 +1360,7 @@ class _CustomerListPageState extends State<CustomerListPage> @@ -1326,7 +1360,7 @@ class _CustomerListPageState extends State<CustomerListPage>
1326 for (FilterBtnModel value in customerProvider.filterDayList) { 1360 for (FilterBtnModel value in customerProvider.filterDayList) {
1327 value.select = false; 1361 value.select = false;
1328 } 1362 }
1329 - customerProvider.controllernum.text = ''; 1363 + // customerProvider.controllernum.text = '';
1330 state(() {}); 1364 state(() {});
1331 // setState(() {}); 1365 // setState(() {});
1332 // _searchSellerLocation(); 1366 // _searchSellerLocation();
@@ -1341,7 +1375,7 @@ class _CustomerListPageState extends State<CustomerListPage> @@ -1341,7 +1375,7 @@ class _CustomerListPageState extends State<CustomerListPage>
1341 for (FilterBtnModel value in customerProvider.filterDayList) { 1375 for (FilterBtnModel value in customerProvider.filterDayList) {
1342 value.select = false; 1376 value.select = false;
1343 } 1377 }
1344 - customerProvider.controllernum.text = ''; 1378 + // customerProvider.controllernum.text = '';
1345 state(() {}); 1379 state(() {});
1346 // setState(() {}); 1380 // setState(() {});
1347 // _searchSellerLocation(); 1381 // _searchSellerLocation();
@@ -1503,9 +1537,9 @@ class _CustomerListPageState extends State<CustomerListPage> @@ -1503,9 +1537,9 @@ class _CustomerListPageState extends State<CustomerListPage>
1503 textInputAction: TextInputAction.done, 1537 textInputAction: TextInputAction.done,
1504 1538
1505 onChanged: (value) { 1539 onChanged: (value) {
1506 - customerProvider.controllerstime.text = '';  
1507 - customerProvider.controlleretime.text = '';  
1508 - state(() {}); 1540 + // customerProvider.controllerstime.text = '';
  1541 + // customerProvider.controlleretime.text = '';
  1542 + // state(() {});
1509 // setState(() {}); 1543 // setState(() {});
1510 // _searchSellerLocation(); 1544 // _searchSellerLocation();
1511 // customerProvider.searchData(value); 1545 // customerProvider.searchData(value);