diff --git a/project/xumu/AppImmunityManage/add.vue b/project/xumu/AppImmunityManage/add.vue index ddd8e464..cce1e18b 100644 --- a/project/xumu/AppImmunityManage/add.vue +++ b/project/xumu/AppImmunityManage/add.vue @@ -87,7 +87,6 @@ export default { }, created() { this.dict.load("yesOrNo", "category", "variety", "source") - this.detail.treatmentTime = new Date() this.getDetail() } } diff --git a/project/xumu/AppTreatmentManage/add.vue b/project/xumu/AppTreatmentManage/add.vue index b9089d8f..08c89a27 100644 --- a/project/xumu/AppTreatmentManage/add.vue +++ b/project/xumu/AppTreatmentManage/add.vue @@ -95,7 +95,7 @@ export default { }, created() { this.dict.load("yesOrNo") - this.detail.treatmentTime = new Date() + this.detail.treatmentTime = this.$moment().format("YYYY-MM-DD HH:mm:ss") this.getDetail() } }