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

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

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

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

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