huangyw hace 3 años
padre
commit
1cc379050b

+ 4 - 4
src/xt_pages/outpatientCharges/components/prescriptionTable.vue Ver fichero

@@ -19,7 +19,7 @@
19 19
         width="40"
20 20
         label="序号"
21 21
       ></el-table-column>
22
-      <el-table-column fixed align="center" prop="name" width="200" label="名称">
22
+      <el-table-column fixed align="center" prop="name" width="400" label="名称">
23 23
         <template slot-scope="scope"
24 24
           ><span :title="scope.row.drug_name">{{
25 25
             scope.row.drug_name
@@ -163,7 +163,7 @@
163 163
         width="40"
164 164
         label="序号"
165 165
       ></el-table-column>
166
-      <el-table-column fixed align="center" prop="project_name" label="名称">
166
+      <el-table-column fixed align="center" prop="project_name" width="400" label="名称">
167 167
         <template slot-scope="scope">{{ scope.row.project_name }}</template>
168 168
       </el-table-column>
169 169
       <el-table-column
@@ -349,12 +349,12 @@ export default {
349 349
     changColor({ row, rowIndex }) {
350 350
      if (rowIndex % 2 == 1) { // 变颜色的条件
351 351
 		return {
352
-		backgroundColor: "#ACD6FF",
352
+		backgroundColor: "#C4E1FF",
353 353
     color: '#303133'  // 这个return的就是样式 可以是color 也可以是backgroundColor
354 354
 		}
355 355
 	}else{
356 356
     return {
357
-      backgroundColor:"#FFF8D7",
357
+      backgroundColor:"#ACD6FF",
358 358
       color: '#303133'
359 359
     }
360 360
   }