lilei 7 月之前
父节点
当前提交
3c11e6ab13

+ 5 - 1
src/views/financialManagement/financialCollection/edit.vue

@@ -162,7 +162,7 @@
         id="financialCollectionAddsubmit-btn"
         size="large"
         @click="beforeSubmit"
-        style="padding: 0 60px;">{{ isEditDetail?'保存':'提交' }}</a-button>
+        style="padding: 0 60px;">{{ isEditDetail?'返回':'提交' }}</a-button>
     </div>
     <!-- 基础信息 -->
     <baseModal
@@ -458,6 +458,10 @@ export default {
       })
     },
     beforeSubmit () {
+      if (this.isEditDetail) {
+        this.handleBack()
+        return
+      }
       if (this.total) {
         this.openDepartUserModal = true
       } else {

+ 2 - 2
src/views/financialManagement/financialCollection/list.vue

@@ -102,7 +102,7 @@
         <s-table
           class="sTable fixPagination"
           ref="table"
-          :style="{ height: tableHeight+70+'px' }"
+          :style="{ height: tableHeight+80+'px' }"
           size="small"
           :rowKey="(record) => record.id"
           :columns="columns"
@@ -390,7 +390,7 @@ export default {
     },
     setTableH () {
       const tableSearchH = this.$refs.tableSearch.offsetHeight
-      this.tableHeight = window.innerHeight - tableSearchH - 240
+      this.tableHeight = window.innerHeight - tableSearchH - 250
     }
   },
   watch: {