dev
This commit is contained in:
parent
cdfa72ef41
commit
480a84c6cc
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="panel-content" style="padding: 0 24px 24px">
|
<div class="panel-content" style="padding: 0 24px 24px">
|
||||||
<el-table v-if="itemDetail.length>0" :data="itemDetail" max-height="300"
|
<el-table v-if="itemDetail.length>0" :data="itemDetail" max-height="300"
|
||||||
:header-cell-style="{ backgroundColor: '#F5FAFF' }">
|
:header-cell-style="{ backgroundColor: '#F5FAFF' }">
|
||||||
<el-table-column prop="itemName" label="项目名称" show-overflow-tooltip width="400">
|
<el-table-column prop="name" label="项目名称" show-overflow-tooltip width="400">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-popover
|
<el-popover
|
||||||
width="485"
|
width="485"
|
||||||
|
|
@ -11,19 +11,19 @@
|
||||||
@hide="hide"
|
@hide="hide"
|
||||||
>
|
>
|
||||||
<template #reference>
|
<template #reference>
|
||||||
{{ scope.row.itemName }}
|
{{ scope.row.name }}
|
||||||
</template>
|
</template>
|
||||||
<div class="detail">
|
<div class="detail">
|
||||||
<div style="display: flex;justify-content: space-between">
|
<div style="display: flex;justify-content: space-between">
|
||||||
<div style="font-size: 18px;font-weight: 500;color: #000">{{
|
<div style="font-size: 18px;font-weight: 500;color: #000">{{
|
||||||
itemInfo.name
|
itemInfo.name||scope.row.name
|
||||||
}}[{{ chrgitm_lv[itemInfo.chrgitmLv as keyof typeof chrgitm_lv || '-'] || '-' }}]
|
}}[{{ chrgitm_lv[itemInfo.chrgitmLv as keyof typeof chrgitm_lv || ''] || '' }}]
|
||||||
</div>
|
</div>
|
||||||
<div>¥{{ scope.row.unitPrice }}/{{ scope.row.unit }}</div>
|
<div>¥{{ scope.row.unitPrice }}/{{ scope.row.unit }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex;justify-content: space-between">
|
<div style="display: flex;justify-content: space-between">
|
||||||
<div>限制条件:{{ itemInfo.lmtUsedFlag == 0 ? '否' : itemInfo.lmtUsedFlag == 1 ? '是' : '-' }}</div>
|
<div>限制条件:{{ itemInfo.lmtUsedFlag == 0 ? '否' : itemInfo.lmtUsedFlag == 1 ? '是' : '' }}</div>
|
||||||
<div> 医保码:{{ scope.row.itemSocialCode || '-' }}</div>
|
<div> 医保码:{{ scope.row.socialCode || '' }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
|
|
@ -102,7 +102,7 @@ const serviceSearchApi = API.Item.Base.Search;
|
||||||
const serviceShowConfig = [
|
const serviceShowConfig = [
|
||||||
{
|
{
|
||||||
label: "服务名称",
|
label: "服务名称",
|
||||||
prop: "itemName",
|
prop: "name",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "单位",
|
label: "单位",
|
||||||
|
|
@ -159,8 +159,9 @@ const focus = (e: any) => {
|
||||||
const popoverRef = ref<any>(null);
|
const popoverRef = ref<any>(null);
|
||||||
const itemInfo = ref<any>({});
|
const itemInfo = ref<any>({});
|
||||||
const show = (item: any) => {
|
const show = (item: any) => {
|
||||||
if (!item.itemSocialCode) return
|
if (!item.socialCode) return
|
||||||
post(API.Social.Directory.GetItemByCode, {code: item.itemSocialCode}).then((res: any) => {
|
post(API.Social.Directory.GetItemByCode, {code: item.socialCode}).then((res: any) => {
|
||||||
|
if (res == null) return
|
||||||
itemInfo.value = res
|
itemInfo.value = res
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue