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
             this.$message.error("请选择需要记账的患者")
2931
             this.$message.error("请选择需要记账的患者")
2932
             return
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
           var that = this
2935
           var that = this
2943
           let obj = {
2936
           let obj = {
2944
             patient_id: this.patientInfo.id,
2937
             patient_id: this.patientInfo.id,

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

137
                                                   highlight-current-row>
137
                                                   highlight-current-row>
138
                                             <el-table-column type="selection" width="40"
138
                                             <el-table-column type="selection" width="40"
139
                                                              align="center"></el-table-column>
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
                                             </el-table-column>
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
                                           <el-table-column label="规格" width="60" v-if="org_id != 10206 && org_id != 0">
146
                                           <el-table-column label="规格" width="60" v-if="org_id != 10206 && org_id != 0">
144
                                             <template slot-scope="scope">
147
                                             <template slot-scope="scope">
145
                                                    <span
148
                                                    <span
196
                                                       highlight-current-row>
199
                                                       highlight-current-row>
197
                                                 <el-table-column type="selection" width="40"
200
                                                 <el-table-column type="selection" width="40"
198
                                                                  align="center"></el-table-column>
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
                                                     <template slot-scope="scope">{{ scope.row.project_name }}</template>
203
                                                     <template slot-scope="scope">{{ scope.row.project_name }}</template>
201
                                                 </el-table-column>
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
                                                 <el-table-column label="规格" width="60">
208
                                                 <el-table-column label="规格" width="60">
203
                                                     <template slot-scope="scope">{{ scope.row.single_dose }}</template>
209
                                                     <template slot-scope="scope">{{ scope.row.single_dose }}</template>
204
                                                 </el-table-column>
210
                                                 </el-table-column>
1783
                 type: 2,
1789
                 type: 2,
1784
                 is_special_diseases: project[i].disease_directory,
1790
                 is_special_diseases: project[i].disease_directory,
1785
                 project: project[i],
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
               this.tabProject.push(obj)
1796
               this.tabProject.push(obj)
1806
                 type: 3,
1813
                 type: 3,
1807
                 is_special_diseases: good_info[i].is_special_diseases,
1814
                 is_special_diseases: good_info[i].is_special_diseases,
1808
                 good_info: good_info[i],
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
               this.tabProject.push(obj)
1820
               this.tabProject.push(obj)
1812
             }
1821
             }
2018
                     groupno: prescription.advices[b].groupno,
2027
                     groupno: prescription.advices[b].groupno,
2019
                     frequency_type: prescription.advices[b].frequency_type,
2028
                     frequency_type: prescription.advices[b].frequency_type,
2020
                     day_count: prescription.advices[b].day_count,
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
                   tempAdvice.push(obj)
2034
                   tempAdvice.push(obj)