Browse Source

导入上一篇修复

ming 2 weeks ago
parent
commit
edb8e8da8e
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/pages/business/common/projectMange/write/insert.vue

+ 1 - 2
src/pages/business/common/projectMange/write/insert.vue

@@ -101,7 +101,6 @@ function handleSubmit(type, id) {
       })
       .then((requset) => {
         var newData = requset.data[0].newData[0];
-
         state.newProjectList = {
           tomorrowPlan: newData.tomorrowPlan,
           coordinateWork: newData.coordinateWork,
@@ -110,7 +109,7 @@ function handleSubmit(type, id) {
           ccTo: newData.ccTo,
           reportImage: newData.reportImage,
           reportFile: newData.reportFile,
-          timingTime: proxy.$time.getFormatterDate(new Date().getTime()).slice(0,10)+' '+ newData.timingTime.slice(11,20),
+          timingTime:newData.timingTime? proxy.$time.getFormatterDate(new Date().getTime()).slice(0,10)+' '+ newData.timingTime.slice(11,20):newData.timingTime,
           isRegularlySend: newData.isRegularlySend,
         };