|
@ -452,7 +452,7 @@ export default {
|
|
})
|
|
})
|
|
this.$emit('readcard')
|
|
this.$emit('readcard')
|
|
},
|
|
},
|
|
toolReadcardMsg(msgobj, nextContentType, qrcodeData, CardInfo){
|
|
|
|
|
|
toolReadcardMsg(msgobj, nextContentType, qrcodeData, CardInfo, mdtrt_cert_type){
|
|
this.CardInfo = CardInfo
|
|
this.CardInfo = CardInfo
|
|
this.nextContentType = nextContentType
|
|
this.nextContentType = nextContentType
|
|
try{
|
|
try{
|
|
@ -467,6 +467,9 @@ export default {
|
|
p.ehcCard = qrcodeData.qrcode
|
|
p.ehcCard = qrcodeData.qrcode
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
|
|
if(mdtrt_cert_type == '01') {
|
|
|
|
p.mdtrt_cert_type = mdtrt_cert_type
|
|
|
|
}
|
|
p.cardNum = this.cardNo
|
|
p.cardNum = this.cardNo
|
|
}
|
|
}
|
|
req.push(this.checkOrderAndReturn(p))
|
|
req.push(this.checkOrderAndReturn(p))
|
|
@ -620,9 +623,15 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
checkOrderAndReturn({pickUpNum="", cardNum="", ehcCard="", contentType}){
|
|
|
|
|
|
checkOrderAndReturn({pickUpNum="", cardNum="", ehcCard="", contentType, mdtrt_cert_type}){
|
|
return new Promise((resolve, reject)=>{
|
|
return new Promise((resolve, reject)=>{
|
|
this.shippingType = pickUpNum? 1 : 2
|
|
|
|
|
|
if(pickUpNum || ehcCard || mdtrt_cert_type == '01') {
|
|
|
|
this.shippingType = 1
|
|
|
|
} else {
|
|
|
|
this.shippingType = 2
|
|
|
|
}
|
|
|
|
console.log('shippingType')
|
|
|
|
console.log(this.shippingType)
|
|
this.oldCardNo = cardNum || ''
|
|
this.oldCardNo = cardNum || ''
|
|
let p = {
|
|
let p = {
|
|
patientName: this.userName || '',
|
|
patientName: this.userName || '',
|