Compare commits

...

2 Commits

Author SHA1 Message Date
LiJianZhao f8bb163ba8 Merge branch 'main' of ssh://git.jizhiweb.cn:2222/clinic-v2/web 2025-05-22 11:18:31 +08:00
LiJianZhao 6b41ac6173 dev 2025-05-22 11:18:23 +08:00
2 changed files with 9 additions and 0 deletions

View File

@ -219,6 +219,10 @@ const hilistInfo = ref<any>({})
const getHilistInfo = (item: any) => { const getHilistInfo = (item: any) => {
if (item.hilistCode) { if (item.hilistCode) {
post("social/directory/getByCode", {code: item.hilistCode}).then((res: any) => { post("social/directory/getByCode", {code: item.hilistCode}).then((res: any) => {
if (!res){
hilistInfo.value = {}
return
}
hilistInfo.value = res hilistInfo.value = res
}) })
} }

View File

@ -155,9 +155,14 @@ const getTotalPrice = () => {
const focus = (e: any) => { const focus = (e: any) => {
emit('focus', e) emit('focus', e)
} }
const popoverRef = ref<any>(null);
const itemInfo = ref<any>({}); const itemInfo = ref<any>({});
const show = (item: any) => { const show = (item: any) => {
post('social/directory/getItemByCode', {code: item.itemSocialCode}).then((res: any) => { post('social/directory/getItemByCode', {code: item.itemSocialCode}).then((res: any) => {
if (!res){
itemInfo.value = {}
return
}
itemInfo.value = res itemInfo.value = res
}) })
} }