陈少旭 3 weeks ago
parent
commit
605201bcb9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/xt_pages/Pharmacy/PatientDispensing.vue

+ 3 - 3
src/xt_pages/Pharmacy/PatientDispensing.vue View File

@@ -1473,9 +1473,9 @@ export default {
1473 1473
         }
1474 1474
       }else{ //耗材
1475 1475
         if (event.key === 'Enter') {
1476
-          var arr = textarea.split(",");
1477
-          this.textarea = ""
1478
-          this.textarea = arr.join(",")
1476
+          var textarea = ""
1477
+          textarea += this.textarea + ","
1478
+          this.textarea = textarea
1479 1479
         }
1480 1480
       }
1481 1481
       this.getTotal()