离线查看待采购数量

This commit is contained in:
chenjianan
2019-04-13 11:57:25 +08:00
parent dc178b5f66
commit e787aafdb0

View File

@@ -77,11 +77,21 @@
{{ scope.row.物料规格 }} {{ scope.row.物料规格 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="分配数量" align="center" min-width="80" prop="零件数量"> <el-table-column label="分配数量" align="center" min-width="80">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.零件数量 }} {{ scope.row.零件数量 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="使用滞货数量" align="center" min-width="100">
<template slot-scope="scope">
{{ Number(scope.row.使用滞货数量) }}
</template>
</el-table-column>
<el-table-column label="待采购数量" align="center" min-width="80" prop="待采购数量">
<template slot-scope="scope">
{{ scope.row.待采购数量 = Number(scope.row.零件数量) - Number(scope.row.使用滞货数量) }}
</template>
</el-table-column>
<el-table-column label="计划到货时间" align="center" min-width="100"> <el-table-column label="计划到货时间" align="center" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.物料计划到货时间.split(' ')[0] }} {{ scope.row.物料计划到货时间.split(' ')[0] }}