Explorar el Código

导入上一篇修复

ming hace 2 semanas
padre
commit
edb8e8da8e
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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,
         };