|
@@ -134,13 +134,13 @@
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</ContentWrap>
|
|
</ContentWrap>
|
|
|
<div class="pb-10">
|
|
<div class="pb-10">
|
|
|
- <el-table
|
|
|
|
|
- v-loading="loading"
|
|
|
|
|
|
|
+ <zm-table
|
|
|
|
|
+ :loading="loading"
|
|
|
:data="measureList"
|
|
:data="measureList"
|
|
|
:stripe="true"
|
|
:stripe="true"
|
|
|
:show-overflow-tooltip="true"
|
|
:show-overflow-tooltip="true"
|
|
|
ref="measureTableRef">
|
|
ref="measureTableRef">
|
|
|
- <el-table-column width="50" align="center">
|
|
|
|
|
|
|
+ <zm-table-column width="50" align="center">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<el-radio
|
|
<el-radio
|
|
|
:model-value="selectedMeasureId"
|
|
:model-value="selectedMeasureId"
|
|
@@ -149,40 +149,42 @@
|
|
|
|
|
|
|
|
</el-radio>
|
|
</el-radio>
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column :label="t('monitor.serial')" width="70" align="center">
|
|
|
|
|
|
|
+ </zm-table-column>
|
|
|
|
|
+ <zm-table-column :label="t('monitor.serial')" width="70" align="center">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
{{ scope.$index + 1 }}
|
|
{{ scope.$index + 1 }}
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="计量单位" align="center" prop="measureUnit" />
|
|
|
|
|
- <el-table-column label="名称" align="center" prop="measureName" />
|
|
|
|
|
- <el-table-column label="责任人" align="center" prop="dutyPerson" />
|
|
|
|
|
- <el-table-column label="品牌" align="center" prop="brand" />
|
|
|
|
|
- <el-table-column label="规格型号" align="center" prop="modelName" />
|
|
|
|
|
- <el-table-column label="分类" align="center" prop="classify" />
|
|
|
|
|
- <el-table-column label="采购日期" align="center" prop="buyDate">
|
|
|
|
|
|
|
+ </zm-table-column>
|
|
|
|
|
+ <zm-table-column label="计量器具编码" align="center" prop="measureCode" />
|
|
|
|
|
+ <zm-table-column label="计量器具名称" align="center" prop="measureName" />
|
|
|
|
|
+ <zm-table-column label="计量单位" align="center" prop="measureUnit" />
|
|
|
|
|
+
|
|
|
|
|
+ <zm-table-column label="责任人" align="center" prop="dutyPerson" />
|
|
|
|
|
+ <zm-table-column label="品牌" align="center" prop="brand" />
|
|
|
|
|
+ <zm-table-column label="规格型号" align="center" prop="modelName" />
|
|
|
|
|
+ <zm-table-column label="分类" align="center" prop="classify" />
|
|
|
|
|
+ <zm-table-column label="采购日期" align="center" prop="buyDate">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
{{ formatDateCorrectly(scope.row.buyDate) }}
|
|
{{ formatDateCorrectly(scope.row.buyDate) }}
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="有效期" align="center" prop="validity">
|
|
|
|
|
|
|
+ </zm-table-column>
|
|
|
|
|
+ <zm-table-column label="有效期" align="center" prop="validity">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
{{ formatDateCorrectly(scope.row.validity) }}
|
|
{{ formatDateCorrectly(scope.row.validity) }}
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="上次检验日期" align="center" prop="lastTime" min-width="150">
|
|
|
|
|
|
|
+ </zm-table-column>
|
|
|
|
|
+ <zm-table-column label="上次检验日期" align="center" prop="lastTime" min-width="150">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
{{ formatDateCorrectly(scope.row.lastTime) }}
|
|
{{ formatDateCorrectly(scope.row.lastTime) }}
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="价格" align="center" prop="measurePrice">
|
|
|
|
|
|
|
+ </zm-table-column>
|
|
|
|
|
+ <zm-table-column label="价格" align="center" prop="measurePrice">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
{{ scope.row.measurePrice }}
|
|
{{ scope.row.measurePrice }}
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="备注" align="center" prop="remark" />
|
|
|
|
|
- </el-table>
|
|
|
|
|
|
|
+ </zm-table-column>
|
|
|
|
|
+ <zm-table-column label="备注" align="center" prop="remark" />
|
|
|
|
|
+ </zm-table>
|
|
|
<!-- 分页 -->
|
|
<!-- 分页 -->
|
|
|
<Pagination
|
|
<Pagination
|
|
|
:total="total"
|
|
:total="total"
|