diff --git a/weapp/package/troubleshooting/shootingForm/index.js b/weapp/package/troubleshooting/shootingForm/index.js
index cd18784..d884f77 100644
--- a/weapp/package/troubleshooting/shootingForm/index.js
+++ b/weapp/package/troubleshooting/shootingForm/index.js
@@ -103,8 +103,8 @@ Page({
maintenancePersonDepartmentShow: maintenancePersonIndex >= 0 ? focusPerson[maintenancePersonIndex].department.name : '',
qualityPersonIndex: focusPerson.findIndex(f => f.id == issue.checkPerson.id),
planStartTime: moment(issue.startTime).unix(),
- planStartTimeShow: moment(issue.startTime).format('YYYY-MM-DD HH:mm:ss'),
- planEndTimeShow: moment(issue.endTime).format('YYYY-MM-DD HH:mm:ss'),
+ planStartTimeShow: moment(issue.startTime).format('YYYY-MM-DD'),
+ planEndTimeShow: moment(issue.endTime).format('YYYY-MM-DD'),
maintenanceRequirement: issue.repairAsk
})
}
@@ -165,7 +165,7 @@ Page({
// this.setData({ planStartTime: '' })
} else if (e.target.dataset.option == 'confirmed') {
this.setData({
- planStartTimeShow: this.data.planStartTime ? moment(this.data.planStartTime).format('YYYY-MM-DD HH:mm') : ''
+ planStartTimeShow: this.data.planStartTime ? moment(this.data.planStartTime).format('YYYY-MM-DD') : ''
})
}
},
@@ -186,7 +186,7 @@ Page({
this.setData({ planEndTimePopupShow: false })
if (e.target.dataset.option == 'confirmed') {
this.setData({
- planEndTimeShow: this.data.planEndTime ? moment(this.data.planEndTime).format('YYYY-MM-DD HH:mm') : ''
+ planEndTimeShow: this.data.planEndTime ? moment(this.data.planEndTime).format('YYYY-MM-DD') : ''
})
}
},
diff --git a/weapp/package/troubleshooting/shootingForm/index.wxml b/weapp/package/troubleshooting/shootingForm/index.wxml
index b11402e..fa3c390 100644
--- a/weapp/package/troubleshooting/shootingForm/index.wxml
+++ b/weapp/package/troubleshooting/shootingForm/index.wxml
@@ -75,7 +75,7 @@
确定
-
+
@@ -93,7 +93,7 @@
确定
-
+