|
|
|
|
@ -0,0 +1,437 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="device-ledger-layout">
|
|
|
|
|
<ContentWrap class="device-ledger-left">
|
|
|
|
|
<el-tree
|
|
|
|
|
v-loading="typeTreeLoading"
|
|
|
|
|
:data="typeTreeData"
|
|
|
|
|
node-key="id"
|
|
|
|
|
highlight-current
|
|
|
|
|
:props="typeTreeProps"
|
|
|
|
|
:default-expanded-keys="typeTreeExpandedKeys"
|
|
|
|
|
:expand-on-click-node="false"
|
|
|
|
|
@node-click="handleTypeNodeClick"
|
|
|
|
|
/>
|
|
|
|
|
</ContentWrap>
|
|
|
|
|
|
|
|
|
|
<div class="device-ledger-right">
|
|
|
|
|
<ContentWrap>
|
|
|
|
|
<el-form
|
|
|
|
|
class="-mb-15px"
|
|
|
|
|
:model="queryParams"
|
|
|
|
|
ref="queryFormRef"
|
|
|
|
|
:inline="true"
|
|
|
|
|
label-width="90px"
|
|
|
|
|
>
|
|
|
|
|
<el-form-item label="编码" prop="deviceCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.deviceCode"
|
|
|
|
|
placeholder="请输入编码"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter="handleQuery"
|
|
|
|
|
class="!w-240px"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="名称" prop="deviceName">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.deviceName"
|
|
|
|
|
placeholder="请输入名称"
|
|
|
|
|
clearable
|
|
|
|
|
@keyup.enter="handleQuery"
|
|
|
|
|
class="!w-240px"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="状态" prop="deviceStatus">
|
|
|
|
|
<el-select v-model="queryParams.deviceStatus" placeholder="请选择状态" clearable class="!w-240px">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in tzStatusOptions"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
|
|
|
|
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
|
|
|
|
<el-button type="primary" plain @click="openForm('create')" v-hasPermi="['mes:device-ledger:create']">
|
|
|
|
|
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
type="success"
|
|
|
|
|
plain
|
|
|
|
|
@click="handleExport"
|
|
|
|
|
:loading="exportLoading"
|
|
|
|
|
v-hasPermi="['mes:device-ledger:export']"
|
|
|
|
|
>
|
|
|
|
|
<Icon icon="ep:download" class="mr-5px" /> 导出
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
</ContentWrap>
|
|
|
|
|
|
|
|
|
|
<ContentWrap>
|
|
|
|
|
<el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
|
|
|
|
|
<el-table-column label="序号" align="center" width="80" fixed="left">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
{{ (queryParams.pageNo - 1) * queryParams.pageSize + scope.$index + 1 }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="编码" align="center" prop="deviceCode" />
|
|
|
|
|
<el-table-column label="名称" align="center" prop="deviceName" />
|
|
|
|
|
<el-table-column label="类型" align="center" prop="deviceType">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-tag effect="light">
|
|
|
|
|
{{ getDeviceTypeName(scope.row.deviceTypeName ?? scope.row.deviceType) }}
|
|
|
|
|
</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="状态" align="center" prop="deviceStatus">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-tag
|
|
|
|
|
:type="getTzStatusTagType(scope.row.deviceStatus)"
|
|
|
|
|
:color="getTzStatusTagColor(scope.row.deviceStatus)"
|
|
|
|
|
:style="getTzStatusTagStyle(scope.row.deviceStatus)"
|
|
|
|
|
effect="light"
|
|
|
|
|
disable-transitions
|
|
|
|
|
>
|
|
|
|
|
{{ getTzStatusLabel(scope.row.deviceStatus) }}
|
|
|
|
|
</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="规格" align="center" prop="deviceSpec" />
|
|
|
|
|
<el-table-column label="型号" align="center" prop="deviceModel" />
|
|
|
|
|
<el-table-column label="品牌" align="center" prop="deviceBrand" />
|
|
|
|
|
<el-table-column label="数量" align="center" prop="quantity" />
|
|
|
|
|
<el-table-column label="生产日期" align="center" prop="productionDate" :formatter="dateFormatter" width="180px" />
|
|
|
|
|
<el-table-column label="入厂日期" align="center" prop="factoryEntryDate" :formatter="dateFormatter" width="180px" />
|
|
|
|
|
<el-table-column label="供应商" align="center" prop="supplier" />
|
|
|
|
|
<el-table-column label="所属车间" align="center" prop="workshop" />
|
|
|
|
|
<el-table-column label="位置" align="center" prop="deviceLocation" />
|
|
|
|
|
<el-table-column label="使用部门" align="center" prop="useDept" />
|
|
|
|
|
<el-table-column label="责任人" align="center" prop="deviceManager" />
|
|
|
|
|
<el-table-column label="备注" align="center" prop="remark" />
|
|
|
|
|
<el-table-column label="创建人" align="center" prop="creator" />
|
|
|
|
|
<el-table-column label="创建时间" align="center" prop="createTime" :formatter="dateFormatter" width="180px" />
|
|
|
|
|
<el-table-column label="更新时间" align="center" prop="updateTime" :formatter="dateFormatter" width="180px" />
|
|
|
|
|
<el-table-column label="操作" align="center" min-width="160px" fixed="right">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-button link @click="handleDetail(scope.row.id)">详情</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
link
|
|
|
|
|
type="primary"
|
|
|
|
|
@click="openForm('update', scope.row.id)"
|
|
|
|
|
v-hasPermi="['mes:device-ledger:update']"
|
|
|
|
|
>
|
|
|
|
|
编辑
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
link
|
|
|
|
|
type="danger"
|
|
|
|
|
@click="handleDelete(scope.row.id)"
|
|
|
|
|
v-hasPermi="['mes:device-ledger:delete']"
|
|
|
|
|
>
|
|
|
|
|
删除
|
|
|
|
|
</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<Pagination :total="total" v-model:page="queryParams.pageNo" v-model:limit="queryParams.pageSize" @pagination="getList" />
|
|
|
|
|
</ContentWrap>
|
|
|
|
|
|
|
|
|
|
<ContentWrap v-if="detailVisible" v-loading="detailLoading">
|
|
|
|
|
<div class="device-ledger-detail-header">
|
|
|
|
|
<div class="device-ledger-detail-title">详情</div>
|
|
|
|
|
<el-button link @click="closeDetail">
|
|
|
|
|
<Icon icon="ep:close" />
|
|
|
|
|
</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
<el-descriptions :column="3" class="device-ledger-detail-desc">
|
|
|
|
|
<el-descriptions-item label="设备编号">{{ detailData?.deviceCode ?? '' }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="设备名称">{{ detailData?.deviceName ?? '' }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="设备状态">
|
|
|
|
|
<dict-tag type="mes_tz_status" :value="detailData?.deviceStatus" />
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="设备品牌">{{ detailData?.deviceBrand ?? '' }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="设备型号">{{ detailData?.deviceModel ?? '' }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="设备规格">{{ detailData?.deviceSpec ?? '' }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="设备类型">
|
|
|
|
|
<el-tag effect="light">{{ getDeviceTypeName(detailData?.deviceTypeName ?? detailData?.deviceType) }}</el-tag>
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="供应商">{{ detailData?.supplier ?? '' }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="所属车间">{{ detailData?.workshop ?? '' }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="所属系统组织">{{ detailData?.systemOrg ?? '' }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="设备位置">{{ detailData?.deviceLocation ?? '' }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="设备负责人">{{ detailData?.deviceManager ?? '' }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="设备生产日期">{{ formatDetailDate(detailData?.productionDate) }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="设备入厂日期">{{ formatDetailDate(detailData?.factoryEntryDate) }}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="备注">{{ detailData?.remark ?? detailData?.deviceRemark ?? '' }}</el-descriptions-item>
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
|
|
|
|
|
<el-tabs v-model="detailActiveTab" class="mt-12px">
|
|
|
|
|
<el-tab-pane label="点检履历" name="check">
|
|
|
|
|
<el-empty />
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="保养履历" name="maintain">
|
|
|
|
|
<el-empty />
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="维修履历" name="repair">
|
|
|
|
|
<el-empty />
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
</ContentWrap>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 表单弹窗:添加/修改 -->
|
|
|
|
|
<DeviceLedgerForm ref="formRef" @success="getList" />
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { dateFormatter, formatDate } from '@/utils/formatTime'
|
|
|
|
|
import download from '@/utils/download'
|
|
|
|
|
import { DeviceLedgerApi, DeviceLedgerVO } from '@/api/mes/deviceledger'
|
|
|
|
|
import { DeviceTypeApi, DeviceTypeTreeVO } from '@/api/mes/devicetype'
|
|
|
|
|
import DeviceLedgerForm from './DeviceLedgerForm.vue'
|
|
|
|
|
import { getIntDictOptions } from '@/utils/dict'
|
|
|
|
|
import { isHexColor } from '@/utils/color'
|
|
|
|
|
import { useDictStoreWithOut } from '@/store/modules/dict'
|
|
|
|
|
|
|
|
|
|
/** 设备类型 列表 */
|
|
|
|
|
defineOptions({ name: 'DeviceLedger' })
|
|
|
|
|
|
|
|
|
|
const message = useMessage() // 消息弹窗
|
|
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
|
|
|
|
const loading = ref(true) // 列表的加载中
|
|
|
|
|
const list = ref<DeviceLedgerVO[]>([]) // 列表的数据
|
|
|
|
|
const total = ref(0) // 列表的总页数
|
|
|
|
|
const queryParams = reactive({
|
|
|
|
|
pageNo: 1,
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
deviceCode: undefined,
|
|
|
|
|
deviceName: undefined,
|
|
|
|
|
deviceStatus: undefined,
|
|
|
|
|
deviceType: undefined,
|
|
|
|
|
})
|
|
|
|
|
const queryFormRef = ref() // 搜索的表单
|
|
|
|
|
const exportLoading = ref(false) // 导出的加载中
|
|
|
|
|
|
|
|
|
|
const dictStore = useDictStoreWithOut()
|
|
|
|
|
const dictReady = ref(false)
|
|
|
|
|
|
|
|
|
|
const tzStatusOptions = computed(() => {
|
|
|
|
|
if (!dictReady.value) return []
|
|
|
|
|
const options = getIntDictOptions('mes_tz_status')
|
|
|
|
|
return options.filter((o) => o.value !== null && o.value !== undefined && !Number.isNaN(o.value))
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
const detailVisible = ref(false)
|
|
|
|
|
const detailLoading = ref(false)
|
|
|
|
|
const detailData = ref<DeviceLedgerVO | undefined>()
|
|
|
|
|
const detailActiveTab = ref('check')
|
|
|
|
|
const selectedDetailId = ref<number | undefined>()
|
|
|
|
|
|
|
|
|
|
const typeTreeLoading = ref(false)
|
|
|
|
|
const typeTreeData = ref<DeviceTypeTreeVO[]>([])
|
|
|
|
|
const typeTreeProps = { label: 'name', children: 'children' }
|
|
|
|
|
const typeTreeExpandedKeys = ref<number[]>([0])
|
|
|
|
|
const deviceTypeNameMap = ref<Record<number, string>>({})
|
|
|
|
|
|
|
|
|
|
const buildDeviceTypeNameMap = (nodes: DeviceTypeTreeVO[]) => {
|
|
|
|
|
const map: Record<number, string> = {}
|
|
|
|
|
const stack = [...nodes]
|
|
|
|
|
while (stack.length) {
|
|
|
|
|
const node = stack.pop()!
|
|
|
|
|
if (typeof node.id === 'number') map[node.id] = node.name
|
|
|
|
|
if (Array.isArray(node.children) && node.children.length) stack.push(...node.children)
|
|
|
|
|
}
|
|
|
|
|
deviceTypeNameMap.value = map
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const getTypeTree = async () => {
|
|
|
|
|
typeTreeLoading.value = true
|
|
|
|
|
try {
|
|
|
|
|
const data = await DeviceTypeApi.getDeviceTypeTree({ pageNo: 1, pageSize: 10 })
|
|
|
|
|
const treeChildren = JSON.parse(JSON.stringify(data ?? []))
|
|
|
|
|
typeTreeData.value = [{ id: 0, code: '', name: '全部', remark: '', sort: 0, children: treeChildren } as any]
|
|
|
|
|
buildDeviceTypeNameMap(treeChildren)
|
|
|
|
|
typeTreeExpandedKeys.value = [0]
|
|
|
|
|
} finally {
|
|
|
|
|
typeTreeLoading.value = false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const handleTypeNodeClick = (node: any) => {
|
|
|
|
|
const id = node?.id
|
|
|
|
|
queryParams.deviceType = id === 0 ? undefined : id
|
|
|
|
|
queryParams.pageNo = 1
|
|
|
|
|
getList()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const getDeviceTypeName = (value: any) => {
|
|
|
|
|
const id = typeof value === 'number' ? value : Number(value)
|
|
|
|
|
if (!Number.isNaN(id) && deviceTypeNameMap.value[id]) return deviceTypeNameMap.value[id]
|
|
|
|
|
return value ?? ''
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const getTzStatusLabel = (value: any) => {
|
|
|
|
|
const v = value === '' || value === null || value === undefined ? undefined : Number(value)
|
|
|
|
|
const found = tzStatusOptions.value.find((d) => d.value === v)
|
|
|
|
|
return found?.label ?? ''
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const getTzStatusTagType = (value: any) => {
|
|
|
|
|
const v = value === '' || value === null || value === undefined ? undefined : Number(value)
|
|
|
|
|
const found = tzStatusOptions.value.find((d) => d.value === v)
|
|
|
|
|
const type = found?.colorType
|
|
|
|
|
if (type + '' === 'primary' || type + '' === 'default') return '' as any
|
|
|
|
|
return (type ?? '') as any
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const getTzStatusTagColor = (value: any) => {
|
|
|
|
|
const v = value === '' || value === null || value === undefined ? undefined : Number(value)
|
|
|
|
|
const found = tzStatusOptions.value.find((d) => d.value === v)
|
|
|
|
|
if (found?.cssClass && isHexColor(found.cssClass)) return found.cssClass
|
|
|
|
|
return ''
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const getTzStatusTagStyle = (value: any) => {
|
|
|
|
|
const color = getTzStatusTagColor(value)
|
|
|
|
|
if (!color) return ''
|
|
|
|
|
return 'color: #fff'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const formatDetailDate = (value: any) => {
|
|
|
|
|
if (!value) return ''
|
|
|
|
|
return formatDate(new Date(value), 'YYYY-MM-DD')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const handleDetail = async (id: number) => {
|
|
|
|
|
if (detailVisible.value && selectedDetailId.value === id) {
|
|
|
|
|
closeDetail()
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
selectedDetailId.value = id
|
|
|
|
|
detailVisible.value = true
|
|
|
|
|
detailActiveTab.value = 'check'
|
|
|
|
|
detailLoading.value = true
|
|
|
|
|
try {
|
|
|
|
|
detailData.value = await DeviceLedgerApi.getDeviceLedger(id)
|
|
|
|
|
} finally {
|
|
|
|
|
detailLoading.value = false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const closeDetail = () => {
|
|
|
|
|
detailVisible.value = false
|
|
|
|
|
selectedDetailId.value = undefined
|
|
|
|
|
detailData.value = undefined
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** 查询列表 */
|
|
|
|
|
const getList = async () => {
|
|
|
|
|
loading.value = true
|
|
|
|
|
try {
|
|
|
|
|
const data = await DeviceLedgerApi.getDeviceLedgerPage({
|
|
|
|
|
pageNo: queryParams.pageNo,
|
|
|
|
|
pageSize: queryParams.pageSize,
|
|
|
|
|
deviceCode: queryParams.deviceCode,
|
|
|
|
|
deviceName: queryParams.deviceName,
|
|
|
|
|
deviceStatus: queryParams.deviceStatus,
|
|
|
|
|
deviceType: queryParams.deviceType
|
|
|
|
|
})
|
|
|
|
|
list.value = data.list
|
|
|
|
|
total.value = data.total
|
|
|
|
|
} finally {
|
|
|
|
|
loading.value = false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** 搜索按钮操作 */
|
|
|
|
|
const handleQuery = () => {
|
|
|
|
|
queryParams.pageNo = 1
|
|
|
|
|
getList()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** 重置按钮操作 */
|
|
|
|
|
const resetQuery = () => {
|
|
|
|
|
queryFormRef.value.resetFields()
|
|
|
|
|
handleQuery()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** 添加/修改操作 */
|
|
|
|
|
const formRef = ref()
|
|
|
|
|
const openForm = (type: string, id?: number) => {
|
|
|
|
|
formRef.value.open(type, id, queryParams.deviceType)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
|
const handleDelete = async (id: number) => {
|
|
|
|
|
try {
|
|
|
|
|
// 删除的二次确认
|
|
|
|
|
await message.delConfirm()
|
|
|
|
|
// 发起删除
|
|
|
|
|
await DeviceLedgerApi.deleteDeviceLedger(id)
|
|
|
|
|
message.success(t('common.delSuccess'))
|
|
|
|
|
// 刷新列表
|
|
|
|
|
await getList()
|
|
|
|
|
} catch {}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** 导出按钮操作 */
|
|
|
|
|
const handleExport = async () => {
|
|
|
|
|
try {
|
|
|
|
|
// 导出的二次确认
|
|
|
|
|
await message.exportConfirm()
|
|
|
|
|
// 发起导出
|
|
|
|
|
exportLoading.value = true
|
|
|
|
|
const data = await DeviceLedgerApi.exportDeviceLedger({
|
|
|
|
|
deviceCode: queryParams.deviceCode,
|
|
|
|
|
deviceName: queryParams.deviceName,
|
|
|
|
|
deviceStatus: queryParams.deviceStatus,
|
|
|
|
|
deviceType: queryParams.deviceType
|
|
|
|
|
})
|
|
|
|
|
download.excel(data, '设备台账.xls')
|
|
|
|
|
} catch {
|
|
|
|
|
} finally {
|
|
|
|
|
exportLoading.value = false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** 初始化 **/
|
|
|
|
|
onMounted(async () => {
|
|
|
|
|
await dictStore.setDictMap()
|
|
|
|
|
dictReady.value = true
|
|
|
|
|
getTypeTree()
|
|
|
|
|
getList()
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
.device-ledger-layout {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.device-ledger-left {
|
|
|
|
|
width: 280px;
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.device-ledger-right {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.device-ledger-detail-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.device-ledger-detail-title {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
</style>
|