Browse Source

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

see999 3 years ago
parent
commit
f68ac748f1

+ 4 - 4
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -1610,7 +1610,7 @@
1610 1610
           'hemodialysis',
1611 1611
           'dialyzer_perfusion_apparatus'
1612 1612
         )
1613
-        console.log('3333333', this.dialyzerPerfusionApparatus)
1613
+        // console.log('3333333', this.dialyzerPerfusionApparatus)
1614 1614
         this.bloods = getDataConfig(
1615 1615
           'hemodialysis',
1616 1616
           'blood'
@@ -1968,7 +1968,7 @@
1968 1968
         if (his_is_open == 1) {
1969 1969
           this.is_open = 0
1970 1970
         }
1971
-        
1971
+
1972 1972
         if(this.$store.getters.xt_user.org.id == 10101){
1973 1973
           if (this.predialysis.id > 0 && this.predialysis.created_time > 0) {
1974 1974
             var date = new Date(this.predialysis.created_time * 1000)
@@ -2056,7 +2056,7 @@
2056 2056
             }
2057 2057
           }
2058 2058
         }
2059
-        
2059
+
2060 2060
 
2061 2061
         if (pre.anticoagulant == 3) {
2062 2062
           this.dialysisPrescription.anticoagulant = '低分子肝素'
@@ -3513,7 +3513,7 @@
3513 3513
         if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {
3514 3514
           this.dialysisPrescription.anticoagulant_zongliang = ''
3515 3515
         }
3516
-        
3516
+
3517 3517
       },
3518 3518
       'dialysisPrescription.anticoagulant_shouji': function() {
3519 3519
         let dialysis_duration_minute = 0

+ 27 - 27
src/xt_pages/outpatientCharges/summaryDetail.vue View File

@@ -364,16 +364,16 @@ export default {
364 364
           }
365 365
         }
366 366
         //附加收费
367
-        for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
368
-          let obj = {
369
-            id: month_prescriptions[i].addition[a].item_id,
370
-            price: month_prescriptions[i].addition[a].price
371
-
372
-          }
373
-          additions_ids.push(obj)
374
-          addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
375
-
376
-        }
367
+        // for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
368
+        //   let obj = {
369
+        //     id: month_prescriptions[i].addition[a].item_id,
370
+        //     price: month_prescriptions[i].addition[a].price
371
+        //
372
+        //   }
373
+        //   additions_ids.push(obj)
374
+        //   addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
375
+        //
376
+        // }
377 377
 
378 378
       }
379 379
 
@@ -444,23 +444,23 @@ export default {
444 444
 
445 445
       }
446 446
 
447
-      for (let i = 0; i < additions_ids.length; i++) {
448
-        let obj = {}
449
-        let count = 0
450
-        console.log(addition_month_prescriptions.addition)
451
-        if (addition_month_prescriptions.addition) {
452
-          for (let a = 0; a < addition_month_prescriptions.addition.length; a++) {
453
-            if (additions_ids[i].price == addition_month_prescriptions.addition[a].price &&additions_ids[i].id == addition_month_prescriptions.addition[a].item_id) {
454
-              obj['item_name'] = addition_month_prescriptions.addition[a].item_name
455
-              count = count + addition_month_prescriptions.addition[a].count
456
-              obj['price'] = parseFloat(addition_month_prescriptions.addition[a].price)
457
-            }
458
-          }
459
-          obj['count'] = count
460
-          this.additions.push(obj)
461
-
462
-        }
463
-      }
447
+      // for (let i = 0; i < additions_ids.length; i++) {
448
+      //   let obj = {}
449
+      //   let count = 0
450
+      //   console.log(addition_month_prescriptions.addition)
451
+      //   if (addition_month_prescriptions.addition) {
452
+      //     for (let a = 0; a < addition_month_prescriptions.addition.length; a++) {
453
+      //       if (additions_ids[i].price == addition_month_prescriptions.addition[a].price &&additions_ids[i].id == addition_month_prescriptions.addition[a].item_id) {
454
+      //         obj['item_name'] = addition_month_prescriptions.addition[a].item_name
455
+      //         count = count + addition_month_prescriptions.addition[a].count
456
+      //         obj['price'] = parseFloat(addition_month_prescriptions.addition[a].price)
457
+      //       }
458
+      //     }
459
+      //     obj['count'] = count
460
+      //     this.additions.push(obj)
461
+      //
462
+      //   }
463
+      // }
464 464
 
465 465
     },
466 466
 

+ 1 - 0
src/xt_pages/stock/drugs/query.vue View File

@@ -123,6 +123,7 @@
123 123
               </span>
124 124
            </template>
125 125
         </el-table-column>
126
+        
126 127
         <el-table-column prop="drug_name" label="剩余库存量" align="center">
127 128
            <template slot-scope="scope">
128 129
             <div v-if="getWarehoseInfo(scope.row.drug_warehouse_info)!=0">