优化耗材

This commit is contained in:
gyq
2024-07-05 15:22:07 +08:00
parent c9bbb2d8ad
commit 1bb073dc44
2 changed files with 10 additions and 3 deletions

View File

@@ -26,7 +26,7 @@
<el-table-column label="最近入库量" prop="lasterInStock"></el-table-column>
<el-table-column label="库存数量" prop="stockNumber">
<template v-slot="scope">
{{ scope.row.stockNumber - scope.row.stockConsume }}
{{ formatDecimal(scope.row.stockNumber - scope.row.stockConsume, 2, true) }}
</template>
</el-table-column>
<el-table-column label="操作" fixed="right">
@@ -43,10 +43,12 @@
</template>
<script>
import { formatDecimal } from '@/utils'
import { tbConsInfoGet } from "@/api/invoicing";
export default {
data() {
return {
formatDecimal,
dialogVisible: false,
searchForm: {
conTypeId: '',