1抛光库导出
This commit is contained in:
@@ -46,7 +46,8 @@
|
||||
<!-- 仓库零件数 -->
|
||||
<div style="display: flex; align-items: center; justify-content: center; margin-bottom: 10px">
|
||||
<span style="font-size: 18px; font-weight: 600">一次合格品仓库零件数:{{ partTotal }}</span>
|
||||
<span style="font-size: 18px; font-weight: 600; margin-left: 20px">当前查询结果零件数:{{ totalQuantity }}</span>
|
||||
<span style="font-size: 18px; font-weight: 600; margin-left: 20px">盘点零件数:{{ totalQuantity }}</span>
|
||||
<span style="font-size: 18px; font-weight: 600; margin-left: 20px">当前零件数:{{ realTotalQuantity }}</span>
|
||||
</div>
|
||||
<!-- 数据区域 -->
|
||||
<el-table :data="dataList" v-loading="loading" ref="table" border highlight-current-row @sort-change="sortChange" @selection-change="handleSelectionChange">
|
||||
@@ -322,6 +323,10 @@ export default {
|
||||
totalQuantity() {
|
||||
return this.allDataList.reduce((acc, data) => acc + data.quantity, 0)
|
||||
},
|
||||
// 当前查询库存数量(查询结果)
|
||||
realTotalQuantity() {
|
||||
return this.allDataList.reduce((acc, data) => acc + data.realQuantity, 0)
|
||||
},
|
||||
},
|
||||
created() {
|
||||
// 列表数据查询
|
||||
|
||||
Reference in New Issue
Block a user