diff --git a/ruoyi-ui/src/views/system/potentialCustomer/index.vue b/ruoyi-ui/src/views/system/potentialCustomer/index.vue
index 9c49c2da..193b7cf0 100644
--- a/ruoyi-ui/src/views/system/potentialCustomer/index.vue
+++ b/ruoyi-ui/src/views/system/potentialCustomer/index.vue
@@ -443,6 +443,9 @@
+
+
+
确 定
@@ -841,10 +844,19 @@ export default {
handleDrawerAddFollowUp(){
this.innerDrawer = true;
this.followForm = {};
- this.followForm.followUpDate = new Date();
+ this.followForm.followUpDate = this.getDateYYYYMMddHHMMSS();
this.followForm.customerId = this.customerId;
this.followForm.followType = this.customerStatus;
},
+ getDateYYYYMMddHHMMSS(){
+ const date = new Date();
+ const month = (date.getMonth() + 1).toString().padStart(2, '0');
+ const strDate = date.getDate().toString().padStart(2, '0');
+ const starHours = date.getHours().toString().padStart(2, '0');
+ const starMinutes = date.getMinutes().toString().padStart(2, '0');
+ const starSeconds = date.getSeconds().toString().padStart(2, '0');
+ return `${date.getFullYear()}-${month}-${strDate} ${starHours}:${starMinutes}:${starSeconds}`;
+ },
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {