Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 years ago
parent
commit
819640ba99

+ 2 - 2
src/xt_pages/hospitalStation/components/deskPrescription.vue View File

@@ -1689,12 +1689,12 @@ export default {
1689 1689
       for (let i = 0; i < this.month_prescriptions.length; i++) {
1690 1690
         if (this.month_prescriptions[i].advices != null) {
1691 1691
           for (let a = 0; a < this.month_prescriptions[i].advices.length; a++) {
1692
-            total = total + this.month_prescriptions[i].advices[a].retail_price * this.month_prescriptions[i].advices[a].prescribing_number
1692
+            total = total.toFixed(2) + (this.month_prescriptions[i].advices[a].retail_price * this.month_prescriptions[i].advices[a].prescribing_number).toFixed(2)
1693 1693
           }
1694 1694
         }
1695 1695
         if (this.month_prescriptions[i].project != null) {
1696 1696
           for (let b = 0; b < this.month_prescriptions[i].project.length; b++) {
1697
-            total = total + this.month_prescriptions[i].project[b].price * this.month_prescriptions[i].project[b].total
1697
+            total = total.toFixed(2) + (this.month_prescriptions[i].project[b].price * this.month_prescriptions[i].project[b].total).toFixed(2)
1698 1698
           }
1699 1699
         }
1700 1700
 

+ 1 - 1
src/xt_pages/hospitalStation/invoiceTemplate/printTwo.vue View File

@@ -182,7 +182,7 @@ export default {
182 182
                 this.list = res.data.data
183 183
                 console.log('res',this.list)
184 184
                 this.totalPrice = this.list.westernMedicineCostTotal + this.list.checkCostTotal + this.list.treatCostTotal + this.list.bedCostTotal + this.list.chineseTraditionalMedicineCostTotal +
185
-                                    this.list.laboratoryCostTotal + this.list.operationCostTotal + this.list.otherCostTotal + this.list.materialCostTotal
185
+                                    this.list.laboratoryCostTotal + this.list.operationCostTotal + this.list.otherCostTotal + this.list.materialCostTotal + this.list.zhenChaCostTotal
186 186
                 this.smalltoBIG(this.totalPrice)
187 187
                 var data = new Date(res.data.data.date * 1000);
188 188
                 var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;

+ 1 - 2
src/xt_pages/hospitalStation/summary.vue View File

@@ -150,7 +150,6 @@
150 150
                     style="margin-top:20px;float: right"
151 151
                     layout="total, sizes, prev, pager, next, jumper"
152 152
                     :total="total"
153
-
154 153
             >
155 154
             </el-pagination>
156 155
         </div>
@@ -622,7 +621,7 @@
622 621
         }
623 622
       },
624 623
       toPrint(row) {
625
-        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || (row.order_status == 2 && $store.getters.xt_user.org_id == 10138) || (row.order_status == 2 && $store.getters.xt_user.org_id == 10278)) {
624
+        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028 || (row.order_status == 2 && this.$store.getters.xt_user.org_id == 10138) || (row.order_status == 2 && this.$store.getters.xt_user.org_id == 10278)) {
626 625
           this.statementVisible9504 = true
627 626
           let obj = {
628 627
             order_id: row.id,

+ 5 - 1
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -1086,7 +1086,11 @@ export default {
1086 1086
     },
1087 1087
     changeTimeTwo() {
1088 1088
       this.getPatientList()
1089
-      this.form.diagnosis_time = this.record_date + ' ' + '00:00:00'
1089
+      var nowDate = new Date()
1090
+      var nowHours = nowDate.getHours()
1091
+      var nowMinutes = nowDate.getMinutes()
1092
+      var nowSeconds = nowDate.getSeconds()
1093
+      this.form.diagnosis_time = this.record_date + ' ' + (nowHours < 10 ? '0' + nowHours : nowHours) + ':' + (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes) + ':' + (nowSeconds < 10 ? '0' + nowSeconds : nowSeconds)
1090 1094
     },
1091 1095
     comfirmPWDialog() {
1092 1096
       var that = this