|
|
@@ -97,7 +97,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created(){
|
|
|
- this.getNewItemAndListenScan()
|
|
|
+ this.listenScanGetItem()
|
|
|
},
|
|
|
destroyed(){
|
|
|
// #ifdef APP-PLUS
|
|
|
@@ -127,7 +127,7 @@ export default {
|
|
|
payFinish(){
|
|
|
this.$innerAudioContext.play()
|
|
|
this.$refs.toPayRef.close()
|
|
|
- this.getNewItemAndListenScan()
|
|
|
+ this.listenScanGetItem()
|
|
|
},
|
|
|
calcFn(){
|
|
|
this.calc = this.calc == 'add' ? 'sub' : 'add'
|
|
|
@@ -163,7 +163,7 @@ export default {
|
|
|
cancelPay(){
|
|
|
this.$innerAudioContext.play()
|
|
|
this.$refs.toPayRef.close()
|
|
|
- this.getNewItemAndListenScan()
|
|
|
+ this.listenScanGetItem()
|
|
|
},
|
|
|
cancelSettle(){
|
|
|
this.$innerAudioContext.play()
|