Explorar el Código

Merge branch 'feature/recipeTemplate_is_modify' of duanxiaoduan/tmr-admin into release/v1.0.2

duanxiaoduan hace 1 año
padre
commit
3d4e4b63c8
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      src/views/formulationPlan/recipeTemplate/index.vue

+ 5 - 1
src/views/formulationPlan/recipeTemplate/index.vue

@@ -2499,7 +2499,7 @@ export default {
         // 编辑true,不可编辑false
         row.Edit = true
         row.NoEdit = false
-        // 新增false,编辑false,编辑保存true
+        // 新增false,编辑false,编辑保存true 
         row.isCreate = false
         row.isUpdate = false
         row.isUpdateSave = true
@@ -2513,6 +2513,10 @@ export default {
           setTimeout(() => {
             this.isokDisable = false
           }, 1000)
+          console.log(row.autosecond,'======')
+          if(row.autosecond == null || row.autosecond == undefined || isNaN(row.autosecond)){
+            row.autosecond = '0'
+          }
           this.table2.temp.pastureid = row.pastureid
           this.table2.temp.ftid = this.table2.getdataListParm.parammaps.ftid
           this.table2.temp.fid = row.fid