zhou zhou
3 天以前 50e95b985a72fcec4a93a2470e9efdfb2620148a
rsf-design/src/views/stock/stock-transfer/stockTransferTable.columns.js
@@ -1,4 +1,5 @@
import { h } from 'vue'
import { $t } from '@/locales'
import ArtButtonTable from '@/components/core/forms/art-button-table/index.vue'
export function createStockTransferTableColumns({ enabledFields = [], handleView } = {}) {
@@ -13,7 +14,7 @@
  return [
    {
      type: 'globalIndex',
      label: '序号',
      label: $t('table.index'),
      width: 72,
      align: 'center'
    },
@@ -69,13 +70,13 @@
    },
    {
      prop: 'operation',
      label: '操作',
      label: $t('table.operation'),
      width: 100,
      fixed: 'right',
      formatter: (row) =>
        h(ArtButtonTable, {
          type: 'view',
          text: '详情',
          text: $t('common.actions.detail'),
          onClick: () => handleView?.(row)
        })
    }