Browse Source

计划天数

duy 2 năm trước cách đây
mục cha
commit
a16feeb415
1 tập tin đã thay đổi với 1 bổ sung7 xóa
  1. 1 7
      src/views/program/project/form.vue

+ 1 - 7
src/views/program/project/form.vue

@@ -282,7 +282,7 @@
               
                 </template>
                 <template #planDays="{row,index}" >
-                    <el-input v-model="row.planDays" disabled  clearable />
+                    <el-input v-model="row.planDays" disabled  clearable/>
                 </template>
                 <template #key9="{row,index}">
                     <el-input v-model="row.key9" clearable/>
@@ -561,20 +561,14 @@ const relatedModalShow = (row) => {
 }
 //保存获取工作时长
 const getWorkDays=async(row)=>{
- 
         if(row?.planStartTime&&row?.planEndTime){
-         
             const {error, code, data,msg} = await projectApi.getWorkDays( {
                 startDate:row.planStartTime,
                 endDate:row.planEndTime,
             
             })
-      
             if (!error && code === 200) {
-                if(data){
                     row.planDays=data
-                }
-            
             }
         }