Browse Source

工资单明细

jingbb 1 year ago
parent
commit
e165766908

+ 27 - 58
src/views/oa/salary_management/personnelSalary/modules/PayrollDetail.vue

@@ -16,12 +16,7 @@
                 <a-form-model layout="inline" ref="form" :model="formState" >
                     <a-row :gutter="24">
                         <a-col :md="6" :sm="8">
-                            <a-form-model-item label="组织"  prop="name">
-                                <a-input  v-model="formState.organization" disabled/>
-                            </a-form-model-item>
-                        </a-col>
-                        <a-col :md="6" :sm="8">
-                            <a-form-model-item label="考勤时间"  prop="totalNum">
+                            <a-form-model-item label="时间"  prop="totalNum">
                                 <a-input placeholder="" v-model="formState.DateTime" disabled="false"/>
                             </a-form-model-item>
                         </a-col>
@@ -75,6 +70,15 @@
               visible:false,
               loading:false,
               columns: [
+                {
+                    title: '序号',
+                    align:"center",
+                    width:'2%',
+                    dataIndex: 'index',
+                    customRender:function (t, r, index) {
+                        return parseInt(index)+1;
+                    }
+                },
                 {
                     title: '编号',
                     align: "center",
@@ -90,159 +94,124 @@
                     width:'4%'
                 },
                 {
-                    title: '组织',
+                    title: '基本薪资',
                     align: "center",
                     dataIndex: 'organization',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '工资卡号',
+                    title: '话费补贴',
                     align: "center",
                     dataIndex: 'salaryCardNumber',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '单双休',
+                    title: '午餐补贴',
                     align: "center",
                     dataIndex: 'singlesWeekendsOff',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '工时/天',
+                    title: '住房补贴',
                     align: "center",
                     dataIndex: 'workingHours',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '出勤天数',
+                    title: '交通补贴',
                     align: "center",
                     dataIndex: 'attendanceDays',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '话费补贴',
+                    title: '全勤奖',
                     align: "center",
                     dataIndex: 'telephoneSubsidy',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '午餐补贴',
+                    title: '合计应发',
                     align: "center",
                     dataIndex: 'lunchSubsidy',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '住房补贴',
+                    title: '社保',
                     align: "center",
                     dataIndex: 'housingSubsidies',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '交通补贴',
+                    title: '公积金',
                     align: "center",
                     dataIndex: 'transportationSubsidies',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '全勤奖',
+                    title: '个税',
                     align: "center",
                     dataIndex: 'fullAttendanceAward',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '养老保险',
+                    title: '迟到',
                     align: "center",
                     dataIndex: 'endowmentInsurance',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '失业保险',
+                    title: '事假',
                     align: "center",
                     dataIndex: 'unemploymentInsurance',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '医疗保险',
+                    title: '病假',
                     align: "center",
                     dataIndex: 'medicalInsurance',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '公积金',
+                    title: '婚假',
                     align: "center",
                     dataIndex: 'accumulationFund',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '工资抵扣',
+                    title: '丧假',
                     align: "center",
                     dataIndex: 'salaryDeduction',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '迟到次数',
+                    title: '合计应扣',
                     align: "center",
                     dataIndex: 'latenessTimes',
                     ellipsis: true,
                     width:'4%'
                 },
                 {
-                    title: '迟到扣费',
+                    title: '实发合计',
                     align: "center",
                     dataIndex: 'lateDeductionFees',
                     ellipsis: true,
                     width:'4%'
                 },
-                {
-                    title: '事假时间',
-                    align: "center",
-                    dataIndex: 'personalLeaveTime',
-                    ellipsis: true,
-                    width:'4%'
-                },
-                {
-                    title: '病假时间',
-                    align: "center",
-                    dataIndex: 'sickLeaveTime',
-                    ellipsis: true,
-                    width:'4%'
-                },
-                {
-                    title: '婚假时间',
-                    align: "center",
-                    dataIndex: 'marriageLeaveTime',
-                    ellipsis: true,
-                    width:'4%'
-                },
-                {
-                    title: '丧假时间',
-                    align: "center",
-                    dataIndex: 'funeralLeaveTime',
-                    ellipsis: true,
-                    width:'4%'
-                },
-                {
-                    title: '年假时间',
-                    align: "center",
-                    dataIndex: 'annualLeaveTime',
-                    ellipsis: true,
-                    width:'4%'
-                },
              ]
           }
         },