Browse Source

feat(设备): 一些调整

master
betaqi 1 month ago
parent
commit
bfde91e123
  1. 1
      src/pages/deviceInfo/utils.ts
  2. 1
      src/pages/deviceStorage/index.vue
  3. 1
      src/pages/deviceStorage/utils.ts

1
src/pages/deviceInfo/utils.ts

@ -12,7 +12,6 @@ export const deviceTableCol = [ @@ -12,7 +12,6 @@ export const deviceTableCol = [
{ label: '设备类型', prop: 'categoryName', minWidth: '10%' },
{ label: '设备状态', prop: 'status', minWidth: '10%' },
{ label: '创建时间', prop: 'createTime', minWidth: '10%' },
{ label: 'sd', prop: 'cost', minWidth: '10%' }
]
export type OptAction = 'create' | 'update' | 'view'

1
src/pages/deviceStorage/index.vue

@ -82,6 +82,7 @@ @@ -82,6 +82,7 @@
<script setup lang="ts">
import dayjs from 'dayjs'
import EdfsWrap from '@/components/dashboard/Edfs-wrap.vue'
import EdfsButton from '@/components/dashboard/Edfs-button/index.vue'
import EdfsTable from '@/components/dashboard/Edfs-table/index.vue'
import { statusList, tableCol } from './utils'
import { isResError } from '@/hooks/useMessage'

1
src/pages/deviceStorage/utils.ts

@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
export const tableCol = [
// { label: '设备名称', prop: 'deviceName', minWidth: '10%' },
{ label: '设备sn', prop: 'sn', minWidth: '10%' },
{ label: '设备类型', prop: 'categoryName', minWidth: '10%' },
{ label: '库存状态', prop: 'status', minWidth: '10%' },
{ label: '客户', prop: 'customerName', minWidth: '14%' },
{ label: '出库价格', prop: 'price', minWidth: '10%' },

Loading…
Cancel
Save