Browse Source

fix 9308 小程序-点击进入点位,上次巡检日期显示错误

master
liujiangyong 2 years ago
parent
commit
43f08a9684
  1. 2
      weapp/package/startInspection/startInspection.js

2
weapp/package/startInspection/startInspection.js

@ -348,7 +348,7 @@ Page({
e.lastInspectionTime = moment().format('YYYY-MM-DD');
e.inspectionTime = moment().format('YYYY-MM-DD');
} else {
e.lastInspectionTime = moment(i.lastInspectionTime).format('YYYY-MM-DD');
e.lastInspectionTime = i.lastInspectionTime ? moment(i.lastInspectionTime).format('YYYY-MM-DD') : '--';
e.inspectionTime = moment(i.inspectionTime).format('YYYY-MM-DD');
}
})

Loading…
Cancel
Save