This commit is contained in:
liushuai
2020-04-01 18:26:28 +08:00
parent fe24717ca6
commit 054875d9cd
9 changed files with 139 additions and 67 deletions

View File

@@ -59,7 +59,7 @@
placeholder="选择日期时间"/>
</template>
<template v-else >
{{ scope.row.机床装配开始时间 }}
{{ scope.row.机床装配开始时间 ? scope.row.机床装配开始时间.split(' ')[0] : '' }}
</template>
</template>
</el-table-column>
@@ -75,7 +75,7 @@
placeholder="选择日期时间"/>
</template>
<template v-else >
{{ scope.row.机床装配实际完成时间 }}
{{ scope.row.机床装配实际完成时间 ? scope.row.机床装配实际完成时间.split(' ')[0] : '' }}
</template>
</template>
</el-table-column>
@@ -91,7 +91,7 @@
placeholder="选择日期时间"/>
</template>
<template v-else >
{{ scope.row.调试开始时间 }}
{{ scope.row.调试开始时间 ? scope.row.调试开始时间.split(' ')[0] : '' }}
</template>
</template>
</el-table-column>
@@ -107,7 +107,7 @@
placeholder="选择日期时间"/>
</template>
<template v-else >
{{ scope.row.调试结束时间 }}
{{ scope.row.调试结束时间 ? scope.row.调试结束时间.split(' ')[0] : '' }}
</template>
</template>
</el-table-column>
@@ -166,12 +166,12 @@
</el-table-column>
<el-table-column label="开始时间" align="center" width="160px">
<template slot-scope="scope">
{{ scope.row.开始时间 }}
{{ scope.row.开始时间 ? scope.row.开始时间.split(' ')[0] : '' }}
</template>
</el-table-column>
<el-table-column label="结束时间" align="center" width="160px">
<template slot-scope="scope">
{{ scope.row.结束时间 }}
{{ scope.row.结束时间 ? scope.row.结束时间.split(' ')[0] : '' }}
</template>
</el-table-column>
<el-table-column label="备注" align="center" width="200px">