|
@ -4,7 +4,7 @@ |
|
|
<uni-collapse-item :open="true"> |
|
|
<uni-collapse-item :open="true"> |
|
|
<template v-slot:title> |
|
|
<template v-slot:title> |
|
|
<uni-swipe-action> |
|
|
<uni-swipe-action> |
|
|
<uni-swipe-action-item :right-options="dataContent.handleQty>0? removeOptions:options" |
|
|
<uni-swipe-action-item :right-options="dataContent.handleQty>0? scanOptions:options" |
|
|
@click="swipeClick($event,dataContent)" :class="dataContent.scaned?'scan_view':''"> |
|
|
@click="swipeClick($event,dataContent)" :class="dataContent.scaned?'scan_view':''"> |
|
|
<itemCompareQty :dataContent="dataContent" :handleQty="dataContent.handleQty" |
|
|
<itemCompareQty :dataContent="dataContent" :handleQty="dataContent.handleQty" |
|
|
:isShowPackUnit="false"></itemCompareQty> |
|
|
:isShowPackUnit="false"></itemCompareQty> |
|
@ -109,6 +109,7 @@ |
|
|
this.scanOptions = getPurchaseReceiptOption(this.settingParam.allowModifyQty, this.settingParam |
|
|
this.scanOptions = getPurchaseReceiptOption(this.settingParam.allowModifyQty, this.settingParam |
|
|
.allowModifyLocation) |
|
|
.allowModifyLocation) |
|
|
} |
|
|
} |
|
|
|
|
|
console.log(111,this.scanOptions) |
|
|
|
|
|
|
|
|
if (this.removeOptions.length == 0) { |
|
|
if (this.removeOptions.length == 0) { |
|
|
this.removeOptions = getRemoveOption(); |
|
|
this.removeOptions = getRemoveOption(); |
|
@ -207,6 +208,7 @@ |
|
|
// }); |
|
|
// }); |
|
|
// }, |
|
|
// }, |
|
|
confirm(qty) { |
|
|
confirm(qty) { |
|
|
|
|
|
console.log(qty) |
|
|
this.editItem.handleQty = qty; |
|
|
this.editItem.handleQty = qty; |
|
|
this.$emit('updateData') |
|
|
this.$emit('updateData') |
|
|
}, |
|
|
}, |
|
|