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 > <ContentWrap >
<Annex <Annex
:annexData="reportAnnex" :annexData="reportAnnex"
:showDownload = "false" :showDownload = "true"
:showPreview="true" :showPreview="true"
:hiddenDelete = "true" :hiddenDelete = "true"
:upData="{ :upData="{
@ -21,7 +21,11 @@
:columns="subDetailTableData.tableColumns" :columns="subDetailTableData.tableColumns"
:data="subDetailTableData.tableList" :data="subDetailTableData.tableList"
:loading="false" :loading="false"
/> >
<template #uomName="scope">
<el-tag>{{scope.row.uomName}}</el-tag>
</template>
</Table>
</ContentWrap> </ContentWrap>
</div> </div>
@ -30,7 +34,7 @@
import { DictTag } from '@/components/DictTag' import { DictTag } from '@/components/DictTag'
import { TableColumn } from '@/types/table' import { TableColumn } from '@/types/table'
// // purchasereceiptReport
import { dateFormatter,dateFormatter2 } from '@/utils/formatTime' import { dateFormatter,dateFormatter2 } from '@/utils/formatTime'
import {queryQualityInspection} from '@/api/wms/supplierdeliverInspectionDetail' import {queryQualityInspection} from '@/api/wms/supplierdeliverInspectionDetail'
import Annex from '@/components/Annex/src/Annex.vue' import Annex from '@/components/Annex/src/Annex.vue'
@ -101,15 +105,7 @@ const getAnnexList = async () => {
{ {
"width": 150, "width": 150,
"label": "计量单位", "label": "计量单位",
"field": "uom", "field": "uomName",
"dictType": "uom",
"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",

Loading…
Cancel
Save