优化
This commit is contained in:
@@ -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: '物料流程编码',
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user