瀏覽代碼

fix(分账):查看收放款计划

sufan 7 月之前
父節點
當前提交
8e9b1bd769
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/views/divideAccountsManage/edit.vue

+ 4 - 4
src/views/divideAccountsManage/edit.vue

@@ -439,11 +439,11 @@ export default {
         {
           label: '操作',
           width: '100',
-          show: !this.disabled,
           render: (h, row, index) => {
-            const btnList = [
-              { msg: '删除', icon: 'el-icon-delete', category: 'delete' }
-            ]
+            const btnList = []
+            if (!this.disabled) {
+              btnList.push({ msg: '删除', icon: 'el-icon-delete', category: 'delete' })
+            }
             if (row.contractNo && row.quotaDisburseBatch) {
               btnList.unshift({ msg: '查看放款计划', icon: 'iconfont icon-Magnifier', category: 'see' })
             }