Compare commits
2 Commits
c7914d555a
...
f8bb163ba8
| Author | SHA1 | Date |
|---|---|---|
|
|
f8bb163ba8 | |
|
|
6b41ac6173 |
|
|
@ -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
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue