|
@ -81,6 +81,7 @@ import { getDirectoryItemArray } from '@/common/directory'; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
closeScanPopup() { |
|
|
closeScanPopup() { |
|
|
|
|
|
this.packLoseFocus() |
|
|
this.$emit("closeScan") |
|
|
this.$emit("closeScan") |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
@ -343,17 +344,17 @@ import { getDirectoryItemArray } from '@/common/directory'; |
|
|
this.getfocus(); |
|
|
this.getfocus(); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
getfocus() { |
|
|
// getfocus() { |
|
|
if (this.$refs.scanPopup ) { |
|
|
// if (this.$refs.scanPopup ) { |
|
|
this.$refs.scanPopup.getfocus(); |
|
|
// this.$refs.scanPopup.packGetFocus(); |
|
|
} |
|
|
// } |
|
|
}, |
|
|
// }, |
|
|
|
|
|
|
|
|
losefocus() { |
|
|
// losefocus() { |
|
|
if (this.$refs.scanPopup ) { |
|
|
// if (this.$refs.scanPopup ) { |
|
|
this.$refs.scanPopup.losefocus(); |
|
|
// this.$refs.scanPopup.packLoseFocus(); |
|
|
} |
|
|
// } |
|
|
}, |
|
|
// }, |
|
|
|
|
|
|
|
|
swipeClick(e, item, index) { |
|
|
swipeClick(e, item, index) { |
|
|
if (e.content.text == "详情") { |
|
|
if (e.content.text == "详情") { |
|
@ -399,10 +400,15 @@ import { getDirectoryItemArray } from '@/common/directory'; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
packGetFocus() { |
|
|
packGetFocus() { |
|
|
this.$refs.scanPopup.getfocus(); |
|
|
if(this.$refs.scanPopup){ |
|
|
|
|
|
this.$refs.scanPopup.packGetFocus(); |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
packLoseFocus() { |
|
|
packLoseFocus() { |
|
|
|
|
|
if(this.$refs.scanPopup){ |
|
|
this.$refs.scanPopup.packLoseFocus(); |
|
|
this.$refs.scanPopup.packLoseFocus(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
showMessage(message, callback) { |
|
|
showMessage(message, callback) { |
|
|
setTimeout(r => { |
|
|
setTimeout(r => { |
|
|