Browse Source

Merge branch 'master' of http://120.26.64.82:10880/BFFE/dz2.1

zhaoke 1 year ago
parent
commit
a4b0da5319
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/views/tablePage/index.vue

+ 6 - 0
src/views/tablePage/index.vue

@@ -252,6 +252,11 @@ export default {
       this.tableType = "add";
       this.tableTitle = "新增";
       this.tableForm = {};
+      for(let k in this.defaultfilter){
+        if(k!=1){
+          this.tableForm[k] = this.defaultfilter[k]
+        }
+      }
       // this.formItem = tableColumnArrs.filter(item => item.isdisplay == 1)
     },
     //表格-编辑
@@ -263,6 +268,7 @@ export default {
       this.tableType = "edit";
       this.tableTitle = "编辑";
       this.tableForm = _.cloneDeep(row);
+
     },
     //表格-其他类型按钮操作
     handleOther (row, auth) {