Browse Source

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

28169 1 year ago
parent
commit
cb45cab1b6

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

@@ -2931,14 +2931,7 @@ export default {
2931 2931
             this.$message.error("请选择需要记账的患者")
2932 2932
             return
2933 2933
           }
2934
-          if (this.prescriptions.length == 0) {
2935
-            this.$message.error("处方不能为空")
2936
-            return
2937
-          }
2938
-          if (this.form.diagnosis.length == 0) {
2939
-            this.$message.error("诊断不能为空")
2940
-            return
2941
-          }
2934
+
2942 2935
           var that = this
2943 2936
           let obj = {
2944 2937
             patient_id: this.patientInfo.id,

+ 16 - 6
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue View File

@@ -137,9 +137,12 @@
137 137
                                                   highlight-current-row>
138 138
                                             <el-table-column type="selection" width="40"
139 139
                                                              align="center"></el-table-column>
140
-                                            <el-table-column label="名称">
141
-                                                <template slot-scope="scope">{{ scope.row.drug_name }}</template>
140
+                                            <el-table-column label="名称" v-if="org_id == 10206  || org_id == 0">
141
+                                                <template slot-scope="scope">{{ scope.row.drug_name }}{{scope.row.number?"("+scope.row.number+")":""}}</template>
142 142
                                             </el-table-column>
143
+                                          <el-table-column label="名称" v-if="org_id != 10206 && org_id != 0">
144
+                                            <template slot-scope="scope">{{ scope.row.drug_name }}</template>
145
+                                          </el-table-column>
143 146
                                           <el-table-column label="规格" width="60" v-if="org_id != 10206 && org_id != 0">
144 147
                                             <template slot-scope="scope">
145 148
                                                    <span
@@ -196,9 +199,12 @@
196 199
                                                       highlight-current-row>
197 200
                                                 <el-table-column type="selection" width="40"
198 201
                                                                  align="center"></el-table-column>
199
-                                                <el-table-column prop="name" label="名称">
202
+                                                <el-table-column prop="name" label="名称" v-if="org_id != 10206 && org_id != 0">
200 203
                                                     <template slot-scope="scope">{{ scope.row.project_name }}</template>
201 204
                                                 </el-table-column>
205
+                                              <el-table-column prop="name" label="名称" v-if="org_id == 10206 || org_id == 0">
206
+                                                <template slot-scope="scope">{{ scope.row.project_name }}{{scope.row.number?"("+scope.row.number+")":""}}</template>
207
+                                              </el-table-column>
202 208
                                                 <el-table-column label="规格" width="60">
203 209
                                                     <template slot-scope="scope">{{ scope.row.single_dose }}</template>
204 210
                                                 </el-table-column>
@@ -1783,7 +1789,8 @@
1783 1789
                 type: 2,
1784 1790
                 is_special_diseases: project[i].disease_directory,
1785 1791
                 project: project[i],
1786
-                first_letter:project[i].first_letter
1792
+                first_letter:project[i].first_letter,
1793
+                number: "",
1787 1794
               }
1788 1795
 
1789 1796
               this.tabProject.push(obj)
@@ -1806,7 +1813,9 @@
1806 1813
                 type: 3,
1807 1814
                 is_special_diseases: good_info[i].is_special_diseases,
1808 1815
                 good_info: good_info[i],
1809
-                first_letter:good_info[i].first_letter
1816
+                first_letter:good_info[i].first_letter,
1817
+                number: good_info[i].good_number,
1818
+
1810 1819
               }
1811 1820
               this.tabProject.push(obj)
1812 1821
             }
@@ -2018,7 +2027,8 @@
2018 2027
                     groupno: prescription.advices[b].groupno,
2019 2028
                     frequency_type: prescription.advices[b].frequency_type,
2020 2029
                     day_count: prescription.advices[b].day_count,
2021
-                    week_day: prescription.advices[b].week_day
2030
+                    week_day: prescription.advices[b].week_day,
2031
+
2022 2032
 
2023 2033
                   }
2024 2034
                   tempAdvice.push(obj)