This commit is contained in:
liushuai
2020-03-31 17:57:56 +08:00
5 changed files with 15 additions and 18 deletions

View File

@@ -47,7 +47,7 @@
</div>
</el-card>
<el-row>
<el-col style="width: 750px">
<el-col style="width: 700px">
<el-card>
<el-table v-loading="loading" :data="tableData" size="mini" height="740" style="width: 750px" border stripe highlight-current-row @selection-change="handleSelectionChange" @row-click="click">
<el-table-column type="selection" align="center" width="50"/>
@@ -81,7 +81,7 @@
{{ scope.row.批次数量 }}
</template>
</el-table-column>
<el-table-column label="工艺员" prop="工艺员" align="center" width="67px">
<el-table-column label="工艺员" prop="工艺员" align="center" width="90px">
<template slot-scope="scope">
{{ scope.row.工艺员 }}
</template>
@@ -115,7 +115,7 @@
</div>
</el-card>
</el-col>
<el-col style="width: 1000px">
<el-col style="width: 680px">
<el-card v-if="tableData2.length">
<table class="tg">
<tr>
@@ -296,7 +296,7 @@ export default {
this.personValue ? check4 = 1 : check4 = 0
this.finishTime ? check5 = 1 : (check5 = 0, this.finishTime = '')
search(this.pageCurrent, this.pageSize, check1, this.machineNumberValue, check2, this.groupNumberValue, check3, this.PrNum, check4, this.personValue, check5, this.finishTime[0], this.finishTime[1]).then(response => {
this.tableData = response.data.rows
this.tableData = response.data.result
this.tableData.map(v => {
this.$set(v)
if (v.工艺员 === '超级管理员') {
@@ -304,7 +304,7 @@ export default {
}
return v
})
this.total = response.data.total
this.total = parseInt(response.data.output[0].ItemCount)
this.loading = false
})
},