|
@ -27,6 +27,9 @@ |
|
|
|
|
|
|
|
|
</template> |
|
|
</template> |
|
|
<script lang="ts" setup> |
|
|
<script lang="ts" setup> |
|
|
|
|
|
import { DictTag } from '@/components/DictTag' |
|
|
|
|
|
import { TableColumn } from '@/types/table' |
|
|
|
|
|
|
|
|
// 查看质检报告 |
|
|
// 查看质检报告 |
|
|
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime' |
|
|
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime' |
|
|
import {queryQualityInspection} from '@/api/wms/supplierdeliverInspectionDetail' |
|
|
import {queryQualityInspection} from '@/api/wms/supplierdeliverInspectionDetail' |
|
@ -101,6 +104,12 @@ const getAnnexList = async () => { |
|
|
"field": "uom", |
|
|
"field": "uom", |
|
|
"dictType": "uom", |
|
|
"dictType": "uom", |
|
|
"dictClass": "string", |
|
|
"dictClass": "string", |
|
|
|
|
|
formatter : (_: Recordable, __: TableColumn, cellValue: any) => { |
|
|
|
|
|
return h(DictTag, { |
|
|
|
|
|
type: "uom", // ! 表示一定不为空 |
|
|
|
|
|
value: cellValue |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
"isTable": true, |
|
|
"isTable": true, |
|
|
"isForm": false, |
|
|
"isForm": false, |
|
|
"sort": "custom", |
|
|
"sort": "custom", |
|
|