Browse Source

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

XMLWAN 2 years ago
parent
commit
596fa8dc95

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

120
 
120
 
121
             <el-button v-loading="loadingone" size="small"
121
             <el-button v-loading="loadingone" size="small"
122
                        @click="open(40)"
122
                        @click="open(40)"
123
-                       v-if="org_id == 10191"
123
+                       v-if="org_id == 10191 || org_id == 10318"
124
                        type="primary">登陆
124
                        type="primary">登陆
125
             </el-button>
125
             </el-button>
126
 
126
 

+ 7 - 2
src/xt_pages/outpatientDoctorStation/modeTemplateDetail.vue View File

952
                 this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
952
                 this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
953
               }
953
               }
954
             }
954
             }
955
-            
955
+
956
             let data = {
956
             let data = {
957
               'prescriptions': this.prescriptions
957
               'prescriptions': this.prescriptions
958
             }
958
             }
1632
                     obj['medical_code'] = prescription.project[b].project.medical_code
1632
                     obj['medical_code'] = prescription.project[b].project.medical_code
1633
                     obj['project_name'] = prescription.project[b].project.project_name
1633
                     obj['project_name'] = prescription.project[b].project.project_name
1634
                     obj['project'] = prescription.project[b].project
1634
                     obj['project'] = prescription.project[b].project
1635
+                    obj['unit'] = prescription.project[b].project.unit
1636
+
1635
 
1637
 
1636
                   } else if (prescription.project[b].type == 3) {
1638
                   } else if (prescription.project[b].type == 3) {
1637
                     obj['statistical_classification'] = ''
1639
                     obj['statistical_classification'] = ''
1638
                     obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
1640
                     obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
1639
                     obj['project_name'] = prescription.project[b].good_info.good_name
1641
                     obj['project_name'] = prescription.project[b].good_info.good_name
1640
                     obj['good_info'] = prescription.project[b].good_info
1642
                     obj['good_info'] = prescription.project[b].good_info
1643
+                    // obj['unit'] = prescription.project[b].project.unit
1644
+                    obj['unit'] = prescription.project[b].good_info.packing_unit
1645
+
1641
 
1646
 
1642
                   }
1647
                   }
1643
                   tempProject.push(obj)
1648
                   tempProject.push(obj)
1894
       clearSelection() {
1899
       clearSelection() {
1895
         this.$refs.tabProjectTeam.clearSelection()
1900
         this.$refs.tabProjectTeam.clearSelection()
1896
       }
1901
       }
1897
-    }, 
1902
+    },
1898
     created() {
1903
     created() {
1899
       for(let key in this.$store.getters.treatment_mode){
1904
       for(let key in this.$store.getters.treatment_mode){
1900
         this.modeOptions[key] = this.$store.getters.treatment_mode[key]
1905
         this.modeOptions[key] = this.$store.getters.treatment_mode[key]

+ 2 - 13
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue View File

1599
             return false
1599
             return false
1600
           } else {
1600
           } else {
1601
             this.prescriptions = []
1601
             this.prescriptions = []
1602
-            // console.log(this.tempForm)
1603
-
1604
             if (response.data.data.template.id > 0) {
1602
             if (response.data.data.template.id > 0) {
1605
-
1606
               this.tempForm.name = response.data.data.template.name
1603
               this.tempForm.name = response.data.data.template.name
1607
               this.tempForm.mode_id = response.data.data.template.mode
1604
               this.tempForm.mode_id = response.data.data.template.mode
1608
-
1609
               for (let i = 0; i < response.data.data.prescriptions.length; i++) {
1605
               for (let i = 0; i < response.data.data.prescriptions.length; i++) {
1610
                 var prescription = response.data.data.prescriptions[i]
1606
                 var prescription = response.data.data.prescriptions[i]
1611
                 let tempAdvice = []
1607
                 let tempAdvice = []
1612
                 let tempProject = []
1608
                 let tempProject = []
1613
                 let tempAddition = []
1609
                 let tempAddition = []
1614
-
1615
                 //药品
1610
                 //药品
1616
                 for (let b = 0; b < prescription.advices.length; b++) {
1611
                 for (let b = 0; b < prescription.advices.length; b++) {
1617
                   let obj = {
1612
                   let obj = {
1653
                     price: prescription.project[b].price,
1648
                     price: prescription.project[b].price,
1654
                     remark: prescription.project[b].remark,
1649
                     remark: prescription.project[b].remark,
1655
                     medical_code: prescription.project[b].project.medical_code,
1650
                     medical_code: prescription.project[b].project.medical_code,
1656
-                    unit: prescription.project[b].project.unit,
1657
                     type: prescription.project[b].type,
1651
                     type: prescription.project[b].type,
1658
                     frequency_type: prescription.project[b].frequency_type,
1652
                     frequency_type: prescription.project[b].frequency_type,
1659
                     day_count: prescription.project[b].day_count,
1653
                     day_count: prescription.project[b].day_count,
1666
                     obj['medical_code'] = prescription.project[b].project.medical_code
1660
                     obj['medical_code'] = prescription.project[b].project.medical_code
1667
                     obj['project_name'] = prescription.project[b].project.project_name
1661
                     obj['project_name'] = prescription.project[b].project.project_name
1668
                     obj['project'] = prescription.project[b].project
1662
                     obj['project'] = prescription.project[b].project
1669
-
1663
+                    obj['unit'] = prescription.project[b].unit
1670
                   } else if (prescription.project[b].type == 3) {
1664
                   } else if (prescription.project[b].type == 3) {
1671
                     obj['statistical_classification'] = ''
1665
                     obj['statistical_classification'] = ''
1672
                     obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
1666
                     obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
1673
                     obj['project_name'] = prescription.project[b].good_info.good_name
1667
                     obj['project_name'] = prescription.project[b].good_info.good_name
1674
                     obj['good_info'] = prescription.project[b].good_info
1668
                     obj['good_info'] = prescription.project[b].good_info
1675
-
1669
+                    obj['unit'] = prescription.project[b].good_info.packing_unit
1676
                   }
1670
                   }
1677
                   tempProject.push(obj)
1671
                   tempProject.push(obj)
1678
                 }
1672
                 }
1713
                 order_status: 0,
1707
                 order_status: 0,
1714
                 med_type: ''
1708
                 med_type: ''
1715
               }
1709
               }
1716
-
1717
               obj.med_type = 14
1710
               obj.med_type = 14
1718
-
1719
               this.prescriptions.push(obj)
1711
               this.prescriptions.push(obj)
1720
               this.curPrescriptions = this.prescriptions[0]
1712
               this.curPrescriptions = this.prescriptions[0]
1721
             }
1713
             }
1722
-
1723
           }
1714
           }
1724
-
1725
         })
1715
         })
1726
-
1727
       },
1716
       },
1728
       getlist() {
1717
       getlist() {
1729
         this.tabProject = []
1718
         this.tabProject = []