Browse Source

计量单位名字

hella_online_20240829
wangyufei 4 months ago
parent
commit
c95d0ee3ae
  1. 20
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptReport/index.vue

20
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptReport/index.vue

@ -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",

Loading…
Cancel
Save