zhangyanpeng
2020-03-17 7a8920cd22441a8b14174e4dfad42be591b3725f
src/components/popup/newProject.vue
@@ -136,9 +136,9 @@
  },
mounted() {
   if(this.rowData.id) {
      this.ruleForm = this.rowData;
      this.xmId = this.rowData.id;
   }
   this.ruleForm = this.rowData;
   this.userId = localStorage.getItem('userId');
   this.assign = localStorage.getItem('assign');
},
@@ -237,10 +237,10 @@
            if (!form_obj.mustAttach) {
               form_obj.mustAttach = false;
            }
            if (form_obj.items.length > 0) {
               form_obj.startTime = form_obj.items[0];
               form_obj.endTime = form_obj.items[1];
            }
            /* if (form_obj.items_fz.length > 0) {
               form_obj.startTime = form_obj.items_fz[0];
               form_obj.endTime = form_obj.items_fz[1];
            } */
            
            if (form_obj.startTime) {
               form_obj.startTime = this.$moment(form_obj.startTime).format('YYYY-MM-DD');