|
@ -127,7 +127,8 @@ export default {
|
|
|
inOut: false,
|
|
|
eventName: '',
|
|
|
showPrintComplete: false,
|
|
|
nextOrderDetail: ''
|
|
|
nextOrderDetail: '',
|
|
|
oldCardNo: ''
|
|
|
}
|
|
|
},
|
|
|
watch:{
|
|
@ -136,6 +137,7 @@ export default {
|
|
|
this.countDown()
|
|
|
}else if(n!=3){
|
|
|
this.rsType = 0
|
|
|
this.oldCardNo = ''
|
|
|
}
|
|
|
},
|
|
|
rsType(n){
|
|
@ -157,11 +159,6 @@ export default {
|
|
|
this.init(1)
|
|
|
}
|
|
|
window.SetPrintPage = this.SetPrintPage
|
|
|
|
|
|
|
|
|
setTimeout(()=>{
|
|
|
this.showPrintComplete = true
|
|
|
}, 5000)
|
|
|
},
|
|
|
methods: {
|
|
|
onPrev(){
|
|
@ -217,6 +214,7 @@ export default {
|
|
|
this.$toast.clear()
|
|
|
this.$loading('加载中..')
|
|
|
this.shippingType = pickUpNum? 1 : 2
|
|
|
this.oldCardNo = cardNum? cardNo : ''
|
|
|
let p = {
|
|
|
deviceId: this.deviceNum, //设备编号
|
|
|
pickUpNum, //取药码
|
|
@ -432,7 +430,6 @@ export default {
|
|
|
}
|
|
|
return
|
|
|
}
|
|
|
this.oldCardNo = cardNo
|
|
|
this.checkOrderAndReturn({cardNum: cardNo})
|
|
|
}catch(e){
|
|
|
console.error(e)
|
|
@ -783,7 +780,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
checkCardNo(item){
|
|
|
if(this.shippingType == 2){
|
|
|
if(this.oldCardNo){
|
|
|
this.nextOrderDetail = item
|
|
|
this.sendReadCard()
|
|
|
} else {
|