日期展示
This commit is contained in:
@@ -118,31 +118,31 @@
|
|||||||
sortable
|
sortable
|
||||||
label="标准实施日期">
|
label="标准实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span style="margin-left: 10px">{{
|
<span>
|
||||||
scope.row.ssrq ? $moment(scope.row.ssrq).format('YYYY-MM-DD') : '-'
|
{{ scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' }}
|
||||||
}}</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="xcxssrqgj"
|
prop="xcxssrq"
|
||||||
width="190px"
|
width="190px"
|
||||||
sortable
|
sortable
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span style="margin-left: 10px">{{
|
<span>
|
||||||
scope.row.xcxssrq ? $moment(scope.row.xcxssrq).format('YYYY-MM-DD') : '-'
|
{{ scope.row.xcxssrq ? scope.row.xcxssrq.substring(0, 10) : '-' }}
|
||||||
}}</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="zccssrqgj"
|
prop="zccssrq"
|
||||||
sortable
|
sortable
|
||||||
width="190px"
|
width="190px"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span style="margin-left: 10px">{{
|
<span>
|
||||||
scope.row.zccssrq ? $moment(scope.row.zccssrq).format('YYYY-MM-DD') : '-'
|
{{ scope.row.zccssrq ? scope.row.zccssrq.substring(0, 10) : '-' }}
|
||||||
}}</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -165,7 +165,8 @@
|
|||||||
<!-- <el-button @click="changeState(scope.row)">符合性状态</el-button>-->
|
<!-- <el-button @click="changeState(scope.row)">符合性状态</el-button>-->
|
||||||
<div class="table-jump" @click="changeState(scope.row)">
|
<div class="table-jump" @click="changeState(scope.row)">
|
||||||
<div v-if="scope.row.unCount === 0">符合</div>
|
<div v-if="scope.row.unCount === 0">符合</div>
|
||||||
<div v-else >不符合</div>
|
<div v-if="scope.row.unCount === 1">不符合</div>
|
||||||
|
<div v-else ></div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
Reference in New Issue
Block a user