|
...
|
...
|
@@ -7370,7 +7370,7 @@ class DialogUtil { |
|
|
|
TextEditingController controller = TextEditingController();
|
|
|
|
FocusNode focusNode = FocusNode();
|
|
|
|
bool showArea = true;
|
|
|
|
areas.remove('全部');
|
|
|
|
areas.remove('全部');
|
|
|
|
bool showPnumMin = true;
|
|
|
|
bool showPnumMax = true;
|
|
|
|
// String pnumMin = '';
|
|
...
|
...
|
@@ -8740,12 +8740,15 @@ class DialogUtil { |
|
|
|
}
|
|
|
|
|
|
|
|
static Widget _buildMultiDatePickerWithValue(
|
|
|
|
List<DateTime> _multiDatePickerValueWithDefaultValue,
|
|
|
|
CalendarDatePicker2Type calendarType,
|
|
|
|
ValueChanged valueChanged) {
|
|
|
|
List<DateTime> _multiDatePickerValueWithDefaultValue,
|
|
|
|
CalendarDatePicker2Type calendarType,
|
|
|
|
ValueChanged valueChanged, {
|
|
|
|
DateTime? firstDate,
|
|
|
|
}) {
|
|
|
|
final config = CalendarDatePicker2Config(
|
|
|
|
disableMonthPicker: true,
|
|
|
|
calendarType: calendarType,
|
|
|
|
firstDate: firstDate,
|
|
|
|
currentDate: DateTime.now(),
|
|
|
|
dynamicCalendarRows: true,
|
|
|
|
centerAlignModePicker: true,
|
|
...
|
...
|
@@ -8758,6 +8761,7 @@ class DialogUtil { |
|
|
|
Utils.getImgPath('date_m_r'),
|
|
|
|
width: w(8),
|
|
|
|
),
|
|
|
|
disabledDayTextStyle: TextStyle(color: MyColours.color_999999),
|
|
|
|
selectedDayHighlightColor: MyColours.color_438E93,
|
|
|
|
weekdayLabelBuilder: ({isScrollViewTopHeader, required weekday}) {
|
|
|
|
return Container(
|
|
...
|
...
|
@@ -8801,7 +8805,9 @@ class DialogUtil { |
|
|
|
? MyColours.color_F8F9FD
|
|
|
|
: isToday!
|
|
|
|
? MyColours.color_F8F9FD
|
|
|
|
: MyColours.color_353535,
|
|
|
|
: isDisabled ?? false
|
|
|
|
? MyColours.color_999999
|
|
|
|
: MyColours.color_353535,
|
|
|
|
fontWeight: FontWeight.bold)),
|
|
|
|
Text(
|
|
|
|
_parseDateDay(date),
|
|
...
|
...
|
@@ -8814,7 +8820,9 @@ class DialogUtil { |
|
|
|
? MyColours.color_F8F9FD
|
|
|
|
: isToday!
|
|
|
|
? MyColours.color_F8F9FD
|
|
|
|
: MyColours.color_353535),
|
|
|
|
: isDisabled ?? false
|
|
|
|
? MyColours.color_999999
|
|
|
|
: MyColours.color_353535),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
...
|
...
|
@@ -8947,7 +8955,7 @@ class DialogUtil { |
|
|
|
_multiDatePickerValueWithDefaultValue, calendarType,
|
|
|
|
(value) {
|
|
|
|
_multiDatePickerValueWithDefaultValue = value;
|
|
|
|
}),
|
|
|
|
}, firstDate: DateTime.now()),
|
|
|
|
VEmptyView(120),
|
|
|
|
Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
...
|
...
|
|