Browse Source

9月10,舒和处方笺表格

yq1 1 week ago
parent
commit
9939b13342

+ 6 - 3
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue View File

157
             </el-table-column>
157
             </el-table-column>
158
             <el-table-column align="center" prop="project_name" label="规格">
158
             <el-table-column align="center" prop="project_name" label="规格">
159
                 <template slot-scope="scope">
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
                 </template>
162
                 </template>
162
             </el-table-column>
163
             </el-table-column>
163
             <el-table-column align="center" prop="statistical_classification" width="100" label="组">
164
             <el-table-column align="center" prop="statistical_classification" width="100" label="组">
772
       this.getInitData()
773
       this.getInitData()
773
 
774
 
774
     },
775
     },
776
+    created(){
777
+      console.log('prescription',this.prescription);
778
+    },
775
     watch: {
779
     watch: {
776
       'prescription.advices': {
780
       'prescription.advices': {
777
         handler(newVal, oldVal) {
781
         handler(newVal, oldVal) {
778
-          console.log("检查我我我我",this.prescription.advices)
779
-          console.log("检查我我我我",this.prescription.project)
782
+          console.log("检查我我我我",this.prescription)
780
         },
783
         },
781
         deep: true
784
         deep: true
782
       }
785
       }