优化
This commit is contained in:
@@ -81,12 +81,14 @@ const columns: ColumnItem[] = reactive([
|
||||
{
|
||||
label: '灯光等级',
|
||||
field: 'lightLevel',
|
||||
type: 'select',
|
||||
span: 24,
|
||||
type: 'input-number',
|
||||
props: {
|
||||
options: light_level,
|
||||
allowClear: true,
|
||||
mode: 'button',
|
||||
min: 1,
|
||||
max: 300,
|
||||
step: 1,
|
||||
},
|
||||
span: 24,
|
||||
},
|
||||
{
|
||||
label: '物料流程编码',
|
||||
|
||||
@@ -54,9 +54,9 @@
|
||||
:src="record.photoUrl"
|
||||
/>
|
||||
</template>
|
||||
<template #lightLevel="{ record }">
|
||||
<GiCellTag :value="record.lightLevel" :dict="light_level" />
|
||||
</template>
|
||||
<!-- <template #lightLevel="{ record }">-->
|
||||
<!-- <GiCellTag :value="record.lightLevel" :dict="light_level" />-->
|
||||
<!-- </template>-->
|
||||
|
||||
<template #action="{ record }">
|
||||
<a-space>
|
||||
@@ -90,11 +90,10 @@ import { useDownload, useTable } from '@/hooks'
|
||||
import { isMobile } from '@/utils'
|
||||
import has from '@/utils/has'
|
||||
import {Message} from "@arco-design/web-vue";
|
||||
import {useDict} from "@/hooks/app";
|
||||
|
||||
defineOptions({ name: 'MaterialInfo' })
|
||||
|
||||
const { light_level } = useDict('light_level')
|
||||
// const { light_level } = useDict('light_level')
|
||||
|
||||
interface MaterialInfoRespWithStatus extends MaterialInfoResp {
|
||||
photoLoadError?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user