This commit is contained in:
parent
925f42559b
commit
ddc9fdf671
|
|
@ -145,12 +145,12 @@
|
||||||
<view class="cont">{{ item.maCode }}</view>
|
<view class="cont">{{ item.maCode }}</view>
|
||||||
</uni-col>
|
</uni-col>
|
||||||
</uni-row>
|
</uni-row>
|
||||||
<uni-row :gutter="24">
|
<!-- <uni-row :gutter="24">
|
||||||
<uni-col :span="6">设备状态:</uni-col>
|
<uni-col :span="6">设备状态:</uni-col>
|
||||||
<uni-col :span="16">
|
<uni-col :span="16">
|
||||||
<view class="cont">{{ item.statusName || item.maStatusName }}</view>
|
<view class="cont">{{ item.maStatusName || item.maStatus }}</view>
|
||||||
</uni-col>
|
</uni-col>
|
||||||
</uni-row>
|
</uni-row> -->
|
||||||
<uni-row :gutter="24">
|
<uni-row :gutter="24">
|
||||||
<uni-col :span="6">设备数量:</uni-col>
|
<uni-col :span="6">设备数量:</uni-col>
|
||||||
<uni-col :span="16">
|
<uni-col :span="16">
|
||||||
|
|
|
||||||
|
|
@ -253,6 +253,9 @@ const getDetailsById = async () => {
|
||||||
const res = await detailsLeaseTask(opts.value.id)
|
const res = await detailsLeaseTask(opts.value.id)
|
||||||
console.log('🚀 ~ getDetailsById ~ res:', res)
|
console.log('🚀 ~ getDetailsById ~ res:', res)
|
||||||
tableData.value = res.data.leaseApplyDetailsList
|
tableData.value = res.data.leaseApplyDetailsList
|
||||||
|
tableData.value.forEach((item) => {
|
||||||
|
item.maCodeList = item.maCodeVoList || item.maCodeList || []
|
||||||
|
})
|
||||||
Object.assign(formData, res.data.leaseApplyInfo)
|
Object.assign(formData, res.data.leaseApplyInfo)
|
||||||
formData.projectId = res.data.leaseApplyInfo.proId
|
formData.projectId = res.data.leaseApplyInfo.proId
|
||||||
formData.proId = res.data.leaseApplyInfo.proId
|
formData.proId = res.data.leaseApplyInfo.proId
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue