seimin 1 year ago
parent
commit
cee1052198
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/receipt_infopage/receipt_infopage.vue

+ 1 - 1
pages/receipt_infopage/receipt_infopage.vue

@@ -587,7 +587,7 @@
587
               // 200检测通过,201没有有效期也通过。
587
               // 200检测通过,201没有有效期也通过。
588
               if (result.state == 200 || result.state == 201) {
588
               if (result.state == 200 || result.state == 201) {
589
                 uni.hideLoading();
589
                 uni.hideLoading();
590
-                if(this.patientHandoverCode){
590
+                if(Object.prototype.toString(this.patientHandoverCode) === '[object Object]' && this.patientHandoverCode.name){
591
                   this.models2 = {
591
                   this.models2 = {
592
                     disjunctor: true,
592
                     disjunctor: true,
593
                     title: "提示",
593
                     title: "提示",