huangyw 2 年 前
コミット
a76277de25
共有2 個のファイルを変更した12 個の追加1 個の削除を含む
  1. 7 1
      src/xt_pages/Pharmacy/DrugDispensing.vue
  2. 5 0
      src/xt_pages/Pharmacy/PatientDispensing.vue

+ 7 - 1
src/xt_pages/Pharmacy/DrugDispensing.vue ファイルの表示

@@ -118,7 +118,13 @@
118 118
             :height="tableHeight"
119 119
             :data="tableData"
120 120
             border
121
+            highlight-current-row
121 122
             style="width: 1328px"
123
+            :row-style="{ color: '#303133' }"
124
+            :header-cell-style="{
125
+              backgroundColor: 'rgb(245, 247, 250)',
126
+              color: '#606266',
127
+            }"
122 128
             @selection-change="handleSelectionChange"
123 129
             v-if="state == 1"
124 130
           >
@@ -728,7 +734,7 @@ export default {
728 734
     height: 34px;
729 735
     width: 65px;
730 736
   }
731
-  .el-table{
737
+  .el-table {
732 738
     margin-top: -13px;
733 739
   }
734 740
   /deep/ .el-divider {

+ 5 - 0
src/xt_pages/Pharmacy/PatientDispensing.vue ファイルの表示

@@ -121,6 +121,11 @@
121 121
             :data="tableData"
122 122
             border
123 123
             style="width: 100%"
124
+            :row-style="{ color: '#303133' }"
125
+            :header-cell-style="{
126
+              backgroundColor: 'rgb(245, 247, 250)',
127
+              color: '#606266',
128
+            }"
124 129
           >
125 130
             <el-table-column
126 131
               type="index"