Pārlūkot izejas kodu

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

XMLWAN 3 gadus atpakaļ
vecāks
revīzija
871186ac90

+ 12 - 0
src/xt_pages/hospitalStation/components/prescriptionTable.vue Parādīt failu

@@ -17,6 +17,13 @@
17 17
         </template>
18 18
       </el-table-column>
19 19
 
20
+      <el-table-column label="规格" width="60">
21
+        <template slot-scope="scope">
22
+          <!-- {{ scope.row.drug_spec }} -->
23
+          <span v-if="scope.row.drug.min_unit != scope.row.drug.dose_unit">{{scope.row.drug.dose}}{{scope.row.drug.dose_unit}}&nbsp;* &nbsp;</span>{{scope.row.drug.min_number}}{{scope.row.drug.min_unit}}/{{scope.row.drug.max_unit}}
24
+        </template>
25
+      </el-table-column>
26
+
20 27
 
21 28
       <el-table-column align="center" prop="single_dose" width="120" label="单次用量">
22 29
         <template slot-scope="scope">
@@ -123,6 +130,11 @@
123 130
         <template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}</span>
124 131
         </template>
125 132
       </el-table-column>
133
+      <el-table-column align="center"  width="60" label="规格">
134
+        <template slot-scope="scope">
135
+          {{scope.row.type == 2?'':scope.row.good_info.specification_name}}
136
+        </template>
137
+      </el-table-column>
126 138
       <el-table-column align="center" prop="statistical_classification" width="100" label="组">
127 139
         <template slot-scope="scope">{{scope.row.type ==
128 140
           2?getGroup(scope.row.statistical_classification):'耗材'}}