소스 검색

审核页面跳转失败

dingxin 5 년 전
부모
커밋
16afab6a95
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      src/pages/customer/recommendCustomer/audit.jsx

+ 2
- 1
src/pages/customer/recommendCustomer/audit.jsx 파일 보기

@@ -42,7 +42,8 @@ function body(props) {
42 42
   // 获取详情信息
43 43
   function getById(currentId) {
44 44
     request({ ...apis.customer.recommendGetById, urlData: { id: currentId } }).then(res => {
45
-      props.form.setFieldsValue(res)
45
+      res.reportDate = moment(res.reportDate)
46
+     props.form.setFieldsValue(res)
46 47
     })
47 48
   }
48 49