This commit is contained in:
zc
2026-04-09 16:02:27 +08:00
parent cf269a2f10
commit 947a8a27d3
2 changed files with 10 additions and 9 deletions

View File

@@ -81,12 +81,14 @@ const columns: ColumnItem[] = reactive([
{ {
label: '灯光等级', label: '灯光等级',
field: 'lightLevel', field: 'lightLevel',
type: 'select', type: 'input-number',
span: 24,
props: { props: {
options: light_level, mode: 'button',
allowClear: true, min: 1,
max: 300,
step: 1,
}, },
span: 24,
}, },
{ {
label: '物料流程编码', label: '物料流程编码',

View File

@@ -54,9 +54,9 @@
:src="record.photoUrl" :src="record.photoUrl"
/> />
</template> </template>
<template #lightLevel="{ record }"> <!-- <template #lightLevel="{ record }">-->
<GiCellTag :value="record.lightLevel" :dict="light_level" /> <!-- <GiCellTag :value="record.lightLevel" :dict="light_level" />-->
</template> <!-- </template>-->
<template #action="{ record }"> <template #action="{ record }">
<a-space> <a-space>
@@ -90,11 +90,10 @@ import { useDownload, useTable } from '@/hooks'
import { isMobile } from '@/utils' import { isMobile } from '@/utils'
import has from '@/utils/has' import has from '@/utils/has'
import {Message} from "@arco-design/web-vue"; import {Message} from "@arco-design/web-vue";
import {useDict} from "@/hooks/app";
defineOptions({ name: 'MaterialInfo' }) defineOptions({ name: 'MaterialInfo' })
const { light_level } = useDict('light_level') // const { light_level } = useDict('light_level')
interface MaterialInfoRespWithStatus extends MaterialInfoResp { interface MaterialInfoRespWithStatus extends MaterialInfoResp {
photoLoadError?: boolean; photoLoadError?: boolean;