优化领料管理页面列表备注字段报错问题

This commit is contained in:
BianLzhaoMin 2024-05-23 17:17:16 +08:00
parent 53d757ce59
commit d07edc2818
1 changed files with 331 additions and 325 deletions

View File

@ -199,7 +199,9 @@
:show-overflow-tooltip="true"
>
<template slot-scope="scope">
<span>{{ scope.row.leaseApplyInfoList[0].remark }}</span>
<span>{{
scope.row.leaseApplyInfoList[0].remark || ' - '
}}</span>
</template>
</el-table-column>
<el-table-column label="操作" width="250" align="center">
@ -554,7 +556,8 @@ export default {
unitId: this.queryParams.unitId,
projectId: this.queryParams.proId,
keyWord: this.queryParams.keyWord,
startTime: this.queryParams.time && this.queryParams.time[0],
startTime:
this.queryParams.time && this.queryParams.time[0],
endTime: this.queryParams.time && this.queryParams.time[1],
types: this.queryParams.types,
souceBy: 0,
@ -662,7 +665,10 @@ export default {
this.leaseApplyDetails = res.rows[0].leaseApplyDetails
this.leaseApplyData = res.rows[0]
console.log('this.leaseApplyData ============', this.leaseApplyData)
console.log(
'this.leaseApplyData ============',
this.leaseApplyData,
)
},
//
print() {