瀏覽代碼

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

duanxiaoduan 1 年之前
父節點
當前提交
3d4e4b63c8
共有 1 個文件被更改,包括 5 次插入1 次删除
  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
         // 编辑true,不可编辑false
         row.Edit = true
         row.Edit = true
         row.NoEdit = false
         row.NoEdit = false
-        // 新增false,编辑false,编辑保存true
+        // 新增false,编辑false,编辑保存true 
         row.isCreate = false
         row.isCreate = false
         row.isUpdate = false
         row.isUpdate = false
         row.isUpdateSave = true
         row.isUpdateSave = true
@@ -2513,6 +2513,10 @@ export default {
           setTimeout(() => {
           setTimeout(() => {
             this.isokDisable = false
             this.isokDisable = false
           }, 1000)
           }, 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.pastureid = row.pastureid
           this.table2.temp.ftid = this.table2.getdataListParm.parammaps.ftid
           this.table2.temp.ftid = this.table2.getdataListParm.parammaps.ftid
           this.table2.temp.fid = row.fid
           this.table2.temp.fid = row.fid