gaoluyang
9 天以前 534533425b15b183cea60fa162d9884e5d3c6243
src/views/crm/invoice/detail/index.vue
@@ -17,6 +17,7 @@
import { OperateLog } from '#/components/operate-log';
import { ACTION_ICON, TableAction } from '#/components/table-action';
import { $t } from '#/locales';
import { automaticApproval } from '#/store/audit-policy';
import { PermissionList } from '#/views/crm/permission';
import InvoiceForm from '../modules/form.vue';
@@ -96,7 +97,7 @@
            type: 'primary',
            icon: ACTION_ICON.EDIT,
            auth: ['crm:invoice:update'],
            ifShow: permissionListRef?.validateWrite,
            ifShow: permissionListRef?.validateWrite && (automaticApproval || invoice.auditStatus === 0 || invoice.auditStatus === 10),
            onClick: handleEdit,
          },
        ]"
@@ -111,7 +112,7 @@
          <Info :invoice="invoice" />
        </Tabs.TabPane>
        <Tabs.TabPane tab="操作日志" key="2" :force-render="true">
          <OperateLog :log-list="logList" />
          <OperateLog :log-list="logList" date-format="YYYY-MM-DD" />
        </Tabs.TabPane>
        <Tabs.TabPane tab="团队成员" key="3" :force-render="true">
          <PermissionList