✨ feat(销售统计): 时间选择器组件

This commit is contained in:
Haiyi
2022-09-30 10:00:08 +08:00
parent 82c87b75d9
commit b878c5ea9d
23 changed files with 526 additions and 51 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ import ItemList from './components/ItemList'
import DeliveryStatusList from './components/DeliveryStatusList'
import Popup from '@/components/popup'
import DeliveryFilter, { SearchField } from './components/Filter'
import TimePicker from '@/components/timePicker'
import TimePickerPopup from '@/components/timePickerPopup'
type SearchData = {
delivery_notice_order_no?: string // 发货单号
@@ -196,7 +196,7 @@ const Delivery: FC = () => {
<Popup show={showFilter} title='筛选列表' onClose={handlePopupClose}>
<DeliveryFilter onSearchTime={handleSearchTime} onConfirm={handleConfirm} onReset={handleReset} />
</Popup>
<TimePicker start={start} end={end} showTime={showTime} closePopup={handClose} onSelectDate={(e) => handTime(e)}></TimePicker>
<TimePickerPopup start={start} end={end} showTime={showTime} closePopup={handClose} onSelectDate={(e) => handTime(e)}></TimePickerPopup>
</View>
)
}