yuansh 1 år sedan
förälder
incheckning
d6f1acecfe

+ 2 - 2
src/views/oa/salary_management/personnelSalary/SalaryChangeRecords.vue

@@ -43,8 +43,8 @@
           :loading="loading"
           @change="handleTableChange">
             <span slot="afterAdjustment" slot-scope="text, record">
-                <a  v-if="record.salaryReduction&&record.salaryReduction!==''">- {{record.salaryReduction}}</a>
-                <a  v-if="record.salaryIncrease&&record.salaryIncrease!==''">+{{record.salaryIncrease}}</a>
+                <a  v-if="record.salaryReduction&&record.salaryReduction!==''" style="color: red;">- {{record.salaryReduction}}</a>
+                <a  v-if="record.salaryIncrease&&record.salaryIncrease!==''" style="color: green;">+{{record.salaryIncrease}}</a>
            </span>
         </a-table>
       </div>