qsh 3 months ago
parent 70dcf5bc28
commit d1c4632f72
  1. 26
      src/views/Home/Salary/index.vue

@ -70,6 +70,19 @@
<span v-else> {{ row.baseSalary }}</span> <span v-else> {{ row.baseSalary }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="绩效" min-width="90px">
<template #default="{ row }">
<el-input-number
v-if="row.edit"
v-model="row.meritsSalary"
:min="0"
:controls="false"
size="small"
style="width: 65px"
/>
<span v-else> {{ row.meritsSalary }}</span>
</template>
</el-table-column>
<el-table-column label="补贴" min-width="90px"> <el-table-column label="补贴" min-width="90px">
<template #default="{ row }"> <template #default="{ row }">
<el-input-number <el-input-number
@ -138,19 +151,6 @@
<el-table-column label="小计" prop="salaryTotal" min-width="90px" /> <el-table-column label="小计" prop="salaryTotal" min-width="90px" />
</el-table-column> </el-table-column>
<el-table-column label="应扣工资" align="center"> <el-table-column label="应扣工资" align="center">
<el-table-column label="绩效" min-width="90px">
<template #default="{ row }">
<el-input-number
v-if="row.edit"
v-model="row.meritsSalary"
:min="0"
:controls="false"
size="small"
style="width: 65px"
/>
<span v-else> {{ row.meritsSalary }}</span>
</template>
</el-table-column>
<el-table-column label="请假" min-width="90px"> <el-table-column label="请假" min-width="90px">
<template #default="{ row }"> <template #default="{ row }">
<el-input-number <el-input-number

Loading…
Cancel
Save