Pārlūkot izejas kodu

Merge branch 'master' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager

魏熙美 5 gadus atpakaļ
vecāks
revīzija
50c548b670
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      src/pages/customer/recommendCustomer/audit.jsx

+ 2
- 1
src/pages/customer/recommendCustomer/audit.jsx Parādīt failu

42
   // 获取详情信息
42
   // 获取详情信息
43
   function getById(currentId) {
43
   function getById(currentId) {
44
     request({ ...apis.customer.recommendGetById, urlData: { id: currentId } }).then(res => {
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