52440 项目清单确认流程:带入之前跑过的数据 一些数据丢失 如状态 日期等

This commit is contained in:
宋伟佳
2022-04-08 10:13:37 +08:00
parent cf6c031956
commit b286fc64e1
@@ -512,7 +512,7 @@
width="150"
label="新车型实施日期">
<template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C">{{ scope.row.XCXSSRQ ? scope.row.XCXSSRQ.substring(0, 10) : '-' }}</span>
<span v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C">{{ scope.row.xcxssrq ? scope.row.xcxssrq.substring(0, 10) : '-' }}</span>
<span v-else>{{ scope.row.xcxssrq }}</span>
</template>
</el-table-column>
@@ -521,7 +521,7 @@
width="150"
label="在产车实施日期">
<template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C">{{ scope.row.ZCCSSRQ ? scope.row.ZCCSSRQ.substring(0, 10) : '-' }}</span>
<span v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C">{{ scope.row.zccssrq ? scope.row.zccssrq.substring(0, 10) : '-' }}</span>
<span v-else>{{ scope.row.zccssrq }}</span>
</template>
</el-table-column>
@@ -1262,8 +1262,8 @@ export default {
if(item.zrbm === '[]'){
item.zrbm = ''
}
this.$set(item, 'zccssrq', item.zccssrqgj)
this.$set(item, 'xcxssrq', item.xcxssrqgj)
this.$set(item, 'zccssrq', item.zccssrqgj || item.zccssrq)
this.$set(item, 'xcxssrq', item.xcxssrqgj || item.xcxssrq)
})
});
},