Bläddra i källkod

9月10,舒和处方笺表格

yq1 1 vecka sedan
förälder
incheckning
9939b13342

+ 6 - 3
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Visa fil

@@ -157,7 +157,8 @@
157 157
             </el-table-column>
158 158
             <el-table-column align="center" prop="project_name" label="规格">
159 159
                 <template slot-scope="scope">
160
-                  <span>{{ scope.row.project_name }}</span>
160
+                  <span v-if="scope.row.type==2">{{ scope.row.project_name }}</span>
161
+                  <span v-if="scope.row.type==3">{{ scope.row.good_info.specification_name }}</span>
161 162
                 </template>
162 163
             </el-table-column>
163 164
             <el-table-column align="center" prop="statistical_classification" width="100" label="组">
@@ -772,11 +773,13 @@
772 773
       this.getInitData()
773 774
 
774 775
     },
776
+    created(){
777
+      console.log('prescription',this.prescription);
778
+    },
775 779
     watch: {
776 780
       'prescription.advices': {
777 781
         handler(newVal, oldVal) {
778
-          console.log("检查我我我我",this.prescription.advices)
779
-          console.log("检查我我我我",this.prescription.project)
782
+          console.log("检查我我我我",this.prescription)
780 783
         },
781 784
         deep: true
782 785
       }