diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/defaultSlideForm.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/defaultSlideForm.js index e7c215c2..d5b1bc66 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/defaultSlideForm.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/defaultSlideForm.js @@ -1,5 +1,5 @@ import React from "react"; -import { WeaHelpfulTip, WeaInputNumber, WeaSelect, WeaTab, WeaTable } from "ecCom"; +import { WeaHelpfulTip, WeaInputNumber, WeaSelect, WeaTab } from "ecCom"; import { Switch, Table } from "antd"; import { insertUpdateColumns } from "./columns"; import { inject, observer } from "mobx-react"; @@ -114,7 +114,13 @@ export default class DefaultSlideForm extends React.Component { const { programmeStore, requestParams, onChange } = this.props; const { defaultPersonDataSource, defaultCompanyDataSource } = programmeStore; insertUpdateColumns.map(item => { - if (item.dataIndex == "isPayment") { + if (item.dataIndex == "insuranceName") { + item.render = (text) => { + return ( +
{text}
+ ); + }; + } else if (item.dataIndex == "isPayment") { item.render = (text, record) => { return ( { if (record.paymentCycle === "0") { return ( -
基数*比例+固定费用
+
基数*比例+固定费用
); } else { return ( diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/index.less b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/index.less index 3ccc9d13..79827d28 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/index.less +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/programme/index.less @@ -23,6 +23,12 @@ .tableWrapper { margin-top: 10px; + .ellipsis { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + .ant-table-fixed-left { tr { height: 63px !important;