yq1 1年前
父节点
当前提交
c80c420e0b
共有 2 个文件被更改,包括 5 次插入2 次删除
  1. 1 1
      src/xt_pages/Pharmacy/PatientDispensing.vue
  2. 4 1
      src/xt_pages/Pharmacy/print/patientPrintTwo.vue

+ 1 - 1
src/xt_pages/Pharmacy/PatientDispensing.vue 查看文件

@@ -620,7 +620,7 @@ export default {
620 620
             this.patients,
621 621
             this.doctors,
622 622
             this.diagnosearr,
623
-            this.diagnosis
623
+            this.diagnosis,
624 624
           )
625 625
         }
626 626
       }

+ 4 - 1
src/xt_pages/Pharmacy/print/patientPrintTwo.vue 查看文件

@@ -159,11 +159,14 @@ export default {
159 159
       if (state == 2){
160 160
         this.state = "已发药"
161 161
       }
162
+      var Price_zong2 =0
162 163
       for(let i in this.tableData){
164
+        
163 165
         if(this.tableData[i].Price !=''){
164
-         this.Price_zong = this.Price_zong + this.tableData[i].Price
166
+          Price_zong2 = Price_zong2 + this.tableData[i].Price
165 167
         }
166 168
       }
169
+      this.Price_zong = Price_zong2
167 170
     },
168 171
     getdiagnosis(val){
169 172
       const diagnosis = val.split(',')