huangyw 2 years ago
parent
commit
e9a5ba202e

+ 10 - 0
src/xt_pages/Pharmacy/DrugDispensing.vue View File

56
             highlight-current-row
56
             highlight-current-row
57
             ref="table01"
57
             ref="table01"
58
             @current-change="handleCurrentChange"
58
             @current-change="handleCurrentChange"
59
+             :row-style="{ color: '#303133' }"
60
+            :header-cell-style="{
61
+              backgroundColor: 'rgb(245, 247, 250)',
62
+              color: '#606266',
63
+            }"
59
           >
64
           >
60
             <el-table-column prop="name" label="名称" width="100">
65
             <el-table-column prop="name" label="名称" width="100">
61
               <template slot-scope="scope">
66
               <template slot-scope="scope">
82
             style="width: 100%"
87
             style="width: 100%"
83
             highlight-current-row
88
             highlight-current-row
84
             @current-change="handleCurrentChange"
89
             @current-change="handleCurrentChange"
90
+             :row-style="{ color: '#303133' }"
91
+            :header-cell-style="{
92
+              backgroundColor: 'rgb(245, 247, 250)',
93
+              color: '#606266',
94
+            }"
85
             ref="table02"
95
             ref="table02"
86
           >
96
           >
87
             <el-table-column prop="name" label="名称" width="100">
97
             <el-table-column prop="name" label="名称" width="100">

+ 10 - 0
src/xt_pages/Pharmacy/PatientDispensing.vue View File

61
             border
61
             border
62
             style="width: 100%"
62
             style="width: 100%"
63
             v-if="state == 1"
63
             v-if="state == 1"
64
+             :row-style="{ color: '#303133' }"
65
+            :header-cell-style="{
66
+              backgroundColor: 'rgb(245, 247, 250)',
67
+              color: '#606266',
68
+            }"
64
           >
69
           >
65
             <el-table-column prop="date" label="患者姓名" width="100">
70
             <el-table-column prop="date" label="患者姓名" width="100">
66
               <template slot-scope="scope">
71
               <template slot-scope="scope">
82
             highlight-current-row
87
             highlight-current-row
83
             @current-change="handleCurrentChange"
88
             @current-change="handleCurrentChange"
84
             border
89
             border
90
+             :row-style="{ color: '#303133' }"
91
+            :header-cell-style="{
92
+              backgroundColor: 'rgb(245, 247, 250)',
93
+              color: '#606266',
94
+            }"
85
             style="width: 100%"
95
             style="width: 100%"
86
             v-if="state == 2"
96
             v-if="state == 2"
87
           >
97
           >