优化领料管理页面列表备注字段报错问题
This commit is contained in:
parent
53d757ce59
commit
d07edc2818
|
|
@ -199,7 +199,9 @@
|
||||||
:show-overflow-tooltip="true"
|
:show-overflow-tooltip="true"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.leaseApplyInfoList[0].remark }}</span>
|
<span>{{
|
||||||
|
scope.row.leaseApplyInfoList[0].remark || ' - '
|
||||||
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" width="250" align="center">
|
<el-table-column label="操作" width="250" align="center">
|
||||||
|
|
@ -253,7 +255,7 @@
|
||||||
(scope.row.leaseApplyInfoList[0].status == '5' ||
|
(scope.row.leaseApplyInfoList[0].status == '5' ||
|
||||||
scope.row.leaseApplyInfoList[0].status == '7' ||
|
scope.row.leaseApplyInfoList[0].status == '7' ||
|
||||||
scope.row.leaseApplyInfoList[0].status == '4' ||
|
scope.row.leaseApplyInfoList[0].status == '4' ||
|
||||||
scope.row.leaseApplyInfoList[0].status == '2' )
|
scope.row.leaseApplyInfoList[0].status == '2')
|
||||||
"
|
"
|
||||||
>审批</el-button
|
>审批</el-button
|
||||||
>
|
>
|
||||||
|
|
@ -429,23 +431,23 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
listType,
|
listType,
|
||||||
getType,
|
getType,
|
||||||
delType,
|
delType,
|
||||||
addType,
|
addType,
|
||||||
updateType,
|
updateType,
|
||||||
refreshCache,
|
refreshCache,
|
||||||
} from '@/api/system/dict/type'
|
} from '@/api/system/dict/type'
|
||||||
import {
|
import {
|
||||||
getLeaseManageListAll,
|
getLeaseManageListAll,
|
||||||
getUnitData,
|
getUnitData,
|
||||||
getProData,
|
getProData,
|
||||||
getLeaseListAll,
|
getLeaseListAll,
|
||||||
} from '@/api/claimAndRefund/receive'
|
} from '@/api/claimAndRefund/receive'
|
||||||
import { getInfo } from '@/api/login'
|
import { getInfo } from '@/api/login'
|
||||||
import vueEasyPrint from 'vue-easy-print'
|
import vueEasyPrint from 'vue-easy-print'
|
||||||
export default {
|
export default {
|
||||||
// name: "ReceiveManage",
|
// name: "ReceiveManage",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -554,7 +556,8 @@ export default {
|
||||||
unitId: this.queryParams.unitId,
|
unitId: this.queryParams.unitId,
|
||||||
projectId: this.queryParams.proId,
|
projectId: this.queryParams.proId,
|
||||||
keyWord: this.queryParams.keyWord,
|
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],
|
endTime: this.queryParams.time && this.queryParams.time[1],
|
||||||
types: this.queryParams.types,
|
types: this.queryParams.types,
|
||||||
souceBy: 0,
|
souceBy: 0,
|
||||||
|
|
@ -662,7 +665,10 @@ export default {
|
||||||
this.leaseApplyDetails = res.rows[0].leaseApplyDetails
|
this.leaseApplyDetails = res.rows[0].leaseApplyDetails
|
||||||
this.leaseApplyData = res.rows[0]
|
this.leaseApplyData = res.rows[0]
|
||||||
|
|
||||||
console.log('this.leaseApplyData ============', this.leaseApplyData)
|
console.log(
|
||||||
|
'this.leaseApplyData ============',
|
||||||
|
this.leaseApplyData,
|
||||||
|
)
|
||||||
},
|
},
|
||||||
// 领料单 打印
|
// 领料单 打印
|
||||||
print() {
|
print() {
|
||||||
|
|
@ -737,11 +743,11 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.print {
|
.print {
|
||||||
.title {
|
.title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|
@ -765,9 +771,9 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
::v-deep.el-table .fixed-width .el-button--mini {
|
::v-deep.el-table .fixed-width .el-button--mini {
|
||||||
width: 60px !important;
|
width: 60px !important;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue