소스 검색

添加分区

shaun-sheep 5 년 전
부모
커밋
29e7c006b5
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/business_space/business/handsontable.vue
  2. 1 0
      src/components/ledger/addDialog/dialogZone.vue

+ 1 - 1
src/components/business_space/business/handsontable.vue

@@ -295,7 +295,7 @@ export default {
         columns: this.getType(this.headers), //数据显示格式
         filters: true,
         fixedColumnsLeft: 4,
-        maxRows: this.main.length,
+        maxRows: this.main ? this.main.length:'',
         height: winHeight - 100 - 50 - 176,
         columnSorting: true, //添加排序
         sortIndicator: true, //添加排序

+ 1 - 0
src/components/ledger/addDialog/dialogZone.vue

@@ -49,6 +49,7 @@ export default {
             Content: [this.ruleForm]
           }
           zoneCreateType(pa, res=>{
+            this.$message.success('添加成功')
             this.dialogFormVisible = false
             this.ruleForm.Name = ''
             this.ruleForm.Id = '';