|
@@ -26,7 +26,7 @@
|
|
|
<j-search-select-tag v-model="formState.sysOrgCode" placeholder="请选择部门"
|
|
|
dict="sys_depart,depart_name,depart_name,org_type='3' or org_code='TBD' order by org_code"/>
|
|
|
</a-form-item> -->
|
|
|
- </a-col>
|
|
|
+ <!-- </a-col> -->
|
|
|
<a-col :md="6" :sm="8">
|
|
|
<a-form-model-item label="" >
|
|
|
<a-button type="primary" icon="search" @click="searchSonList">查询</a-button>
|
|
@@ -259,12 +259,36 @@
|
|
|
var allPersonalTax = 0
|
|
|
var allTotalPayable = 0
|
|
|
var allTotalDeduction = 0
|
|
|
+ var allPhoneBill = 0
|
|
|
+ var allLunch = 0
|
|
|
+ var allHousingSubsidies = 0
|
|
|
+ var allTransportation = 0
|
|
|
+ var allFullAttendance = 0
|
|
|
+ var allSocialSecurity = 0
|
|
|
+ var allAccumulationFund = 0
|
|
|
+ var allLatenessCost = 0
|
|
|
+ var allPersonalCost = 0
|
|
|
+ var allSickCost = 0
|
|
|
+ var allMarriageCost = 0
|
|
|
+ var allFuneralCost = 0
|
|
|
for (let row of this.dataSource){
|
|
|
allNumber += row.actualOccurrence*1;
|
|
|
allWages +=Number(row.wages);
|
|
|
allPersonalTax+=Number(row.personalTax);
|
|
|
allTotalPayable+=Number(row.totalPayable);
|
|
|
allTotalDeduction+=Number(row.totalDeduction);
|
|
|
+ allPhoneBill+=Number(row.phoneBill);
|
|
|
+ allLunch+=Number(row.lunch);
|
|
|
+ allHousingSubsidies+=Number(row.housingSubsidies);
|
|
|
+ allTransportation+=Number(row.transportation);
|
|
|
+ allFullAttendance+=Number(row.fullAttendance);
|
|
|
+ allSocialSecurity+=Number(row.socialSecurity);
|
|
|
+ allAccumulationFund+=Number(row.accumulationFund);
|
|
|
+ allLatenessCost+=Number(row.latenessCost);
|
|
|
+ allPersonalCost+=Number(row.personalCost);
|
|
|
+ allSickCost+=Number(row.sickCost);
|
|
|
+ allMarriageCost+=Number(row.marriageCost);
|
|
|
+ allFuneralCost+=Number(row.funeralCost);
|
|
|
}
|
|
|
|
|
|
item.actualOccurrence= parseFloat(allNumber.toFixed(2));
|
|
@@ -272,6 +296,18 @@
|
|
|
item.personalTax = parseFloat(allPersonalTax.toFixed(2));
|
|
|
item.totalPayable = parseFloat(allTotalPayable.toFixed(2));
|
|
|
item.totalDeduction = parseFloat(allTotalDeduction.toFixed(2));
|
|
|
+ item.phoneBill = parseFloat(allPhoneBill.toFixed(2));
|
|
|
+ item.lunch = parseFloat(allLunch.toFixed(2));
|
|
|
+ item.housingSubsidies = parseFloat(allHousingSubsidies.toFixed(2));
|
|
|
+ item.transportation = parseFloat(allTransportation.toFixed(2));
|
|
|
+ item.fullAttendance = parseFloat(allFullAttendance.toFixed(2));
|
|
|
+ item.socialSecurity = parseFloat(allSocialSecurity.toFixed(2));
|
|
|
+ item.accumulationFund = parseFloat(allAccumulationFund.toFixed(2));
|
|
|
+ item.latenessCost = parseFloat(allLatenessCost.toFixed(2));
|
|
|
+ item.personalCost = parseFloat(allPersonalCost.toFixed(2));
|
|
|
+ item.sickCost = parseFloat(allSickCost.toFixed(2));
|
|
|
+ item.marriageCost = parseFloat(allMarriageCost.toFixed(2));
|
|
|
+ item.funeralCost = parseFloat(allFuneralCost.toFixed(2));
|
|
|
return [item];
|
|
|
|
|
|
}
|