修改金工页面尺寸

This commit is contained in:
bryan sun
2019-11-02 12:37:37 +08:00
parent 137702851c
commit 839bb64eef
10 changed files with 118 additions and 119 deletions

View File

@@ -86,12 +86,12 @@
</el-table-column>
<el-table-column label="实际开始时间" align="center" min-width="160px">
<template slot-scope="scope">
{{ scope.row.加工开始时间 || '—' }}
{{ scope.row.加工开始时间 === '1900/1/1 0:00:00' ? '-' : scope.row.加工开始时间 }}
</template>
</el-table-column>
<el-table-column label="实际完成时间" align="center" min-width="160px">
<template slot-scope="scope">
{{ scope.row.加工完成时间 || '—' }}
{{ scope.row.加工完成时间 === '1900/1/1 0:00:00' ? '-' : scope.row.加工完成时间 }}
</template>
</el-table-column>
<el-table-column label="实际工时" align="center" min-width="70px">
@@ -150,7 +150,7 @@
<div class="block">
<el-pagination
:current-page="pageCurrent"
:page-sizes="[10, 20, 30, 40]"
:page-sizes="[10, 20, 30, 40, 50]"
:page-size="pageSize"
:total="total"
layout="total, sizes, prev, pager, next, jumper"
@@ -271,7 +271,7 @@ export default {
startTime2: '',
endTime2: '',
pageCurrent: 1,
pageSize: 10,
pageSize: 50,
total: 0,
tableData: [],
dialogFormVisible: false,
@@ -507,6 +507,7 @@ export default {
this.partNumber ? check4 = 1 : check4 = 0
this.startTime2 && this.endTime2 ? check5 = 1 : check5 = 0
searchTable(this.technologyName, check1, this.workerName, check2, check3, this.endTime1, this.startTime1, this.partNumber, check4, check5, this.endTime2, this.startTime2, this.pageCurrent, this.pageSize).then(res => {
console.log(res.data.rows, 898989)
this.tableData = res.data.rows
this.total = res.data.total
this.tableData.map(v => {