1
This commit is contained in:
@@ -13,6 +13,13 @@
|
||||
<span v-if="tableData.detail.subType==-1">-</span> {{ scope.row.number }} {{ scope.row.unitName }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="现有库存" prop="number">
|
||||
<template v-slot="scope">
|
||||
{{ returnNowHasNumbr( scope.row)}}
|
||||
|
||||
<!-- {{ scope.row.stockNumber*1 + scope.row.number*1 }} {{ scope.row.unitName }} -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<div class="head-container">
|
||||
@@ -43,6 +50,10 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
//返回现有库存数量
|
||||
returnNowHasNumbr(row){
|
||||
return row.stockNumber*1 + row.number*1 +row.unitName
|
||||
},
|
||||
show(id) {
|
||||
this.dialogVisible = true
|
||||
this.getTableData(id)
|
||||
|
||||
Reference in New Issue
Block a user