浏览代码

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

csx 3 年前
父节点
当前提交
770b0673bb

+ 7 - 5
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 查看文件

564
           patient_id: this.patientInfo.id,
564
           patient_id: this.patientInfo.id,
565
           start_time: val,
565
           start_time: val,
566
           end_time: this.other_end_time,
566
           end_time: this.other_end_time,
567
-          p_type:2
567
+          p_type:2,
568
+          type: this.radio,
569
+
568
 
570
 
569
         };
571
         };
570
         getDayOrMonthHisPrescription(params).then(response => {
572
         getDayOrMonthHisPrescription(params).then(response => {
1040
                   })
1042
                   })
1041
 
1043
 
1042
                 } else {
1044
                 } else {
1043
-                  this.changeRadio(1)
1044
-                  this.$message({ message: '挂号成功', type: 'success', duration: 5000 })
1045
-                  this.$refs.register.hide()
1046
-                  this.loadingone = false
1045
+                  that.changeRadio(1)
1046
+                  that.$message({ message: '挂号成功', type: 'success', duration: 5000 })
1047
+                  that.$refs.register.hide()
1048
+                  that.loadingone = false
1047
                   // that.radio = 1
1049
                   // that.radio = 1
1048
                   // that.$refs.register.hide();
1050
                   // that.$refs.register.hide();
1049
                   // let params = {
1051
                   // let params = {

+ 3 - 3
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

2054
               }
2054
               }
2055
 
2055
 
2056
               for (let b = 0; b < this.prescriptions[i].addition.length; b++) {
2056
               for (let b = 0; b < this.prescriptions[i].addition.length; b++) {
2057
-                this.prescriptions[i].addition[b].id = parseInt(this.prescriptions[i].addition[b].id)
2057
+                this.prescriptions[i].addition[b].id = prarseInt(this.prescriptions[i].addition[b].id)
2058
                 this.prescriptions[i].addition[b].item_id = parseInt(this.prescriptions[i].addition[b].item_id)
2058
                 this.prescriptions[i].addition[b].item_id = parseInt(this.prescriptions[i].addition[b].item_id)
2059
                 this.prescriptions[i].addition[b].price = this.prescriptions[i].addition[b].price.toString()
2059
                 this.prescriptions[i].addition[b].price = this.prescriptions[i].addition[b].price.toString()
2060
                 this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
2060
                 this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
2494
                 if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {
2494
                 if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {
2495
                   obj.prescribing_number = 1
2495
                   obj.prescribing_number = 1
2496
                 }
2496
                 }
2497
-                
2497
+
2498
                 this.prescriptions[i].advices.push(obj)
2498
                 this.prescriptions[i].advices.push(obj)
2499
               }
2499
               }
2500
               this.curStatus = 1
2500
               this.curStatus = 1
2526
                 this.prescriptions[i].advices.push(obj)
2526
                 this.prescriptions[i].advices.push(obj)
2527
               }
2527
               }
2528
               this.curStatus = 1
2528
               this.curStatus = 1
2529
-              
2529
+
2530
             }
2530
             }
2531
 
2531
 
2532
             // if(this.activeName == 2){
2532
             // if(this.activeName == 2){