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
             this.patients,
620
             this.patients,
621
             this.doctors,
621
             this.doctors,
622
             this.diagnosearr,
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
       if (state == 2){
159
       if (state == 2){
160
         this.state = "已发药"
160
         this.state = "已发药"
161
       }
161
       }
162
+      var Price_zong2 =0
162
       for(let i in this.tableData){
163
       for(let i in this.tableData){
164
+        
163
         if(this.tableData[i].Price !=''){
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
     getdiagnosis(val){
171
     getdiagnosis(val){
169
       const diagnosis = val.split(',')
172
       const diagnosis = val.split(',')