国内库四个日期多选显示

This commit is contained in:
yanyizhou
2021-12-09 09:30:05 +08:00
parent 3835bf30d1
commit 5a00318cd2
@@ -243,8 +243,8 @@
<template slot-scope="scope">
<span
v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'"
style="color: #F56C6C">{{ formatIssueDate(scope.row.issueTime) }}</span>
<span v-else>{{ formatIssueDate(scope.row.issueTime) }}</span>
style="color: #F56C6C">{{ scope.row.issueTime }}</span>
<span v-else>{{ scope.row.issueTime }}</span>
</template>
</el-table-column>
<el-table-column
@@ -256,8 +256,8 @@
<!-- {{ formatIssueDate(scope.row.putTime) }}-->
<span
v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'"
style="color: #F56C6C">{{ scope.row.SSRQ ? scope.row.SSRQ.substring(0, 10) : '-' }}</span>
<span v-else>{{ scope.row.SSRQ ? scope.row.SSRQ.substring(0, 10) : '-' }}</span>
style="color: #F56C6C">{{ scope.row.SSRQ }}</span>
<span v-else>{{ scope.row.SSRQ }}</span>
</template>
</el-table-column>
@@ -270,8 +270,8 @@
<template slot-scope="scope">
<span
v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'"
style="color: #F56C6C">{{ scope.row.XCXSSRQ ? scope.row.XCXSSRQ : '-' }}</span>
<span v-else>{{ scope.row.XCXSSRQ ? scope.row.XCXSSRQ : '-' }}</span>
style="color: #F56C6C">{{ scope.row.XCXSSRQ }}</span>
<span v-else>{{ scope.row.XCXSSRQ }}</span>
</template>
</el-table-column>
<el-table-column
@@ -282,8 +282,8 @@
<template slot-scope="scope">
<span
v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'"
style="color: #F56C6C">{{ scope.row.ZCCSSRQ ? scope.row.ZCCSSRQ : '-' }}</span>
<span v-else>{{ scope.row.ZCCSSRQ ? scope.row.ZCCSSRQ : '-' }}</span>
style="color: #F56C6C">{{ scope.row.ZCCSSRQ }}</span>
<span v-else>{{ scope.row.ZCCSSRQ }}</span>
</template>
</el-table-column>
<el-table-column