|
@@ -2,7 +2,14 @@ import React from "react";
|
|
|
import style from "./index.less";
|
|
|
import { Calendar} from '@commonComp';
|
|
|
import {getCalendarDate,getCurrentDate} from "@utils/tools";
|
|
|
-
|
|
|
+/**
|
|
|
+ * top 定位距离
|
|
|
+ * sure 是否显示确认按钮
|
|
|
+ * timesure 点击确认事件
|
|
|
+ * needTime 是否需要时分秒
|
|
|
+ * timeLis 已选时间,点开后显示上次选择事件
|
|
|
+ * handleChange 日期改变调用
|
|
|
+ */
|
|
|
class TimeInterval extends React.Component {
|
|
|
constructor(props) {
|
|
|
super(props);
|
|
@@ -72,7 +79,6 @@ class TimeInterval extends React.Component {
|
|
|
const {startTime,endTime,show,timeLisStart,timeLisEnd,flg} = this.state
|
|
|
const {handleShowTime,timeSure,handleChangeDate} = this
|
|
|
return <div className={style.timeWrap}>
|
|
|
- <span>送检时间 : </span>
|
|
|
<div className={style.timeIpts}>
|
|
|
<input
|
|
|
value={startTime}
|
|
@@ -85,8 +91,8 @@ class TimeInterval extends React.Component {
|
|
|
value={endTime}
|
|
|
readOnly
|
|
|
className={style.ipt}
|
|
|
- onClick={()=>handleShowTime(2)}
|
|
|
- type="text"
|
|
|
+ onClick={()=>handleShowTime(2)}
|
|
|
+ type="text"
|
|
|
placeholder="终止时间"/>
|
|
|
</div>
|
|
|
{
|