瀏覽代碼

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

28169 1 年之前
父節點
當前提交
ebdd201aa1

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

333
                                       </el-table-column>
333
                                       </el-table-column>
334
 
334
 
335
 <!--                                    //针对对接坐标系统的,使用坐标的库存数据-->
335
 <!--                                    //针对对接坐标系统的,使用坐标的库存数据-->
336
-                                    <el-table-column label="库存" width="60" v-else>
336
+                                    <el-table-column label="库存" width="60" v-if="org_id == 10206">
337
                                       <template slot-scope="scope">
337
                                       <template slot-scope="scope">
338
                                         <span>{{scope.row.zuobiao_stock_num}}</span>
338
                                         <span>{{scope.row.zuobiao_stock_num}}</span>
339
                                       </template>
339
                                       </template>

+ 16 - 10
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue 查看文件

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="名称">
140
                                             <el-table-column label="名称">
141
-                                                <template slot-scope="scope">{{ scope.row.drug_name }}</template>
141
+                                                <template slot-scope="scope">{{ scope.row.drug_name + "(" +scope.row.number + ")"}}</template>
142
                                             </el-table-column>
142
                                             </el-table-column>
143
                                           <el-table-column label="规格" width="60" v-if="org_id != 10206 && org_id != 0">
143
                                           <el-table-column label="规格" width="60" v-if="org_id != 10206 && org_id != 0">
144
                                             <template slot-scope="scope">
144
                                             <template slot-scope="scope">
197
                                                 <el-table-column type="selection" width="40"
197
                                                 <el-table-column type="selection" width="40"
198
                                                                  align="center"></el-table-column>
198
                                                                  align="center"></el-table-column>
199
                                                 <el-table-column prop="name" label="名称">
199
                                                 <el-table-column prop="name" label="名称">
200
-                                                    <template slot-scope="scope">{{ scope.row.project_name }}</template>
200
+                                                    <template slot-scope="scope">{{ scope.row.project_name}}{{scope.row.good_number?"("+scope.row.good_number+")":""}}</template>
201
                                                 </el-table-column>
201
                                                 </el-table-column>
202
                                                 <el-table-column label="规格" width="60">
202
                                                 <el-table-column label="规格" width="60">
203
                                                     <template slot-scope="scope">{{ scope.row.single_dose }}</template>
203
                                                     <template slot-scope="scope">{{ scope.row.single_dose }}</template>
1162
 
1162
 
1163
         }
1163
         }
1164
 
1164
 
1165
-        obj.med_type = 14
1165
+        obj.med_type = 12
1166
 
1166
 
1167
         this.prescriptions.push(obj)
1167
         this.prescriptions.push(obj)
1168
 
1168
 
1522
                   prescribing_number: temp3[b].prescribing_number,
1522
                   prescribing_number: temp3[b].prescribing_number,
1523
                   single_dose_unit: temp3[b].drug.drug_dose_unit,
1523
                   single_dose_unit: temp3[b].drug.drug_dose_unit,
1524
                   prescribing_number_unit: temp3[b].drug.max_unit,
1524
                   prescribing_number_unit: temp3[b].drug.max_unit,
1525
-                  medical_insurance_number: temp3[b].drug.medical_insurance_number
1525
+                  medical_insurance_number: temp3[b].drug.medical_insurance_number,
1526
 
1526
 
1527
                 }
1527
                 }
1528
 
1528
 
1561
                   groupno: index + temp_index,
1561
                   groupno: index + temp_index,
1562
                   frequency_type: 1,
1562
                   frequency_type: 1,
1563
                   day_count: 0,
1563
                   day_count: 0,
1564
-                  week_day: ''
1564
+                  week_day: '',
1565
+                  number: temp[b].number,
1565
                 }
1566
                 }
1566
 
1567
 
1567
                 if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {
1568
                 if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {
1590
                   type: temp2[b].type,
1591
                   type: temp2[b].type,
1591
                   frequency_type: 1,
1592
                   frequency_type: 1,
1592
                   day_count: 0,
1593
                   day_count: 0,
1593
-                  week_day: ''
1594
+                  week_day: '',
1595
+
1594
                 }
1596
                 }
1595
                 if (temp2[b].type == 2) {
1597
                 if (temp2[b].type == 2) {
1596
                   obj['project'] = temp2[b].project
1598
                   obj['project'] = temp2[b].project
1597
                   obj['unit'] = temp2[b].project.unit
1599
                   obj['unit'] = temp2[b].project.unit
1600
+
1598
                 } else if (temp2[b].type == 3) {
1601
                 } else if (temp2[b].type == 3) {
1599
                   obj['good_info'] = temp2[b].good_info
1602
                   obj['good_info'] = temp2[b].good_info
1600
                   obj['unit'] = temp2[b].good_info.packing_unit
1603
                   obj['unit'] = temp2[b].good_info.packing_unit
1753
                 order_status: 0,
1756
                 order_status: 0,
1754
                 med_type: ''
1757
                 med_type: ''
1755
               }
1758
               }
1756
-              obj.med_type = 14
1759
+              obj.med_type = 12
1757
               this.prescriptions.push(obj)
1760
               this.prescriptions.push(obj)
1758
               this.curPrescriptions = this.prescriptions[0]
1761
               this.curPrescriptions = this.prescriptions[0]
1759
             }
1762
             }
1779
                 unit: project[i].unit,
1782
                 unit: project[i].unit,
1780
                 type: 2,
1783
                 type: 2,
1781
                 is_special_diseases: project[i].disease_directory,
1784
                 is_special_diseases: project[i].disease_directory,
1782
-                project: project[i]
1785
+                project: project[i],
1786
+                good_number: "",
1787
+
1783
               }
1788
               }
1784
 
1789
 
1785
               this.tabProject.push(obj)
1790
               this.tabProject.push(obj)
1801
                 unit: this.getGoodUnit(good_info[i].good_unit),
1806
                 unit: this.getGoodUnit(good_info[i].good_unit),
1802
                 type: 3,
1807
                 type: 3,
1803
                 is_special_diseases: good_info[i].is_special_diseases,
1808
                 is_special_diseases: good_info[i].is_special_diseases,
1804
-                good_info: good_info[i]
1809
+                good_info: good_info[i],
1810
+                good_number: good_info[i].good_number
1805
               }
1811
               }
1806
               this.tabProject.push(obj)
1812
               this.tabProject.push(obj)
1807
             }
1813
             }
2095
                 med_type: ''
2101
                 med_type: ''
2096
               }
2102
               }
2097
 
2103
 
2098
-              obj.med_type = 14
2104
+              obj.med_type = 12
2099
 
2105
 
2100
               this.prescriptions.push(obj)
2106
               this.prescriptions.push(obj)
2101
               this.curPrescriptions = this.prescriptions[0]
2107
               this.curPrescriptions = this.prescriptions[0]