|
|
@ -3,7 +3,7 @@ |
|
|
|
<ContentWrap > |
|
|
|
<Annex |
|
|
|
:annexData="reportAnnex" |
|
|
|
:showDownload = "false" |
|
|
|
:showDownload = "true" |
|
|
|
:showPreview="true" |
|
|
|
:hiddenDelete = "true" |
|
|
|
:upData="{ |
|
|
@ -21,7 +21,11 @@ |
|
|
|
:columns="subDetailTableData.tableColumns" |
|
|
|
:data="subDetailTableData.tableList" |
|
|
|
:loading="false" |
|
|
|
/> |
|
|
|
> |
|
|
|
<template #uomName="scope"> |
|
|
|
<el-tag>{{scope.row.uomName}}</el-tag> |
|
|
|
</template> |
|
|
|
</Table> |
|
|
|
</ContentWrap> |
|
|
|
</div> |
|
|
|
|
|
|
@ -30,7 +34,7 @@ |
|
|
|
import { DictTag } from '@/components/DictTag' |
|
|
|
import { TableColumn } from '@/types/table' |
|
|
|
|
|
|
|
// 查看质检报告 |
|
|
|
// 查看质检报告 purchasereceiptReport |
|
|
|
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime' |
|
|
|
import {queryQualityInspection} from '@/api/wms/supplierdeliverInspectionDetail' |
|
|
|
import Annex from '@/components/Annex/src/Annex.vue' |
|
|
@ -101,15 +105,7 @@ const getAnnexList = async () => { |
|
|
|
{ |
|
|
|
"width": 150, |
|
|
|
"label": "计量单位", |
|
|
|
"field": "uom", |
|
|
|
"dictType": "uom", |
|
|
|
"dictClass": "string", |
|
|
|
formatter : (_: Recordable, __: TableColumn, cellValue: any) => { |
|
|
|
return h(DictTag, { |
|
|
|
type: "uom", // ! 表示一定不为空 |
|
|
|
value: cellValue |
|
|
|
}) |
|
|
|
}, |
|
|
|
"field": "uomName", |
|
|
|
"isTable": true, |
|
|
|
"isForm": false, |
|
|
|
"sort": "custom", |
|
|
|