diff --git a/src/pages/issue/coms/comScanIssuePack.vue b/src/pages/issue/coms/comScanIssuePack.vue
index 672f54fa..936e93f6 100644
--- a/src/pages/issue/coms/comScanIssuePack.vue
+++ b/src/pages/issue/coms/comScanIssuePack.vue
@@ -31,7 +31,7 @@
- swipeClick($event, item)">
+ swipeClick(event,item,index)">
@@ -108,6 +108,8 @@ const comscan = ref()
const balanceSelectRef = ref()
const balanceQtyEditRef = ref()
const toLocationAreaTypeList = ref([])
+const showItem = ref({})
+const receiptHint = ref(null)
onMounted(() => {
detailOptions.value = getDetailOption()
scanOptions.value = getDetailEditRemoveOption()
@@ -627,16 +629,13 @@ const expands = () => {
// this.remove(item, index)
// }
// }
-const swipeClick = (params, item) => {
- const { text } = scanOptions.value[params[1]]
- if (text == '详情') {
- detail(item)
- } else if (text == '编辑') {
- edit(item)
- } else if (text == '库位') {
- showLocation(item)
- } else if (text == '移除') {
- remove(item)
+const swipeClick = (e,item,index) => {
+ if (e.content.text == "详情") {
+ this.detail(item)
+ } else if (e.content.text == "编辑") {
+ this.edit(item)
+ } else if (e.content.text == "移除") {
+ this.remove(item, index)
}
}
const edit = (item) => {