Commit 233c7098 authored by 陈明豪's avatar 陈明豪

bug修改

parent 7523b0b1
......@@ -1184,10 +1184,10 @@ color: #333333;"
</el-table-column>
</el-table>
</el-form>
<el-table v-else :data="petInHospitalList" :header-cell-style="{ background:'#F4F4F4'}" border>
<el-table v-else :data="petInHospitalList" :header-cell-style="{ background:'#F4F4F4'}">
<el-table-column align="left" label="病房类型" prop="wardType">
<template slot-scope="scope">
{{ scope.row.diseaseLevel }}
<dict-tag :options="dict.type.ward_type" :value="scope.row.wardType" />
</template>
</el-table-column>
<el-table-column align="left" label="病房号" prop="wardRuleId">
......@@ -1968,8 +1968,21 @@ export default {
this.detailInfo = { ...response.data }
}
console.log(this.stockDispenseOutboundList, 'kkkkkkkkkkkkkkkkkkkkkkk')
// 住院情况
this.petInHospitalList = response.data.hosDetailBos
console.log('住院情况', this.petInHospitalList)
if (response.data.hosDetailBos) {
this.editCunt.inHospitalBos = response.data.hosDetailBos.length
}
if (this.petInHospitalList !== undefined && this.petInHospitalList !== null) {
this.petInHospitalList.forEach(item => {
if (item.status !== '1' && item.status !== '2') {
this.petInHospitalStatus = true
}
})
}
})
this.getInHospitalList(this.$route.params.id)
// this.getInHospitalList(this.$route.params.id)
},
/** 编辑行*/
handleUpdate(index, tableData) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment