Browse Source

添加分区

shaun-sheep 5 years ago
parent
commit
29e7c006b5

+ 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 = '';