Browse Source

质检报告,单位

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

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

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

Loading…
Cancel
Save