소스 검색

静态页面

1002884655 3 년 전
부모
커밋
3e9b0e5486
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      src/subpackages/pages/marketing/sureVisit/index.jsx

+ 2
- 1
src/subpackages/pages/marketing/sureVisit/index.jsx 파일 보기

@@ -7,6 +7,7 @@ import { getChannelCustomerDetail } from '@/services/person'
7 7
 import { getCardList } from '@/services/card'
8 8
 import { uploadFiles, fetch } from '@/utils/request'
9 9
 import { API_MARKETING_VISIT } from '@/constants/api'
10
+import { formatDate } from '@/utils/chatDate'
10 11
 import '@/assets/css/iconfont.css'
11 12
 import './index.scss'
12 13
 
@@ -18,7 +19,7 @@ export default withLayout((props) => {
18 19
   const [channelCustomer, setChannelCustomer] = useState({})
19 20
   const [consultantList, setConsultantList] = useState([])
20 21
   const [consultant, setConsultant] = useState()
21
-  const [visitDate, setVisitDate] = useState()
22
+  const [visitDate, setVisitDate] = useState(formatDate(Date.now(), 'yyyy-MM-dd'))
22 23
   const [imageUrl, setImageUrl] = useState()
23 24
   const [remark, setRemark] = useState()
24 25