This commit is contained in:
Vergil
2020-05-19 10:59:33 +08:00
parent 56c42f1a52
commit d981b660cd

View File

@@ -32,7 +32,7 @@
type="month" type="month"
size="small" size="small"
value-format="yyyy-MM" value-format="yyyy-MM"
style="margin-left: 280px; width: 140px" style="margin-left: 465px; width: 140px"
placeholder="选择月"/> placeholder="选择月"/>
<el-button type="primary" size="small" icon="el-icon-search" plain style="margin-top: 10px;margin-bottom: 10px" @click="fetchDate">查询</el-button> <el-button type="primary" size="small" icon="el-icon-search" plain style="margin-top: 10px;margin-bottom: 10px" @click="fetchDate">查询</el-button>
</el-row> </el-row>
@@ -48,22 +48,22 @@
{{ scope.row.操作工姓名 }} {{ scope.row.操作工姓名 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件图号及名称" align="center" width="150"> <el-table-column label="零件图号及名称" align="center" width="180">
<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" width="100"> <el-table-column label="工序名称" align="center" width="120">
<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" width="70"> <el-table-column label="数量" align="center" width="90">
<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" width="100"> <el-table-column label="单件工时" align="center" width="110">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.单件工时 }} {{ scope.row.单件工时 }}
</template> </template>
@@ -73,7 +73,7 @@
{{ scope.row.录入人姓名 }} {{ scope.row.录入人姓名 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="录入时间" align="center" width="100"> <el-table-column label="录入时间" align="center" width="110">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.操作时间 ? scope.row.操作时间.split(' ')[0] : '' }} {{ scope.row.操作时间 ? scope.row.操作时间.split(' ')[0] : '' }}
</template> </template>