This commit is contained in:
Vergil
2020-05-20 15:55:16 +08:00
parent b4fa8eba96
commit a1d19c9fc8
2 changed files with 2 additions and 11 deletions

View File

@@ -27,7 +27,6 @@
<el-card> <el-card>
<el-tabs v-model="PartType2" type="border-card" style="margin-top: 10px"> <el-tabs v-model="PartType2" type="border-card" style="margin-top: 10px">
<el-tab-pane label="车间生产" name="车间生产"> <el-tab-pane label="车间生产" name="车间生产">
<!--<h3 style="text-align: center;">车间生产</h3>-->
<el-table v-loading="loading" :data="tableData" :summary-method="getSummaries" style="width: 100%;margin-top: 6px" highlight-current-row height="600" size="mini" show-summary border stripe> <el-table v-loading="loading" :data="tableData" :summary-method="getSummaries" style="width: 100%;margin-top: 6px" highlight-current-row height="600" size="mini" show-summary border stripe>
<el-table-column align="center" label="零件图号"> <el-table-column align="center" label="零件图号">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -41,7 +40,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="投产数量"> <el-table-column align="center" label="投产数量">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.投产数 }} {{ scope.row.投产数 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="入库数量"> <el-table-column align="center" label="入库数量">
@@ -536,14 +535,6 @@ export default {
this.total = parseInt(response.data.output[0].ItemCount) this.total = parseInt(response.data.output[0].ItemCount)
this.loading = false this.loading = false
}) })
// searchTable22(this.check1, this.Machine, this.check2, this.Group, this.check3, this.year, this.check4, this.month, this.check5, this.time, this.pageCurrent, this.pageSize).then(response => {
// console.log(response.data, 123243)
// for (let i = 0; i < response.data.length; i++) {
// if (response.data[i].入库时间 !== null) {
// this.totalNum += 1
// }
// }
// })
searchTable1(this.check1, this.Machine, this.check2, this.Group, this.pageCurrent, this.pageSize).then(response => { searchTable1(this.check1, this.Machine, this.check2, this.Group, this.pageCurrent, this.pageSize).then(response => {
this.tableData1 = response.data.rows this.tableData1 = response.data.rows
this.total5 = parseInt(response.data.total) this.total5 = parseInt(response.data.total)

View File

@@ -52,7 +52,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="数量" width="50px"> <el-table-column align="center" label="数量" width="50px">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.批次数量 }} {{ scope.row.投产数 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="质检数" width="65px"> <el-table-column align="center" label="质检数" width="65px">